
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,340;9..144,450;9..144,560;9..144,680&family=Inter:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

:root{
  /* ---- Color tokens ---- */
  --cream:      #FAF6EE;
  --cream-2:    #F1E9D8;
  --paper:      #FFFFFF;
  --ink:        #1A2420;
  --ink-soft:   #445048;
  --mist:       #7A8178;
  --line:       #E6DEC9;

  --emerald:       #10453A;
  --emerald-light: #1C6B57;
  --emerald-tint:  #E7EFEA;
  --terracotta:       #C1622D;
  --terracotta-light: #E08347;
  --amber:      #E0A458;

  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'Space Mono', monospace;

  --maxw: 1200px;
  --r-sm: 10px;
  --r-md: 20px;
  --r-lg: 32px;
  --ease: cubic-bezier(.16,.84,.26,1);
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }

body{
  background:var(--cream);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
::selection{ background:var(--terracotta); color:#fff; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
}
:focus-visible{ outline:2px solid var(--terracotta); outline-offset:3px; }

.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 32px; position:relative; }

/* ============================================================
   Decorative gradient blobs (ambient background motion)
   ============================================================ */
.blob{
  position:absolute; border-radius:50%; filter:blur(60px);
  opacity:.5; pointer-events:none; z-index:0;
  animation:blobFloat 16s ease-in-out infinite;
}
@keyframes blobFloat{
  0%,100%{ transform:translate(0,0) scale(1); }
  33%{ transform:translate(30px,-24px) scale(1.08); }
  66%{ transform:translate(-22px,18px) scale(0.96); }
}

/* ============================================================
   Eyebrow labels
   ============================================================ */
.eyebrow{
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--terracotta);
  display:flex; align-items:center; gap:10px;
  font-weight:700;
}
.eyebrow::before{
  content:""; width:22px; height:2px; background:var(--terracotta);
  display:inline-block; border-radius:2px;
}
.eyebrow.on-dark{ color:var(--amber); }

/* ============================================================
   Header — floating glass pill nav
   ============================================================ */
.site-header{
  position:fixed; top:16px; left:0; right:0; z-index:100;
  padding:0 20px;
}
.site-header .wrap{
  background:rgba(255,255,255,0.72);
  backdrop-filter:blur(16px) saturate(160%);
  border:1px solid rgba(255,255,255,0.6);
  border-radius:100px;
  box-shadow:0 8px 30px rgba(26,36,32,0.08);
  display:flex; align-items:center; justify-content:space-between;
  height:72px; padding-left:10px; padding-right:10px;
  max-width:1120px;
  transition:box-shadow .3s ease;
}
.site-header .wrap:hover{ box-shadow:0 12px 40px rgba(26,36,32,0.12); }

.brand{ display:flex; align-items:center; gap:12px; padding-left:8px; }
.brand-seal{
  width:40px; height:40px; border-radius:50%;
  background:linear-gradient(135deg, var(--emerald), var(--emerald-light));
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display); font-size:15px; color:#fff; flex-shrink:0;
  transition:transform .4s var(--ease);
}
.brand:hover .brand-seal{ transform:rotate(-12deg) scale(1.06); }
.brand-text{ display:flex; flex-direction:column; line-height:1.15; }
.brand-name{ font-family:var(--font-display); font-size:16.5px; font-weight:560; color:var(--ink); }
.brand-sub{ font-family:var(--font-mono); font-size:10px; letter-spacing:.08em; text-transform:uppercase; color:var(--mist); margin-top:2px; }

