/* =========================================================
   QURAN LINK INSTITUTE — Design System
   Palette: White / Emerald Green / Soft Gold
   ========================================================= */

:root{
  /* Brand tokens */
  --green-900:#0B3D2E;   /* deep emerald - primary */
  --green-700:#145C42;
  --green-500:#1F7A54;   /* mid emerald - accents */
  --green-300:#5FAE85;
  --green-100:#E7F2EC;
  --gold-700:#9C7A1A;
  --gold-500:#C9A227;    /* soft gold - highlights */
  --gold-300:#E4C766;
  --gold-100:#FBF4DD;
  --paper:#FFFFFF;
  --paper-soft:#F7F5EF;  /* warm off-white panels */
  --ink-900:#16241F;     /* primary text */
  --ink-600:#3F4F49;
  --ink-400:#6B7A74;
  --line:#E4E1D6;

  --radius-sm:8px;
  --radius-md:14px;
  --radius-lg:24px;

  --shadow-sm: 0 2px 10px rgba(11,61,46,0.06);
  --shadow-md: 0 8px 30px rgba(11,61,46,0.10);
  --shadow-gold: 0 8px 24px rgba(201,162,39,0.25);

  --font-display:'Cormorant Garamond', 'Noto Naskh Arabic', serif;
  --font-body:'Inter', 'Noto Sans Arabic', system-ui, -apple-system, sans-serif;

  --container: 1180px;

  --bg: var(--paper);
  --bg-soft: var(--paper-soft);
  --text: var(--ink-900);
  --text-soft: var(--ink-600);
  --border: var(--line);
  --card-bg: #FFFFFF;
  --nav-bg: rgba(255,255,255,0.88);
}

[data-theme="dark"]{
  --bg:#0E1A16;
  --bg-soft:#122620;
  --text:#EFF3F0;
  --text-soft:#B9C6C0;
  --border:#1E3A30;
  --card-bg:#142A23;
  --nav-bg:rgba(14,26,22,0.86);
  --paper:#0E1A16;
  --green-100:#163B2C;
  --gold-100:#2A2310;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--font-body);
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  transition:background .35s ease,color .35s ease;
  overflow-x:hidden;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{margin:0;padding:0;list-style:none;}
button{font-family:inherit;cursor:pointer;}
h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:600;
  line-height:1.15;
  margin:0 0 .5em;
  color:var(--text);
}
p{line-height:1.7;color:var(--text-soft);margin:0 0 1em;}

.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.01ms !important; transition-duration:0.01ms !important;}
}

/* ---------- Focus visibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline:2px solid var(--gold-500);
  outline-offset:3px;
  border-radius:4px;
}

/* =========================================================
   EYEBROW / LABELS
   ========================================================= */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12.5px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--gold-700);
  font-weight:600;
  margin-bottom:14px;
}
[data-theme="dark"] .eyebrow{color:var(--gold-300);}
.eyebrow::before{
  content:"";
  width:18px;height:1px;
  background:var(--gold-500);
}

/* =========================================================
   ISLAMIC GEOMETRIC PATTERN — background texture
   ========================================================= */
.pattern-bg{
  position:absolute; inset:0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84' viewBox='0 0 84 84'%3E%3Cg fill='none' stroke='%230B3D2E' stroke-width='0.7' opacity='0.07'%3E%3Cpath d='M42 2 L62 22 L42 42 L22 22 Z'/%3E%3Cpath d='M42 42 L62 62 L42 82 L22 62 Z'/%3E%3Cpath d='M2 42 L22 22 L42 42 L22 62 Z'/%3E%3Cpath d='M42 42 L62 22 L82 42 L62 62 Z'/%3E%3Ccircle cx='42' cy='42' r='6'/%3E%3C/g%3E%3C/svg%3E");
  background-size:84px 84px;
  pointer-events:none;
}
[data-theme="dark"] .pattern-bg{ opacity:.5; }

