/* ============================================================
   AMARYLLIS ADVOCACY & CARE MANAGEMENT — Design System
   Palette: White ground, #502884 plum-purple (buttons/accent),
   black text, soft lavender tint, warm gold trust accent.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Work+Sans:wght@400;500;600;700&display=swap');

:root{
  --white:#FFFFFF;
  --purple:#502884;
  --purple-dark:#3B1D63;
  --purple-light:#F4F0FA;
  --lavender:#EDE4FA;
  --gold:#C9A227;
  --ink:#1A1A1A;
  --ink-soft:#4A4550;
  --line:#E4DEEC;

  --font-display:'Fraunces', Georgia, serif;
  --font-body:'Work Sans', -apple-system, Segoe UI, sans-serif;

  --radius:18px;
  --radius-sm:10px;
  --shadow-sm:0 4px 18px rgba(80,40,132,0.08);
  --shadow-md:0 14px 40px rgba(80,40,132,0.14);
  --shadow-lg:0 24px 60px rgba(80,40,132,0.20);
  --container:1180px;
  --ease:cubic-bezier(.22,.8,.32,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--white);
  font-size:18px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--font-display); color:var(--ink); margin:0 0 .5em; line-height:1.15; font-weight:600; }
p{ margin:0 0 1em; }
:focus-visible{ outline:3px solid var(--gold); outline-offset:3px; }

.container{ max-width:var(--container); margin:0 auto; padding:0 32px; }
.section{ padding:96px 0; }
.section--tint{ background:var(--purple-light); }
.section--purple{ background:linear-gradient(135deg,var(--purple),#6B3AAE); color:var(--white); }
.section--purple h2, .section--purple h3, .section--purple p{ color:var(--white); }

.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--font-body); font-weight:600; letter-spacing:.14em;
  text-transform:uppercase; font-size:13px; color:var(--purples);
  margin-bottom:14px;
}
.eyebrow::before{ content:""; width:26px; height:2px; background:var(--gold); display:inline-block; }

.section-head{ max-width:680px; margin-bottom:52px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
h2{ font-size:clamp(30px,3.4vw,42px); }
.lede{ font-size:20px; color:var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:15px 30px; border-radius:999px;
  font-family:var(--font-body); font-weight:600; font-size:16px;
  border:2px solid var(--purple); cursor:pointer;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.btn-primary{ background:var(--purple); color:var(--white); }
.btn-primary:hover{ background:var(--purple-dark); border-color:var(--purple-dark); transform:translateY(-3px); box-shadow:var(--shadow-md); }
.btn-outline{ background:transparent; color:var(--purple); }
.btn-outline:hover{ background:var(--purple); color:var(--white); transform:translateY(-3px); box-shadow:var(--shadow-md); }
.btn-ghost-white{ background:transparent; color:var(--white); border-color:var(--white); }
.btn-ghost-white:hover{ background:var(--white); color:var(--purple); transform:translateY(-3px); }
.btn-sm{ padding:10px 20px; font-size:14px; }
.btn svg{ width:16px; height:16px; transition:transform .3s var(--ease); }
.btn:hover svg{ transform:translateX(3px); }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:200;
  background:rgba(255, 250, 250, 0.94); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
  transition:box-shadow .3s var(--ease), transform .35s var(--ease);
}
.site-header.is-scrolled{ box-shadow:0 6px 24px rgba(80,40,132,0.10); }
.site-header.header-hidden{ transform:translateY(-100%); }
.header-row{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 32px; max-width:var(--container); margin:0 auto;
}
.main-nav ul{ display:flex; gap:36px; align-items:center; }
.main-nav a{
  font-weight:600; font-size:15.5px; color:var(--ink);
  position:relative; padding:6px 0; display:flex; align-items:center; gap:8px;
}
.main-nav a svg{ display:none; } /* icons are reserved for the mobile sidebar */
.main-nav a::after{
  content:""; position:absolute; left:0; bottom:0; height:2px; width:0;
  background:var(--gold); transition:width .3s var(--ease);
}
.main-nav a:hover::after, .main-nav a.active::after{ width:100%; }
.main-nav a.active{ color:var(--purple); }
.logo-mark img{ height:50px; width:auto; transition:height .3s var(--ease); }
.is-scrolled .logo-mark img{ height:42px; }
.header-cta{ display:flex; align-items:center; gap:26px;  color:#502884}
.nav-toggle{
  display:none; background:none; border:none; cursor:pointer; padding:8px;
  flex-direction:column; justify-content:center; width:44px; height:40px; z-index:410;
  border-radius:10px; transition:background .3s var(--ease);
}
.nav-toggle:hover, .nav-toggle:active{ background:var(--purple-light); }
.nav-toggle span{
  display:block; width:24px; height:2.5px; background:var(--purple); margin:4px auto;
  border-radius:2px; transition:transform .35s var(--ease), opacity .35s var(--ease);
}
.nav-toggle.active span:nth-child(1){ transform:translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2){ opacity:0; }
.nav-toggle.active span:nth-child(3){ transform:translateY(-6.5px) rotate(-45deg); }

.nav-overlay{
  position:fixed; inset:0; background:rgba(20,10,35,0.55); backdrop-filter:blur(3px);
  opacity:0; pointer-events:none; transition:opacity .4s var(--ease); z-index:390;
}
.nav-overlay.show{ opacity:1; pointer-events:auto;
  color:black; }

/* ---------- Mobile off-canvas sidebar ----------
   Deliberately a sibling of <header>, not a descendant: the header's scroll
   transform would otherwise become this element's containing block and break
   position:fixed, causing the sidebar to misbehave. Keeping it independent
   guarantees it always slides relative to the real viewport. */
.mobile-nav{
  position:fixed; top:0; left:0; height:100vh; height:100dvh; width:82%; max-width:340px;
  background:var(--white); box-shadow:16px 0 44px rgba(20,10,35,0.24);
  transform:translateX(-100%); transition:transform .45s var(--ease);
  z-index:400; padding:0 0 20px; overflow-y:auto; display:flex; flex-direction:column;
  color:var(--black);
}
.mobile-nav.open{ transform:translateX(0);
color:black; }

.mobile-nav__top{
  display:flex; align-items:center; justify-content:space-between;
  background:linear-gradient(135deg, var(--purple), #6B3AAE);
  padding:24px 22px; flex-shrink:0;
  color:black;
}
.mobile-nav__top img{ height:36px; filter:brightness(0) invert(1); }

.nav-close{
  display:flex; width:36px; height:36px; border-radius:50%;
  border:1.5px solid rgba(255,255,255,0.55); background:rgba(255,255,255,0.1);
  color:var(--black); align-items:center; justify-content:center; cursor:pointer;
  transition:background .3s var(--ease), transform .3s var(--ease);
  flex-shrink:0;
}
.nav-close:hover{ background:rgba(255,255,255,0.25); transform:rotate(90deg); }
.nav-close svg{ width:16px; height:16px; }

.mobile-nav__links{ display:flex; flex-direction:column; gap:4px; padding:18px 16px; list-style:none; margin:0; flex-grow:1; }
.mobile-nav__links li{ opacity:0; transform:translateX(-18px); transition:opacity .4s var(--ease), transform .4s var(--ease); }
.mobile-nav.open .mobile-nav__links li:nth-child(1){ transition-delay:.08s; }
.mobile-nav.open .mobile-nav__links li:nth-child(2){ transition-delay:.13s; }
.mobile-nav.open .mobile-nav__links li:nth-child(3){ transition-delay:.18s; }
.mobile-nav.open .mobile-nav__links li:nth-child(4){ transition-delay:.23s; }
.mobile-nav.open .mobile-nav__links li:nth-child(5){ transition-delay:.28s; }
.mobile-nav.open .mobile-nav__links li{ opacity:1; transform:translateX(0); }

.mobile-nav__links a{
  display:flex; align-items:center; gap:14px; width:100%;
  padding:14px 14px; border-radius:12px; font-size:16.5px; color:var(--ink); font-weight:600;
  transition:background .3s var(--ease), color .3s var(--ease), padding-left .3s var(--ease);
}
.mobile-nav__links a svg:not(.nav-arrow){ width:20px; height:20px; stroke:var(--purple); flex-shrink:0; }
.mobile-nav__links a:hover, .mobile-nav__links a.active{ background:var(--purple-light); color:var(--purple); padding-left:18px; }
.mobile-nav__links .nav-arrow{ margin-left:auto; width:16px; height:16px; opacity:0; transition:opacity .3s var(--ease); flex-shrink:0; }
.mobile-nav__links a:hover .nav-arrow, .mobile-nav__links a.active .nav-arrow{ opacity:1; }

.mobile-nav__cta-group{ 
  padding:10px 16px 20px; margin-top:auto; flex-shrink:0; 
  display:flex; flex-direction:column; gap:10px; 
}
.mobile-nav__cta-group .btn{ width:100%; justify-content:center; }
.mobile-nav__cta-group .btn-sm{ font-size:13px; padding:8px 16px; }

/* ---------- Floating CTA ---------- */
.float-cta{
  position:fixed; right:26px; bottom:26px; z-index:300;
  background:var(--purple); color:var(--white);
  padding:16px 26px; border-radius:999px;
  font-weight:600; font-size:15px;
  box-shadow:0 10px 30px rgba(80,40,132,0.38);
  display:flex; align-items:center; gap:10px;
  animation:float-bob 3.4s ease-in-out infinite;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease);
}
.float-cta:hover{ transform:translateY(-6px) scale(1.03); box-shadow:0 16px 40px rgba(80,40,132,0.48); animation-play-state:paused; }
.float-cta svg{ width:18px; height:18px; }
@keyframes float-bob{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(-8px);} }

