/* ==============================================
   HOMEPAGE v2 — Wise-Inspired Redesign
   ============================================== */

/* Override base page background */
body { background: #e8f5e9 !important; }
.ec-nav { background: #e8f5e9 !important; border-bottom-color: rgba(0,0,0,0.06) !important; }

/* ── Hero ── */
.h1-hero {
    background: #e8f5e9;
    padding: 40px 2rem 80px;
    text-align: center;
}
.h1-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.h1-trust-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 24px;
}
.h1-trust-logo {
    height: 17px;
    width: auto;
    object-fit: contain;
    opacity: 0.15;
    filter: brightness(0) saturate(100%) invert(20%) sepia(15%) saturate(1500%) hue-rotate(107deg);
}
.h1-trust-bar span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.h1-trust-bar i {
    color: #1b4332;
    font-size: 14px;
}
.h1-hero h1 {
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 800;
    color: #1b4332;
    letter-spacing: -0.055em;
    line-height: 0.95;
    margin: 0 0 28px;
    text-transform: uppercase;
    max-width: none;
}
.h1-hero-sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #2d6a4f;
    line-height: 1.6;
    margin: 0 auto 48px;
    max-width: 640px;
    font-weight: 400;
}

/* ── Search Widget (Wise-style card) ── */
.h1-search-card {
    background: #fff;
    border-radius: 24px;
    padding: 36px 40px 44px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.04);
    max-width: 560px;
    margin: 0 auto;
    text-align: left;
}
.h1-search-label {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 8px;
}
.h1-search-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.h1-search-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 8px;
    transition: border-color 0.2s;
}
.h1-search-input-wrap:focus-within {
    border-color: #1b4332;
}
.h1-search-input-wrap i {
    font-size: 24px;
    color: #9ca3af;
}
.h1-search-input-wrap input {
    border: none;
    outline: none;
    background: transparent;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: #1b4332;
    font-family: inherit;
    width: 100%;
    letter-spacing: -0.02em;
}
.h1-search-input-wrap input::placeholder {
    color: #d1d5db;
    font-weight: 700;
}
.h1-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 36px;
    background: #1b4332;
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    font-family: inherit;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s, transform 0.1s;
    width: 100%;
}
.h1-search-btn:hover {
    background: #143728;
    transform: translateY(-1px);
}
.h1-search-btn i { font-size: 18px; }
.h1-search-micro {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
}
.h1-search-micro span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.h1-search-micro i { color: #1b4332; font-size: 14px; }


/* ── Provider Marquee on green bg ── */
.h1-partners {
    background: #e8f5e9;
    overflow: hidden;
    position: relative;
    padding: 24px 0 0;
}
.h1-partners::before,
.h1-partners::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}
.h1-partners::before { left: 0; background: linear-gradient(to right, #e8f5e9, transparent); }
.h1-partners::after { right: 0; background: linear-gradient(to left, #e8f5e9, transparent); }
.h1-marquee {
    display: flex;
    padding: 1.25rem 0 1.75rem;
    animation: h1Marquee 55s linear infinite;
    width: max-content;
}
.h1-marquee:hover { animation-play-state: paused; }
@keyframes h1Marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.h1-marquee-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 3rem;
}
.h1-marquee-item img {
    height: 32px;
    width: auto;
    opacity: 0.3;
    filter: grayscale(100%);
    transition: opacity 0.3s, filter 0.3s;
}
.h1-marquee-item img:hover { opacity: 0.6; filter: grayscale(50%); }


/* ── Rate Comparison (Card wheel from original) ── */
.h1-compare {
    background: #fff;
    padding: 120px 2rem;
    overflow: hidden;
}
.h1-mkt-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.h1-mkt-copy h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #1b4332;
    letter-spacing: -0.05em;
    line-height: 0.95;
    text-transform: uppercase;
    margin: 0 0 20px;
}
.h1-mkt-copy p {
    font-size: 1.0625rem;
    color: #4b5563;
    line-height: 1.75;
    margin: 0 0 40px;
    max-width: 440px;
}
.h1-mkt-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 40px;
}
.h1-mkt-perk {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #1b4332;
}
.h1-mkt-perk > i {
    color: #1b4332;
    font-size: 2rem;
}

/* Card wheel */
.h1-mkt-wheel-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}
.h1-mkt-wheel {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: 680px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.h1-mkt-card {
    position: absolute;
    left: 50%;
    width: 520px;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 28px 32px;
    background: #f3f4f6;
    border: 1px solid #d4d7dc;
    border-radius: 16px;
}
.h1-mkt-card-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 10px;
    flex-shrink: 0;
    opacity: 0.7;
}
.h1-mkt-card-info { flex: 1; min-width: 0; }
.h1-mkt-card-name {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #4b5563;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.h1-mkt-card-term {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 3px;
}
.h1-mkt-card-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: #6b7280;
    flex-shrink: 0;
    letter-spacing: 0.05em;
}
.h1-mkt-card-badge { display: none; }

