/* FloodMarkets homepage sections (from the approved Rocket-style mockup). Shared header,
   footer, buttons and tokens live in fm-rocket.css. Generated by rocket-theme/make_home_css.py */
body.fm-home{--blue:#345EAB;--blue-mid:#3E7ECC;--blue-light:#5080C7;--blue-soft:#609BD3;--navy:#152645;--ink:#2A2C2B;--muted:#5b5d5c;--line:#CECED1;--gray-card:#F1F1F1;--gray-bg:#F5F5F5;--orange:#FF6600;--white:#fff;--shadow:0 18px 50px rgba(21,38,69,.18);--radius-btn:.5rem;--radius-card:30px;--max:1180px;line-height:1.6;background:#fff}
:where(body.fm-home .fm-home-main) :where(h1,h2,h3,h4,p,ul,ol,blockquote,figure){margin:0;padding:0}
:where(body.fm-home .fm-home-main) :where(ul){list-style:none}
:where(body.fm-home .fm-home-main) :where(a){text-decoration:none}
:where(body.fm-home .fm-home-main) :where(img):not(.leaflet-container img){max-width:100%;display:block}
body.fm-home .leaflet-container img{max-width:none!important}
body.fm-home .wrap{width: min(var(--max), calc(100% - 64px)); margin: 0 auto;}
body.fm-home .btn-orange{display: inline-flex; align-items: center; justify-content: center; background: var(--orange); color: var(--white); border: 0; border-radius: var(--radius-btn); padding: 1rem 1.5rem; font-size: 1.25rem; font-weight: 700; line-height: 1.25; letter-spacing: 0.04em; text-transform: uppercase; transition: opacity 0.3s cubic-bezier(.4,0,.2,1); white-space: nowrap;}
body.fm-home .btn-orange:hover{opacity: 0.85;}
body.fm-home .hero{position: relative; overflow: hidden; padding: 130px 0 0; background-color: #1c4a8a; background-image: url("../img/fm-rocket/pattern.svg"), linear-gradient(115deg, #3E7ECC 0%, #2a4d8f 42%, #1a3268 72%, #152645 100%); background-size: cover, cover; background-position: center, center; color: var(--white);}
body.fm-home .hero::after{content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff); pointer-events: none;}
body.fm-home .hero-inner{width: min(1180px, calc(100% - 64px)); margin: 0 auto; position: relative; z-index: 2;}
body.fm-home .hero h1{font-size: clamp(36px, 5.2vw, 64px); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; max-width: 18ch; margin-bottom: 22px;}
body.fm-home .hero-rule{width: 86px; height: 3px; background: var(--white); margin: 0 0 26px;}
body.fm-home .hero-row{display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; max-width: 1000px;}
body.fm-home .hero-lede{font-size: 18px; font-weight: 500; line-height: 1.55; max-width: 34em; color: rgba(255,255,255,0.92); flex: 1 1 280px; min-width: 0;}
body.fm-home .hero-stats{display: flex; gap: 36px; margin-top: 36px; flex-wrap: wrap;}
body.fm-home .hero-stat strong{display: block; font-size: 28px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1;}
body.fm-home .hero-stat span{display: block; margin-top: 4px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.8);}
body.fm-home .quote-frame{position: relative; z-index: 3; width: min(980px, calc(100% - 48px)); margin: 48px auto -40px; background: var(--white); border-radius: 30px; box-shadow: var(--shadow); overflow: hidden; color: var(--ink);}
body.fm-home .quote-chrome{display: flex; align-items: center; gap: 10px; padding: 14px 22px; background: var(--gray-bg); border-bottom: 1px solid #e5e7eb;}
body.fm-home .quote-dots{display: flex; gap: 6px;}
body.fm-home .quote-dots i{width: 10px; height: 10px; border-radius: 50%; background: #d1d5db; display: block;}
body.fm-home .quote-chrome-title{font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0.02em;}
body.fm-home .quote-frame iframe{width: 100%; min-height: 700px; border: 0; display: block; background: var(--white);}
body.fm-home .trust{background: var(--white); padding: 120px 0 72px; text-align: center;}
body.fm-home .trust-kicker{font-size: 15px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #5b5d5c; margin-bottom: 28px;}
body.fm-home .trust-row{display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 28px;}
body.fm-home .trust-badge{display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 14px; font-weight: 600; padding: 10px 16px;}
body.fm-home .trust-badge svg{width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 1.8;}
body.fm-home .intro{padding: 24px 0 96px;}
body.fm-home .intro h2{font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; max-width: 14em; margin-bottom: 28px; color: var(--ink);}
body.fm-home .intro h2 em{font-style: normal; color: var(--blue); white-space: nowrap;}
body.fm-home .intro-copy{max-width: 44em; display: grid; gap: 18px;}
body.fm-home .intro-copy p{font-size: 17px; font-weight: 500; color: var(--ink); line-height: 1.7;}
body.fm-home .map-section{padding: 24px 0 100px;}
body.fm-home .map-grid{display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center;}
body.fm-home .map-section h2{font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 10px 0 16px;}
body.fm-home .map-kicker{font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue);}
body.fm-home .map-section .sub{font-size: 16px; font-weight: 500; color: #3a3c3b; margin-bottom: 28px; max-width: 38em;}
body.fm-home .map-form label{display: block; font-size: 14px; font-weight: 600; margin-bottom: 10px;}
body.fm-home .map-row{display: flex; gap: 10px; align-items: stretch;}
body.fm-home .map-row input{flex: 1; border: 1px solid var(--line); border-radius: var(--radius-btn); padding: 14px 16px; font-family: inherit; font-size: 15px; font-weight: 500; color: var(--ink); outline: none; min-width: 0;}
body.fm-home .map-row input:focus{border-color: var(--blue); box-shadow: 0 0 0 3px rgba(52,94,171,0.15);}
body.fm-home .map-note{margin-top: 14px; font-size: 12px; color: var(--muted); line-height: 1.5;}
body.fm-home .map-art{background: var(--gray-bg); border-radius: var(--radius-card); min-height: 360px; position: relative; overflow: hidden; box-shadow: 0 10px 30px rgba(21,38,69,0.08); border: 1px solid #ececec;}
body.fm-home .map-art > svg{width: 100%; height: 100%; display: block;}
body.fm-home .services{position: relative; padding: 88px 0 96px; color: var(--white); background-color: #1c4a8a; background-image: url("../img/fm-rocket/pattern.svg"), linear-gradient(115deg, #3E7ECC 0%, #2a4d8f 50%, #152645 100%); background-size: cover, cover; text-align: center;}
body.fm-home .services h2{font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 48px;}
body.fm-home .service-grid{display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: left; margin-bottom: 48px;}
body.fm-home .service-card{background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.14); border-radius: 16px; padding: 28px 26px 32px; min-height: 230px; backdrop-filter: blur(2px);}
body.fm-home .service-card h3{font-size: 22px; font-weight: 700; margin-bottom: 14px;}
body.fm-home .service-card p{font-size: 15px; font-weight: 500; line-height: 1.65; color: rgba(255,255,255,0.92);}
body.fm-home .compare{padding: 100px 0 80px; background: var(--white);}
body.fm-home .compare-head{text-align: center; margin-bottom: 48px;}
body.fm-home .compare-head h2{font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15;}
body.fm-home .compare-head h2 em{font-style: normal; color: var(--blue);}
body.fm-home .compare-head p{margin-top: 12px; font-size: 16px; font-weight: 500; color: #3a3c3b;}
body.fm-home .compare-grid{display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; width: min(920px, 100%); margin: 0 auto;}
body.fm-home .compare-card{border-radius: 16px; padding: 32px 32px 16px;}
body.fm-home .compare-card h3{font-size: 24px; font-weight: 700; padding-bottom: 16px; margin-bottom: 4px; border-bottom: 1px solid rgba(0,0,0,0.12);}
body.fm-home .compare-card.muted{background: var(--gray-card); color: #5b5d5c;}
body.fm-home .compare-card.muted h3{color: #5b5d5c;}
body.fm-home .compare-card.accent{background: var(--blue); color: var(--white); box-shadow: 0 16px 40px rgba(52,94,171,0.28);}
body.fm-home .compare-card.accent h3{border-bottom-color: rgba(255,255,255,0.28); color: var(--white);}
body.fm-home .compare-card li{padding: 16px 0; border-bottom: 1px solid rgba(0,0,0,0.10); font-size: 15px; font-weight: 600; line-height: 1.45;}
body.fm-home .compare-card.accent li{border-bottom-color: rgba(255,255,255,0.22);}
body.fm-home .compare-card li:last-child{border-bottom: 0;}
body.fm-home .resources{padding: 40px 0 100px;}
body.fm-home .resources-head{display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px;}
body.fm-home .resources-head h2{font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; max-width: 16ch;}
body.fm-home .resources-head h2 em{font-style: normal; color: var(--blue);}
body.fm-home .resources-head p{margin-top: 10px; font-size: 16px; font-weight: 500; color: #3a3c3b; max-width: 36em;}
body.fm-home .link-more{font-size: 15px; font-weight: 700; color: var(--blue); white-space: nowrap;}
body.fm-home .res-grid{display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;}
body.fm-home .res-card{background: var(--white); border: 1px solid #ececec; border-radius: 16px; padding: 28px 26px 26px; box-shadow: 0 8px 24px rgba(21,38,69,0.05); display: flex; flex-direction: column; min-height: 230px; transition: box-shadow 0.3s ease, transform 0.3s ease;}
body.fm-home .res-card:hover{box-shadow: 0 14px 32px rgba(21,38,69,0.10); transform: translateY(-2px);}
body.fm-home .res-pill{display: inline-block; align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); background: #eef3fb; border-radius: 100px; padding: 6px 12px; margin-bottom: 16px;}
body.fm-home .res-card h3{font-size: 20px; font-weight: 700; line-height: 1.3; margin-bottom: 10px; letter-spacing: -0.01em;}
body.fm-home .res-card p{font-size: 14px; font-weight: 500; color: #3a3c3b; line-height: 1.55; flex: 1;}
body.fm-home .res-card .read{margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--blue);}
body.fm-home .quotes{padding: 10px 0 100px;}
body.fm-home .quotes h2{text-align: center; font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 36px;}
body.fm-home .quote-grid{display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;}
body.fm-home .t-card{background: var(--gray-card); border-radius: 16px; padding: 28px 24px;}
body.fm-home .stars{color: var(--orange); letter-spacing: 2px; margin-bottom: 12px; font-size: 14px;}
body.fm-home .t-card p{font-size: 14px; font-weight: 500; line-height: 1.6; margin-bottom: 16px;}
body.fm-home .t-card strong{font-size: 13px; font-weight: 700;}
body.fm-home .t-card span{font-size: 13px; color: var(--muted); font-weight: 500;}
@media (max-width: 980px){
body.fm-home .wrap{width: min(100% - 40px, var(--max));}
body.fm-home .hero{padding-top: 110px;}
body.fm-home .hero-row{flex-direction: column; align-items: flex-start; gap: 22px;}
body.fm-home .map-grid, body.fm-home .compare-grid, body.fm-home .service-grid, body.fm-home .res-grid, body.fm-home .quote-grid{grid-template-columns: 1fr;}
body.fm-home .resources-head{flex-direction: column; align-items: flex-start;}
body.fm-home .quote-frame{width: calc(100% - 24px); margin-top: 36px; border-radius: 20px;}
body.fm-home .quote-frame iframe{min-height: 640px;}
body.fm-home .trust{padding-top: 100px;}
body.fm-home .service-card{min-height: 0;}
}
@media (max-width: 560px){
body.fm-home .hero h1{font-size: 34px;}
body.fm-home .hero-lede{font-size: 16px;}
body.fm-home .btn-orange{width: 100%; font-size: 1.05rem; padding: 14px 18px;}
body.fm-home .map-row{flex-direction: column;}
body.fm-home .hero-stats{display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;}
body.fm-home .hero-stat strong{font-size: 22px;}
}

/* --- FloodMarkets additions --- */
body.fm-home .hero .btn-orange{font-size:1.15rem;padding:1rem 1.6rem}
body.fm-home .hero-stat strong{font-size:26px}
body.fm-home .map-art{min-height:0;padding:0;background:#fff}
body.fm-home .map-art .fm-floodmap{height:440px;margin:0;border:0;border-radius:0}
body.fm-home .map-form .fm-floodcheck-result{margin-top:14px}
body.fm-home .map-row .btn-orange{font-size:.95rem;padding:12px 18px}
body.fm-home .services .service-grid{grid-template-columns:repeat(3,1fr)}
body.fm-home .service-card .svc-ico{width:44px;height:44px;border-radius:12px;background:rgba(255,255,255,.16);display:flex;align-items:center;justify-content:center;margin-bottom:16px;font-size:18px;color:#fff}
body.fm-home .services .btn-orange{margin-top:4px}
body.fm-home .compare-card p.lede{font-size:14px;font-weight:500;line-height:1.55;margin:14px 0 4px}
body.fm-home .compare-card li{display:flex;gap:10px;align-items:flex-start}
body.fm-home .compare-card li i{margin-top:3px;flex:0 0 auto}
body.fm-home .compare-card.muted{color:#3f4140}
body.fm-home .compare-card.muted h3{color:#2A2C2B}
body.fm-home .compare-card.muted li.pro i{color:#345EAB}
body.fm-home .compare-card.muted li.con i{color:#8a3b12}
body.fm-home .compare-card.accent li.con i{color:#ffd2b3}
body.fm-home .compare-badge{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;border-radius:100px;padding:5px 12px;margin-bottom:14px;background:#fff;color:#345EAB}
body.fm-home .compare-card.muted .compare-badge{background:#2A2C2B;color:#fff}
body.fm-home .ref-table-wrap{width:min(920px,100%);margin:48px auto 0;background:#fff;border:1px solid #ececec;border-radius:16px;overflow:hidden;box-shadow:0 8px 24px rgba(21,38,69,.05)}
body.fm-home .ref-table-wrap h3{font-size:20px;font-weight:700;padding:22px 24px 0}
body.fm-home .ref-table{width:100%;border-collapse:collapse;margin-top:14px;font-size:15px}
body.fm-home .ref-table th{background:#152645;color:#fff;font-weight:700;padding:14px 18px;text-align:left}
body.fm-home .ref-table td{padding:14px 18px;border-top:1px solid #ececec;font-weight:500}
body.fm-home .ref-table td+td,body.fm-home .ref-table th+th{text-align:center}
body.fm-home .ref-table .yes{color:#1f6e3d;font-weight:700}
body.fm-home .ref-table .no{color:#8a3b12;font-weight:700}
body.fm-home .res-chips{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 28px}
body.fm-home .res-chips a{display:inline-flex;align-items:center;gap:8px;border:1px solid #CECED1;border-radius:100px;padding:8px 14px;font-size:13px;font-weight:600;color:#2A2C2B;background:#fff}
body.fm-home .res-chips a:hover{background:#345EAB;border-color:#345EAB;color:#fff}
body.fm-home .res-chips em{font-style:normal;color:#345EAB;font-weight:700}
body.fm-home .res-chips a:hover em{color:#fff}
body.fm-home .res-card h3{font-size:18px}
body.fm-home .res-card .res-meta{font-size:12px;font-weight:600;color:#5b5d5c;margin-bottom:8px}
body.fm-home .edu{background:#F5F5F5;padding:90px 0 96px}
body.fm-home .edu .resources-head{margin-bottom:32px}
body.fm-home .edu .res-grid.small{margin-top:22px;grid-template-columns:repeat(4,1fr)}
body.fm-home .edu .res-grid.small .res-card{min-height:170px}
body.fm-home .quotes{padding-top:96px}
body.fm-home .trust-note{margin-top:36px;text-align:center}
body.fm-home .contact{padding:0 0 40px}
body.fm-home .contact-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:0;border-radius:20px;overflow:hidden;border:1px solid #ececec;box-shadow:0 8px 24px rgba(21,38,69,.05)}
body.fm-home .contact-info{background:#F5F5F5;padding:44px 40px}
body.fm-home .contact-info h2{font-size:clamp(26px,3vw,36px);font-weight:700;letter-spacing:-.02em;line-height:1.15;margin-bottom:14px}
body.fm-home .contact-info p{font-size:15px;font-weight:500;line-height:1.65;margin-bottom:22px;color:#3a3c3b}
body.fm-home .contact-row{display:flex;gap:14px;align-items:flex-start;padding:10px 0}
body.fm-home .contact-row i{width:40px;height:40px;border-radius:12px;background:#fff;color:#345EAB;display:flex;align-items:center;justify-content:center;flex:0 0 auto}
body.fm-home .contact-row strong{display:block;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#5b5d5c}
body.fm-home .contact-row a,body.fm-home .contact-row span{font-weight:600;color:#2A2C2B}
body.fm-home .contact-form{background:#fff;padding:44px 40px}
body.fm-home .contact-form h3{font-size:22px;font-weight:700;margin-bottom:18px}
body.fm-home .contact-form .fm-input{padding:12px 14px;font-size:15px}
body.fm-home .contact-form .btn-orange{width:100%}
body.fm-home .fm-home-main :is(h1,h2,h3,h4){color:#2A2C2B}
body.fm-home .fm-home-main .hero h1,body.fm-home .fm-home-main .services h2,body.fm-home .fm-home-main .services h3,body.fm-home .fm-home-main .compare-card.accent h3{color:#fff}
body.fm-home .fm-home-main :is(h2) em{color:#345EAB}
body.fm-home .compare .trust-note{margin-top:40px}
body.fm-home .fm-home-main .kicker{font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#345EAB;margin-bottom:10px;display:block}
@media (max-width:980px){
 body.fm-home .services .service-grid,body.fm-home .edu .res-grid.small{grid-template-columns:1fr}
 body.fm-home .contact-grid{grid-template-columns:1fr}
 body.fm-home .contact-info,body.fm-home .contact-form{padding:32px 24px}
 body.fm-home .map-art .fm-floodmap{height:360px}
 body.fm-home .ref-table{font-size:13.5px}
 body.fm-home .ref-table th,body.fm-home .ref-table td{padding:12px 10px}
}
