/* Phase 2: homepage only. */
body.is-home .hero { min-height: min(88vh, 760px); padding: 100px max(24px, calc((100% - 1200px)/2)) 185px; align-items: center; }
body.is-home .hero-carousel-viewport::after { background: linear-gradient(90deg, rgba(15,27,77,.82), rgba(15,27,77,.25)); }
body.is-home .hero-copy { max-width: 620px; }
body.is-home .hero-eyebrow { display: inline-block; margin-bottom: 18px; color: #fff; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; line-height: 1.5; text-transform: uppercase; }
body.is-home .hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; }
body.is-home .hero p.lead { max-width: 560px; margin: 22px 0 30px; font-size: 18px; line-height: 1.75; }
body.is-home .hero .btn-primary { background: var(--brand-600); }
body.is-home .hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.85); background: transparent; }
body.is-home .hero .btn-ghost:hover { color: var(--brand-900); background: #fff; }
body.is-home .hero-carousel-dots { left: max(24px, calc((100% - 1200px)/2)); bottom: 105px; }
body.is-home .hero-carousel-button { bottom: 110px; }
body.is-home .hero-trust { position: absolute; z-index: 4; left: max(24px, calc((100% - 1200px)/2)); right: max(24px, calc((100% - 1200px)/2)); bottom: -40px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; padding: 20px 24px; border: 1px solid rgba(255,255,255,.8); border-radius: 16px; background: rgba(255,255,255,.91); backdrop-filter: blur(12px); box-shadow: var(--shadow-md); }
body.is-home .hero-trust-item { min-width: 0; padding: 0 20px; color: var(--brand-900); font-weight: 700; line-height: 1.45; }
body.is-home .hero-trust-item + .hero-trust-item { border-left: 1px solid var(--line); }
body.is-home .home-about-section, body.is-home .home-advantages, body.is-home .home-about-details, body.is-home .partner-section { padding: 96px max(24px, calc((100% - 1200px)/2)); }
body.is-home .home-about-section { padding-top: 136px; background: #fff; }
body.is-home .home-about-layout { grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: clamp(44px,6vw,88px); }
body.is-home .home-about-copy h2, body.is-home .home-advantages h2, body.is-home .home-about-details h2, body.is-home .partner-section h2 { font-size: var(--type-section); }
body.is-home .home-about-copy .sub { max-width: 68ch; color: var(--ink-700); font-size: 17px; line-height: 1.75; }
body.is-home .home-about-frame { position: relative; overflow: visible; box-shadow: none; }
body.is-home .home-about-frame img { width: 100%; height: 100%; min-height: 440px; max-height: 560px; aspect-ratio: 1.15; object-fit: cover; border-radius: 20px; }
body.is-home .home-about-float { position: absolute; right: -12px; bottom: 24px; max-width: 250px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--brand-900); box-shadow: var(--shadow-md); font-weight: 700; }
body.is-home .advantage-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; margin-top: 36px; }
body.is-home .advantage-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
body.is-home .advantage-card img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; transition: transform 250ms ease; }
body.is-home .advantage-card:hover img { transform: scale(1.04); }
body.is-home .advantage-card .adv-overlay { position: static; flex: 1; padding: 24px; background: #fff; }
body.is-home .advantage-card .adv-overlay b, body.is-home .advantage-card h3 { color: var(--ink-900); font-size: 1.25rem; line-height: 1.35; }
body.is-home .advantage-card .adv-overlay p { color: var(--ink-700); font-size: 1rem; line-height: 1.75; }
body.is-home .advantage-card svg { width: 26px; height: 26px; color: var(--brand-600); fill: none; stroke: currentColor; stroke-width: 1.75; }
body.is-home .home-about-details { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(40px,6vw,90px); align-items: start; background: var(--bg-soft); }
body.is-home .mission-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 0; }
body.is-home .mission-card { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
body.is-home .mission-card .mission-no { display: block; margin: 0 0 12px; color: var(--brand-600); opacity: .5; font: 700 2.5rem/1 var(--font-body); }
body.is-home .mission-card h4 { color: var(--ink-900); }
body.is-home .mission-card p { color: var(--ink-700); }
body.is-home .partner-section { background: #fff; }
body.is-home .partner-section .section-head { margin-bottom: 36px; }
body.is-home .partner-carousel-shell { padding: 0 54px; }
body.is-home .partner-carousel { gap: 20px; }
body.is-home .partner-card { flex: 0 0 calc((100% - 40px)/3); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
body.is-home .partner-photo-frame { aspect-ratio: 4/3; }
body.is-home .partner-name { min-height: 0; padding: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
body.is-home .partner-carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
body.is-home .partner-carousel-dot { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; background: #c5cbe0; cursor: pointer; }
body.is-home .partner-carousel-dot.is-active { background: var(--brand-600); }
html.home-motion-enabled body.is-home .home-reveal-item { opacity: 0; transform: translateY(14px); transition: opacity 280ms ease, transform 280ms ease; transition-delay: var(--reveal-delay, 0ms); }
html.home-motion-enabled body.is-home .home-reveal.is-visible .home-reveal-item { opacity: 1; transform: none; }
@media (max-width: 900px) {
 body.is-home .home-about-layout, body.is-home .home-about-details { grid-template-columns: 1fr; }
 body.is-home .home-about-copy { grid-column: 1; grid-row: 1; } body.is-home .home-about-frame { grid-column: 1; grid-row: 2; }
 body.is-home .advantage-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 body.is-home .partner-card { flex-basis: calc((100% - 20px)/2); }
}
@media (max-width: 600px) {
 body.is-home .hero { min-height: min(88vh,760px); padding: 76px 24px 190px; }
 body.is-home .hero p.lead { font-size: 16px; }
 body.is-home .hero-carousel-dots { left: 14px; bottom: 94px; }
 body.is-home .hero-carousel-button { bottom: 94px; }
 body.is-home .hero-trust { left: 24px; right: 24px; bottom: -70px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding: 18px; }
 body.is-home .hero-trust-item { padding: 0; font-size: .875rem; } body.is-home .hero-trust-item + .hero-trust-item { border: 0; }
 body.is-home .home-about-section, body.is-home .home-advantages, body.is-home .home-about-details, body.is-home .partner-section { padding: 56px 24px; }
 body.is-home .home-about-section { padding-top: 126px; }
 body.is-home .home-about-frame img { min-height: 0; aspect-ratio: 4/3; }
 body.is-home .home-about-float { right: 8px; bottom: 12px; max-width: 70%; padding: 12px; font-size: .875rem; }
 body.is-home .advantage-grid { grid-template-columns: 1fr; }
 body.is-home .mission-grid { grid-template-columns: 1fr; }
 body.is-home .partner-card { flex-basis: 100%; }
 body.is-home .partner-carousel-shell { padding: 0 32px; }
}
@media (prefers-reduced-motion: reduce) { html.home-motion-enabled body.is-home .home-reveal-item { opacity: 1; transform: none; transition: none; } }
body.is-home .home-advantages { background: #fff; }
body.is-home .advantage-image-frame { flex: none; overflow: hidden; aspect-ratio: 16 / 10; }
body.is-home .advantage-image-frame img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
body.is-home .hero .hero-secondary { color: #fff; border: 1px solid rgba(255,255,255,.85); background: transparent; }
body.is-home .hero .hero-secondary:hover { color: var(--brand-900); background: #fff; }
body.is-home .home-about-float span, body.is-home .home-about-float strong { display: block; }
body.is-home .advantage-icon { display: block; margin-bottom: 14px; }

/* Desktop trust-strip refinement */
@media (min-width: 992px) {
 body.is-home .hero-carousel-viewport::after { background: linear-gradient(90deg,rgba(15,27,77,.85),rgba(15,27,77,.2)); }
 body.is-home .hero-trust { padding: 18px 8px; }
 body.is-home .hero-trust-item { display:flex; align-items:center; gap:12px; padding:4px 14px; min-width:0; color:var(--ink-900); font-size:15px; font-weight:600; text-decoration:none; transition:transform 250ms ease,color 250ms ease; }
 body.is-home .hero-trust-item:hover { transform:translateY(-3px); color:var(--brand-600); }
 body.is-home .hero-trust-icon { width:40px; height:40px; flex:0 0 40px; display:grid; place-items:center; border-radius:50%; background:var(--brand-50); color:var(--brand-600); }
 body.is-home .hero-trust-icon svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.75; stroke-linecap:round; stroke-linejoin:round; }
 body.is-home .hero-trust-copy { min-width:0; display:block; }
 body.is-home .hero-trust-copy strong { display:block; font-size:15px; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
 body.is-home .hero-trust-copy small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--ink-500); font-size:13px; font-weight:400; }
 body.is-home .home-about-section { padding-top:159px; }
}
@media (max-width: 991px) {
 body.is-home .hero-trust-icon, body.is-home .hero-trust-copy small { display:none; }
 body.is-home .hero-trust-copy strong { font-size:inherit; }
}
@media (min-width: 992px) {
}
@media (min-width: 992px) {
 body.is-home .hero-trust-copy strong, body.is-home .hero-trust-copy small { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
 body.is-home .home-about-details { padding-top: 80px; padding-bottom: 80px; align-items: center; }
 body.is-home .home-about-details .mission-intro { align-self: center; }
 body.is-home .home-about-details .mission-title { font-size: clamp(2.25rem,3vw,2.75rem); }
}

body.is-home .hero-carousel-previous { right:86px; }
@media (max-width: 600px) { body.is-home .hero-carousel-previous { right:74px; } }
