/* =============================================
   NKOSI ATTORNEYS — style.css
   ============================================= */

:root {
  --bg:      #070D08;
  --bg-2:    #0D1610;
  --bg-3:    #111C13;
  --accent:  #B8962E;
  --accent-l:#D4AF4A;
  --white:   #F2EDE3;
  --muted:   rgba(242,237,227,.62);
  --border:  rgba(184,150,46,.18);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --nav-h:   76px;
  --ease:    cubic-bezier(.16,1,.3,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── GRAIN ───────────────────────────────── */
#grain {
  position: fixed; inset: 0; pointer-events: none;
  z-index: 9999; opacity: .032;
}

/* ── CURSOR ──────────────────────────────── */
.cursor {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); position: fixed;
  top: 0; left: 0; pointer-events: none;
  z-index: 10000; transform: translate(-50%,-50%);
  transition: transform .12s var(--ease), width .3s, height .3s, opacity .3s;
  mix-blend-mode: difference;
}
body:has(a:hover) .cursor,
body:has(button:hover) .cursor {
  width: 28px; height: 28px; opacity: .6;
}

/* ── NAV ─────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  z-index: 900;
  background: rgba(7,13,8,.85);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700; letter-spacing: 3px;
  color: var(--white);
}
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex; align-items: center; gap: 36px;
}
.nav-links a {
  font-size: 12px; font-weight: 500; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--muted);
  transition: color .25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: ''; display: block; height: 1px; margin-top: 2px;
  background: var(--accent);
}
.nav-phone {
  color: var(--accent) !important;
  border: 1px solid var(--border);
  padding: 8px 18px; border-radius: 2px;
  transition: background .25s, color .25s !important;
}
.nav-phone:hover { background: var(--accent); color: var(--bg) !important; }

.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-burger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--white); transition: transform .3s var(--ease), opacity .3s;
}

/* ── BUTTONS ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center;
  font-family: var(--font-body); font-size: 12px;
  font-weight: 500; letter-spacing: 2px; text-transform: uppercase;
  padding: 16px 34px; border-radius: 2px;
  cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .2s;
  will-change: transform;
}
.btn.accent { background: var(--accent); color: var(--bg); border: 1px solid var(--accent); }
.btn.accent:hover { background: var(--accent-l); border-color: var(--accent-l); }
.btn.outline { background: transparent; color: var(--white); border: 1px solid rgba(242,237,227,.3); }
.btn.outline:hover { border-color: var(--accent); color: var(--accent); }
.btn.white { background: var(--white); color: var(--bg); border: 1px solid var(--white); }
.btn.white:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.btn.small { padding: 12px 24px; font-size: 11px; }

/* ── LABEL ───────────────────────────────── */
.label {
  font-size: 10px; font-weight: 500; letter-spacing: 3.5px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px;
}

/* ── BIG TITLE ───────────────────────────── */
.big-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 600; line-height: .9;
  color: var(--white);
  margin-bottom: 52px;
}

/* ── SECTIONS ────────────────────────────── */
section {
  padding: clamp(72px, 10vw, 120px) clamp(20px, 5.5vw, 80px);
}

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  height: auto;
  display: flex; flex-direction: column;
  justify-content: flex-start; align-items: flex-start;
  position: relative; overflow: hidden;
  padding: clamp(160px, 22vh, 240px) clamp(20px, 5.5vw, 80px) clamp(64px, 8vh, 100px);
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url(images/hero.jpg);
  background-size: cover; background-position: center 30%;
  filter: brightness(.28) saturate(.7);
  transform: scale(1.04);
}

.hero-vignette {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at 30% 50%, transparent 30%, rgba(7,13,8,.7) 100%);
}

.hero-grid {
  position: absolute; inset: 0; z-index: 2;
  background-image:
    linear-gradient(rgba(184,150,46,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,150,46,.04) 1px, transparent 1px);
  background-size: 72px 72px;
}

.hero-content {
  position: relative; z-index: 3;
  max-width: 900px;
}

.hero-eyebrow {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: clamp(28px, 4vh, 48px);
  opacity: 0;
}
.eyebrow-line { display: block; width: 40px; height: 1px; background: var(--accent); }
.hero-eyebrow p {
  font-size: 11px; font-weight: 500; letter-spacing: 3px;
  text-transform: uppercase; color: var(--accent);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(68px, min(12vw, 15vh), 160px);
  line-height: .86; letter-spacing: 1px;
  margin-bottom: clamp(24px, 3.5vh, 44px);
}
.ht-wrap { display: block; overflow: hidden; }
.ht-line { display: block; }
.ht-line.accent { color: var(--accent); font-style: italic; }