.back-top{
  position:fixed; right:26px; bottom:96px; z-index:299;
  width:44px; height:44px; border-radius:50%;
  background:var(--white); border:2px solid var(--purple);
  color:var(--purple); display:flex; align-items:center; justify-content:center;
  opacity:0; pointer-events:none; transform:translateY(10px);
  transition:opacity .3s var(--ease), transform .3s var(--ease);
  box-shadow:var(--shadow-sm);
}
.back-top.show{ opacity:1; pointer-events:auto; transform:translateY(0); }
.back-top svg{ width:18px; height:18px; }

@media (prefers-reduced-motion: reduce){
  .float-cta{ animation:none; }
  html{ scroll-behavior:auto; }
}

/* ---------- Hero ---------- */
.hero{ padding:76px 0 90px; overflow:hidden; position:relative; }
.hero-grid{
  display:grid; grid-template-columns:1.05fr 0.95fr; gap:56px; align-items:center;
}
.hero-copy h1{
  font-size:clamp(36px,4.6vw,58px); letter-spacing:-0.01em;
}
.hero-copy h1 em{ font-style:normal; color:var(--purple); }
.hero-copy .lede{ margin:22px 0 34px; max-width:520px; }
.hero-actions{ display:flex; gap:18px; flex-wrap:wrap; }

