/* =========================================================
   GLC.GE — Design tokens
   Ink Navy #0B1526 · Parchment #F6F3EC · Brass #A97C3F
   Verdigris #3F5A54 · Charcoal #1C2230 · Slate #6B7280
   Display: 'Noto Serif Georgian'  Body: 'Noto Sans Georgian'
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Georgian:wght@400;500;600;700&family=Noto+Sans+Georgian:wght@400;500;600;700&display=swap');

:root{
  --navy:      #0B1526;
  --navy-2:    #101E36;
  --parchment: #F6F3EC;
  --parchment-2:#EFE9DC;
  --brass:     #A97C3F;
  --brass-light:#C79A5B;
  --verdigris: #3F5A54;
  --ink:       #1C2230;
  --slate:     #6B7280;
  --line:      #E4DFD3;
  --line-dark: rgba(255,255,255,.12);
  --white:     #FFFFFF;

  --font-display: 'Noto Serif Georgian', 'Noto Serif', Georgia, serif;
  --font-body:    'Noto Sans Georgian', 'Noto Sans', -apple-system, sans-serif;

  --container: 1180px;
  --radius: 4px;
  --shadow: 0 20px 50px -20px rgba(11,21,38,.35);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--parchment);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:600;
  line-height:1.2;
  margin:0 0 .5em;
  color:var(--navy);
}
p{ margin:0 0 1em; }
.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}
:focus-visible{
  outline:2px solid var(--brass);
  outline-offset:3px;
}
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

/* ---------- Eyebrow / labels ---------- */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.6em;
  font-family:var(--font-body);
  font-size:12.5px;
  font-weight:600;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--brass);
}
.eyebrow::before{
  content:'§';
  font-family:var(--font-display);
  font-size:15px;
}
.section-head{ max-width:640px; margin:0 0 44px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size:clamp(28px,3.6vw,40px); }
.section-head p{ color:var(--slate); font-size:17px; margin:0; }

section{ padding:96px 0; }
@media (max-width:760px){ section{ padding:64px 0; } }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5em;
  padding:14px 28px;
  border-radius:var(--radius);
  font-family:var(--font-body);
  font-weight:600;
  font-size:15px;
  letter-spacing:.01em;
  border:1px solid transparent;
  cursor:pointer;
  transition:background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn-primary{ background:var(--brass); color:var(--white); }
.btn-primary:hover{ background:var(--brass-light); transform:translateY(-1px); }
.btn-outline{ background:transparent; color:var(--parchment); border-color:rgba(246,243,236,.35); }
.btn-outline:hover{ border-color:var(--parchment); background:rgba(246,243,236,.08); }
.btn-outline-dark{ background:transparent; color:var(--navy); border-color:var(--navy); }
.btn-outline-dark:hover{ background:var(--navy); color:var(--white); }
.btn-block{ width:100%; }

/* =========================================================
   Header
   ========================================================= */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(11,21,38,.92);
  backdrop-filter:saturate(140%) blur(8px);
  border-bottom:1px solid var(--line-dark);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  height:84px;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand-mark{ width:40px; height:40px; flex:none; }
.brand-text{ display:flex; flex-direction:column; line-height:1.1; }
.brand-text strong{
  font-family:var(--font-display); color:var(--parchment); font-size:19px; letter-spacing:.02em;
}
.brand-text span{ font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--brass-light); }

.main-nav{ display:flex; align-items:center; gap:36px; }
.main-nav a{
  font-size:14.5px; font-weight:500; color:rgba(246,243,236,.82);
  padding:6px 0; position:relative;
}
.main-nav a:hover, .main-nav a.active{ color:var(--parchment); }
.main-nav a.active::after{
  content:''; position:absolute; left:0; right:0; bottom:-4px; height:2px; background:var(--brass);
}
.header-actions{ display:flex; align-items:center; gap:18px; }
.lang-switch{
  display:inline-flex; align-items:center; justify-content:center;
  width:36px; height:36px; border:1px solid rgba(246,243,236,.35); border-radius:50%;
  font-size:12.5px; font-weight:700; letter-spacing:.03em; color:var(--parchment);
}
.lang-switch:hover{ border-color:var(--brass); color:var(--brass-light); }
.nav-toggle{ display:none; }