.hero-langs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: clamp(28px, 4vh, 44px);
  opacity: 0;
}
.lang-pill {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 500; color: var(--muted);
  border: 1px solid var(--border);
  padding: 6px 14px; border-radius: 100px;
}

.hero-desc {
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.75; color: var(--muted);
  max-width: 480px;
  margin-bottom: clamp(28px, 4vh, 44px);
  opacity: 0;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; opacity: 0; }

.hero-accent-line {
  position: absolute; bottom: 0; left: clamp(20px,5.5vw,80px);
  width: 1px; height: 80px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  z-index: 3;
}

.hero-badge {
  position: absolute; bottom: clamp(40px,6vh,80px); right: clamp(20px,5.5vw,80px);
  z-index: 3; text-align: right; opacity: 0;
}
.hero-badge span { display: block; font-size: 13px; letter-spacing: 4px; text-transform: uppercase; color: var(--muted); }
.hero-badge-num {
  font-family: var(--font-display); font-size: 108px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(184,150,46,.5);
}

.scroll-ind {
  position: absolute; bottom: clamp(36px,5vh,64px); left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  z-index: 3; opacity: 0;
}
.scroll-ind span { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl; }
.scroll-ind .line { width: 1px; height: 48px; background: linear-gradient(to bottom, var(--accent), transparent); }

/* ══════════════════════════════════════════
   STATS BAR
   ══════════════════════════════════════════ */
.stats-bar {
  display: grid; grid-template-columns: repeat(4,1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.stat {
  padding: 36px 24px; text-align: center;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 58px); font-weight: 600;
  color: var(--accent); line-height: 1;
  margin-bottom: 8px;
}
.stat-suffix { font-size: .7em; }
.stat-label {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted);
}

/* ══════════════════════════════════════════
   MARQUEE
   ══════════════════════════════════════════ */
.marquee-wrap {
  overflow: hidden; border-bottom: 1px solid var(--border);
  padding: 18px 0; background: var(--bg-3);
}
.marquee-track {
  display: flex; gap: 0; white-space: nowrap;
  animation: marquee 28s linear infinite;
}
.marquee-track.rev { animation-direction: reverse; }
.marquee-track span {
  font-family: var(--font-display);
  font-size: clamp(12px, 1.4vw, 16px); letter-spacing: 4px;
  text-transform: uppercase; color: var(--muted);
  padding: 0 28px;
}
.marquee-track .dot { color: var(--accent); padding: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ══════════════════════════════════════════
   PRACTICE AREA CARDS (Homepage)
   ══════════════════════════════════════════ */
.services-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 52px; flex-wrap: wrap; gap: 20px;
}

.so-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 2px;
}

.so-card {
  background: var(--bg-2); padding: 48px 36px 36px;
  position: relative; overflow: hidden;
  transition: background .3s;
  cursor: default;
}
.so-card:hover { background: var(--bg-3); }

.so-card-img {
  height: 200px; overflow: hidden; margin: -48px -36px 32px;
  position: relative;
}
.so-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
  filter: brightness(.6) saturate(.8);
}
.so-card:hover .so-card-img img { transform: scale(1.06); }
.so-card-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--bg-2) 100%);
}

.so-num {
  font-family: var(--font-display); font-size: 13px; letter-spacing: 3px;
  color: var(--accent); margin-bottom: 12px;
}
.so-card h3 {
  font-family: var(--font-display); font-size: clamp(22px,2.2vw,28px);
  font-weight: 600; margin-bottom: 12px; line-height: 1.1;
}
.so-card p {
  font-size: 13px; line-height: 1.75; color: var(--muted);
}

.so-card-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); margin-top: 20px;
  transition: gap .25s;
}
.so-card:hover .so-card-link { gap: 14px; }

/* ══════════════════════════════════════════
   ABOUT SECTION
   ══════════════════════════════════════════ */
.about-section {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
  overflow-x: clip;
}
.about-quote {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 600; line-height: .95;
  margin-bottom: 28px;
}
.about-quote span { color: var(--accent); font-style: italic; }

.about-text {
  font-size: 14px; color: var(--muted);
  line-height: 1.85; margin-bottom: 16px;
}