.pattern-divider{
  width:100%;
  height:34px;
  background-repeat:repeat-x;
  background-position:center;
  background-size:68px 34px;
  opacity:.5;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='68' height='34' viewBox='0 0 68 34'%3E%3Cg fill='none' stroke='%23C9A227' stroke-width='1.1'%3E%3Cpath d='M0 17 L17 0 L34 17 L17 34 Z'/%3E%3Cpath d='M34 17 L51 0 L68 17 L51 34 Z'/%3E%3C/g%3E%3C/svg%3E");
}

/* Corner star ornament (signature element) */
.star-corner{
  position:absolute;
  width:120px;height:120px;
  opacity:.85;
}
.star-corner svg{width:100%;height:100%;}
.star-corner.tl{top:18px;left:18px;}
.star-corner.br{bottom:18px;right:18px;transform:rotate(180deg);}

/* =========================================================
   NAVIGATION
   ========================================================= */
.site-header{
  position:fixed; top:0; left:0; right:0;
  z-index:1000;
  background:var(--nav-bg);
  backdrop-filter:blur(14px) saturate(140%);
  border-bottom:1px solid var(--border);
  transition:background .3s ease, border-color .3s ease;
}
.nav-row{
  display:flex; align-items:center; justify-content:space-between;
  height:78px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-family:var(--font-display);
  font-size:21px; font-weight:700;
  color:var(--green-900);
}
[data-theme="dark"] .brand{color:var(--gold-300);}
.brand .mark{
  width:38px;height:38px;flex:none;
}
.brand .mark svg{width:100%;height:100%;}
.brand small{
  display:block;
  font-family:var(--font-body);
  font-size:10px;
  letter-spacing:.18em;
  font-weight:600;
  color:var(--gold-700);
  text-transform:uppercase;
}

.nav-links{
  display:flex; align-items:center; gap:30px;
}
.nav-links a{
  font-size:14.5px; font-weight:500;
  color:var(--text-soft);
  position:relative;
  padding:6px 0;
  transition:color .2s ease;
}
.nav-links a:hover, .nav-links a.active{color:var(--green-700);}
[data-theme="dark"] .nav-links a:hover, [data-theme="dark"] .nav-links a.active{color:var(--gold-300);}
.nav-links a.active::after{
  content:"";
  position:absolute; left:0; bottom:-2px;
  width:100%; height:2px;
  background:var(--gold-500);
  border-radius:2px;
}

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

.theme-toggle{
  width:40px;height:40px;
  border-radius:50%;
  border:1px solid var(--border);
  background:var(--bg-soft);
  display:flex;align-items:center;justify-content:center;
  color:var(--text);
  transition:transform .25s ease, background .25s ease;
}
.theme-toggle:hover{transform:rotate(20deg);}
.theme-toggle svg{width:18px;height:18px;}
.theme-toggle .icon-moon{display:none;}
[data-theme="dark"] .theme-toggle .icon-sun{display:none;}
[data-theme="dark"] .theme-toggle .icon-moon{display:block;}