.main-nav{ display:flex; align-items:center; gap:2px; }
.main-nav a{
  position:relative;
  font-family:var(--font-body); font-weight:500; 
  font-size:14px; color:var(--ink-soft);
  padding:12px 16px; border-radius:100px;
  transition:color .2s ease, background .2s ease;
}
.main-nav a:hover{ background:var(--cream-2); color:var(--ink); }
.main-nav a.active{ background:var(--emerald); color:#fff; }
a.nav-cta {
  font-family: var(--font-body); 
  font-weight: 600; 
  font-size: 13.5px;
  background: var(--terracotta); 
  color: #fff;
  padding: 12px 22px; 
  border-radius: 100px; 
  white-space: nowrap;
  transition: background .25s ease, transform .25s var(--ease), box-shadow .3s ease;
  margin-left: 6px;
}
.nav-cta:hover{ background:var(--terracotta-light); transform:translateY(-2px); box-shadow:0 10px 22px rgba(193,98,45,.35); }

.nav-toggle{
  display:none; background:none; border:1px solid var(--line);
  color:var(--ink); width:40px; height:40px; border-radius:50%; font-size:17px; cursor:pointer;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--font-body); font-weight:600; font-size:14.5px;
  padding:15px 28px; border-radius:100px; border:1.5px solid transparent;
  cursor:pointer; transition:transform .3s var(--ease), background .25s ease, box-shadow .3s ease, border-color .25s ease;
  position:relative;
}
.btn-brass{ background:var(--emerald); color:#fff; }
.btn-brass:hover{ background:var(--emerald-light); transform:translateY(-3px); box-shadow:0 14px 28px rgba(16,69,58,.28); }
.btn-ghost{ border-color:var(--line); color:var(--ink); background:var(--paper); }
.btn-ghost:hover{ border-color:var(--emerald); color:var(--emerald); transform:translateY(-2px); }
.btn-whatsapp{ background:#1f3d2b; color:#d9f2e2; }
.btn-whatsapp:hover{ background:#274d36; transform:translateY(-3px); box-shadow:0 14px 26px rgba(31,61,43,.3); }

/* ============================================================
   Hero
   ============================================================ */
.hero{ position:relative; padding:120px 0 100px; overflow:hidden; }
.hero .blob:nth-child(1){ width:420px; height:420px; background:var(--terracotta); top:-160px; right:-120px; }
.hero .blob:nth-child(2){ width:320px; height:320px; background:var(--emerald-light); bottom:-120px; left:-80px; animation-delay:-6s; }

.hero-grid{ position:relative; z-index:1; display:grid; grid-template-columns:1.15fr .85fr; gap:64px; align-items:center; }
.hero h1{
  font-family:var(--font-display); font-weight:560;
  font-size:clamp(42px,6vw,76px); line-height:1.02;
  color:var(--ink); margin:22px 0 24px; letter-spacing:-.01em;
}
.hero h1 em{ font-style:italic; font-weight:340; color:var(--terracotta); }
.hero p.lede{ font-size:18px; color:var(--ink-soft); max-width:46ch; margin-bottom:36px; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }

.hero-card{
  background:var(--paper); color:var(--ink);
  padding:36px; border-radius:var(--r-lg);
  box-shadow:0 30px 60px -20px rgba(26,36,32,.25);
  transform:rotate(2deg);
  transition:transform .5s var(--ease);
}
.hero-card:hover{ transform:rotate(0deg) translateY(-6px); }
.hero-card .docket{
  font-family:var(--font-mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase;
  color:var(--terracotta); margin-bottom:16px; font-weight:700;
}
.hero-card dl{ display:grid; grid-template-columns:auto 1fr; gap:11px 18px; font-size:14px; }
.hero-card dt{ color:var(--mist); font-family:var(--font-mono); font-size:11px; text-transform:uppercase; letter-spacing:.05em; padding-top:2px; }
.hero-card dd{ font-weight:600; }

/* ============================================================
   Marquee ticker
   ============================================================ */
.marquee{
  background:var(--emerald); color:var(--cream);
  overflow:hidden; white-space:nowrap; padding:16px 0;
  border-top:1px solid rgba(255,255,255,.08); border-bottom:1px solid rgba(255,255,255,.08);
}
.marquee-track{
  display:inline-flex; gap:48px; animation:marquee 26s linear infinite;
  font-family:var(--font-mono); font-size:13px; letter-spacing:.08em; text-transform:uppercase;
}
.marquee-track span{ display:inline-flex; align-items:center; gap:48px; }
.marquee-track span::after{ content:"✦"; color:var(--amber); margin-left:48px; }
@keyframes marquee{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* ============================================================
   Legal Aid strip
   ============================================================ */
.aid-strip{ background:var(--cream-2); padding:36px 0; }
.aid-strip .wrap{ display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.aid-copy{ display:flex; align-items:center; gap:18px; }
.aid-icon{
  width:54px; height:54px; flex-shrink:0; border-radius:50%;
  background:var(--paper); box-shadow:0 8px 20px rgba(26,36,32,.1);
  display:flex; align-items:center; justify-content:center;
}
.aid-copy h3{ font-family:var(--font-display); font-size:21px; font-weight:560; color:var(--ink); margin-bottom:4px; }
.aid-copy p{ font-size:14px; color:var(--ink-soft); }

/* ============================================================
   Section scaffolding
   ============================================================ */
section{ padding:100px 0; position:relative; }
.section-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom:52px; flex-wrap:wrap; }
.section-head h2{ font-family:var(--font-display); font-weight:560; font-size:clamp(30px,3.6vw,44px); margin-top:16px; color:var(--ink); }
.section-head p{ color:var(--ink-soft); max-width:42ch; font-size:15px; }
.section-on-paper{ background:var(--paper); }

/* ============================================================
   Practice areas — bento grid
   ============================================================ */
.articles-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.article-card{
  background:var(--cream); border:1px solid var(--line);
  padding:32px 26px; border-radius:var(--r-md);
  transition:transform .4s var(--ease), box-shadow .4s ease, background .3s ease;
}
.article-card:hover{ transform:translateY(-8px); box-shadow:0 24px 40px -12px rgba(26,36,32,.18); background:var(--paper); }
.article-num{
  font-family:var(--font-mono); font-size:12px; color:#fff; letter-spacing:.04em;
  background:var(--emerald); display:inline-flex; align-items:center; justify-content:center;
  width:34px; height:34px; border-radius:50%; margin-bottom:20px;
}
.article-card h3{ font-family:var(--font-display); font-size:21px; font-weight:560; margin-bottom:10px; color:var(--ink); }
.article-card p{ font-size:14px; color:var(--ink-soft); }

/* ============================================================
   About split
   ============================================================ */
.split{ display:grid; grid-template-columns:.85fr 1.15fr; gap:64px; align-items:center; }
.portrait-frame{
  aspect-ratio:4/5; border-radius:var(--r-lg);
  background:linear-gradient(160deg, var(--emerald), #0B2E26);
  position:relative; display:flex; align-items:center; justify-content:center;
  overflow:hidden; box-shadow:0 30px 60px -20px rgba(16,69,58,.4);
}
.portrait-frame::before{
  content:""; position:absolute; inset:0;
  background:radial-gradient(circle at 75% 20%, rgba(224,164,88,.35), transparent 55%);
}
.portrait-mark{ font-family:var(--font-display); font-size:130px; color:rgba(255,255,255,.14); line-height:1; }
.portrait-caption{
  position:absolute; bottom:28px; left:28px; right:28px;
  font-family:var(--font-mono); font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:rgba(250,246,238,.75);
}
.credentials{ display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:34px; }
.credential{ border-top:2px solid var(--line); padding-top:16px; transition:border-color .3s ease; }
.credential:hover{ border-color:var(--terracotta); }
.credential .num{ font-family:var(--font-display); font-size:30px; color:var(--emerald); font-weight:560; }
.credential .label{ font-size:12.5px; color:var(--mist); margin-top:4px; }

/* ============================================================
   Stat strip — big animated numbers
   ============================================================ */
.stat-strip{ background:var(--emerald); color:var(--cream); }
.stat-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:20px; }
.stat{ text-align:center; }
.stat .num{ font-family:var(--font-display); font-size:54px; color:var(--amber); font-weight:560; }
.stat .label{ font-size:13px; color:rgba(250,246,238,.7); margin-top:8px; }

/* ============================================================
   Blog cards
   ============================================================ */
.blog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.blog-card{
  background:var(--paper); border-radius:var(--r-md); overflow:hidden;
  border:1px solid var(--line);
  transition:transform .4s var(--ease), box-shadow .4s ease;
}
.blog-card:hover{ transform:translateY(-8px); box-shadow:0 26px 44px -16px rgba(26,36,32,.2); }
.blog-thumb{
  aspect-ratio:16/10;
  background:linear-gradient(135deg, var(--emerald), var(--emerald-light) 60%, var(--terracotta));
  display:flex; align-items:flex-end; padding:18px; position:relative; overflow:hidden;
}
.blog-thumb::after{ content:""; position:absolute; inset:0; background:radial-gradient(circle at 80% 10%, rgba(224,164,88,.4), transparent 55%); }
.blog-tag{
  position:relative; font-family:var(--font-mono); font-size:10.5px; letter-spacing:.06em; text-transform:uppercase;
  background:rgba(255,255,255,.92); color:var(--emerald); padding:6px 12px; border-radius:100px; font-weight:700;
}
.blog-card-body{ padding:26px; }
.blog-docket{ font-family:var(--font-mono); font-size:11px; color:var(--terracotta); letter-spacing:.05em; margin-bottom:10px; font-weight:700; }
.blog-card-body h3{ font-family:var(--font-display); font-size:19px; font-weight:560; margin-bottom:10px; line-height:1.32; color:var(--ink); }
.blog-card-body p{ font-size:13.5px; color:var(--ink-soft); }
.blog-read{
  margin-top:16px; font-family:var(--font-body); font-weight:600; font-size:13px;
  color:var(--emerald); display:inline-flex; align-items:center; gap:6px; transition:gap .25s ease;
}
.blog-read:hover{ gap:10px; }

/* ============================================================
   Gallery
   ============================================================ */
.gallery-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.gallery-grid .span-2{ grid-column:span 2; }
.gallery-tile{
  position:relative; aspect-ratio:4/3; border-radius:var(--r-md); overflow:hidden;
  background:linear-gradient(150deg, var(--emerald), #0B2E26);
  display:flex; align-items:flex-end;
  transition:transform .45s var(--ease), box-shadow .45s ease;
}
.gallery-tile.span-2{ aspect-ratio:16/9; }
.gallery-tile:hover{ transform:scale(1.02) translateY(-4px); box-shadow:0 28px 50px -18px rgba(26,36,32,.3); }
.gallery-tile::before{ content:""; position:absolute; inset:0; background:radial-gradient(circle at 30% 20%, rgba(224,164,88,.28), transparent 60%); }
.gallery-caption{ position:relative; z-index:1; padding:20px; font-family:var(--font-mono); font-size:11px; letter-spacing:.05em; text-transform:uppercase; color:rgba(250,246,238,.75); }
.gallery-caption b{ display:block; color:#fff; font-family:var(--font-display); text-transform:none; font-size:17px; letter-spacing:0; margin-bottom:4px; font-weight:560; }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:60px; }
.contact-info-block{ margin-bottom:30px; }
.contact-info-block .eyebrow{ margin-bottom:10px; }
.contact-info-block p, .contact-info-block a{ font-size:15px; color:var(--ink-soft); }
.contact-info-block a:hover{ color:var(--terracotta); }
.office-hours{ margin-top:32px; border-top:2px solid var(--line); padding-top:26px; }
.office-hours table{ width:100%; border-collapse:collapse; font-size:14px; }
.office-hours td{ padding:9px 0; color:var(--ink-soft); border-bottom:1px solid var(--line); }
.office-hours td:last-child{ text-align:right; color:var(--ink); font-family:var(--font-mono); font-size:13px; font-weight:700; }

.form-card{
  background:var(--paper); color:var(--ink); padding:42px;
  border-radius:var(--r-lg); box-shadow:0 30px 60px -24px rgba(26,36,32,.2);
}
.form-card .docket{ font-family:var(--font-mono); font-size:11px; color:var(--terracotta); letter-spacing:.06em; text-transform:uppercase; margin-bottom:22px; font-weight:700; }
.field{ margin-bottom:22px; }
.field label{ display:block; font-family:var(--font-mono); font-size:11px; letter-spacing:.05em; text-transform:uppercase; color:var(--mist); margin-bottom:9px; font-weight:700; }
.field input, .field select, .field textarea{
  width:100%; border:1.5px solid var(--line); border-radius:var(--r-sm);
  background:var(--cream); padding:12px 14px; font-family:var(--font-body); font-size:15px; color:var(--ink);
  transition:border-color .25s ease, background .25s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--emerald); background:var(--paper); outline:none; }
.field textarea{ resize:vertical; min-height:100px; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer{ background:var(--ink); color:var(--cream); padding:64px 0 36px; margin-top:0; }
.site-footer .brand-name{ color:var(--cream); }
.footer-grid{ display:grid; grid-template-columns:1.4fr .8fr .8fr 1fr; gap:40px; margin-bottom:44px; }
.footer-grid h4{ font-family:var(--font-mono); font-size:11.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--amber); margin-bottom:18px; }
.footer-grid li{ margin-bottom:11px; }
.footer-grid a{ font-size:14px; color:rgba(250,246,238,.7); transition:color .2s ease; }
.footer-grid a:hover{ color:#fff; }
.footer-bottom{ border-top:1px solid rgba(250,246,238,.12); padding-top:26px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-family:var(--font-mono); font-size:11px; color:rgba(250,246,238,.5); letter-spacing:.03em; }

/* ============================================================
   Floating WhatsApp button (magnetic)
   ============================================================ */
.wa-float{
  position:fixed; right:28px; bottom:28px; z-index:200;
  width:62px; height:62px; border-radius:50%;
  background:var(--paper); box-shadow:0 16px 36px rgba(26,36,32,.28);
  display:flex; align-items:center; justify-content:center;
  transition:transform .3s var(--ease);
}
.wa-float:hover{ transform:scale(1.08) rotate(-6deg); }
.wa-float svg{ width:28px; height:28px; }
.wa-pulse{ position:absolute; inset:-3px; border-radius:50%; border:2px solid var(--terracotta); animation:wa-pulse 2.2s ease-out infinite; }
@keyframes wa-pulse{ 0%{ transform:scale(1); opacity:.7; } 100%{ transform:scale(1.55); opacity:0; } }

.wa-text {
  position: absolute;
  right: 76px; /* Pushes text cleanly to the left side of the 62px circle */
  top: 50%;
  transform: translateY(-50%);
  
  /* Styling to complement your palette */
  background: var(--paper); 
  color: #1f3d2b; 
  font-weight: 600;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(26,36,32,.15);
  white-space: nowrap; /* Strictly guarantees a single line */
  
  /* Counteracts the hover tilt of the parent button so text stays flat */
  transition: transform .3s var(--ease);
}

/* Keeps the text legible and levels it when hovering */
.wa-float:hover .wa-text {
  transform: translateY(-50%) rotate(6deg) scale(0.95);
}

@media (max-width: 768px) {
  .wa-text {
    /* Reset the side positioning */
    right: auto;
    top: auto;
    
    /* Position it directly above the 62px round button */
    bottom: 76px; 
    left: 50%;
    transform: translateX(-50%); /* Centers the text bubble horizontally over the icon */
  }

  /* Adjust the hover behavior on mobile to match the vertical layout */
  .wa-float:hover .wa-text {
    transform: translateX(-50%) scale(0.95);
  }
}

/* ============================================================
   Page banner
   ============================================================ */
.page-banner{ padding:150px 0 64px; position:relative; overflow:hidden; }
.page-banner .blob{ width:340px; height:340px; background:var(--terracotta); top:-140px; right:-100px; }
.page-banner h1{ font-family:var(--font-display); font-weight:560; font-size:clamp(38px,5vw,58px); margin-top:18px; color:var(--ink); position:relative; }
.page-banner p{ color:var(--ink-soft); max-width:54ch; margin-top:16px; font-size:16px; position:relative; }

/* ============================================================
   Motion — reveal, magnetic buttons
   ============================================================ */
@keyframes fadeUp{ from{ opacity:0; transform:translateY(26px); } to{ opacity:1; transform:translateY(0); } }
@keyframes fadeIn{ from{ opacity:0; } to{ opacity:1; } }
.hero-grid > *{ animation:fadeUp .9s var(--ease) both; }
.hero-grid > *:nth-child(2){ animation-delay:.14s; }
.hero-card dl{ animation:fadeIn 1s ease .35s both; }

.reveal{ opacity:0; transform:translateY(28px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in-view{ opacity:1; transform:translateY(0); }
.reveal:nth-child(2){ transition-delay:.06s; }
.reveal:nth-child(3){ transition-delay:.12s; }
.reveal:nth-child(4){ transition-delay:.18s; }

.wa-float{ animation:fadeUp .6s ease .4s both; }
.eyebrow::before{ transition:width .3s ease; }
.section-head:hover .eyebrow::before{ width:36px; }

@media (prefers-reduced-motion: reduce){
  .hero-grid > *, .hero-card dl, .wa-float{ animation:none !important; opacity:1 !important; transform:none !important; }
  .reveal{ opacity:1 !important; transform:none !important; }
  .marquee-track{ animation:none !important; }
  .blob{ animation:none !important; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-card{ order:-1; transform:rotate(0); }
  .split{ grid-template-columns:1fr; }
  .articles-grid{ grid-template-columns:repeat(2,1fr); }
  .blog-grid{ grid-template-columns:repeat(2,1fr); }
  .stat-grid{ grid-template-columns:repeat(2,1fr); gap:28px 20px; }
  .contact-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .gallery-grid{ grid-template-columns:repeat(2,1fr); }
  .gallery-grid .span-2{ grid-column:span 2; }
}
@media (max-width: 720px){
  .site-header{ top:10px; padding:0 12px; }
  .site-header .wrap{ border-radius:24px; height:auto; padding:14px; flex-wrap:wrap; }
  .main-nav {
    position: fixed; 
    top: 90px; 
    left: 12px; 
    right: 12px; 
    /* Limits height so it doesn't bleed off the screen on short devices */
    max-height: calc(100vh - 110px); 
    background: var(--paper); 
    border-radius: 24px; 
    box-shadow: 0 20px 50px rgba(26,36,32,.2);
    display: flex; /* Keep layout active */
    flex-direction: column; 
    align-items: stretch; 
    padding: 24px 16px; 
    gap: 8px;
    
    /* Smooth scaling reveal rather than aggressive translation */
    transform: translateY(-16px) scale(0.96); 
    opacity: 0; 
    pointer-events: none; /* Prevents an invisible container blocking user clicks */
    transition: transform .3s var(--ease), opacity .25s ease;
    overflow-y: auto; 
    z-index: 99;
  }
  
  /* Triggered cleanly by your new JS class toggle */
  .main-nav.open { 
    transform: translateY(0) scale(1); 
    opacity: 1; 
    pointer-events: all; /* Restores link clicks when open */
  }

  .main-nav a { 
    width: 100%; 
    padding: 16px 18px; 
    border-radius: 14px; 
    text-align: center;
  }
  
  .nav-toggle { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-family: var(--font-body); /* Ensures structural characters scale neatly */
    font-weight: 500;
  }

  .nav-cta{ margin:6px 0 0; text-align:center; justify-content:center; display:flex; }
  .aid-strip .wrap{ flex-direction:column; align-items:flex-start; }
  .articles-grid{ grid-template-columns:1fr; }
  .blog-grid{ grid-template-columns:1fr; }
  .stat-grid{ grid-template-columns:1fr 1fr; }
  .footer-grid{ grid-template-columns:1fr; gap:28px; }
  .field-row{ grid-template-columns:1fr; }
  .gallery-grid{ grid-template-columns:1fr; }
  .gallery-grid .span-2{ grid-column:span 1; }
  .wrap{ padding:0 20px; }
  .page-banner{ padding-top:130px; }
}

/* ============================================================
   Hero visual — image placeholder + floating trait cards
   ============================================================ */
.hero-visual{ position:relative; padding:20px 34px 34px 0; }
.hero-image-frame{
  aspect-ratio:4/5; border-radius:var(--r-lg); overflow:hidden; position:relative;
  background:linear-gradient(160deg, var(--emerald), #0B2E26);
  box-shadow:0 30px 60px -20px rgba(16,69,58,.35);
}
.hero-image-frame img{ width:100%; height:100%; object-fit:cover; display:block; }
.hero-image-placeholder{
  position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px;
  color:rgba(250,246,238,.55); font-family:var(--font-mono); font-size:12px; letter-spacing:.06em; text-transform:uppercase;
  text-align:center; padding:30px;
}
.hero-image-frame::after{ content:""; position:absolute; inset:0; background:radial-gradient(circle at 75% 15%, rgba(224,164,88,.3), transparent 55%); pointer-events:none; }

.float-card{
  position:absolute; background:rgba(255,255,255,.92); backdrop-filter:blur(12px);
  border-radius:var(--r-md); padding:16px 20px; box-shadow:0 18px 36px rgba(26,36,32,.2);
  display:flex; align-items:center; gap:12px; animation:floatCard 5.5s ease-in-out infinite;
  max-width:190px;
}
.float-card .ic{
  width:38px; height:38px; border-radius:50%; background:var(--emerald); color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:16px; flex-shrink:0;
}
.float-card b{ display:block; font-family:var(--font-display); font-size:15px; color:var(--ink); font-weight:560; }
.float-card .sub{ display:block; font-size:10.5px; color:var(--mist); font-family:var(--font-mono); text-transform:uppercase; letter-spacing:.04em; margin-top:2px; }

.float-card-1{ top:0; left:-6%; animation-delay:0s; }
.float-card-2{ top:40%; right:-8%; animation-delay:1.3s; }
.float-card-3{ bottom:0; left:10%; animation-delay:2.6s; }

@keyframes floatCard{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-14px); } }

/* ============================================================
   Gallery video tiles
   ============================================================ */
.gallery-tile.video-tile{ background-size:cover; background-position:center; }
.gallery-tile .play-btn{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:58px; height:58px; border-radius:50%; background:rgba(255,255,255,.94);
  display:flex; align-items:center; justify-content:center; box-shadow:0 14px 30px rgba(0,0,0,.3);
  transition:transform .3s var(--ease), background .25s ease; z-index:2;
}
.gallery-tile:hover .play-btn{ transform:translate(-50%,-50%) scale(1.1); background:#fff; }
.gallery-tile .play-btn svg{ margin-left:3px; }

/* ============================================================
   Responsive — hero visual
   ============================================================ */
@media (max-width: 980px){
  .hero-visual{ padding:60px 20px 20px; max-width:420px; margin:0 auto; }
  .float-card-1{ left:-2%; }
  .float-card-2{ right:-2%; }
  .float-card-3{ left:4%; }
}
@media (max-width: 560px){
  .hero-visual{ padding:70px 8px 8px; }
  .float-card{ padding:12px 14px; max-width:150px; gap:9px; }
  .float-card .ic{ width:32px; height:32px; font-size:14px; }
  .float-card b{ font-size:13px; }
  .float-card-1{ top:-10px; left:-4%; }
  .float-card-2{ top:42%; right:-4%; }
  .float-card-3{ bottom:-10px; left:2%; }
}

/* ============================================================
   Hero Banner — full-bleed photo behind a left→right gradient
   (Laravel-only redesign)
   ============================================================ */
.hero-banner{
  position:relative; overflow:hidden;
  min-height:640px; display:flex; align-items:center;
  padding:140px 0 64px;
  background:linear-gradient(135deg, #0B2E26, var(--emerald) 65%);
}
.hero-banner-bg{ position:absolute; inset:0; z-index:0; }
.hero-banner-bg img{ width:100%; height:100%; object-fit:cover; object-position:75% center; display:block; }
.hero-banner-gradient{
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(to right,
    rgba(11,46,38,1) 0%,
    rgba(11,46,38,.98) 28%,
    rgba(11,46,38,.7) 46%,
    rgba(11,46,38,.25) 68%,
    rgba(11,46,38,0) 100%);
}
.hero-banner-grid{ position:relative; z-index:2; display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center; }

.hb-title{
  font-family:var(--font-display); font-weight:450; font-style:italic;
  font-size:clamp(38px,4.6vw,58px); line-height:1.12; color:#FAF6EE; margin:20px 0 22px;
}
.hb-lede{ font-size:16px; color:rgba(250,246,238,.78); max-width:44ch; margin-bottom:32px; }

.btn-gold{ background:var(--amber); color:var(--emerald); font-weight:700; }
.btn-gold:hover{ background:#EFC078; transform:translateY(-3px); box-shadow:0 14px 28px rgba(224,164,88,.35); }
.btn-gold-outline{ border-color:var(--amber); color:var(--amber); background:transparent; }
.btn-gold-outline:hover{ background:rgba(224,164,88,.14); transform:translateY(-2px); }

.hb-trust{ display:flex; align-items:center; gap:16px; margin-top:38px; }
.hb-avatars{ display:flex; }
.hb-avatars i{
  width:36px; height:36px; border-radius:50%; background:var(--emerald-light);
  border:2px solid #0B2E26; margin-left:-10px; display:inline-block;
}
.hb-avatars i:first-child{ margin-left:0; }
.hb-trust-text{ font-size:13.5px; color:rgba(250,246,238,.75); }
.hb-trust-text b{ color:var(--amber); font-family:var(--font-display); font-size:15px; }


.hero-banner-photo-overlay{ position:relative; min-height:480px; }
.hero-banner-photo-placeholder{
  position:absolute; inset:0; border:1.5px dashed rgba(250,246,238,.3); border-radius:var(--r-lg);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px;
  color:rgba(250,246,238,.5); font-family:var(--font-mono); font-size:12px; letter-spacing:.06em;
  text-transform:uppercase; text-align:center; padding:30px;
}

.hb-wa-badge{
  position:absolute; top:0; right:0; z-index:2;
  background:#1f3d2b; color:#d9f2e2; border-radius:100px;
  padding:10px 16px; display:flex; align-items:center; gap:8px;
  font-size:12.5px; font-weight:600; box-shadow:0 12px 26px rgba(0,0,0,.35);
  transition:transform .3s var(--ease);
}
.hb-wa-badge:hover{ transform:translateY(-3px); }

.hb-nameplate{
  position:absolute; left:0; right:40px; bottom:0; z-index:2;
  background:rgba(11,46,38,.88); backdrop-filter:blur(8px);
  border-radius:var(--r-sm); padding:16px 20px;
}
.hb-nameplate b{ display:block; font-family:var(--font-display); font-size:17px; color:#fff; font-weight:560; }
.hb-nameplate span{ display:block; font-size:12px; color:rgba(250,246,238,.7); margin-top:3px; }

@media (max-width: 980px){
  .hero-banner{ min-height:0; padding:120px 0 40px; }
  .hero-banner-bg img{ object-position:65% center; opacity:.5; }
  .hero-banner-gradient{ background:linear-gradient(180deg, rgba(11,46,38,.55) 0%, rgba(11,46,38,.96) 55%, rgba(11,46,38,1) 100%); }
  .hero-banner-grid{ grid-template-columns:1fr; }
  .hero-banner-photo-overlay{ display:none; }
}

/* ============================================================
   Client Testimonials
   ============================================================ */
.testimonial-card{
  background:var(--paper); border:1px solid var(--line); border-radius:var(--r-md);
  padding:30px 28px; display:flex; flex-direction:column;
  transition:transform .4s var(--ease), box-shadow .4s ease;
}
.testimonial-card:hover{ transform:translateY(-8px); box-shadow:0 26px 44px -16px rgba(26,36,32,.2); }
.testimonial-stars{ color:var(--amber); font-size:16px; letter-spacing:2px; margin-bottom:16px; }
.testimonial-quote{
  font-family:var(--font-display); font-style:italic; font-size:16.5px; line-height:1.6;
  color:var(--ink); flex:1; margin-bottom:24px;
}
.testimonial-person{ display:flex; align-items:center; gap:12px; }
.testimonial-person img{ width:44px; height:44px; border-radius:50%; object-fit:cover; }
.testimonial-avatar{
  width:44px; height:44px; border-radius:50%; background:var(--emerald); color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display); font-size:17px; font-weight:560; flex-shrink:0;
}
.testimonial-person b{ display:block; font-size:14px; color:var(--ink); font-weight:600; }
.testimonial-person span{ display:block; font-size:12px; color:var(--mist); margin-top:2px; }