@media (max-width:960px){
  .main-nav{
    position:fixed; inset:84px 0 0 0; background:var(--navy);
    flex-direction:column; justify-content:flex-start; align-items:flex-start;
    padding:32px 24px; gap:22px; transform:translateX(100%);
    transition:transform .3s ease; overflow-y:auto;
  }
  .main-nav.open{ transform:translateX(0); }
  .main-nav a{ font-size:19px; }
  .nav-toggle{
    display:flex; flex-direction:column; gap:5px; width:26px; background:none; border:0; cursor:pointer; padding:6px;
  }
  .nav-toggle span{ height:2px; background:var(--parchment); border-radius:2px; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero{
  position:relative; background:var(--navy); color:var(--parchment); overflow:hidden;
  padding:120px 0 140px;
  background-size:cover; background-position:center;
}
.hero::before{
  content:''; position:absolute; inset:0;
  background:
    radial-gradient(circle at 82% 20%, rgba(169,124,63,.16), transparent 45%),
    linear-gradient(180deg, #0B1526 0%, #101E36 100%);
  z-index:0;
}
/* When a hero photo is set (inline background-image on .hero), soften the
   overlay so the photo shows through while text stays legible. */
.hero[style*="background-image"]::before{
  background:
    radial-gradient(circle at 82% 20%, rgba(169,124,63,.20), transparent 45%),
    linear-gradient(100deg, rgba(11,21,38,.94) 0%, rgba(11,21,38,.82) 45%, rgba(11,21,38,.55) 100%);
}
.hero .container{
  position:relative; z-index:1;
  display:grid; grid-template-columns:1.15fr .85fr; gap:48px; align-items:center;
}
.hero-copy h1{
  color:var(--parchment); font-size:clamp(34px,5vw,58px); letter-spacing:-.01em;
  margin:.35em 0 .45em;
}
.hero-copy p{ color:rgba(246,243,236,.78); font-size:18px; max-width:52ch; }
.hero-actions{ display:flex; gap:16px; margin-top:32px; flex-wrap:wrap; }
.hero-seal{
  position:relative; width:100%; max-width:340px; margin:0 auto;
  animation:seal-in 1.1s ease both;
}
@keyframes seal-in{ from{ opacity:0; transform:scale(.9) rotate(-6deg);} to{ opacity:1; transform:scale(1) rotate(0);} }
.hero-seal svg{ width:100%; height:auto; }

.hero-stats{
  position:relative; z-index:1;
  margin-top:72px; padding-top:40px; border-top:1px solid var(--line-dark);
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px;
}
.hero-stats .stat-num{
  font-family:var(--font-display); font-size:clamp(28px,3vw,38px); color:var(--brass-light);
}
.hero-stats .stat-label{ font-size:13.5px; color:rgba(246,243,236,.68); }

@media (max-width:860px){
  .hero .container{ grid-template-columns:1fr; }
  .hero-seal{ order:-1; max-width:180px; }
  .hero-stats{ grid-template-columns:1fr 1fr 1fr; }
}

/* =========================================================
   Why GLC
   ========================================================= */
.why-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:32px; }
.why-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:36px 30px;
}
.why-card .mark{
  font-family:var(--font-display); color:var(--brass); font-size:28px; margin-bottom:14px; display:block;
}
.why-card h3{ font-size:20px; margin-bottom:8px; }
.why-card p{ color:var(--slate); margin:0; font-size:15.5px; }
@media (max-width:760px){ .why-grid{ grid-template-columns:1fr; } }

/* =========================================================
   Practice areas
   ========================================================= */
.bg-navy{ background:var(--navy); color:var(--parchment); }
.bg-navy .section-head h2{ color:var(--parchment); }
.bg-navy .section-head p{ color:rgba(246,243,236,.7); }

.practice-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.practice-card{
  background:var(--navy-2); border:1px solid var(--line-dark); border-radius:var(--radius);
  padding:32px 28px; transition:transform .25s ease, border-color .25s ease;
}
.practice-card:hover{ transform:translateY(-4px); border-color:var(--brass); }
.practice-card .icon{
  width:46px; height:46px; border-radius:50%; border:1px solid var(--brass);
  display:flex; align-items:center; justify-content:center; margin-bottom:20px; color:var(--brass-light);
}
.practice-card h3{ color:var(--parchment); font-size:20px; margin-bottom:10px; }
.practice-card p{ color:rgba(246,243,236,.68); font-size:15px; margin-bottom:18px; }
.practice-card .link{ color:var(--brass-light); font-size:14px; font-weight:600; }
.practice-card .link:hover{ text-decoration:underline; }

@media (max-width:960px){ .practice-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:620px){ .practice-grid{ grid-template-columns:1fr; } }

.view-all{ text-align:center; margin-top:44px; }

/* =========================================================
   About / Mission
   ========================================================= */
.about-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:64px; align-items:center; }
.about-quote{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:44px 40px; position:relative;
}
.about-quote .glyph{
  font-family:var(--font-display); font-size:64px; color:var(--brass); line-height:1; display:block; margin-bottom:6px;
}
.about-quote p{ font-family:var(--font-display); font-size:22px; color:var(--navy); margin:0; }
.about-copy h2{ font-size:clamp(26px,3.2vw,34px); }
.about-copy p{ color:var(--slate); font-size:16.5px; }