.about-side-img {
  width: 100%; height: 380px; overflow: hidden; margin-bottom: 32px;
  border: 1px solid var(--border);
}
.about-side-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.8) saturate(.8);
  transition: transform .8s var(--ease);
}
.about-side-img:hover img { transform: scale(1.04); }

.about-cert {
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  background: var(--bg-2);
  margin-bottom: 12px;
}
.cert-name {
  font-family: var(--font-display); font-size: 20px; font-weight: 600;
  color: var(--white); margin-bottom: 4px;
}
.cert-role { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
.cert-detail { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ══════════════════════════════════════════
   LANGUAGES
   ══════════════════════════════════════════ */
.languages-section {
  padding: clamp(60px,8vw,100px) clamp(20px,5.5vw,80px);
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.lang-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 2px;
}
.lang-card {
  padding: 40px 28px; border: 1px solid var(--border);
  background: var(--bg-2); text-align: center;
  transition: background .3s, border-color .3s;
}
.lang-card:hover { background: var(--bg-3); border-color: var(--accent); }
.lang-icon {
  font-family: var(--font-display); font-size: 48px; line-height: 1;
  color: var(--accent); margin-bottom: 16px;
  font-style: italic;
}
.lang-name {
  font-family: var(--font-display); font-size: 22px; font-weight: 600;
  margin-bottom: 8px;
}
.lang-note { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }

/* ══════════════════════════════════════════
   BRANCHES
   ══════════════════════════════════════════ */
.branches-wrap {
  padding: clamp(72px,10vw,120px) clamp(20px,5.5vw,80px);
  display: grid; grid-template-columns: 280px 1fr; gap: 80px;
  border-top: 1px solid var(--border);
}
.branches-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 2px;
}
.branch-card {
  padding: 36px 28px; background: var(--bg-2);
  position: relative; overflow: hidden;
  border: 1px solid transparent;
  transition: border-color .3s;
}
.branch-card:hover { border-color: var(--border); }
.branch-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); margin-bottom: 20px;
  box-shadow: 0 0 12px var(--accent);
}
.branch-city {
  font-family: var(--font-display); font-size: clamp(18px,2vw,24px);
  font-weight: 700; letter-spacing: 2px; margin-bottom: 4px;
}
.branch-province { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
.branch-num {
  position: absolute; bottom: 16px; right: 20px;
  font-family: var(--font-display); font-size: 52px; font-weight: 700;
  color: rgba(184,150,46,.07); line-height: 1;
}

/* ══════════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════════ */
.cta-section {
  display: flex; justify-content: space-between; align-items: center;
  padding: clamp(72px,9vw,100px) clamp(20px,5.5vw,80px);
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  gap: 40px; flex-wrap: wrap;
  overflow-x: clip;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(38px,5vw,72px); font-weight: 600; line-height: .92;
}
.cta-right { flex-shrink: 0; overflow-x: clip; }

/* ══════════════════════════════════════════
   PAGE HERO (inner pages)
   ══════════════════════════════════════════ */
.page-hero {
  height: 72vh; height: 72dvh; min-height: 460px;
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
  padding: 0 clamp(20px,5.5vw,80px) clamp(52px,7vh,80px);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(.28) saturate(.7);
  transform: scale(1.04);
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(184,150,46,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,150,46,.04) 1px, transparent 1px);
  background-size: 72px 72px;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(52px, min(9vw,12vh), 130px);
  line-height: .86; font-weight: 600;
  position: relative; z-index: 2;
}
.ph-l1, .ph-l2 { display: block; }
.ph-l2 { color: var(--accent); font-style: italic; }
.page-hero-accent {
  position: absolute; bottom: 0; left: clamp(20px,5.5vw,80px);
  width: 60px; height: 2px; background: var(--accent); z-index: 2;
}

/* ══════════════════════════════════════════
   SERVICES DETAIL
   ══════════════════════════════════════════ */
#services-detail {
  overflow-x: clip;
  border-top: 1px solid var(--border);
}

.service-row {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 460px; border-bottom: 1px solid var(--border);
}
.service-row:nth-child(even) .service-row-img { order: 2; }
.service-row:nth-child(even) .service-row-content { order: 1; }

.service-row-img { overflow: hidden; }
.service-row-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.65) saturate(.8);
  transition: transform .8s var(--ease);
}
.service-row:hover .service-row-img img { transform: scale(1.04); }