/* Wheel positions */
.h1-mkt-card--far-top    { transform: translate(-50%, -280px) scale(0.72); opacity: 0.15; z-index: 1; }
.h1-mkt-card--top         { transform: translate(-50%, -190px) scale(0.82); opacity: 0.3; z-index: 2; }
.h1-mkt-card--near-top    { transform: translate(-50%, -98px) scale(0.92); opacity: 0.55; z-index: 3; }
.h1-mkt-card--active      { transform: translate(-50%, 0) scale(1); opacity: 1; z-index: 10;
    width: 560px; padding: 36px 40px; gap: 26px;
    background: #fff; border-color: #1b4332; border-width: 2px;
    box-shadow: 0 0 0 4px rgba(27,67,50,0.1), 0 12px 48px rgba(0,0,0,0.08);
}
.h1-mkt-card--near-bottom { transform: translate(-50%, 98px) scale(0.92); opacity: 0.55; z-index: 3; }
.h1-mkt-card--bottom      { transform: translate(-50%, 190px) scale(0.82); opacity: 0.3; z-index: 2; }
.h1-mkt-card--far-bottom  { transform: translate(-50%, 280px) scale(0.72); opacity: 0.15; z-index: 1; }

/* Active card overrides */
.h1-mkt-card--active .h1-mkt-card-logo {
    width: 80px; height: 80px; opacity: 1; filter: none;
    border: 1px solid #e5e7eb; padding: 8px; border-radius: 12px; background: #fff;
}
.h1-mkt-card--active .h1-mkt-card-name { font-size: 1.25rem; color: #1b4332; }
.h1-mkt-card--active .h1-mkt-card-term { font-size: 0.9375rem; color: #687076; }
.h1-mkt-card--active .h1-mkt-card-price { display: flex; align-items: baseline; gap: 0; flex-shrink: 0; }
.h1-mkt-card-cents { font-size: 2.25rem; font-weight: 800; color: #1b4332; line-height: 1; }
.h1-mkt-card-kwh { font-size: 0.9375rem; font-weight: 600; color: #9ca3af; margin-left: 2px; }
.h1-mkt-card--active .h1-mkt-card-badge {
    display: block; position: absolute; top: -12px; right: 24px;
    background: #1b4332; color: #a7f3d0;
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
    padding: 5px 16px 6px; border-radius: 8px;
}

/* Card wheel responsive */
@media (max-width: 1024px) {
    .h1-mkt-inner { gap: 56px; }
    .h1-mkt-card { width: 460px; }
    .h1-mkt-card--active { width: 500px; }
}
@media (max-width: 768px) {
    .h1-compare { padding: 80px 1rem; }
    .h1-mkt-inner { grid-template-columns: 1fr; gap: 16px; }
    .h1-mkt-perks { gap: 8px 16px; }
    .h1-mkt-wheel { height: 580px; max-width: 100%; }
    .h1-mkt-card { width: 340px; }
    .h1-mkt-card--active { width: 370px; }
}
@media (max-width: 480px) {
    .h1-mkt-perks { gap: 6px 14px; }
    .h1-mkt-card { width: 290px; gap: 14px; padding: 20px 22px; }
    .h1-mkt-card--active { width: 310px; padding: 26px 28px; }
    .h1-mkt-card--far-top, .h1-mkt-card--far-bottom { display: none; }
    .h1-mkt-card--top { transform: translate(-50%, -160px) scale(0.82); }
    .h1-mkt-card--near-top { transform: translate(-50%, -82px) scale(0.92); }
    .h1-mkt-card--near-bottom { transform: translate(-50%, 82px) scale(0.92); }
    .h1-mkt-card--bottom { transform: translate(-50%, 160px) scale(0.82); }
}


/* ── How It Works (green bg) ── */
.h1-how {
    background: #e8f5e9;
    padding: 120px 2rem;
}
.h1-how-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}
.h1-how h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    color: #1b4332;
    letter-spacing: -0.05em;
    line-height: 0.95;
    text-transform: uppercase;
    margin: 0 0 16px;
}
.h1-how-sub {
    font-size: 1.125rem;
    color: #2d6a4f;
    margin: 0 auto 72px;
    max-width: 700px;
    line-height: 1.6;
}
.h1-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.h1-step {
    background: #fff;
    border-radius: 24px;
    padding: 40px 32px;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1.5px solid rgba(27,67,50,0.08);
}
.h1-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #1b4332;
    color: #a7f3d0;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 24px;
}
.h1-step h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1b4332;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}
.h1-step p {
    font-size: 1.0625rem;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}


