/* Homepage, redesigned November 25, 2026: trust and calls first. Loaded only on "/". */
.flow-home{--hp-ink:#071c2d;--hp-ink-2:#0d2d40;--hp-sky:#9de5f6;--hp-sky-2:#c9f4fc;--hp-paper:#f4f7f6;--hp-card:#fff;--hp-line:#d3dde0;--hp-muted:#4a6270;--hp-ok:#1f7a4d;--hp-radius:14px}
.hp-wrap{width:min(1200px,calc(100% - 48px));margin-inline:auto}
.flow-home .home-main .content .hp-section,.flow-home .home-main .content .hp-hero{color:var(--hp-ink)}
.flow-home .content .hp-section h2,.flow-home .content .hp-hero h2{font-size:clamp(30px,3.4vw,46px);line-height:1.1;letter-spacing:-.03em;font-weight:800;margin:0 0 16px}
.flow-home .content .hp-section h3{font-size:21px;line-height:1.25;font-weight:750;letter-spacing:-.01em;margin:0 0 8px}
.flow-home .content .hp-section p{font-size:17px;line-height:1.6}
.hp-section{padding:clamp(64px,8vw,104px) 0;background:var(--hp-paper)}
.hp-eyebrow{font-size:13px!important;font-weight:750;letter-spacing:.1em;text-transform:uppercase;margin:0 0 18px!important}

/* Buttons: one family, four tones. */
.hp-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:13px 24px;border:2px solid transparent;border-radius:10px;font-size:17px;font-weight:750;line-height:1.25;text-decoration:none;transition:transform .15s ease,background-color .15s ease,border-color .15s ease}
.hp-btn:hover{transform:translateY(-1px)}.hp-btn:active{transform:translateY(1px)}
.hp-btn-primary{background:var(--hp-sky);border-color:var(--hp-sky);color:var(--hp-ink)!important}.hp-btn-primary:hover{background:var(--hp-sky-2);border-color:var(--hp-sky-2)}
.hp-btn-ghost{border-color:#ffffffb3;color:#fff!important}.hp-btn-ghost:hover{background:#ffffff1a;border-color:#fff}
.hp-btn-dark{background:var(--hp-ink);border-color:var(--hp-ink);color:#fff!important}.hp-btn-dark:hover{background:#21455a;border-color:#21455a}
.hp-btn-ghost-dark{border-color:var(--hp-ink);color:var(--hp-ink)!important}.hp-btn-ghost-dark:hover{background:#e3ecec}

/* Hero: what, where and the license on the left; the photo and the call-back form on the right. */
.hp-hero{background:var(--hp-ink);color:#fff!important;padding:clamp(40px,6vw,80px) 0 clamp(56px,7vw,96px)}
.hp-hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(32px,5vw,72px);align-items:start}
.hp-hero-copy{color:#fff;padding-top:clamp(8px,2vw,32px)}
.hp-hero .hp-eyebrow{color:var(--hp-sky)}
.flow-home .content .hp-hero h1{font-size:clamp(42px,5vw,70px);line-height:1.02;letter-spacing:-.04em;font-weight:800;color:#fff;margin:0 0 22px}
.flow-home .content .hp-lead{font-size:clamp(18px,1.5vw,21px);line-height:1.55;color:#d9eef3;margin:0 0 30px;max-width:560px}
.hp-actions{display:flex;flex-wrap:wrap;gap:14px}
.hp-facts{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:40px 0 0;padding:22px 0 0;border-top:1px solid #ffffff33}
.hp-facts li{padding-right:16px}.hp-facts li+li{padding-left:16px;border-left:1px solid #ffffff33}
.hp-facts strong{display:block;font-size:20px;font-weight:800;color:#fff}.hp-facts span{display:block;font-size:14px;color:#b9d6de;line-height:1.4}
.hp-facts a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.hp-hero-side{position:relative}
.hp-hero-photo{border-radius:var(--hp-radius);overflow:hidden;aspect-ratio:16/10}
.flow-home .content .hp-hero-photo img{width:100%;height:100%;object-fit:cover;border-radius:0}
.flow-home .home-main .hp-hero .hp-form{position:relative;margin:-110px 0 0 clamp(16px,4vw,56px);box-shadow:0 18px 48px #00101a59}
.hp-hero .contact-optional{display:none}
.hp-hero-photo{aspect-ratio:4/3}

/* Call-back panel on the homepage (shared markup with Contact, see contact_page.callback_panel). */
.flow-home .hp-form{background:var(--hp-card);color:var(--hp-ink);border:1px solid var(--hp-line);border-radius:var(--hp-radius);padding:24px}
.flow-home .content .hp-form h2{font-size:24px;line-height:1.2;margin:0 0 6px;letter-spacing:-.01em}
.flow-home .content .hp-form .contact-intro{font-size:15px;line-height:1.5;color:var(--hp-muted);margin:0 0 6px}
.flow-home .hp-form .contact-status{margin:0 0 8px;font-size:14px;color:var(--hp-muted)}
.flow-home .hp-form .contact-status:empty{display:none}
.flow-home .hp-form .contact-required{margin:0 0 12px}
.flow-home .hp-form .contact-field{margin-bottom:12px}
.flow-home .hp-form .contact-field label{color:var(--hp-ink)}
.flow-home .hp-form .contact-field textarea{min-height:80px}
.flow-home .hp-form .button{width:100%;min-height:52px;border-radius:10px;background:var(--hp-ink);border-color:var(--hp-ink);color:#fff;font-size:17px;font-weight:750}
.flow-home .hp-form .button:hover{background:#21455a}
.flow-home .hp-form .button.secondary{width:auto;background:transparent;color:var(--hp-ink);border-color:#8da2a9}
.flow-home .hp-form .contact-success-actions .button{width:auto}
.flow-home .hp-form .contact-privacy{margin:10px 0 0}
.flow-home .hp-form:has(.contact-success:not([hidden]))>:is(h2,p){display:none}

/* Section heads. */
.hp-head{max-width:720px;margin-bottom:40px}.hp-head p{color:var(--hp-muted);margin:0}
.hp-head-row{display:flex;align-items:end;justify-content:space-between;gap:24px;max-width:none}

/* Services: six photo cards. */
.hp-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.hp-card{display:flex;flex-direction:column;background:var(--hp-card);border:1px solid var(--hp-line);border-radius:var(--hp-radius);overflow:hidden;transition:transform .2s ease,box-shadow .2s ease;scroll-margin-top:24px}
.hp-card:hover{transform:translateY(-2px);box-shadow:0 14px 32px #071c2d1f}
.hp-card-media{display:block;aspect-ratio:16/9;overflow:hidden}
.flow-home .content .hp-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.hp-card:hover .hp-card-media img{transform:scale(1.03)}
.hp-card-body{padding:20px 22px 24px;display:flex;flex-direction:column;flex:1}
.hp-card h3 a{color:var(--hp-ink);text-decoration:none;background:linear-gradient(currentColor,currentColor) 0 100%/0 2px no-repeat;transition:background-size .25s ease}
.hp-card h3 a:hover{background-size:100% 2px}
.flow-home .content .hp-card p{font-size:15px;color:var(--hp-muted);margin:0 0 14px}
.hp-card-links{list-style:none;margin:auto 0 0;padding:14px 0 0;border-top:1px solid var(--hp-line);display:flex;flex-wrap:wrap;gap:6px 16px}
.hp-card-links a{color:#155a78;font-size:15px;font-weight:650;text-underline-offset:3px}
.hp-more{margin:36px 0 0!important}

/* Urgent band. */
.hp-urgent{background:var(--hp-ink-2)}
.flow-home .home-main .content .hp-urgent{color:#fff}
.flow-home .content .hp-urgent h2{color:#fff}
.flow-home .content .hp-urgent p{color:#d9eef3;margin:0 0 26px}
.hp-urgent-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(32px,6vw,88px);align-items:start}
.hp-steps-list{list-style:none;counter-reset:step;margin:0;padding:0;display:grid;gap:14px}
.hp-steps-list li{counter-increment:step;position:relative;padding:18px 20px 18px 64px;border:1px solid #ffffff2e;border-radius:var(--hp-radius);background:#ffffff0d;font-size:17px;line-height:1.55;color:#d9eef3}
.hp-steps-list li:before{content:counter(step);position:absolute;left:20px;top:18px;width:30px;height:30px;border-radius:50%;background:var(--hp-sky);color:var(--hp-ink);font-weight:800;display:grid;place-items:center;font-size:15px}
.hp-steps-list strong{color:#fff}.hp-steps-list a{color:var(--hp-sky);text-underline-offset:3px}

/* Split sections. */
.hp-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,6vw,80px);align-items:center}
.hp-split-media{border-radius:var(--hp-radius);overflow:hidden;aspect-ratio:4/3}
.flow-home .content .hp-split-media img{width:100%;height:100%;object-fit:cover}
.hp-how{background:#fff}
.hp-process{list-style:none;margin:8px 0 32px;padding:0;display:grid;gap:22px}
.hp-process li{display:grid;grid-template-columns:44px minmax(0,1fr);gap:16px}
.hp-process li>span{width:44px;height:44px;border-radius:50%;background:var(--hp-ink);color:#fff;display:grid;place-items:center;font-weight:800;font-size:18px}
.flow-home .content .hp-process p{margin:0;color:var(--hp-muted);font-size:16px}

/* License. */
.hp-trust-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,6vw,80px);align-items:center}
.flow-home .content .hp-trust p{color:var(--hp-muted);margin:0 0 26px}
.hp-license{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0}
.hp-license div{background:#fff;border:1px solid var(--hp-line);border-radius:var(--hp-radius);padding:20px 22px}
.hp-license dt{font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--hp-muted);font-weight:700;margin-bottom:6px}
.hp-license dd{margin:0;font-size:22px;font-weight:800;color:var(--hp-ink)}

/* Area. */
.hp-area{background:#fff}
.hp-split-reverse>.hp-split-media{order:2}
.flow-home .content .hp-area p{color:var(--hp-muted)}
.hp-cities{list-style:none;margin:0 0 30px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.hp-cities a{display:inline-flex;align-items:center;min-height:44px;padding:8px 14px;border:1px solid var(--hp-line);border-radius:999px;color:var(--hp-ink);text-decoration:none;font-size:15px;font-weight:650;transition:background-color .15s ease,border-color .15s ease}
.hp-cities a:hover{background:#e3ecec;border-color:#9fb3b8}

/* FAQ. */
.hp-faq-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(32px,6vw,80px);align-items:start}
.hp-faq-list{border-top:1px solid var(--hp-line)}
.hp-faq-item{border-bottom:1px solid var(--hp-line)}
.hp-faq-item summary{cursor:pointer;list-style:none;padding:20px 40px 20px 0;position:relative;font-size:18px;font-weight:750;line-height:1.4}
.hp-faq-item summary::-webkit-details-marker{display:none}
.hp-faq-item summary:after{content:"+";position:absolute;right:6px;top:16px;font-size:26px;font-weight:500;color:var(--hp-muted);transition:transform .2s ease}
.hp-faq-item[open] summary:after{transform:rotate(45deg)}
.flow-home .content .hp-faq-item p{margin:0 0 22px;color:var(--hp-muted);font-size:16px}
.hp-faq-item a{color:#155a78}

/* Guides. */
.hp-guides{background:#fff}
.hp-guides .journal-grid{gap:28px}
.flow-home .content .hp-guides .journal-card img{border-radius:12px}
.hp-guides .journal-card :is(h2,h3){font-size:21px!important;font-weight:750;line-height:1.3;color:var(--hp-ink)}
.hp-guides .journal-card p{color:var(--hp-muted)}

/* Closing call to action. */
.hp-end{background:var(--hp-ink)}
.flow-home .home-main .content .hp-end{color:#fff}
.hp-end-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,6vw,80px);align-items:center}
.hp-end .hp-eyebrow{color:var(--hp-sky)}
.flow-home .content .hp-end p.hp-end-title{font-size:clamp(32px,3.8vw,52px);line-height:1.08;letter-spacing:-.03em;font-weight:800;color:#fff;margin:0 0 16px}
.flow-home .content .hp-end p{color:#d9eef3}

/* Hero entrance: once, on load. */
@media(prefers-reduced-motion:no-preference){
  .hp-hero-copy>*{animation:hp-rise .6s cubic-bezier(.2,.7,.2,1) both}
  .hp-hero-copy>:nth-child(2){animation-delay:.06s}.hp-hero-copy>:nth-child(3){animation-delay:.12s}.hp-hero-copy>:nth-child(4){animation-delay:.18s}.hp-hero-copy>:nth-child(5){animation-delay:.24s}
  .hp-hero-side{animation:hp-fade .8s ease .15s both}
}
@media(prefers-reduced-motion:reduce){.hp-btn,.hp-card,.hp-card-media img,.hp-card h3 a{transition:none}.hp-card:hover{transform:none}}
@keyframes hp-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes hp-fade{from{opacity:0}to{opacity:1}}

/* Tablet and phone. */
@media(max-width:1000px){.hp-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.hp-hero-grid,.hp-urgent-grid,.hp-trust-grid,.hp-faq-grid,.hp-end-grid{grid-template-columns:minmax(0,1fr)}.flow-home .home-main .hp-hero .hp-form{margin:-72px 16px 0}}
@media(max-width:800px){
  .hp-wrap{width:calc(100% - 32px)}
  .hp-split{grid-template-columns:minmax(0,1fr)}.hp-split-reverse>.hp-split-media{order:0}
  .hp-hero-side{display:flex;flex-direction:column}
  .flow-home .home-main .hp-hero .hp-form{order:-1;margin:0}
  .hp-hero-photo{display:none}
  .hp-facts{grid-template-columns:minmax(0,1fr);gap:12px}.hp-facts li,.hp-facts li+li{padding:0;border:0}
  .hp-head-row{flex-direction:column;align-items:start}
}
@media(max-width:560px){.hp-cards{grid-template-columns:minmax(0,1fr)}.hp-actions .hp-btn,.hp-urgent .hp-btn,.hp-end .hp-btn,.hp-more .hp-btn,.hp-how .hp-btn,.hp-area .hp-btn,.hp-trust .hp-btn{width:100%}.hp-license{grid-template-columns:minmax(0,1fr)}.flow-home .hp-form{padding:20px}.hp-steps-list li{padding-left:58px}}

/* Lists: reset the article list styles from style.css. */
.flow-home .content :is(.hp-card-links,.hp-cities,.hp-facts,.hp-steps-list,.hp-process){padding-left:0}
.flow-home .content :is(.hp-card-links,.hp-cities,.hp-facts,.hp-process) li{margin-bottom:0}
.flow-home .content .hp-card-links{padding-top:14px}
.flow-home .content .hp-steps-list li{margin:0;padding-left:64px}
@media(max-width:560px){.flow-home .content .hp-steps-list li{padding-left:58px}}
.flow-home .content .hp-end .hp-form p,.flow-home .content .hp-hero .hp-form p{color:var(--hp-muted)}
.flow-home .content .hp-form .contact-error{color:#8d221c}