/* ---------- Auto-changing background carousel (hero + interior page-hero) ---------- */
.hero-bg{ position:absolute; inset:0; z-index:0; overflow:hidden; }
.hero-bg img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  opacity:0; transform:scale(1.06);
  transition:opacity 1.6s ease-in-out, transform 7s ease-in-out;
}
.hero-bg img.active{ opacity:1; transform:scale(1); }
.hero-bg::after{
  content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(105deg, rgba(28,14,52,0.86) 0%, rgba(59,29,99,0.62) 45%, rgba(59,29,99,0.22) 100%);
}
.hero--photo{ min-height:660px; display:flex; align-items:center; padding:0; }
.hero--photo .hero-grid{ position:relative; z-index:2; padding:120px 0; grid-template-columns:1fr; }
.hero--photo .hero-copy{ max-width:660px; }
.hero--photo .hero-copy h1, .hero--photo .hero-copy p{ color:var(--white); }
.hero--photo .eyebrow{ color:#E7DCF7; }
.hero--photo .eyebrow::before{ background:var(--gold); }

.hero-dots{ display:flex; gap:9px; margin-top:36px; }
.hero-dots button{
  width:10px; height:10px; border-radius:50%; padding:0;
  background:rgba(255,255,255,0.45); border:none; cursor:pointer;
  transition:background .3s var(--ease), width .3s var(--ease);
}
.hero-dots button.active{ background:var(--gold); width:28px; border-radius:6px; }

/* Interior page hero w/ carousel — sized to match the homepage hero exactly */
.page-hero{ position:relative; overflow:hidden; min-height:660px; display:flex; align-items:center; }
.page-hero .container{ position:relative; z-index:2; width:100%; }
.page-hero--photo{ padding:150px 0 110px; }
.page-hero--photo h1, .page-hero--photo .breadcrumb{ color:var(--white); }
.page-hero--photo .breadcrumb a{ color:var(--white); }

/* Bottom decorative scrollable filmstrip */
.strip-band{ overflow:hidden; background:var(--purple-light); padding:26px 0; }
.strip-track{
  display:flex; gap:16px; width:max-content;
  animation:strip-scroll 32s linear infinite;
}
.strip-track img{
  height:104px; width:160px; object-fit:cover; border-radius:12px;
  opacity:0.92; box-shadow:var(--shadow-sm); flex-shrink:0;
}
@keyframes strip-scroll{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .strip-track{ animation:none; overflow-x:auto; } }

.hero-scroller{
  display:flex; gap:18px; overflow-x:auto; scroll-snap-type:x mandatory;
  padding:10px 4px 22px; margin:0 -4px;
  scrollbar-width:thin; scrollbar-color:var(--purple) var(--purple-light);
}
.hero-scroller::-webkit-scrollbar{ height:8px; }
.hero-scroller::-webkit-scrollbar-thumb{ background:var(--purple); border-radius:8px; }
.hero-scroller::-webkit-scrollbar-track{ background:var(--purple-light); border-radius:8px; }
.hero-slide{
  flex:0 0 78%; scroll-snap-align:center; border-radius:var(--radius);
  overflow:hidden; box-shadow:var(--shadow-md); position:relative;
}
.hero-slide img{ height:420px; object-fit:cover; width:100%; }
.hero-hint{ font-size:13px; color:var(--ink-soft); display:flex; align-items:center; gap:8px; margin-top:6px; }
.hero-hint svg{ width:16px; height:16px; animation:nudge 1.6s ease-in-out infinite; }
@keyframes nudge{ 0%,100%{ transform:translateX(0);} 50%{ transform:translateX(6px);} }

/* ---------- About summary (image + detail, one container) ---------- */
.about-summary{
  display:grid; grid-template-columns:0.85fr 1.15fr; gap:0;
  border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-md);
  background:var(--white);
}
.about-summary__image{ position:relative; min-height:420px; }
.about-summary__image img{ width:100%; height:100%; object-fit:contain; position:absolute; inset:0; }
.about-summary__detail{ padding:56px; display:flex; flex-direction:column; justify-content:center; }
.about-summary__detail h3{ font-size:28px; }
.about-summary__detail p{ color:var(--ink-soft); }

