/* ==========================================================================
   AfyaBlock — Design System
   ========================================================================== */

:root{
  --ab-navy:#0A2A6B;
  --ab-blue:#2E63D6;
  --ab-blue-dark:#1E4FBB;
  --ab-sky:#A9C2E8;
  --ab-sky-tint:#EAF1FC;
  --ab-ink:#0B1220;
  --ab-slate:#5B6472;
  --ab-bg:#F6F9FD;
  --ab-white:#FFFFFF;
  --ab-line:#E4EBF5;

  --font-display:'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm:12px;
  --radius-md:20px;
  --radius-lg:28px;
  --shadow-sm:0 2px 10px rgba(10,42,107,.06);
  --shadow-md:0 12px 32px rgba(10,42,107,.10);
  --shadow-lg:0 24px 64px rgba(10,42,107,.16);
  --container:1180px;
}

/* ---------- Reset ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
html{ overflow-x:hidden; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ab-ink);
  background:var(--ab-bg);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
  font-size:16px;
  overflow-x:hidden;
  position:relative;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul,ol{ margin:0; padding:0; list-style:none; }
button{ font:inherit; }
h1,h2,h3,h4{
  font-family:var(--font-display);
  color:var(--ab-navy);
  line-height:1.15;
  margin:0 0 .5em;
  letter-spacing:-0.01em;
}
h1{ font-size:clamp(2.4rem,4.5vw,3.8rem); font-weight:800; }
h2{ font-size:clamp(1.8rem,3vw,2.6rem); font-weight:700; }
h3{ font-size:1.25rem; font-weight:700; }
p{ margin:0 0 1em; color:var(--ab-slate); }
.skip-link{
  position:absolute; left:-9999px; top:0; background:var(--ab-navy); color:#fff;
  padding:12px 18px; z-index:1000; border-radius:0 0 8px 0;
}
.skip-link:focus{ left:0; }

.wrap{ max-width:var(--container); margin-inline:auto; padding-inline:24px; }

.eyebrow{
  display:inline-block; font-family:var(--font-display); font-weight:700;
  font-size:.8rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--ab-blue); margin-bottom:14px;
}

/* ---------- Reveal-on-scroll ---------- */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
.reveal.is-visible{ opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  html{ scroll-behavior:auto; }
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:8px; justify-content:center;
  font-family:var(--font-display); font-weight:600; font-size:.95rem;
  padding:14px 26px; border-radius:999px; border:2px solid transparent;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  cursor:pointer; white-space:nowrap;
}
.btn-primary{ background:var(--ab-blue); color:#fff; box-shadow:var(--shadow-sm); }
.btn-primary:hover{ background:var(--ab-blue-dark); transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn-ghost{ background:transparent; color:var(--ab-navy); border-color:var(--ab-line); }
.btn-ghost:hover{ border-color:var(--ab-blue); color:var(--ab-blue); transform:translateY(-2px); }
.btn-light{ background:#fff; color:var(--ab-navy); }
.btn-light:hover{ transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn-lg{ padding:16px 32px; font-size:1rem; }
.btn-sm{ padding:10px 20px; font-size:.85rem; }

/* ---------- Brand mark ---------- */
.brand{ display:flex; align-items:center; gap:12px; }
.brand-mark{ position:relative; width:34px; height:26px; flex-shrink:0; }
.brand-mark .c{ position:absolute; top:0; width:20px; height:20px; border-radius:50%; }
.brand-mark .c1{ left:0; background:var(--ab-navy); }
.brand-mark .c2{ left:9px; background:var(--ab-blue); opacity:.92; }
.brand-mark .c3{ left:18px; background:var(--ab-sky); }
.brand-mark-img{ width:64px; height:64px; }
.brand-mark-img img{ width:100%; height:100%; object-fit:contain; display:block; }
.brand-mark.lg{ width:104px; height:80px; margin:0 auto; }
.brand-mark.lg .c{ width:64px; height:64px; }
.brand-mark.lg .c1{ left:0; }
.brand-mark.lg .c2{ left:28px; }
.brand-mark.lg .c3{ left:56px; }
.brand-text{ display:flex; flex-direction:column; line-height:1.15; }
.brand-name{ font-family:var(--font-display); font-weight:800; font-size:1.3rem; color:var(--ab-navy); }
.brand-tag{ font-size:.55rem; letter-spacing:.02em; text-transform:lowercase; color:var(--ab-slate); }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:200;
  background:rgba(246,249,253,.78); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--ab-line);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; padding-block:16px; gap:24px; }
.nav-menu{ display:flex; gap:32px; }
.nav-menu a{ font-weight:600; font-size:.94rem; color:var(--ab-ink); position:relative; padding:6px 0; }
.nav-menu a::after{
  content:""; position:absolute; left:0; bottom:0; width:0; height:2px; background:var(--ab-blue);
  transition:width .25s ease;
}
.nav-menu a:hover::after{ width:100%; }
.header-actions{ display:flex; align-items:center; gap:16px; }

/* Services hover popover — plain link, no dropdown affordance; list appears
   directly below on hover and closes as soon as the pointer leaves the area. */
.nav-menu li{ position:relative; padding-bottom:14px; margin-bottom:-14px; }
.nav-menu .sub-menu{
  position:absolute; top:100%; left:50%;
  min-width:280px; background:#fff; border:1px solid var(--ab-line); border-radius:var(--radius-md);
  box-shadow:var(--shadow-md); padding:10px; display:grid; gap:2px;
  opacity:0; visibility:hidden; pointer-events:none;
  transform:translate(-50%,4px); transition:opacity .18s ease, transform .18s ease;
  z-index:50;
}
.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu{
  opacity:1; visibility:visible; pointer-events:auto; transform:translate(-50%,0);
}
.nav-menu .sub-menu a{ display:block; padding:9px 12px; border-radius:8px; font-weight:500; font-size:.88rem; white-space:nowrap; }
.nav-menu .sub-menu a::after{ display:none; }
.nav-menu .sub-menu a:hover{ background:var(--ab-sky-tint); color:var(--ab-blue); }

.nav-toggle{
  display:none; flex-direction:column; gap:5px; width:30px; height:24px; background:none; border:none; padding:0; cursor:pointer;
}
.nav-toggle span{ display:block; height:2px; width:100%; background:var(--ab-navy); border-radius:2px; transition:transform .25s ease, opacity .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

.mobile-nav{
  display:none; flex-direction:column; gap:18px; padding:20px 24px 28px;
  background:var(--ab-white); border-bottom:1px solid var(--ab-line);
}
.mobile-nav.is-open{ display:flex; }
.nav-menu-mobile{ display:flex; flex-direction:column; gap:14px; }
.nav-menu-mobile a{ font-weight:600; font-size:1.05rem; }
.nav-menu-mobile .menu-item-has-children > a{
  display:flex; align-items:center; justify-content:space-between; gap:12px; cursor:pointer;
}
.nav-menu-mobile .menu-item-has-children > a::after{
  content:"+"; font-size:1.3rem; font-weight:400; line-height:1; color:var(--ab-slate); flex-shrink:0;
}
.nav-menu-mobile .menu-item-has-children.is-expanded > a::after{ content:"\2212"; }
.nav-menu-mobile .sub-menu{
  display:none; flex-direction:column; gap:12px; margin:12px 0 0 4px; padding-left:14px;
  border-left:2px solid var(--ab-line);
}
.nav-menu-mobile .menu-item-has-children.is-expanded > .sub-menu{ display:flex; }
.nav-menu-mobile .sub-menu a{ font-weight:500; font-size:.92rem; }

@media (max-width: 900px){
  .primary-nav{ display:none; }
  .header-actions .btn-sm{ display:none; }
  .nav-toggle{ display:flex; }
}
@media (max-width:480px){
  .brand{ gap:8px; }
  .brand-mark-img{ width:46px; height:46px; }
  .brand-name{ font-size:1.05rem; }
  .brand-tag{ font-size:.5rem; }
  .header-inner{ gap:12px; }
}

/* ---------- Hero ---------- */
.hero{ position:relative; overflow:hidden; padding-block:72px 96px; }
@media (max-width:640px){
  .hero{ padding-block:48px 64px; }
}

/* Photo slideshow as full-bleed hero background, with a scrim for text contrast */
.hero-marquee-bg{ position:absolute; inset:0; z-index:0; overflow:hidden; background:var(--ab-navy); }
.hero-slideshow{ position:relative; width:100%; height:100%; }
.hero-slide{
  position:absolute; inset:0; opacity:0;
  transition:opacity .5s ease;
}
.hero-slide.is-active{ opacity:1; }
.hero-slide img{ width:100%; height:100%; object-fit:cover; display:block; filter:saturate(1.05); }
.hero-scrim{
  position:absolute; inset:0;
  background:
    linear-gradient(100deg, rgba(10,42,107,.94) 0%, rgba(10,42,107,.82) 32%, rgba(10,42,107,.55) 58%, rgba(10,42,107,.35) 100%),
    linear-gradient(0deg, rgba(10,42,107,.5), rgba(10,42,107,0) 40%);
}
@media (prefers-reduced-motion: reduce){
  .hero-slide{ transition-duration:.3s; }
}

.hero-inner{ position:relative; z-index:1; display:grid; grid-template-columns:1fr; max-width:56ch; margin-inline:0; }
.hero-copy h1, .hero-copy .hero-lead{ transition:opacity .4s ease; }
.hero-copy.is-swapping h1, .hero-copy.is-swapping .hero-lead{ opacity:0; }
.hero-photo .eyebrow{ color:var(--ab-sky); }
/* Rotating service title/description — sized down from the default h1 and given a
   reserved min-height (in its own em units, so it scales with the fluid font-size)
   so the hero box never grows or shrinks as slides cycle through different-length text. */
.hero-copy h1{ font-size:clamp(1.9rem,3vw,2.6rem); line-height:1.2; min-height:3.6em; color:#fff; }
.hero-photo .hero-lead{ color:rgba(255,255,255,.86); }
.hero-lead{ font-size:1.1rem; max-width:46ch; }
.hero-copy .hero-lead{ min-height:6.4em; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-top:8px; }
.hero-photo .btn-ghost{ border-color:rgba(255,255,255,.55); color:#fff; }
.hero-photo .btn-ghost:hover{ background:rgba(255,255,255,.12); }

/* ---------- Trust strip ---------- */
.trust-strip{ border-block:1px solid var(--ab-line); background:#fff; }
.trust-inner{ display:flex; flex-direction:column; gap:28px; padding-block:56px; }
.trust-label{ font-weight:700; font-size:1.4rem; font-family:var(--font-display); color:var(--ab-navy); }
.trust-list{
  display:flex; flex-wrap:wrap; gap:44px; align-items:center;
}
.trust-list li{ display:flex; align-items:center; }
.trust-list img{
  height:72px; width:auto; max-width:220px; object-fit:contain;
}
.trust-more{ font-weight:700; font-size:.85rem; color:var(--ab-blue); white-space:nowrap; }
@media (max-width:640px){
  .trust-list{ gap:28px; }
  .trust-list img{ height:52px; }
}

/* ---------- Team grid ---------- */
.team-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
@media (max-width:900px){ .team-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .team-grid{ grid-template-columns:1fr 1fr; gap:16px; } }
@media (max-width:400px){ .team-grid{ grid-template-columns:1fr; } }
.team-card{ text-align:center; }
.team-avatar{
  width:84px; height:84px; margin:0 auto 14px; border-radius:50%;
  background:linear-gradient(135deg,var(--ab-blue),var(--ab-navy)); color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display); font-weight:700; font-size:1.4rem;
}
.team-card h4{ font-family:var(--font-display); color:var(--ab-navy); font-size:1rem; font-weight:700; margin:0 0 2px; }
.team-card span{ font-size:.8rem; color:var(--ab-blue); font-weight:600; }

/* ---------- Sections ---------- */
.section{ padding-block:88px; }
.section-tint{ background:#fff; }
.section-head{ max-width:680px; margin-bottom:48px; }
.section-lead{ font-size:1.05rem; }
@media (max-width:640px){
  .section{ padding-block:56px; }
  .section-head{ margin-bottom:32px; }
}

.grid{ display:grid; gap:28px; }
.services-grid{ grid-template-columns:repeat(4,1fr); }
.insights-grid{ grid-template-columns:repeat(3,1fr); }
@media (max-width:1000px){
  .services-grid{ grid-template-columns:repeat(2,1fr); }
  .insights-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:640px){
  .services-grid, .insights-grid{ grid-template-columns:1fr; }
}

/* Vision/Mission/Goal — three bigger cards, one row on desktop */
.pillars-grid{ grid-template-columns:repeat(3,1fr); gap:32px; }
.pillars-grid .card{ padding:40px 34px; }
@media (max-width:900px){ .pillars-grid{ grid-template-columns:1fr; } }

/* Core values — five smaller cards, one row on desktop */
.values-grid{ grid-template-columns:repeat(5,1fr); gap:18px; }
.values-grid .card{ padding:22px 18px; }
.values-grid .icon-badge{ width:44px; height:44px; margin-bottom:14px; }
.values-grid .card h3{ font-size:1.05rem; }
@media (max-width:1000px){ .values-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:640px){ .values-grid{ grid-template-columns:1fr; } }

.card{
  background:#fff; border:1px solid var(--ab-line); border-radius:var(--radius-md);
  padding:32px 28px; box-shadow:var(--shadow-sm); transition:transform .25s ease, box-shadow .25s ease;
}
.card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.card-link{ display:inline-flex; gap:6px; font-weight:700; color:var(--ab-blue); margin-top:14px; font-size:.9rem; }

/* Icon badges (pure-CSS masked icons, no external assets) */
.icon-badge{
  display:inline-flex; align-items:center; justify-content:center;
  width:56px; height:56px; border-radius:16px; margin-bottom:18px;
  background:linear-gradient(135deg,var(--ab-blue),var(--ab-navy));
  position:relative; flex-shrink:0;
}
.icon-badge::before{
  content:""; width:26px; height:26px; background-color:#fff;
  -webkit-mask-size:contain; mask-size:contain;
  -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
  -webkit-mask-position:center; mask-position:center;
}
.icon-badge.lg{ width:88px; height:88px; border-radius:24px; }
.icon-badge.lg::before{ width:40px; height:40px; }

.icon-badge[data-icon="pulse"]::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12h4l2-7 4 14 3-9 2 4h5'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12h4l2-7 4 14 3-9 2 4h5'/%3E%3C/svg%3E");
}
.icon-badge[data-icon="grid"]::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E");
}
.icon-badge[data-icon="doc"]::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2h9l5 5v15H6z'/%3E%3Cpath d='M14 2v6h6M9 13h6M9 17h6'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2h9l5 5v15H6z'/%3E%3Cpath d='M14 2v6h6M9 13h6M9 17h6'/%3E%3C/svg%3E");
}
.icon-badge[data-icon="people"]::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.2'/%3E%3Cpath d='M2.5 20c0-3.6 2.9-6 6.5-6s6.5 2.4 6.5 6'/%3E%3Ccircle cx='17.5' cy='9' r='2.4'/%3E%3Cpath d='M15 14.2c2.8.3 4.8 2.3 4.8 5.3'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.2'/%3E%3Cpath d='M2.5 20c0-3.6 2.9-6 6.5-6s6.5 2.4 6.5 6'/%3E%3Ccircle cx='17.5' cy='9' r='2.4'/%3E%3Cpath d='M15 14.2c2.8.3 4.8 2.3 4.8 5.3'/%3E%3C/svg%3E");
}
.icon-badge[data-icon="calendar"]::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='17' rx='2'/%3E%3Cpath d='M3 9h18M8 2v4M16 2v4'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='17' rx='2'/%3E%3Cpath d='M3 9h18M8 2v4M16 2v4'/%3E%3C/svg%3E");
}
.icon-badge[data-icon="chart"]::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-7M4 20h16'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-7M4 20h16'/%3E%3C/svg%3E");
}
.icon-badge[data-icon="megaphone"]::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10v4h3l7 4V6l-7 4H3z'/%3E%3Cpath d='M18 9a4 4 0 0 1 0 6'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10v4h3l7 4V6l-7 4H3z'/%3E%3Cpath d='M18 9a4 4 0 0 1 0 6'/%3E%3C/svg%3E");
}
.icon-badge[data-icon="cpu"]::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='6' width='12' height='12' rx='2'/%3E%3Cpath d='M9 2v3M15 2v3M9 19v3M15 19v3M2 9h3M2 15h3M19 9h3M19 15h3'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='6' width='12' height='12' rx='2'/%3E%3Cpath d='M9 2v3M15 2v3M9 19v3M15 19v3M2 9h3M2 15h3M19 9h3M19 15h3'/%3E%3C/svg%3E");
}
.icon-badge[data-icon="box"]::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2 3 7v10l9 5 9-5V7z'/%3E%3Cpath d='M3 7l9 5 9-5M12 12v10'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2 3 7v10l9 5 9-5V7z'/%3E%3Cpath d='M3 7l9 5 9-5M12 12v10'/%3E%3C/svg%3E");
}
.icon-badge[data-icon="link"]::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='9' cy='12' r='6'/%3E%3Ccircle cx='15' cy='12' r='6'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='9' cy='12' r='6'/%3E%3Ccircle cx='15' cy='12' r='6'/%3E%3C/svg%3E");
}
.icon-badge[data-icon="pin"]::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-7.5 7-12a7 7 0 1 0-14 0c0 4.5 7 12 7 12z'/%3E%3Ccircle cx='12' cy='9' r='2.5'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-7.5 7-12a7 7 0 1 0-14 0c0 4.5 7 12 7 12z'/%3E%3Ccircle cx='12' cy='9' r='2.5'/%3E%3C/svg%3E");
}
.icon-badge[data-icon="mail"]::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m2 6 10 7L22 6'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m2 6 10 7L22 6'/%3E%3C/svg%3E");
}
.icon-badge[data-icon="phone"]::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h4l2 6-3 2a12 12 0 0 0 6 6l2-3 6 2v4a2 2 0 0 1-2 2A16 16 0 0 1 2 6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h4l2 6-3 2a12 12 0 0 0 6 6l2-3 6 2v4a2 2 0 0 1-2 2A16 16 0 0 1 2 6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");
}
.icon-badge[data-icon="clock"]::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 3'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 3'/%3E%3C/svg%3E");
}