/* ── Data Products (white bg, bento) ── */
.h1-data {
    background: #fff;
    padding: 120px 2rem;
}
.h1-data-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.h1-data h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    color: #1b4332;
    letter-spacing: -0.05em;
    line-height: 0.95;
    text-transform: uppercase;
    margin: 0 0 16px;
    text-align: center;
}
.h1-data-sub {
    font-size: 1.125rem;
    color: #6b7280;
    text-align: center;
    margin: 0 auto 64px;
    max-width: 800px;
    line-height: 1.6;
}
.h1-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.h1-bento-card {
    background: #f9fafb;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none !important;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    border: 1px solid #f3f4f6;
}
.h1-bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.h1-bento-card--wide {
    grid-column: span 2;
    flex-direction: row;
}
.h1-bento-img {
    background: #1b4332;
    overflow: hidden;
    flex-shrink: 0;
}
.h1-bento-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.85;
    transition: opacity 0.2s, transform 0.3s;
}
.h1-bento-card:hover .h1-bento-img img {
    opacity: 1;
    transform: scale(1.03);
}
.h1-bento-card--wide .h1-bento-img {
    width: 42%;
    min-height: 240px;
}
.h1-bento-card:not(.h1-bento-card--wide) .h1-bento-img {
    height: 180px;
}
.h1-bento-body {
    padding: 28px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.h1-bento-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    background: #1b4332;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
    width: fit-content;
}
.h1-bento-body h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1b4332;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}
.h1-bento-body p {
    font-size: 1.0625rem;
    color: #6b7280;
    line-height: 1.65;
    margin: 0;
}
.h1-bento-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    background: #1b4332;
}
.h1-bento-icon i {
    font-size: 3rem;
    color: rgba(167,243,208,0.5);
}
.h1-bento-card:hover .h1-bento-icon i { color: rgba(167,243,208,0.8); }


/* ── Numbers (dark forest) ── */
.h1-numbers {
    background: #1b4332;
    padding: 80px 2rem;
}
.h1-numbers-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}
.h1-numbers-item { text-align: center; flex: 1; }
.h1-numbers-val {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #a7f3d0;
    letter-spacing: -0.03em;
    line-height: 1;
}
.h1-numbers-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 8px;
}


/* ── Business CTA (dark card) ── */
.h1-biz {
    background: #e8f5e9;
    padding: 120px 2rem;
}
.h1-biz-card {
    max-width: 1100px;
    margin: 0 auto;
    background: #1b4332;
    border-radius: 32px;
    padding: 72px 72px 0;
    overflow: hidden;
}
.h1-biz-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    padding-bottom: 56px;
}
.h1-biz-copy h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.04em;
    line-height: 1;
    margin: 0 0 16px;
    text-transform: uppercase;
}
.h1-biz-copy p {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.65;
    margin: 0;
    max-width: 480px;
}
.h1-biz-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 20px 44px;
    background: #a7f3d0;
    color: #1b4332 !important;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 999px;
    text-decoration: none !important;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.15s;
}
.h1-biz-cta:hover {
    background: #6ee7b7;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.h1-biz-cta i { font-size: 18px; }
.h1-biz-stats {
    display: flex;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 36px 0;
}
.h1-biz-stat {
    flex: 1;
    text-align: center;
}
.h1-biz-stat-val {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #a7f3d0;
    letter-spacing: -0.03em;
    line-height: 1;
}
.h1-biz-stat-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 8px;
}
.h1-biz-divider {
    width: 1px;
    background: rgba(255,255,255,0.1);
    align-self: stretch;
    flex-shrink: 0;
}