/* ---------- Service cards (hover-lift) ---------- */
.service-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.service-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:34px 28px; box-shadow:var(--shadow-sm);
  transition:transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
  display:flex; flex-direction:column; height:100%;
}
.service-card:hover{ transform:translateY(-14px); box-shadow:var(--shadow-lg); border-color:var(--purple); }
.service-card__icon{
  width:56px; height:56px; border-radius:16px; background:var(--purple-light);
  display:flex; align-items:center; justify-content:center; margin-bottom:20px;
  transition:background .45s var(--ease);
}
.service-card:hover .service-card__icon{ background:var(--purple); }
.service-card__icon svg{ width:28px; height:28px; stroke:var(--purple); transition:stroke .45s var(--ease); }
.service-card:hover .service-card__icon svg{ stroke:var(--white); }
.service-card h3{ font-size:21px; margin-bottom:10px; }
.service-card p{ color:var(--ink-soft); font-size:15.5px; flex-grow:1; }
.service-card .btn{ margin-top:18px; align-self:flex-start; }

/* ---------- Gallery scroller (mid-page) ---------- */
.gallery-scroller{
  display:flex; gap:24px; overflow-x:auto; padding:8px 4px 26px;
  scroll-snap-type:x mandatory;
}
.gallery-card{
  flex:0 0 340px; scroll-snap-align:start; border-radius:var(--radius);
  overflow:hidden; background:var(--white); box-shadow:var(--shadow-sm);
  transition:transform .4s var(--ease), box-shadow .4s var(--ease);
}
.gallery-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-md); }
.gallery-card img{ height:220px; object-fit:cover; width:100%; }
.gallery-card__body{ padding:20px 22px; }
.gallery-card__body h4{ font-size:17px; margin-bottom:6px; }
.gallery-card__body p{ font-size:14.5px; color:var(--ink-soft); margin:0; }

/* ---------- Emblem / trust badge ---------- */
.emblem-block{
  display:flex; align-items:center; gap:40px;
  background:var(--purple-light); border-radius:var(--radius);
  padding:44px 50px;
}
.emblem-block img{ width:126px; height:126px; flex-shrink:0; }
.emblem-block h3{ font-size:24px; margin-bottom:8px; }
.emblem-block p{ color:var(--ink-soft); margin:0; }

/* ---------- Swap cards: purple by default, white on hover ---------- */
.swap-card{
  background:var(--purple); color:var(--white); border:2px solid var(--purple);
  border-radius:var(--radius-sm); padding:30px;
  transition:background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.swap-card:hover{ background:var(--white); color:var(--purple); transform:translateY(-8px); box-shadow:var(--shadow-md); }
.swap-card h3, .swap-card h4{ color:inherit; }
.swap-card p{ color:inherit; opacity:.85; margin:0; }
.swap-card .swap-icon{ margin-bottom:14px; }
.swap-card .swap-icon svg{ width:30px; height:30px; stroke:var(--gold); }

/* ---------- Why choose us ---------- */
.reasons-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:26px; }

