/* ============================================================
  IZIKHULU SECURITY SOLUTIONS | Stylesheet
   Design language: charcoal & gold, viewfinder-bracket framing
   motif (drawn from CCTV/monitoring reticles), disciplined grid.
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* ---------- Tokens ---------- */
:root{
  --gold: #D4AF37;
  --gold-bright: #E7C25A;
  --gold-deep: #A9832A;
  --ink: #111111;
  --ink-2: #1A1A1A;
  --ink-3: #242424;

  /* light theme surface defaults */
  --bg: #FBFAF7;
  --bg-alt: #F3F1EA;
  --surface: #FFFFFF;
  --surface-2: #F6F4EE;
  --text: #16150F;
  --text-soft: #55523F;
  --border: rgba(17,17,17,0.12);
  --border-strong: rgba(17,17,17,0.22);
  --gold-line: rgba(212,175,55,0.55);
  --shadow: 0 18px 40px -22px rgba(17,17,17,0.28);

  --nav-h: 84px;
  --maxw: 1220px;
  --radius: 2px;
  --ease: cubic-bezier(.22,.68,0,1);
  --dur-1: .5s;
  --dur-2: .8s;
}

[data-theme="dark"]{
  --bg: #111111;
  --bg-alt: #161616;
  --surface: #1A1A1A;
  --surface-2: #1F1F1D;
  --text: #F3F1E7;
  --text-soft: #B9B6A6;
  --border: rgba(231,194,90,0.16);
  --border-strong: rgba(231,194,90,0.32);
  --gold-line: rgba(231,194,90,0.55);
  --shadow: 0 24px 60px -24px rgba(0,0,0,0.7);
  --gold: #E7C25A;
}

/* ---------- Reset ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
html.lenis,html.lenis body{ height:auto; }
html.lenis{ scroll-behavior:auto !important; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  transition:background var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
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:'Space Grotesk',sans-serif;
  font-weight:600;
  line-height:1.12;
  margin:0 0 .5em;
  letter-spacing:-.01em;
  color:var(--text);
}
p{ margin:0 0 1em; color:var(--text-soft); max-width:62ch; }
button{ font-family:inherit; cursor:pointer; }
:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; }

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 32px; }
.breadcrumbs{ position:absolute; top:96px; left:0; right:0; z-index:10; }
.breadcrumbs .wrap{ display:flex; align-items:center; gap:10px; font-size:.78rem; color:var(--text-soft); }
.breadcrumbs a:hover{ color:var(--gold-deep); }
.breadcrumbs span[aria-current="page"]{ color:var(--text); }
.section{ padding:120px 0; }
.section--tight{ padding:88px 0; }
.section--alt{ background:var(--bg-alt); }
@media (max-width:768px){
  .section{ padding:76px 0; }
  .section--tight{ padding:56px 0; }
  .wrap{ padding:0 20px; }
  .breadcrumbs{ top:88px; }
}

/* ---------- eyebrow-free heading kit ---------- */
.head{ max-width:640px; margin-bottom:56px; }
.head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.head h2{ font-size:clamp(2rem,3.6vw,2.75rem); }
.head p{ max-width:52ch; }
.head.center p{ margin-left:auto; margin-right:auto; }
.rule{
  width:52px; height:2px; background:var(--gold);
  margin:0 0 20px;
}
.head.center .rule{ margin-left:auto; margin-right:auto; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:15px 28px;
  border:1px solid var(--text);
  border-radius:var(--radius);
  font-weight:600; font-size:.95rem;
  background:transparent; color:var(--text);
  position:relative; overflow:hidden;
  transition:color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease), transform .35s var(--ease);
}
.btn::before{
  content:""; position:absolute; inset:0; background:var(--gold);
  transform:translateX(-101%);
  transition:transform .45s var(--ease);
  z-index:0;
}
.btn span, .btn svg{ position:relative; z-index:1; transition:color var(--dur-1) var(--ease); }
.btn:hover{ border-color:var(--gold); }
.btn:hover::before{ transform:translateX(0); }
.btn:hover span, .btn:hover svg{ color:var(--ink); stroke:var(--ink); }
.btn:active{ transform:scale(.97); }

