/* ================================================================
   IVORY — Premium Ocean Teal Healthcare Design
   Warm white + ocean teal accent + soft navy
   Whitespace-heavy, rounded, gentle shadows
   Modern dental aesthetic
   ================================================================ */

:root{
  --iv-white:#FEFDFB;--iv-white2:#FAF8F5;--iv-cream:#F3EFE8;
  --iv-accent:#60AFCA;--iv-accent-dk:#457D9A;--iv-accent-lt:rgba(96,175,202,.08);--iv-accent-grad:linear-gradient(90deg,rgba(96,175,202,1) 0%,rgba(69,125,154,1) 50%,rgba(96,175,202,1) 100%);
  --iv-navy:#1A2A4A;--iv-navy-lt:#2C3E6B;--iv-navy-bg:#111D38;
  --iv-text:#1A2030;--iv-text-lt:#4A5568;--iv-text-xlt:#8892A4;
  --iv-border:#E2DED6;

  --iv-ff:'Inter',-apple-system,sans-serif;
  --iv-ff-serif:'Playfair Display',Georgia,serif;

  --iv-max:1200px;--iv-gut:clamp(1.25rem,4vw,3rem);
  --iv-sec:clamp(5rem,10vw,7rem);
  --iv-r:12px;--iv-r-lg:20px;--iv-r-xl:28px;--iv-r-full:9999px;
  --iv-sh:0 2px 16px rgba(0,0,0,.04);--iv-sh-md:0 8px 32px rgba(0,0,0,.06);--iv-sh-lg:0 16px 48px rgba(0,0,0,.08);
  --iv-dur:.3s;--iv-ease:cubic-bezier(.4,0,.2,1);
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
img,svg{display:block;max-width:100%}
button{font:inherit;cursor:pointer;border:0;background:none}
a{text-decoration:none;color:inherit}
ul,ol{list-style:none}

body.ivory{
  font-family:var(--iv-ff);font-size:1rem;line-height:1.8;
  color:var(--iv-text);background:var(--iv-white);
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}

/* Typography */
body.ivory h1,body.ivory h2,body.ivory h3,body.ivory h4{
  font-family:var(--iv-ff-serif);line-height:1.2;color:var(--iv-text);margin-bottom:1rem;
}
body.ivory h1{font-size:clamp(2.5rem,5vw,4.5rem);font-weight:600;letter-spacing:-.02em}
body.ivory h2{font-size:clamp(1.75rem,3.5vw,2.75rem);font-weight:600;letter-spacing:-.01em}
body.ivory h3{font-size:clamp(1.125rem,2vw,1.5rem);font-family:var(--iv-ff);font-weight:600}
body.ivory p{color:var(--iv-text-lt);font-size:1.0625rem;line-height:1.85;margin-bottom:1.25rem}
body.ivory a{color:var(--iv-accent);transition:color var(--iv-dur) var(--iv-ease)}
body.ivory a:hover{color:var(--iv-accent-dk)}
body.ivory blockquote{border-left:3px solid var(--iv-accent);padding:1.75rem 1.75rem 1.75rem 2rem;margin:2rem 0;border-radius:0 var(--iv-r-lg) var(--iv-r-lg) 0;background:var(--iv-accent-lt)}
body.ivory blockquote p{font-size:1.125rem;font-style:italic;color:var(--iv-text)!important;margin:0;line-height:1.75}
body.ivory blockquote h2{color:var(--iv-text)!important;font-size:clamp(1.5rem,3vw,2.25rem)}
body.ivory .iv-sec--navy blockquote,body.ivory .iv-sec--accent blockquote{background:rgba(255,255,255,.95)!important;border-left-color:var(--iv-accent)}
body.ivory .iv-split__body ul,body.ivory .iv-sec ul:not([class]),body.ivory .iv-anim>ul{list-style:none!important;padding:0;margin:0 0 1.25rem}
body.ivory .iv-split__body ul li,body.ivory .iv-sec ul:not([class]) li,body.ivory .iv-anim>ul li{color:var(--iv-text-lt);font-size:1.0625rem;line-height:1.75;margin-bottom:.75rem;padding-left:2rem;position:relative}
body.ivory .iv-split__body ul li::marker,body.ivory .iv-sec ul:not([class]) li::marker,body.ivory .iv-anim>ul li::marker{content:none!important}
body.ivory .iv-split__body ul li::before,body.ivory .iv-sec ul:not([class]) li::before,body.ivory .iv-anim>ul li::before{content:'';position:absolute;left:0;top:.35rem;width:1.25rem;height:1.25rem;border-radius:50%;background:var(--iv-accent-lt);background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A9D8F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");background-repeat:no-repeat;background-position:center;background-size:.75rem}
body.ivory .iv-sec--navy .iv-split__body ul li,body.ivory .iv-sec--navy ul:not([class]) li{color:rgba(255,255,255,.9)!important}
body.ivory .iv-sec--navy .iv-split__body ul li::before,body.ivory .iv-sec--navy ul:not([class]) li::before{background:rgba(96,175,202,.25);background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237EDDD2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");background-repeat:no-repeat;background-position:center;background-size:.75rem}

.iv-w{max-width:var(--iv-max);margin:0 auto;padding:0 var(--iv-gut)}

/* Buttons — rounded pill style */
.iv-btn{
  display:inline-flex;align-items:center;gap:.5rem;
  padding:.875rem 2rem;font-family:var(--iv-ff);font-size:.8125rem;
  font-weight:600;letter-spacing:.06em;text-transform:uppercase;
  border-radius:var(--iv-r-full);border:2px solid transparent;
  transition:all var(--iv-dur) var(--iv-ease);
  text-decoration:none!important;
}
.iv-btn:hover{text-decoration:none!important}
.iv-btn--accent{background:var(--iv-accent-grad);color:#fff!important;border-color:var(--iv-accent)}
.iv-btn--accent:hover{background:var(--iv-accent-dk);border-color:var(--iv-accent-dk);color:#fff!important;transform:translateY(-2px);box-shadow:0 8px 24px rgba(96,175,202,.35)}
.iv-btn--sage{background:var(--iv-accent-grad);color:#fff!important;border-color:var(--iv-accent)}
.iv-btn--sage:hover{background:var(--iv-accent-dk);border-color:var(--iv-accent-dk);color:#fff!important;transform:translateY(-2px);box-shadow:0 8px 24px rgba(96,175,202,.35)}
.iv-btn--navy{background:linear-gradient(135deg,#0E1A30,#172B4D);color:#fff!important;border:1px solid rgba(255,255,255,.08)}
.iv-btn--navy:hover{background:linear-gradient(135deg,#111D38,#1E3358);transform:translateY(-2px);color:#fff!important}
.iv-btn--outline{background:transparent;color:var(--iv-navy)!important;border-color:var(--iv-border)}
.iv-btn--outline:hover{border-color:var(--iv-accent);color:var(--iv-accent)!important;transform:translateY(-2px)}
.iv-btn--white{background:#fff;color:var(--iv-navy)!important;border-color:#fff}
.iv-btn--white:hover{background:var(--iv-cream);color:var(--iv-navy)!important;transform:translateY(-2px)}
.iv-btn--ghost{background:transparent;color:#fff!important;border-color:rgba(255,255,255,.35)}
.iv-btn--ghost:hover{background:#fff;color:var(--iv-navy)!important;border-color:#fff}
/* Ghost buttons on light backgrounds (default/white + cream sections) need dark text + dark border for visibility */
.iv-sec:not([class*="iv-sec--navy"]):not([class*="iv-sec--accent"]) .iv-btn--ghost{color:var(--iv-navy)!important;border-color:var(--iv-navy)!important;background:transparent}
.iv-sec:not([class*="iv-sec--navy"]):not([class*="iv-sec--accent"]) .iv-btn--ghost:hover{background:var(--iv-navy);color:#fff!important;border-color:var(--iv-navy)}
/* Ghost buttons inside cards on navy/accent sections need navy text for visibility (cards have light bg) */
.iv-sec--navy .iv-card__body .iv-btn--ghost,.iv-sec--accent .iv-card__body .iv-btn--ghost{color:var(--iv-navy)!important;border-color:var(--iv-navy)!important;background:transparent}
.iv-sec--navy .iv-card__body .iv-btn--ghost:hover,.iv-sec--accent .iv-card__body .iv-btn--ghost:hover{background:var(--iv-navy);color:#fff!important;border-color:var(--iv-navy)}
/* Ghost buttons on DARK image/overlay backgrounds (banner, services showcase) need white text + white border for visibility */
.iv-sec:not([class*="iv-sec--navy"]):not([class*="iv-sec--accent"]) .iv-banner .iv-btn--ghost,
.iv-sec--svc .iv-btn--ghost{background:rgba(255,255,255,.08)!important;color:#fff!important;border-color:rgba(255,255,255,.55)!important;backdrop-filter:blur(4px)}
.iv-sec:not([class*="iv-sec--navy"]):not([class*="iv-sec--accent"]) .iv-banner .iv-btn--ghost:hover,
.iv-sec--svc .iv-btn--ghost:hover{background:#fff!important;color:var(--iv-navy)!important;border-color:#fff!important}
.iv-btns{display:flex;gap:1rem;flex-wrap:wrap;align-items:center;min-width:0}
.iv-btns .iv-btn{white-space:nowrap;flex-shrink:1;min-width:0}
@media(max-width:640px){
  .iv-btn{white-space:normal;text-align:center}
  .iv-btns .iv-btn{white-space:normal;min-width:0;max-width:100%}
}

/* Navigation — opaque floating card for clear logo visibility */
.iv-nav{
  position:fixed;top:12px;left:50%;transform:translateX(-50%);z-index:100;
  width:calc(100% - 40px);max-width:1400px;
  background:rgba(255,255,255,.97);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
  border-radius:var(--iv-r-full);padding:.4rem 1.5rem;
  box-shadow:0 2px 20px rgba(0,0,0,.08);
  transition:all var(--iv-dur) var(--iv-ease);
}
.iv-nav.scrolled{box-shadow:0 4px 30px rgba(0,0,0,.12);top:6px;background:#fff}
.iv-nav__inner{display:flex;align-items:center;justify-content:space-between;min-height:44px}
.iv-nav__left{display:flex;align-items:center;gap:1.5rem}
.iv-nav__left a{color:var(--iv-text-lt);font-size:.8125rem;font-weight:500;display:flex;align-items:center;gap:.375rem}
.iv-nav__left a:hover{color:var(--iv-accent)}
.iv-nav__left svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2}
body.ivory .iv-nav__logo img{height:34px;width:auto;filter:brightness(.15);display:block}
.iv-nav__right{display:flex;align-items:center;gap:1.25rem}
.iv-nav__right a:not(.iv-btn){color:var(--iv-text-lt);font-size:.8125rem;font-weight:500}
.iv-nav__right a:not(.iv-btn):hover{color:var(--iv-accent)}
.iv-nav__cta{padding:.5rem 1.25rem!important;font-size:.75rem!important;line-height:1}
.iv-nav__cta:hover{transform:none!important;box-shadow:0 4px 14px rgba(96,175,202,.32)!important}
.iv-nav__menu{display:flex;align-items:center;gap:.375rem;color:var(--iv-text);font-size:.8125rem;font-weight:600;background:transparent;border:0;cursor:pointer;padding:.375rem;margin-left:.25rem}
.iv-nav__bars{width:20px;display:flex;flex-direction:column;gap:4px}
.iv-nav__bars span{height:2px;background:var(--iv-text);border-radius:2px;transition:all var(--iv-dur)}
.iv-nav__bars.open span:nth-child(1){transform:rotate(45deg) translate(4px,4px)}
.iv-nav__bars.open span:nth-child(2){opacity:0}
.iv-nav__bars.open span:nth-child(3){transform:rotate(-45deg) translate(4px,-4px)}

/* Menu overlay — light */
.iv-overlay{
  position:fixed;inset:0;z-index:99;background:var(--iv-white);
  display:flex;align-items:center;justify-content:center;
  opacity:0;visibility:hidden;transition:all .4s var(--iv-ease);
  padding:6rem 2rem 3rem;overflow-y:auto;
}
.iv-overlay.open{opacity:1;visibility:visible}
.iv-overlay__grid{display:grid;grid-template-columns:repeat(5,1fr);gap:3rem;max-width:var(--iv-max);width:100%}
.iv-overlay__col h3{font-family:var(--iv-ff-serif);font-size:1.5rem;font-weight:500;color:var(--iv-accent)!important;margin-bottom:1.5rem}
.iv-overlay__col a{display:block;color:var(--iv-text);font-size:.9375rem;font-weight:500;padding:.5rem 0;border-bottom:1px solid var(--iv-border);transition:all var(--iv-dur)}
.iv-overlay__col a:hover{color:var(--iv-accent);padding-left:.5rem}

/* ================================================================
   HERO — Full-width with floating content card
   ================================================================ */
.iv-hero{position:relative;padding:10rem 0 var(--iv-sec);overflow:hidden}
.iv-hero__bg{position:absolute;inset:0;z-index:0}
.iv-hero__bg img{width:100%;height:100%;object-fit:cover}
.iv-hero__bg::after{content:'';position:absolute;inset:0;background:linear-gradient(135deg,rgba(254,253,251,.95) 0%,rgba(254,253,251,.8) 45%,rgba(254,253,251,.3) 100%)}
.iv-hero__content{
  position:relative;z-index:2;
  display:grid;grid-template-columns:1fr .85fr;gap:4rem;align-items:center;
}
.iv-hero h1{margin-bottom:.75rem}
.iv-hero__tag{
  display:inline-block;font-size:.6875rem;font-weight:600;
  text-transform:uppercase;letter-spacing:.12em;
  color:var(--iv-accent);margin-bottom:1.25rem;
  background:var(--iv-accent-lt);padding:.375rem 1rem;border-radius:var(--iv-r-full);
}
.iv-hero__sub{font-family:var(--iv-ff-serif);font-size:clamp(1rem,1.8vw,1.25rem);color:var(--iv-text-lt);font-style:italic;margin-bottom:2rem}
.iv-hero__sub em{color:var(--iv-accent)}
.iv-hero__list{margin-bottom:2.5rem}
.iv-hero__list li{
  color:var(--iv-text-lt);font-size:.9375rem;
  padding:.625rem 0;border-bottom:1px solid var(--iv-border);
  display:flex;align-items:center;gap:.75rem;
}
.iv-hero__list li::before{content:'';width:6px;height:6px;background:var(--iv-accent);border-radius:50%}
.iv-hero__img{position:relative}
.iv-hero__img img{border-radius:var(--iv-r-xl);box-shadow:var(--iv-sh-lg)}
.iv-hero__img::after{
  content:'';position:absolute;bottom:-16px;right:-16px;
  width:60%;height:60%;border:2px solid var(--iv-accent);
  border-radius:var(--iv-r-xl);z-index:-1;opacity:.25;
}
/* Decorative accent line */
.iv-hero::after{
  content:'';position:absolute;bottom:0;left:0;right:0;height:4px;
  background:linear-gradient(90deg,var(--iv-accent),var(--iv-navy),var(--iv-accent));opacity:.15;
}
/* Floating decorative ring — top right */
.iv-hero--full::before{
  content:'';position:absolute;top:12%;right:7%;z-index:1;
  width:200px;height:200px;border-radius:50%;
  border:2px solid rgba(96,175,202,.25);
  animation:heroRing 8s ease-in-out infinite;pointer-events:none;
}
/* Second floating ring — bottom left */
.iv-hero--full .iv-hero__bg::before{
  content:'';position:absolute;bottom:10%;left:5%;z-index:1;
  width:120px;height:120px;border-radius:50%;
  background:radial-gradient(circle,rgba(96,175,202,.12) 0%,transparent 70%);
  animation:heroRing 10s ease-in-out 2s infinite;pointer-events:none;
}
@keyframes heroRing{
  0%,100%{transform:translateY(0) scale(1);opacity:.6}
  50%{transform:translateY(-18px) scale(1.06);opacity:1}
}

/* ================================================================
   SECTIONS
   ================================================================ */
.iv-sec{padding:var(--iv-sec) 0;position:relative}
.iv-sec:not([class*="iv-sec--"]) + .iv-sec:not([class*="iv-sec--"]){padding-top:0}
main:has(> .iv-sec:last-child:not([class*="iv-sec--"])) + .iv-cta{margin-top:0}
.iv-sec--cream{background:var(--iv-cream)}
.iv-sec--navy{background:linear-gradient(160deg,#0A1323 0%,#111D38 35%,#172B4D 65%,#0E1A30 100%);color:#fff}
.iv-sec--navy h2,.iv-sec--navy h3,.iv-sec--navy h4{color:#fff!important}
.iv-sec--navy p{color:rgba(255,255,255,.9)!important}
.iv-sec--navy p strong,.iv-sec--navy p em,.iv-sec--navy li,.iv-sec--navy li strong{color:#fff!important}
.iv-sec--navy a{color:#8DCAE0}
.iv-sec--navy .iv-hdr__tag{color:#8DCAE0!important}
.iv-sec--accent{background:var(--iv-accent-grad);color:#fff}
.iv-sec--accent h2,.iv-sec--accent h3,.iv-sec--accent h4{color:#fff!important}
.iv-sec--accent p{color:rgba(255,255,255,.9)!important}
.iv-sec--accent p strong,.iv-sec--accent p em,.iv-sec--accent li,.iv-sec--accent li strong{color:#fff!important}
.iv-sec--accent strong,.iv-sec--accent em,.iv-sec--accent div strong{color:#fff!important}
.iv-sec--accent a{color:#fff!important;text-decoration:underline}
body.ivory .iv-sec--accent .iv-btn{text-decoration:none!important}
body.ivory .iv-sec--accent .iv-btn--white{color:var(--iv-navy)!important}
body.ivory .iv-sec--accent .iv-btn--ghost{color:#fff!important;border-color:rgba(255,255,255,.6)}
body.ivory .iv-sec--accent .iv-btn--ghost:hover{background:#fff;color:var(--iv-navy)!important}

.iv-hdr{margin-bottom:17px}
.iv-hdr h2{margin-bottom:.5rem}
.iv-hdr>*:last-child{margin-bottom:0}
.iv-hdr--center{text-align:center;max-width:none;margin-left:auto;margin-right:auto}
.iv-hdr__tag{
  display:inline-block;font-size:.6875rem;font-weight:600;
  text-transform:uppercase;letter-spacing:.12em;
  color:var(--iv-accent);margin-bottom:9px;
}
.iv-hdr p{max-width:none!important;margin-bottom:0}
.iv-hdr--center p{margin-left:auto;margin-right:auto;max-width:none!important}
.iv-sec p[style*="max-width"]{max-width:none!important}
.iv-sec .iv-hdr+p[style*="margin"],.iv-sec .iv-hdr+p.iv-anim{margin-top:0!important}

/* Split */
.iv-split{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}
.iv-split--flip .iv-split__img{order:2}
.iv-split__img{border-radius:var(--iv-r-xl);overflow:hidden;box-shadow:var(--iv-sh-md)}
.iv-split__img img{width:100%;height:auto;max-height:460px;object-fit:cover;display:block}

/* Bio block — full container width text (used on doctor pages) */
.iv-bio{width:100%}
.iv-bio>p{margin-bottom:1.25rem}
.iv-bio>p:last-child{margin-bottom:0}

/* Knowbox — featured "Did You Know?" callout */
.iv-knowbox{
  position:relative;width:100%;
  background:var(--iv-white);
  border:1px solid var(--iv-border);
  border-radius:var(--iv-r-xl);
  box-shadow:var(--iv-sh);
  padding:3.5rem;
  overflow:hidden;
}
.iv-knowbox::before{
  content:'';position:absolute;top:0;left:0;right:0;height:4px;
  background:linear-gradient(90deg,var(--iv-accent) 0%,#8DCAE0 50%,var(--iv-accent) 100%);
}
.iv-knowbox::after{
  content:'';position:absolute;top:-80px;right:-80px;width:280px;height:280px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(96,175,202,.07) 0%,rgba(96,175,202,0) 70%);
  pointer-events:none;
}
.iv-knowbox__badge{
  display:inline-flex;align-items:center;gap:.5rem;
  padding:.5rem 1rem;
  background:var(--iv-accent-lt);
  color:var(--iv-accent);
  border-radius:var(--iv-r-full);
  font-size:.8125rem;font-weight:600;
  text-transform:uppercase;letter-spacing:.1em;
  margin-bottom:1.25rem;
  position:relative;z-index:1;
}
.iv-knowbox__badge svg{stroke:var(--iv-accent)}
.iv-knowbox__title{
  font-family:var(--iv-ff-serif);
  font-size:clamp(1.5rem,2.4vw,2rem)!important;
  line-height:1.25;
  margin-bottom:1.5rem!important;
  color:var(--iv-text)!important;
  position:relative;z-index:1;
}
.iv-knowbox__body{position:relative;z-index:1}
.iv-knowbox__body p{margin-bottom:1.125rem;color:var(--iv-text-lt)}
.iv-knowbox__body p:last-child{margin-bottom:0}
.iv-knowbox__body a{color:var(--iv-accent)!important;text-decoration:underline;text-underline-offset:3px}
.iv-knowbox__quote{
  position:relative;
  margin:1.75rem 0;
  padding:1.75rem 1.75rem 1.75rem 4rem;
  background:var(--iv-cream);
  border-left:4px solid var(--iv-accent);
  border-radius:var(--iv-r);
}
.iv-knowbox__quote svg{
  position:absolute;top:1.25rem;left:1.25rem;
  fill:var(--iv-accent);opacity:.35;
}
.iv-knowbox__quote span{
  display:block;
  font-family:var(--iv-ff-serif);
  font-size:1.25rem;font-style:italic;
  color:var(--iv-text);
  line-height:1.5;
  margin-bottom:.625rem;
}
.iv-knowbox__quote cite{
  display:block;
  font-size:.8125rem;font-style:normal;
  color:var(--iv-text-lt);
  letter-spacing:.02em;
}
.iv-knowbox__cta{margin-top:1.75rem;position:relative;z-index:1}
@media (max-width:768px){
  .iv-knowbox{padding:2rem 1.5rem}
  .iv-knowbox__quote{padding:1.5rem 1.25rem 1.5rem 1.25rem}
  .iv-knowbox__quote svg{position:static;display:block;margin-bottom:.75rem}
}

/* Grid */
.iv-grid{display:grid;gap:1.5rem}
.iv-g2{grid-template-columns:repeat(4,1fr)}
.iv-g2>*{grid-column:span 2}
.iv-g2>*:last-child:nth-child(2n + 1){grid-column:2 / span 2}
.iv-g3{grid-template-columns:repeat(6,1fr)}
.iv-g3>*{grid-column:span 2}
.iv-g3>*:last-child:nth-child(3n + 1){grid-column:3 / span 2}
.iv-g3>*:nth-last-child(2):nth-child(3n + 1){grid-column:2 / span 2}
.iv-g4{grid-template-columns:repeat(4,1fr)}
.iv-g5{grid-template-columns:repeat(5,1fr)}

/* Feature card — light, rounded */
.iv-feat{
  padding:2.25rem;border-radius:var(--iv-r-lg);
  background:var(--iv-white);border:1px solid var(--iv-border);
  box-shadow:var(--iv-sh);transition:all var(--iv-dur) var(--iv-ease);
  position:relative;overflow:hidden;
}
.iv-feat::before{content:'';position:absolute;top:0;left:0;width:3px;height:100%;background:var(--iv-accent);opacity:0;transition:opacity var(--iv-dur)}
.iv-feat:hover{border-color:var(--iv-accent);transform:translateY(-3px);box-shadow:var(--iv-sh-md)}
.iv-feat:hover::before{opacity:1}
.iv-feat__icon{
  width:52px;height:52px;margin-bottom:1.25rem;
  background:var(--iv-accent-lt);border-radius:var(--iv-r);
  display:flex;align-items:center;justify-content:center;
}
.iv-feat__icon svg{width:24px;height:24px;stroke:var(--iv-accent);fill:none;stroke-width:1.5}
.iv-feat h3{margin-bottom:.5rem;color:var(--iv-text)!important}
.iv-feat p{font-size:.9375rem;margin:0;color:var(--iv-text-lt)!important}
.iv-feat a{color:var(--iv-accent)!important}

/* Navy feat */
.iv-feat--navy{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.08)}
.iv-feat--navy:hover{border-color:var(--iv-accent);background:rgba(255,255,255,.08)}
.iv-feat--navy h3{color:#fff!important}
.iv-feat--navy p{color:rgba(255,255,255,.65)!important}
.iv-feat--navy a{color:#8DCAE0!important}
.iv-feat--navy .iv-feat__icon{background:rgba(96,175,202,.12)}

/* Image card */
.iv-card{display:flex;flex-direction:column;border-radius:var(--iv-r-xl);overflow:hidden;background:var(--iv-white);box-shadow:var(--iv-sh);transition:all var(--iv-dur) var(--iv-ease);border:1px solid var(--iv-border);height:100%}
.iv-card:hover{transform:translateY(-5px);box-shadow:var(--iv-sh-lg);border-color:var(--iv-accent)}
.iv-card__img{position:relative;width:100%;height:0;padding-bottom:66.66%;overflow:hidden;background:var(--iv-cream);flex-shrink:0}
.iv-card__img img{position:absolute;top:0;left:0;display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;object-position:center;transition:transform .5s var(--iv-ease)}
.iv-card:hover .iv-card__img img{transform:scale(1.03)}
.iv-card__body{padding:1.75rem;display:flex;flex-direction:column;flex:1 1 auto}
.iv-card__body h3{margin-bottom:.375rem;color:var(--iv-text)!important}
.iv-card__body p{font-size:.9375rem;margin-bottom:.75rem;color:var(--iv-text-lt)!important}
.iv-card__body a{color:var(--iv-accent)!important}
.iv-card__body .iv-btn{margin-top:auto!important;align-self:flex-start}
.iv-card__body>.iv-btns{margin-top:auto!important}
.iv-card__body>.iv-btns .iv-btn{margin-top:0!important}
.iv-card__body .iv-btn--accent{color:#fff!important}
.iv-card__body .iv-btn--accent:hover{color:#fff!important}
.iv-card__body .iv-btn--navy{color:#fff!important}
.iv-card__body .iv-btn--navy:hover{color:#fff!important}
.iv-card__body .iv-btn--white{color:var(--iv-navy)!important}
.iv-card__body .iv-btn--white:hover{color:var(--iv-navy)!important}
.iv-card__body .iv-btn--ghost{color:var(--iv-navy)!important;border-color:var(--iv-border)!important}
.iv-card__body .iv-btn--ghost:hover{border-color:var(--iv-accent)!important;color:var(--iv-accent)!important}
/* Ensure cards on dark (navy/accent) sections keep dark text for readability */
.iv-sec--navy .iv-card__body h3,.iv-sec--accent .iv-card__body h3{color:var(--iv-text)!important}
.iv-sec--navy .iv-card__body p,.iv-sec--accent .iv-card__body p{color:var(--iv-text-lt)!important}
.iv-sec--navy .iv-card__body p strong,.iv-sec--navy .iv-card__body p em,.iv-sec--navy .iv-card__body li,.iv-sec--navy .iv-card__body li strong,.iv-sec--accent .iv-card__body p strong,.iv-sec--accent .iv-card__body p em,.iv-sec--accent .iv-card__body li,.iv-sec--accent .iv-card__body li strong{color:var(--iv-text)!important}
.iv-sec--navy .iv-card__body a,.iv-sec--accent .iv-card__body a{color:var(--iv-accent)!important}

/* Doctor card */
.iv-doc{text-align:center;border-radius:var(--iv-r-xl);overflow:hidden;background:var(--iv-white);box-shadow:var(--iv-sh);transition:all var(--iv-dur) var(--iv-ease)}
.iv-sec--navy .iv-doc{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08)}
.iv-doc:hover{transform:translateY(-4px);box-shadow:var(--iv-sh-lg)}
.iv-sec--navy .iv-doc:hover{border-color:var(--iv-accent)}
.iv-doc__img{aspect-ratio:1;overflow:hidden}
.iv-doc__img img{width:100%;height:100%;object-fit:cover;transition:transform .5s var(--iv-ease)}
.iv-doc:hover .iv-doc__img img{transform:scale(1.03)}
.iv-doc__body{padding:1.25rem}
.iv-doc__body h3{font-size:1.0625rem;margin-bottom:.25rem}
.iv-doc__role{color:var(--iv-accent);font-size:.8125rem;font-weight:600;margin-bottom:.5rem}
.iv-doc__body p{font-size:.8125rem}
.iv-sec--navy .iv-doc__body h3{color:#fff!important}
.iv-sec--navy .iv-doc__body p{color:rgba(255,255,255,.6)}

/* ── LOGOS — Auto-scroll marquee ── */
.iv-sec--logos{
  background:linear-gradient(135deg,#1A2A4A 0%,#22355E 50%,#1A2A4A 100%);
  padding:5rem 0 5.5rem;overflow:hidden;position:relative;
}
.iv-sec--logos .iv-hdr{margin-bottom:3rem}
.iv-sec--logos .iv-hdr h2{color:#fff!important}
.iv-logos-marquee{
  position:relative;margin-top:0;
  /* overflow clipped horizontally by parent section; leave vertical visible so hover scale isn't cut */
  overflow:visible;
  background:transparent;
  border-radius:0;
  padding:.75rem 0;
  box-shadow:none;
}
.iv-logos-marquee::before,.iv-logos-marquee::after{
  content:'';position:absolute;top:0;bottom:0;width:140px;z-index:2;pointer-events:none;
}
.iv-logos-marquee::before{left:0;background:linear-gradient(90deg,#1A2A4A 0%,transparent 100%)}
.iv-logos-marquee::after{right:0;background:linear-gradient(90deg,transparent 0%,#1A2A4A 100%)}
.iv-logos-marquee__track{
  display:flex;align-items:center;gap:5.5rem;
  width:max-content;animation:logoScroll 28s linear infinite;
}
.iv-logos-marquee__track:hover{animation-play-state:paused}
body.ivory .iv-logos-marquee__track img{
  height:70px;width:auto;flex-shrink:0;
  opacity:1;filter:none;
  transition:opacity .4s ease,filter .4s ease,transform .4s ease;
}
body.ivory .iv-logos-marquee__track img:hover{opacity:1;filter:brightness(1.15);transform:scale(1.08)}
@keyframes logoScroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* ── SERVICES — Dark glassmorphism showcase ── */
.iv-sec--svc{
  background:linear-gradient(160deg,#0A1323 0%,#111D38 35%,#172B4D 65%,#0E1A30 100%);
  position:relative;overflow:hidden;padding:5rem 0;
}
.iv-svc-orb{position:absolute;border-radius:50%;pointer-events:none}
.iv-svc-orb--a{width:600px;height:600px;top:-250px;right:-150px;background:radial-gradient(circle,rgba(96,175,202,.07) 0%,transparent 70%)}
.iv-svc-orb--b{width:400px;height:400px;bottom:-150px;left:-100px;background:radial-gradient(circle,rgba(141,202,224,.05) 0%,transparent 70%)}
.iv-svc-grid{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:.6}
.iv-sec--svc .iv-hdr__tag{color:#8DCAE0;background:transparent;border-color:transparent}
.iv-sec--svc h2{color:#fff!important}
.iv-svc{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;list-style:none}
.iv-svc li{
  display:flex;align-items:center;gap:.75rem;
  padding:1.1rem 1.35rem;
  background:rgba(255,255,255,.04);backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,.07);border-radius:.875rem;
  font-size:.875rem;font-weight:500;color:rgba(255,255,255,.7);
  transition:all .35s cubic-bezier(.4,0,.2,1);position:relative;cursor:default;
}
.iv-svc li:hover{
  background:rgba(255,255,255,.09);border-color:rgba(96,175,202,.4);
  transform:translateY(-3px);
  box-shadow:0 8px 32px rgba(96,175,202,.1),0 0 0 1px rgba(96,175,202,.12);
}
.iv-svc__dot{
  width:7px;height:7px;border-radius:50%;flex-shrink:0;
  background:var(--iv-accent);
  box-shadow:0 0 8px rgba(96,175,202,.35);
  transition:all .35s ease;
}
.iv-svc li:hover .iv-svc__dot{transform:scale(1.4);box-shadow:0 0 14px rgba(96,175,202,.6)}
.iv-svc__arr{
  width:16px;height:16px;margin-left:auto;flex-shrink:0;
  stroke:rgba(96,175,202,.4);stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round;
  transition:all .35s ease;opacity:0;transform:translateX(-6px);
}
.iv-svc li:hover .iv-svc__arr{opacity:1;transform:translateX(0);stroke:rgba(141,202,224,.8)}
.iv-svc li a{color:#8DCAE0;font-weight:500;transition:color .3s ease;flex:1}
.iv-svc li a:hover{color:#fff}
.iv-sec--svc .iv-btn--accent{box-shadow:0 4px 24px rgba(96,175,202,.3)}

/* CTA */
.iv-cta{background:linear-gradient(160deg,#0A1323 0%,#111D38 35%,#172B4D 65%,#0E1A30 100%);padding:4rem 0;position:relative;overflow:hidden;border-radius:var(--iv-r-xl);margin:5rem var(--iv-gut)}
.iv-cta::before{content:'';position:absolute;top:-40%;right:-10%;width:400px;height:400px;border-radius:50%;background:rgba(96,175,202,.06)}
.iv-cta__inner{display:flex;align-items:center;justify-content:space-between;gap:2rem;position:relative;z-index:1;padding:0 4rem}
.iv-cta h2{color:#fff!important;margin-bottom:.5rem;font-size:clamp(1.5rem,3vw,2rem)}
.iv-cta p{color:rgba(255,255,255,.9)!important;margin:0}
.iv-cta .iv-btns{flex-shrink:0}

/* Footer — navy bg, ALL text white */
.iv-footer{background:linear-gradient(160deg,#0A1323 0%,#111D38 35%,#172B4D 65%,#0E1A30 100%);color:#fff;padding:5rem 0 2rem}
.iv-footer__top{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:3rem;margin-bottom:4rem}
.iv-footer__brand img{height:36px;filter:brightness(0) invert(1);margin-bottom:1.5rem}
.iv-footer__brand p{font-size:.875rem!important;line-height:1.8;margin-bottom:1.5rem;color:rgba(255,255,255,.8)!important}
.iv-footer__social{display:flex;gap:.625rem}
.iv-footer__social a{width:36px;height:36px;border:1px solid rgba(255,255,255,.2);border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all var(--iv-dur)}
.iv-footer__social a:hover{background:var(--iv-accent);border-color:var(--iv-accent)}
.iv-footer__social svg{width:14px;height:14px;fill:#fff}
.iv-footer__col h4{color:#fff!important;font-family:var(--iv-ff);font-size:.8125rem!important;font-weight:700;text-transform:uppercase;letter-spacing:.1em;margin-bottom:1.25rem}
.iv-footer__col li{margin-bottom:.5rem}
.iv-footer__col a{color:rgba(255,255,255,.8)!important;font-size:.875rem!important;transition:color var(--iv-dur)}
.iv-footer__col a:hover{color:var(--iv-accent)!important}
.iv-footer__col p{font-size:.875rem!important;margin-bottom:.25rem;color:rgba(255,255,255,.8)!important;line-height:1.7}
.iv-footer__phone a{color:var(--iv-accent)!important;font-size:.875rem!important;font-weight:700}
.iv-footer__hours{font-size:.875rem!important;color:rgba(255,255,255,.8)!important;margin-bottom:1rem}
.iv-footer__bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:2rem;font-size:.8125rem;color:rgba(255,255,255,.6);text-align:center}
.iv-footer__bottom p{color:rgba(255,255,255,.6)!important;font-size:.8125rem!important}
.iv-footer__bottom a{color:rgba(255,255,255,.7)!important}
.iv-footer__bottom a:hover{color:var(--iv-accent)!important}

/* ================================================================
   V2 UNIQUE COMPONENTS
   ================================================================ */

/* Centered hero variant — dramatic gradient with teal tint */
.iv-hero--full{min-height:92vh;display:flex;flex-direction:column;justify-content:center;padding:10rem 0 3rem}
.iv-hero--full .iv-hero__bg::after{background:linear-gradient(160deg,rgba(20,32,60,.9) 0%,rgba(25,40,72,.72) 40%,rgba(96,175,202,.2) 100%)}
.iv-hero__center{position:relative;z-index:2;text-align:center;max-width:720px;margin:0 auto}
.iv-hero__center h1{color:#fff!important;margin-bottom:.75rem}
/* Decorative line under h1 */
.iv-hero__center h1::after{
  content:'';display:block;width:80px;height:3px;
  background:linear-gradient(90deg,var(--iv-accent),rgba(96,175,202,.2));
  margin:1.25rem auto 0;border-radius:2px;
}
.iv-hero__center .iv-hero__sub{color:rgba(255,255,255,.8)}
.iv-hero__center .iv-hero__sub em{color:#8DCAE0}
.iv-hero__center .iv-hero__tag{background:rgba(96,175,202,.2);color:#8DCAE0;border:1px solid rgba(96,175,202,.35);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}

/* Hero stats bar — glassmorphism pill */
.iv-hero__stats{
  position:relative;z-index:2;display:flex;justify-content:center;gap:3rem;
  margin:3rem auto 0;padding:1.5rem 3rem;
  background:rgba(255,255,255,.07);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
  border-radius:var(--iv-r-full);border:1px solid rgba(255,255,255,.12);
  max-width:560px;
}
.iv-hero__stat{text-align:center;color:#fff}
.iv-hero__stat strong{display:block;font-family:var(--iv-ff-serif);font-size:1.75rem;font-weight:700;margin-bottom:.25rem;color:#8DCAE0}
.iv-hero__stat span{font-size:.75rem;text-transform:uppercase;letter-spacing:.1em;opacity:.8}

/* ================================================================
   PRIME HERO — Modern split layout with image card & depth
   ================================================================ */

/* Dark gradient background (no full-bg image) */
.iv-hero--prime{
  background:linear-gradient(160deg,#0A1323 0%,#111D38 35%,#172B4D 65%,#0E1A30 100%)!important;
  min-height:100vh;display:flex;align-items:center;
  padding:8rem 0 3rem!important;
}
.iv-hero--prime::after{display:none!important}
.iv-hero--prime::before{display:none!important}

/* Background glows */
.iv-hero__glow{position:absolute;border-radius:50%;pointer-events:none;z-index:0}
.iv-hero__glow--a{
  width:500px;height:500px;top:-8%;left:-5%;
  background:radial-gradient(circle,rgba(96,175,202,.12) 0%,transparent 65%);
  filter:blur(60px);animation:primeGlow 12s ease-in-out infinite alternate;
}
.iv-hero__glow--b{
  width:400px;height:400px;bottom:-10%;right:5%;
  background:radial-gradient(circle,rgba(96,175,202,.08) 0%,transparent 60%);
  filter:blur(50px);animation:primeGlow 15s ease-in-out 3s infinite alternate;
}
@keyframes primeGlow{
  0%{transform:translate(0,0) scale(1);opacity:.5}
  50%{transform:translate(15px,-10px) scale(1.08);opacity:1}
  100%{transform:translate(-10px,15px) scale(.95);opacity:.6}
}

/* Two-column split grid */
.iv-hero-split{
  display:grid;grid-template-columns:1.3fr .9fr;gap:4rem;align-items:center;
  position:relative;z-index:2;
}

/* Left — text content */
.iv-hero-split__text{animation:primeFadeIn .8s cubic-bezier(.16,1,.3,1) both}
.iv-hero--prime .iv-hero__tag{
  display:inline-flex!important;align-items:center;gap:.5rem;
  padding:.5rem 1.25rem;font-size:.6875rem;
  font-weight:600;text-transform:uppercase;letter-spacing:.12em;
  color:#8DCAE0!important;
  background:rgba(96,175,202,.08)!important;
  border:1px solid rgba(96,175,202,.25)!important;
  border-radius:var(--iv-r-full);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  margin-bottom:1.5rem;
}
.iv-hero--prime .iv-hero__tag svg{flex-shrink:0;stroke:#8DCAE0}
.iv-hero--prime h1{
  color:#fff!important;
  font-size:clamp(2.5rem,5vw,3.75rem)!important;
  font-weight:600;line-height:1.12;letter-spacing:-.02em;
  margin-bottom:1.25rem;
}
.iv-hero__h1-em{
  background:linear-gradient(90deg,rgba(96,175,202,1) 0%,rgba(69,125,154,1) 50%,rgba(96,175,202,1) 100%);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;
  background-clip:text;
}
.iv-hero--prime .iv-hero__sub{
  font-family:var(--iv-ff-serif)!important;
  font-size:clamp(1rem,1.8vw,1.25rem)!important;
  color:rgba(255,255,255,.55)!important;font-style:italic;
  margin-bottom:2.5rem!important;max-width:480px;line-height:1.7;
}
.iv-hero--prime .iv-hero__sub em{color:rgba(255,255,255,.6)!important}

/* Buttons in prime hero */
.iv-hero--prime .iv-btns{gap:1rem;flex-wrap:wrap}
.iv-hero--prime .iv-btn{display:inline-flex;align-items:center;gap:.5rem}
.iv-hero--prime .iv-btn svg{flex-shrink:0;max-width:16px;display:inline-block}
.iv-hero--prime .iv-btn--accent{box-shadow:0 4px 24px rgba(96,175,202,.35)}
.iv-hero--prime .iv-btn--accent:hover{box-shadow:0 8px 32px rgba(96,175,202,.5)}
.iv-hero--prime .iv-btn--ghost{border-color:rgba(255,255,255,.2)}
.iv-hero--prime .iv-btn--ghost:hover{
  background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.35);color:#fff!important;
}

/* Right — image card */
.iv-hero-split__img{
  position:relative;
  animation:primeFadeIn .8s cubic-bezier(.16,1,.3,1) .15s both;
}
.iv-hero__card{
  position:relative;z-index:2;
  border-radius:var(--iv-r-xl);overflow:hidden;
  box-shadow:0 25px 60px rgba(0,0,0,.3),0 8px 20px rgba(0,0,0,.15);
  transform:perspective(800px) rotateY(-2deg);
  transition:transform .5s var(--iv-ease),box-shadow .5s var(--iv-ease);
}
.iv-hero__card:hover{
  transform:perspective(800px) rotateY(0deg) translateY(-4px);
  box-shadow:0 30px 70px rgba(0,0,0,.35),0 10px 25px rgba(0,0,0,.2);
}
.iv-hero__card img{width:100%;display:block;aspect-ratio:3/4;object-fit:cover}
.iv-hero__card::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(180deg,transparent 50%,rgba(10,19,35,.35) 100%);
  pointer-events:none;
}

/* Dot grid decoration */
.iv-hero__dots{
  position:absolute;top:-20px;right:-20px;z-index:1;
  width:120px;height:120px;opacity:.6;pointer-events:none;
}

/* Decorative ring */
.iv-hero__ring{
  position:absolute;bottom:-16px;left:-16px;z-index:1;
  width:100px;height:100px;border-radius:50%;
  border:2px solid rgba(96,175,202,.2);
  animation:primeRing 6s ease-in-out infinite;pointer-events:none;
}
@keyframes primeRing{
  0%,100%{transform:translate(0,0) scale(1);opacity:.4}
  50%{transform:translate(6px,-6px) scale(1.05);opacity:.8}
}

/* Floating decorative icons */
.iv-hero__floats{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden}
.iv-hero__fi{position:absolute;stroke:rgba(96,175,202,.14);fill:none}
.iv-hero__fi--1{width:48px;height:48px;top:15%;left:10%;transform:rotate(-12deg);animation:fi1 9s ease-in-out infinite}
.iv-hero__fi--2{width:32px;height:32px;bottom:28%;left:22%;transform:rotate(8deg);animation:fi2 11s ease-in-out 2s infinite}
.iv-hero__fi--3{width:28px;height:28px;top:22%;left:42%;transform:rotate(-20deg);animation:fi3 8s ease-in-out 1s infinite}
.iv-hero__fi--4{width:24px;height:24px;top:55%;left:6%;transform:rotate(45deg);animation:fi4 10s ease-in-out 3s infinite}
.iv-hero__fi--5{width:36px;height:36px;bottom:18%;right:12%;transform:rotate(5deg);animation:fi5 12s ease-in-out .5s infinite}
.iv-hero__fi--6{width:26px;height:26px;top:12%;right:18%;transform:rotate(-8deg);animation:fi6 9s ease-in-out 4s infinite}
.iv-hero__fi--7{width:30px;height:30px;bottom:35%;left:38%;transform:rotate(15deg);animation:fi7 10s ease-in-out 1.5s infinite}

@keyframes fi1{0%,100%{translate:0 0;opacity:.4}50%{translate:6px -14px;opacity:.9}}
@keyframes fi2{0%,100%{translate:0 0;opacity:.3}50%{translate:-8px -10px;opacity:.7}}
@keyframes fi3{0%,100%{translate:0 0;opacity:.35}50%{translate:10px -12px;opacity:.8}}
@keyframes fi4{0%,100%{translate:0 0;opacity:.3}50%{translate:-5px -8px;opacity:.6}}
@keyframes fi5{0%,100%{translate:0 0;opacity:.35}50%{translate:8px -15px;opacity:.85}}
@keyframes fi6{0%,100%{translate:0 0;opacity:.3}50%{translate:-6px -10px;opacity:.7}}
@keyframes fi7{0%,100%{translate:0 0;opacity:.25}50%{translate:5px -12px;opacity:.65}}

/* Subtle curved accent line */
.iv-hero__curve{
  position:absolute;inset:0;z-index:1;pointer-events:none;
  width:100%;height:100%;opacity:.8;
}

/* Entrance animation */
@keyframes primeFadeIn{
  from{opacity:0;transform:translateY(25px)}
  to{opacity:1;transform:translateY(0)}
}

/* Accent section */
.iv-sec--sage{background:var(--iv-accent-grad);color:#fff}

/* Trust bar — solid white text on teal */
.iv-trust{display:flex;justify-content:center;gap:3rem;flex-wrap:wrap}
.iv-trust__item{font-size:.9375rem;font-weight:700;letter-spacing:.03em;display:flex;align-items:center;gap:.5rem;color:#fff!important}
.iv-trust__item span{color:rgba(255,255,255,.8)}

/* ================================================================
   BANNER — Full-width image with overlay card (striking design)
   ================================================================ */
.iv-banner{
  position:relative;border-radius:var(--iv-r-xl);overflow:hidden;
  min-height:400px;display:flex;align-items:center;
  box-shadow:var(--iv-sh-lg);
}
.iv-banner__bg{position:absolute;inset:0;z-index:0}
.iv-banner__bg img{width:100%;height:100%;object-fit:cover}
.iv-banner__bg::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(30,45,82,.92) 0%,rgba(30,45,82,.8) 45%,rgba(30,45,82,.35) 100%);
}
.iv-banner__body{
  position:relative;z-index:2;max-width:720px;padding:3.5rem;
}
body.ivory .iv-banner__body h2{color:#fff!important;margin-bottom:1rem;font-size:clamp(1.25rem,2.1vw,1.875rem);line-height:1.35;font-weight:600;letter-spacing:-.005em}
body.ivory .iv-banner__body p{color:#fff!important;margin-bottom:.75rem;font-size:1.0625rem;line-height:1.7}
body.ivory .iv-banner__body p:last-of-type{margin-bottom:0}
body.ivory .iv-banner__body strong,body.ivory .iv-banner__body em{color:#fff!important}
body.ivory .iv-banner__body a{color:#fff!important;text-decoration:underline}
body.ivory .iv-banner__body a:hover{color:var(--iv-accent)!important}
body.ivory .iv-banner__body ul{list-style:none!important;padding:0!important;margin:.5rem 0 0!important;display:grid;grid-template-columns:1fr 1fr;gap:.5rem 1.5rem}
body.ivory .iv-banner__body ul li{color:#fff!important;font-size:1.0625rem;line-height:1.6;margin:0!important;padding-left:1.75rem!important;position:relative}
body.ivory .iv-banner__body ul li::marker{content:none!important}
body.ivory .iv-banner__body ul li::before{content:'';position:absolute;left:0;top:.55rem;width:1rem;height:1rem;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A9D8F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");background-repeat:no-repeat;background-size:contain}
.iv-banner__accent{
  position:absolute;top:2rem;right:2rem;z-index:2;
  width:80px;height:80px;border-radius:50%;
  background:var(--iv-accent);display:flex;align-items:center;justify-content:center;
  box-shadow:0 8px 24px rgba(96,175,202,.35);
}
.iv-banner__accent svg{width:32px;height:32px;stroke:#fff;fill:none;stroke-width:1.5}

/* Small centered CTA (after banner) */
.iv-cta-small{text-align:center;padding:2rem 0 0}
.iv-cta-small .iv-btn{font-size:.7rem;padding:.5rem 1.5rem}

/* Team carousel — shows 3 cards, slides 1 at a time */
.iv-team-carousel{position:relative;overflow:hidden}
.iv-team-carousel__track{display:flex;gap:1.5rem;transition:transform .5s var(--iv-ease)}
.iv-team-carousel__track .iv-doc{flex:0 0 calc(33.333% - 1rem);max-width:calc(33.333% - 1rem)}
.iv-team-carousel__nav{display:flex;justify-content:center;gap:.75rem;margin-top:2rem}
.iv-team-carousel__btn{width:44px;height:44px;border-radius:50%;border:2px solid var(--iv-border);display:flex;align-items:center;justify-content:center;transition:all var(--iv-dur);background:var(--iv-white)}
.iv-team-carousel__btn:hover{border-color:var(--iv-accent);background:var(--iv-accent);color:#fff}
.iv-team-carousel__btn svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2}

/* FAQ accordion (V2 - rounded, minimal) */
.iv-faq{max-width:780px;margin:0 auto}
.iv-faq__item{border-radius:var(--iv-r-lg);margin-bottom:.75rem;overflow:hidden;background:var(--iv-white);box-shadow:var(--iv-sh);transition:box-shadow var(--iv-dur)}
.iv-faq__item:hover,.iv-faq__item.active{box-shadow:var(--iv-sh-md)}
.iv-faq__q{padding:1.25rem 1.5rem;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-weight:600;font-size:1.0625rem;color:var(--iv-text);transition:color var(--iv-dur);user-select:none}
.iv-faq__q:hover{color:var(--iv-accent)}
.iv-faq__q svg{width:18px;height:18px;stroke:var(--iv-text-xlt);stroke-width:2;fill:none;transition:transform var(--iv-dur);flex-shrink:0}
.iv-faq__item.active .iv-faq__q{color:var(--iv-accent)}
.iv-faq__item.active .iv-faq__q svg{transform:rotate(45deg);stroke:var(--iv-accent)}
.iv-faq__a{max-height:0;overflow:hidden;transition:max-height .4s var(--iv-ease)}
.iv-faq__a__inner{padding:0 1.5rem 1.5rem}
.iv-faq__a__inner p{font-size:.9375rem;color:var(--iv-text-lt);margin:0}
.iv-faq__a__inner a{color:var(--iv-accent);font-weight:600}

/* Animations */
.iv-anim{opacity:0;transform:translateY(24px);transition:opacity .6s var(--iv-ease),transform .6s var(--iv-ease)}
.iv-anim.visible{opacity:1;transform:translateY(0)}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media(max-width:1024px){
  .iv-hero__content{grid-template-columns:1fr;gap:2rem}
  .iv-hero__img{max-width:500px}
  .iv-split{grid-template-columns:1fr;gap:2rem}
  .iv-split--flip .iv-split__img{order:0}
  .iv-g3{grid-template-columns:repeat(4,1fr)}
  .iv-g3>*{grid-column:span 2}
  .iv-g3>*:last-child:nth-child(3n + 1),
  .iv-g3>*:nth-last-child(2):nth-child(3n + 1){grid-column:span 2}
  .iv-g3>*:last-child:nth-child(2n + 1){grid-column:2 / span 2}
  .iv-g4,.iv-g5{grid-template-columns:repeat(2,1fr)}
  .iv-overlay__grid{grid-template-columns:repeat(3,1fr)}
  .iv-footer__top{grid-template-columns:1fr 1fr}
  .iv-svc{grid-template-columns:repeat(3,1fr)}
  .iv-logos-marquee::before,.iv-logos-marquee::after{width:100px}
  .iv-logos-marquee__track{gap:4.5rem}
  body.ivory .iv-logos-marquee__track img{height:60px}
  .iv-cta{margin:3rem 0 0;border-radius:0}
  .iv-cta__inner{padding:0 2rem}
  /* V2 components */
  .iv-banner{min-height:340px}
  .iv-banner__accent{width:64px;height:64px;top:1.5rem;right:1.5rem}
  .iv-banner__accent svg{width:24px;height:24px}
  .iv-team-grid{grid-template-columns:repeat(3,1fr)}
  .iv-team-carousel__track .iv-doc{flex:0 0 calc(33.333% - 1rem);max-width:calc(33.333% - 1rem)}
  .iv-hero__stats{gap:2rem}
  .iv-hero-split{grid-template-columns:1fr 1fr;gap:3rem}
  .iv-hero__card img{aspect-ratio:3/4}
  .iv-trust{gap:2rem}
}
@media(max-width:768px){
  .iv-nav{width:calc(100% - 24px);padding:.5rem 1rem;top:8px}
  .iv-nav__left{display:none}
  .iv-nav__right a:not(.iv-btn):not(.iv-nav__menu){display:none}
  body.ivory .iv-nav__logo img{height:32px}
  .iv-nav__cta{padding:.5rem 1rem!important;font-size:.6875rem!important;white-space:nowrap}
  .iv-g2,.iv-g3{grid-template-columns:1fr}
  .iv-g2>*,.iv-g3>*{grid-column:1 / -1 !important}
  .iv-g5{grid-template-columns:1fr}
  .iv-cta__inner{flex-direction:column;text-align:center;padding:0 var(--iv-gut)}
  .iv-cta h2{font-size:clamp(1.25rem,4vw,1.75rem)}
  .iv-overlay__grid{grid-template-columns:1fr 1fr}
  .iv-footer__top{grid-template-columns:1fr}
  .iv-svc{grid-template-columns:repeat(2,1fr)}
  .iv-sec--logos{padding:3.5rem 0 4rem}
  .iv-sec--logos .iv-hdr{margin-bottom:2.25rem}
  .iv-logos-marquee{padding:0}
  .iv-logos-marquee::before,.iv-logos-marquee::after{width:60px}
  .iv-logos-marquee__track{gap:3.25rem}
  body.ivory .iv-logos-marquee__track img{height:48px}
  .iv-btns{flex-direction:column;align-items:stretch}
  .iv-btn{justify-content:center;text-align:center}
  .iv-hero{padding-top:8rem}
  .iv-hero__img::after{display:none}
  /* V2 components */
  .iv-hero--full{min-height:75vh;padding:7rem 0 2rem}
  .iv-hero--full::before{width:120px;height:120px;top:10%;right:5%}
  .iv-hero__stats{flex-wrap:wrap;gap:1.5rem;max-width:100%;padding:1.25rem 2rem;border-radius:var(--iv-r-lg)}
  .iv-hero__stat strong{font-size:1.375rem}
  .iv-hero--prime{min-height:auto!important;padding:7rem 0 3rem!important}
  .iv-hero-split{grid-template-columns:1fr;gap:2.5rem;text-align:center}
  .iv-hero-split__img{max-width:360px;margin:0 auto;order:-1}
  .iv-hero__card{transform:none!important}
  .iv-hero__card img{aspect-ratio:16/10}
  .iv-hero--prime .iv-hero__sub{margin-left:auto;margin-right:auto}
  .iv-hero--prime .iv-btns{justify-content:center}
  .iv-hero__ring,.iv-hero__dots{display:none}
  .iv-hero__fi--3,.iv-hero__fi--4,.iv-hero__fi--7{display:none}
  .iv-team-carousel__track .iv-doc{flex:0 0 calc(50% - .75rem);max-width:calc(50% - .75rem)}
  .iv-trust{flex-direction:column;align-items:center;gap:1rem}
  .iv-banner{min-height:300px}
  .iv-banner__body{padding:2rem;max-width:100%}
  .iv-banner__bg::after{background:linear-gradient(180deg,rgba(30,45,82,.9) 0%,rgba(30,45,82,.75) 100%)}
  .iv-banner__accent{display:none}
  .iv-faq__q{padding:1rem 1.25rem;font-size:1rem}
  .iv-faq__a__inner{padding:0 1.25rem 1.25rem}
  /* Inner page content — clear fixed nav */
  body.ivory.detail-page main{padding-top:5rem}
  body.ivory.detail-page .section{overflow:hidden}
  body.ivory.detail-page .hero-preface-content{padding:0 1rem}
  body.ivory.detail-page .section-container{padding:0 1rem}
  body.ivory.detail-page .row{flex-direction:column}
  body.ivory.detail-page .column{width:100%!important;max-width:100%!important;padding-left:0!important;padding-right:0!important}
  body.ivory.detail-page main img{max-width:100%;height:auto}
}
@media(max-width:480px){
  .iv-g4{grid-template-columns:1fr}
  .iv-nav{padding:.375rem .75rem}
  body.ivory .iv-nav__logo img{height:28px}
  .iv-nav__cta{padding:.4rem .875rem!important;font-size:.625rem!important}
  .iv-nav__menu{font-size:0}
  .iv-nav__bars{width:18px}
  .iv-overlay__grid{grid-template-columns:1fr}
  .iv-svc{grid-template-columns:1fr}
  .iv-sec--svc{padding:3.5rem 0}
  .iv-logos-marquee{padding:0}
  .iv-logos-marquee::before,.iv-logos-marquee::after{width:36px}
  .iv-logos-marquee__track{gap:2.5rem}
  body.ivory .iv-logos-marquee__track img{height:38px}
  body.ivory h1{font-size:clamp(1.75rem,7vw,2.5rem)}
  body.ivory h2{font-size:clamp(1.375rem,5vw,2rem)}
  /* V2 components */
  .iv-hero--full{min-height:auto;padding:5.5rem 0 2rem}
  .iv-hero--full::before{display:none}
  .iv-hero__center h1::after{width:60px;height:2px}
  .iv-hero__stats{gap:.75rem;flex-direction:column;align-items:center;border-radius:var(--iv-r-lg);padding:1rem 1.5rem}
  .iv-hero__stat strong{font-size:1.125rem}
  .iv-hero--prime{padding:5.5rem 0 2rem!important}
  .iv-hero--prime h1{font-size:clamp(1.75rem,8vw,2.5rem)!important}
  .iv-hero-split__img{max-width:280px}
  .iv-hero--prime .iv-btns{flex-direction:column;align-items:stretch}
  .iv-hero__floats{display:none}
  .iv-hero--prime .iv-btn{justify-content:center;text-align:center}
  .iv-team-carousel__track .iv-doc{flex:0 0 calc(85% - .75rem);max-width:calc(85% - .75rem)}
  .iv-banner{min-height:260px}
  .iv-banner__body{padding:1.5rem}
  .iv-banner__body h2{font-size:1.25rem}
}

/* ================================================================
   INNER PAGES — Complete Ivory Design System for Legacy HTML
   Overrides redesign.css using body.ivory.detail-page specificity
   ================================================================ */

/* --- Base Setup --- */
body.ivory.detail-page main{padding-top:0}
body.ivory.detail-page .section{
  position:relative;overflow:hidden;
  font-family:var(--iv-ff);font-size:1rem;line-height:1.8;
  padding:clamp(4rem,8vw,6rem) 0;
}
body.ivory.detail-page main img{max-width:100%;height:100%}
body.ivory.detail-page .section-container{
  max-width:var(--iv-max);margin:0 auto;padding:0 var(--iv-gut);
  position:relative;z-index:2;background:transparent!important;
}
body.ivory.detail-page .section-content{max-width:100%;padding:0}
body.ivory.detail-page .row{display:flex;flex-wrap:wrap;margin:0;max-width:100%}
body.ivory.detail-page .content-row{gap:3rem;align-items:center}
body.ivory.detail-page .column{flex:1;min-width:0;padding:0 1rem}

/* --- Color Schemes — Ivory palette --- */
body.ivory.detail-page .color-scheme-1-background-color{background:var(--iv-white)!important}
body.ivory.detail-page .color-scheme-0-background-color{background:var(--iv-cream)!important}
body.ivory.detail-page .color-scheme-2-background-color,
body.ivory.detail-page .color-scheme-3-background-color,
body.ivory.detail-page .color-scheme-5-background-color,
body.ivory.detail-page .color-scheme-6-background-color{background:linear-gradient(160deg,#0A1323 0%,#111D38 35%,#172B4D 65%,#0E1A30 100%)!important}
body.ivory.detail-page .color-scheme-4-background-color{background:linear-gradient(160deg,#0A1323 0%,#111D38 35%,#172B4D 65%,#0E1A30 100%)!important}
body.ivory.detail-page .color-scheme-9-background-color{background:var(--iv-cream)!important}
body.ivory.detail-page .color-scheme-10-background-color{background:var(--iv-cream)!important}

/* color-scheme-10 = cream with dark text (same as 0/9) */
body.ivory.detail-page .color-scheme-10 h1,
body.ivory.detail-page .color-scheme-10 h2{
  font-family:var(--iv-ff-serif)!important;color:var(--iv-text)!important;font-weight:600;
}
body.ivory.detail-page .color-scheme-10 h3{
  font-family:var(--iv-ff)!important;color:var(--iv-text)!important;font-weight:600;
}
body.ivory.detail-page .color-scheme-10 p,
body.ivory.detail-page .color-scheme-10 li{color:var(--iv-text-lt)!important;opacity:1!important}
body.ivory.detail-page .color-scheme-10 a{color:var(--iv-accent)!important}
body.ivory.detail-page .color-scheme-10 span{color:inherit!important}

/* Light scheme text (1, 0) */
body.ivory.detail-page .color-scheme-1 h1,
body.ivory.detail-page .color-scheme-1 h2,
body.ivory.detail-page .color-scheme-0 h1,
body.ivory.detail-page .color-scheme-0 h2{
  font-family:var(--iv-ff-serif)!important;color:var(--iv-text)!important;font-weight:600;
}
body.ivory.detail-page .color-scheme-1 h3,
body.ivory.detail-page .color-scheme-0 h3{
  font-family:var(--iv-ff)!important;color:var(--iv-text)!important;font-weight:600;
}
body.ivory.detail-page .color-scheme-1 p,
body.ivory.detail-page .color-scheme-1 li,
body.ivory.detail-page .color-scheme-0 p,
body.ivory.detail-page .color-scheme-0 li{color:var(--iv-text-lt)!important;opacity:1!important}
body.ivory.detail-page .color-scheme-1 a,
body.ivory.detail-page .color-scheme-0 a{color:var(--iv-accent)!important}

/* Dark scheme text (2, 3, 4, 5, 6) */
body.ivory.detail-page .color-scheme-2 h1,body.ivory.detail-page .color-scheme-2 h2,
body.ivory.detail-page .color-scheme-3 h1,body.ivory.detail-page .color-scheme-3 h2,
body.ivory.detail-page .color-scheme-4 h1,body.ivory.detail-page .color-scheme-4 h2,
body.ivory.detail-page .color-scheme-5 h1,body.ivory.detail-page .color-scheme-5 h2,
body.ivory.detail-page .color-scheme-6 h1,body.ivory.detail-page .color-scheme-6 h2{
  font-family:var(--iv-ff-serif)!important;color:#fff!important;font-weight:600;
}
body.ivory.detail-page .color-scheme-2 h3,body.ivory.detail-page .color-scheme-3 h3,
body.ivory.detail-page .color-scheme-4 h3,body.ivory.detail-page .color-scheme-5 h3,
body.ivory.detail-page .color-scheme-6 h3{
  font-family:var(--iv-ff)!important;color:#fff!important;font-weight:600;
}
body.ivory.detail-page .color-scheme-2 p,body.ivory.detail-page .color-scheme-2 li,
body.ivory.detail-page .color-scheme-3 p,body.ivory.detail-page .color-scheme-3 li,
body.ivory.detail-page .color-scheme-4 p,body.ivory.detail-page .color-scheme-4 li,
body.ivory.detail-page .color-scheme-5 p,body.ivory.detail-page .color-scheme-5 li,
body.ivory.detail-page .color-scheme-6 p,body.ivory.detail-page .color-scheme-6 li{
  color:rgba(255,255,255,.85)!important;opacity:1!important;
}
body.ivory.detail-page .color-scheme-2 a,body.ivory.detail-page .color-scheme-3 a,
body.ivory.detail-page .color-scheme-4 a,body.ivory.detail-page .color-scheme-5 a,
body.ivory.detail-page .color-scheme-6 a{color:#8DCAE0!important}
/* Dark scheme — catch-all for direct text in divs/spans (not just p/li) */
body.ivory.detail-page .color-scheme-2 .section-richtext,
body.ivory.detail-page .color-scheme-3 .section-richtext,
body.ivory.detail-page .color-scheme-4 .section-richtext,
body.ivory.detail-page .color-scheme-5 .section-richtext,
body.ivory.detail-page .color-scheme-6 .section-richtext{color:rgba(255,255,255,.85)!important}
body.ivory.detail-page .color-scheme-2 .section-description,
body.ivory.detail-page .color-scheme-3 .section-description,
body.ivory.detail-page .color-scheme-4 .section-description,
body.ivory.detail-page .color-scheme-5 .section-description,
body.ivory.detail-page .color-scheme-6 .section-description{color:rgba(255,255,255,.85)!important}
body.ivory.detail-page .color-scheme-2 span,
body.ivory.detail-page .color-scheme-3 span,
body.ivory.detail-page .color-scheme-4 span,
body.ivory.detail-page .color-scheme-5 span,
body.ivory.detail-page .color-scheme-6 span{color:inherit!important}
body.ivory.detail-page .color-scheme-2 strong,
body.ivory.detail-page .color-scheme-3 strong,
body.ivory.detail-page .color-scheme-4 strong,
body.ivory.detail-page .color-scheme-5 strong,
body.ivory.detail-page .color-scheme-6 strong{color:inherit!important}

/* color-scheme-9 = cream with dark text (used for quotes/alternating) */
body.ivory.detail-page .color-scheme-9 h1,
body.ivory.detail-page .color-scheme-9 h2,
body.ivory.detail-page .color-scheme-9 h3{
  font-family:var(--iv-ff-serif)!important;color:var(--iv-text)!important;font-weight:600;
}
body.ivory.detail-page .color-scheme-9 p,
body.ivory.detail-page .color-scheme-9 li{color:var(--iv-text-lt)!important;opacity:1!important}
body.ivory.detail-page .color-scheme-9 a{color:var(--iv-accent)!important}

/* --- Typography — all inner page sections --- */
body.ivory.detail-page .section h1{
  font-family:var(--iv-ff-serif)!important;font-size:clamp(2rem,5vw,3.5rem)!important;
  font-weight:600;letter-spacing:-.02em;line-height:1.15;margin-bottom:1rem;
}
body.ivory.detail-page .section h2{
  font-family:var(--iv-ff-serif)!important;font-size:clamp(1.5rem,3.5vw,2.5rem)!important;
  font-weight:600;letter-spacing:-.01em;line-height:1.2;margin-bottom:1rem;
}
body.ivory.detail-page .section h3{
  font-family:var(--iv-ff)!important;font-size:clamp(1.125rem,2vw,1.5rem)!important;
  font-weight:600;line-height:1.3;margin-bottom:.75rem;
}
body.ivory.detail-page .section p{
  font-size:1.0625rem!important;line-height:1.85!important;margin-bottom:1.25rem;
}
body.ivory.detail-page .section a:not(.button){
  color:var(--iv-accent)!important;font-weight:500;transition:color var(--iv-dur) var(--iv-ease);
}
body.ivory.detail-page .section a:not(.button):hover{color:var(--iv-accent-dk)!important}
body.ivory.detail-page .section strong{font-weight:700;color:inherit}

/* Section headings — with teal accent line (matches homepage .iv-hdr pattern) */
body.ivory.detail-page .section-heading{text-align:center;margin-bottom:3rem}
body.ivory.detail-page .section-heading .title{
  display:block;font-family:var(--iv-ff-serif)!important;
  font-size:clamp(1.75rem,4vw,2.75rem)!important;font-weight:600;
}
body.ivory.detail-page .section-heading .title::after{
  content:'';display:block;width:60px;height:3px;
  background:linear-gradient(90deg,var(--iv-accent),rgba(96,175,202,.2));
  margin:1rem auto 0;border-radius:2px;
}
body.ivory.detail-page .section-heading .subtitle{
  display:block;font-family:var(--iv-ff-serif)!important;
  font-size:clamp(1rem,2vw,1.25rem)!important;font-weight:400;font-style:italic;
  margin-top:.75rem;opacity:.7;
}
/* Dark section heading accent — lighter teal line */
body.ivory.detail-page .color-scheme-2 .section-heading .title::after,
body.ivory.detail-page .color-scheme-3 .section-heading .title::after,
body.ivory.detail-page .color-scheme-4 .section-heading .title::after,
body.ivory.detail-page .color-scheme-5 .section-heading .title::after,
body.ivory.detail-page .color-scheme-6 .section-heading .title::after{
  background:linear-gradient(90deg,#8DCAE0,rgba(141,202,224,.15));
}

/* Subpage heroes now use the same .iv-hero--prime HTML as homepage — no extra CSS needed */

/* --- Image styling — rounded, shadowed --- */
body.ivory.detail-page .section figure,
body.ivory.detail-page .section .figure{
  border-radius:var(--iv-r-xl);overflow:hidden;
}
body.ivory.detail-page .section figure img,
body.ivory.detail-page .section .figure img{
  width:100%;height:auto;display:block;border-radius:var(--iv-r-xl);
}
body.ivory.detail-page .textblock-image-section figure,
body.ivory.detail-page .textblock-columns-2-section figure{
  border-radius:var(--iv-r-xl);overflow:hidden;box-shadow:var(--iv-sh-md);
}
body.ivory.detail-page .textblock-image-section figure img,
body.ivory.detail-page .textblock-columns-2-section figure img{
  border-radius:0;
}

/* --- Textblock sections — premium split layouts (matches homepage .iv-split) --- */
body.ivory.detail-page .textblock-section{position:relative}
body.ivory.detail-page .textblock-image-section .content-row,
body.ivory.detail-page .textblock-image-section>.section-container>.section-content>.row{
  display:flex;gap:4rem;align-items:center;
}
body.ivory.detail-page .textblock-image-section .column.textblock{flex:1.1}
body.ivory.detail-page .textblock-image-section .column.figure{
  flex:0.9;position:relative;
}
/* Decorative offset border on images (matches homepage .iv-hero__card::after) */
body.ivory.detail-page .textblock-image-section .column.figure figure{
  position:relative;
}
body.ivory.detail-page .textblock-image-section .column.figure figure::after{
  content:'';position:absolute;bottom:-8px;right:-8px;
  width:100%;height:100%;border:2px solid var(--iv-accent);
  border-radius:var(--iv-r-xl);z-index:-1;opacity:.3;
  transition:opacity var(--iv-dur) var(--iv-ease);pointer-events:none;
}
body.ivory.detail-page .textblock-image-section .column.figure figure:hover::after{
  opacity:.55;
}
/* Image hover zoom (matches homepage image hover) */
body.ivory.detail-page .textblock-image-section figure img{
  transition:transform .5s var(--iv-ease)!important;
}
body.ivory.detail-page .textblock-image-section figure:hover img{
  transform:scale(1.03);
}
/* Dark bg textblock-image: offset border in lighter teal */
body.ivory.detail-page .textblock-image-section[class*="color-scheme-2"] .column.figure figure::after,
body.ivory.detail-page .textblock-image-section[class*="color-scheme-3"] .column.figure figure::after,
body.ivory.detail-page .textblock-image-section[class*="color-scheme-4"] .column.figure figure::after{
  border-color:#8DCAE0;opacity:.2;
}

/* Textblock columns 2 — side by side content (enhanced split) */
body.ivory.detail-page .textblock-columns-2-section .content-row{
  display:flex;gap:4rem;align-items:center;
}
/* Textblock columns 2 figure accent */
body.ivory.detail-page .textblock-columns-2-section .column figure{
  position:relative;
}
body.ivory.detail-page .textblock-columns-2-section .column figure::after{
  content:'';position:absolute;bottom:-8px;right:-8px;
  width:100%;height:100%;border:2px solid var(--iv-accent);
  border-radius:var(--iv-r-xl);z-index:-1;opacity:.25;
  transition:opacity var(--iv-dur) var(--iv-ease);pointer-events:none;
}
body.ivory.detail-page .textblock-columns-2-section .column figure:hover::after{opacity:.45}
body.ivory.detail-page .textblock-columns-2-section figure img{
  transition:transform .5s var(--iv-ease)!important;
}
body.ivory.detail-page .textblock-columns-2-section figure:hover img{
  transform:scale(1.03);
}
/* Dark bg columns-2: suppress accent border or make lighter */
body.ivory.detail-page .textblock-columns-2-section[class*="color-scheme-2"] .column figure::after,
body.ivory.detail-page .textblock-columns-2-section[class*="color-scheme-3"] .column figure::after,
body.ivory.detail-page .textblock-columns-2-section[class*="color-scheme-4"] .column figure::after{
  border-color:#8DCAE0;opacity:.15;
}

/* Textblock columns 3 — premium card grid (matches homepage .iv-feat) */
body.ivory.detail-page .textblock-columns-3-section .content-row{
  display:grid!important;grid-template-columns:repeat(3,1fr);gap:1.5rem;
}
body.ivory.detail-page .textblock-columns-3-section .column{
  background:var(--iv-white)!important;border-radius:var(--iv-r-lg)!important;
  padding:2.25rem!important;box-shadow:var(--iv-sh)!important;
  border:1px solid var(--iv-border)!important;
  transition:all var(--iv-dur) var(--iv-ease)!important;
  position:relative;overflow:hidden;
}
/* Left accent line (matches homepage .iv-feat::before) */
body.ivory.detail-page .textblock-columns-3-section .column::before{
  content:'';position:absolute;top:0;left:0;
  width:3px;height:100%;background:var(--iv-accent);
  opacity:0;transition:opacity var(--iv-dur) var(--iv-ease);
}
body.ivory.detail-page .textblock-columns-3-section .column:hover{
  transform:translateY(-3px);box-shadow:var(--iv-sh-md)!important;
  border-color:var(--iv-accent)!important;
}
body.ivory.detail-page .textblock-columns-3-section .column:hover::before{opacity:1}
body.ivory.detail-page .textblock-columns-3-section .column h3{
  font-family:var(--iv-ff)!important;font-weight:600!important;margin-bottom:.5rem;
}
body.ivory.detail-page .textblock-columns-3-section .column .image{
  border-radius:var(--iv-r);overflow:hidden;margin-bottom:1rem;
}
/* Dark bg columns-3 cards */
body.ivory.detail-page .textblock-columns-3-section[class*="color-scheme-2"] .column,
body.ivory.detail-page .textblock-columns-3-section[class*="color-scheme-3"] .column,
body.ivory.detail-page .textblock-columns-3-section[class*="color-scheme-4"] .column{
  background:rgba(255,255,255,.05)!important;border-color:rgba(255,255,255,.1)!important;
  box-shadow:none!important;
}
body.ivory.detail-page .textblock-columns-3-section[class*="color-scheme-2"] .column:hover,
body.ivory.detail-page .textblock-columns-3-section[class*="color-scheme-3"] .column:hover,
body.ivory.detail-page .textblock-columns-3-section[class*="color-scheme-4"] .column:hover{
  background:rgba(255,255,255,.08)!important;border-color:var(--iv-accent)!important;
}
body.ivory.detail-page .textblock-columns-3-section[class*="color-scheme-2"] .column::before,
body.ivory.detail-page .textblock-columns-3-section[class*="color-scheme-3"] .column::before,
body.ivory.detail-page .textblock-columns-3-section[class*="color-scheme-4"] .column::before{
  background:#8DCAE0;
}

/* --- Buttons — Ivory pill style --- */
body.ivory.detail-page .section a.button{
  display:inline-flex!important;align-items:center;gap:.5rem;
  padding:.875rem 2rem!important;
  background:var(--iv-accent)!important;
  color:#fff!important;border:2px solid var(--iv-accent)!important;
  border-radius:var(--iv-r-full)!important;
  font-family:var(--iv-ff)!important;font-size:.8125rem!important;font-weight:600!important;
  letter-spacing:.06em!important;text-transform:uppercase!important;
  transition:all var(--iv-dur) var(--iv-ease)!important;
  min-width:auto;
}
body.ivory.detail-page .section a.button:hover{
  background:var(--iv-accent-dk)!important;border-color:var(--iv-accent-dk)!important;
  transform:translateY(-2px);box-shadow:0 8px 24px rgba(96,175,202,.35)!important;
}
body.ivory.detail-page .section a.button .button-text{
  color:#fff!important;font-weight:600!important;
}
body.ivory.detail-page .buttons-container{
  display:flex;gap:1rem;flex-wrap:wrap;margin-top:1.5rem;
}
/* Ghost button on dark backgrounds */
body.ivory.detail-page .color-scheme-2 a.button,
body.ivory.detail-page .color-scheme-3 a.button,
body.ivory.detail-page .color-scheme-4 a.button,
body.ivory.detail-page .color-scheme-5 a.button,
body.ivory.detail-page .color-scheme-6 a.button{
  background:transparent!important;border-color:rgba(255,255,255,.35)!important;
}
body.ivory.detail-page .color-scheme-2 a.button:hover,
body.ivory.detail-page .color-scheme-3 a.button:hover,
body.ivory.detail-page .color-scheme-4 a.button:hover,
body.ivory.detail-page .color-scheme-5 a.button:hover,
body.ivory.detail-page .color-scheme-6 a.button:hover{
  background:#fff!important;color:var(--iv-navy)!important;border-color:#fff!important;
}

/* --- Blockquote / Quote sections — premium testimonial style --- */
body.ivory.detail-page .quote-section{position:relative}
/* Decorative large quotation mark on quote sections */
body.ivory.detail-page .quote-section .section-container::before{
  content:'\201C';position:absolute;top:-.5rem;left:var(--iv-gut);
  font-family:var(--iv-ff-serif);font-size:8rem;line-height:1;
  color:var(--iv-accent);opacity:.12;pointer-events:none;z-index:1;
}
body.ivory.detail-page .section blockquote,
body.ivory.detail-page .quote-container blockquote{
  border-left:3px solid var(--iv-accent)!important;
  padding:2rem 2.5rem 2rem 2.25rem!important;margin:2rem 0!important;
  border-radius:0 var(--iv-r-lg) var(--iv-r-lg) 0!important;
  background:var(--iv-accent-lt)!important;
  position:relative;
}
body.ivory.detail-page .section blockquote p{
  font-size:1.1875rem!important;font-style:italic;
  color:var(--iv-text)!important;margin:0!important;line-height:1.8!important;
}
body.ivory.detail-page .section blockquote h2{
  color:var(--iv-text)!important;font-size:clamp(1.375rem,3vw,2rem)!important;
  font-style:italic;font-weight:500;line-height:1.5;
}
/* Blockquote in dark sections — glassmorphism card */
body.ivory.detail-page .color-scheme-2 blockquote,
body.ivory.detail-page .color-scheme-3 blockquote,
body.ivory.detail-page .color-scheme-4 blockquote,
body.ivory.detail-page .color-scheme-5 blockquote,
body.ivory.detail-page .color-scheme-6 blockquote{
  background:rgba(255,255,255,.06)!important;border-left-color:#8DCAE0!important;
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,.08)!important;border-left:3px solid #8DCAE0!important;
  border-radius:0 var(--iv-r-lg) var(--iv-r-lg) 0!important;
}
body.ivory.detail-page .color-scheme-2 blockquote p,
body.ivory.detail-page .color-scheme-3 blockquote p,
body.ivory.detail-page .color-scheme-4 blockquote p,
body.ivory.detail-page .color-scheme-5 blockquote p,
body.ivory.detail-page .color-scheme-6 blockquote p{
  color:rgba(255,255,255,.9)!important;
}
body.ivory.detail-page .color-scheme-2 blockquote h2,
body.ivory.detail-page .color-scheme-3 blockquote h2,
body.ivory.detail-page .color-scheme-4 blockquote h2,
body.ivory.detail-page .color-scheme-5 blockquote h2,
body.ivory.detail-page .color-scheme-6 blockquote h2{
  color:#fff!important;font-style:italic;font-weight:500;
}
/* Dark quote section — decorative quote mark in light teal */
body.ivory.detail-page .color-scheme-2.quote-section .section-container::before,
body.ivory.detail-page .color-scheme-3.quote-section .section-container::before,
body.ivory.detail-page .color-scheme-4.quote-section .section-container::before,
body.ivory.detail-page .color-scheme-5.quote-section .section-container::before,
body.ivory.detail-page .color-scheme-6.quote-section .section-container::before{
  color:#8DCAE0;opacity:.1;
}
body.ivory.detail-page .color-scheme-9 blockquote{
  background:rgba(96,175,202,.08)!important;border-left-color:var(--iv-accent)!important;
}
body.ivory.detail-page .color-scheme-9 blockquote h2{
  color:var(--iv-text)!important;font-style:italic;font-weight:500;
}

/* --- Timeline sections — premium process steps with connecting line --- */
body.ivory.detail-page .timeline-section .timeline-wrapper{
  counter-reset:tl;max-width:860px;margin:0 auto;
  position:relative;padding-left:36px;
}
/* Vertical connecting line */
body.ivory.detail-page .timeline-section .timeline-wrapper::before{
  content:'';position:absolute;top:0;left:25px;bottom:0;
  width:2px;background:linear-gradient(180deg,var(--iv-accent),rgba(96,175,202,.15));
  border-radius:1px;
}
body.ivory.detail-page .timeline-section .timeline-item{
  margin-bottom:2.5rem;position:relative;
}
body.ivory.detail-page .timeline-section .timeline-item.has-icon{counter-increment:tl}
body.ivory.detail-page .timeline-section .timeline-item.has-icon .timeline-item-container{
  position:relative;
}
body.ivory.detail-page .timeline-section .timeline-item.has-icon .timeline-item-container::before{
  content:counter(tl)!important;display:flex!important;align-items:center;justify-content:center;
  width:52px!important;height:52px!important;border-radius:50%!important;
  background:var(--iv-accent)!important;color:#fff!important;
  font-size:1.25rem!important;font-weight:700!important;margin-bottom:1.25rem!important;
  box-shadow:0 4px 16px rgba(96,175,202,.3);
  position:relative;z-index:2;
  margin-left:-36px;
}
body.ivory.detail-page .timeline-section .timeline-item-content{
  background:var(--iv-white);border-radius:var(--iv-r-lg);
  padding:2rem;box-shadow:var(--iv-sh);border:1px solid var(--iv-border);
  transition:all var(--iv-dur) var(--iv-ease);
  position:relative;overflow:hidden;
}
/* Left accent line on hover */
body.ivory.detail-page .timeline-section .timeline-item-content::before{
  content:'';position:absolute;top:0;left:0;
  width:3px;height:100%;background:var(--iv-accent);
  opacity:0;transition:opacity var(--iv-dur) var(--iv-ease);
}
body.ivory.detail-page .timeline-section .timeline-item-content:hover{
  box-shadow:var(--iv-sh-md);border-color:var(--iv-accent);
  transform:translateX(4px);
}
body.ivory.detail-page .timeline-section .timeline-item-content:hover::before{opacity:1}
body.ivory.detail-page .timeline-section .timeline-item-title{
  font-family:var(--iv-ff)!important;font-size:clamp(1.125rem,2vw,1.5rem)!important;
  font-weight:600;margin-bottom:.5rem;color:var(--iv-text)!important;
}
body.ivory.detail-page .timeline-section .timeline-item-description{
  font-size:.9375rem!important;color:var(--iv-text-lt)!important;line-height:1.8!important;
}
body.ivory.detail-page .timeline-section .timeline-item-image{
  border-radius:var(--iv-r);overflow:hidden;margin-top:1rem;
}
/* Timeline on dark backgrounds */
body.ivory.detail-page .timeline-section.color-scheme-2 .timeline-wrapper::before,
body.ivory.detail-page .timeline-section.color-scheme-3 .timeline-wrapper::before,
body.ivory.detail-page .timeline-section.color-scheme-4 .timeline-wrapper::before{
  background:linear-gradient(180deg,#8DCAE0,rgba(141,202,224,.1));
}
body.ivory.detail-page .timeline-section.color-scheme-2 .timeline-item-content,
body.ivory.detail-page .timeline-section.color-scheme-3 .timeline-item-content,
body.ivory.detail-page .timeline-section.color-scheme-4 .timeline-item-content{
  background:rgba(255,255,255,.05)!important;border-color:rgba(255,255,255,.1)!important;
  box-shadow:none;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);
}
body.ivory.detail-page .timeline-section.color-scheme-2 .timeline-item-content::before,
body.ivory.detail-page .timeline-section.color-scheme-3 .timeline-item-content::before,
body.ivory.detail-page .timeline-section.color-scheme-4 .timeline-item-content::before{
  background:#8DCAE0;
}
body.ivory.detail-page .timeline-section.color-scheme-2 .timeline-item-content:hover,
body.ivory.detail-page .timeline-section.color-scheme-3 .timeline-item-content:hover,
body.ivory.detail-page .timeline-section.color-scheme-4 .timeline-item-content:hover{
  background:rgba(255,255,255,.08)!important;border-color:var(--iv-accent)!important;
}
body.ivory.detail-page .timeline-section.color-scheme-2 .timeline-item-title,
body.ivory.detail-page .timeline-section.color-scheme-3 .timeline-item-title,
body.ivory.detail-page .timeline-section.color-scheme-4 .timeline-item-title{
  color:#fff!important;
}
body.ivory.detail-page .timeline-section.color-scheme-2 .timeline-item-description,
body.ivory.detail-page .timeline-section.color-scheme-3 .timeline-item-description,
body.ivory.detail-page .timeline-section.color-scheme-4 .timeline-item-description{
  color:rgba(255,255,255,.8)!important;
}

/* --- Photo set sections — premium before/after gallery --- */
body.ivory.detail-page .photo-set-section .images-row{
  display:grid!important;grid-template-columns:repeat(2,1fr);gap:2rem;margin-top:2rem;
}
body.ivory.detail-page .photo-set-section figure{
  border-radius:var(--iv-r-xl)!important;overflow:hidden;box-shadow:var(--iv-sh-md);
  position:relative;
  transition:all var(--iv-dur) var(--iv-ease);
}
body.ivory.detail-page .photo-set-section figure:hover{
  box-shadow:var(--iv-sh-lg);transform:translateY(-3px);
}
body.ivory.detail-page .photo-set-section figure img{
  width:100%;height:auto;display:block;transition:transform .5s var(--iv-ease);
}
body.ivory.detail-page .photo-set-section figure:hover img{transform:scale(1.03)}
/* Before/After figcaption labels */
body.ivory.detail-page .photo-set-section figcaption{
  position:absolute;bottom:1rem;left:1rem;
  background:var(--iv-accent);color:#fff;
  padding:.375rem 1rem;border-radius:var(--iv-r-full);
  font-size:.75rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;
  box-shadow:0 4px 12px rgba(96,175,202,.4);
  z-index:2;
}

/* --- Features list sections (each wrapper is an icon+text row) --- */
/* Note: grid rules replaced by flex card rules in the section below */

/* --- Menu icon sections — premium icon grid (matches homepage card patterns) --- */
body.ivory.detail-page .menu-icon-section .menu-icon-items{
  display:grid!important;grid-template-columns:repeat(3,1fr);gap:1.5rem;
}
body.ivory.detail-page .menu-icon-section .menu-icon-items .menu.column{
  flex:none!important;max-width:none!important;padding:0!important;
}
/* Default menu-icon: dark bg glassmorphism style */
body.ivory.detail-page .menu-icon-item{
  background:rgba(255,255,255,.05)!important;border-radius:var(--iv-r-lg)!important;
  padding:2.25rem!important;border:1px solid rgba(255,255,255,.1)!important;
  transition:all var(--iv-dur) var(--iv-ease)!important;text-align:center;
  position:relative;overflow:hidden;
  backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);
}
/* Left accent line */
body.ivory.detail-page .menu-icon-item::before{
  content:'';position:absolute;top:0;left:0;
  width:3px;height:100%;background:#8DCAE0;
  opacity:0;transition:opacity var(--iv-dur) var(--iv-ease);
}
body.ivory.detail-page .menu-icon-item:hover{
  background:rgba(255,255,255,.09)!important;border-color:var(--iv-accent)!important;
  transform:translateY(-3px);
  box-shadow:0 8px 32px rgba(96,175,202,.1),0 0 0 1px rgba(96,175,202,.12);
}
body.ivory.detail-page .menu-icon-item:hover::before{opacity:1}
/* Icon container — circular teal bg */
body.ivory.detail-page .menu-icon-item .icon-item{
  display:inline-flex;align-items:center;justify-content:center;
  width:52px;height:52px;border-radius:var(--iv-r);
  background:rgba(96,175,202,.08);margin:0 auto 1.25rem;
  transition:all var(--iv-dur) var(--iv-ease);
}
body.ivory.detail-page .menu-icon-item:hover .icon-item{
  background:var(--iv-accent);
}
body.ivory.detail-page .menu-icon-item .icon-item img{
  filter:brightness(0) invert(1);opacity:.85;
  height:24px!important;width:auto!important;margin:0!important;
}
body.ivory.detail-page .menu-icon-item:hover .icon-item img{opacity:1}
body.ivory.detail-page .menu-icon-item .title,
body.ivory.detail-page .section .menu-icon-item h3{
  font-family:var(--iv-ff)!important;font-weight:600!important;
  font-size:clamp(1.125rem,2vw,1.5rem)!important;margin-bottom:.5rem;
}
body.ivory.detail-page .menu-icon-item .section-richtext{
  font-size:.9375rem!important;line-height:1.75!important;
}
/* Menu-icon on light backgrounds */
body.ivory.detail-page .menu-icon-section.color-scheme-1 .menu-icon-item,
body.ivory.detail-page .menu-icon-section.color-scheme-0 .menu-icon-item,
body.ivory.detail-page .menu-icon-section.color-scheme-9 .menu-icon-item{
  background:var(--iv-white)!important;border-color:var(--iv-border)!important;
  box-shadow:var(--iv-sh)!important;backdrop-filter:none;-webkit-backdrop-filter:none;
}
body.ivory.detail-page .menu-icon-section.color-scheme-1 .menu-icon-item::before,
body.ivory.detail-page .menu-icon-section.color-scheme-0 .menu-icon-item::before,
body.ivory.detail-page .menu-icon-section.color-scheme-9 .menu-icon-item::before{
  background:var(--iv-accent);
}
body.ivory.detail-page .menu-icon-section.color-scheme-1 .menu-icon-item:hover,
body.ivory.detail-page .menu-icon-section.color-scheme-0 .menu-icon-item:hover,
body.ivory.detail-page .menu-icon-section.color-scheme-9 .menu-icon-item:hover{
  border-color:var(--iv-accent)!important;box-shadow:var(--iv-sh-md)!important;
}
body.ivory.detail-page .menu-icon-section.color-scheme-1 .menu-icon-item .icon-item,
body.ivory.detail-page .menu-icon-section.color-scheme-0 .menu-icon-item .icon-item,
body.ivory.detail-page .menu-icon-section.color-scheme-9 .menu-icon-item .icon-item{
  background:var(--iv-accent-lt);border-radius:var(--iv-r);
}
body.ivory.detail-page .menu-icon-section.color-scheme-1 .menu-icon-item:hover .icon-item,
body.ivory.detail-page .menu-icon-section.color-scheme-0 .menu-icon-item:hover .icon-item,
body.ivory.detail-page .menu-icon-section.color-scheme-9 .menu-icon-item:hover .icon-item{
  background:var(--iv-accent);
}
body.ivory.detail-page .menu-icon-section.color-scheme-1 .menu-icon-item .icon-item img,
body.ivory.detail-page .menu-icon-section.color-scheme-0 .menu-icon-item .icon-item img,
body.ivory.detail-page .menu-icon-section.color-scheme-9 .menu-icon-item .icon-item img{
  filter:none!important;opacity:1;
}
body.ivory.detail-page .menu-icon-section.color-scheme-1 .menu-icon-item:hover .icon-item img,
body.ivory.detail-page .menu-icon-section.color-scheme-0 .menu-icon-item:hover .icon-item img,
body.ivory.detail-page .menu-icon-section.color-scheme-9 .menu-icon-item:hover .icon-item img{
  filter:brightness(0) invert(1)!important;
}

/* --- Ruled list — pill links (services index) --- */
body.ivory.detail-page .ruled-list{list-style:none!important;padding:0!important}
body.ivory.detail-page .textblock-section .ruled-list{
  column-count:3!important;column-gap:1.5rem!important;
}
body.ivory.detail-page .ruled-list li{
  break-inside:avoid;padding:.75rem 1.25rem!important;
  border:1px solid var(--iv-border)!important;border-radius:var(--iv-r-full)!important;
  margin-bottom:.625rem!important;text-align:center;
  transition:all var(--iv-dur) var(--iv-ease);background:var(--iv-white);
}
body.ivory.detail-page .ruled-list li:hover{
  border-color:var(--iv-accent)!important;transform:translateY(-2px);box-shadow:var(--iv-sh);
}
body.ivory.detail-page .ruled-list li a{
  color:var(--iv-accent)!important;font-weight:600!important;font-size:.9375rem!important;
}
/* Ruled list on dark bg */
body.ivory.detail-page .color-scheme-2 .ruled-list li,
body.ivory.detail-page .color-scheme-3 .ruled-list li{
  border-color:rgba(255,255,255,.15)!important;background:transparent;
}
body.ivory.detail-page .color-scheme-2 .ruled-list li a,
body.ivory.detail-page .color-scheme-3 .ruled-list li a{color:#8DCAE0!important}

/* --- Announcement sections (main rules moved below) --- */

/* --- Image sections (standalone) --- */
body.ivory.detail-page .image-section figure{
  border-radius:var(--iv-r-xl)!important;overflow:hidden;box-shadow:var(--iv-sh-lg);
}

/* --- Contact form --- */
body.ivory.detail-page .contact-form-section .contact-form{
  background:var(--iv-white);padding:2.5rem;
  border-radius:var(--iv-r-xl);box-shadow:var(--iv-sh-lg);
}
body.ivory.detail-page .contact-form-section input,
body.ivory.detail-page .contact-form-section textarea,
body.ivory.detail-page .contact-form-section select{
  border:1px solid var(--iv-border)!important;border-radius:var(--iv-r)!important;
  padding:1rem!important;font-family:var(--iv-ff)!important;
  background:var(--iv-white2)!important;width:100%;margin-bottom:1rem;
  font-size:1rem;transition:all var(--iv-dur) var(--iv-ease);
}
body.ivory.detail-page .contact-form-section input:focus,
body.ivory.detail-page .contact-form-section textarea:focus{
  border-color:var(--iv-accent)!important;outline:0;
  box-shadow:0 0 0 3px rgba(96,175,202,.12)!important;background:var(--iv-white)!important;
}
body.ivory.detail-page .submit-button{
  background:var(--iv-accent)!important;border:2px solid var(--iv-accent)!important;
  border-radius:var(--iv-r-full)!important;padding:.875rem 2rem!important;
  color:#fff!important;font-family:var(--iv-ff)!important;font-weight:600!important;
  letter-spacing:.06em!important;text-transform:uppercase!important;
  font-size:.8125rem!important;cursor:pointer;
  transition:all var(--iv-dur) var(--iv-ease)!important;
}
body.ivory.detail-page .submit-button:hover{
  background:var(--iv-accent-dk)!important;border-color:var(--iv-accent-dk)!important;
  transform:translateY(-2px);box-shadow:0 8px 24px rgba(96,175,202,.35);
}

/* --- Location section --- */
body.ivory.detail-page .location-section{padding-top:0!important}
body.ivory.detail-page .location-section .section-container{max-width:100%;padding:0}
body.ivory.detail-page .location-info{
  background:var(--iv-white)!important;padding:3rem 2rem!important;
}
body.ivory.detail-page .location-info h2{color:var(--iv-text)!important}
body.ivory.detail-page .location-info p,
body.ivory.detail-page .location-info a:not(.button){color:var(--iv-text-lt)!important}

/* --- Affiliations section --- */
body.ivory.detail-page .affiliations-section{
  background:linear-gradient(160deg,#0A1323 0%,#111D38 35%,#172B4D 65%,#0E1A30 100%)!important;padding:4rem 0!important;
}
body.ivory.detail-page .affiliations-section img{
  filter:brightness(0) invert(1)!important;opacity:.4;
  transition:opacity var(--iv-dur) var(--iv-ease);
  height:48px!important;width:auto!important;max-width:140px!important;object-fit:contain;
}
body.ivory.detail-page .affiliations-section img:hover{opacity:.9}

/* --- Section background images (behind gradients) --- */
body.ivory.detail-page .section-background{
  position:absolute!important;inset:0;z-index:0;
}
body.ivory.detail-page .section-custom-background{
  position:absolute!important;inset:0;z-index:0;
}
/* Hide desktop/mobile toggle backgrounds that cause layout issues */
body.ivory.detail-page .show-for-desktop{display:block!important}
body.ivory.detail-page .show-for-mobile{display:none!important}

/* --- Alternating section backgrounds (uses nth-of-type to skip <style> tags) --- */
body.ivory.detail-page main>section.section.color-scheme-1:nth-of-type(odd){
  background:var(--iv-cream)!important;
}
body.ivory.detail-page main>section.section.color-scheme-1:nth-of-type(even){
  background:var(--iv-white)!important;
}

/* --- Richtext figures/images --- */
body.ivory.detail-page .section-richtext figure{
  margin:0!important;border-radius:var(--iv-r-xl);overflow:hidden;
}
body.ivory.detail-page .section-richtext figure img{
  width:100%;height:auto;border-radius:var(--iv-r-xl);
}


/* --- Features Card section (card grid with titles + descriptions) --- */
body.ivory.detail-page .features-card-section .features-card-items{
  display:flex!important;flex-wrap:wrap!important;gap:1.5rem!important;
  justify-content:center;
}
body.ivory.detail-page .features-card-section .features-card-items>.menu.column{
  flex:0 0 calc(50% - .75rem)!important;max-width:calc(50% - .75rem)!important;
  padding:0!important;
}
body.ivory.detail-page .features-card-section .features-card-items.item-count-3>.menu.column{
  flex:0 0 calc(33.333% - 1rem)!important;max-width:calc(33.333% - 1rem)!important;
}
body.ivory.detail-page .features-card-section .features-card-items.item-count-6>.menu.column{
  flex:0 0 calc(33.333% - 1rem)!important;max-width:calc(33.333% - 1rem)!important;
}
body.ivory.detail-page .features-card-item{
  border-radius:var(--iv-r-lg)!important;padding:2.25rem!important;
  transition:all var(--iv-dur) var(--iv-ease)!important;height:100%;
  position:relative;overflow:hidden;
}
/* Left accent line (matches homepage .iv-feat::before) */
body.ivory.detail-page .features-card-item::before{
  content:'';position:absolute;top:0;left:0;
  width:3px;height:100%;background:var(--iv-accent);
  opacity:0;transition:opacity var(--iv-dur) var(--iv-ease);
}
body.ivory.detail-page .features-card-item:hover::before{opacity:1}
body.ivory.detail-page .menu-card-item-border-0-1{height:100%}
body.ivory.detail-page .menu-card-item-border-0-2{display:none}
/* Features cards on light backgrounds */
body.ivory.detail-page .features-card-section.color-scheme-1 .features-card-item,
body.ivory.detail-page .features-card-section.color-scheme-0 .features-card-item,
body.ivory.detail-page .features-card-section.color-scheme-9 .features-card-item{
  background:var(--iv-white)!important;border:1px solid var(--iv-border)!important;
  box-shadow:var(--iv-sh)!important;
}
body.ivory.detail-page .features-card-section.color-scheme-1 .features-card-item:hover,
body.ivory.detail-page .features-card-section.color-scheme-0 .features-card-item:hover,
body.ivory.detail-page .features-card-section.color-scheme-9 .features-card-item:hover{
  transform:translateY(-3px);box-shadow:var(--iv-sh-md)!important;
  border-color:var(--iv-accent)!important;
}
/* Features cards on dark backgrounds */
body.ivory.detail-page .features-card-section.color-scheme-2 .features-card-item,
body.ivory.detail-page .features-card-section.color-scheme-3 .features-card-item,
body.ivory.detail-page .features-card-section.color-scheme-4 .features-card-item,
body.ivory.detail-page .features-card-section.color-scheme-5 .features-card-item,
body.ivory.detail-page .features-card-section.color-scheme-6 .features-card-item{
  background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.1)!important;
  box-shadow:none!important;
}
body.ivory.detail-page .features-card-section.color-scheme-2 .features-card-item:hover,
body.ivory.detail-page .features-card-section.color-scheme-3 .features-card-item:hover,
body.ivory.detail-page .features-card-section.color-scheme-4 .features-card-item:hover,
body.ivory.detail-page .features-card-section.color-scheme-5 .features-card-item:hover,
body.ivory.detail-page .features-card-section.color-scheme-6 .features-card-item:hover{
  background:rgba(255,255,255,.1)!important;border-color:var(--iv-accent)!important;
  transform:translateY(-3px);
}
/* Dark section accent line color */
body.ivory.detail-page .features-card-section[class*="color-scheme-2"] .features-card-item::before,
body.ivory.detail-page .features-card-section[class*="color-scheme-3"] .features-card-item::before,
body.ivory.detail-page .features-card-section[class*="color-scheme-4"] .features-card-item::before,
body.ivory.detail-page .features-card-section[class*="color-scheme-5"] .features-card-item::before,
body.ivory.detail-page .features-card-section[class*="color-scheme-6"] .features-card-item::before{
  background:#8DCAE0;
}
body.ivory.detail-page .section .features-card-item-title{
  font-family:var(--iv-ff)!important;font-weight:600!important;
  font-size:clamp(1.125rem,2vw,1.5rem)!important;margin-bottom:.5rem!important;
}
body.ivory.detail-page .features-card-item-description{
  font-size:.9375rem!important;line-height:1.75!important;color:inherit!important;
}
/* Description text color per scheme */
body.ivory.detail-page .color-scheme-2 .features-card-item-description,
body.ivory.detail-page .color-scheme-3 .features-card-item-description,
body.ivory.detail-page .color-scheme-4 .features-card-item-description,
body.ivory.detail-page .color-scheme-5 .features-card-item-description,
body.ivory.detail-page .color-scheme-6 .features-card-item-description{
  color:rgba(255,255,255,.8)!important;
}
body.ivory.detail-page .color-scheme-1 .features-card-item-description,
body.ivory.detail-page .color-scheme-0 .features-card-item-description{
  color:var(--iv-text-lt)!important;
}
/* Section description (centered text under section headings) */
body.ivory.detail-page .section-description{
  max-width:800px!important;margin:0 auto 2.5rem!important;text-align:center;
}
/* Section outro (centered text after content) */
body.ivory.detail-page .section-outro{
  margin-top:2.5rem;text-align:center;
}

/* --- Pods section (card cluster layout) --- */
body.ivory.detail-page .pods-section .menus{
  display:grid!important;grid-template-columns:repeat(2,1fr);gap:1.5rem;
}
body.ivory.detail-page .pods-section .menu.column{
  flex:none!important;max-width:none!important;padding:0!important;
}
body.ivory.detail-page .pods-section .menu-card-item{
  border-radius:var(--iv-r-lg)!important;overflow:hidden;
  transition:all var(--iv-dur) var(--iv-ease)!important;height:100%;
  position:relative;
}
/* Left accent line */
body.ivory.detail-page .pods-section .menu-card-item::before{
  content:'';position:absolute;top:0;left:0;
  width:3px;height:100%;background:var(--iv-accent);
  opacity:0;transition:opacity var(--iv-dur) var(--iv-ease);z-index:1;
}
body.ivory.detail-page .pods-section .menu-card-item:hover::before{opacity:1}
/* Pods on light bg */
body.ivory.detail-page .pods-section.color-scheme-1 .menu-card-item,
body.ivory.detail-page .pods-section.color-scheme-0 .menu-card-item{
  background:var(--iv-white)!important;border:1px solid var(--iv-border)!important;
  box-shadow:var(--iv-sh)!important;padding:2.25rem!important;
}
body.ivory.detail-page .pods-section.color-scheme-1 .menu-card-item:hover,
body.ivory.detail-page .pods-section.color-scheme-0 .menu-card-item:hover{
  transform:translateY(-3px);box-shadow:var(--iv-sh-md)!important;
  border-color:var(--iv-accent)!important;
}
/* Pods on dark bg */
body.ivory.detail-page .pods-section.color-scheme-2 .menu-card-item,
body.ivory.detail-page .pods-section.color-scheme-3 .menu-card-item,
body.ivory.detail-page .pods-section.color-scheme-4 .menu-card-item,
body.ivory.detail-page .pods-section.color-scheme-5 .menu-card-item,
body.ivory.detail-page .pods-section.color-scheme-6 .menu-card-item{
  background:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.1)!important;
  padding:2.25rem!important;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);
}
body.ivory.detail-page .pods-section[class*="color-scheme-2"] .menu-card-item::before,
body.ivory.detail-page .pods-section[class*="color-scheme-3"] .menu-card-item::before,
body.ivory.detail-page .pods-section[class*="color-scheme-4"] .menu-card-item::before{
  background:#8DCAE0;
}
body.ivory.detail-page .pods-section.color-scheme-2 .menu-card-item:hover,
body.ivory.detail-page .pods-section.color-scheme-3 .menu-card-item:hover,
body.ivory.detail-page .pods-section.color-scheme-4 .menu-card-item:hover{
  background:rgba(255,255,255,.08)!important;border-color:var(--iv-accent)!important;
  transform:translateY(-3px);
}
body.ivory.detail-page .pods-section .menu-card-item-title{
  font-family:var(--iv-ff)!important;font-weight:600!important;
  font-size:clamp(1.125rem,2vw,1.5rem)!important;margin-bottom:.5rem!important;
}
body.ivory.detail-page .pods-section .menu-card-item-description{
  font-size:.9375rem!important;line-height:1.75!important;
}
body.ivory.detail-page .pods-section .menu-card-item figure{
  border-radius:var(--iv-r)!important;overflow:hidden;margin-bottom:1rem;
}

/* --- Pods-items row layout (image + text side-by-side, matches homepage card feel) --- */
body.ivory.detail-page .pods-section .pods-items{
  display:grid!important;grid-template-columns:repeat(2,1fr);gap:1.5rem;
}
body.ivory.detail-page .pods-section .pods-items>.row.collapse{
  display:flex!important;flex-direction:column!important;
  background:var(--iv-white)!important;border-radius:var(--iv-r-lg)!important;
  border:1px solid var(--iv-border)!important;box-shadow:var(--iv-sh)!important;
  overflow:hidden;transition:all var(--iv-dur) var(--iv-ease)!important;
  position:relative;
}
body.ivory.detail-page .pods-section .pods-items>.row.collapse::before{
  content:'';position:absolute;top:0;left:0;
  width:3px;height:100%;background:var(--iv-accent);
  opacity:0;transition:opacity var(--iv-dur) var(--iv-ease);z-index:1;
}
body.ivory.detail-page .pods-section .pods-items>.row.collapse:hover{
  transform:translateY(-3px);box-shadow:var(--iv-sh-md)!important;
  border-color:var(--iv-accent)!important;
}
body.ivory.detail-page .pods-section .pods-items>.row.collapse:hover::before{opacity:1}
body.ivory.detail-page .pods-section .pods-items .pods-item-image{
  padding:0!important;
}
body.ivory.detail-page .pods-section .pods-items .pods-item-image .image-box{
  aspect-ratio:4/3;overflow:hidden;background:var(--iv-cream);
}
body.ivory.detail-page .pods-section .pods-items .pods-item-image img{
  width:100%!important;height:100%!important;object-fit:cover!important;
  max-width:none!important;transition:transform .5s var(--iv-ease);
}
body.ivory.detail-page .pods-section .pods-items>.row.collapse:hover .pods-item-image img{
  transform:scale(1.03);
}
body.ivory.detail-page .pods-section .pods-items .pods-item-content{
  padding:1.75rem!important;
}
body.ivory.detail-page .pods-section .pods-items .pods-item-content h2{
  font-family:var(--iv-ff)!important;font-weight:600!important;
  font-size:clamp(1.125rem,2vw,1.5rem)!important;margin-bottom:.375rem!important;
}
body.ivory.detail-page .pods-section .pods-items .pods-item-content p{
  font-size:.9375rem!important;line-height:1.75!important;margin-bottom:.75rem!important;
}
/* Pods-items on dark bg */
body.ivory.detail-page .pods-section.color-scheme-2 .pods-items>.row.collapse,
body.ivory.detail-page .pods-section.color-scheme-3 .pods-items>.row.collapse,
body.ivory.detail-page .pods-section.color-scheme-4 .pods-items>.row.collapse{
  background:rgba(255,255,255,.05)!important;border-color:rgba(255,255,255,.1)!important;
  box-shadow:none!important;
}
body.ivory.detail-page .pods-section.color-scheme-2 .pods-items>.row.collapse:hover,
body.ivory.detail-page .pods-section.color-scheme-3 .pods-items>.row.collapse:hover,
body.ivory.detail-page .pods-section.color-scheme-4 .pods-items>.row.collapse:hover{
  background:rgba(255,255,255,.08)!important;border-color:var(--iv-accent)!important;
}
body.ivory.detail-page .pods-section[class*="color-scheme-2"] .pods-items>.row.collapse::before,
body.ivory.detail-page .pods-section[class*="color-scheme-3"] .pods-items>.row.collapse::before{
  background:#8DCAE0;
}

/* --- Cliffhanger section --- */
body.ivory.detail-page .cliffhanger-section{position:relative}
body.ivory.detail-page .cliffhanger-section .section-content{
  text-align:center;max-width:800px!important;margin:0 auto;
}

/* --- Video looping section --- */
body.ivory.detail-page .video-looping-section video{
  width:100%!important;height:auto!important;border-radius:var(--iv-r-xl);
  box-shadow:var(--iv-sh-lg);
}

/* --- Wildcard section (custom content) --- */
body.ivory.detail-page .wildcard-section{position:relative}

/* --- Main section (location pages) --- */
body.ivory.detail-page .main-section{position:relative}
body.ivory.detail-page .main-section .section-container{max-width:100%;padding:0}

/* --- Quote sections with background images — need proper overlay --- */
body.ivory.detail-page .quote-section.custom-background-is-set{
  position:relative;
}
body.ivory.detail-page .quote-section.custom-background-is-set::before{
  content:'';position:absolute;inset:0;z-index:1;
  background:linear-gradient(160deg,rgba(30,45,82,.85) 0%,rgba(30,45,82,.7) 60%,rgba(96,175,202,.15) 100%)!important;
}
body.ivory.detail-page .quote-section.custom-background-is-set .section-container{z-index:2;position:relative}
body.ivory.detail-page .quote-section.custom-background-is-set blockquote{
  background:rgba(255,255,255,.08)!important;border-left-color:#8DCAE0!important;
}
body.ivory.detail-page .quote-section.custom-background-is-set blockquote span,
body.ivory.detail-page .quote-section.custom-background-is-set blockquote p{
  color:#fff!important;
}
body.ivory.detail-page .quote-section.custom-background-is-set blockquote h2{
  color:#fff!important;
}

/* --- Timeline sections with background images — need proper overlay --- */
body.ivory.detail-page .timeline-section.custom-background-is-set{
  position:relative;
}
body.ivory.detail-page .timeline-section.custom-background-is-set::before{
  content:'';position:absolute;inset:0;z-index:1;
  background:linear-gradient(160deg,rgba(243,239,232,.92) 0%,rgba(243,239,232,.88) 60%,rgba(243,239,232,.95) 100%)!important;
}
body.ivory.detail-page .timeline-section.custom-background-is-set .section-container{z-index:2;position:relative}

/* --- Features List — premium icon cards (matches homepage .iv-feat icon style) --- */
body.ivory.detail-page .features-list-section .features-list-item-image{
  width:52px!important;height:52px!important;flex-shrink:0;
  background:var(--iv-accent-lt);border-radius:var(--iv-r);
  display:flex!important;align-items:center;justify-content:center;
  transition:all var(--iv-dur) var(--iv-ease);
}
body.ivory.detail-page .features-list-section .features-list-item-image svg{
  width:24px!important;height:24px!important;fill:var(--iv-accent)!important;
  flex-shrink:0;
}
body.ivory.detail-page .features-list-section .features-list-item-wrapper{
  display:flex!important;gap:2rem;align-items:flex-start;
  background:var(--iv-white)!important;border-radius:var(--iv-r-lg)!important;
  padding:2rem!important;box-shadow:var(--iv-sh)!important;
  border:1px solid var(--iv-border)!important;
  transition:all var(--iv-dur) var(--iv-ease)!important;
  margin-bottom:1.5rem;position:relative;overflow:hidden;
}
/* Left accent line */
body.ivory.detail-page .features-list-section .features-list-item-wrapper::before{
  content:'';position:absolute;top:0;left:0;
  width:3px;height:100%;background:var(--iv-accent);
  opacity:0;transition:opacity var(--iv-dur) var(--iv-ease);
}
body.ivory.detail-page .features-list-section .features-list-item-wrapper:hover{
  transform:translateY(-3px);box-shadow:var(--iv-sh-md)!important;
  border-color:var(--iv-accent)!important;
}
body.ivory.detail-page .features-list-section .features-list-item-wrapper:hover::before{opacity:1}
body.ivory.detail-page .features-list-section .features-list-item-wrapper:hover .features-list-item-image{
  background:var(--iv-accent);
}
body.ivory.detail-page .features-list-section .features-list-item-wrapper:hover .features-list-item-image svg{
  fill:#fff!important;
}
body.ivory.detail-page .features-list-section .features-list-item-wrapper .column{
  padding:0!important;
}
body.ivory.detail-page .features-list-section .features-list-item-wrapper .column.shrink{
  flex:0 0 auto!important;
}
body.ivory.detail-page .features-list-section .features-list-item-content{
  flex:1;
}
body.ivory.detail-page .features-list-section .features-list-item-subtitle{
  font-family:var(--iv-ff)!important;font-weight:600!important;
  font-size:clamp(1.125rem,2vw,1.5rem)!important;margin-bottom:.5rem!important;
  color:var(--iv-text)!important;
}
body.ivory.detail-page .features-list-section .features-list-item-content p{
  font-size:.9375rem!important;color:var(--iv-text-lt)!important;line-height:1.8!important;
  margin-bottom:0!important;
}
/* Features list wrapper (may contain grid of items) */
body.ivory.detail-page .features-list-section .features-list-wrapper{
  display:block!important;
}

/* --- Announcement sections — banner card design (matching homepage .iv-banner) --- */
body.ivory.detail-page .announcement-section,
body.ivory.detail-page .announcement-b-section{
  background:transparent!important;
  padding:var(--iv-sec) var(--iv-gut)!important;
  position:relative;overflow:visible!important;
}
/* Hide CMS background layers */
body.ivory.detail-page .announcement-section>.section-background,
body.ivory.detail-page .announcement-b-section>.section-background,
body.ivory.detail-page .announcement-section>.section-custom-background,
body.ivory.detail-page .announcement-b-section>.section-custom-background{
  display:none!important;
}
/* Banner card container — real BG image like homepage .iv-banner */
body.ivory.detail-page .announcement-section>.section-container,
body.ivory.detail-page .announcement-b-section>.section-container{
  position:relative;
  background:url('../images/redesign/consultation.jpg') center/cover no-repeat!important;
  border-radius:var(--iv-r-xl);
  overflow:hidden;
  min-height:280px;
  display:flex;align-items:center;
  box-shadow:var(--iv-sh-lg);
  padding:3.5rem 3.5rem;
  max-width:1200px;
  margin:0 auto;
}
/* Dark overlay gradient — matching homepage .iv-banner__bg::after */
body.ivory.detail-page .announcement-section>.section-container::before,
body.ivory.detail-page .announcement-b-section>.section-container::before{
  content:'';position:absolute;inset:0;z-index:1;
  background:linear-gradient(90deg,rgba(30,45,82,.92) 0%,rgba(30,45,82,.8) 45%,rgba(30,45,82,.35) 100%);
}
/* Floating teal icon — announcement A (phone icon for CTA sections) */
body.ivory.detail-page .announcement-section>.section-container::after{
  content:'';position:absolute;top:2rem;right:2rem;
  width:80px;height:80px;border-radius:50%;
  background:var(--iv-accent);
  box-shadow:0 8px 24px rgba(96,175,202,.35);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:center;background-size:32px;
  z-index:2;
}
/* Floating teal icon — announcement B (question icon for info sections) */
body.ivory.detail-page .announcement-b-section>.section-container::after{
  content:'';position:absolute;top:2rem;right:2rem;
  width:80px;height:80px;border-radius:50%;
  background:var(--iv-accent);
  box-shadow:0 8px 24px rgba(96,175,202,.35);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:center;background-size:32px;
  z-index:2;
}
/* Section immediately AFTER announcements → cream background (light schemes only) */
body.ivory.detail-page .announcement-section+style+.section.color-scheme-1,
body.ivory.detail-page .announcement-section+style+.section.color-scheme-0,
body.ivory.detail-page .announcement-section+style+.section.color-scheme-9,
body.ivory.detail-page .announcement-section+.section.color-scheme-1,
body.ivory.detail-page .announcement-section+.section.color-scheme-0,
body.ivory.detail-page .announcement-section+.section.color-scheme-9,
body.ivory.detail-page .announcement-b-section+style+.section.color-scheme-1,
body.ivory.detail-page .announcement-b-section+style+.section.color-scheme-0,
body.ivory.detail-page .announcement-b-section+style+.section.color-scheme-9,
body.ivory.detail-page .announcement-b-section+.section.color-scheme-1,
body.ivory.detail-page .announcement-b-section+.section.color-scheme-0,
body.ivory.detail-page .announcement-b-section+.section.color-scheme-9{
  background:var(--iv-cream)!important;
}
body.ivory.detail-page .announcement-section+style+.section.color-scheme-1 h1,
body.ivory.detail-page .announcement-section+style+.section.color-scheme-1 h2,
body.ivory.detail-page .announcement-section+style+.section.color-scheme-1 h3,
body.ivory.detail-page .announcement-section+.section.color-scheme-1 h1,
body.ivory.detail-page .announcement-section+.section.color-scheme-1 h2,
body.ivory.detail-page .announcement-section+.section.color-scheme-1 h3,
body.ivory.detail-page .announcement-b-section+style+.section.color-scheme-1 h1,
body.ivory.detail-page .announcement-b-section+style+.section.color-scheme-1 h2,
body.ivory.detail-page .announcement-b-section+style+.section.color-scheme-1 h3,
body.ivory.detail-page .announcement-b-section+.section.color-scheme-1 h1,
body.ivory.detail-page .announcement-b-section+.section.color-scheme-1 h2,
body.ivory.detail-page .announcement-b-section+.section.color-scheme-1 h3{
  color:var(--iv-text)!important;
}
body.ivory.detail-page .announcement-section+style+.section.color-scheme-1 p,
body.ivory.detail-page .announcement-section+style+.section.color-scheme-1 li,
body.ivory.detail-page .announcement-section+.section.color-scheme-1 p,
body.ivory.detail-page .announcement-section+.section.color-scheme-1 li,
body.ivory.detail-page .announcement-b-section+style+.section.color-scheme-1 p,
body.ivory.detail-page .announcement-b-section+style+.section.color-scheme-1 li,
body.ivory.detail-page .announcement-b-section+.section.color-scheme-1 p,
body.ivory.detail-page .announcement-b-section+.section.color-scheme-1 li{
  color:var(--iv-text-lt)!important;
}
body.ivory.detail-page .announcement-section+style+.section.color-scheme-1 a:not(.button),
body.ivory.detail-page .announcement-section+.section.color-scheme-1 a:not(.button),
body.ivory.detail-page .announcement-b-section+style+.section.color-scheme-1 a:not(.button),
body.ivory.detail-page .announcement-b-section+.section.color-scheme-1 a:not(.button){
  color:var(--iv-accent)!important;
}
body.ivory.detail-page .announcement-section+style+.section span,
body.ivory.detail-page .announcement-section+.section span,
body.ivory.detail-page .announcement-b-section+style+.section span,
body.ivory.detail-page .announcement-b-section+.section span{
  color:inherit!important;
}
/* White text on dark banner */
body.ivory.detail-page .announcement-section h1,
body.ivory.detail-page .announcement-section h2,
body.ivory.detail-page .announcement-section h3,
body.ivory.detail-page .announcement-b-section h1,
body.ivory.detail-page .announcement-b-section h2,
body.ivory.detail-page .announcement-b-section h3{
  color:#fff!important;
}
body.ivory.detail-page .announcement-section p,
body.ivory.detail-page .announcement-section li,
body.ivory.detail-page .announcement-section span,
body.ivory.detail-page .announcement-b-section p,
body.ivory.detail-page .announcement-b-section li,
body.ivory.detail-page .announcement-b-section span{
  color:rgba(255,255,255,.85)!important;
}
body.ivory.detail-page .announcement-section a:not(.button),
body.ivory.detail-page .announcement-b-section a:not(.button){
  color:#fff!important;text-decoration:underline;
  text-decoration-color:rgba(255,255,255,.4);text-underline-offset:2px;
}
/* Ghost button — white outline (matching homepage .iv-btn--ghost) */
body.ivory.detail-page .announcement-section a.button,
body.ivory.detail-page .announcement-b-section a.button{
  background:transparent!important;
  border:2px solid rgba(255,255,255,.35)!important;
  border-radius:var(--iv-r-full)!important;
}
body.ivory.detail-page .announcement-section a.button:hover,
body.ivory.detail-page .announcement-b-section a.button:hover{
  background:#fff!important;border-color:#fff!important;
}
body.ivory.detail-page .announcement-section a.button:hover .button-text,
body.ivory.detail-page .announcement-b-section a.button:hover .button-text{
  color:var(--iv-navy-bg)!important;
}
/* Announcement A layout */
body.ivory.detail-page .announcement-section .announcement-wrapper{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:2rem!important;flex-wrap:wrap;position:relative;z-index:1;
}
body.ivory.detail-page .announcement-section .announcement-wrapper>.column{
  flex:1!important;min-width:200px;
}
body.ivory.detail-page .announcement-section .announcement-wrapper>.column.shrink{
  flex:0 0 auto!important;
}
body.ivory.detail-page .announcement-section .section-heading{margin-bottom:0!important}
body.ivory.detail-page .announcement-section .section-heading .title::after{display:none}
body.ivory.detail-page .announcement-section .section-heading h2{margin-bottom:.5rem}
body.ivory.detail-page .announcement-section .section-richtext p{margin-bottom:0!important}
body.ivory.detail-page .announcement-section .section-content{position:relative;z-index:1}

/* --- Announcement B layout (heading + divider + text) --- */
body.ivory.detail-page .announcement-b-section>.section-container>.section-content{
  position:relative;z-index:1;
}
body.ivory.detail-page .announcement-b-section>.section-container>.section-content>.row{
  display:flex!important;align-items:center!important;justify-content:center!important;
  gap:2rem!important;flex-wrap:wrap;text-align:center;
}
body.ivory.detail-page .announcement-b-section .column.divider{
  flex:0 0 auto!important;font-size:2rem;opacity:.4;
}
body.ivory.detail-page .announcement-b-section .section-heading{margin-bottom:0!important}
body.ivory.detail-page .announcement-b-section .section-heading .title::after{display:none}
body.ivory.detail-page .announcement-b-section .section-heading h2{margin-bottom:0}

/* --- Intro section (non-hero: financing, privacy, doctor pages) --- */
body.ivory.detail-page .intro-section{position:relative}
body.ivory.detail-page .intro-section .section-content{
  max-width:900px!important;margin:0 auto;
}

/* --- Menu photo items (team grids on doctor pages) --- */
body.ivory.detail-page .menu-photo-items{
  display:grid!important;grid-template-columns:repeat(4,1fr);gap:1.5rem;
}
body.ivory.detail-page .menu-photo-items .menu-item-break{display:none!important}
body.ivory.detail-page .menu-photo-items .menu.column{
  flex:none!important;max-width:none!important;padding:0!important;
}
body.ivory.detail-page .menu-photo-item{
  background:var(--iv-white)!important;border-radius:var(--iv-r-xl)!important;
  overflow:hidden;box-shadow:var(--iv-sh)!important;
  transition:all var(--iv-dur) var(--iv-ease)!important;
  border:1px solid var(--iv-border);
}
body.ivory.detail-page .menu-photo-item:hover{
  transform:translateY(-4px);box-shadow:var(--iv-sh-md)!important;
  border-color:var(--iv-accent);
}
body.ivory.detail-page .photo-box{
  border-radius:var(--iv-r-xl) var(--iv-r-xl) 0 0!important;overflow:hidden;
}
body.ivory.detail-page .menu-photo-item h3 span{
  color:var(--iv-text)!important;font-family:var(--iv-ff)!important;
}
body.ivory.detail-page .menu-photo-item .section-richtext{padding:1.25rem}
body.ivory.detail-page .menu-photo-item .section-richtext p{
  font-size:.875rem!important;color:var(--iv-text-lt)!important;
}
/* Dark bg photo items */
body.ivory.detail-page .color-scheme-2 .menu-photo-item,
body.ivory.detail-page .color-scheme-3 .menu-photo-item{
  background:rgba(255,255,255,.05)!important;border-color:rgba(255,255,255,.08)!important;
}
body.ivory.detail-page .color-scheme-2 .menu-photo-item:hover,
body.ivory.detail-page .color-scheme-3 .menu-photo-item:hover{
  border-color:var(--iv-accent)!important;
}
body.ivory.detail-page .color-scheme-2 .menu-photo-item h3 span,
body.ivory.detail-page .color-scheme-3 .menu-photo-item h3 span{color:#fff!important}

/* --- Section divider for visual separation --- */
body.ivory.detail-page main>.section+style+.section.color-scheme-1,
body.ivory.detail-page main>.section.color-scheme-1+style+.section.color-scheme-1{
  border-top:1px solid var(--iv-border);
}

/* --- Large label (used in features-card-item-title and features-list) --- */
body.ivory.detail-page .section .large-label{
  font-family:var(--iv-ff)!important;font-weight:600!important;
  font-size:clamp(1.125rem,2vw,1.5rem)!important;
}

/* --- Flexbox alignment --- */
body.ivory.detail-page .flexbox-alignment{display:flex;flex-wrap:wrap;align-items:center}
body.ivory.detail-page .flexbox-alignment.mid-left{justify-content:flex-start}
body.ivory.detail-page .flexbox-alignment.mid-right{justify-content:flex-end}
body.ivory.detail-page .tagline-width{max-width:55%}

/* --- Button text spans --- */
body.ivory.detail-page .section a.button .button-text span{
  color:inherit!important;
}

/* --- Color scheme 5/6 link text on dark bg --- */
body.ivory.detail-page .color-scheme-5 a:not(.button),
body.ivory.detail-page .color-scheme-6 a:not(.button){color:#8DCAE0!important}

/* --- Force-light override: JS adds this to break consecutive dark sections --- */
body.ivory.detail-page .section.iv-force-light{
  background:var(--iv-cream)!important;
}
body.ivory.detail-page .section.iv-force-light::after{display:none!important}
body.ivory.detail-page .section.iv-force-light::before{display:none!important}
body.ivory.detail-page .section.iv-force-light h1,
body.ivory.detail-page .section.iv-force-light h2,
body.ivory.detail-page .section.iv-force-light h3{
  color:var(--iv-text)!important;
}
body.ivory.detail-page .section.iv-force-light p,
body.ivory.detail-page .section.iv-force-light li,
body.ivory.detail-page .section.iv-force-light .section-richtext,
body.ivory.detail-page .section.iv-force-light .section-description{
  color:var(--iv-text-lt)!important;
}
body.ivory.detail-page .section.iv-force-light a:not(.button){
  color:var(--iv-accent)!important;
}
body.ivory.detail-page .section.iv-force-light span{color:inherit!important}
body.ivory.detail-page .section.iv-force-light strong{color:inherit!important}
/* Force-light cards/items — switch from glassmorphism to solid white */
body.ivory.detail-page .section.iv-force-light .features-card-item,
body.ivory.detail-page .section.iv-force-light .features-list-item-wrapper{
  background:var(--iv-white)!important;border-color:var(--iv-border)!important;
  box-shadow:var(--iv-sh)!important;backdrop-filter:none!important;
}
body.ivory.detail-page .section.iv-force-light .features-card-item:hover,
body.ivory.detail-page .section.iv-force-light .features-list-item-wrapper:hover{
  box-shadow:var(--iv-sh-md)!important;border-color:var(--iv-accent)!important;
}
body.ivory.detail-page .section.iv-force-light .features-card-item::before,
body.ivory.detail-page .section.iv-force-light .features-list-item-wrapper::before{
  background:var(--iv-accent)!important;
}
body.ivory.detail-page .section.iv-force-light .features-card-item-title,
body.ivory.detail-page .section.iv-force-light .features-list-item-subtitle{
  color:var(--iv-text)!important;
}
body.ivory.detail-page .section.iv-force-light .features-card-item-description,
body.ivory.detail-page .section.iv-force-light .features-list-item-content p{
  color:var(--iv-text-lt)!important;
}
body.ivory.detail-page .section.iv-force-light .menu-icon-item{
  background:var(--iv-white)!important;border-color:var(--iv-border)!important;
  box-shadow:var(--iv-sh)!important;backdrop-filter:none!important;
}
body.ivory.detail-page .section.iv-force-light .menu-icon-item:hover{
  box-shadow:var(--iv-sh-md)!important;border-color:var(--iv-accent)!important;
}
body.ivory.detail-page .section.iv-force-light .menu-icon-item .icon-item{
  background:var(--iv-accent-lt)!important;
}
body.ivory.detail-page .section.iv-force-light .menu-icon-item:hover .icon-item{
  background:var(--iv-accent)!important;
}
body.ivory.detail-page .section.iv-force-light .menu-icon-item .icon-item img{
  filter:none!important;opacity:1!important;
}
body.ivory.detail-page .section.iv-force-light .menu-icon-item:hover .icon-item img{
  filter:brightness(0) invert(1)!important;
}
body.ivory.detail-page .section.iv-force-light .menu-icon-item .title{
  color:var(--iv-text)!important;
}
body.ivory.detail-page .section.iv-force-light .timeline-item-content{
  background:var(--iv-white)!important;border-color:var(--iv-border)!important;
  box-shadow:var(--iv-sh)!important;backdrop-filter:none!important;
}
body.ivory.detail-page .section.iv-force-light .timeline-item-content:hover{
  box-shadow:var(--iv-sh-md)!important;border-color:var(--iv-accent)!important;
}
body.ivory.detail-page .section.iv-force-light .timeline-item-title{
  color:var(--iv-text)!important;
}
body.ivory.detail-page .section.iv-force-light .timeline-item-description{
  color:var(--iv-text-lt)!important;
}
body.ivory.detail-page .section.iv-force-light .timeline-wrapper::before{
  background:linear-gradient(180deg,var(--iv-accent),rgba(96,175,202,.15))!important;
}
body.ivory.detail-page .section.iv-force-light .pods-section .menu-card-item,
body.ivory.detail-page .section.iv-force-light .menu-card-item{
  background:var(--iv-white)!important;border-color:var(--iv-border)!important;
  box-shadow:var(--iv-sh)!important;
}
body.ivory.detail-page .section.iv-force-light .menu-card-item:hover{
  box-shadow:var(--iv-sh-md)!important;border-color:var(--iv-accent)!important;
}
body.ivory.detail-page .section.iv-force-light .menu-card-item-title{
  color:var(--iv-text)!important;
}
body.ivory.detail-page .section.iv-force-light blockquote{
  background:var(--iv-accent-lt)!important;border-left-color:var(--iv-accent)!important;
  backdrop-filter:none!important;border:none!important;
  border-left:3px solid var(--iv-accent)!important;
}
body.ivory.detail-page .section.iv-force-light blockquote p,
body.ivory.detail-page .section.iv-force-light blockquote span{
  color:var(--iv-text)!important;
}
body.ivory.detail-page .section.iv-force-light blockquote h2{
  color:var(--iv-text)!important;
}
/* Force-light button override */
body.ivory.detail-page .section.iv-force-light a.button{
  background:var(--iv-accent)!important;border-color:var(--iv-accent)!important;
}
body.ivory.detail-page .section.iv-force-light a.button .button-text{
  color:#fff!important;
}
body.ivory.detail-page .section.iv-force-light a.button:hover{
  background:var(--iv-accent-dk)!important;border-color:var(--iv-accent-dk)!important;
}
/* Force-light images — remove dark filters */
body.ivory.detail-page .section.iv-force-light .section-custom-background{
  display:none!important;
}
body.ivory.detail-page .section.iv-force-light figure img{
  border-radius:var(--iv-r-xl)!important;
}
/* Force-light SVG icons */
body.ivory.detail-page .section.iv-force-light .features-list-item-image svg{
  fill:var(--iv-accent)!important;
}
body.ivory.detail-page .section.iv-force-light .features-list-item-image{
  background:var(--iv-accent-lt)!important;
}

/* --- Textblock section (single column) — improved readability --- */
body.ivory.detail-page .textblock-section .section-content{
  max-width:860px;margin:0 auto;
}
body.ivory.detail-page .textblock-section .section-heading{text-align:center}
body.ivory.detail-page .textblock-section .section-richtext ul,
body.ivory.detail-page .textblock-section .section-richtext ol{
  padding-left:1.25rem;margin-bottom:1.5rem;
}
body.ivory.detail-page .textblock-section .section-richtext li{
  margin-bottom:.5rem;padding-left:.25rem;
}

/* --- Dark section decorative orb (matches homepage .iv-svc-orb) --- */
body.ivory.detail-page .section.color-scheme-2::after,
body.ivory.detail-page .section.color-scheme-3:not(:first-of-type)::after,
body.ivory.detail-page .section.color-scheme-4::after,
body.ivory.detail-page .section.color-scheme-5::after,
body.ivory.detail-page .section.color-scheme-6::after{
  content:'';position:absolute;top:-200px;right:-100px;
  width:500px;height:500px;border-radius:50%;
  background:radial-gradient(circle,rgba(96,175,202,.06) 0%,transparent 70%);
  pointer-events:none;z-index:0;
}

/* --- Scroll fade-in animation (progressive enhancement — visible by default) --- */
body.ivory.detail-page.iv-anim-ready .section-container{
  opacity:0;transform:translateY(24px);
  transition:opacity .6s var(--iv-ease),transform .6s var(--iv-ease);
}
body.ivory.detail-page.iv-anim-ready .section-container.iv-visible{
  opacity:1;transform:translateY(0);
}

/* --- Doctor page photo-box image hover zoom --- */
body.ivory.detail-page .photo-box img{
  transition:transform .5s var(--iv-ease);
}
body.ivory.detail-page .menu-photo-item:hover .photo-box img{
  transform:scale(1.03);
}

/* --- Alternating section background enhancement --- */
/* Cream bg sections get subtle top border for separation */
body.ivory.detail-page .color-scheme-0+style+.color-scheme-0,
body.ivory.detail-page .color-scheme-9+style+.color-scheme-9{
  border-top:1px solid var(--iv-border);
}

/* ================================================================
   INNER PAGE RESPONSIVE
   ================================================================ */
@media(max-width:1024px){
  body.ivory.detail-page .textblock-columns-3-section .content-row{grid-template-columns:repeat(2,1fr)!important}
  body.ivory.detail-page .features-list-section .features-list-item-wrapper{flex-direction:row!important}
  body.ivory.detail-page .menu-icon-section .menu-icon-items{grid-template-columns:repeat(2,1fr)!important}
  body.ivory.detail-page .menu-photo-items{grid-template-columns:repeat(3,1fr)!important}
  body.ivory.detail-page .textblock-section .ruled-list{column-count:2!important}
  body.ivory.detail-page .features-card-section .features-card-items>.menu.column{
    flex:0 0 calc(50% - .75rem)!important;max-width:calc(50% - .75rem)!important;
  }
  body.ivory.detail-page .pods-section .menus{grid-template-columns:repeat(2,1fr)!important}
  body.ivory.detail-page .pods-section .pods-items{grid-template-columns:repeat(2,1fr)!important}
  body.ivory.detail-page .tagline-width{max-width:70%!important}
  /* Reduce split gap on tablet */
  body.ivory.detail-page .textblock-image-section .content-row{gap:3rem}
  body.ivory.detail-page .textblock-columns-2-section .content-row{gap:3rem}
}
@media(max-width:768px){
  body.ivory.detail-page .section{padding:clamp(3rem,6vw,4.5rem) 0}
  body.ivory.detail-page .section-container{padding:0 1.25rem}
  body.ivory.detail-page .row,
  body.ivory.detail-page .content-row{flex-direction:column!important;gap:2rem}
  body.ivory.detail-page .column{
    flex:0 0 100%!important;width:100%!important;max-width:100%!important;
    padding-left:0!important;padding-right:0!important;
  }
  body.ivory.detail-page .textblock-columns-3-section .content-row{grid-template-columns:1fr!important}
  body.ivory.detail-page .features-card-section .features-card-items>.menu.column{
    flex:0 0 100%!important;max-width:100%!important;
  }
  body.ivory.detail-page .features-list-section .features-list-item-wrapper{
    flex-direction:column!important;text-align:center;
  }
  body.ivory.detail-page .features-list-section .features-list-item-image{
    margin:0 auto!important;
  }
  body.ivory.detail-page .menu-icon-section .menu-icon-items{grid-template-columns:1fr!important}
  body.ivory.detail-page .menu-photo-items{grid-template-columns:repeat(2,1fr)!important}
  body.ivory.detail-page .textblock-section .ruled-list{column-count:1!important}
  body.ivory.detail-page .photo-set-section .images-row{grid-template-columns:1fr!important}
  body.ivory.detail-page .show-for-desktop{display:none!important}
  body.ivory.detail-page .show-for-mobile{display:block!important}
  body.ivory.detail-page .buttons-container,
  body.ivory.detail-page .section-button .row{flex-direction:column!important;align-items:stretch}
  body.ivory.detail-page .section a.button{justify-content:center;text-align:center;width:100%}
  body.ivory.detail-page .announcement-section .announcement-wrapper{
    flex-direction:column!important;gap:1.5rem!important;text-align:center;
    justify-content:center!important;
  }
  /* Announcement banner spacing: reduce on tablet */
  body.ivory.detail-page .announcement-section,
  body.ivory.detail-page .announcement-b-section{
    padding:clamp(3rem,6vw,4.5rem) var(--iv-gut)!important;
  }
  /* Banner card: reduce padding, shrink icon */
  body.ivory.detail-page .announcement-section>.section-container,
  body.ivory.detail-page .announcement-b-section>.section-container{
    padding:2rem 2rem!important;min-height:200px;
  }
  body.ivory.detail-page .announcement-section>.section-container::after,
  body.ivory.detail-page .announcement-b-section>.section-container::after{
    width:56px;height:56px;top:1.25rem;right:1.25rem;background-size:24px;
  }
  body.ivory.detail-page .pods-section .menus{grid-template-columns:1fr!important}
  body.ivory.detail-page .pods-section .pods-items{grid-template-columns:1fr!important}
  body.ivory.detail-page .tagline-width{max-width:100%!important}
  body.ivory.detail-page .flexbox-alignment{justify-content:center;text-align:center}
  /* Hide decorative image offset borders on mobile (too tight) */
  body.ivory.detail-page .textblock-image-section .column.figure figure::after,
  body.ivory.detail-page .textblock-columns-2-section .column figure::after{display:none}
  /* Timeline: remove left offset on mobile */
  body.ivory.detail-page .timeline-section .timeline-wrapper{padding-left:0}
  body.ivory.detail-page .timeline-section .timeline-wrapper::before{display:none}
  body.ivory.detail-page .timeline-section .timeline-item.has-icon .timeline-item-container::before{
    margin-left:0!important;margin:0 auto 1rem!important;
  }
  body.ivory.detail-page .timeline-section .timeline-item-content{text-align:center}
  /* Quote decorative mark centered */
  body.ivory.detail-page .quote-section .section-container::before{
    left:50%;transform:translateX(-50%);
  }
  /* Dark section orb: smaller on mobile */
  body.ivory.detail-page .section.color-scheme-2::after,
  body.ivory.detail-page .section.color-scheme-3:not(:first-of-type)::after,
  body.ivory.detail-page .section.color-scheme-4::after,
  body.ivory.detail-page .section.color-scheme-5::after,
  body.ivory.detail-page .section.color-scheme-6::after{
    width:250px;height:250px;top:-100px;right:-50px;
  }
}
@media(max-width:480px){
  body.ivory.detail-page main>section.section:first-of-type{
    padding-top:5.5rem!important;padding-bottom:2rem!important;min-height:auto;
  }
  body.ivory.detail-page main>section.section:first-of-type h1{
    font-size:clamp(1.5rem,7vw,2.25rem)!important;
  }
  body.ivory.detail-page main>section.section:first-of-type h1::after{width:60px;height:2px}
  body.ivory.detail-page main>section.section:first-of-type h1::before{
    font-size:.5625rem!important;padding:.375rem 1rem!important;letter-spacing:.1em!important;
  }
  body.ivory.detail-page main>.textblock-columns-2-section:first-of-type .column-2{max-width:280px}
  body.ivory.detail-page main>.textblock-columns-2-section:first-of-type .buttons-container{
    flex-direction:column!important;align-items:stretch!important;
  }
  body.ivory.detail-page .hero-v2-section{
    padding-top:5.5rem!important;min-height:auto!important;
  }
  body.ivory.detail-page .menu-photo-items{grid-template-columns:1fr!important}
  body.ivory.detail-page .section-heading .title{font-size:clamp(1.375rem,5vw,2rem)!important}
  body.ivory.detail-page .section-heading .title::after{width:40px;height:2px;margin-top:.75rem}
  body.ivory.detail-page .announcement-section,
  body.ivory.detail-page .announcement-b-section{padding:clamp(2.5rem,6vw,4rem) .75rem!important}
  body.ivory.detail-page .announcement-section>.section-container,
  body.ivory.detail-page .announcement-b-section>.section-container{
    padding:1.75rem 1.5rem!important;min-height:auto;border-radius:20px;
  }
  body.ivory.detail-page .announcement-section>.section-container::after,
  body.ivory.detail-page .announcement-b-section>.section-container::after{
    width:48px;height:48px;top:1rem;right:1rem;background-size:20px;
  }
  /* Simplify cards on small screens */
  body.ivory.detail-page .textblock-columns-3-section .column{padding:1.75rem!important}
  body.ivory.detail-page .features-card-item{padding:1.75rem!important}
  body.ivory.detail-page .menu-icon-item{padding:1.75rem!important}
  body.ivory.detail-page .pods-section .menu-card-item{padding:1.75rem!important}
}

/* ────────────────────────────────────────────────
   CONTACT PAGE — Modern Two-Column Layout
   ──────────────────────────────────────────────── */
.iv-contact-grid{
  display:grid;
  grid-template-columns:1.5fr 1fr;
  gap:2rem;
  align-items:stretch;
  max-width:1180px;
  margin:0 auto;
}
.iv-contact-form{
  padding:3rem;
  background:#fff;
  border-radius:var(--iv-r-xl);
  box-shadow:0 20px 60px rgba(10,22,40,.08);
  border:1px solid var(--iv-border);
}
.iv-contact-form:hover{transform:none;box-shadow:0 20px 60px rgba(10,22,40,.08)}
.iv-contact-form .iv-hdr{margin-bottom:2rem;text-align:left}
.iv-contact-form .iv-hdr h2{margin-bottom:.5rem}
.iv-contact-form .iv-hdr p{color:var(--iv-text-lt);font-size:.9375rem}

/* Form elements */
.iv-form .iv-field{margin-bottom:1.125rem}
.iv-form label{
  display:block;margin-bottom:.5rem;
  font-size:.8125rem;font-weight:600;
  letter-spacing:.03em;color:var(--iv-navy);
  text-transform:uppercase;
}
.iv-form input[type="text"],
.iv-form input[type="email"],
.iv-form input[type="tel"],
.iv-form textarea{
  width:100%;padding:.9rem 1.1rem;
  background:#F7F8FA;
  border:1.5px solid transparent;
  border-radius:.75rem;
  font-family:inherit;font-size:1rem;color:var(--iv-navy);
  transition:all .25s ease;
  outline:none;
}
.iv-form input:focus,.iv-form textarea:focus{
  background:#fff;
  border-color:var(--iv-accent);
  box-shadow:0 0 0 4px rgba(42,171,179,.12);
}
.iv-form textarea{resize:vertical;min-height:140px}
.iv-form .iv-checkbox-row{
  display:flex;gap:.75rem;align-items:flex-start;
  margin-top:1rem;
}
.iv-form .iv-checkbox-row input[type="checkbox"]{
  margin-top:.2rem;flex-shrink:0;
  width:18px;height:18px;accent-color:var(--iv-accent);
}
.iv-form .iv-checkbox-row label{
  margin:0;
  font-size:.8125rem;font-weight:400;
  letter-spacing:0;text-transform:none;
  color:var(--iv-text-lt);line-height:1.55;
}
.iv-form .iv-checkbox-row label a{color:var(--iv-accent);text-decoration:underline}
.iv-form .iv-btn--full{
  width:100%;justify-content:center;margin-top:1.75rem;
  padding:1.1rem 2rem;font-size:.875rem;
}

/* Info Card — dark navy */
.iv-contact-info{
  background:linear-gradient(135deg,#0A1628 0%,#1A2A4A 55%,#22355E 100%);
  color:#fff;
  border-radius:var(--iv-r-xl);
  padding:3rem 2.5rem;
  display:flex;flex-direction:column;
  position:relative;overflow:hidden;
  box-shadow:0 20px 60px rgba(10,22,40,.18);
}
.iv-contact-info::before{
  content:'';position:absolute;
  top:-120px;right:-120px;
  width:340px;height:340px;
  background:radial-gradient(circle,rgba(42,171,179,.18) 0%,transparent 65%);
  border-radius:50%;
  pointer-events:none;
}
.iv-contact-info::after{
  content:'';position:absolute;
  bottom:-80px;left:-80px;
  width:240px;height:240px;
  background:radial-gradient(circle,rgba(201,169,110,.10) 0%,transparent 65%);
  border-radius:50%;
  pointer-events:none;
}
.iv-contact-info>*{position:relative;z-index:1}
.iv-contact-info .iv-hdr{text-align:left;margin-bottom:2.25rem}
.iv-contact-info .iv-hdr__tag{color:var(--iv-accent);margin-bottom:.625rem}
.iv-contact-info .iv-hdr h3{
  color:#fff;font-size:1.75rem;line-height:1.15;
  margin-bottom:0;
}
.iv-contact-list{
  list-style:none;padding:0;margin:0 0 1.75rem;
  display:flex;flex-direction:column;gap:1.25rem;
}
.iv-contact-map{
  position:relative;z-index:1;
  flex:1 1 auto;
  min-height:220px;
  margin:0 0 1.5rem;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 10px 32px rgba(0,0,0,.28);
  line-height:0;
  background:#0A1628;
}
.iv-contact-map iframe{display:block;width:100%;height:100%;min-height:220px;border:0}
.iv-contact-list li{
  display:flex;gap:1rem;align-items:center;min-height:46px;
}
.iv-contact-list .iv-icon{
  width:46px;height:46px;flex-shrink:0;align-self:center;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  color:var(--iv-accent);
}
.iv-contact-list .iv-info-body{
  flex:1;min-width:0;align-self:center;
  display:flex;flex-direction:column;justify-content:center;
  line-height:1.45;
}
/* Visually hide the label — icons make the row type obvious */
.iv-contact-list strong{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
.iv-contact-list .iv-info-body,
.iv-contact-list .iv-info-body a{
  color:#fff;
  font-size:.9375rem;line-height:1.55;
  text-decoration:none;
  transition:color .25s ease;
}
.iv-contact-list .iv-info-body a:hover{color:var(--iv-accent)}
.iv-contact-cta{
  margin-top:auto;padding-top:1.5rem;
  border-top:1px solid rgba(255,255,255,.10);
  display:flex;
}
.iv-contact-cta .iv-btn{
  display:flex;width:100%;justify-content:center;
  padding:1.05rem 1.5rem;
  background:#fff!important;color:var(--iv-navy)!important;border-color:#fff!important;
  box-shadow:0 10px 28px rgba(0,0,0,.28);
  transition:background var(--iv-dur) var(--iv-ease),color var(--iv-dur) var(--iv-ease),border-color var(--iv-dur) var(--iv-ease),box-shadow var(--iv-dur) var(--iv-ease),transform var(--iv-dur) var(--iv-ease);
}
.iv-contact-cta .iv-btn:hover{
  background:var(--iv-cream)!important;color:var(--iv-navy)!important;border-color:var(--iv-cream)!important;
  box-shadow:0 14px 36px rgba(0,0,0,.38);
  transform:translateY(-2px);
}

@media (max-width:960px){
  .iv-contact-grid{grid-template-columns:1fr;gap:1.5rem}
  .iv-contact-form{padding:2.25rem}
  .iv-contact-info{padding:2.5rem 2rem}
}
@media (max-width:640px){
  .iv-contact-form{padding:1.75rem 1.25rem}
  .iv-contact-info{padding:2rem 1.5rem}
  .iv-contact-info .iv-hdr h3{font-size:1.5rem}
}

/* ────────────────────────────────────────────────
   LOCATION PAGE — Info Card + Interactive Map + Hours
   ──────────────────────────────────────────────── */
.iv-loc-grid{
  display:grid;
  grid-template-columns:1fr 1.35fr;
  gap:2rem;
  align-items:stretch;
  max-width:1240px;
  margin:0 auto;
}
.iv-loc-info{min-height:520px}
.iv-loc-map{
  position:relative;
  border-radius:var(--iv-r-xl);
  overflow:hidden;
  box-shadow:0 20px 60px rgba(10,22,40,.14);
  border:1px solid var(--iv-border);
  background:#E8EEF3;
  min-height:520px;
}
.iv-loc-map iframe{
  display:block;width:100%;height:100%;
  min-height:520px;border:0;
  filter:grayscale(.08) contrast(1.04);
}
.iv-loc-map::after{
  content:'';position:absolute;inset:0;
  border-radius:var(--iv-r-xl);pointer-events:none;
  box-shadow:inset 0 0 0 1px rgba(10,22,40,.05);
}

/* Office hours elegant card */
.iv-hours{
  max-width:760px;margin:0 auto;
  background:#fff;
  border-radius:var(--iv-r-xl);
  padding:2.5rem 3rem;
  box-shadow:0 20px 60px rgba(10,22,40,.08);
  border:1px solid var(--iv-border);
}
.iv-hours__row{
  display:flex;align-items:center;gap:1.25rem;
  padding:1.1rem 0;
  border-bottom:1px dashed rgba(10,22,40,.12);
}
.iv-hours__row:last-child{border-bottom:0}
.iv-hours__day{
  font-family:var(--iv-ff-serif);
  font-size:1.0625rem;font-weight:600;
  color:var(--iv-navy);
  min-width:120px;
}
.iv-hours__dot{
  flex:1;height:1px;
  background-image:linear-gradient(to right,rgba(10,22,40,.18) 50%,transparent 50%);
  background-size:8px 1px;background-repeat:repeat-x;
  background-position:center;
  min-width:20px;
}
.iv-hours__time{
  font-size:.95rem;font-weight:500;
  color:var(--iv-text);
  letter-spacing:.02em;
  text-align:right;
}
.iv-hours__row--closed .iv-hours__day{color:var(--iv-text-lt)}
.iv-hours__row--closed .iv-hours__time{
  color:var(--iv-text-lt);
  font-style:italic;
  position:relative;padding-left:.875rem;
}
.iv-hours__row--closed .iv-hours__time::before{
  content:'';position:absolute;left:0;top:50%;transform:translateY(-50%);
  width:6px;height:6px;border-radius:50%;
  background:var(--iv-accent);opacity:.35;
}

@media (max-width:960px){
  .iv-loc-grid{grid-template-columns:1fr;gap:1.5rem}
  .iv-loc-info,.iv-loc-map,.iv-loc-map iframe{min-height:auto}
  .iv-loc-map iframe{height:420px}
  .iv-hours{padding:2rem 1.75rem}
}
@media (max-width:640px){
  .iv-loc-map iframe{height:320px}
  .iv-hours{padding:1.75rem 1.25rem}
  .iv-hours__row{gap:.75rem;padding:.9rem 0}
  .iv-hours__day{min-width:88px;font-size:1rem}
  .iv-hours__time{font-size:.875rem}
}

/* ================================================================
   COMPREHENSIVE RESPONSIVE LAYER — Modern breakpoint system
   xxl 1440+ | xl 1280 | lg 1024 | md 900 | sm 768 | xs 640 | 2xs 480 | 3xs 380
   Covers: container scaling, typography, grids, hero, nav, cards,
           buttons, forms, announcements, footer, CTAs, tables
   ================================================================ */

/* Prevent horizontal overflow globally */
html,body.ivory{max-width:100vw;overflow-x:clip}
body.ivory img,body.ivory video,body.ivory iframe{max-width:100%}
/* Default auto-height only for content images in specific containers so explicit height rules (nav logo, logo marquee, team carousel, etc.) aren't clobbered. */
body.ivory .iv-bio img,
body.ivory .iv-card img,
body.ivory .iv-hero__img img,
body.ivory .iv-split__img img,
body.ivory .iv-feat__icon img,
body.ivory .iv-knowbox img,
body.ivory .iv-banner__bg img{height:auto}
/* Note: base fixed-height rules for .iv-nav__logo img and .iv-logos-marquee__track img
   are defined earlier in the file (before @media blocks) to allow responsive overrides. */
body.ivory table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
/* Allow text/long words to wrap instead of pushing layout */
body.ivory h1,body.ivory h2,body.ivory h3,body.ivory h4,body.ivory p,body.ivory li,body.ivory a,body.ivory span{overflow-wrap:break-word;word-wrap:break-word}
/* Grids: prevent min-content from expanding beyond container */
.iv-grid,.iv-split,.iv-hero__content,.iv-hero-split,.iv-contact-grid,.iv-footer__top,.iv-svc,.iv-overlay__grid,.iv-g2,.iv-g3,.iv-g4,.iv-g5,.iv-team-grid{min-width:0}
.iv-grid>*,.iv-split>*,.iv-hero__content>*,.iv-hero-split>*,.iv-contact-grid>*,.iv-footer__top>*,.iv-svc>*,.iv-g2>*,.iv-g3>*,.iv-g4>*,.iv-g5>*{min-width:0}

/* Fluid container gutter — scales with viewport */
:root{--iv-gut:clamp(1rem,4vw,3rem)}

/* ─── xxl : 1440px and up — cap max-widths ─── */
@media(min-width:1440px){
  :root{--iv-max:1240px}
  .iv-w{max-width:var(--iv-max)}
  .iv-contact-grid{max-width:1240px}
}

/* ─── xl : 1280px and below — shrink hero, gaps ─── */
@media(max-width:1280px){
  .iv-hero-split{gap:3rem}
  .iv-hero--prime{min-height:auto;padding:7.5rem 0 3rem!important}
  .iv-hero__content{gap:3rem}
  .iv-split{gap:3rem}
  .iv-footer__top{gap:2.5rem}
  .iv-cta__inner{padding:0 2.5rem}
  body.ivory.detail-page .textblock-image-section .content-row,
  body.ivory.detail-page .textblock-columns-2-section .content-row{gap:3rem}
}

/* ─── lg : 1024px and below — tablet landscape ─── */
@media(max-width:1024px){
  /* Hero — already stacked in base rule; tighten text */
  .iv-hero h1,.iv-hero--prime h1{font-size:clamp(2.25rem,4.5vw,3.25rem)!important}
  .iv-hero__sub{font-size:1.0625rem}
  .iv-hero__content{gap:2.5rem}
  .iv-hero-split__img{max-width:520px;margin:0 auto;width:100%}
  .iv-hero__card img{aspect-ratio:4/3}

  /* Grids — 3-col becomes 2, 4-col becomes 2, 5-col becomes 2 */
  .iv-g4{grid-template-columns:repeat(2,1fr)}
  .iv-g5{grid-template-columns:repeat(2,1fr)}

  /* Footer — 2-col on tablet */
  .iv-footer__top{grid-template-columns:1fr 1fr;gap:2.5rem}
  .iv-footer__brand{grid-column:1 / -1}

  /* CTA stacks earlier */
  .iv-cta__inner{flex-direction:column;text-align:center;padding:0 2rem;gap:1.5rem}
  .iv-cta .iv-btns{justify-content:center;flex-wrap:wrap}

  /* Knowbox tighter */
  .iv-knowbox{padding:2.5rem 2rem}

  /* Banner card padding */
  .iv-banner__body{padding:2.5rem}

  /* Team grid on V2 */
  .iv-team-grid{grid-template-columns:repeat(2,1fr)}

  /* Inner pages */
  body.ivory.detail-page .announcement-section>.section-container,
  body.ivory.detail-page .announcement-b-section>.section-container{
    padding:3rem 2.5rem 3rem 2.5rem;
  }
}

/* ─── md : 900px and below — tablet portrait ─── */
@media(max-width:900px){
  :root{--iv-sec:clamp(3.5rem,8vw,5rem)}

  /* Typography tightens */
  body.ivory h1{font-size:clamp(2rem,6vw,3rem)}
  body.ivory h2{font-size:clamp(1.5rem,4.5vw,2.375rem)}

  /* Hero — reduce padding & force-stack */
  .iv-hero{padding:9rem 0 4rem}
  .iv-hero--full{min-height:auto;padding:8rem 0 4rem}
  .iv-hero--prime{padding:7rem 0 2.5rem!important}
  .iv-hero-split{grid-template-columns:1fr;gap:2.5rem;text-align:center}
  .iv-hero-split__text{max-width:620px;margin:0 auto}
  .iv-hero--prime .iv-btns{justify-content:center;flex-wrap:wrap}
  .iv-hero--prime .iv-hero__sub{margin-left:auto;margin-right:auto}

  /* Grids */
  .iv-g2{grid-template-columns:repeat(2,1fr)}
  .iv-g2>*{grid-column:auto}
  .iv-g3{grid-template-columns:repeat(2,1fr)}
  .iv-g3>*{grid-column:auto}
  .iv-g3>*:last-child:nth-child(3n + 1),
  .iv-g3>*:nth-last-child(2):nth-child(3n + 1){grid-column:auto}
  .iv-svc{grid-template-columns:repeat(2,1fr)}

  /* CTA margin tightens */
  .iv-cta{margin:3rem var(--iv-gut) 0}
  .iv-cta__inner{padding:0 1.5rem}

  /* Inner page — stack rows */
  body.ivory.detail-page .content-row,
  body.ivory.detail-page .row{gap:2.5rem}
  body.ivory.detail-page .textblock-image-section .content-row,
  body.ivory.detail-page .textblock-columns-2-section .content-row{
    flex-direction:column!important;gap:2.5rem;
  }
  body.ivory.detail-page .textblock-image-section .column.figure,
  body.ivory.detail-page .textblock-image-section .column.textblock,
  body.ivory.detail-page .textblock-columns-2-section .column{
    flex:1 1 100%!important;width:100%!important;
  }

  /* Pods / features-card grids become 2 cols */
  body.ivory.detail-page .pods-section .pods-items{grid-template-columns:repeat(2,1fr)!important}
  body.ivory.detail-page .features-card-section .features-card-items>.menu.column{
    flex:0 0 calc(50% - .75rem)!important;max-width:calc(50% - .75rem)!important;
  }
  body.ivory.detail-page .features-card-section .features-card-items.item-count-3>.menu.column,
  body.ivory.detail-page .features-card-section .features-card-items.item-count-6>.menu.column{
    flex:0 0 calc(50% - .75rem)!important;max-width:calc(50% - .75rem)!important;
  }
}

/* ─── sm : 768px — existing max-width:768 rules extended ─── */
@media(max-width:768px){
  :root{--iv-sec:clamp(3rem,7vw,4.5rem)}

  /* Collapse all grids to single column at phone size */
  .iv-g2,.iv-g3,.iv-g4,.iv-g5{grid-template-columns:1fr}
  .iv-g2>*,.iv-g3>*,.iv-g4>*,.iv-g5>*{grid-column:1 / -1 !important}

  /* Typography — more mobile-friendly */
  body.ivory p{font-size:1rem;line-height:1.75}
  body.ivory h3{font-size:1.125rem}
  body.ivory blockquote{padding:1.5rem 1.25rem;margin:1.5rem 0}
  body.ivory blockquote p{font-size:1rem}
  body.ivory blockquote h2{font-size:clamp(1.25rem,4vw,1.75rem)}

  /* Headers reduce margin */
  .iv-hdr{margin-bottom:1rem}
  .iv-hdr--center{padding:0 .5rem}

  /* Team carousel stacks to 1-per */
  .iv-team-grid{grid-template-columns:1fr;gap:1.25rem}
  .iv-team-carousel__track .iv-doc{flex:0 0 calc(85% - .75rem);max-width:calc(85% - .75rem)}

  /* Feature cards tighter padding */
  .iv-feat{padding:1.75rem}

  /* Buttons — ensure touch target (44px min) */
  .iv-btn{min-height:44px;padding:.875rem 1.75rem;justify-content:center}
  body.ivory.detail-page .section a.button{min-height:44px;justify-content:center}

  /* Navigation tighter */
  .iv-nav{width:calc(100% - 20px);padding:.5rem .875rem;top:8px;border-radius:9999px}
  .iv-nav__cta{padding:.55rem 1.1rem!important;font-size:.6875rem!important}
  .iv-nav__logo img{height:30px}

  /* Overlay menu — single column scroll */
  .iv-overlay{padding:5.5rem 1.5rem 2.5rem;
          align-items: flex-start;
  }
  .iv-overlay__grid{grid-template-columns:1fr;gap:1.75rem;max-width:420px}
  .iv-overlay__col h3{font-size:1.25rem;margin-bottom:.75rem}
  .iv-overlay__col a{font-size:.9375rem;padding:.625rem 0}

  /* Split / Hero lists */
  .iv-split{gap:2rem}
  .iv-split__img img{max-height:none}
  .iv-hero__content{text-align:center}
  .iv-hero__list{max-width:440px;margin-left:auto;margin-right:auto}
  .iv-hero__list li{justify-content:flex-start}
  .iv-hero--prime .iv-hero-split__text{text-align:center}
  .iv-hero--prime .iv-btns{justify-content:center}
  .iv-hero--prime h1{text-align:center}
  .iv-hero__tag{margin-bottom:1rem}
  .iv-hero--prime .iv-hero__tag{margin-bottom:1rem}

  /* Banner (homepage V2) */
  .iv-banner{min-height:280px}
  .iv-banner__body{padding:1.75rem 1.5rem}
  .iv-banner__body ul{grid-template-columns:1fr}

  /* Contact form fields */
  .iv-form input[type="text"],
  .iv-form input[type="email"],
  .iv-form input[type="tel"],
  .iv-form textarea{padding:.825rem 1rem;font-size:16px}
  .iv-form .iv-field{margin-bottom:1rem}

  /* Contact info card icons smaller */
  .iv-contact-list{gap:1.25rem}
  .iv-contact-list .iv-icon{width:40px;height:40px}

  /* Knowbox padding */
  .iv-knowbox{padding:1.75rem 1.25rem;border-radius:18px}
  .iv-knowbox__badge{font-size:.6875rem;padding:.4rem .75rem}
  .iv-knowbox__title{font-size:clamp(1.25rem,4vw,1.625rem)!important;margin-bottom:1rem!important}
  .iv-knowbox__body p{font-size:.9375rem}

  /* CTA padding */
  .iv-cta{padding:3rem 0;border-radius:18px}
  .iv-cta h2{font-size:clamp(1.25rem,4vw,1.625rem)}
  .iv-cta p{font-size:.9375rem}

  /* Footer stacks */
  .iv-footer{padding:3.5rem 0 1.5rem}
  .iv-footer__top{grid-template-columns:1fr;gap:2.5rem;margin-bottom:2.5rem}
  .iv-footer__brand{grid-column:auto}
  .iv-footer__col h4{margin-bottom:.875rem}

  /* Inner pages — stabilize spacing */
  body.ivory.detail-page main>section.section:first-of-type{padding-top:6.5rem!important}
  body.ivory.detail-page .section{padding:clamp(2.5rem,6vw,4rem) 0!important}
  body.ivory.detail-page .section-container{padding:0 1.25rem!important}
  body.ivory.detail-page .section h1{font-size:clamp(1.75rem,6vw,2.5rem)!important}
  body.ivory.detail-page .section h2{font-size:clamp(1.375rem,5vw,2rem)!important}
  body.ivory.detail-page .section h3{font-size:1.125rem!important}
  body.ivory.detail-page .section p{font-size:1rem!important;line-height:1.75!important}

  /* Inner page buttons */
  body.ivory.detail-page .buttons-container{flex-direction:column;align-items:stretch;gap:.75rem}
  body.ivory.detail-page .section a.button{width:100%;text-align:center}
  body.ivory.detail-page .buttons-container .button{width:100%}

  /* Inner page grids collapse */
  body.ivory.detail-page .textblock-columns-3-section .content-row{grid-template-columns:1fr!important;gap:1.25rem!important}
  body.ivory.detail-page .textblock-columns-3-section .column{padding:1.75rem!important}
  body.ivory.detail-page .textblock-section .ruled-list{column-count:1!important}
  body.ivory.detail-page .menu-icon-section .menu-icon-items{grid-template-columns:1fr!important}
  body.ivory.detail-page .pods-section .pods-items{grid-template-columns:1fr!important}
  body.ivory.detail-page .pods-section .menus{grid-template-columns:1fr!important}
  body.ivory.detail-page .features-card-section .features-card-items>.menu.column,
  body.ivory.detail-page .features-card-section .features-card-items.item-count-3>.menu.column,
  body.ivory.detail-page .features-card-section .features-card-items.item-count-6>.menu.column{
    flex:0 0 100%!important;max-width:100%!important;
  }
  body.ivory.detail-page .photo-set-section .images-row{grid-template-columns:1fr!important;gap:1.25rem}
  body.ivory.detail-page .menu-photo-items{grid-template-columns:1fr!important}

  /* Features list — icon stacks above text */
  body.ivory.detail-page .features-list-section .features-list-item-wrapper{
    flex-direction:column!important;gap:1.25rem!important;padding:1.75rem!important;text-align:center;
  }
  body.ivory.detail-page .features-list-section .features-list-item-image{margin:0 auto!important}

  /* Timeline — simpler mobile */
  body.ivory.detail-page .timeline-section .timeline-wrapper{padding-left:0}
  body.ivory.detail-page .timeline-section .timeline-wrapper::before{display:none}
  body.ivory.detail-page .timeline-section .timeline-item-content{padding:1.5rem}
  body.ivory.detail-page .timeline-section .timeline-item.has-icon .timeline-item-container::before{
    margin-left:0!important;margin:0 auto 1rem!important;
  }
  body.ivory.detail-page .timeline-section .timeline-item-content{text-align:center}

  /* Announcement banner — stack, shrink icon */
  body.ivory.detail-page .announcement-section,
  body.ivory.detail-page .announcement-b-section{padding:clamp(2.5rem,6vw,4rem) var(--iv-gut)!important}
  body.ivory.detail-page .announcement-section>.section-container,
  body.ivory.detail-page .announcement-b-section>.section-container{
    padding:2.25rem 1.75rem!important;min-height:220px;border-radius:20px;
  }
  body.ivory.detail-page .announcement-section>.section-container::after,
  body.ivory.detail-page .announcement-b-section>.section-container::after{
    width:56px;height:56px;top:1.25rem;right:1.25rem;background-size:24px;
  }
  body.ivory.detail-page .announcement-section .announcement-wrapper{
    flex-direction:column!important;text-align:center;gap:1.25rem!important;
  }

  /* Blockquote tighter */
  body.ivory.detail-page .section blockquote{
    padding:1.5rem 1.25rem 1.5rem 1.5rem!important;margin:1.5rem 0!important;
  }
  body.ivory.detail-page .section blockquote p{font-size:1rem!important;line-height:1.7!important}
  body.ivory.detail-page .section blockquote h2{font-size:clamp(1.125rem,4vw,1.5rem)!important}
  body.ivory.detail-page .quote-section .section-container::before{
    font-size:5rem;left:50%;transform:translateX(-50%);
  }

  /* Contact form inner page */
  body.ivory.detail-page .contact-form-section .contact-form{padding:1.75rem 1.25rem}

  /* Logos marquee speed/size */
  .iv-sec--logos{padding:3rem 0 3.5rem}
}

/* ─── xs : 640px — large phones ─── */
@media(max-width:640px){
  .iv-hero{padding:7.5rem 0 3rem}
  .iv-hero--prime{padding:6.5rem 0 2rem!important}
  .iv-hero-split{gap:2rem}
  .iv-hero-split__img{max-width:320px}
  .iv-hero__card img{aspect-ratio:1}

  /* Grids flatten */
  .iv-g4,.iv-g5{grid-template-columns:1fr}
  .iv-svc{grid-template-columns:1fr}

  /* CTA margin removal */
  .iv-cta{margin:2rem 0 0;border-radius:0}
  .iv-cta__inner{padding:0 1.25rem}
  .iv-cta .iv-btns{flex-direction:column;align-items:stretch;width:100%}
  .iv-cta .iv-btn{width:100%;text-align:center}

  /* Buttons global — full width when in .iv-btns */
  .iv-btns{flex-direction:column;align-items:stretch;width:100%}
  .iv-btns .iv-btn{width:100%;text-align:center}

  /* Nav shrinks more */
  .iv-nav{padding:.45rem .75rem;width:calc(100% - 16px)}
  .iv-nav__logo img{height:28px}
  .iv-nav__cta{padding:.45rem .9rem!important;font-size:.625rem!important}
  .iv-nav__menu{font-size:0}
  .iv-nav__bars{width:18px}

  /* Section paddings */
  .iv-sec--logos{padding:2.5rem 0 3rem}
  .iv-sec--svc{padding:3rem 0}

  /* Contact form */
  .iv-contact-form{padding:1.5rem 1.125rem}
  .iv-contact-info{padding:1.75rem 1.25rem}
  .iv-contact-info .iv-hdr h3{font-size:1.375rem}
  .iv-contact-list{gap:1rem}
  .iv-contact-list .iv-icon{width:36px;height:36px}
  .iv-contact-list .iv-info-body,
  .iv-contact-list .iv-info-body a{font-size:.875rem}

  /* FAQ */
  .iv-faq__q{padding:1rem 1.125rem;font-size:.9375rem}
  .iv-faq__a__inner{padding:0 1.125rem 1.125rem}

  /* Inner page ruled list pills bigger tap target */
  body.ivory.detail-page .ruled-list li{padding:.875rem 1.25rem!important;font-size:.875rem}

  /* Logos track smaller */
  .iv-logos-marquee__track{gap:2.5rem}
  .iv-logos-marquee__track img{height:40px}
}

/* ─── 2xs : 480px — small phones ─── */
@media(max-width:480px){
  body.ivory h1{font-size:clamp(1.625rem,7vw,2.25rem)}
  body.ivory h2{font-size:clamp(1.25rem,5.5vw,1.875rem)}
  body.ivory p{font-size:.9375rem}

  .iv-hero{padding:7rem 0 2.5rem}
  .iv-hero--prime{padding:6rem 0 1.5rem!important}
  .iv-hero-split{gap:1.75rem}
  .iv-hero-split__img{max-width:260px}

  .iv-nav{width:calc(100% - 12px);top:6px;padding:.4rem .625rem}
  .iv-nav__logo img{height:26px}
  .iv-nav__cta{padding:.4rem .75rem!important;font-size:.5625rem!important}

  .iv-hdr{margin-bottom:.75rem}
  .iv-hdr__tag{font-size:.625rem;padding:0;margin-bottom:.625rem}

  .iv-feat{padding:1.5rem}
  .iv-card__body{padding:1.25rem}

  .iv-knowbox{padding:1.5rem 1.125rem}
  .iv-knowbox__title{font-size:1.25rem!important}
  .iv-knowbox__body p{font-size:.875rem}
  .iv-knowbox__quote{padding:1.25rem 1rem!important;margin:1.25rem 0}

  /* Contact card content */
  .iv-contact-form{padding:1.25rem 1rem}
  .iv-contact-form .iv-hdr h2{font-size:1.25rem}
  .iv-contact-info{padding:1.5rem 1.125rem}
  .iv-form label{font-size:.75rem}

  /* FAQ item */
  .iv-faq__item{margin-bottom:.5rem}

  /* Inner page — tighter paddings */
  body.ivory.detail-page .section-container{padding:0 1rem!important}
  body.ivory.detail-page .textblock-columns-3-section .column{padding:1.5rem!important}
  body.ivory.detail-page .features-card-item{padding:1.5rem!important}
  body.ivory.detail-page .menu-icon-item{padding:1.5rem!important}
  body.ivory.detail-page .pods-section .menu-card-item{padding:1.5rem!important}
  body.ivory.detail-page .timeline-section .timeline-item-content{padding:1.25rem}
  body.ivory.detail-page .announcement-section>.section-container,
  body.ivory.detail-page .announcement-b-section>.section-container{
    padding:1.75rem 1.25rem!important;
  }
  body.ivory.detail-page .announcement-section>.section-container::after,
  body.ivory.detail-page .announcement-b-section>.section-container::after{
    width:48px;height:48px;top:1rem;right:1rem;background-size:20px;
  }
  body.ivory.detail-page .section blockquote{padding:1.25rem 1rem 1.25rem 1.125rem!important}

  /* Logos marquee smallest */
  .iv-logos-marquee::before,.iv-logos-marquee::after{width:40px}
  .iv-logos-marquee__track{gap:2rem}
  .iv-logos-marquee__track img{height:34px}
}

/* ─── 3xs : 380px — smallest phones ─── */
@media(max-width:380px){
  body.ivory h1{font-size:1.5rem}
  body.ivory h2{font-size:1.25rem}

  .iv-nav__logo img{height:24px}
  .iv-nav__cta{padding:.375rem .625rem!important;font-size:.5rem!important;letter-spacing:.03em!important}

  .iv-btn{padding:.75rem 1.25rem;font-size:.75rem}

  .iv-hero-split__img{max-width:220px}

  body.ivory.detail-page .section h1{font-size:clamp(1.375rem,6vw,1.875rem)!important}
  body.ivory.detail-page .section h2{font-size:clamp(1.125rem,5vw,1.625rem)!important}
}

/* ─── Landscape phone — prevent hero overlap with nav ─── */
@media(max-width:900px) and (orientation:landscape) and (max-height:500px){
  .iv-hero,.iv-hero--prime,.iv-hero--full{min-height:auto!important;padding:6rem 0 2rem!important}
  .iv-hero-split__img{max-width:260px}
  .iv-overlay{padding-top:5rem}
}

/* ─── Reduce motion for accessibility ─── */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
    scroll-behavior:auto!important;
  }
  .iv-logos-marquee__track{animation:none!important}
  .iv-hero--full::before,.iv-hero--full .iv-hero__bg::before{animation:none!important}
  .iv-hero__glow--a,.iv-hero__glow--b{animation:none!important}
  .iv-hero__ring,.iv-hero__floats{animation:none!important}
}

/* Kill old styles */
body.ivory .layout-background,body.ivory .fixed-nav-section,body.ivory .fixed-nav-mobile-section,
body.ivory .hero-inner-section,body.ivory .logo-mobile,body.ivory #overlay-menu,
body.ivory #overlay-phone,body.ivory #slide-menu,body.ivory .overlay-section,
body.ivory .closer-section,body.ivory .social-stripe-section,body.ivory .footer-section,
body.ivory .slide-menu-backdrop,body.ivory header.header-unstack,
body.ivory #layout{display:none!important}





/*Correcting Responsive structure */
.features-ozone-therapy{
    gap:1.25rem;
    display:grid;
    grid-template-columns:repeat(6,1fr);
}

label.label1{
        font-weight: 600;
        color: red !important;
        bottom: -27px;
        font-size: 12px;
        left: 0;
    }
.iv-sec--navy p strong{
            color: var(--iv-text-lt) !important;
    }
    
    
.iv-sec--navy p strong{
        color: rgba(255, 255, 255, .65) !important;
}
    
    
    
@media (max-width: 768px) {
    .iv-hero--prime .iv-hero__tag{
        align-items: flex-start;
    }
    .iv-hero--prime .iv-hero__sub{
        text-align:center !important;
    }
    .iv-trust, .iv-trust__item {
        align-items: flex-start;
    }
    .iv-cta{
      margin-bottom: 20px;
    }
    body.ivory h2, body.ivory p{
        text-align:left !important;
    }
    .iv-hdr--center{
        padding:0;
    }
    body.ivory.detail-page main img{
        height:100%;
    }
    .features-ozone-therapy {
    grid-template-columns: 1fr;
  }
    .features-ozone-therapy .iv-feat {
    grid-column: auto !important;
  }
}

@media (max-width: 480px) {
    body.ed.detail-page main>section:first-child{
            padding-top: 100px !important;
    }
    .iv-hdr__tag, body.ivory h3{
        text-align: left;
        width: 100%;
    }
    .financing-apply-now iframe{
        height:420px !important;
    }
    .financing-loan-calculator iframe{
         height:850px !important;
    }
    
    
}
@media (max-width: 400px){
    .financing-apply-now iframe{
        height:550px !important;
    }
    
}



.location-page{
        padding-top: 20px !important;
}