/* ── Press (white bg) ── */
.h1-press {
    background: #fff;
    padding: 80px 2rem;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}
.h1-press-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}
.h1-press-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #9ca3af;
    margin-bottom: 36px;
}
.h1-press-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 48px;
    margin: 0 auto;
}
.h1-press-row + .h1-press-row {
    margin-top: 28px;
}
.h1-press-logo {
    height: 26px;
    width: auto;
    object-fit: contain;
    opacity: 0.35;
    filter: grayscale(100%);
    transition: opacity 0.2s;
    flex-shrink: 1;
    min-width: 0;
}
.h1-press-logo:hover { opacity: 0.6; }


/* ── Markets Grid (green bg) ── */
.h1-markets {
    background: #e8f5e9;
    padding: 120px 2rem 100px;
}
.h1-markets-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.h1-markets-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 36px;
}
.h1-markets h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: #1b4332;
    letter-spacing: -0.03em;
    margin: 0;
}
.h1-markets-link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1b4332;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.h1-mgrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 16px;
}
.h1-mcard {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    background: #1b4332;
    border-radius: 20px;
    text-decoration: none !important;
    overflow: hidden;
    transition: transform 0.15s, box-shadow 0.15s;
}
.h1-mcard:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(27,67,50,0.3);
}
.h1-mcard--featured {
    grid-column: span 2;
    grid-row: span 2;
    background: #1b4332;
}
.h1-mcard-state {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 70%; height: 70%;
    opacity: 0.08;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.h1-mcard-name {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}
.h1-mcard--featured .h1-mcard-name {
    font-size: clamp(2.25rem, 4vw, 3.25rem);
}
.h1-mcard-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #a7f3d0;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}


/* ── Footer ── */
.footer-shell { display: none !important; }

.h1-footer {
    font-family: var(--body-font);
}

/* CTA band */
.h1-footer-cta {
    background: #1b4332;
    padding: 96px 2rem;
    text-align: center;
}
.h1-footer-cta h2 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.05em;
    line-height: 0.95;
    text-transform: uppercase;
    margin: 0 0 16px;
}
.h1-footer-cta p {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.5);
    margin: 0 0 40px;
}
.h1-footer-search {
    max-width: 440px;
    margin: 0 auto;
}
.h1-footer-pill {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    border: 1.5px solid rgba(255,255,255,0.15);
    border-radius: 999px;
    padding: 6px 6px 6px 24px;
    transition: border-color 0.2s, background 0.2s;
}
.h1-footer-pill:focus-within {
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.14);
}
.h1-footer-pill i { color: rgba(255,255,255,0.4); font-size: 20px; flex-shrink: 0; }
.h1-footer-pill input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    font-family: inherit;
    padding: 14px 16px;
    letter-spacing: 0.04em;
}
.h1-footer-pill input::placeholder { color: rgba(255,255,255,0.3); font-weight: 600; }
.h1-footer-pill button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 16px 32px;
    background: #a7f3d0;
    color: #1b4332;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s, transform 0.1s;
}
.h1-footer-pill button:hover { background: #6ee7b7; transform: translateY(-1px); }
.h1-footer-pill button i { font-size: 16px; }

/* Body links */
.h1-footer-body {
    background: #143728;
    padding: 64px 2rem;
}
.h1-footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
}
.h1-footer-brand { display: flex; flex-direction: column; gap: 16px; }
.h1-footer-logo {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #fff !important;
    text-decoration: none !important;
}
.h1-footer-logo span { font-weight: 400; color: rgba(255,255,255,0.45); }
.h1-footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.4);
    margin: 0;
    max-width: 280px;
}
.h1-footer-social {
    display: flex;
    gap: 10px;
}
.h1-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.5);
    transition: background 0.15s, transform 0.15s;
}
.h1-footer-social a:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); color: #a7f3d0; }
.h1-footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.3);
    margin: 0 0 16px;
}
.h1-footer-col a {
    display: block;
    font-size: 15px;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.15s;
}
.h1-footer-col a:hover { color: #a7f3d0; }
.h1-footer-addr {
    font-size: 13px;
    color: rgba(255,255,255,0.25);
    margin: 12px 0 0;
    line-height: 1.5;
}

/* Legal */
.h1-footer-legal {
    background: #0f2b1e;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: none;
    padding: 20px 2rem;
    font-size: 13px;
}
.h1-footer-legal span { color: rgba(255,255,255,0.25); }
.h1-footer-legal nav { display: flex; gap: 20px; }
.h1-footer-legal nav a {
    color: rgba(255,255,255,0.25);
    text-decoration: none;
    transition: color 0.15s;
}
.h1-footer-legal nav a:hover { color: rgba(255,255,255,0.6); }


/* ==============================================
   RESPONSIVE
   ============================================== */
@media (max-width: 1024px) {
    .h1-mgrid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
    .h1-bento { grid-template-columns: repeat(2, 1fr); }
    .h1-bento-card--wide { grid-column: span 2; }
}
@media (max-width: 768px) {
    .h1-hero { padding: 24px 1rem 56px; }
    .h1-hero h1 { font-size: clamp(2.5rem, 10vw, 4rem); }
    .h1-trust-bar { flex-wrap: wrap; justify-content: center; gap: 12px 24px; font-size: 13px; max-width: 100%; padding: 0 8px; }
    .h1-search-card { padding: 28px 24px 36px; }
    .h1-search-input-wrap input { font-size: 2rem; }

    .h1-compare { padding: 80px 1rem; }
    .h1-provider-table th { font-size: 11px; padding: 0 16px 8px; }
    .h1-provider-row td { padding: 16px; }
    .h1-provider-name img { width: 32px; height: 32px; }

    .h1-how { padding: 80px 1rem; }
    .h1-steps { grid-template-columns: 1fr; gap: 20px; }

    .h1-data { padding: 80px 1rem; }
    .h1-bento { grid-template-columns: 1fr; }
    .h1-bento-card--wide { grid-column: span 1; flex-direction: column; }
    .h1-bento-card--wide .h1-bento-img { width: 100%; min-height: 180px; }

    .h1-numbers { padding: 48px 1rem; }
    .h1-numbers-inner { flex-wrap: wrap; }
    .h1-numbers-item { flex: 0 0 calc(50% - 20px); }

    .h1-biz { padding: 80px 1rem; }
    .h1-biz-card { padding: 48px 36px 0; border-radius: 24px; }
    .h1-biz-top { flex-direction: column; align-items: flex-start; gap: 28px; }
    .h1-biz-stats { flex-wrap: wrap; }
    .h1-biz-stat { flex: 0 0 50%; padding: 12px 0; }
    .h1-biz-divider { display: none; }

    .h1-press { padding: 56px 1rem; }
    .h1-press-row { gap: 24px; }
    .h1-press-logo { height: 17px; }

    .h1-markets { padding: 80px 1rem; }
    .h1-mgrid { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .h1-mcard { min-height: 140px; }
    .h1-mcard--featured { grid-column: span 1; grid-row: span 1; min-height: 200px; }
    .h1-markets-header { flex-direction: column; gap: 8px; }
}
@media (max-width: 480px) {
    .h1-hero h1 { font-size: 2.5rem; }
    .h1-search-input-wrap input { font-size: 1.75rem; }
    .h1-search-micro { flex-direction: column; gap: 6px; }
    .h1-numbers-val { font-size: 2rem; }
    .h1-biz-card { padding: 36px 24px 0; }
    .h1-biz-stat-val { font-size: 2rem; }
    .h1-press-row { flex-wrap: wrap; gap: 16px 24px; }
    .h1-footer-cta { padding: 48px 1rem; }
    .h1-footer-pill { flex-direction: column; border-radius: 16px; padding: 16px; }
    .h1-footer-pill button { width: 100%; justify-content: center; }
    .h1-footer-body { padding: 40px 1rem; }
    .h1-footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .h1-footer-legal { flex-direction: column; text-align: center; gap: 10px; padding: 16px 1rem; }
}