/* Why Choose Us reason cards now use the purple/white swap treatment */
.reason-card{
  display:flex; gap:18px; padding:30px; border-radius:var(--radius-sm);
  background:var(--purple); border:2px solid var(--purple); color:var(--white);
  transition:background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.reason-card:hover{ background:var(--white); color:var(--purple); transform:translateY(-8px); box-shadow:var(--shadow-md); }
.reason-card__num{ font-family:var(--font-display); font-size:26px; color:var(--gold); flex-shrink:0; }
.reason-card h4{ font-size:18px; margin-bottom:6px; color:inherit; }
.reason-card p{ opacity:.85; font-size:15px; margin:0; color:inherit; }

/* ---------- Stats strip ---------- */
.stats-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.stat-card{ text-align:center; }
.stat-card .stat-num{ font-family:var(--font-display); font-size:40px; font-weight:700; color:var(--white); margin-bottom:4px; }
.stat-card .stat-label{ font-size:14px; font-weight:600; letter-spacing:.02em; color:#E7DCF7; }

/* ---------- Affiliations / trust logos ---------- */
.affiliations-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.affiliation-card{
  background:var(--white); border:1.5px dashed var(--line); border-radius:var(--radius-sm);
  padding:14px; display:flex; align-items:center; justify-content:center;
  transition:border-color .3s var(--ease), transform .3s var(--ease);
}
.affiliation-card:hover{ border-color:var(--purple); transform:translateY(-4px); }
.affiliation-card img{ width:100%; height:auto; }

/* ---------- Testimonial slider ---------- */
.testimonial-slider-wrap{ position:relative; }
.testimonial-track{
  display:flex; gap:26px; overflow-x:auto; scroll-snap-type:x mandatory;
  scroll-behavior:smooth; padding:6px 4px 10px;
}
.testimonial-track::-webkit-scrollbar{ display:none; }
.testimonial-track{ scrollbar-width:none; }
.testimonial-track .testimonial-card{ flex:0 0 340px; scroll-snap-align:start; }
.slider-controls{ display:flex; gap:14px; justify-content:center; margin-top:30px; }
.slider-btn{
  width:46px; height:46px; border-radius:50%; border:2px solid var(--purple);
  background:var(--white); color:var(--purple); display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.slider-btn:hover{ background:var(--purple); color:var(--white); transform:translateY(-3px); }
.slider-btn svg{ width:20px; height:20px; }

/* ---------- FAQ accordion ---------- */
.faq-list{ max-width:820px; margin:0 auto; }
.faq-item{ border-bottom:1px solid var(--line); }
.faq-question{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:16px;
  background:none; border:none; text-align:left; cursor:pointer;
  padding:24px 4px; font-family:var(--font-display); font-size:19px; color:var(--ink);
}
.faq-question .faq-plus{
  width:28px; height:28px; border-radius:50%; border:2px solid var(--purple); flex-shrink:0;
  display:flex; align-items:center; justify-content:center; position:relative; transition:transform .35s var(--ease), background .35s var(--ease);
}
.faq-question .faq-plus::before, .faq-question .faq-plus::after{
  content:""; position:absolute; background:var(--purple); transition:background .35s var(--ease);
}
.faq-question .faq-plus::before{ width:12px; height:2px; }
.faq-question .faq-plus::after{ width:2px; height:12px; }
.faq-item.open .faq-plus{ background:var(--purple); transform:rotate(180deg); }
.faq-item.open .faq-plus::before, .faq-item.open .faq-plus::after{ background:var(--white); }
.faq-item.open .faq-plus::after{ height:0; }
.faq-answer{ max-height:0; overflow:hidden; transition:max-height .4s var(--ease); }
.faq-answer p{ padding:0 4px 24px; color:var(--ink-soft); font-size:15.5px; margin:0; }

/* ---------- Values / A.M.A.R.Y.L.L.I.S. signature ---------- */
.values-ribbon{ display:flex; flex-direction:column; border-left:3px solid var(--gold); }
.values-row{
  display:grid; grid-template-columns:90px 220px 1fr; align-items:center;
  gap:24px; padding:18px 0 18px 30px; border-bottom:1px solid var(--line);
  transition:background .3s var(--ease);
}
.values-row:last-child{ border-bottom:none; }
.values-row:hover{ background:var(--purple-light); }
.values-row__letter{
  font-family:var(--font-display); font-size:40px; color:var(--purple); font-weight:700;
}
.values-row__word{ font-weight:700; font-size:17px; }
.values-row p{ margin:0; color:var(--ink-soft); font-size:15px; }

/* ---------- Testimonials ---------- */
.testimonial-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.testimonial-card{
  background:var(--white); border-radius:var(--radius); padding:30px;
  box-shadow:var(--shadow-sm); border:1px solid var(--line);
  transition:transform .3s var(--ease), box-shadow .3s var(--ease);
}
.testimonial-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.testimonial-card__stars{ color:var(--gold); font-size:16px; letter-spacing:2px; margin-bottom:14px; }
.testimonial-card p{ color:var(--ink-soft); font-size:15.5px; font-style:italic; }
.testimonial-card__source{
  display:flex; align-items:center; justify-content:space-between; margin-top:16px;
  font-size:13.5px; font-weight:600; color:var(--purple);
}

/* ---------- Footer ---------- */
.site-footer{ background:var(--purple-dark); color:var(--white); padding:60px 0 26px; }
.footer-logo{ margin-bottom:22px; }
.footer-logo img{ height:48px; filter:brightness(0) invert(1); }
.footer-headline{ max-width:760px; }
.footer-headline h2{ color:var(--white); font-size:clamp(24px,3vw,32px); }
.footer-headline p{ color:#D8CCEC; font-size:17px; }
.footer-cta{ margin-top:22px; }
.footer-meta{
  margin-top:56px; padding-top:26px; border-top:1px solid rgba(255,255,255,0.15);
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  font-size:13.5px; color:#C9BADE;
}
.footer-meta a{ color:#E7DCF7; text-decoration:underline; text-underline-offset:3px; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero{
  padding:64px 0 56px; background:var(--purple-light); text-align:center;
}
.page-hero h1{ font-size:clamp(32px,4vw,48px); }
.breadcrumb{ font-size:14px; color:var(--purple); font-weight:600; }
.breadcrumb a{ text-decoration:underline; text-underline-offset:3px; }

/* ---------- Certifications strip ---------- */
.cert-strip{ display:flex; flex-wrap:wrap; gap:14px; }
.cert-pill{
  border:1.5px solid var(--purple); color:var(--purple); font-weight:600;
  font-size:13.5px; padding:9px 18px; border-radius:999px; background:var(--white);
}

/* ---------- Services page detail ---------- */
.service-detail{
  display:grid; grid-template-columns:0.95fr 1.05fr; gap:48px; align-items:center;
  padding:56px 0; border-bottom:1px solid var(--line);
}
.service-detail:last-child{ border-bottom:none; }
.service-detail.reverse .service-detail__image{ order:2; }
.service-detail__image{ border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm); }
.service-detail__icon{
  width:52px; height:52px; border-radius:14px; background:var(--purple);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.service-detail__icon svg{ width:26px; height:26px; stroke:var(--white); }
.service-detail__list{ margin-top:16px; }
.service-detail__list li{
  display:flex; gap:10px; padding:8px 0; color:var(--ink-soft); font-size:15.5px;
}
.service-detail__list svg{ width:18px; height:18px; stroke:var(--purple); flex-shrink:0; margin-top:2px; }

/* ---------- Blog ---------- */
.blog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:30px; }
.blog-card{
  border-radius:var(--radius); overflow:hidden; border:1px solid var(--line);
  box-shadow:var(--shadow-sm); transition:transform .35s var(--ease), box-shadow .35s var(--ease);
  background:var(--white);
}
.blog-card:hover{ transform:translateY(-10px); box-shadow:var(--shadow-md); }
.blog-card__link{ display:block; color:inherit; }
.blog-card__link:hover{ color:inherit; }
.blog-card img{ height:200px; object-fit:cover; object-position:top; width:100%; }
.blog-card__body{ padding:26px; }
.blog-card__tag{ font-size:12.5px; font-weight:700; color:var(--purple); text-transform:uppercase; letter-spacing:.08em; }
.blog-card h3{ font-size:20px; margin:10px 0; line-height:1.3; }
.blog-card p{ color:var(--ink-soft); font-size:15px; }

/* Search + topic filter toolbar */
.blog-toolbar{ margin-bottom:40px; display:flex; flex-direction:column; gap:20px; }
.blog-search{
  position:relative; max-width:560px;
}
.blog-search svg{
  position:absolute; left:18px; top:50%; transform:translateY(-50%);
  width:19px; height:19px; stroke:var(--purple); pointer-events:none;
}
.blog-search input{
  width:100%; padding:15px 18px 15px 50px; border:1.5px solid var(--line);
  border-radius:999px; font-family:var(--font-body); font-size:15.5px; color:var(--ink);
  background:var(--white); transition:border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.blog-search input:focus{ border-color:var(--purple); box-shadow:0 0 0 4px rgba(80,40,132,0.12); outline:none; }
.blog-topics{ display:flex; flex-wrap:wrap; gap:10px; }
.topic-pill{
  padding:9px 20px; border-radius:999px; border:1.5px solid var(--purple);
  background:var(--white); color:var(--purple); font-weight:600; font-size:14px;
  cursor:pointer; transition:background .3s var(--ease), color .3s var(--ease);
}
.topic-pill:hover{ background:var(--purple-light); }
.topic-pill.active{ background:var(--purple); color:var(--white); }

/* Blog layout: grid + sidebar */
.blog-layout{ display:grid; grid-template-columns:1fr 320px; gap:44px; align-items:start; }
.blog-sidebar{ display:flex; flex-direction:column; gap:24px; position:sticky; top:110px; }
.blog-sidebar__card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-sm);
  padding:26px;
}
.blog-sidebar__card h4{ font-size:16px; margin-bottom:16px; }
.topic-count-list{ display:flex; flex-direction:column; gap:2px; }
.topic-count-item{
  width:100%; display:flex; justify-content:space-between; align-items:center;
  background:none; border:none; text-align:left; cursor:pointer;
  padding:10px 8px; border-radius:8px; font-size:14.5px; color:var(--ink);
  transition:background .3s var(--ease), color .3s var(--ease);
}
.topic-count-item:hover{ background:var(--purple-light); color:var(--purple); }
.topic-count-item span{
  background:var(--purple-light); color:var(--purple); font-size:12px; font-weight:700;
  padding:2px 9px; border-radius:999px;
}
.recent-posts{ display:flex; flex-direction:column; gap:16px; }
.recent-post{ display:flex; gap:12px; align-items:flex-start; }
.recent-post img{ width:64px; height:64px; object-fit:cover; object-position:top; border-radius:10px; flex-shrink:0; }
.recent-post span{ font-size:12px; color:var(--ink-soft); }
.recent-post h4{ font-size:14px; margin:2px 0 0; line-height:1.35; color:var(--ink); font-family:var(--font-body); font-weight:600; }
.blog-sidebar__cta p{ font-size:14px; color:var(--ink-soft); margin-bottom:16px; }

/* ---------- Single post page ---------- */
.post-wrap{ max-width:800px; margin:0 auto; }
.post-head{ text-align:center; margin-bottom:36px; }
.post-head h1{ font-size:clamp(28px,3.6vw,42px); margin:14px 0; }
.post-meta{ display:flex; justify-content:center; gap:8px; font-size:14px; color:var(--ink-soft); flex-wrap:wrap; }
.post-hero-image{ border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-md); margin-bottom:44px; }
.post-hero-image img{ width:100%; height:auto; display:block; }
.post-body h3{ font-size:22px; margin:36px 0 14px; }
.post-body p{ color:var(--ink-soft); font-size:16.5px; margin-bottom:18px; }
.post-body ul{ margin:0 0 18px; padding-left:0; list-style:none; }
.post-body ul li{
  display:flex; gap:10px; padding:9px 0; color:var(--ink-soft); font-size:16px; line-height:1.5;
}
.post-body ul li::before{
  content:""; width:8px; height:8px; border-radius:50%; background:var(--gold);
  flex-shrink:0; margin-top:9px;
}
.post-tags{ display:flex; flex-wrap:wrap; gap:10px; margin:20px 0 40px; }
.post-cta{
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  flex-wrap:wrap; margin-top:20px;
}
.post-cta h3{ font-size:20px; margin-bottom:6px; }
.post-cta p{ margin:0; font-size:14.5px; }
.blog-card__meta{ display:flex; justify-content:space-between; font-size:13px; color:var(--ink-soft); margin-top:16px; }

/* ---------- Contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1.15fr; gap:48px; }
.contact-info-card{
  background:var(--purple); color:var(--white); border-radius:var(--radius);
  padding:44px; height:fit-content;
}
.contact-info-card h3{ color:var(--white); }
.contact-info-row{ display:flex; gap:16px; align-items:flex-start; margin-top:22px; }
.contact-info-row svg{ width:22px; height:22px; stroke:var(--gold); flex-shrink:0; margin-top:3px; }
.contact-info-row span{ display:block; color:#E4D8F5; font-size:15px; }
.contact-form{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:44px; box-shadow:var(--shadow-sm);
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.field{ margin-bottom:20px; }
.field label{ display:block; font-weight:600; font-size:14.5px; margin-bottom:8px; }
.field input, .field textarea, .field select{
  width:100%; padding:14px 16px; border:1.5px solid var(--line); border-radius:var(--radius-sm);
  font-family:var(--font-body); font-size:15.5px; color:var(--ink); background:var(--white);
  transition:border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus{
  border-color:var(--purple); box-shadow:0 0 0 4px rgba(80,40,132,0.12); outline:none;
}
.field textarea{ resize:vertical; min-height:130px; }
.map-embed{ border-radius:var(--radius); overflow:hidden; margin-top:56px; box-shadow:var(--shadow-sm); }
.map-embed iframe{ width:100%; height:380px; border:0; display:block; }

/* ---------- Utility ---------- */
.mt-lg{ margin-top:56px; }
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:48px; }
.center-text{ text-align:center; }
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view{ opacity:1; transform:translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .hero-grid, .about-summary, .two-col, .contact-grid{ grid-template-columns:1fr; }
  .about-summary__image{ min-height:280px; }
  .service-grid, .testimonial-grid, .blog-grid{ grid-template-columns:repeat(2,1fr); }
  .reasons-grid{ grid-template-columns:1fr; }
  .stats-grid{ grid-template-columns:repeat(2,1fr); }
  .affiliations-grid{ grid-template-columns:repeat(2,1fr); }
  .service-detail{ grid-template-columns:1fr; }
  .service-detail.reverse .service-detail__image{ order:0; }
  .values-row{ grid-template-columns:60px 1fr; }
  .values-row p{ grid-column:1 / -1; }
  .blog-layout{ grid-template-columns:1fr; }
  .blog-sidebar{ position:static; flex-direction:row; flex-wrap:wrap; }
  .blog-sidebar__card{ flex:1 1 260px; }
}
@media (max-width: 900px){
  .main-nav{ display:none; }
  .nav-toggle{ display:flex; }
  .header-cta .btn-primary{ display:none; }
}
@media (max-width: 720px){
  body{ font-size:16.5px; }
  .section{ padding:64px 0; }
  .service-grid, .testimonial-grid, .blog-grid{ grid-template-columns:1fr; }
  .form-row{ grid-template-columns:1fr; }
  .emblem-block{ flex-direction:column; text-align:center; }
  .footer-meta{ flex-direction:column; text-align:center; }
  .hero-slide{ flex-basis:88%; }
  .hero--photo{ min-height:560px; }
  .hero--photo .hero-grid{ padding:90px 0; }
  .page-hero{ min-height:560px; }
  .page-hero--photo{ padding:110px 0 80px; }
  .strip-track img{ height:82px; width:130px; }
  .stats-grid{ grid-template-columns:1fr 1fr; }
  .affiliations-grid{ grid-template-columns:1fr 1fr; }
  .blog-sidebar{ flex-direction:column; }
  .post-cta{ flex-direction:column; align-items:flex-start; text-align:left; }
  .post-cta .btn{ width:100%; justify-content:center; }
}
@media (max-width: 480px){
  .header-row{ padding:12px 20px; }
  .container{ padding:0 20px; }
  .logo-mark img{ height:40px; }
  .stats-grid{ grid-template-columns:1fr; }
  .affiliations-grid{ grid-template-columns:1fr; }
  .emblem-block{ padding:32px 24px; }
  .contact-form, .contact-info-card{ padding:28px; }
}



/* Hamburger button (hidden on desktop, shown on mobile) */
.nav-toggle{
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  padding:8px;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  width:44px;
  height:40px;
  z-index:410;
  position:relative;
  border-radius:10px;
  flex-shrink:0;
  transition:background .3s ease;
}
.nav-toggle:hover,
.nav-toggle:active{
  background:#F4F0FA; /* light purple hover */
}

/* The three lines */
.nav-toggle span{
  display:block;
  width:24px;
  height:3px;
  background-color:#502884; /* your purple */
  margin:3.5px 0;
  border-radius:2px;
  opacity:1;
  transition:transform .35s ease, opacity .35s ease;
}

/* Turns into an X when menu is open (JS adds .active) */
.nav-toggle.active span:nth-child(1){ transform:translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2){ opacity:0; }
.nav-toggle.active span:nth-child(3){ transform:translateY(-6.5px) rotate(-45deg); }

/* Show it only on mobile, and keep it pinned to the right */
@media (max-width: 900px){
  .nav-toggle{ display:flex; }
  .header-row{ justify-content:flex-end; }
  .header-cta{ margin-left:auto; }
}

