/* ════════════ HOME HERO — forest green, big type, app mockup ════════════ */
.hero2 {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background:
    radial-gradient(900px 520px at 4% 108%, rgba(96,170,138,.45), transparent 62%),
    radial-gradient(700px 420px at 100% -10%, rgba(52,211,153,.16), transparent 60%),
    linear-gradient(165deg, #123a2a 0%, #1a4c38 55%, #20573f 100%);
  padding: 4.2rem 0 9rem;
  min-height: 0;
}
/* white diagonal cut, bottom right */
.hero2::after { content: ''; position: absolute; right: 0; bottom: 0; width: 58%; height: 150px; background: #f3f7f5; clip-path: polygon(0 100%, 100% 100%, 100% 0); z-index: 1; }

.h2-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 2rem; align-items: start; position: relative; z-index: 2; }
.h2-title { font-size: clamp(2.8rem, 6.4vw, 5.7rem); font-weight: 800; letter-spacing: -.055em; line-height: .96; margin: 0 0 1.8rem; }
.h2-title .mute { color: #a9c8b6; }
.h2-lead { font-size: 1.22rem; line-height: 1.65; color: rgba(255,255,255,.88); max-width: 640px; margin: 0 0 2rem; }
.h2-cta { display: inline-flex; align-items: center; gap: .8rem; background: #fff; color: #123a2a !important; font-weight: 700; font-size: 1.12rem; padding: 1rem 1.9rem; border-radius: 99px; box-shadow: 0 12px 30px rgba(0,0,0,.2); transition: transform .15s, box-shadow .15s; }
.h2-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(0,0,0,.28); color: #123a2a; }
.h2-links { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; margin-top: 1.7rem; }
.h2-links a { color: #fff; font-weight: 600; font-size: 1.05rem; padding-bottom: .35rem; border-bottom: 2px solid rgba(255,255,255,.45); display: inline-flex; align-items: center; gap: .55rem; transition: border-color .15s; }
.h2-links a:hover { border-color: #fff; color: #fff; }
.h2-checks { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin-top: 1.5rem; color: rgba(255,255,255,.82); font-size: 1rem; }
.h2-checks span::before { content: '✓'; margin-right: .5rem; font-weight: 700; }

/* phone mockup */
.h2-phone-wrap { position: relative; display: flex; justify-content: center; padding-top: 1.2rem; margin-bottom: -420px; }
.phone { width: min(100%, 360px); background: #0c1713; border-radius: 52px; padding: 13px; box-shadow: 0 50px 90px rgba(0,0,0,.35), inset 0 0 0 2px rgba(255,255,255,.06); transform: rotate(0.0001deg); animation: phoneIn .9s cubic-bezier(.2,.9,.3,1) both; }
@keyframes phoneIn { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.phone-screen { background: #fff; border-radius: 40px; color: var(--text); padding: 1.6rem 1.4rem 8rem; min-height: 900px; }
.ph-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.6rem; }
.ph-top b { font-size: 1.05rem; letter-spacing: -.3px; }
.ph-top i { font-size: 1.2rem; color: var(--muted); }
.ph-label { font-size: .72rem; letter-spacing: 1.2px; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.ph-big { font-size: 3rem; font-weight: 800; letter-spacing: -.06em; line-height: 1.05; margin: .5rem 0 .2rem; font-variant-numeric: tabular-nums; }
.ph-big small { font-size: 1rem; letter-spacing: 0; color: var(--muted); font-weight: 600; margin-left: .3rem; }
.ph-sub { color: var(--muted); font-size: .88rem; }
.ph-btn { display: block; text-align: center; margin: 1.5rem 0 1.6rem; background: #1f5a42; color: #fff !important; font-weight: 700; padding: 1rem; border-radius: 99px; transition: background .15s; }
.ph-btn:hover { background: #17473a; }
.ph-row { display: flex; align-items: center; gap: .8rem; padding: .85rem 0; border-top: 1px solid var(--line); color: var(--text); }
.ph-row:hover { color: var(--ocean-600); }
.ph-av { width: 38px; height: 38px; border-radius: 50%; background: #eef3f0; color: #2d4a3d; font-weight: 800; font-size: .72rem; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ph-row .n { font-weight: 700; font-size: .95rem; line-height: 1.2; }
.ph-row .n small { display: block; color: var(--muted); font-weight: 500; font-size: .74rem; }
.ph-row .t { margin-left: auto; text-align: right; font-weight: 700; font-size: .95rem; font-variant-numeric: tabular-nums; }
.ph-row .t small { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .6px; }
.ph-row .t .ok { color: #047857; } .ph-row .t .low { color: #b45309; } .ph-row .t .full { color: #b91c1c; }

.float-card { position: absolute; left: -16%; top: 585px; background: #fff; color: var(--text); border-radius: 18px; padding: 1rem 1.2rem; box-shadow: 0 24px 50px rgba(0,0,0,.28); z-index: 3; animation: floatY 6s ease-in-out infinite; min-width: 220px; }
@keyframes floatY { 50% { transform: translateY(-10px); } }
.float-card .k { font-size: .72rem; letter-spacing: 1.2px; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: .45rem; }
.float-card .k i { color: var(--ocean); }
.float-card .v { font-weight: 800; font-size: 1.15rem; letter-spacing: -.3px; margin-top: .3rem; }

/* white search widget overlapping the hero */
.hero2-search { position: relative; z-index: 6; margin-top: -6.5rem; }
.lh-search { background: #fff; color: var(--text); border-radius: 26px; padding: 1.4rem; box-shadow: 0 30px 70px rgba(10,50,35,.22); max-width: 660px; border: 1px solid var(--line); }
.lh-search h3 { font-size: 1.15rem; font-weight: 800; letter-spacing: -.4px; margin: 0 0 1rem; }
.lh-search .label-bw { color: var(--muted); }
.lh-fields { display: grid; grid-template-columns: 1fr auto 1fr; gap: .6rem; align-items: end; }
.lh-field { position: relative; }
.lh-field select, .lh-field input { width: 100%; background: #f3f7f5; border: 1.5px solid var(--line-2); color: var(--text); border-radius: 14px; padding: .8rem 1rem .8rem 2.6rem; font-size: .95rem; font-family: inherit; transition: all .15s; appearance: none; -webkit-appearance: none; }
.lh-field select:focus, .lh-field input:focus { outline: none; border-color: var(--ocean); background: #fff; box-shadow: 0 0 0 4px rgba(5,150,105,.15); }
.lh-field > i { position: absolute; left: 1rem; bottom: .95rem; color: var(--ocean); pointer-events: none; }
.lh-swap { width: 44px; height: 44px; margin-bottom: 2px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; color: var(--ocean-600); cursor: pointer; transition: transform .4s ease, background .2s, color .2s; }
.lh-swap:hover { background: var(--ocean); color: #fff; transform: rotate(180deg); }
.lh-row2 { display: grid; grid-template-columns: 1fr auto; gap: .6rem; align-items: end; margin-top: .7rem; }
.lh-go { height: 49px; padding: 0 1.6rem; border: 0; border-radius: 99px; font-weight: 800; color: #fff; background: #1f5a42; display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; transition: transform .15s, background .15s; }
.lh-go:hover { transform: translateY(-2px); background: #17473a; }
.lh-chips { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .9rem; }
.lh-chips .chip { background: #fff; border-color: var(--line-2); color: var(--muted); }
.lh-chips .chip:hover { border-color: var(--ocean); color: var(--ocean-600); }

@media (max-width: 991px) {
  .h2-grid { grid-template-columns: minmax(0, 1fr); }
  .h2-phone-wrap { display: none; }
  .hero2 { padding: 3rem 0 9rem; min-height: 0; }
  .hero2::after { width: 80%; height: 90px; }
  .hero2-search { margin-top: -6rem; }
  .h2-lead { font-size: 1.08rem; }
}
@media (max-width: 520px) { .lh-fields { grid-template-columns: 1fr; } .lh-swap { display: none; } .lh-row2 { grid-template-columns: 1fr; } .h2-checks { font-size: .92rem; } }
@media (prefers-reduced-motion: reduce) { .phone, .float-card { animation: none; } }