.btn-burger{
  display:none;
  width:40px;height:40px;
  border:none;background:transparent;
  flex-direction:column; justify-content:center; gap:5px;
}
.btn-burger span{
  width:22px;height:2px;background:var(--text);border-radius:2px;
  transition:.25s ease;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 28px;
  border-radius:999px;
  font-size:14.5px; font-weight:600;
  letter-spacing:.01em;
  border:1px solid transparent;
  transition:transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
  white-space:nowrap;
}
.btn:hover{transform:translateY(-2px);}
.btn-primary{
  background:linear-gradient(135deg,var(--green-700),var(--green-900));
  color:#fff;
  box-shadow:var(--shadow-md);
}
.btn-primary:hover{box-shadow:0 12px 28px rgba(11,61,46,0.28);}
.btn-gold{
  background:linear-gradient(135deg,var(--gold-300),var(--gold-500));
  color:var(--green-900);
  box-shadow:var(--shadow-gold);
}
.btn-gold:hover{box-shadow:0 12px 26px rgba(201,162,39,0.38);}
.btn-outline{
  background:transparent;
  border:1.5px solid var(--green-700);
  color:var(--green-700);
}
[data-theme="dark"] .btn-outline{border-color:var(--gold-300);color:var(--gold-300);}
.btn-outline:hover{background:var(--green-100);}
.btn-white{
  background:#fff;color:var(--green-900);
  box-shadow:var(--shadow-md);
}
.btn-block{width:100%;}
.btn-sm{padding:10px 20px;font-size:13.5px;}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position:relative;
  padding:168px 0 110px;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(201,162,39,0.10), transparent 60%),
    linear-gradient(180deg, var(--green-100), var(--bg) 70%);
  overflow:hidden;
  isolation:isolate;
}
[data-theme="dark"] .hero{background:radial-gradient(1100px 500px at 85% -10%, rgba(201,162,39,0.08), transparent 60%), linear-gradient(180deg, var(--bg-soft), var(--bg) 75%);}
.hero .pattern-bg{z-index:-1;}
.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:54px;
  align-items:center;
  position:relative;
  z-index:2;
}
.hero-copy h1{
  font-size:clamp(34px,4.6vw,58px);
  letter-spacing:-0.01em;
  margin-bottom:20px;
}
.hero-copy h1 em{
  font-style:normal;
  color:var(--green-700);
  position:relative;
}
[data-theme="dark"] .hero-copy h1 em{color:var(--gold-300);}
.hero-copy p.lead{
  font-size:18px;
  max-width:520px;
  color:var(--text-soft);
}
.hero-cta{display:flex;gap:16px;flex-wrap:wrap;margin-top:30px;}
.hero-trust{
  display:flex; gap:30px; margin-top:46px; flex-wrap:wrap;
}
.hero-trust .stat b{
  display:block; font-family:var(--font-display);
  font-size:28px; color:var(--green-900);
}
[data-theme="dark"] .hero-trust .stat b{color:var(--gold-300);}
.hero-trust .stat span{font-size:13px;color:var(--text-soft);}

.hero-art{
  position:relative;
  aspect-ratio:1/1;
  border-radius:var(--radius-lg);
  background:linear-gradient(150deg,var(--green-900),var(--green-700));
  overflow:hidden;
  box-shadow:var(--shadow-md);
}
.hero-art img{width:100%;height:100%;object-fit:cover;mix-blend-mode:luminosity;opacity:.55;}
.hero-art .frame{
  position:absolute; inset:14px;
  border:1.5px solid rgba(201,162,39,0.55);
  border-radius:18px;
}
.hero-art .badge{
  position:absolute; bottom:24px; left:24px; right:24px;
  background:rgba(255,255,255,0.92);
  backdrop-filter:blur(6px);
  border-radius:var(--radius-md);
  padding:16px 18px;
  display:flex; align-items:center; gap:12px;
  box-shadow:var(--shadow-md);
}
.hero-art .badge .icon{
  width:42px;height:42px;border-radius:50%;
  background:var(--gold-100);
  display:flex;align-items:center;justify-content:center;
  color:var(--gold-700);flex:none;
}
.hero-art .badge strong{display:block;color:var(--green-900);font-size:14px;}
.hero-art .badge span{font-size:12px;color:var(--ink-600);}

/* =========================================================
   SECTIONS
   ========================================================= */