/* ---------- Process ---------- */
.process{ display:grid; grid-template-columns:repeat(4,1fr); gap:28px; counter-reset:step; position:relative; }
.process::before{
  content:""; position:absolute; top:20px; left:6%; right:6%; height:2px; background:var(--ab-line);
}
@media (max-width:900px){ .process{ grid-template-columns:1fr 1fr; } .process::before{ display:none; } }
@media (max-width:560px){ .process{ grid-template-columns:1fr; } }
.process-step{ position:relative; padding-top:0; }
.step-index{
  display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px;
  border-radius:50%; background:var(--ab-navy); color:#fff; font-family:var(--font-display); font-weight:700;
  margin-bottom:16px; position:relative; z-index:1; flex-shrink:0;
}

/* ---------- Service detail page ---------- */
.service-detail-banner{ width:100%; max-height:420px; overflow:hidden; }
.service-detail-banner img{ width:100%; height:100%; max-height:420px; object-fit:cover; display:block; }
.detail-sections{ display:flex; flex-direction:column; gap:36px; max-width:74ch; margin-inline:auto; }
.detail-section{ display:flex; gap:20px; align-items:flex-start; }
.detail-section .step-index{ margin-bottom:0; margin-top:2px; }
.detail-section h2{ font-size:1.3rem; margin-bottom:8px; }
.detail-section p{ margin:0; }
.detail-summary{ max-width:74ch; margin:48px auto 0; padding:28px; background:var(--ab-sky-tint); border-radius:var(--radius-lg); }
.detail-summary p{ margin:0; font-weight:500; color:var(--ab-navy); }