.stat-bar{
  margin-top:64px; padding:44px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px; text-align:center;
}
.stat-bar .num{ font-family:var(--font-display); font-size:clamp(30px,3.4vw,44px); color:var(--brass); }
.stat-bar .label{ color:var(--slate); font-size:14px; letter-spacing:.02em; }

@media (max-width:860px){ .about-grid{ grid-template-columns:1fr; } .stat-bar{ grid-template-columns:1fr; gap:32px; } }

/* ---------- Team ---------- */
.team-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:28px; margin-top:16px; }
.team-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:32px; display:flex; gap:22px; align-items:flex-start;
}
.team-photo{
  width:76px; height:76px; border-radius:50%; background:var(--parchment-2);
  display:flex; align-items:center; justify-content:center; flex:none;
  font-family:var(--font-display); font-size:26px; color:var(--brass); border:1px solid var(--line);
}
.team-card h3{ font-size:19px; margin-bottom:2px; }
.team-card .role{ color:var(--brass); font-size:13.5px; font-weight:600; text-transform:uppercase; letter-spacing:.05em; margin-bottom:10px; display:block; }
.team-card p{ color:var(--slate); font-size:14.5px; margin-bottom:8px; }
.team-card .langs{ font-size:13px; color:var(--slate); font-style:italic; }
@media (max-width:700px){ .team-grid{ grid-template-columns:1fr; } }

/* =========================================================
   News
   ========================================================= */
.news-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.news-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden;
  display:flex; flex-direction:column; transition:box-shadow .2s ease, transform .2s ease;
}
.news-card:hover{ box-shadow:var(--shadow); transform:translateY(-3px); }
.news-card .body{ padding:26px 26px 28px; display:flex; flex-direction:column; gap:10px; flex:1; }
.news-docket{ font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--brass); font-weight:700; }
.news-card h3{ font-size:19px; margin:0; }
.news-card p{ color:var(--slate); font-size:14.5px; margin:0; flex:1; }
.news-card .link{ font-size:13.5px; font-weight:600; color:var(--navy); margin-top:6px; }
.news-card .link:hover{ color:var(--brass); }
@media (max-width:960px){ .news-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:620px){ .news-grid{ grid-template-columns:1fr; } }

/* =========================================================
   Contact
   ========================================================= */
.contact-grid{ display:grid; grid-template-columns:.85fr 1.15fr; gap:56px; }
.contact-info h2{ font-size:28px; }
.contact-list{ margin-top:28px; display:flex; flex-direction:column; gap:22px; }
.contact-list li{ display:flex; gap:14px; align-items:flex-start; }
.contact-list .ic{
  width:38px; height:38px; border-radius:50%; border:1px solid var(--brass); color:var(--brass);
  display:flex; align-items:center; justify-content:center; flex:none;
}
.contact-list .lbl{ font-size:12.5px; text-transform:uppercase; letter-spacing:.06em; color:var(--slate); }
.contact-list .val{ font-size:15.5px; color:var(--navy); font-weight:500; }
.map-embed{ margin-top:28px; border-radius:var(--radius); overflow:hidden; border:1px solid var(--line); height:220px; }
.map-embed iframe{ width:100%; height:100%; border:0; }

