
/*
Theme Name: Tu Van Ly Hon 247
Author: Tu Van Ly Hon 247
Description: Custom WordPress block theme for a Vietnamese family law consulting website.
Version: 1.0.0
Text Domain: tuvanlyhon247
*/

:root{--navy:#082B69;--royal:#1559BD;--accent:#2563EB;--light:#EAF3FF;--ink:#142033}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;font-family:"Be Vietnam Pro",sans-serif;color:var(--ink);font-size:16px;line-height:1.75}a{text-underline-offset:4px}a,summary,button{touch-action:manipulation}a:focus-visible,summary:focus-visible,button:focus-visible{outline:3px solid var(--accent);outline-offset:5px}h1,h2,h3,p{overflow-wrap:break-word}h1,h2,h3{letter-spacing:-.035em}h3{font-size:22px;line-height:1.4;color:var(--navy)}.shell{width:calc(100% - 64px);max-width:1200px;margin-inline:auto!important}.wp-site-blocks{padding:0}.wp-site-blocks>*{margin-block-start:0}.site-header{background:#fff}.header-inner{display:flex;align-items:center;gap:24px;min-height:108px}.brand{font-size:16px;font-weight:800;line-height:1.4;max-width:195px;margin:0}.brand a{text-decoration:none;color:var(--navy)}.brand span{display:block;color:var(--royal);font-size:21px;letter-spacing:.12em}.header-inner .wp-block-navigation{margin-left:auto;font-size:12px;font-weight:600}.header-inner .wp-block-navigation__container{gap:20px}.header-inner .wp-block-buttons{margin:0;flex-shrink:0}.wp-block-button__link{padding:15px 23px;font-size:14px;font-weight:600;border-radius:12px;text-decoration:none;transition:background .2s,transform .2s}.wp-block-button__link:hover{background:var(--navy);transform:translateY(-2px)}.hero{background:var(--navy);border-radius:28px;min-height:590px;padding:64px 56px;display:grid;grid-template-columns:1.25fr 1fr;gap:36px;align-items:center;overflow:hidden;position:relative;color:#fff}.hero-copy{position:relative;z-index:1}.eyebrow{font-size:11px;letter-spacing:.16em;font-weight:700;color:var(--royal);margin:0 0 20px}.hero .eyebrow{color:#b8d5ff}.hero h1{font-size:clamp(36px,4.5vw,60px);line-height:1.15;color:#fff;margin:0 0 26px;font-weight:800}.hero-description{font-size:16px;line-height:1.85;color:#d9e7fc;max-width:510px;margin:0 0 32px}.hero .wp-block-buttons{gap:12px}.hero .wp-block-button__link{background:#fff;color:var(--navy)}.hero .wp-block-button__link:hover{background:var(--light)}.hero .is-style-outline .wp-block-button__link{background:transparent;border:1px solid #7896c4;color:#fff;padding:14px 22px}.hero .is-style-outline .wp-block-button__link:hover{background:#17457d}.hero-note{font-size:11px;color:#bdd1ef;margin-top:26px}.hero-art{position:relative;min-height:420px;display:flex;align-items:center;justify-content:center}.section{padding-block:96px}.section h2{font-size:clamp(28px,3.2vw,40px);line-height:1.25;margin:0 0 40px;color:var(--navy)}.situation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.situation-card{background:#fff;border:1px solid #dce5f0;border-radius:16px;padding:28px;display:flex;flex-direction:column}.card-number{margin:0 0 30px;font-size:12px;color:var(--royal);font-weight:700}.situation-card h3{margin:0 0 14px}.situation-card>p:not(.card-number):not(.card-link){color:#536176;font-size:14px;margin:0 0 28px}.card-link{font-size:12px;font-weight:600;margin:auto 0 0}.card-link a{text-decoration:none}.card-link span{margin-left:8px}.services{background:var(--light);padding:64px 40px;border-radius:28px}.service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.service-card{background:white;border-radius:16px;padding:32px;scroll-margin-top:24px}.service-icon{display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:700;color:var(--royal);margin:0 0 32px}.service-icon span{display:grid;place-items:center;width:40px;height:40px;background:var(--light);border-radius:50%;font-size:22px}.service-card h3{margin:0 0 14px}.service-card>p:not(.service-icon){color:#536176;font-size:14px;margin:0 0 24px}.service-card details{font-size:13px;color:var(--royal);border-top:1px solid #e6edf5;padding-top:18px}.service-card summary{cursor:pointer;font-weight:600}.service-card details p{color:var(--ink);font-weight:400}.consultation{text-align:center;padding:64px 32px;margin-block:64px!important;background:var(--navy);border-radius:28px;color:#fff}.consultation h2{font-size:clamp(28px,3vw,40px);color:white;line-height:1.3;max-width:760px;margin:0 auto 20px}.notice{max-width:660px;margin:0 auto;color:#d9e7fc}.small-print{font-size:12px}.consultation .small-print{color:#bdd1ef}.pending-sections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding-bottom:56px}.pending-item{border-top:1px solid #dce5f0;padding-top:20px}.pending-item h3{font-size:16px;margin:0 0 8px}.pending-item p{font-size:12px;color:#536176;margin:0}.site-footer{background:var(--navy);padding-block:36px;color:#d9e7fc}.footer-brand{font-size:18px;font-weight:700;color:#fff;margin:0 0 10px}.site-footer .small-print{margin:0}.fallback-content{padding-block:64px;min-height:60vh}.fallback-content .wp-block-post{padding-block:24px;border-bottom:1px solid #dce5f0}
@media(min-width:783px) and (max-width:1100px){.header-inner{flex-wrap:wrap;padding-block:20px;gap:18px}.header-inner .wp-block-navigation{order:3;width:100%;margin:0}.header-inner>.wp-block-buttons{margin-left:auto}.hero{padding:44px 32px;gap:20px}.art-pane{width:250px}.art-orbit{width:320px;height:320px}.orbit-two{width:280px;height:280px}.art-label{right:0}.hero .wp-block-buttons{flex-direction:column;align-items:flex-start}}
@media(max-width:782px){.shell{width:calc(100% - 32px)}.header-inner{min-height:86px;gap:14px}.brand{font-size:12px;max-width:145px}.brand span{font-size:17px}.header-inner .wp-block-navigation{margin-left:auto;order:3}.header-inner>.wp-block-buttons{margin-left:auto}.header-inner .wp-block-button__link{padding:11px 12px;font-size:11px}.header-inner .wp-block-navigation__responsive-container.is-menu-open{padding:32px}.hero{grid-template-columns:1fr;padding:36px 24px;gap:16px;min-height:auto}.hero h1{font-size:36px}.hero-description{font-size:15px}.hero .eyebrow{font-size:9px}.hero .wp-block-button__link{font-size:12px;padding:14px 16px}.hero .is-style-outline .wp-block-button__link{padding:13px 15px}.hero-art{min-height:350px;margin-top:12px}.art-pane{width:250px;padding-top:20px}.art-pane svg{width:145px;height:145px}.art-title{font-size:22px}.art-orbit{width:290px;height:290px}.orbit-two{width:245px;height:245px}.art-label{right:0;bottom:0;font-size:9px}.section{padding-block:56px}.section h2{font-size:28px;margin-bottom:28px}.situation-grid{grid-template-columns:1fr;gap:16px}.situation-card{padding:24px}.card-number{margin-bottom:20px}.services{padding:36px 20px}.service-grid{grid-template-columns:1fr;gap:16px}.service-card{padding:24px}.consultation{padding:40px 24px;margin-block:56px!important}.pending-sections{grid-template-columns:1fr;gap:24px}.site-footer{padding-block:28px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* Reference direction: compact navigation, architectural hero, editorial cards. */
.site-header{border-bottom:1px solid #edf1f7}.header-inner{min-height:88px}.header-inner .wp-block-navigation{font-size:12px}.brand{font-size:14px}.brand span{font-size:18px}.hero{min-height:560px;background:radial-gradient(ellipse at 92% 10%,#80add066,transparent 52%),linear-gradient(115deg,#061e4c 0%,#082b69 50%,#1559bd 100%);isolation:isolate}.hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(145deg,transparent 50%,#2563eb26 50%,transparent 78%)}.hero-copy{padding-block:12px}.hero-art{align-self:stretch;min-height:440px;margin:-64px -56px -64px 0;overflow:hidden}.legal-scene{position:absolute;height:115%;width:115%;max-width:none;right:-5%;bottom:0;filter:drop-shadow(0 24px 30px #00173b44)}.art-label{position:absolute;left:12px;right:24px;bottom:60px;background:#ffffffed;color:var(--navy);padding:18px 20px;border-radius:12px;box-shadow:0 12px 36px #001b4c44;font-size:10px;font-weight:700;letter-spacing:.04em}.art-label span{float:right;color:var(--royal);font-size:18px}.scene-caption{position:absolute;bottom:32px;left:12px;right:24px;color:#dfedff;font-size:8px;letter-spacing:.08em;text-align:center}.hero .wp-block-button:not(.is-style-outline) .wp-block-button__link{background:var(--accent);color:white}.hero .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover{background:#154bb3}.situations>.eyebrow,.situations>h2,.services>.eyebrow,.services>h2{text-align:center}.situations>.eyebrow::before,.services>.eyebrow::before{content:"";display:block;width:36px;height:3px;border-radius:3px;background:var(--royal);margin:0 auto 20px}.situation-card{background:#f7f9fc;border-color:transparent;position:relative}.situation-card:hover{border-color:#b7cbea}.card-number{border-bottom:1px solid #dce5f0;padding-bottom:16px}.services{background:#edf3fa}.service-card{overflow:hidden;padding:0 28px 28px;box-shadow:0 6px 24px #082b6906}.service-visual{position:relative;height:180px;margin:0 -28px 26px;overflow:hidden;background:linear-gradient(135deg,#092957,#2563ab);color:#d4e7ff}.service-visual::after{content:"";position:absolute;width:240px;height:240px;border:1px solid #ffffff24;border-radius:50%;right:-30px;top:-90px}.service-visual>span{position:absolute;left:24px;top:18px;font-size:11px;letter-spacing:.12em;color:#d7e7ff}.service-visual svg{position:absolute;width:220px;height:170px;right:15px;bottom:-5px}.service-visual-2{background:linear-gradient(120deg,#d3e3f3,#ecf4fc);color:#1559bd}.service-visual-2>span{color:#1559bd}.service-visual-3{background:linear-gradient(120deg,#d9e6f5,#b0cbe8);color:#082b69}.service-visual-3>span{color:#082b69}.service-visual-4{background:linear-gradient(120deg,#0a2855,#1559bd)}.service-card h3{font-size:21px}.service-card details{margin-top:auto}.service-card{display:flex;flex-direction:column}.service-visual{flex-shrink:0}.consultation{background:radial-gradient(ellipse at top right,#2563eb66,transparent 65%),var(--navy)}
@media(min-width:783px) and (max-width:1100px){.header-inner{min-height:88px}.hero-art{margin:-44px -32px -44px 0}.art-label{left:0;right:18px;font-size:9px;padding:16px 12px}}
@media(max-width:782px){.header-inner{min-height:80px}.hero{min-height:auto}.hero-art{margin:0 -24px -36px;min-height:330px}.legal-scene{height:130%;width:100%;right:0}.art-label{left:24px;right:24px;bottom:52px;font-size:9px}.scene-caption{bottom:28px;left:24px;right:24px;font-size:7px}.service-card{padding:0 24px 24px}.service-visual{margin:0 -24px 24px;height:170px}.situations>.eyebrow,.services>.eyebrow{font-size:9px;letter-spacing:.1em}}

/* Homepage content revision: introduction, services, process, stories, contact. */
.home-intro{grid-template-columns:1.1fr 1fr;padding:48px 40px;gap:32px;min-height:640px}.home-intro h1{font-size:clamp(36px,4.2vw,56px);line-height:1.18}.hero-brand{font-size:13px;font-weight:700;letter-spacing:.08em;color:#c4dcff;margin:0 0 16px}.home-intro .hero-description{font-size:14px;line-height:1.85;margin-bottom:20px}.home-intro .hero-copy{padding:0}.home-intro .wp-block-buttons{margin-top:28px}.consultation-photo{margin:0!important;position:relative;align-self:stretch;min-width:0;display:flex;flex-direction:column;justify-content:center}.consultation-photo img{display:block;width:100%;height:440px;object-fit:cover;object-position:48% center;border-radius:20px;box-shadow:0 20px 60px #00163755}.consultation-photo figcaption{font-size:10px;line-height:1.6;color:#dce9fc;margin:14px 4px 0;text-align:left}.home-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:34px 0 48px;gap:0}.stat{text-align:center;padding:10px 20px;border-right:1px solid #dce5f0}.stat:last-child{border-right:0}.stat-value{font-size:38px;font-weight:700;line-height:1.2;letter-spacing:-.04em;color:var(--navy);margin:0 0 8px}.stat-label{font-size:12px;color:#536176;margin:0}.service-invitation{text-align:center;max-width:720px;margin:44px auto 0}.service-invitation h3{font-size:22px}.service-invitation p{font-size:14px;color:#536176}.service-invitation .wp-block-buttons{justify-content:center;margin-top:24px}.service-card summary{line-height:1.7}.process-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}.process>h2{max-width:800px}.process-step{border-top:1px solid #cbd9ec;padding-top:24px}.step-number{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--light);color:var(--royal);font-size:13px;font-weight:700;margin:0 0 24px}.process-step h3{font-size:18px;min-height:76px;margin:0 0 16px}.process-step>p:last-child{font-size:13px;color:#536176;margin:0;line-height:1.9}.principles{padding:56px 40px;background:radial-gradient(ellipse at top right,#1559bd88,transparent 65%),var(--navy);color:#dce9fc;border-radius:28px}.principles .eyebrow{color:#b8d5ff}.principles h2{color:#fff;font-size:clamp(28px,3vw,40px);margin:0 0 32px}.principles-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}.principle-card{border-top:1px solid #ffffff33;padding-top:20px}.principle-card h3{color:#fff;font-size:18px;margin:0 0 12px}.principle-card p{font-size:13px;line-height:1.9;margin:0}.principles .wp-block-buttons{margin-top:32px}.principles .is-style-outline .wp-block-button__link{border:1px solid #8ca9d0;color:#fff;background:transparent}.principles .is-style-outline .wp-block-button__link:hover{background:#1559bd}.section-lead{max-width:760px;font-size:14px;color:#536176;margin:-16px 0 32px}.case-card{padding:36px;border:1px solid #dce5f0;border-radius:16px;background:linear-gradient(115deg,#f1f6fd,#fff);max-width:900px}.sample-label{display:inline-block;font-size:10px;font-weight:700;letter-spacing:.06em;padding:6px 10px;border:1px solid #bacce5;border-radius:6px;color:var(--navy);margin:0 0 20px}.case-card h3{margin:0 0 16px;font-size:26px}.case-card p{font-size:14px}.case-card h4{font-size:16px;margin-bottom:8px}.cases details{font-size:14px;color:var(--royal)}.cases summary{font-weight:600;cursor:pointer}.case-card details{border-top:1px solid #dce5f0;padding-top:20px;margin-top:24px}.cases>details{margin-top:28px}.reviews{padding-top:0}.reviews-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.quote-card{padding:28px;background:#f3f7fc;border-radius:16px;display:flex;flex-direction:column}.quote-text{font-size:15px;line-height:1.9;margin:0 0 30px;color:var(--navy)}.review-author{display:flex;gap:14px;align-items:center;margin-top:auto}.avatar{display:grid;place-items:center;flex-shrink:0;width:46px;height:46px;border-radius:50%;background:#d9e7f9;color:var(--navy);font-size:13px;font-weight:700;margin:0}.review-name{font-size:14px;font-weight:700;margin:0}.review-person .small-print{font-size:10px;margin:2px 0 0;color:#536176}.contact-section{display:grid;grid-template-columns:1fr 1fr;gap:56px;background:var(--navy);padding:56px 40px;border-radius:28px;margin-bottom:64px!important;color:#dce9fc;align-items:center}.contact-copy .eyebrow{color:#bdd6ff}.contact-copy h2{color:white;font-size:clamp(28px,3.3vw,40px);line-height:1.3;margin:0 0 28px}.contact-copy>p:not(.eyebrow){font-size:14px;line-height:1.9}.contact-note{border-top:1px solid #ffffff33;padding-top:24px;margin-top:28px}.consultation-form{background:#fff;color:var(--ink);padding:30px;border-radius:16px;min-width:0}.consultation-form h3{font-size:22px;margin:0 0 14px}.form-status{padding:12px 14px;background:var(--light);border-radius:8px;font-size:12px;line-height:1.7;color:var(--navy);margin:0 0 20px}.consultation-form fieldset{border:0;padding:0;margin:0;min-width:0}.consultation-form label{display:block;font-size:13px;font-weight:600;margin:0 0 8px}.consultation-form label span{font-weight:400;font-size:11px}.consultation-form input{width:100%;font:inherit;font-size:13px;border:1px solid #cbd6e4;border-radius:8px;padding:13px 14px;margin:0 0 18px;background:#f7f9fc;color:#536176;opacity:1;min-height:48px}.consultation-form input::placeholder{color:#66768a}.consultation-form button{width:100%;padding:15px 18px;border:0;border-radius:10px;background:#dce5f0;color:#4e6077;font:inherit;font-size:14px;font-weight:600;cursor:not-allowed}.consultation-form button span{float:right}.form-privacy{font-size:10px;line-height:1.8;color:#536176;margin:16px 0 0}.knowledge-notice{padding-block:16px;color:#536176}.knowledge-notice p{margin:0}
@media(min-width:783px) and (max-width:1100px){.home-intro{padding:40px 30px;gap:24px}.home-intro h1{font-size:42px}.consultation-photo img{height:480px}.process-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.process-step h3{min-height:0}.contact-section{gap:28px;padding:40px 28px}.principles-grid{gap:20px}}
@media(max-width:782px){.home-intro{grid-template-columns:1fr;padding:32px 24px;gap:28px;min-height:0}.home-intro h1{font-size:36px}.home-intro .hero-description{font-size:14px}.home-intro .wp-block-buttons{flex-direction:row;align-items:flex-start}.consultation-photo img{height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:14px}.consultation-photo figcaption{font-size:9px}.home-stats{grid-template-columns:repeat(2,minmax(0,1fr));padding:24px 0 40px;row-gap:20px}.stat:nth-child(2){border-right:0}.stat-value{font-size:32px}.stat-label{font-size:11px}.service-invitation{margin-top:32px}.service-invitation h3{font-size:20px}.process-grid,.principles-grid,.reviews-grid,.contact-section{grid-template-columns:1fr}.process-grid{gap:24px}.process-step{display:grid;grid-template-columns:44px 1fr;gap:0 18px}.step-number{grid-row:span 2;margin:0}.process-step h3{min-height:0;font-size:18px;margin-bottom:10px}.process-step>p:last-child{grid-column:2}.principles{padding:36px 24px}.principles-grid{gap:24px}.case-card{padding:24px}.case-card h3{font-size:23px}.sample-label{font-size:9px}.reviews{padding-top:0}.contact-section{padding:36px 20px;gap:28px;margin-bottom:40px!important}.consultation-form{padding:24px 20px}.contact-copy h2{font-size:28px}.section-lead{font-size:13px}.hero-brand{font-size:11px}}

/* Compact, level statistics: reset WordPress flow margins on every grid item. */
.homepage > .home-stats {
  margin-block: 0;
  padding: 24px 0 28px;
  gap: 0;
  align-items: stretch;
}
.home-stats > .stat {
  margin-block: 0;
  padding: 8px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}
.home-stats .stat-value {
  margin: 0;
  font-size: 38px;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.home-stats .stat-label {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  max-width: 220px;
}

/* Navy gallery section with inset blue glass imagery and aligned white cards. */
.homepage > .services {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-block: 0;
  padding: 44px 28px 32px;
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 85% 16%, #1559bd80, transparent 48%),
    radial-gradient(ellipse at 12% 100%, #1559bd50, transparent 58%),
    #071b36;
}
.services::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .3;
  background-image: radial-gradient(#5da0ef 1px, transparent 1px);
  background-size: 8px 8px;
  mask-image: radial-gradient(ellipse at 90% 30%, #000, transparent 72%);
  transform: skewY(-10deg) scale(1.15);
  pointer-events: none;
}
.services > .eyebrow {
  margin: 0 0 12px;
  text-align: left;
  color: #b9d6ff;
  font-size: 10px;
  letter-spacing: .1em;
}
.services > .eyebrow::before { display: none; }
.services > h2 {
  margin: 0 0 28px;
  text-align: left;
  color: #fff;
  font-size: clamp(28px, 3vw, 38px);
}
.services > .service-grid {
  margin-block: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.service-grid > .service-card {
  margin-block: 0;
  padding: 12px 12px 20px;
  border: 1px solid #c9d6e7;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 24px #00000014;
  gap: 0;
}
.service-card > .service-photo {
  position: relative;
  margin: 0 0 20px;
  overflow: hidden;
  border-radius: 11px;
  flex-shrink: 0;
  background: #dceeff;
}
.service-photo img {
  display: block;
  width: 100%;
  height: 164px;
  object-fit: cover;
  object-position: 0% center;
}
.service-card:nth-child(2) .service-photo img { object-position: 35% center; transform: scale(1.25); }
.service-card:nth-child(3) .service-photo img { object-position: 70% center; transform: scale(1.6); }
.service-card:nth-child(4) .service-photo img { object-position: 100% center; transform: scale(1.15); }
.service-card:nth-child(2) .service-photo { background: #2f7cc0; }
.service-card:nth-child(3) .service-photo { background: #1559bd; }
.service-card > h3 {
  min-height: 82px;
  margin: 0 6px 12px;
  font-size: 19px;
  line-height: 1.4;
  letter-spacing: -.025em;
}
.service-card > p:not(.service-icon) {
  margin: 0 6px 22px;
  font-size: 12px;
  line-height: 1.85;
  color: #46566c;
}
.service-card > details {
  margin: auto 6px 0;
  padding-top: 14px;
  border-top: 1px solid #dce5f0;
  font-size: 11px;
}
.service-card summary { min-height: 44px; }
.service-card details[open] summary { margin-bottom: 12px; }
.service-card details p { font-size: 12px; }
.services > .service-invitation {
  max-width: none;
  margin: 28px 0 0;
  padding-top: 24px;
  border-top: 1px solid #ffffff26;
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 28px;
  text-align: left;
}
.service-invitation > h3 { margin: 0 0 8px; color: #fff; font-size: 19px; }
.service-invitation > p { margin: 0; color: #c9dcf5; font-size: 12px; }
.service-invitation > .wp-block-buttons {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  margin: 0;
}
.service-invitation .wp-block-button__link { background: #fff; color: var(--navy); }
.service-invitation .wp-block-button__link:hover { background: #eaf3ff; }
@media (min-width: 783px) and (max-width: 1100px) {
  .services > .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-photo img { height: 200px; }
  .service-card > h3 { min-height: 54px; }
  .service-card > p:not(.service-icon) { font-size: 13px; }
}
@media (max-width: 782px) {
  .homepage > .home-stats { padding: 20px 0 24px; row-gap: 16px; }
  .home-stats > .stat { padding: 6px 12px; }
  .home-stats .stat-value { font-size: 32px; }
  .home-stats .stat-label { font-size: 11px; }
  .homepage > .services { padding: 28px 16px 24px; border-radius: 20px; }
  .services > .eyebrow { font-size: 9px; line-height: 1.7; }
  .services > h2 { margin-bottom: 22px; font-size: 28px; }
  .services > .service-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-photo img { height: auto; aspect-ratio: 16 / 9; }
  .service-card > h3 { min-height: 0; font-size: 22px; }
  .service-card > p:not(.service-icon) { font-size: 14px; }
  .service-card > details { font-size: 13px; }
  .services > .service-invitation { display: block; margin-top: 24px; padding-top: 20px; }
  .service-invitation > .wp-block-buttons { margin-top: 18px; justify-content: flex-start; }
}

/* Individual service photographs: retain full scene without the glass-art zoom. */
.service-grid > .service-card .service-photo img {
  transform: none;
  object-position: center;
}


/* Why choose us: two pairs of cards flanking the existing consultation image. */
.why-us {
  padding: 44px 32px;
  border: 1px solid #e1e9f4;
  border-radius: 24px;
  background:
    linear-gradient(#082b6905 1px, transparent 1px),
    linear-gradient(90deg, #082b6905 1px, transparent 1px),
    #f7f9fd;
  background-size: 100% 80px, 80px 100%, auto;
}
.why-us > .eyebrow { margin: 0 0 12px; text-align: center; }
.why-us > h2 {
  margin: 0 auto 18px;
  color: var(--navy);
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.25;
  text-align: center;
}
.why-us > .why-intro {
  max-width: 740px;
  margin: 0 auto 32px;
  color: #536176;
  font-size: 14px;
  text-align: center;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr 1fr;
  grid-template-rows: repeat(2, minmax(190px, auto));
  grid-template-areas: "one photo three" "two photo four";
  gap: 20px;
  margin: 0;
}
.why-grid > .why-card {
  position: relative;
  margin: 0;
  padding: 28px 24px 24px;
  border: 1px solid #dbe4ef;
  border-radius: 12px;
  background: #fff;
}
.why-card-1 { grid-area: one; }
.why-card-2 { grid-area: two; }
.why-card-3 { grid-area: three; }
.why-card-4 { grid-area: four; }
.why-card > .why-number {
  margin: 0 0 12px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  color: var(--royal);
  background: linear-gradient(180deg, #1559bd, #b4d1f3);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.why-card > h3 { margin: 0 0 10px; font-size: 19px; line-height: 1.4; }
.why-card > p:not(.why-number) { margin: 0; font-size: 13px; line-height: 1.8; color: #536176; }
.why-card-1::after,
.why-card-3::after {
  content: "↓";
  position: absolute;
  bottom: -22px;
  left: calc(50% - 10px);
  z-index: 1;
  width: 20px;
  text-align: center;
  color: #1559bd;
  line-height: 22px;
}
.why-grid > .why-photo {
  grid-area: photo;
  position: relative;
  overflow: hidden;
  min-width: 0;
  margin: 0;
  border-radius: 16px;
  background: #082b69;
}
.why-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
.why-photo::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, #082b69cc); pointer-events: none; }
.why-photo figcaption { position: absolute; z-index: 1; bottom: 16px; left: 16px; right: 16px; margin: 0; color: white; font-size: 10px; text-align: center; }
@media (min-width: 783px) and (max-width: 1100px) {
  .why-us { padding: 36px 24px; }
  .why-grid { gap: 16px; grid-template-columns: 1fr .9fr 1fr; }
  .why-grid > .why-card { padding: 22px 18px; }
  .why-card > h3 { font-size: 17px; }
  .why-card > p:not(.why-number) { font-size: 12px; }
}
@media (max-width: 782px) {
  .why-us { padding: 32px 20px; }
  .why-us > .why-intro { font-size: 13px; margin-bottom: 24px; }
  .why-grid { grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: "photo" "one" "two" "three" "four"; gap: 16px; }
  .why-grid > .why-photo { height: 260px; }
  .why-photo img { object-position: center; }
  .why-grid > .why-card { padding: 24px 20px; }
  .why-card-1::after, .why-card-3::after { display: none; }
}

/* Supplied transparent consultation photo, centered without cropping. */
.why-us {
  background: linear-gradient(135deg, #f5f8fe, #eaf2fc);
}
.why-grid { grid-template-columns: 1fr 1.15fr 1fr; }
.why-grid > .why-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 440px;
  padding: 20px 12px 36px;
  background: radial-gradient(ellipse at 50% 40%, #ffffff 0%, #e3efff 60%, #d8e7fa 100%);
  border: 1px solid #d5e3f5;
}
.why-photo img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 10px 12px #082b6915);
}
.why-photo::after { display: none; }
.why-photo figcaption { color: #536176; bottom: 12px; }
@media (max-width: 782px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-grid > .why-photo { height: 390px; min-height: 0; padding: 16px 16px 30px; }
  .why-photo img { max-height: 344px; }
}

/* Editorial customer stories with photographic backgrounds and frosted panels. */
.customer-stories { padding-block: 56px; }
.customer-stories > .eyebrow { margin-bottom: 12px; }
.customer-stories > h2 { margin-bottom: 20px; }
.customer-stories > .wp-block-buttons { margin: 0 0 28px; }
.stories-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; align-items: stretch; }
.stories-grid > .story-card {
  position: relative; isolation: isolate; overflow: hidden; min-width: 0;
  margin: 0; padding: 150px 18px 22px; border-radius: 24px;
  background: #082b69; box-shadow: 0 16px 34px #082b691c;
  display: flex; flex-direction: column;
}
.story-card > .story-image { position: absolute; inset: 0; margin: 0; z-index: -2; }
.story-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.story-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #082b6905 0%, #082b6933 28%, #082b69eb 78%, #082b69 100%); }
.story-card > .story-glass {
  margin: 0; padding: 24px 22px; border: 1px solid #ffffffbb;
  border-radius: 22px 22px 48px 22px;
  background: linear-gradient(135deg, #fffffff2, #eaf3ffdc);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px #00163624; flex: 1;
}
.story-label { font-size: 9px; font-weight: 700; letter-spacing: .09em; color: #1559bd; margin: 0 0 14px; }
.story-glass > h3 { font-size: 25px; line-height: 1.3; color: #082b69; margin: 0 0 18px; letter-spacing: -.035em; }
.story-glass > p:not(.story-label):not(.story-person) { font-size: 13px; line-height: 1.8; color: #354b69; margin: 0 0 20px; }
.story-person { font-size: 11px; line-height: 1.8; color: #465b77; margin: 0 0 18px; }
.story-person strong { font-size: 14px; color: #082b69; }
.customer-stories .story-glass details { margin: 0; color: #1559bd; font-size: 12px; }
.story-glass summary { display: list-item; width: fit-content; padding: 10px 14px; border-radius: 999px; background: #1559bd; color: white; cursor: pointer; font-size: 12px; }
.story-glass details p { font-size: 12px; line-height: 1.8; color: #354b69; }
.story-tags { margin: 20px 6px 0; font-size: 10px; color: #e1efff; letter-spacing: .02em; }
.customer-stories > .stories-note { margin: 18px 0 0; font-size: 11px; color: #536176; }
@media (min-width: 783px) and (max-width: 1100px) {
  .stories-grid { gap: 14px; }
  .stories-grid > .story-card { padding-inline: 12px; }
  .story-card > .story-glass { padding: 22px 16px; }
  .story-glass > h3 { font-size: 21px; }
}
@media (max-width: 782px) {
  .customer-stories { padding-block: 40px; }
  .stories-grid { grid-template-columns: 1fr; gap: 24px; }
  .stories-grid > .story-card { padding-top: 180px; }
  .story-glass > h3 { font-size: 26px; }
}

/* Selectable feedback: visible quotes on the left, paired visual on the right. */
.feedback-section > h2 { margin-bottom: 28px; }
.feedback-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; padding: 20px; border-radius: 28px; background: #f0f4fa; margin: 0; align-items: stretch; }
.feedback-choices { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.feedback-choices > .feedback-choice { position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; margin: 0; padding: 20px; border: 1px solid transparent; border-radius: 18px; transition: background .25s, color .25s, border-color .25s; }
.feedback-index { grid-row: 1 / span 2; display: grid; place-items: center; align-self: start; width: 44px; height: 44px; margin: 0; border-radius: 12px; background: #fff; color: #1559bd; font-size: 12px; font-weight: 700; }
.feedback-quote { margin: 0 0 12px; font-size: 14px; line-height: 1.8; color: #142033; }
.feedback-person { grid-column: 2; margin: 0; font-size: 12px; color: #536176; line-height: 1.7; }
.feedback-person strong { font-size: 13px; color: #082b69; }
.feedback-person span { font-size: 10px; }
.feedback-choice.is-selected { background: linear-gradient(130deg, #082b69, #1559bd); border-color: #1559bd; }
.feedback-choice.is-selected .feedback-quote, .feedback-choice.is-selected .feedback-person strong { color: #fff; }
.feedback-choice.is-selected .feedback-person { color: #d9e8ff; }
.feedback-select { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 18px; padding: 0; cursor: pointer; background: transparent; }
.feedback-select:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
.feedback-images { position: relative; min-width: 0; margin: 0; display: grid; gap: 16px; }
.feedback-images > .feedback-panel { position: relative; margin: 0; padding: 16px 16px 64px; border-radius: 20px; overflow: hidden; background: linear-gradient(135deg, #dbeaff, #c8dcfa); min-height: 430px; }
.feedback-panel img { display: block; width: 100%; height: 100%; min-height: 340px; max-height: 580px; object-fit: contain; border-radius: 12px; }
.feedback-panel figcaption { position: absolute; bottom: 16px; left: 20px; right: 20px; color: #354b69; font-size: 11px; line-height: 1.6; text-align: center; margin: 0; }
.feedback-panel[hidden] { display: none !important; }
.feedback-ready .feedback-images > .feedback-panel:not([hidden]) { animation: feedback-reveal .35s ease-out; }
@keyframes feedback-reveal { from { opacity: .25; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 782px) {
  .feedback-layout { grid-template-columns: 1fr; padding: 14px; gap: 18px; }
  .feedback-choices > .feedback-choice { padding: 16px 12px; column-gap: 12px; grid-template-columns: 36px 1fr; }
  .feedback-index { width: 36px; height: 36px; }
  .feedback-quote { font-size: 13px; }
  .feedback-images > .feedback-panel { min-height: 320px; }
  .feedback-panel img { min-height: 240px; max-height: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  .feedback-ready .feedback-images > .feedback-panel:not([hidden]) { animation: none; }
  .feedback-choices > .feedback-choice { transition: none; }
}

/* Original portrait screenshots and visible automatic progression. */
.feedback-ready .feedback-images { display: block; }
.feedback-images > .feedback-panel { min-height: 0; height: 620px; padding: 12px 12px 50px; }
.feedback-panel img { min-height: 0; max-height: none; height: 100%; width: 100%; object-fit: contain; }
.feedback-ready .feedback-images > .feedback-panel:not([hidden]) { animation: feedback-reveal .65s ease-out; }
.autoplay-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 18px 0 0; }
.autoplay-controls > button { min-height: 44px; padding: 10px 18px; border: 1px solid #c9d9ef; border-radius: 999px; background: #fff; color: #082b69; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.autoplay-controls > button:hover { background: #eaf3ff; }
.autoplay-meter { flex: 1; min-width: 100px; height: 5px; background: #dce8f8; border-radius: 999px; overflow: hidden; }
.autoplay-meter > span { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg,#082b69,#1559bd,#49bcec); }
.is-playing .autoplay-meter > span { animation-name: autoplay-fill; animation-timing-function: linear; animation-fill-mode: forwards; }
@keyframes autoplay-fill { to { transform: scaleX(1); } }
.process-timeline .process-step { transition: background .4s, box-shadow .4s, border-color .4s; }
.process-timeline .process-step.is-current { box-shadow: 0 10px 30px #1559bd44, inset 0 0 0 2px #ffffff66; }
.timeline-track::after { opacity: 1; filter: drop-shadow(0 0 5px #71d9ff); }
@media(max-width:782px) { .feedback-images > .feedback-panel { height: 530px; } .autoplay-meter { flex-basis: 100%; } }
@media(prefers-reduced-motion:reduce) { .feedback-ready .feedback-images > .feedback-panel:not([hidden]) { animation: none; } .process-timeline .process-step { transition: none; } .autoplay-meter > span { animation: none; } }

/* Static testimonial editorial grid; styles scoped to this section. */
.testimonials-premium {
  --pointer-x: 50%; --pointer-y: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  padding: 80px 28px; margin-block: 0 56px;
  border-radius: 28px; background: #edf3fc;
}
.testimonials-premium::before {
  content: ""; position: absolute; inset: -28px; z-index: -2;
  background: url("assets/images/consultation-illustration.jpg") center / cover;
  filter: blur(20px); opacity: .12; pointer-events: none;
}
.testimonials-premium::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--pointer-x) var(--pointer-y), #8dbdff55, transparent 72%), linear-gradient(135deg, #ffffffb8, #eaf3ffdb);
}
.testimonials-premium > .eyebrow { text-align: center; margin: 0 0 14px; }
.testimonials-premium > h2 { text-align: center; font-size: clamp(28px,3.2vw,40px); max-width: 800px; margin: 0 auto 16px; line-height: 1.3; }
.testimonials-premium > .testimonial-disclosure { margin: 0 auto 36px; max-width: 850px; font-size: 13px; line-height: 1.75; text-align: center; color: #46566c; }
.testimonials-premium .testimonials-layout { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.8fr); gap: 24px; margin: 0; align-items: stretch; }
.testimonials-premium .testimonial-feature { position: relative; isolation: isolate; overflow: hidden; min-width: 0; margin: 0; border-radius: 20px; background: radial-gradient(ellipse at 35% 25%, #a7c9ed88, transparent 60%), linear-gradient(150deg,#1559bd,#082b69); display: flex; align-items: flex-end; }
.testimonials-premium .testimonial-feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg,transparent 30%,#082b69eb); }
.testimonials-premium .testimonial-feature-image { position: absolute; inset: 0; margin: 0; z-index: -2; }
.testimonials-premium .testimonial-feature-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.testimonials-premium .testimonial-brand-message { padding: 32px; margin: 0; font-size: clamp(28px,2.5vw,34px); line-height: 1.35; font-weight: 600; color: white; }
.testimonials-premium .testimonials-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin: 0; }
.testimonials-premium .testimonial-card { display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 26px; background: #f3f6faed; border: 1px solid #dce6f3; border-radius: 18px; transition: background .25s,border-color .25s,transform .25s; }
.testimonials-premium .testimonial-card-5 { grid-column: 1 / -1; }
.testimonials-premium .testimonial-stars { display: flex; align-items: center; gap: 10px; color: #1559bd; letter-spacing: 2px; margin: 0 0 16px; font-size: 18px; }
.testimonials-premium .rating-note { font-size: 10px; letter-spacing: 0; color: #536176; }
.testimonials-premium .testimonial-issue { color: #082b69; font-size: 14px; line-height: 1.6; letter-spacing: 0; margin: 0 0 14px; }
.testimonials-premium .testimonial-copy { font-size: 15px; line-height: 1.75; color: #334155; margin: 0 0 24px; }
.testimonials-premium .testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonials-premium .testimonial-author p { margin: 0; font-size: 13px; line-height: 1.7; }
.testimonials-premium .testimonial-author strong { display: block; color: #082b69; }
.testimonials-premium .testimonial-author p span { display: block; color: #536176; font-size: 12px; }
.testimonials-premium .testimonial-ai-avatar { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background-color: #dceaff; background-image: url("assets/images/testimonial-avatars.jpg"); background-size: 500% 100%; background-repeat: no-repeat; color: transparent; border: 2px solid white; }
.testimonials-premium .avatar-1 { background-position: 0% center; }
.testimonials-premium .avatar-2 { background-position: 25% center; }
.testimonials-premium .avatar-3 { background-position: 50% center; }
.testimonials-premium .avatar-4 { background-position: 75% center; }
.testimonials-premium .avatar-5 { background-position: 100% center; }
@media(hover:hover) {
  .testimonials-premium .testimonial-card:hover { background: #e3efff; border-color: #88afe3; transform: translateY(-3px); }
}
@media(max-width:1100px) {
  .testimonials-premium .testimonials-layout { grid-template-columns: 1fr; }
  .testimonials-premium .testimonial-feature { min-height: 380px; }
  .testimonials-premium .testimonial-brand-message { max-width: 580px; }
}
@media(max-width:782px) {
  .testimonials-premium { padding: 56px 20px; }
  .testimonials-premium .testimonials-cards { grid-template-columns: 1fr; }
  .testimonials-premium .testimonial-card-5 { grid-column: auto; }
  .testimonials-premium .testimonial-card { padding: 24px; }
  .testimonials-premium .testimonial-feature { min-height: 390px; }
  .testimonials-premium .testimonial-brand-message { padding: 28px; font-size: 27px; }
}
@media(prefers-reduced-motion:reduce) {
  .testimonials-premium .testimonial-card { transition: none; }
  .testimonials-premium .testimonial-card:hover { transform: none; }
}

/* Compact four-card feedback with optional full-text disclosure. */
.testimonials-premium { padding-block: 52px; }
.testimonials-premium > .testimonial-disclosure { margin-bottom: 24px; font-size: 12px; }
.testimonials-premium .testimonials-layout { align-items: start; }
.testimonials-premium .testimonial-feature { align-self: stretch; min-height: 460px; }
.testimonials-premium .testimonial-feature-image img { object-position: 50% 58%; }
.testimonials-premium .testimonial-brand-message { font-size: clamp(25px,2.3vw,31px); padding: 28px; }
.testimonials-premium .testimonial-card { padding: 22px; }
.testimonials-premium .testimonial-stars { margin-bottom: 12px; }
.testimonials-premium .testimonial-issue { min-height: 44px; margin-bottom: 10px; }
.testimonials-premium .testimonial-copy { margin-bottom: 8px; line-height: 1.7; }
.testimonials-premium .is-collapsible:not(.is-expanded) .testimonial-copy {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
  max-height: 6.8em;
}
.testimonials-premium .testimonial-more {
  display: block; align-self: start; padding: 8px 0; margin: 0 0 12px;
  min-height: 40px; border: 0; background: transparent; color: #1559bd;
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  text-decoration: underline; text-underline-offset: 4px;
}
.testimonials-premium .testimonial-more[hidden] { display: none; }
.testimonials-premium .testimonial-more:hover { color: #082b69; }
.testimonials-premium .testimonial-author { padding-top: 8px; }
.testimonials-premium .testimonial-ai-avatar { background-size: 500% auto; }
@media(max-width:1100px) {
  .testimonials-premium .testimonial-feature { min-height: 380px; }
}
@media(max-width:782px) {
  .testimonials-premium { padding-block: 36px; }
  .testimonials-premium .testimonial-feature { min-height: 380px; }
  .testimonials-premium .testimonial-issue { min-height: 0; }
  .testimonials-premium .testimonial-brand-message { font-size: 26px; }
}

/* Gold stars in the feedback section. */
.testimonials-premium .testimonial-stars { color: #D99A00; }


/* Trust gallery and synchronized accordion; all rules scoped to this component. */
.trust-section {
  --trust-blue: #004AAD;
  --trust-ink: #122C4D;
  padding: 48px 36px;
  margin-block: 0;
  border: 1px solid #dbe7f6;
  border-radius: 28px;
  background: #F4F8FE;
  box-shadow: 0 14px 40px #122c4d08;
  color: var(--trust-ink);
}
.trust-section > .eyebrow { margin: 0 0 12px; color: var(--trust-blue); text-align: center; }
.trust-section > h2 { margin: 0 auto 36px; max-width: 900px; color: var(--trust-ink); font-size: clamp(28px,3.2vw,40px); line-height: 1.3; text-align: center; text-wrap: balance; }
.trust-section .trust-layout { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 32px; align-items: start; }
.trust-section .trust-gallery, .trust-section .trust-content { min-width: 0; }
.trust-section button { font-family: inherit; touch-action: manipulation; }
.trust-section .trust-main { display: block; position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; padding: 0; border: 1px solid #d5e2f4; border-radius: 22px; background: linear-gradient(135deg,#e7f0fc,#fff); cursor: zoom-in; }
.trust-section .trust-main-image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .3s ease; }
.trust-section .trust-main-image.is-active { opacity: 1; }
.trust-section .trust-zoom { position: absolute; bottom: 14px; right: 14px; border: 1px solid #ffffff70; border-radius: 999px; padding: 8px 12px; color: white; background: #122c4dcc; font-size: 11px; pointer-events: none; }
.trust-section .trust-main:disabled .trust-zoom { display: none; }
.trust-section .trust-thumbnails { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin-top: 14px; }
.trust-section .trust-thumb { position: relative; min-width: 0; min-height: 64px; aspect-ratio: 1; overflow: hidden; padding: 3px; border: 2px solid #d3deed; border-radius: 12px; background: white; opacity: .75; cursor: pointer; transition: transform .2s,border-color .2s,box-shadow .2s,opacity .2s; }
.trust-section .trust-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 7px; }
.trust-section .trust-thumb span { position: absolute; left: 6px; bottom: 6px; padding: 2px 6px; border-radius: 5px; background: #122c4de6; color: white; font-size: 10px; font-weight: 600; }
.trust-section .trust-thumb[aria-pressed="true"] { border-color: var(--trust-blue); opacity: 1; box-shadow: 0 0 0 2px #004aad16; }
.trust-section .trust-accordion { display: grid; gap: 10px; align-content: start; }
.trust-section .trust-item { overflow: hidden; border: 1px solid #dce6f3; border-left: 3px solid transparent; border-radius: 14px; background: #ffffffb8; transition: background .3s,border-color .3s; }
.trust-section .trust-item.is-active { border-left-color: var(--trust-blue); background: #e8f1ff; }
.trust-section .trust-item h3 { margin: 0; }
.trust-section .trust-trigger { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 72px; padding: 20px; border: 0; background: transparent; color: var(--trust-ink); text-align: left; font-size: 17px; font-weight: 600; line-height: 1.5; cursor: pointer; }
.trust-section .trust-order { font-size: 11px; font-weight: 700; color: var(--trust-blue); }
.trust-section .trust-symbol { margin-left: auto; flex-shrink: 0; font-size: 23px; font-weight: 400; color: var(--trust-blue); }
.trust-section .trust-item.is-active .trust-symbol { font-size: 0; }
.trust-section .trust-item.is-active .trust-symbol::after { content: '−'; font-size: 23px; }
.trust-section .trust-body-inner { min-height: 0; overflow: hidden; }
.trust-section .trust-body p { margin: 0; padding: 0 20px 20px 48px; font-size: 14px; line-height: 1.85; color: #465b75; }
.trust-section.trust-enhanced .trust-body { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .3s ease,opacity .3s ease; }
.trust-section.trust-enhanced .trust-item.is-active .trust-body { grid-template-rows: 1fr; opacity: 1; }
.trust-section .trust-contact { display: inline-flex; align-items: center; justify-content: center; gap: 16px; max-width: 100%; min-height: 48px; margin-top: 24px; padding: 14px 22px; border-radius: 12px; background: var(--trust-blue); color: white; font-size: 14px; font-weight: 600; text-decoration: none; transition: background .2s; }
.trust-section .trust-contact span { transition: transform .2s; }
.trust-section button:focus-visible, .trust-section a:focus-visible { outline: 3px solid #2677db; outline-offset: 3px; }
.trust-section .trust-dialog { width: min(94vw,1040px); max-height: 94dvh; padding: 18px; border: 1px solid #d5e2f4; border-radius: 20px; background: #f4f8fe; color: #122c4d; box-shadow: 0 20px 80px #0005; }
.trust-section .trust-dialog::backdrop { background: #07192cbd; }
.trust-section .trust-dialog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.trust-section .trust-dialog-toolbar h3 { margin: 0; font-size: 16px; }
.trust-section .trust-dialog-close { width: 44px; height: 44px; border: 1px solid #c9d9ee; border-radius: 50%; background: white; color: #122c4d; font-size: 28px; cursor: pointer; }
.trust-section .trust-dialog-image { display: block; width: 100%; height: min(72dvh,900px); object-fit: contain; }
.trust-section .trust-dialog-caption { margin: 12px 0 0; font-size: 12px; text-align: center; }
.trust-section.trust-reveal .trust-gallery, .trust-section.trust-reveal .trust-content { opacity: 0; transform: translateY(14px); transition: opacity .5s,transform .5s; }
.trust-section.trust-reveal .trust-content { transition-delay: .1s; }
.trust-section.is-visible .trust-gallery, .trust-section.is-visible .trust-content { opacity: 1; transform: none; }
@media(hover:hover) {
  .trust-section .trust-thumb:hover { transform: translateY(-3px); border-color: var(--trust-blue); opacity: 1; box-shadow: 0 8px 18px #004aad20; }
  .trust-section .trust-contact:hover { background: #073c83; }
  .trust-section .trust-contact:hover span { transform: translateX(4px); }
}
@media(max-width:1024px) and (min-width:783px) {
  .trust-section { padding: 36px 24px; }
  .trust-section .trust-layout { gap: 24px; }
  .trust-section .trust-trigger { font-size: 15px; padding: 18px 14px; }
  .trust-section .trust-body p { padding-left: 40px; padding-right: 14px; font-size: 13px; }
}
@media(max-width:782px) {
  .trust-section { padding: 32px 20px; border-radius: 24px; }
  .trust-section > h2 { margin-bottom: 24px; font-size: 28px; }
  .trust-section .trust-layout { grid-template-columns: 1fr; gap: 24px; }
  .trust-section .trust-main { aspect-ratio: 4 / 3; }
  .trust-section .trust-thumbnails { gap: 8px; }
  .trust-section .trust-trigger { padding: 16px 14px; font-size: 16px; }
  .trust-section .trust-body p { padding-left: 40px; padding-right: 16px; }
  .trust-section .trust-contact { width: 100%; padding-inline: 14px; font-size: 13px; }
}
@media(prefers-reduced-motion:reduce) {
  .trust-section .trust-main-image, .trust-section .trust-thumb, .trust-section .trust-item,
  .trust-section.trust-enhanced .trust-body, .trust-section .trust-contact,
  .trust-section .trust-contact span { transition: none; }
  .trust-section.trust-reveal .trust-gallery, .trust-section.trust-reveal .trust-content { opacity: 1; transform: none; transition: none; }
  .trust-section .trust-thumb:hover, .trust-section .trust-contact:hover span { transform: none; }
}

/* Compact trust image with a stronger blue content panel. */
.trust-section .trust-layout {
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
}
.trust-section .trust-main {
  aspect-ratio: 1;
  max-height: 420px;
}
.trust-section .trust-thumbnails { display: none; }
.trust-section .trust-content {
  padding: 24px;
  border: 1px solid #2d69b8;
  border-radius: 22px;
  background:
    radial-gradient(ellipse at top right, #ffffff1c, transparent 65%),
    linear-gradient(145deg, #004aad, #123d79);
  box-shadow: 0 12px 28px #004aad18;
}
.trust-section .trust-item {
  border-color: #ffffff30;
  border-left-color: transparent;
  background: #ffffff0a;
}
.trust-section .trust-trigger { color: #fff; }
.trust-section .trust-order,
.trust-section .trust-symbol { color: #c8e0ff; }
.trust-section .trust-item.is-active {
  background: #f4f8fe;
  border-color: #f4f8fe;
  border-left-color: #81bdff;
}
.trust-section .trust-item.is-active .trust-trigger { color: #122c4d; }
.trust-section .trust-item.is-active .trust-order,
.trust-section .trust-item.is-active .trust-symbol { color: #004aad; }
.trust-section .trust-contact {
  width: 100%;
  margin-top: 20px;
  background: white;
  color: #004aad;
}
.trust-section .trust-content button:focus-visible,
.trust-section .trust-content a:focus-visible { outline-color: #8dcaff; }
@media (hover: hover) {
  .trust-section .trust-contact:hover { background: #dfedff; color: #122c4d; }
  .trust-section .trust-item:not(.is-active) .trust-trigger:hover { background: #ffffff10; }
}
@media (max-width: 1024px) and (min-width: 783px) {
  .trust-section .trust-content { padding: 18px; }
  .trust-section .trust-main { max-height: 360px; }
}
@media (max-width: 782px) {
  .trust-section .trust-layout { grid-template-columns: 1fr; gap: 20px; }
  .trust-section .trust-gallery { width: 100%; max-width: 420px; margin-inline: auto; }
  .trust-section .trust-main { aspect-ratio: 4 / 3; max-height: 290px; }
  .trust-section .trust-content { padding: 16px; }
}

/* Rounded photo mounted on a layered blue gradient backdrop. */
.trust-section .trust-gallery {
  position: relative;
  isolation: isolate;
  padding: 18px;
  border: 1px solid #b7d3f5;
  border-radius: 30px;
  background:
    radial-gradient(ellipse at 12% 8%, #83bbff99, transparent 64%),
    linear-gradient(145deg, #dcecff 0%, #75a7e4 45%, #004aad 100%);
  box-shadow: 0 18px 36px #004aad20;
}
.trust-section .trust-main {
  width: min(100%, 315px);
  height: auto;
  max-height: none;
  aspect-ratio: 3 / 4;
  margin-inline: auto;
  border: 0;
  border-radius: 22px;
  background: #b7d3f5;
  box-shadow: 0 10px 26px #122c4d30;
}
.trust-section .trust-main-image {
  border-radius: 22px;
  object-fit: cover;
  object-position: center;
}
.trust-section .trust-zoom { right: 10px; bottom: 10px; }
@media (max-width: 1024px) and (min-width: 783px) {
  .trust-section .trust-gallery { padding: 14px; border-radius: 26px; }
  .trust-section .trust-main { max-height: none; }
}
@media (max-width: 782px) {
  .trust-section .trust-gallery { width: 100%; max-width: 380px; padding: 16px; border-radius: 28px; }
  .trust-section .trust-main { width: min(100%, 255px); aspect-ratio: 3 / 4; max-height: none; }
}

/* Editorial photo with a synchronized frosted text overlay. */
.trust-section .trust-gallery {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 24px;
}
.trust-section .trust-main {
  width: min(100%, 350px);
  border-radius: 24px;
  background: #e6edf5;
  box-shadow: 0 14px 30px #122c4d18;
}
.trust-section .trust-main-image { border-radius: 24px; }
.trust-section .trust-main::after {
  content: '';
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, #10263d99);
  pointer-events: none;
}
.trust-section .trust-photo-caption {
  position: absolute;
  z-index: 1;
  left: 16px;
  right: 16px;
  bottom: 18px;
  display: block;
  padding: 18px;
  border: 1px solid #ffffff70;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffffdc, #ffffffe8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: left;
  pointer-events: none;
}
.trust-section .trust-photo-kicker {
  display: block;
  margin-bottom: 8px;
  color: #465b75;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .09em;
}
.trust-section .trust-photo-title {
  display: block;
  color: #122c4d;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.025em;
}
.trust-section .trust-zoom {
  z-index: 1;
  top: 12px;
  right: 12px;
  bottom: auto;
}
@media(max-width:782px) {
  .trust-section .trust-gallery { padding: 0; max-width: 350px; }
  .trust-section .trust-main { width: min(100%, 290px); }
  .trust-section .trust-photo-title { font-size: 21px; }
}

/* Outer trust section fades from a soft blue base into white above. */
.trust-section {
  background: linear-gradient(0deg, #ACCEFA 0%, #D3E5FC 32%, #EEF5FE 65%, #FFFFFF 100%);
  border-color: #C9DDF7;
}

/* Hero refresh: supplied logo, light typography and a soft left-side blue veil. */
.homepage > .home-intro {
  display: block;
  position: relative;
  isolation: isolate;
  min-height: 650px;
  padding: 36px 44px 44px;
  background: #f4f8fe;
  color: #122c4d;
}
.home-intro > .consultation-photo {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 auto;
  width: 72%;
  margin: 0;
  display: block;
}
.home-intro > .consultation-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
  border-radius: 0;
  box-shadow: none;
}
.homepage > .home-intro::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, #e7f1ffff 0%, #f0f6fffa 35%, #eaf3ffdb 46%, #d6e9ff55 63%, transparent 80%);
  pointer-events: none;
}
.home-intro > .hero-copy { position: relative; width: 54%; max-width: 600px; padding: 0; margin: 0; }
.home-intro .eyebrow { color: #1559bd; font-size: 10px; margin-bottom: 12px; }
.home-intro .hero-logo { width: 124px; margin: 0 0 14px; mix-blend-mode: multiply; }
.home-intro .hero-logo img { display: block; width: 100%; height: auto; }
.home-intro h1 { color: #082b69; font-size: clamp(36px,4vw,52px); font-weight: 600; line-height: 1.18; margin: 0 0 24px; }
.home-intro .hero-description { max-width: none; color: #263d5b; font-size: 15px; font-weight: 300; line-height: 1.85; margin: 0 0 18px; }
.home-intro .hero-description strong { font-weight: 500; }
.home-intro .wp-block-buttons { gap: 10px; margin-top: 24px; }
.home-intro .wp-block-button .wp-block-button__link { font-size: 13px; }
.home-intro .is-style-outline .wp-block-button__link { border-color: #1559bd; color: #1559bd; background: #ffffff70; }
.home-intro .is-style-outline .wp-block-button__link:hover { background: #e0edff; color: #082b69; }
@media (min-width:783px) and (max-width:1100px) {
  .homepage > .home-intro { padding: 32px; }
  .home-intro > .hero-copy { width: 60%; }
  .home-intro h1 { font-size: 40px; }
  .home-intro .hero-description { font-size: 14px; }
}
@media (max-width:782px) {
  .homepage > .home-intro { display: flex; flex-direction: column; gap: 0; padding: 28px 24px 0; min-height: 0; }
  .home-intro > .hero-copy { width: 100%; max-width: none; }
  .homepage > .home-intro::before { background: linear-gradient(180deg,#e7f1ff, #f6faff 75%,transparent); }
  .home-intro .hero-logo { width: 104px; }
  .home-intro h1 { font-size: 36px; }
  .home-intro .hero-description { font-size: 15px; }
  .home-intro > .consultation-photo { position: relative; z-index: 0; inset: auto; width: calc(100% + 48px); margin: 28px -24px 0 !important; height: auto; aspect-ratio: 3 / 2; }
  .home-intro > .consultation-photo img { height: 100%; object-position: center; aspect-ratio: auto; }
  .home-intro > .consultation-photo::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg,#f6faff,transparent 25%); }
}

/* Blue hero overlay with smaller white typography. */
.homepage > .home-intro { background: #082b69; color: #fff; }
.homepage > .home-intro::before {
  background: linear-gradient(90deg, #082b69 0%, #082b69f5 32%, #1559bddb 48%, #1559bd75 65%, #082b6910 88%);
}
.home-intro .eyebrow { color: #c7dfff; font-size: 9px; }
.home-intro h1 { color: #fff; font-size: clamp(30px, 3.3vw, 44px); }
.home-intro .hero-description { color: #f0f6ff; font-size: 14px; font-weight: 300; line-height: 1.8; }
.home-intro .hero-logo { mix-blend-mode: normal; }
.home-intro .hero-logo img { border-radius: 12px; }
.home-intro .wp-block-button .wp-block-button__link { font-size: 12px; }
.home-intro .is-style-outline .wp-block-button__link { color: #fff; border-color: #a9c9ef; background: #ffffff0a; }
.home-intro .is-style-outline .wp-block-button__link:hover { background: #ffffff20; color: #fff; }
@media (max-width:782px) {
  .homepage > .home-intro::before { background: linear-gradient(180deg,#082b69,#1559bd); }
  .home-intro h1 { font-size: 30px; }
  .home-intro .hero-description { font-size: 13px; }
  .home-intro > .consultation-photo::after { background: linear-gradient(180deg,#1559bd,transparent 30%); }
}

/* Smaller introductory copy in the homepage hero. */
.home-intro .hero-description { font-size: 13px; line-height: 1.75; }
@media (max-width:782px) {
  .home-intro .hero-description { font-size: 12px; }
}

/* Let the shorter hero copy determine its height and tighten the stats gap. */
.homepage > .home-intro {
  min-height: 0;
  padding-top: 28px;
  padding-bottom: 28px;
}
.homepage > .home-stats {
  padding-top: 16px;
  padding-bottom: 20px;
}
@media (max-width:782px) {
  .homepage > .home-intro { padding-top: 24px; padding-bottom: 0; }
  .home-intro > .consultation-photo { margin-top: 20px !important; }
}

/* Softer service backdrop and compact, consistent disclosure buttons. */
.homepage > .services {
  background: linear-gradient(0deg, #ACCEFA 0%, #D3E5FC 32%, #EEF5FE 65%, #FFFFFF 100%);
  border: 1px solid #c9ddf7;
}
.homepage > .services::before { opacity: .06; }
.services > .eyebrow { color: #1559bd; }
.services > h2 { color: #122c4d; }
.services > .service-invitation { border-top-color: #b5cdeb; }
.services .service-invitation > h3 { color: #122c4d; }
.services .service-invitation > p { color: #465b75; }
.services .service-invitation .wp-block-button__link { background: #1559bd; color: white; }
.services .service-card > details > summary {
  display: list-item;
  width: fit-content;
  min-height: 40px;
  padding: 10px 15px;
  border-radius: 999px;
  background: #1559bd;
  color: white;
  font-size: 12px;
  line-height: 1.6;
  transition: background .2s;
}
@media(hover:hover) {
  .services .service-card > details > summary:hover,
  .services .service-invitation .wp-block-button__link:hover { background: #082b69; color: white; }
}
@media(prefers-reduced-motion:reduce) {
  .services .service-card > details > summary { transition: none; }
}

/* Match both section backdrops to the navy fade used by the story cards. */
.homepage > .services,
.trust-section {
  background: linear-gradient(180deg, #F4F8FE 0%, #E4ECF8 32%, #B5C9E7 57%, #46699F 78%, #082B69 100%);
  border-color: #c9d8ee;
}
.services > .service-invitation { border-top-color: #ffffff40; }
.services .service-invitation > h3 { color: #fff; }
.services .service-invitation > p { color: #e0ebfc; }
.services .service-invitation .wp-block-button__link { background: #fff; color: #1559bd; }
@media (hover:hover) {
  .services .service-invitation .wp-block-button__link:hover { background: #eaf3ff; color: #082b69; }
}

/* Layered activity carousel: isolated from the other homepage components. */
.activity-section { padding-block: 64px; margin: 0; }
.activity-section > .eyebrow { text-align: center; margin: 0 0 14px; }
.activity-section > h2 { text-align: center; margin: 0 0 28px; color: #082b69; font-size: clamp(28px,3.2vw,40px); line-height: 1.3; }
.activity-section .activity-carousel { position: relative; min-width: 0; }
.activity-section .activity-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.activity-section .activity-figure { margin: 0; min-width: 0; }
.activity-section .activity-image-button { display: block; width: 100%; padding: 0; border: 3px solid #fff; border-radius: 16px; overflow: hidden; background: #edf3fc; box-shadow: 0 10px 24px #082b691a; }
.activity-section .activity-image-button img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.activity-section .activity-figure figcaption { font-size: 12px; color: #536176; margin: 12px 0; }
.activity-section [hidden] { display: none !important; }
.activity-section .activity-backdrop { display: none; }
.activity-section .activity-enhanced .activity-stage { position: relative; isolation: isolate; overflow: hidden; height: 370px; padding: 36px 0; border-radius: 24px; background: #f7faff; touch-action: pan-y pinch-zoom; }
.activity-section .activity-enhanced .activity-backdrop { display: block; position: absolute; z-index: -1; inset: -28px; background-size: cover; background-position: center; filter: blur(22px); opacity: .1; pointer-events: none; }
.activity-section .activity-enhanced .activity-list { display: block; }
.activity-section .activity-enhanced .activity-figure {
  position: absolute; top: 50%; left: 50%; width: 350px; max-width: 72%;
  transform: translate(-50%,-50%) translateX(calc(var(--slot) * 205px)) scale(var(--scale));
  opacity: 1; transition: transform .65s cubic-bezier(.22,.61,.36,1),opacity .65s ease;
}
.activity-section .activity-enhanced .activity-figure figcaption { display: none; }
.activity-section .activity-enhanced .activity-image-button { position: relative; cursor: pointer; }
.activity-section .activity-enhanced .activity-image-button::after { content: ''; position: absolute; inset: 0; background: #082b69; opacity: .18; transition: opacity .65s; pointer-events: none; }
.activity-section .activity-enhanced .is-current .activity-image-button::after { opacity: 0; }
.activity-section .activity-enhanced .is-current .activity-image-button { box-shadow: 0 18px 30px #082b6926; }
.activity-section .activity-enhanced .is-offstage { opacity: 0; pointer-events: none; }
.activity-section .activity-enhanced .is-repositioning { opacity: 0; transition: none; pointer-events: none; }
.activity-section .activity-arrow { position: absolute; z-index: 20; top: calc(50% - 24px); width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 1px solid #cadbf2; border-radius: 50%; background: #fffffff2; color: #082b69; font: inherit; font-size: 23px; cursor: pointer; box-shadow: 0 4px 16px #082b6912; }
.activity-section .activity-prev { left: 14px; }
.activity-section .activity-next { right: 14px; }
.activity-section .activity-controls { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 20px; flex-wrap: wrap; }
.activity-section .activity-dots { display: flex; flex-wrap: wrap; justify-content: center; }
.activity-section .activity-dot { display: grid; place-items: center; width: 32px; height: 44px; border: 0; padding: 0; background: transparent; cursor: pointer; }
.activity-section .activity-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #b8cae4; transition: background .2s,transform .2s; }
.activity-section .activity-dot[aria-current="true"]::before { background: #1559bd; transform: scale(1.4); }
.activity-section .activity-pause { min-height: 44px; padding: 10px 16px; border: 1px solid #cadbf2; border-radius: 999px; background: white; color: #1559bd; font: inherit; font-size: 12px; cursor: pointer; }
.activity-section .activity-pause:disabled { cursor: default; color: #536176; }
.activity-section .activity-caption { text-align: center; min-height: 2em; margin: 8px 20px 0; font-size: 12px; line-height: 1.7; color: #465b75; }
.activity-section button:focus-visible, .activity-section .activity-stage:focus-visible { outline: 3px solid #1559bd; outline-offset: 3px; }
.activity-section .activity-simple .activity-figure { transform: translate(-50%,-50%); opacity: 0; pointer-events: none; }
.activity-section .activity-simple .activity-figure.is-current { opacity: 1; pointer-events: auto; }
.activity-section .activity-reduced .activity-figure { transform: translate(-50%,-50%); transition: none; opacity: 0; pointer-events: none; }
.activity-section .activity-reduced .activity-figure.is-current { opacity: 1; pointer-events: auto; }
@media(hover:hover) {
  .activity-section .activity-arrow:hover, .activity-section .activity-pause:hover:not(:disabled) { background: #1559bd; color: white; }
}
@media(max-width:782px) {
  .activity-section { padding-block: 40px; }
  .activity-section .activity-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
  .activity-section .activity-enhanced .activity-stage { height: clamp(240px,54vw,350px); }
  .activity-section .activity-enhanced .activity-figure { width: 70%; max-width: 350px; transform: translate(-50%,-50%) translateX(calc(var(--slot) * 43vw)) scale(var(--scale)); }
  .activity-section .activity-simple .activity-figure, .activity-section .activity-reduced .activity-figure { transform: translate(-50%,-50%); }
  .activity-section .activity-arrow { width: 44px; height: 44px; top: calc(50% - 22px); }
  .activity-section .activity-prev { left: 5px; }
  .activity-section .activity-next { right: 5px; }
  .activity-section .activity-controls { gap: 14px; margin-top: 14px; }
}
@media(prefers-reduced-motion:reduce) {
  .activity-section .activity-enhanced .activity-figure,
  .activity-section .activity-enhanced .activity-image-button::after,
  .activity-section .activity-dot::before { transition: none; }
}

/* Cool blue backdrop, fine photo edges and understated chevron navigation. */
.activity-section .activity-enhanced .activity-stage {
  background: radial-gradient(ellipse at 50% 60%, #cbdff8 0%, #e5effc 50%, #f4f8fe 100%);
}
.activity-section .activity-enhanced .activity-backdrop { display: none; }
.activity-section .activity-image-button {
  border-width: 1px;
  border-color: #ffffffd9;
  box-shadow: 0 10px 24px #082b6914;
}
.activity-section .activity-arrow {
  width: 44px;
  height: 44px;
  top: calc(50% - 22px);
  border: 1px solid #ffffffc9;
  background: #ffffffcf;
  color: #1559bd;
  box-shadow: 0 4px 14px #082b690c;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background .2s,color .2s;
}
.activity-section .activity-arrow svg { display: block; }
.activity-section .activity-controls { margin-top: 14px; }
@media(hover:hover) {
  .activity-section .activity-arrow:hover { background: #fff; color: #082b69; }
}
@media(prefers-reduced-motion:reduce) {
  .activity-section .activity-arrow { transition: none; }
}

/* Case stories: full-width photo fading into one continuous white card. */
.customer-stories .stories-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 24px;
  align-items: stretch;
}
.customer-stories .stories-grid > .story-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  min-width: 0;
  border: 1px solid #dfe7f1;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 24px #082b690c;
  overflow: hidden;
  transition: transform .25s ease,box-shadow .25s ease;
}
.customer-stories .story-card::before { display: none; }
.customer-stories .story-card > .story-image {
  position: relative;
  z-index: auto;
  inset: auto;
  flex-shrink: 0;
  margin: 0;
  height: 260px;
  overflow: hidden;
}
.customer-stories .story-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transition: transform .25s ease;
}
.customer-stories .story-card:nth-child(1) .story-image img { object-position: 50% 30%; }
.customer-stories .story-card:nth-child(2) .story-image img { object-position: 50% 58%; }
.customer-stories .story-card:nth-child(3) .story-image img { object-position: 50% 60%; }
.customer-stories .story-image::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 80px;
  background: linear-gradient(180deg,transparent 0%,#ffffff85 55%,#fff 100%);
  pointer-events: none;
}
.customer-stories .story-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 10px 24px 24px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
.customer-stories .story-type {
  min-height: 42px;
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 500;
  color: #1559bd;
}
.customer-stories .story-content > h3 {
  min-height: 3.9em;
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.025em;
  color: #082b69;
}
.customer-stories .story-content > p:not(.story-type):not(.story-person) {
  min-height: 4.8em;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
}
.customer-stories .story-content > .story-person {
  margin: 20px 0;
  font-size: 12px;
  line-height: 1.75;
  color: #64748b;
}
.customer-stories .story-person strong { font-size: 15px; color: #082b69; }
.customer-stories .story-content > details {
  margin: auto 0 0;
  font-size: 14px;
  color: #475569;
}
.customer-stories .story-content summary {
  display: block;
  list-style: none;
  width: fit-content;
  min-height: 44px;
  padding: 11px 18px;
  border: 0;
  border-radius: 999px;
  background: #1559bd;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 22px;
  cursor: pointer;
  transition: background .2s ease;
}
.customer-stories .story-content summary::-webkit-details-marker { display: none; }
.customer-stories .story-content details[open] summary { margin-bottom: 16px; }
.customer-stories .story-content details p { font-size: 14px; line-height: 1.75; color: #475569; }
.customer-stories summary:focus-visible,
.customer-stories a:focus-visible { outline: 3px solid #2563eb; outline-offset: 4px; }
.customer-stories > .stories-note { margin: 20px 0 0; font-size: 12px; line-height: 1.7; color: #536176; }
@media(hover:hover) {
  .customer-stories .story-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px #082b691a; }
  .customer-stories .story-card:hover .story-image img { transform: scale(1.03); }
  .customer-stories .story-content summary:hover { background: #082b69; }
}
@media(min-width:783px) and (max-width:1100px) {
  .customer-stories .stories-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:782px) {
  .customer-stories .stories-grid { grid-template-columns: 1fr; }
  .customer-stories .story-card > .story-image { height: 250px; }
  .customer-stories .story-content { padding: 10px 20px 20px; }
  .customer-stories .story-content > h3 { min-height: 0; font-size: 22px; }
  .customer-stories .story-type,
  .customer-stories .story-content > p:not(.story-type):not(.story-person) { min-height: 0; }
}
@media(prefers-reduced-motion:reduce) {
  .customer-stories .stories-grid > .story-card,
  .customer-stories .story-image img,
  .customer-stories .story-content summary { transition: none; }
  .customer-stories .story-card:hover,
  .customer-stories .story-card:hover .story-image img { transform: none; }
}

.customer-stories > .content-sample-label,
.testimonials-premium > .content-sample-label {
  margin: -10px 0 22px;
  color: #536176;
  font-size: 11px;
  line-height: 1.6;
}
.testimonials-premium > .content-sample-label { text-align: center; }

/* Tighter spacing within the three case-story cards. */
.customer-stories .story-type {
  min-height: 0;
  margin-bottom: 10px;
}
.customer-stories .story-content > h3 {
  min-height: 2.6em;
  margin-bottom: 12px;
}
.customer-stories .story-content > p:not(.story-type):not(.story-person) {
  min-height: 0;
}
.customer-stories .story-content > .story-person {
  margin-top: 16px;
  margin-bottom: 16px;
}
.customer-stories .story-content > details { margin-top: auto; }
@media(max-width:782px) {
  .customer-stories .story-content > h3 { min-height: 0; }
}


/* Luminous milestone timeline over a restrained blue wash. */
.journey-section {
  position: relative;
  isolation: isolate;
  margin: 40px auto;
  padding: 44px 28px 42px;
  overflow: hidden;
  border: 1px solid #d6e4f7;
  border-radius: 28px;
  color: #122c4d;
  background: radial-gradient(ellipse at 50% 100%,#c3dcf980,transparent 70%),linear-gradient(180deg,#fff,#f0f6ff 65%,#e1edfc);
}
.journey-section > h2 {
  max-width: 850px;
  margin: 0 auto 36px;
  color: #082b69;
  font-size: clamp(30px,3.3vw,42px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.025em;
  text-align: center;
}
.journey-section .journey-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.journey-section .journey-steps::before {
  content: '';
  position: absolute;
  top: 102px;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg,#1559bd,#529ce6 55%,#99d6ff);
  box-shadow: 0 0 12px #1559bd25;
  pointer-events: none;
}
.journey-section .journey-step { position: relative; min-width: 0; margin: 0; text-align: center; }
.journey-section .journey-select {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 58px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1559bd;
  font: inherit;
  cursor: pointer;
}
.journey-section .journey-select::before {
  content: '';
  position: absolute;
  top: 38px;
  height: 44px;
  left: calc(50% - .5px);
  border-left: 1px dashed #83a9d5;
  pointer-events: none;
}
.journey-section .journey-number {
  display: grid;
  place-items: center;
  height: 30px;
  padding-inline: 12px;
  border: 1px solid #bed1eb;
  border-radius: 9px;
  background: #ffffffd9;
  color: #1559bd;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
}
.journey-section .journey-node {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 2px solid #e8f7ff;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 30%,#ecfbff,#76c9fa 34%,#2375cf 76%);
  box-shadow: 0 0 0 1px #438bd2,0 0 16px #47a5f565;
  transition: transform .25s,box-shadow .25s;
}
.journey-section .journey-node::after {
  content: '';
  position: absolute;
  inset: -9px;
  border: 1px solid #529ce6;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}
.journey-section .is-selected .journey-node {
  transform: scale(1.18);
  box-shadow: 0 0 0 1px #1559bd,0 0 24px #42a5f48c;
}
.journey-section .is-selected .journey-number { background: #1559bd; color: #fff; border-color: #1559bd; }
.journey-section .journey-copy { margin-top: 24px; }
.journey-section .journey-copy h3 { min-height: 4.2em; margin: 0 0 12px; color: #082b69; font-size: 17px; font-weight: 600; line-height: 1.4; }
.journey-section .journey-copy p { margin: 0; color: #475569; font-size: 14px; line-height: 1.65; }
.journey-section .is-pulsing .journey-node::after { animation: journey-click-pulse .7s ease-out 1; }
@keyframes journey-click-pulse {
  0% { opacity: .8; transform: scale(.75); }
  100% { opacity: 0; transform: scale(1.6); }
}
.journey-section .journey-select:focus-visible { outline: 2px solid #1559bd; outline-offset: 7px; border-radius: 10px; }
@media(hover:hover) {
  .journey-section .journey-select:hover .journey-node { transform: scale(1.12); box-shadow: 0 0 24px #42a5f480; }
}
@media(min-width:601px) and (max-width:1199px) {
  .journey-section .journey-steps { grid-template-columns: repeat(3,minmax(0,1fr)); row-gap: 36px; }
  .journey-section .journey-steps::before { display: none; }
  .journey-section .journey-step::before { content: ''; position: absolute; top: 102px; left: -10px; right: -10px; height: 4px; background: linear-gradient(90deg,#1559bd,#89caff); pointer-events: none; }
  .journey-section .journey-copy h3 { min-height: 2.8em; font-size: 18px; }
}
@media(max-width:600px) {
  .journey-section { margin-block: 28px; padding: 32px 22px; }
  .journey-section > h2 { font-size: 30px; margin-bottom: 28px; }
  .journey-section .journey-steps { grid-template-columns: 1fr; gap: 26px; }
  .journey-section .journey-steps::before { top: 20px; bottom: 20px; left: 21px; right: auto; width: 2px; height: auto; background: linear-gradient(#1559bd,#a3c9f3); box-shadow: none; }
  .journey-section .journey-step { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 18px; text-align: left; }
  .journey-section .journey-select { padding-top: 5px; gap: 0; min-height: 44px; }
  .journey-section .journey-select::before { display: none; }
  .journey-section .journey-number { position: absolute; top: 12px; z-index: 1; height: 20px; padding: 0; border: 0; background: transparent; color: #082b69; font-size: 10px; letter-spacing: 0; width: 32px; overflow: hidden; }
  .journey-section .journey-number { font-size: 0; }
  .journey-section .journey-number::after { content: attr(data-short); font-size: 10px; }
  .journey-section .journey-node { width: 34px; height: 34px; }
  .journey-section .is-selected .journey-number { background: transparent; color: #082b69; }
  .journey-section .journey-copy { margin-top: 0; }
  .journey-section .journey-copy h3 { min-height: 0; font-size: 18px; }
}
@media(prefers-reduced-motion:reduce) {
  .journey-section .journey-node { transition: none; }
  .journey-section .is-pulsing .journey-node::after { animation: none; }
  .journey-section .is-selected .journey-node,
  .journey-section .journey-select:hover .journey-node { transform: none; }
}

/* Almost imperceptible background photograph beneath the process content. */
.journey-section::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 18% -20px -20px;
  background: url("assets/images/journey-handshake-background.jpg") center 60% / cover no-repeat;
  opacity: .065;
  filter: blur(12px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 45%);
  mask-image: linear-gradient(180deg, transparent, #000 45%);
  pointer-events: none;
}

/* Activity gallery uses one section-wide gradient instead of a separate blue slab. */
.activity-section {
  padding: 44px 20px 26px;
  border: 1px solid #c9d8ee;
  border-radius: 28px;
  background: linear-gradient(180deg, #F4F8FE 0%, #E4ECF8 32%, #B5C9E7 57%, #46699F 78%, #082B69 100%);
}
.activity-section .activity-enhanced .activity-stage {
  background: transparent;
  border-radius: 0;
}
.activity-section .activity-dot::before { background: #c9dcf5; }
.activity-section .activity-dot[aria-current="true"]::before { background: #fff; }
.activity-section .activity-dot:focus-visible { outline-color: #fff; }
@media(max-width:782px) {
  .activity-section { padding: 32px 12px 20px; border-radius: 24px; }
}

/* Separate the activity gallery from the section above; keep its backdrop white. */
.homepage > .activity-section {
  margin-top: 48px;
  margin-bottom: 24px;
  padding: 24px 0;
  background: #fff;
  border: 0;
  border-radius: 0;
}
.activity-section .activity-enhanced .activity-stage { background: transparent; }
.activity-section .activity-dot::before { background: #bed0e9; }
.activity-section .activity-dot[aria-current="true"]::before { background: #1559bd; }
.activity-section .activity-dot:focus-visible { outline-color: #1559bd; }
@media(max-width:782px) {
  .homepage > .activity-section { margin-top: 32px; margin-bottom: 16px; padding: 20px 0; }
}

/* Continuous full-width homepage palette: blue, soft lavender, pearl white. */
body.home {
  background-color: #eef3ff;
  background-image:
    radial-gradient(ellipse 100% 16% at 100% 0%, #93bcfa60, transparent 80%),
    radial-gradient(ellipse 90% 22% at 0% 38%, #bbc4f74d, transparent 80%),
    radial-gradient(ellipse 100% 24% at 100% 70%, #d7bde742, transparent 80%),
    linear-gradient(180deg, #e6efff 0%, #dfe9ff 22%, #e7e7fc 47%, #efe7f4 72%, #fff5ec 100%);
  background-repeat: no-repeat;
  color: #142d50;
}
body.home .wp-site-blocks { background: transparent; }
body.home .site-header {
  background: #ffffffa8;
  border-bottom: 1px solid #ffffffa6;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
body.home .homepage > .services,
body.home .homepage > .trust-section,
body.home .homepage > .journey-section,
body.home .homepage > .activity-section,
body.home .homepage > .testimonials-premium {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
body.home .homepage > .services { padding-inline: 0; }
body.home .homepage > .trust-section { padding-inline: 0; }
body.home .homepage > .journey-section { padding-inline: 16px; }
body.home .services::before { display: none; }
body.home .services .service-invitation { border-top-color: #b6c9e480; }
body.home .services .service-invitation > h3 { color: #082b69; }
body.home .services .service-invitation > p { color: #465b75; }
body.home .services .service-invitation .wp-block-button__link { background: #1559bd; color: #fff; }
body.home .services .service-card,
body.home .customer-stories .story-card {
  border-color: #ffffffc9;
  box-shadow: 0 10px 28px #173c6810;
}
body.home .trust-section .trust-content {
  background: linear-gradient(135deg,#ffffffbd,#f2f6ff9c);
  border: 1px solid #ffffffd9;
  box-shadow: 0 12px 34px #173c6810;
}
body.home .trust-section .trust-item { background: #ffffff57; border-color: #cfdbed; border-left-color: transparent; }
body.home .trust-section .trust-trigger { color: #122c4d; }
body.home .trust-section .trust-order,
body.home .trust-section .trust-symbol { color: #1559bd; }
body.home .trust-section .trust-item.is-active { background: #e1edff; border-left-color: #1559bd; }
body.home .trust-section .trust-contact { color: #fff; background: #1559bd; }
body.home .testimonials-premium::before { opacity: .035; }
body.home .testimonials-premium::after { background: radial-gradient(420px circle at var(--pointer-x) var(--pointer-y),#b3cdfb55,transparent 72%); }
body.home .testimonials-premium .testimonial-card { background: #ffffffb8; border-color: #ffffffd9; }
body.home .testimonials-premium .testimonial-feature { box-shadow: 0 12px 32px #173c6814; }
body.home .contact-section {
  background: linear-gradient(120deg,#ffffffb8,#e3edffad);
  border: 1px solid #ffffffd9;
  color: #465b75;
  box-shadow: 0 14px 36px #173c6810;
}
body.home .contact-copy .eyebrow { color: #1559bd; }
body.home .contact-copy h2 { color: #082b69; }
body.home .contact-note { border-top-color: #bccde5; }
body.home .consultation-form { box-shadow: 0 8px 24px #173c6808; }
body.home .site-footer { background: #ffffff68; border-top: 1px solid #ffffffb0; color: #465b75; }
body.home .site-footer .footer-brand { color: #082b69; }
body.home .knowledge-notice { color: #536176; }
@media(hover:hover) {
  body.home .trust-section .trust-contact:hover,
  body.home .services .service-invitation .wp-block-button__link:hover { background: #082b69; color: white; }
  body.home .testimonials-premium .testimonial-card:hover { background: #f5f8ffed; border-color: #a6c5ef; }
  body.home .trust-section .trust-item:not(.is-active) .trust-trigger:hover { background: #e9f1ff80; }
}
@media(max-width:782px) {
  body.home .homepage > .services { padding-inline: 0; }
  body.home .homepage > .trust-section { padding-inline: 0; }
  body.home .homepage > .journey-section { padding-inline: 12px; }
  body.home .homepage > .testimonials-premium { padding-inline: 0; }
  body.home .contact-section { padding-inline: 20px; }
}

/* Soft ice-blue atmosphere inspired by the supplied reference; no line pattern. */
body.home {
  background-color: #E8F3FA;
  background-image:
    radial-gradient(ellipse 95% 16% at 8% 8%, #FFFFFFE6 0%, transparent 78%),
    radial-gradient(ellipse 100% 18% at 100% 28%, #A9CCE56B 0%, transparent 80%),
    radial-gradient(ellipse 100% 20% at 12% 51%, #FFFFFFDB 0%, transparent 82%),
    radial-gradient(ellipse 90% 18% at 100% 76%, #ADCEE34D 0%, transparent 80%),
    linear-gradient(180deg, #D7EAF6 0%, #EEF7FC 20%, #D9EAF5 42%, #F5FAFD 63%, #D6E8F3 83%, #EDF6FB 100%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: #142D50;
}
body.home .site-header {
  background: #FFFFFFA6;
  border-bottom-color: #FFFFFFB3;
}
body.home .homepage > section > h2 { color: #082B69; }
body.home .homepage > section > .eyebrow { color: #1559BD; }
body.home .homepage > .home-intro h1 { color: #FFFFFF; }
body.home .journey-section { border: 0; }
body.home .journey-section::before { opacity: .035; }
body.home .services::before { display: none; }
body.home .testimonials-premium::before { opacity: .025; }

/* Compact navy header: real logo, native WordPress search and direct phone CTA. */
.site-header,
body.home .site-header {
  background: #082b69;
  border-bottom: 1px solid #ffffff20;
  color: #fff;
}
.site-header .header-inner { min-height: 84px; gap: 18px; padding-block: 10px; }
.site-header .header-logo { width: 64px; flex: 0 0 64px; margin: 0; }
.site-header .header-logo a,
.site-header .header-logo img { display: block; }
.site-header .header-logo img { width: 64px; height: 64px; object-fit: contain; border-radius: 9px; }
.site-header .wp-block-navigation { color: #fff; font-size: 12px; }
.site-header .wp-block-navigation__container { gap: 16px; }
.site-header .wp-block-navigation a { color: inherit; }
.site-header .wp-block-navigation a:hover { color: #bddaff; }
.site-header .header-search { width: 174px; flex: 0 1 174px; min-width: 120px; margin: 0; }
.site-header .header-search .wp-block-search__inside-wrapper { display: flex; min-height: 38px; border: 1px solid #7295c3; border-radius: 9px; background: #ffffff0c; padding: 0; overflow: hidden; }
.site-header .header-search .wp-block-search__input { width: 100%; min-width: 0; border: 0; padding: 8px 10px; background: transparent; color: #fff; font-family: inherit; font-size: 12px; }
.site-header .header-search .wp-block-search__input::placeholder { color: #d2e2f9; opacity: 1; }
.site-header .header-search .wp-block-search__button { min-width: 38px; width: 38px; padding: 7px; margin: 0; border: 0; border-radius: 0; background: transparent; color: #fff; cursor: pointer; }
.site-header .header-search .wp-block-search__button:hover { background: #ffffff20; }
.site-header .header-search .wp-block-search__button svg { fill: currentColor; width: 22px; height: 22px; }
.site-header .header-cta .wp-block-button__link { min-height: 38px; padding: 9px 13px; border: 1px solid #6094da; border-radius: 9px; background: #1559bd; color: #fff; font-size: 12px; line-height: 1.6; white-space: nowrap; }
.site-header .header-cta .wp-block-button__link:hover { background: #246bd1; transform: none; }
.site-header :is(a,button,input):focus-visible { outline: 2px solid #a7d2ff; outline-offset: 3px; }
.site-header .wp-block-navigation__responsive-container.is-menu-open { background: #082b69; color: #fff; }
@media(min-width:783px) and (max-width:1100px) {
  .site-header .header-inner { flex-wrap: wrap; gap: 14px 20px; }
  .site-header .header-search { margin-left: auto; width: 230px; flex-basis: 230px; }
  .site-header .header-inner > .wp-block-buttons { margin-left: 0; }
  .site-header .wp-block-navigation { order: 4; width: 100%; margin: 0; }
}
@media(max-width:782px) {
  .site-header .header-inner { flex-wrap: wrap; gap: 10px 12px; padding-block: 12px; }
  .site-header .header-logo { width: 52px; flex-basis: 52px; }
  .site-header .header-logo img { width: 52px; height: 52px; }
  .site-header .header-inner > .wp-block-buttons { margin-left: auto; }
  .site-header .header-cta .wp-block-button__link { font-size: 11px; padding: 9px 10px; }
  .site-header .wp-block-navigation { order: 3; margin-left: 0; }
  .site-header .header-search { order: 4; width: 100%; flex: 1 0 100%; }
  .site-header .header-search .wp-block-search__inside-wrapper { min-height: 40px; }
}

/* Separate the header from the hero; reveal search from the final icon. */
.site-header { margin-bottom: 24px; }
.site-header .header-inner { gap: 22px; }
.site-header .header-search-toggle { position: relative; flex: 0 0 40px; margin: 0 0 0 18px; order: 5; }
.site-header .header-search-toggle > summary { display: grid; place-items: center; width: 40px; height: 44px; padding: 0; color: white; border-radius: 8px; cursor: pointer; list-style: none; }
.site-header .header-search-toggle > summary::-webkit-details-marker { display: none; }
.site-header .header-search-toggle > summary:hover { background: #ffffff16; }
.site-header .header-search-toggle > summary:focus-visible { outline: 2px solid #a7d2ff; outline-offset: 3px; }
.site-header .header-search-popup { position: absolute; z-index: 100; top: calc(100% + 12px); right: 0; width: 300px; max-width: calc(100vw - 32px); display: flex; gap: 8px; padding: 12px; border: 1px solid #d5e2f4; border-radius: 12px; background: white; box-shadow: 0 12px 32px #082b6926; }
.site-header .header-search-popup input { min-width: 0; width: 100%; border: 1px solid #c9d9ee; border-radius: 8px; padding: 10px; color: #122c4d; background: #f4f8fe; font: inherit; font-size: 13px; }
.site-header .header-search-popup button { min-height: 42px; padding: 8px 13px; border: 0; border-radius: 8px; background: #1559bd; color: white; font: inherit; font-size: 13px; cursor: pointer; }
.site-header .header-search-popup button:hover { background: #082b69; }
@media(min-width:783px) and (max-width:1100px) {
  .site-header .header-search-toggle { order: 3; }
  .site-header .header-inner > .wp-block-buttons { margin-left: auto; }
}
@media(max-width:782px) {
  .site-header { margin-bottom: 16px; }
  .site-header .header-inner { gap: 10px; }
  .site-header .header-search-toggle { flex-basis: 36px; margin-left: 10px; }
  .site-header .header-search-toggle > summary { width: 36px; }
}

/* Keep the expanded header search above the hero stacking context. */
.site-header,
body.home .site-header {
  position: relative;
  z-index: 100;
  overflow: visible;
}
.site-header .header-inner { overflow: visible; }
.site-header .header-search-toggle { z-index: 101; }
.site-header .header-search-popup { z-index: 102; }

/* Raise the template-part wrapper as well as the header itself. */
.wp-site-blocks > .site-header-part,
.wp-site-blocks > .wp-block-template-part:has(.site-header) {
  position: relative;
  z-index: 200;
  overflow: visible;
}
.homepage { position: relative; z-index: 0; }
.site-header .header-search-toggle:not([open]) > .header-search-popup { display: none; }
.site-header .header-search-toggle[open] > .header-search-popup { display: flex; }