.service-row-content {
  padding: clamp(48px,6vw,80px);
  display: flex; flex-direction: column; justify-content: center;
  background: var(--bg-2);
}
.svc-num {
  font-family: var(--font-display); font-size: 12px; letter-spacing: 3px;
  color: var(--accent); margin-bottom: 16px;
}
.service-row-content h3 {
  font-family: var(--font-display);
  font-size: clamp(28px,3vw,44px); font-weight: 600;
  line-height: 1.05; margin-bottom: 20px;
}
.service-row-content p {
  font-size: 14px; line-height: 1.8; color: var(--muted); margin-bottom: 12px;
}
.service-tag {
  display: inline-block; margin-top: 12px;
  font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--border);
  padding: 6px 14px; border-radius: 2px;
}

/* ══════════════════════════════════════════
   PROJECT TYPES
   ══════════════════════════════════════════ */
.project-types {
  border-top: 1px solid var(--border);
}
.project-types-grid {
  display: grid; grid-template-columns: repeat(5,1fr); gap: 2px; margin-top: 20px;
}
.pt-card {
  padding: 36px 24px; background: var(--bg-2);
  transition: background .3s, border-color .3s;
  border: 1px solid transparent;
}
.pt-card:hover { background: var(--bg-3); border-color: var(--border); }
.pt-icon {
  width: 32px; height: 2px; background: var(--accent); margin-bottom: 24px;
}
.pt-card h4 {
  font-family: var(--font-display); font-size: 20px; font-weight: 600;
  margin-bottom: 10px;
}
.pt-card p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ══════════════════════════════════════════
   WHY GRID
   ══════════════════════════════════════════ */
.why-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; margin-top: 20px;
}
.why-card {
  padding: 48px 36px; background: var(--bg-2);
  border: 1px solid transparent;
  transition: border-color .3s;
}
.why-card:hover { border-color: var(--border); }
.why-num {
  font-family: var(--font-display); font-size: 13px; letter-spacing: 3px;
  color: var(--accent); margin-bottom: 20px;
}
.why-card h3 {
  font-family: var(--font-display); font-size: clamp(20px,2vw,28px);
  font-weight: 600; margin-bottom: 14px;
}
.why-card p { font-size: 13px; color: var(--muted); line-height: 1.8; }

/* ══════════════════════════════════════════
   TEAM SECTION
   ══════════════════════════════════════════ */
.team-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 2px;
  margin-top: 20px;
}
.team-card {
  padding: 48px 36px; background: var(--bg-2);
  border: 1px solid transparent;
  transition: border-color .3s;
}
.team-card:hover { border-color: var(--border); }
.team-num {
  font-family: var(--font-display); font-size: 13px; letter-spacing: 3px;
  color: var(--accent); margin-bottom: 20px;
}
.team-img {
  width: 100%; height: 240px; overflow: hidden; margin-bottom: 24px;
}
.team-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  filter: brightness(.8) saturate(.8);
  transition: transform .6s var(--ease);
}
.team-card:hover .team-img img { transform: scale(1.04); }
.team-name {
  font-family: var(--font-display); font-size: clamp(22px,2vw,28px);
  font-weight: 600; margin-bottom: 6px;
}
.team-role { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.team-qual { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.team-contact-link {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); transition: opacity .25s;
}
.team-contact-link:hover { opacity: .7; }

/* ══════════════════════════════════════════
   CONTACT WRAP
   ══════════════════════════════════════════ */
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-top: 1px solid var(--border);
  overflow-x: clip;
}
.contact-info {
  padding: clamp(52px,8vw,100px) clamp(20px,5.5vw,80px);
  background: var(--bg-2);
  border-right: 1px solid var(--border);
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(32px,4vw,56px); font-weight: 600; line-height: .95;
  margin-bottom: 40px;
}
.c-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--border);
  transition: opacity .25s;
}
.c-item:hover { opacity: .8; }
.c-item-icon { font-size: 18px; width: 28px; flex-shrink: 0; margin-top: 2px; }
.c-item-text { display: flex; flex-direction: column; gap: 4px; }
.c-item-label { font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent); }
.c-item-val { font-size: 14px; color: var(--white); }

/* form */
.contact-form {
  padding: clamp(52px,8vw,100px) clamp(20px,5.5vw,80px);
}
.contact-form h2 {
  font-family: var(--font-display);
  font-size: clamp(32px,4vw,52px); font-weight: 600; line-height: .95;
  margin-bottom: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-group label {
  font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-2); color: var(--white);
  border: 1px solid var(--border); border-radius: 2px;
  padding: 14px 16px; font-family: var(--font-body);
  font-size: 14px;
  transition: border-color .25s;
  outline: none; -webkit-appearance: none; appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(242,237,227,.3); }