.contact-form{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:36px;
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:13.5px; font-weight:600; color:var(--navy); margin-bottom:7px; }
.field input, .field textarea{
  width:100%; padding:13px 14px; border:1px solid var(--line); border-radius:var(--radius);
  font-family:var(--font-body); font-size:15px; background:var(--parchment); color:var(--ink);
  transition:border-color .2s ease;
}
.field input:focus, .field textarea:focus{ border-color:var(--brass); outline:none; background:var(--white); }
.field textarea{ min-height:130px; resize:vertical; }
.alert{ padding:14px 16px; border-radius:var(--radius); font-size:14.5px; margin-bottom:20px; }
.alert-success{ background:#EAF3EE; color:var(--verdigris); border:1px solid #CBE2D3; }
.alert-error{ background:#FBEAEA; color:#9B3A3A; border:1px solid #F1CACA; }
@media (max-width:860px){ .contact-grid{ grid-template-columns:1fr; } .form-row{ grid-template-columns:1fr; } }

/* =========================================================
   Page header (inner pages)
   ========================================================= */
.page-header{
  background:var(--navy); color:var(--parchment); padding:76px 0 56px; position:relative; overflow:hidden;
}
.page-header::after{
  content:'§'; position:absolute; right:-10px; top:-40px; font-family:var(--font-display);
  font-size:260px; color:rgba(169,124,63,.08); line-height:1;
}
.page-header .container{ position:relative; z-index:1; }
.breadcrumb{ font-size:13.5px; color:rgba(246,243,236,.6); margin-bottom:14px; }
.breadcrumb a:hover{ color:var(--brass-light); }
.page-header h1{ color:var(--parchment); font-size:clamp(30px,4vw,44px); margin:0; }
.page-header p{ color:rgba(246,243,236,.72); max-width:60ch; margin-top:14px; font-size:16.5px; }

/* Detail content */
.detail-wrap{ max-width:800px; }
.detail-wrap .content{ font-size:17px; color:var(--ink); }
.detail-wrap .content p{ margin-bottom:1.2em; }
.related-list{ display:flex; flex-wrap:wrap; gap:10px; margin-top:14px; }
.related-list a{
  border:1px solid var(--line); border-radius:999px; padding:9px 18px; font-size:14px; font-weight:500; color:var(--navy);
}
.related-list a:hover{ border-color:var(--brass); color:var(--brass); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer{ background:var(--navy); color:rgba(246,243,236,.75); padding:72px 0 28px; }
.footer-grid{
  display:grid; grid-template-columns:1.4fr 1fr 1fr 1.1fr; gap:40px; padding-bottom:44px; border-bottom:1px solid var(--line-dark);
}
.footer-grid h4{ color:var(--parchment); font-size:15px; margin-bottom:18px; letter-spacing:.03em; }
.footer-grid p{ font-size:14.5px; }
.footer-grid ul li{ margin-bottom:10px; }
.footer-grid ul a{ font-size:14.5px; }
.footer-grid ul a:hover{ color:var(--brass-light); }
.footer-brand{ display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.footer-brand strong{ font-family:var(--font-display); color:var(--parchment); font-size:18px; }
.footer-bottom{
  padding-top:26px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
  font-size:13px; color:rgba(246,243,236,.5);
}
@media (max-width:860px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }

/* =========================================================
   Admin (kept simple + consistent with the brand)
   ========================================================= */
.admin-body{ background:var(--parchment); font-family:var(--font-body); color:var(--ink); margin:0; }
.admin-shell{ display:flex; min-height:100vh; }
.admin-sidebar{ width:230px; background:var(--navy); color:var(--parchment); padding:26px 18px; flex:none; }
.admin-sidebar .brand-text strong{ color:var(--parchment); }
.admin-sidebar nav{ margin-top:30px; display:flex; flex-direction:column; gap:4px; }
.admin-sidebar nav a{ padding:11px 12px; border-radius:var(--radius); font-size:14.5px; color:rgba(246,243,236,.78); }
.admin-sidebar nav a:hover, .admin-sidebar nav a.active{ background:rgba(169,124,63,.18); color:var(--parchment); }
.admin-main{ flex:1; padding:36px 44px; }
.admin-topbar{ display:flex; justify-content:space-between; align-items:center; margin-bottom:30px; }
.admin-card{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:26px; margin-bottom:24px; }
.admin-table{ width:100%; border-collapse:collapse; }
.admin-table th, .admin-table td{ text-align:left; padding:12px 14px; border-bottom:1px solid var(--line); font-size:14.5px; }
.admin-table th{ color:var(--slate); font-weight:600; font-size:12.5px; text-transform:uppercase; letter-spacing:.04em; }
.admin-login{ min-height:100vh; display:flex; align-items:center; justify-content:center; background:var(--navy); }
.admin-login-card{ background:var(--white); border-radius:var(--radius); padding:44px; width:100%; max-width:380px; }
.badge{ display:inline-block; padding:4px 10px; border-radius:999px; font-size:12px; font-weight:600; }
.badge-green{ background:#EAF3EE; color:var(--verdigris); }
.badge-grey{ background:var(--parchment-2); color:var(--slate); }
.btn-sm{ padding:8px 14px; font-size:13px; }
.btn-danger{ background:#B4453F; color:var(--white); }
.btn-danger:hover{ background:#9B3A3A; }
