/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; background: linear-gradient(180deg, var(--olive-tint), var(--bg)); }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(2px); animation: blob-float 14s ease-in-out infinite; pointer-events: none; }
.hero-blob.b1 { width: 420px; height: 420px; right: -120px; top: -120px; background: var(--gold-light); opacity: .9; }
.hero-blob.b2 { width: 280px; height: 280px; left: -100px; bottom: -80px; background: var(--leaf-tint); animation-delay: -6s; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero .lede { margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-photo { position: relative; }
.hero-photo > img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow); background: #ECECE8; }
.hero-badge {
  position: absolute; left: -28px; bottom: 32px; background: #fff; border-radius: var(--radius); padding: 14px 18px;
  display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow); max-width: 280px;
}
.hero-badge .ico-badge { margin: 0; width: 44px; height: 44px; flex: none; }
.hero-badge strong { display: block; font-family: var(--font-head); font-size: .9375rem; line-height: 1.3; }
.hero-badge span { font-size: .8125rem; color: var(--text-soft); }

/* ---------- Page hero (sub pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: 56px 0 64px; background: linear-gradient(180deg, var(--olive-tint), var(--bg)); }
.page-hero .wrap { position: relative; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lede { max-width: 62ch; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--olive-deep); color: #fff; padding: 28px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { display: flex; gap: 14px; align-items: center; font-weight: 600; line-height: 1.35; }
.trust-item svg { width: 30px; height: 30px; color: var(--gold); flex: none; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: start; }
.about-grid .section-head { margin-bottom: 28px; }
.about-card { background: var(--olive-deep); color: #fff; border-radius: var(--radius-xl); padding: 36px; box-shadow: var(--shadow); }
.about-card h3 { color: #fff; margin-bottom: 20px; }
.about-card .row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.14); }
.about-card .row span:first-child { color: rgba(255,255,255,.65); }
.about-card .row span:last-child { text-align: right; font-weight: 600; }

/* ---------- Feature (what we fix) ---------- */
.feature-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.feature-card > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #ECECE8; }
.feature-body { padding: 32px; display: flex; flex-direction: column; flex: 1; }
.feature-body .arrow-list { margin: 16px 0 24px; }
.feature-body .link-arrow { margin-top: auto; }
.also-row { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.also-row h3 { font-size: 1rem; margin: 0 12px 0 0; }

/* ---------- Price strip ---------- */
.price-strip { display: flex; align-items: center; gap: 40px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 40px 48px; box-shadow: var(--shadow); }
.price-figure { text-align: center; flex: none; padding-right: 40px; border-right: 1px solid var(--line); }
.price-figure .num { font-family: var(--font-head); font-size: clamp(40px, 6vw, 64px); font-weight: 700; color: var(--olive-deep); line-height: 1; }
.price-figure .lbl { color: var(--text-soft); font-weight: 600; margin-top: 6px; }
.price-note { flex: 1; }
.price-note p { margin-bottom: 16px; }

/* ---------- Service pages ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius-xl); box-shadow: var(--shadow); width: 100%; background: #ECECE8; }
.notice { background: var(--gold-light); border-left: 4px solid var(--gold-dark); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; font-size: .9375rem; margin-bottom: 32px; }
.signs { background: var(--terracotta-tint); border-radius: var(--radius-lg); padding: 36px; }
.signs h2 { font-size: 1.5rem; }
.signs .arrow-list li > svg, .signs .arrow-list li > [data-icon] { color: var(--terracotta); }
.center-actions { text-align: center; margin-top: 40px; }

/* ---------- Contact ---------- */
.form-panel { display: grid; grid-template-columns: .85fr 1.15fr; background: #fff; border-radius: var(--radius-xl); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.form-side { background: var(--olive-deep); color: rgba(255,255,255,.85); padding: 48px 40px; }
.form-side h2, .form-side h3 { color: #fff; }
.form-side a { color: #fff; }
.contact-list { list-style: none; display: grid; gap: 18px; margin: 24px 0 36px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; color: var(--gold); flex: none; margin-top: 3px; }
.contact-list small { display: block; color: rgba(255,255,255,.6); }
.step-list { list-style: none; display: grid; gap: 18px; }
.step-list li { display: flex; gap: 14px; align-items: center; }
.step-list .step-num { margin: 0; width: 38px; height: 38px; background: var(--gold); color: var(--olive-deep); flex: none; font-size: .9375rem; }
.form-main { padding: 48px 44px; }
.map-ph { margin-top: 32px; min-height: 180px; border-radius: var(--radius-lg); background: repeating-linear-gradient(45deg, var(--olive-tint), var(--olive-tint) 12px, #fff 12px, #fff 24px); border: 2px dashed var(--line); display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; color: var(--text-soft); }

/* Pricing notes */
.notes-list { list-style: none; display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.notes-list li { display: flex; gap: 12px; }
.notes-list svg { width: 20px; height: 20px; color: var(--gold-dark); flex: none; margin-top: 4px; }

/* Prose (privacy) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }

/* 404 */
.notfound { text-align: center; padding: 120px 0; }
.notfound .big { font-family: var(--font-head); font-size: clamp(80px, 16vw, 160px); font-weight: 700; color: var(--gold); line-height: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .about-grid, .split, .form-panel { grid-template-columns: 1fr; }
  .hero-grid { gap: 40px; }
  .hero-badge { left: 16px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .price-strip { flex-direction: column; text-align: center; padding: 32px 24px; }
  .price-figure { padding: 0 0 24px; border-right: 0; border-bottom: 1px solid var(--line); width: 100%; }
  .form-side, .form-main { padding: 36px 28px; }
}
@media (max-width: 640px) {
  .hero { padding: 40px 0 64px; }
  .trust-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .section-head { margin-bottom: 32px; }
  .form-side, .form-main { padding: 28px 20px; }
}

/* Hero video + live overlays */
.hero-photo > video { width: 100%; aspect-ratio: 10 / 11; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow); background: #ECECE8; display: block; }
.hero-chips { position: absolute; inset: 0; pointer-events: none; }
.hero-photo.is-fallback .hero-chips { display: none; }
.hchip, .hbubble { position: absolute; opacity: 0; font-weight: 700; font-size: .8125rem; white-space: nowrap; }
.hchip { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; color: var(--olive-deep); box-shadow: var(--shadow-sm); }
.hchip i { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 3px var(--leaf-tint); }
.hchip.h1 { left: 28%; top: 5%; }
.hchip.h2 { right: 4%; top: 13%; }
.hbubble { left: 26%; top: 29%; background: var(--olive-deep); color: #fff; border-radius: 999px; padding: 9px 16px; }
.hero-photo.video-ok .hchip.h1 { animation: pop-in .5s cubic-bezier(.2, 1.4, .4, 1) 5s both; }
.hero-photo.video-ok .hchip.h2 { animation: pop-in .5s cubic-bezier(.2, 1.4, .4, 1) 5.4s both; }
.hero-photo.video-ok .hbubble { animation: pop-in .45s cubic-bezier(.2, 1.4, .4, 1) 6.6s both; }
.hero-photo.video-ok.static .hchip, .hero-photo.video-ok.static .hbubble { opacity: 1; animation: none; }
@keyframes pop-in { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 640px) { .hchip, .hbubble { font-size: .6875rem; padding: 5px 10px; } }

/* Trust bar items with value + label */
.trust-ico { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; background: rgba(232,169,76,.16); align-items: center; justify-content: center; flex: none; }
.trust-ico svg { width: 22px; height: 22px; color: var(--gold); }
.trust-item strong { display: block; font-family: var(--font-head); font-size: 1.25rem; line-height: 1.2; }
.trust-item div > span { font-size: .8125rem; color: rgba(255,255,255,.72); font-weight: 500; }
.section-head.sub { margin-top: 72px; }

/* Loan-unit swap panel */
.swap-panel { background: linear-gradient(120deg, var(--olive-deep), #40412F); border-radius: var(--radius-xl); padding: 54px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; color: #fff; }
.swap-panel h2 { color: #fff; }
.swap-panel p { color: rgba(255,255,255,.8); }
.swap-shots { display: flex; align-items: center; gap: 14px; }
.swap-shot { flex: 1; aspect-ratio: 1; border-radius: var(--radius); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 14px; text-align: center; }
.swap-shot .ico-badge { margin: 0; }
.swap-cap { font-size: .8125rem; font-weight: 600; }
.swap-arrow { width: 32px; flex: none; color: var(--gold); animation: slide 2.4s ease-in-out infinite; }
.swap-arrow svg { width: 32px; height: 32px; }
@keyframes slide { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
@media (max-width: 960px) { .swap-panel { grid-template-columns: 1fr; padding: 36px 28px; } }

/* Tighter gap between a page hero and the first section */
.page-hero { padding-bottom: 36px; }
.page-hero + .section { padding-top: 48px; }

/* Pricing: a single card sits centred */
.grid[data-pricing] > .price-card:only-child { grid-column: 1 / -1; max-width: 520px; width: 100%; margin: 0 auto; }

/* "Good to know" bigger */
.notes-list { gap: 20px; max-width: 880px; }
.notes-list li { font-size: 1.3125rem; line-height: 1.5; gap: 16px; color: var(--olive-deep); font-weight: 500; }
.notes-list svg { width: 28px; height: 28px; margin-top: 4px; }

/* Map */
.map-frame { margin-top: 32px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.18); line-height: 0; }
.map-frame iframe { width: 100%; height: 260px; border: 0; }
.map-link { display: inline-block; margin-top: 12px; font-size: .9375rem; font-weight: 600; color: var(--gold) !important; }

/* Final spacing + step text fixes */
.page-hero { padding-bottom: 12px; }
.page-hero .lede { margin-bottom: 0; }
.page-hero + .section { padding-top: 36px; }
.step-list div strong { display: block; color: #fff; font-size: 1rem; }
.step-list div span { display: block; font-size: .9375rem; color: rgba(255,255,255,.72); }