.next-service{
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  max-width:74ch; margin-inline:auto; padding:32px;
  background:#fff; border:1px solid var(--ab-line); border-radius:var(--radius-lg);
  box-shadow:var(--shadow-sm); transition:transform .25s ease, box-shadow .25s ease;
}
.next-service:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.next-service-copy{ display:flex; flex-direction:column; gap:4px; }
.next-service-copy .eyebrow{ margin-bottom:2px; }
.next-service-copy h3{ font-size:1.25rem; margin:0; color:var(--ab-navy); }
.next-service-copy p{ margin:0; color:var(--ab-slate); font-size:.95rem; }
.next-service-arrow{
  flex-shrink:0; display:inline-flex; align-items:center; justify-content:center;
  width:52px; height:52px; border-radius:50%; background:var(--ab-navy); color:#fff;
  font-size:1.3rem; transition:background .25s ease, transform .25s ease;
}
.next-service:hover .next-service-arrow{ background:var(--ab-blue); transform:translateX(4px); }
@media (max-width:640px){
  .next-service{ flex-direction:column; align-items:flex-start; text-align:left; }
  .next-service-arrow{ align-self:flex-end; }
}

/* ---------- Stats band ---------- */
.stats-band{ background:linear-gradient(135deg,var(--ab-navy),var(--ab-blue-dark)); padding-block:64px; }
.stats-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; text-align:center; }
.stat-num{ font-family:var(--font-display); font-size:clamp(2.2rem,4vw,3rem); font-weight:800; color:#fff; }
.stat-suffix{ font-family:var(--font-display); font-size:clamp(2.2rem,4vw,3rem); font-weight:800; color:var(--ab-sky); }
.stat-label{ display:block; color:rgba(255,255,255,.75); font-weight:600; font-size:.9rem; margin-top:6px; }
@media (max-width:700px){ .stats-grid{ grid-template-columns:1fr 1fr; row-gap:36px; } }

/* ---------- Why grid ---------- */
.why-grid{ display:grid; grid-template-columns:.85fr 1.15fr; gap:56px; align-items:center; }
.why-visual{ display:flex; align-items:center; justify-content:center; }
.why-card{
  width:100%; aspect-ratio:1/1; max-width:360px; border-radius:var(--radius-lg);
  background:linear-gradient(160deg,#fff,var(--ab-sky-tint)); border:1px solid var(--ab-line);
  display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-md);
}
.why-card.has-photo{ padding:0; overflow:hidden; background:var(--ab-navy); }
.why-card.has-photo img{ width:100%; height:100%; object-fit:cover; display:block; }
.check-list{ display:flex; flex-direction:column; gap:14px; margin:20px 0 28px; }
.check-list li{ position:relative; padding-left:32px; font-weight:500; color:var(--ab-ink); }
.check-list li::before{
  content:""; position:absolute; left:0; top:2px; width:20px; height:20px; border-radius:50%;
  background:var(--ab-blue);
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12l5 5L20 6'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12l5 5L20 6'/%3E%3C/svg%3E");
  -webkit-mask-size:60%; mask-size:60%; -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat; -webkit-mask-position:center; mask-position:center;
}
@media (max-width:900px){ .why-grid{ grid-template-columns:1fr; } .why-visual{ order:-1; } }

/* ---------- Testimonial ---------- */
.testimonial{ max-width:760px; margin-inline:auto; text-align:center; }
.quote-mark{ margin-bottom:18px; }
.testimonial blockquote{ margin:0 0 28px; font-family:var(--font-display); font-size:clamp(1.3rem,2.4vw,1.7rem); font-weight:600; color:var(--ab-navy); line-height:1.4; }
.testimonial-author{ display:flex; align-items:center; justify-content:center; gap:14px; }
.testimonial-author .avatar{
  width:48px; height:48px; border-radius:50%; background:var(--ab-navy); color:#fff;
  display:flex; align-items:center; justify-content:center; font-weight:700; font-family:var(--font-display);
}
.testimonial-author div{ text-align:left; }
.testimonial-author strong{ display:block; color:var(--ab-navy); font-size:.95rem; }
.testimonial-author span{ font-size:.85rem; color:var(--ab-slate); }

/* ---------- Insights / blog ---------- */
.insight-thumb{ display:block; border-radius:var(--radius-sm); overflow:hidden; margin-bottom:18px; aspect-ratio:16/11; background:var(--ab-sky-tint); }
.insight-thumb img{ width:100%; height:100%; object-fit:cover; }
.thumb-fallback{ display:block; width:100%; height:100%; background:linear-gradient(135deg,var(--ab-sky-tint),var(--ab-sky)); }
.insight-date{ font-size:.78rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--ab-blue); margin-bottom:8px; }
.insight-card h3{ margin-bottom:10px; }
.insight-card h3 a:hover{ color:var(--ab-blue); }
.pagination{ margin-top:40px; display:flex; justify-content:center; gap:12px; flex-wrap:wrap; }
.pagination .page-numbers{ padding:10px 16px; border-radius:10px; border:1px solid var(--ab-line); font-weight:600; }
.pagination .page-numbers.current{ background:var(--ab-navy); color:#fff; border-color:var(--ab-navy); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero{ padding-block:64px 48px; background:linear-gradient(180deg,var(--ab-sky-tint),var(--ab-bg)); border-bottom:1px solid var(--ab-line); }
.page-hero h1{ margin-bottom:14px; }
.page-hero .hero-lead{ max-width:64ch; }
.hero-404{ padding-block:120px; background:linear-gradient(180deg,var(--ab-sky-tint),var(--ab-bg)); }

/* ---------- Prose (rendered post/page content) ---------- */
.prose{ max-width:760px; }
.prose h2{ margin-top:1.4em; }
.prose h3{ margin-top:1.2em; color:var(--ab-navy); }
.prose p, .prose li{ color:var(--ab-ink); font-size:1.02rem; }
.prose ul, .prose ol{ margin:0 0 1.2em; padding-left:1.3em; list-style:disc; }
.prose ol{ list-style:decimal; }
.prose a{ color:var(--ab-blue); text-decoration:underline; text-underline-offset:3px; }
.prose blockquote{ margin:1.6em 0; padding:.4em 1.4em; border-left:4px solid var(--ab-blue); color:var(--ab-navy); font-style:italic; }
.prose img{ border-radius:var(--radius-md); margin:1.4em 0; }
.single-thumb img{ border-radius:var(--radius-lg); box-shadow:var(--shadow-md); }
.post-nav{ display:flex; justify-content:space-between; gap:20px; margin-top:56px; border-top:1px solid var(--ab-line); padding-top:28px; flex-wrap:wrap; }
.post-nav .nav-sub{ display:block; font-size:.75rem; text-transform:uppercase; letter-spacing:.08em; color:var(--ab-slate); margin-bottom:4px; }
.post-nav a{ font-weight:700; color:var(--ab-navy); }

/* ---------- Services detail rows ---------- */
.services-detail{ display:flex; flex-direction:column; gap:88px; }
.service-row{ display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center; }
.service-row.is-reverse .service-row-visual{ order:2; }
.service-tile{
  position:relative; aspect-ratio:4/3; border-radius:var(--radius-lg); overflow:hidden;
  background:linear-gradient(150deg,var(--ab-sky-tint),#fff);
  border:1px solid var(--ab-line); display:flex; align-items:flex-end; box-shadow:var(--shadow-md);
}
.service-tile-photo{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
}
.service-tile::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(190deg, rgba(10,42,107,0) 40%, rgba(10,42,107,.55) 100%);
}
.service-tile-icon{
  position:relative; z-index:1; margin:20px; box-shadow:var(--shadow-md);
}
@media (max-width:900px){
  .service-row, .service-row.is-reverse{ grid-template-columns:1fr; }
  .service-row.is-reverse .service-row-visual{ order:-1; }
}

/* ---------- CTA band ---------- */
.cta-band{ background:linear-gradient(120deg,var(--ab-navy),var(--ab-blue-dark)); padding-block:64px; margin-top:16px; }
.cta-band-inner{ text-align:center; max-width:640px; margin-inline:auto; }
.cta-band-inner h2{ color:#fff; }
.cta-band-inner p{ color:rgba(255,255,255,.8); margin-bottom:28px; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--ab-navy); color:rgba(255,255,255,.85); margin-top:0; }
.footer-cta{ background:linear-gradient(120deg,var(--ab-blue-dark),var(--ab-navy)); }
.footer-cta-inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; padding-block:52px; flex-wrap:wrap; }
.footer-cta-inner h2{ color:#fff; margin-bottom:6px; }
.footer-cta-inner p{ color:rgba(255,255,255,.8); margin:0; }
.footer-main{ display:grid; grid-template-columns:1.2fr .65fr 1.85fr 1.3fr; gap:32px; padding-block:56px; }
.footer-col h3, .footer-accordion summary{ color:#fff; font-size:.85rem; text-transform:uppercase; letter-spacing:.08em; margin-bottom:18px; }

/* Footer accordions — open by default (in the markup) everywhere, so desktop
   content is always visible with no dependency on CSS overriding the browser's
   native collapsed-details behavior. On desktop the toggle is inert (locked
   open, plain static-looking heading); only inside the mobile breakpoint does
   it become an interactive, genuinely collapsible dropdown. */
.footer-accordion summary{ display:block; list-style:none; cursor:default; pointer-events:none; }
.footer-accordion summary::-webkit-details-marker{ display:none; }
.footer-accordion summary::marker{ content:""; }
.footer-accordion > *:not(summary){ display:block; }
@media (max-width:900px){
  .footer-accordion summary{
    cursor:pointer; pointer-events:auto; display:flex; align-items:center; justify-content:space-between;
    gap:12px; margin-bottom:0; padding:16px 0;
  }
  .footer-accordion summary::after{
    content:"+"; font-size:1.3rem; font-weight:400; line-height:1; color:rgba(255,255,255,.6); flex-shrink:0;
  }
  .footer-accordion[open] summary::after{ content:"\2212"; }
  .footer-accordion{ border-bottom:1px solid rgba(255,255,255,.12); }
  .footer-accordion > *:not(summary){ display:block; padding-bottom:18px; }
  .footer-accordion:not([open]) > *:not(summary){ display:none; }
}
.footer-menu{ display:flex; flex-direction:column; gap:12px; }
.footer-menu a{ color:rgba(255,255,255,.75); font-size:.92rem; white-space:nowrap; }
.footer-menu a:hover{ color:#fff; }
.footer-col-services .footer-menu a{ font-size:.82rem; white-space:normal; }
.footer-about{ color:rgba(255,255,255,.7); font-size:.92rem; margin:16px 0 18px; max-width:34ch; }
.footer-contact{ display:flex; flex-direction:column; gap:10px; font-size:.92rem; color:rgba(255,255,255,.75); }
.footer-contact a{ color:rgba(255,255,255,.85); }
.footer-brand .brand-name{ color:#fff; }
.footer-brand .brand-tag{ color:rgba(255,255,255,.6); }
.social-row{ display:flex; gap:10px; }
.social-row a{
  width:36px; height:36px; border-radius:50%; border:1px solid rgba(255,255,255,.25);
  display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,.85);
  transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.social-row a:hover{ background:rgba(255,255,255,.12); color:#fff; border-color:rgba(255,255,255,.4); }
.social-row a svg{ display:block; }
.footer-bottom{
  display:flex; justify-content:space-between; padding-block:22px; border-top:1px solid rgba(255,255,255,.12);
  font-size:.82rem; color:rgba(255,255,255,.55); flex-wrap:wrap; gap:8px;
}
@media (max-width:900px){ .footer-main{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-main{ grid-template-columns:1fr; } .footer-cta-inner{ text-align:center; justify-content:center; } }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float{
  position:fixed; right:24px; bottom:calc(24px + env(safe-area-inset-bottom, 0px)); z-index:300;
  width:58px; height:58px; border-radius:50%; background:#25D366;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 6px 20px rgba(37,211,102,.45);
  transition:transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover{ transform:translateY(-4px) scale(1.05); box-shadow:0 10px 28px rgba(37,211,102,.55); }
@media (max-width:640px){
  .whatsapp-float{ right:16px; bottom:calc(16px + env(safe-area-inset-bottom, 0px)); width:52px; height:52px; }
  .whatsapp-float svg{ width:24px; height:24px; }
}

/* ---------- FAQ ---------- */
.faq-list{ max-width:820px; margin-inline:auto; display:flex; flex-direction:column; gap:14px; }
.faq-item{
  background:#fff; border:1px solid var(--ab-line); border-radius:var(--radius-sm); padding:6px 24px;
}
.faq-item summary{
  cursor:pointer; list-style:none; padding:18px 0; font-family:var(--font-display); font-weight:700;
  color:var(--ab-navy); display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-icon{ position:relative; width:18px; height:18px; flex-shrink:0; }
.faq-icon::before, .faq-icon::after{
  content:""; position:absolute; background:var(--ab-blue); border-radius:2px; transition:transform .2s ease;
}
.faq-icon::before{ width:100%; height:2px; top:8px; left:0; }
.faq-icon::after{ width:2px; height:100%; top:0; left:8px; }
.faq-item[open] .faq-icon::after{ transform:scaleY(0); }
.faq-item p{ padding-bottom:20px; margin:0; color:var(--ab-slate); }

/* ---------- Associate / partner cards ---------- */
.associate-card{ text-align:center; }
.associate-logo{
  height:100px; display:flex; align-items:center; justify-content:center; margin-bottom:18px;
  border-radius:var(--radius-sm); overflow:hidden;
}
.associate-logo img{ max-height:100%; max-width:100%; object-fit:contain; }
.associate-logo.is-photo{ height:150px; }
.associate-logo.is-photo img{ width:100%; height:100%; object-fit:cover; }
.associate-card p{ font-size:.85rem; color:var(--ab-blue); font-weight:600; margin:0; }
.associate-card .card-link{ display:inline-flex; margin-top:12px; }

/* ---------- Portfolio intro & impact sections ---------- */
.portfolio-intro{ max-width:74ch; margin-inline:auto; text-align:center; }
.portfolio-intro p{ font-size:1.05rem; color:var(--ab-slate); }
.portfolio-quote{
  margin:28px auto 0; padding:24px 28px; max-width:64ch; border-left:3px solid var(--ab-blue);
  background:var(--ab-sky-tint); border-radius:0 var(--radius-md) var(--radius-md) 0;
  font-family:var(--font-display); font-weight:600; font-size:1.1rem; color:var(--ab-navy); text-align:left;
}
.portfolio-regions{ display:flex; flex-wrap:wrap; gap:12px; justify-content:center; }
.portfolio-regions span{
  padding:10px 20px; border-radius:999px; background:#fff; border:1px solid var(--ab-line);
  font-weight:600; font-size:.92rem; color:var(--ab-navy);
}
.portfolio-closing{ max-width:74ch; margin-inline:auto; text-align:center; }
.portfolio-closing p{ color:rgba(255,255,255,.85); font-size:1.02rem; }
.portfolio-closing h2{ color:#fff; }

/* ---------- Portfolio case-study detail page ---------- */
.portfolio-detail{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start; max-width:1000px; margin-inline:auto; }
.portfolio-detail h2{ font-size:1.4rem; margin-bottom:18px; }
.portfolio-detail-focus p{ color:var(--ab-slate); line-height:1.7; margin:0; }
@media (max-width:900px){ .portfolio-detail{ grid-template-columns:1fr; } }

/* ---------- Book Appointment page ---------- */
.management-cta-row{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; margin-top:40px; }
.management-services{ display:flex; flex-direction:column; max-width:900px; margin-inline:auto; }
.management-service-row{
  display:flex; gap:24px; padding:40px 0; border-bottom:1px solid var(--ab-line); scroll-margin-top:110px;
}
.management-service-row:last-child{ border-bottom:none; padding-bottom:0; }
.management-service-row .icon-badge{ margin-bottom:0; }
.management-service-row h2{ font-size:1.35rem; margin-bottom:10px; }
.management-service-row .check-list{ margin-top:18px; margin-bottom:0; }
@media (max-width:640px){ .management-service-row{ flex-direction:column; gap:16px; } }
.management-disclaimer{
  max-width:74ch; margin:48px auto 0; padding:22px 26px; border:1px solid var(--ab-line); border-radius:var(--radius-md); background:#fff;
}
.management-disclaimer p{ margin:0; font-size:.92rem; color:var(--ab-slate); }
.management-disclaimer strong{ color:var(--ab-navy); }

/* ---------- Contact page ---------- */
.contact-methods{ grid-template-columns:repeat(4,1fr); }
.contact-method{ text-align:center; }
.contact-method .icon-badge{ margin-inline:auto; }
.contact-method h3{ font-size:1.05rem; margin-bottom:6px; }
.contact-method p{ margin:0; font-size:.88rem; color:var(--ab-slate); }
@media (max-width:1000px){ .contact-methods{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .contact-methods{ grid-template-columns:1fr; } }

.contact-split{ display:grid; grid-template-columns:1fr 1.1fr; gap:48px; align-items:start; }
.contact-visual{ position:relative; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-md); min-height:360px; }
.contact-visual img{ width:100%; height:100%; min-height:360px; object-fit:cover; display:block; }
.contact-visual-note{
  position:absolute; left:20px; right:20px; bottom:20px; background:#fff; border-radius:var(--radius-md);
  padding:16px 18px; box-shadow:var(--shadow-md); display:flex; flex-direction:column; gap:2px;
}
.contact-visual-note strong{ color:var(--ab-navy); font-size:.95rem; }
.contact-visual-note span{ color:var(--ab-slate); font-size:.85rem; }

.contact-form-card{ background:#fff; border:1px solid var(--ab-line); border-radius:var(--radius-lg); padding:36px; box-shadow:var(--shadow-md); }
@media (max-width:480px){
  .contact-form-card{ padding:22px; }
}
.contact-form{ display:flex; flex-direction:column; gap:6px; }
.contact-form label{ font-size:.85rem; font-weight:700; color:var(--ab-navy); margin-top:14px; }
.contact-form input, .contact-form textarea{
  font:inherit; padding:13px 16px; border-radius:var(--radius-sm); border:1px solid var(--ab-line);
  background:var(--ab-bg); transition:border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus{
  outline:none; border-color:var(--ab-blue); box-shadow:0 0 0 4px rgba(46,99,214,.12);
}
.contact-form button{ margin-top:22px; align-self:flex-start; }
.form-notice{ padding:14px 18px; border-radius:var(--radius-sm); font-weight:600; font-size:.9rem; margin-bottom:20px; }
.form-success{ background:#e5f6ec; color:#1c7a42; }
.form-error{ background:#fdeaea; color:#b3261e; }

/* Blend the embedded WPForms form into the site's own input/button styling.
   WPForms' "classic" CSS (display:table/float layout, calc(100% - 160px)
   widths) fights with a simple stacked form, so those are reset explicitly
   rather than just adding spacing on top of them. */
.contact-form-card .wpforms-form{ font-family:inherit; }
.contact-form-card .wpforms-field-container{ display:block !important; width:100% !important; float:none !important; }
.contact-form-card .wpforms-field{
  display:block !important; float:none !important; clear:both;
  width:100% !important; max-width:100% !important;
  padding:0 !important; margin:0 0 18px 0 !important;
}
.contact-form-card .wpforms-field:last-child{ margin-bottom:0 !important; }
.contact-form-card .wpforms-field-label{ font-size:.85rem; font-weight:700; color:var(--ab-navy); margin:0 0 6px !important; min-width:0 !important; }
.contact-form-card .wpforms-field input[type="text"],
.contact-form-card .wpforms-field input[type="email"],
.contact-form-card .wpforms-field textarea,
.contact-form-card .wpforms-field select{
  font:inherit; display:block; width:100% !important; max-width:100% !important;
  padding:13px 16px !important; border-radius:var(--radius-sm); border:1px solid var(--ab-line) !important;
  background:var(--ab-bg); transition:border-color .2s ease, box-shadow .2s ease;
}
.contact-form-card .wpforms-field select{ height:auto !important; cursor:pointer; }
.contact-form-card .wpforms-field input:focus,
.contact-form-card .wpforms-field textarea:focus,
.contact-form-card .wpforms-field select:focus{
  outline:none; border-color:var(--ab-blue) !important; box-shadow:0 0 0 4px rgba(46,99,214,.12);
}
.contact-form-card .wpforms-submit-container{ margin-top:8px !important; }
.contact-form-card button.wpforms-submit{
  font:inherit; font-weight:700; cursor:pointer; border:none; border-radius:var(--radius-sm);
  padding:14px 28px; background:var(--ab-blue); color:#fff; transition:background .2s ease;
}
.contact-form-card button.wpforms-submit:hover{ background:var(--ab-navy); }
.contact-form-card .wpforms-error-container, .contact-form-card .wpforms-field-description{ font-size:.82rem; }
@media (max-width:900px){ .contact-split{ grid-template-columns:1fr; } .contact-visual{ order:-1; } }

/* ---------- Misc ---------- */
::selection{ background:var(--ab-blue); color:#fff; }