.form-group select option { background: var(--bg-2); }
.form-group textarea { height: 130px; resize: vertical; }
.submit-btn {
  width: 100%; padding: 18px; background: var(--accent);
  color: var(--bg); border: none; border-radius: 2px;
  font-family: var(--font-body); font-size: 12px;
  font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase;
  cursor: pointer; transition: background .25s;
}
.submit-btn:hover { background: var(--accent-l); }

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
footer {
  background: #030806; border-top: 1px solid var(--border);
  padding: clamp(52px,7vw,80px) clamp(20px,5.5vw,80px) 0;
}
.foot-top {
  display: flex; justify-content: space-between; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.foot-logo {
  font-family: var(--font-display); font-size: 28px; font-weight: 700;
  letter-spacing: 3px; color: var(--white); margin-bottom: 8px;
}
.foot-logo span { color: var(--accent); }
.foot-tagline {
  font-size: 10px; letter-spacing: 3.5px; text-transform: uppercase; color: var(--muted);
}
.foot-cols { display: flex; gap: 52px; flex-wrap: wrap; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col h4 {
  font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 4px;
}
.foot-col a, .foot-col p {
  font-size: 13px; color: var(--muted); transition: color .25s;
}
.foot-col a:hover { color: var(--white); }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; flex-wrap: wrap; gap: 12px;
}
.foot-copy { font-size: 11px; color: rgba(242,237,227,.38); }
.foot-credit {
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(184,150,46,.45);
}

/* ══════════════════════════════════════════
   REVEAL ANIMATIONS (initial states)
   ══════════════════════════════════════════ */
.reveal       { opacity: 0; transform: translateY(32px); }
.reveal-left  { opacity: 0; transform: translateX(-40px); }
.reveal-right { opacity: 0; transform: translateX(40px); }

/* ══════════════════════════════════════════
   MOBILE NAV OVERLAY
   ══════════════════════════════════════════ */
.mobile-nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  min-height: 100vh; min-height: 100dvh;
  background: var(--bg);
  z-index: 9800; display: none; flex-direction: column;
  padding: 100px 32px 48px;
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(36px,8vw,52px); font-weight: 600;
  line-height: 1.2; border-bottom: 1px solid var(--border);
  padding: 18px 0; color: var(--white);
  transition: color .25s;
}
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav-phone {
  margin-top: auto;
  font-size: 14px; color: var(--muted);
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .so-grid { grid-template-columns: repeat(2,1fr); }
  .about-section { grid-template-columns: 1fr; gap: 48px; }
  .lang-grid { grid-template-columns: repeat(2,1fr); }
  .project-types-grid { grid-template-columns: repeat(3,1fr); }
  .branches-wrap { grid-template-columns: 1fr; gap: 40px; }
  .service-row { grid-template-columns: 1fr; min-height: auto; }
  .service-row:nth-child(even) .service-row-img { order: 0; }
  .service-row:nth-child(even) .service-row-content { order: 0; }
  .service-row-img { height: 280px; }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-info { border-right: none; border-bottom: 1px solid var(--border); }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .mobile-nav { display: flex; }
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .hero { padding: 100px 20px 64px; justify-content: center; }
  .hero-badge { display: none; }
  .scroll-ind { display: none; }

  .stats-bar { grid-template-columns: repeat(2,1fr); }
  .stat { border-bottom: 1px solid var(--border); }
  .stat:nth-child(2), .stat:nth-child(4) { border-right: none; }

  .so-grid { grid-template-columns: 1fr; }
  .lang-grid { grid-template-columns: repeat(2,1fr); }
  .project-types-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }

  .services-header { flex-direction: column; align-items: flex-start; }
  .contact-wrap { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .cta-section { flex-direction: column; align-items: flex-start; }
  .branches-grid { grid-template-columns: 1fr; }

  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; }

  section {
    padding: 60px 20px;
  }
  .branches-wrap { padding: 60px 20px; }
  .cta-section { padding: 60px 20px; }
  .contact-info, .contact-form { padding: 48px 20px; }
  .languages-section { padding: 60px 20px; }
}

@media (max-width: 480px) {
  .lang-grid { grid-template-columns: 1fr 1fr; }
  .project-types-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar { grid-template-columns: repeat(2,1fr); }
}