.section{padding:96px 0;position:relative;}
.section-soft{background:var(--bg-soft);}
.section-dark{background:linear-gradient(160deg,var(--green-900),var(--green-700));color:#fff;}
.section-dark p{color:rgba(255,255,255,0.78);}
.section-dark h2,.section-dark h3{color:#fff;}
.section-head{
  max-width:680px;
  margin-bottom:54px;
}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center;}
.section-head h2{font-size:clamp(28px,3.4vw,40px);}

/* =========================================================
   FEATURE CARDS
   ========================================================= */
.grid{display:grid;gap:28px;}
.grid-5{grid-template-columns:repeat(5,1fr);}
.grid-4{grid-template-columns:repeat(4,1fr);}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-2{grid-template-columns:repeat(2,1fr);}

.feature-card{
  background:var(--card-bg);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:30px 24px;
  text-align:left;
  transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  position:relative;
}
.feature-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-md);border-color:var(--gold-300);}
.feature-card .icon-wrap{
  width:54px;height:54px;border-radius:14px;
  background:var(--green-100);
  display:flex;align-items:center;justify-content:center;
  color:var(--green-700);
  margin-bottom:18px;
}
[data-theme="dark"] .feature-card .icon-wrap{color:var(--gold-300);}
.feature-card .icon-wrap svg{width:26px;height:26px;}
.feature-card h4{font-size:18px;margin-bottom:8px;}
.feature-card p{font-size:14.5px;margin:0;}

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .7s ease, transform .7s ease;}
.reveal.in{opacity:1;transform:translateY(0);}
.reveal-stagger > * {transition-delay:calc(var(--i,0) * 90ms);}

/* =========================================================
   COURSE CARDS
   ========================================================= */
.course-card{
  background:var(--card-bg);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  overflow:hidden;
  display:flex;flex-direction:column;
  transition:transform .28s ease, box-shadow .28s ease;
}
.course-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-md);}
.course-card .course-top{
  padding:26px 26px 0;
}
.course-card .course-tag{
  display:inline-block;
  font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:var(--gold-700);
  background:var(--gold-100);
  padding:5px 12px;border-radius:999px;
  margin-bottom:14px;
}
.course-card h3{font-size:21px;margin-bottom:8px;}
.course-card p{font-size:14.5px;}
.course-meta{
  display:flex;gap:18px;
  padding:16px 26px;
  border-top:1px solid var(--border);
  margin-top:auto;
  font-size:13px;color:var(--text-soft);
}
.course-meta div{display:flex;align-items:center;gap:6px;}
.course-meta svg{width:15px;height:15px;color:var(--green-700);}
[data-theme="dark"] .course-meta svg{color:var(--gold-300);}
.course-foot{
  padding:18px 26px 26px;
  display:flex; gap:10px;
}

/* =========================================================
   TEACHER CARDS
   ========================================================= */
.teacher-card{
  background:var(--card-bg);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:26px;
  text-align:center;
  transition:transform .28s ease, box-shadow .28s ease;
}
.teacher-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-md);}
.teacher-avatar{
  width:96px;height:96px;border-radius:50%;
  margin:0 auto 18px;
  background:linear-gradient(150deg,var(--green-100),var(--gold-100));
  display:flex;align-items:center;justify-content:center;
  font-family:var(--font-display);font-size:30px;color:var(--green-900);
  border:3px solid #fff;
  box-shadow:var(--shadow-sm);
}
.teacher-card h4{margin-bottom:2px;font-size:18px;}
.teacher-role{color:var(--gold-700);font-size:13px;font-weight:600;margin-bottom:14px;}
.teacher-meta{
  text-align:left;
  font-size:13.5px;
  border-top:1px solid var(--border);
  padding-top:14px;
  margin-top:6px;
}
.teacher-meta div{display:flex;justify-content:space-between;gap:10px;padding:5px 0;color:var(--text-soft);}
.teacher-meta b{color:var(--text);font-weight:600;}
.teacher-langs{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px;justify-content:center;}
.chip{
  background:var(--green-100);color:var(--green-900);
  font-size:11.5px;font-weight:600;
  padding:4px 11px;border-radius:999px;
}
[data-theme="dark"] .chip{color:var(--gold-300);background:rgba(201,162,39,0.12);}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testi-card{
  background:var(--card-bg);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:28px;
  position:relative;
}
.testi-stars{color:var(--gold-500);font-size:15px;letter-spacing:2px;margin-bottom:14px;}
.testi-card p.quote{font-size:15px;color:var(--text);font-style:italic;}
.testi-person{display:flex;align-items:center;gap:12px;margin-top:18px;}
.testi-avatar{
  width:44px;height:44px;border-radius:50%;
  background:var(--green-100);color:var(--green-900);
  display:flex;align-items:center;justify-content:center;
  font-weight:700;font-family:var(--font-display);
}
[data-theme="dark"] .testi-avatar{color:var(--gold-300);}
.testi-person strong{display:block;font-size:14px;}
.testi-person span{font-size:12.5px;color:var(--text-soft);}