.btn--gold{ background:var(--gold); border-color:var(--gold); color:var(--ink); }
.btn--gold::before{ background:var(--ink); }
.btn--gold:hover span, .btn--gold:hover svg{ color:#fff; stroke:#fff; }
[data-theme="dark"] .btn--gold:hover span,[data-theme="dark"] .btn--gold:hover svg{ color:var(--ink); stroke:var(--ink); }
[data-theme="dark"] .btn--gold::before{ background:var(--gold-bright); }

.btn--ghost{ border-color:var(--border-strong); }

.btn-row{ display:flex; gap:16px; flex-wrap:wrap; align-items:center; }

/* ---------- Bracket / reticle frame motif ---------- */
.bracket{ position:relative; }
.bracket::before,.bracket::after,
.bracket .c2::before,.bracket .c2::after{ content:""; position:absolute; width:26px; height:26px; border:2px solid var(--gold); opacity:.9; transition:width .5s var(--ease),height .5s var(--ease); }
.bracket::before{ top:-10px; left:-10px; border-right:none; border-bottom:none; }
.bracket::after{ bottom:-10px; right:-10px; border-left:none; border-top:none; }
.bracket .c2{ position:absolute; inset:0; }
.bracket .c2::before{ top:-10px; right:-10px; border-left:none; border-bottom:none; }
.bracket .c2::after{ bottom:-10px; left:-10px; border-right:none; border-top:none; }
.bracket:hover::before,.bracket:hover::after,
.bracket:hover .c2::before,.bracket:hover .c2::after{ width:34px; height:34px; }

/* ============================================================
   NAV
   ============================================================ */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:200;
  height:var(--nav-h);
  display:flex; align-items:center;
  border-bottom:1px solid var(--border);
  transition:border-color var(--dur-1) var(--ease), height .3s var(--ease);
}
/* separate layer for the blur so it never becomes a containing block for the
   fixed-position mobile menu (filter/backdrop-filter would otherwise trap it) */
.nav::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter:blur(14px);
  transition:background var(--dur-1) var(--ease);
}
.nav.is-scrolled{ height:68px; box-shadow:var(--shadow); }
.nav .wrap{ display:flex; align-items:center; justify-content:space-between; width:100%; }

.brand{ display:flex; align-items:center; gap:18px; }
.brand__mark{
  width:58px; height:58px; overflow:visible;
  border:0; background:transparent;
  flex-shrink:0;
}
.brand__mark img{ width:100%; height:100%; object-fit:contain; }
.brand__text{ display:flex; flex-direction:column; line-height:1.1; }
.brand__text b{ font-family:'Space Grotesk',sans-serif; font-size:1.05rem; letter-spacing:.02em; }
.brand__text span{ font-size:.66rem; letter-spacing:.14em; color:var(--gold-deep); }
[data-theme="dark"] .brand__text span{ color:var(--gold); }

.nav__links{ display:flex; align-items:center; gap:40px; }
.nav__links a{
  font-size:.92rem; font-weight:500; color:var(--text-soft);
  position:relative; padding:6px 0;
}
.nav__links a::after{
  content:""; position:absolute; left:50%; right:50%; bottom:0; height:2px; background:var(--gold);
  transition:left .35s var(--ease), right .35s var(--ease);
}
.nav__links a:hover{ color:var(--text); }
.nav__links a:hover::after,.nav__links a.active::after{ left:0; right:0; }
.nav__links a.active{ color:var(--text); }

.nav__actions{ display:flex; align-items:center; gap:14px; }

.theme-toggle{
  width:42px; height:42px; border-radius:50%;
  border:1px solid var(--border-strong); background:transparent;
  display:flex; align-items:center; justify-content:center;
  color:var(--text); transition:border-color .3s var(--ease), transform .4s var(--ease);
}
.theme-toggle:hover{ border-color:var(--gold); transform:rotate(20deg); }
.theme-toggle svg{ width:19px; height:19px; }
.theme-toggle .sun{ display:none; }
[data-theme="dark"] .theme-toggle .sun{ display:block; }
[data-theme="dark"] .theme-toggle .moon{ display:none; }