/* =========================================================
   BLOG
   ========================================================= */
.blog-card{
  background:var(--card-bg);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  overflow:hidden;
  transition:transform .28s ease, box-shadow .28s ease;
}
.blog-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-md);}
.blog-thumb{
  height:180px;
  background:linear-gradient(150deg,var(--green-900),var(--green-500));
  position:relative;
  display:flex;align-items:center;justify-content:center;
}
.blog-thumb svg{width:46px;height:46px;color:rgba(255,255,255,0.85);}
.blog-cat{
  position:absolute;top:14px;left:14px;
  background:rgba(255,255,255,0.92);
  color:var(--green-900);
  font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;
  padding:5px 11px;border-radius:999px;
}
.blog-body{padding:22px;}
.blog-date{font-size:12.5px;color:var(--gold-700);font-weight:600;margin-bottom:8px;display:block;}
.blog-body h4{font-size:17px;margin-bottom:8px;}
.blog-body p{font-size:14px;margin-bottom:14px;}
.blog-readmore{font-size:13.5px;font-weight:700;color:var(--green-700);display:inline-flex;align-items:center;gap:6px;}
[data-theme="dark"] .blog-readmore{color:var(--gold-300);}

.filter-row{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:42px;}
.filter-pill{
  padding:9px 18px;border-radius:999px;
  border:1px solid var(--border);
  font-size:13.5px;font-weight:600;
  background:var(--card-bg);color:var(--text-soft);
  transition:.2s ease;
}
.filter-pill:hover{border-color:var(--gold-500);color:var(--text);}
.filter-pill.active{
  background:var(--green-900);color:#fff;border-color:var(--green-900);
}

/* =========================================================
   FORMS
   ========================================================= */
.form-card{
  background:var(--card-bg);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:40px;
  box-shadow:var(--shadow-sm);
}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;}
.field{margin-bottom:20px;}
.field.full{grid-column:1/-1;}
.field label{
  display:block;font-size:13.5px;font-weight:600;margin-bottom:8px;color:var(--text);
}
.field .req{color:var(--gold-700);}
.field input, .field select, .field textarea{
  width:100%;
  padding:13px 16px;
  border-radius:var(--radius-sm);
  border:1.4px solid var(--border);
  background:var(--bg);
  color:var(--text);
  font-family:inherit;font-size:14.5px;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none;border-color:var(--green-500);
  box-shadow:0 0 0 3px rgba(31,122,84,0.14);
}
.field textarea{min-height:120px;resize:vertical;}
.form-note{font-size:13px;color:var(--text-soft);margin-top:8px;}
.form-success{
  display:none;
  text-align:center;padding:60px 20px;
}
.form-success.show{display:block;}
.form-success .check{
  width:74px;height:74px;border-radius:50%;
  background:var(--green-100);color:var(--green-700);
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 20px;
}
[data-theme="dark"] .form-success .check{color:var(--gold-300);}

/* =========================================================
   FAQ ACCORDION
   ========================================================= */
.faq-item{
  border-bottom:1px solid var(--border);
}
.faq-q{
  width:100%;text-align:left;background:none;border:none;
  display:flex;justify-content:space-between;align-items:center;gap:16px;
  padding:22px 4px;
  font-size:16.5px;font-weight:600;color:var(--text);
  font-family:var(--font-display);
}
.faq-q .plus{
  flex:none;width:26px;height:26px;border-radius:50%;
  border:1.4px solid var(--gold-500);color:var(--gold-700);
  display:flex;align-items:center;justify-content:center;
  transition:transform .25s ease;
  font-size:15px;
}
[data-theme="dark"] .faq-q .plus{color:var(--gold-300);}
.faq-item.open .faq-q .plus{transform:rotate(45deg);}
.faq-a{
  max-height:0;overflow:hidden;
  transition:max-height .3s ease;
}
.faq-a p{padding:0 4px 22px;font-size:14.5px;margin:0;}

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band{
  border-radius:var(--radius-lg);
  background:linear-gradient(135deg,var(--green-900),var(--green-700));
  padding:56px;
  position:relative;
  overflow:hidden;
  color:#fff;
  text-align:center;
}
.cta-band h2{color:#fff;}
.cta-band p{color:rgba(255,255,255,.8);max-width:560px;margin:0 auto 28px;}
.cta-band .pattern-bg{opacity:.5;}
.cta-actions{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;position:relative;z-index:2;}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{
  background:var(--green-900);
  color:rgba(255,255,255,0.82);
  padding-top:70px;
  position:relative;
}
[data-theme="dark"] .site-footer{background:#081813;}
.site-footer h4{color:#fff;font-size:16px;margin-bottom:18px;}
.footer-grid{
  display:grid;grid-template-columns:1.6fr 1fr 1fr 1.2fr;gap:40px;
  padding-bottom:50px;
  border-bottom:1px solid rgba(255,255,255,0.12);
}
.footer-brand .brand{color:#fff;}
.footer-brand p{color:rgba(255,255,255,0.65);font-size:14px;margin-top:14px;max-width:300px;}
.footer-links li{margin-bottom:11px;}
.footer-links a{font-size:14px;color:rgba(255,255,255,0.7);transition:color .2s ease;}
.footer-links a:hover{color:var(--gold-300);}
.footer-contact li{display:flex;gap:10px;font-size:14px;color:rgba(255,255,255,0.7);margin-bottom:14px;align-items:flex-start;}
.footer-contact svg{width:17px;height:17px;flex:none;margin-top:2px;color:var(--gold-300);}
.social-row{display:flex;gap:10px;margin-top:18px;}
.social-row a{
  width:36px;height:36px;border-radius:50%;
  background:rgba(255,255,255,0.08);
  display:flex;align-items:center;justify-content:center;
  transition:.2s ease;
}
.social-row a:hover{background:var(--gold-500);color:var(--green-900);}
.social-row svg{width:16px;height:16px;}
.footer-bottom{
  display:flex;justify-content:space-between;align-items:center;
  padding:24px 0;font-size:13px;color:rgba(255,255,255,0.55);
  flex-wrap:wrap;gap:10px;
}
.footer-bottom a{color:rgba(255,255,255,0.55);}
.footer-bottom a:hover{color:var(--gold-300);}

/* =========================================================
   WHATSAPP FLOATING BUTTON
   ========================================================= */
.wa-float{
  position:fixed; bottom:24px; right:24px; z-index:999;
  width:58px;height:58px;border-radius:50%;
  background:#25D366;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 8px 22px rgba(37,211,102,0.45);
  animation:wa-pulse 2.6s infinite;
}
.wa-float svg{width:28px;height:28px;color:#fff;}
@keyframes wa-pulse{
  0%{box-shadow:0 8px 22px rgba(37,211,102,0.45);}
  50%{box-shadow:0 8px 22px rgba(37,211,102,0.45),0 0 0 10px rgba(37,211,102,0.12);}
  100%{box-shadow:0 8px 22px rgba(37,211,102,0.45);}
}

/* =========================================================
   PAGE HEADER (sub-pages)
   ========================================================= */
.page-header{
  position:relative;
  padding:160px 0 70px;
  background:linear-gradient(180deg,var(--green-100),var(--bg) 85%);
  text-align:center;
  overflow:hidden;
}
[data-theme="dark"] .page-header{background:linear-gradient(180deg,var(--bg-soft),var(--bg) 85%);}
.page-header .eyebrow{justify-content:center;}
.page-header .eyebrow::before{display:none;}
.page-header h1{font-size:clamp(32px,4.4vw,48px);}
.breadcrumb{
  font-size:13.5px;color:var(--text-soft);margin-top:10px;
}
.breadcrumb a{color:var(--green-700);font-weight:600;}
[data-theme="dark"] .breadcrumb a{color:var(--gold-300);}

/* =========================================================
   MISC: stat strip, value cols, table-like rows
   ========================================================= */
.stat-strip{
  display:grid;grid-template-columns:repeat(4,1fr);
  gap:24px;
  padding:46px 0;
}
.stat-strip .stat{text-align:center;}
.stat-strip .stat b{
  font-family:var(--font-display);font-size:36px;color:var(--green-900);display:block;
}
[data-theme="dark"] .stat-strip .stat b{color:var(--gold-300);}
.stat-strip .stat span{font-size:13.5px;color:var(--text-soft);}

.value-row{display:flex;gap:18px;margin-bottom:24px;align-items:flex-start;}
.value-row .num{
  flex:none;width:44px;height:44px;border-radius:50%;
  background:var(--green-900);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-family:var(--font-display);font-weight:700;font-size:16px;
}
.value-row h4{margin-bottom:6px;font-size:17px;}
.value-row p{margin:0;font-size:14.5px;}

.img-panel{
  border-radius:var(--radius-lg);
  overflow:hidden;
  position:relative;
  aspect-ratio:4/3.4;
  background:linear-gradient(150deg,var(--green-100),var(--gold-100));
}
.img-panel img{width:100%;height:100%;object-fit:cover;}

/* =========================================================
   MAP PLACEHOLDER
   ========================================================= */
.map-placeholder{
  border-radius:var(--radius-lg);
  overflow:hidden;
  aspect-ratio:16/9;
  background:
    radial-gradient(circle at 30% 30%, rgba(31,122,84,0.18), transparent 55%),
    var(--bg-soft);
  border:1px solid var(--border);
  display:flex;align-items:center;justify-content:center;
  flex-direction:column;
  gap:10px;
  color:var(--text-soft);
  position:relative;
}
.map-placeholder svg{width:42px;height:42px;color:var(--green-700);}
[data-theme="dark"] .map-placeholder svg{color:var(--gold-300);}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:1024px){
  .grid-5{grid-template-columns:repeat(3,1fr);}
  .grid-4{grid-template-columns:repeat(2,1fr);}
  .footer-grid{grid-template-columns:1fr 1fr;gap:36px;}
}
@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr;}
  .hero-art{max-width:440px;margin:0 auto;}
  .grid-3{grid-template-columns:repeat(2,1fr);}
  .stat-strip{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:760px){
  .nav-links{
    position:fixed; top:78px; left:0; right:0; bottom:0;
    background:var(--bg);
    flex-direction:column; align-items:flex-start;
    padding:26px 24px; gap:6px;
    transform:translateX(100%);
    transition:transform .3s ease;
    overflow-y:auto;
  }
  .nav-links.open{transform:translateX(0);}
  .nav-links a{padding:13px 0;width:100%;border-bottom:1px solid var(--border);}
  .btn-burger{display:flex;}
  .nav-actions .btn{display:none;}
  .grid-5,.grid-4,.grid-3,.grid-2{grid-template-columns:1fr;}
  .form-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr;gap:36px;}
  .footer-bottom{flex-direction:column;text-align:center;}
  .cta-band{padding:40px 24px;}
  .section{padding:70px 0;}
  .hero{padding:140px 0 70px;}
  .page-header{padding:130px 0 50px;}
}