.nav__burger{ display:none; width:42px; height:42px; border:1px solid var(--border-strong); background:none; border-radius:50%; position:relative; }
.nav__burger span,.nav__burger span::before,.nav__burger span::after{
  content:""; position:absolute; left:12px; right:12px; height:2px; background:var(--text); transition:all .3s var(--ease);
}
.nav__burger span{ top:50%; transform:translateY(-50%); }
.nav__burger span::before{ top:-7px; }
.nav__burger span::after{ top:7px; }
.nav__burger.is-open span{ background:transparent; }
.nav__burger.is-open span::before{ top:0; transform:rotate(45deg); }
.nav__burger.is-open span::after{ top:0; transform:rotate(-45deg); }

@media (max-width:900px){
  .nav__links{
    position:fixed; top:var(--nav-h); left:0; right:0; bottom:0;
    background:var(--bg); flex-direction:column; justify-content:flex-start;
    padding:40px 32px; gap:26px;
    transform:translateX(100%); transition:transform .45s var(--ease);
    border-top:1px solid var(--border);
  }
  .nav__links.is-open{ transform:translateX(0); }
  .nav__links a{ font-size:1.3rem; }
  .nav__burger{ display:block; }
  .nav__actions .btn{ display:none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero{
  padding-top:calc(var(--nav-h) + 56px);
  padding-bottom:90px;
  overflow:clip;
}
.hero .wrap{ display:grid; grid-template-columns:1.05fr .95fr; gap:64px; align-items:center; }
.hero__eyebrow{ display:flex; align-items:center; gap:10px; margin-bottom:22px; color:var(--gold-deep); font-weight:600; font-size:.85rem; }
[data-theme="dark"] .hero__eyebrow{ color:var(--gold); }
.hero__eyebrow .dot{ width:7px; height:7px; border-radius:50%; background:var(--gold); animation:pulse 2.4s infinite; }
@keyframes pulse{ 0%,100%{ opacity:1 } 50%{ opacity:.25 } }

.hero h1{
  font-size:clamp(2.6rem,5.2vw,4.1rem);
  max-width:11ch;
}
.hero h1 .reveal-line{ display:block; overflow:hidden; }
.hero h1 .reveal-line span{ display:block; transform:translateY(105%); transition:transform .9s var(--ease); }
.hero.is-ready h1 .reveal-line span{ transform:translateY(0); }
.hero h1 .reveal-line:nth-child(1) span{ transition-delay:.05s; }
.hero h1 .reveal-line:nth-child(2) span{ transition-delay:.16s; }

.hero p.lead{ font-size:1.08rem; max-width:46ch; margin-top:22px; opacity:0; transform:translateY(14px); transition:opacity .8s var(--ease) .5s, transform .8s var(--ease) .5s; }
.hero.is-ready p.lead{ opacity:1; transform:translateY(0); }

.hero .btn-row{ margin-top:34px; opacity:0; transform:translateY(14px); transition:opacity .8s var(--ease) .62s, transform .8s var(--ease) .62s; }
.hero.is-ready .btn-row{ opacity:1; transform:translateY(0); }

.hero__sectors{ margin-top:44px; display:flex; flex-wrap:wrap; gap:10px 22px; opacity:0; transition:opacity 1s var(--ease) .8s; }
.hero.is-ready .hero__sectors{ opacity:1; }
.hero__sectors span{ font-size:.78rem; letter-spacing:.06em; color:var(--text-soft); padding-left:14px; border-left:2px solid var(--gold-line); }

.hero__media{ position:relative; }
.hero__frame{ position:relative; aspect-ratio:4/5; overflow:hidden; clip-path:inset(0 0 100% 0); transition:clip-path 1.1s var(--ease) .25s; }
.hero.is-ready .hero__frame{ clip-path:inset(0 0 0% 0); }
.hero__frame img{ width:100%; height:100%; object-fit:cover; transform:scale(1.08); transition:transform 1.4s var(--ease) .25s; }
.hero.is-ready .hero__frame img{ transform:scale(1); }
.hero__frame::before,.hero__frame::after{
  content:""; position:absolute; width:38px; height:38px; border:2px solid var(--gold); z-index:2;
}
.hero__frame::before{ top:18px; left:18px; border-right:none; border-bottom:none; }
.hero__frame::after{ bottom:18px; right:18px; border-left:none; border-top:none; }

.hero__stat{
  position:absolute; left:-28px; bottom:34px; background:var(--surface);
  border:1px solid var(--border); box-shadow:var(--shadow);
  padding:18px 22px; display:flex; align-items:center; gap:12px;
  opacity:0; transform:translateY(20px); transition:opacity .8s var(--ease) .9s, transform .8s var(--ease) .9s;
}
.hero.is-ready .hero__stat{ opacity:1; transform:translateY(0); }
.hero__stat .ring{ width:11px; height:11px; border-radius:50%; background:var(--gold); box-shadow:0 0 0 4px color-mix(in srgb, var(--gold) 25%, transparent); flex-shrink:0; }
.hero__stat b{ display:block; font-family:'Space Grotesk',sans-serif; font-size:.95rem; }
.hero__stat small{ color:var(--text-soft); font-size:.76rem; }

@media (max-width:980px){
  .hero .wrap{ grid-template-columns:1fr; gap:52px; }
  .hero__media{ order:0; max-width:420px; }
  .hero__stat{ left:16px; }
}

/* ============================================================
   PAGE HEADER (About / Contact top banners)
   ============================================================ */
.page-header{
  padding:calc(var(--nav-h) + 70px) 0 90px;
  position:relative;
  overflow:clip;
}
.page-header .wrap{ position:relative; z-index:2; display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:end; }
.page-header h1{ font-size:clamp(2.3rem,4.6vw,3.4rem); max-width:13ch; }
.page-header .head-media{ position:relative; aspect-ratio:16/10; overflow:hidden; }
.page-header .head-media img{ width:100%; height:100%; object-fit:cover; }
.page-header .head-media::before,.page-header .head-media::after{ content:""; position:absolute; width:30px; height:30px; border:2px solid var(--gold); z-index:2; }
.page-header .head-media::before{ top:14px; left:14px; border-right:none; border-bottom:none; }
.page-header .head-media::after{ bottom:14px; right:14px; border-left:none; border-top:none; }
@media (max-width:900px){
  .page-header .wrap{ grid-template-columns:1fr; }
}

/* ============================================================
   ABOUT TEASER (home)
   ============================================================ */
.about-teaser .wrap{ display:grid; grid-template-columns:.85fr 1.15fr; gap:72px; align-items:center; }
.about-teaser__media{ position:relative; }
.about-teaser__media .frame{ position:relative; aspect-ratio:3/4; overflow:hidden; }
.about-teaser__media .frame img{ width:100%; height:100%; object-fit:cover; }
.about-teaser__media .frame::before,.about-teaser__media .frame::after{ content:""; position:absolute; width:30px; height:30px; border:2px solid var(--gold); }
.about-teaser__media .frame::before{ top:14px; left:14px; border-right:none; border-bottom:none; }
.about-teaser__media .frame::after{ bottom:14px; right:14px; border-left:none; border-top:none; }
.tagline-card{
  position:absolute; bottom:-26px; right:-26px; max-width:220px;
  background:var(--ink); color:#fff; padding:22px 24px; border:1px solid var(--gold-line);
}
.tagline-card em{ font-family:'Space Grotesk',sans-serif; font-style:normal; color:var(--gold); font-size:1.05rem; display:block; margin-bottom:6px; }
.tagline-card span{ font-size:.76rem; color:#C9C6B9; }

@media (max-width:900px){
  .about-teaser .wrap{ grid-template-columns:1fr; }
  .about-teaser__media{ max-width:340px; margin:0 auto 20px; }
  .tagline-card{ right:8px; bottom:-20px; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:28px;
}
.service-card{
  background:var(--surface); padding:34px 30px 30px;
  border:1px solid var(--border);
  display:flex; flex-direction:column; gap:16px;
  transition:background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.service-card:hover{ border-color:var(--gold-line); transform:translateY(-4px); }
.service-card__img{ position:relative; aspect-ratio:16/10; overflow:hidden; margin-bottom:6px; }
.service-card__img img{ width:100%; height:100%; object-fit:cover; transition:transform .7s var(--ease); filter:grayscale(35%); }
.service-card:hover .service-card__img img{ transform:scale(1.06); filter:grayscale(0%); }
.service-card__img::after{ content:""; position:absolute; inset:0; border:1px solid var(--gold-line); opacity:0; transition:opacity .4s var(--ease); }
.service-card:hover .service-card__img::after{ opacity:1; }
.service-card h3{ font-size:1.18rem; }
.service-card p{ font-size:.94rem; margin:0; }


@media (max-width:980px){ .services-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .services-grid{ grid-template-columns:1fr; } }

.also-offer{
  margin-top:56px; padding-top:44px; border-top:1px solid var(--border);
  display:flex; flex-wrap:wrap; align-items:center; gap:16px 14px;
}
.also-offer__label{ font-weight:600; font-size:.92rem; color:var(--text); margin-right:6px; }
.chip{
  font-size:.82rem; padding:9px 16px; border:1px solid var(--border-strong);
  color:var(--text-soft); transition:border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.chip:hover{ border-color:var(--gold); color:var(--text); transform:translateY(-2px); }

/* ---------- FAQ ---------- */
.faq-list{ max-width:860px; margin:0 auto; border-top:1px solid var(--border); }
.faq-list details{ border-bottom:1px solid var(--border); padding:0 4px; }
.faq-list summary{ cursor:pointer; list-style:none; padding:22px 42px 22px 0; position:relative; font-family:'Space Grotesk',sans-serif; font-size:1.05rem; font-weight:600; color:var(--text); }
.faq-list summary::-webkit-details-marker{ display:none; }
.faq-list summary::after{ content:'+'; position:absolute; right:8px; top:17px; color:var(--gold-deep); font-size:1.5rem; font-weight:400; }
.faq-list details[open] summary::after{ content:'−'; }
.faq-list details p{ padding:0 42px 22px 0; margin:0; font-size:.94rem; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why{ .wrap{} }
.why .wrap{ display:grid; grid-template-columns:.95fr 1.05fr; gap:64px; align-items:center; }
.why__media{ position:relative; aspect-ratio:4/3; overflow:hidden; }
.why__media img{ width:100%; height:100%; object-fit:cover; }
.why__media::before,.why__media::after{ content:""; position:absolute; width:32px; height:32px; border:2px solid var(--gold); z-index:2; }
.why__media::before{ top:16px; left:16px; border-right:none; border-bottom:none; }
.why__media::after{ bottom:16px; right:16px; border-left:none; border-top:none; }

.why-list{ display:flex; flex-direction:column; }
.why-item{ display:flex; gap:20px; padding:24px 0; border-top:1px solid var(--border); }
.why-item:last-child{ border-bottom:1px solid var(--border); }
.why-item__mark{ font-family:'Space Grotesk',sans-serif; color:var(--gold-deep); font-weight:600; font-size:.85rem; padding-top:3px; flex-shrink:0; width:38px; }
[data-theme="dark"] .why-item__mark{ color:var(--gold); }
.why-item h3{ font-size:1.06rem; margin-bottom:6px; }
.why-item p{ font-size:.92rem; margin:0; }

@media (max-width:900px){ .why .wrap{ grid-template-columns:1fr; } .why__media{ order:-1; } }

/* ============================================================
   VALUES (about) & SECTORS
   ============================================================ */
.values-wrap{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.values-wrap .why__media{ aspect-ratio:4/3; }
@media (max-width:900px){ .values-wrap{ grid-template-columns:1fr; gap:32px; } }

.values-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:2px; background:var(--border); border:1px solid var(--border); }
.value-card{ background:var(--surface); padding:40px 32px; transition:background .35s var(--ease); }
.value-card:hover{ background:var(--surface-2); }
.value-card .glyph{ width:46px; height:46px; margin-bottom:22px; position:relative; }
.value-card .glyph svg{ width:100%; height:100%; stroke:var(--gold); }
.value-card h3{ font-size:1.15rem; }
.value-card p{ font-size:.93rem; margin:0; }
@media (max-width:900px){ .values-grid{ grid-template-columns:1fr; } }

.mv-grid{ display:grid; grid-template-columns:1fr 1fr; gap:2px; background:var(--border); border:1px solid var(--border); margin-bottom:2px;}
.mv-card{ background:var(--surface); padding:46px 40px; }
.mv-card b.tag{ display:inline-block; font-size:.72rem; letter-spacing:.14em; color:var(--gold-deep); margin-bottom:14px; font-weight:700; }
[data-theme="dark"] .mv-card b.tag{ color:var(--gold); }
.mv-card p{ max-width:52ch; font-size:1.02rem; }
@media (max-width:760px){ .mv-grid{ grid-template-columns:1fr; } }

.sector-list{ display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:1px; background:var(--border); border:1px solid var(--border); }
.sector-item{ background:var(--surface); padding:30px 28px; }
.sector-item h4{ font-family:'Space Grotesk',sans-serif; font-size:1.02rem; margin-bottom:8px; }
.sector-item p{ font-size:.88rem; margin:0; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta{ position:relative; overflow:clip; background:var(--ink); color:#fff; }
.cta .wrap{ display:grid; grid-template-columns:1.15fr .85fr; gap:56px; align-items:center; padding:96px 32px; }
.cta h2{ color:#fff; font-size:clamp(2rem,3.6vw,2.9rem); max-width:12ch; }
.cta p{ color:#C9C6B9; max-width:48ch; }
.cta .rule{ background:var(--gold); }
.cta__media{ position:relative; aspect-ratio:4/3; overflow:hidden; }
.cta__media img{ width:100%; height:100%; object-fit:cover; filter:grayscale(20%); }
.cta__media::before,.cta__media::after{ content:""; position:absolute; width:30px; height:30px; border:2px solid var(--gold); z-index:2; }
.cta__media::before{ top:14px; left:14px; border-right:none; border-bottom:none; }
.cta__media::after{ bottom:14px; right:14px; border-left:none; border-top:none; }
.cta .btn{ border-color:#fff; color:#fff; }
.cta .btn::before{ background:var(--gold); }
.cta .btn:hover span,.cta .btn:hover svg{ color:var(--ink); stroke:var(--ink); }
@media (max-width:900px){ .cta .wrap{ grid-template-columns:1fr; padding:70px 20px; } .cta__media{ order:-1; max-width:360px; } }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:2px; background:var(--border); border:1px solid var(--border); }
.contact-info{ background:var(--surface); padding:52px 44px; }
.contact-info__block{ margin-bottom:34px; }
.contact-info__block:last-child{ margin-bottom:0; }
.contact-info__block b.k{ display:block; font-size:.72rem; letter-spacing:.12em; color:var(--gold-deep); margin-bottom:8px; font-weight:700; }
[data-theme="dark"] .contact-info__block b.k{ color:var(--gold); }
.contact-info__block a,.contact-info__block p{ font-size:.98rem; color:var(--text); margin:0 0 2px; }
.contact-info__block a{ display:inline-flex; align-items:center; gap:8px; border-bottom:1px solid transparent; transition:border-color .3s var(--ease); }
.contact-info__block a:hover{ border-color:var(--gold); }
.person-card{ display:flex; gap:16px; align-items:flex-start; padding-top:26px; border-top:1px solid var(--border); margin-top:30px; }
.person-card .ring{ width:44px; height:44px; border-radius:50%; border:1px solid var(--gold-line); flex-shrink:0; display:flex; align-items:center; justify-content:center; color:var(--gold-deep); font-family:'Space Grotesk',sans-serif; font-weight:700; }
[data-theme="dark"] .person-card .ring{ color:var(--gold); }
.person-card h4{ font-size:1rem; margin-bottom:2px; }
.person-card span.role{ font-size:.78rem; color:var(--text-soft); display:block; margin-bottom:10px; }

.contact-form{ background:var(--surface); padding:52px 44px; }
.field{ margin-bottom:22px; }
.field label{ display:block; font-size:.8rem; font-weight:600; margin-bottom:8px; color:var(--text); }
.field input, .field select, .field textarea{
  width:100%; padding:13px 14px; border:1px solid var(--border-strong); background:var(--bg);
  color:var(--text); font-family:inherit; font-size:.95rem; border-radius:var(--radius);
  transition:border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus{
  border-color:var(--gold); box-shadow:0 0 0 3px color-mix(in srgb, var(--gold) 22%, transparent); outline:none;
}
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field textarea{ resize:vertical; min-height:110px; }
.form-actions{ display:flex; flex-wrap:wrap; gap:14px; margin-top:8px; }
.form-note{ font-size:.8rem; color:var(--text-soft); margin-top:16px; }
.form-note.success{ color:var(--gold-deep); font-weight:600; }
[data-theme="dark"] .form-note.success{ color:var(--gold); }

@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } .contact-info,.contact-form{ padding:40px 26px; } .field-row{ grid-template-columns:1fr; } }

.map-frame{ position:relative; height:380px; border-top:1px solid var(--border); filter:grayscale(65%) contrast(1.05); transition:filter .5s var(--ease); }
.map-frame:hover{ filter:grayscale(0%) contrast(1.05); }
.map-frame iframe{ width:100%; height:100%; border:0; display:block; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer{ background:var(--ink); color:#D9D6C8; padding:78px 0 28px; }
.footer .wrap{ display:grid; grid-template-columns:1.3fr .8fr .9fr 1fr; gap:48px; }
.footer h5{ font-family:'Space Grotesk',sans-serif; color:#fff; font-size:.86rem; letter-spacing:.06em; margin-bottom:20px; }
.footer p{ color:#B4B1A2; font-size:.88rem; }
.footer .brand{ margin-bottom:18px; }
.footer .brand__text b{ color:#fff; }
.footer .brand__text span{ color:var(--gold); }
.footer ul li{ margin-bottom:12px; }
.footer ul a{ color:#C9C6B9; font-size:.9rem; transition:color .3s var(--ease); }
.footer ul a:hover{ color:var(--gold); }
.footer__bottom{ margin-top:60px; padding-top:26px; border-top:1px solid rgba(255,255,255,.1); display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:.78rem; color:#8C8977; }
@media (max-width:900px){ .footer .wrap{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer .wrap{ grid-template-columns:1fr; } }

/* ---------- Scroll reveal ---------- */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in{ opacity:1; transform:translateY(0); }
.reveal-stagger > *{ opacity:0; transform:translateY(24px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-stagger.in > *{ opacity:1; transform:translateY(0); }
.reveal-stagger.in > *:nth-child(1){ transition-delay:.03s; }
.reveal-stagger.in > *:nth-child(2){ transition-delay:.1s; }
.reveal-stagger.in > *:nth-child(3){ transition-delay:.17s; }
.reveal-stagger.in > *:nth-child(4){ transition-delay:.24s; }
.reveal-stagger.in > *:nth-child(5){ transition-delay:.31s; }
.reveal-stagger.in > *:nth-child(6){ transition-delay:.38s; }

/* ---------- Back to top ---------- */
.to-top{
  position:fixed; right:24px; bottom:24px; width:46px; height:46px; border-radius:50%;
  background:var(--gold); color:var(--ink); border:none; display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden; transform:translateY(10px); transition:all .35s var(--ease); z-index:150;
  box-shadow:var(--shadow);
}
.to-top.show{ opacity:1; visibility:visible; transform:translateY(0); }
.to-top:hover{ transform:translateY(-4px); }

/* ---------- Whatsapp float ---------- */
.wa-float{
  position:fixed; left:50px; bottom:24px; z-index:150;
  display:flex; align-items:center; gap:10px;
  background:var(--surface); border:1px solid var(--border); box-shadow:var(--shadow);
  padding:12px 18px 12px 12px; border-radius:40px;
  transition:transform .35s var(--ease), border-color .3s var(--ease);
}
.wa-float:hover{ transform:translateY(-3px); border-color:var(--gold); }
.wa-float .ic{ width:34px; height:34px; border-radius:50%; background:#25D366; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.wa-float .ic svg{ width:18px; height:18px; fill:#fff; }
.wa-float span{ font-size:.82rem; font-weight:600; color:var(--text); }
@media (max-width:640px){ .wa-float span{ display:none; } .wa-float{ padding:12px; } }

/* Align WhatsApp button to the right, next to .to-top */
.wa-float {
  position: fixed;
  right: 78px; /* Moves it to the right, sitting 12px away from the back-to-top button */
  left: auto;  /* Overrides the previous left: 50px */
  bottom: 24px;
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  white-space: nowrap;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 12px 18px 12px 12px;
  border-radius: 40px;
  transition: transform .35s var(--ease), border-color .3s var(--ease);
}

.wa-float:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}

@media (max-width: 640px) {
  .wa-float {
    right: 76px;
    padding: 12px;
  }
  .wa-float span {
    display: none;
  }
}