/* ============================================================
   CAREIMAGEM – LANDING PAGE CSS
   Font: Inter (Google Fonts) throughout
   ============================================================ */

/* ── ANIMATIONS ── */

/* Hero text slides in from left on load */
@keyframes heroTextIn {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hero image slides in from right on load — ONE TIME only */
@keyframes heroImageIn {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* General fade-up used by header, etc. */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll-reveal elements start invisible */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grid items */
.reveal:nth-child(2) {
    transition-delay: 0.08s;
}

.reveal:nth-child(3) {
    transition-delay: 0.16s;
}

.reveal:nth-child(4) {
    transition-delay: 0.24s;
}

.reveal:nth-child(5) {
    transition-delay: 0.08s;
}

.reveal:nth-child(6) {
    transition-delay: 0.16s;
}

.reveal:nth-child(7) {
    transition-delay: 0.24s;
}

.reveal:nth-child(8) {
    transition-delay: 0.32s;
}

/* Hero entrance animations (one-shot) */
.animate-hero-text {
    animation: heroTextIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.2s;
}

.animate-hero-image {
    animation: heroImageIn 1s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.4s;
}

/* Header fade-in */
.animate-fade-in {
    animation: fadeInDown 0.7s ease both;
}

.animate-delay-1 {
    animation-delay: 0.15s;
}

.animate-delay-2 {
    animation-delay: 0.3s;
}

/* CTA pulse — subtle, non-distracting */
@keyframes softPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(152, 226, 219, 0.5);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(152, 226, 219, 0);
    }
}

.btn-pulse {
    animation: softPulse 2.8s ease-in-out infinite;
    animation-delay: 1.5s;
}

/* ── RESET & BASE ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1A1A2E;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ── TOKENS ── */
:root {
    --blue-dark: #004A8D;
    --blue-mid: #1A6BBF;
    --cyan: #47CACC;
    --cyan-light: #98E2DB;
    --red: #E53935;
    --cream: #FFF9F5;
    --grey-text: #4A6080;
    --container: 1280px;
}

/* ── CONTAINER ── */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 48px;
}

img {
    display: block;
    max-width: 100%;
}

/* ── SHARED SECTION TITLE ── */
.section-title {
    font-size: 2.4rem;
    /* ~40pt */
    font-weight: 400;
    color: #4A8DB7;
    text-align: center;
    line-height: 1.25;
    margin-bottom: 24px;
}

.section-title strong {
    font-weight: 700;
    color: var(--blue-dark);
}

.section-text {
    font-size: 1.05rem;
    color: #4A6080;
    line-height: 1.7;
    max-width: 900px;
}

.center-cta {
    text-align: center;
    margin-top: 48px;
}

/* ── BUTTONS ── */
.btn-contact {
    background: var(--blue-dark);
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 74, 141, 0.15);
}

.btn-contact:hover {
    background: #003270;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 74, 141, 0.25);
}

.btn-cta-hero {
    display: inline-block;
    background: var(--cyan-light);
    color: var(--blue-dark);
    padding: 18px 52px;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s;
}

.btn-cta-hero:hover {
    background: #7fd7cf;
    transform: translateY(-2px);
}

.btn-cta-outline {
    display: inline-block;
    border: 2px solid var(--blue-dark);
    color: var(--blue-dark);
    padding: 14px 44px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
}

.btn-cta-outline:hover {
    background: var(--blue-dark);
    color: #fff;
}

.btn-falar {
    display: inline-block;
    background: var(--cyan);
    color: var(--blue-dark);
    padding: 16px 52px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    margin: 24px 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 14px rgba(71, 202, 204, 0.3);
}

.btn-falar:hover {
    background: var(--cyan-light);
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 24px rgba(71, 202, 204, 0.4);
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 56px;
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: #1A1A2E;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: var(--blue-dark);
}

.nav-menu a.nav-active {
    color: var(--blue-dark);
    font-weight: 700;
    border-bottom: 2px solid var(--cyan);
    padding-bottom: 2px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    height: 880px;
    /* reduced from 1080px to eliminate empty space */
    background: #fff;
    display: flex;
    align-items: flex-start;
    padding-top: 40px;
    /* reduced from 100px to bring content up */
    overflow: hidden;
}

/* Section texture — now behind everything with top and bottom softening */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('pattern 1.png') center/cover no-repeat;
    z-index: 1;
    pointer-events: none;
}

/* Soften texture at top and bottom */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #fff 0%, rgba(255, 255, 255, 0) 15%, rgba(255, 255, 255, 0) 85%, #fff 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-bg-overlay {
    position: absolute;
    left: 0;
    width: 100%;
    pointer-events: none;
    z-index: 2;
}

/* Top gradient behind nav for subtler texture */
.hero-overlay-top {
    top: 0;
    height: 180px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 40%, rgba(255, 255, 255, 0) 100%);
    z-index: 5;
}

.hero-overlay-bottom {
    bottom: 0;
    height: 250px;
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 5;
}

.hero-grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    /* both columns stretch to full grid height */
    gap: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    padding: 0 20px;
    /* balanced padding for centering */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* centered elements horizontally */
    justify-content: center;
    /* vertically centers the text block */
    text-align: center;
    /* centers all text within this block */
}

.hero-title {
    font-size: 2.9rem;
    font-weight: 400;
    color: #4A8DB7;
    line-height: 1.2;
    margin-bottom: 40px; /* Increased spacing between title and subtitle */
    text-align: center;
}

.hero-title strong {
    font-weight: 700;
    color: var(--blue-dark);
}

.hero-desc {
    font-size: 1rem;
    color: #4A6080;
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 32px;
    text-align: center;
}

.hero-desc strong {
    color: var(--blue-dark);
    font-weight: 700;
}

/* Stats box */
.hero-stats {
    display: flex;
    align-items: center;
    background: var(--blue-dark);
    border-radius: 12px;
    padding: 20px 28px;
    gap: 0;
    width: auto;
    margin-bottom: 32px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 22px;
    color: #fff;
}

.hero-stat:first-child {
    padding-left: 0;
}

.hero-stat:last-child {
    padding-right: 0;
}

.hero-stat-num {
    font-size: 1.7rem;
    font-weight: 900;
    line-height: 1;
}

.hero-stat-num em {
    font-style: normal;
    font-size: 0.78rem;
    font-weight: 500;
    margin-left: 3px;
}

.hero-stat-label {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 4px;
}

.hero-stat-divider {
    width: 1px;
    height: 44px;
    border-right: 2px dashed rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

/* CTA hero button — cyan pill, centered below titles */
.btn-cta-hero {
    display: inline-block;
    background: var(--cyan-light);
    color: var(--blue-dark);
    padding: 16px 44px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s;
    align-self: center;
    /* centered in the flex column, under text */
}

.btn-cta-hero:hover {
    background: #7fd7cf;
    transform: translateY(-2px);
}

/* Hero image — fills 90% height, anchored to bottom right */
.hero-image {
    position: absolute;
    right: -8%; /* Pushed further right to clear text */
    bottom: 0;
    width: 60%; /* Increased size */
    height: 100%; /* Filling full height */
    z-index: 3;
    overflow: visible;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    pointer-events: none;
}

/* BOTTOM gradient only: white at body-end, fading UP toward face */
.hero-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35%;
    background: linear-gradient(to top,
            #fff 0%,
            rgba(255, 255, 255, 0.9) 20%,
            rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 4;
}

.hero-image img {
    height: 100%;
    width: auto;
    object-fit: contain;
    object-position: bottom right;
    display: block;
    position: relative;
    z-index: 2;
}

/* ============================================================
   TIMELINE
   ============================================================ */
.section-timeline {
    padding: 90px 0 60px;
    background: #fff;
}

.section-timeline .section-title {
    margin-bottom: 16px;
}

.section-timeline .section-text {
    text-align: center;
    margin: 0 auto 56px;
}

.timeline-wrap {
    position: relative;
    padding: 20px 0 0;
}

.timeline-line {
    position: absolute;
    /* 20px wrap-padding + half of 88px dot = 64px from wrap top */
    top: 64px;
    left: 5%;
    width: 90%;
    height: 5px;
    background: var(--blue-dark);
    z-index: 1;
}

.timeline-items {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.tl-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 110px;
    text-align: center;
}

.tl-dot {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    /* Hover animation setup */
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.28s ease,
        filter 0.28s ease;
    cursor: default;
}

.tl-dot:hover {
    transform: scale(1.18) translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    filter: brightness(1.08);
}

.tl-cyan {
    background: var(--cyan);
    color: var(--blue-dark);
}

.tl-dark {
    background: var(--blue-dark);
}

.tl-item p {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--blue-dark);
    line-height: 1.35;
}

.tl-caption {
    text-align: center;
    font-size: 1.05rem;
    color: #4A6080;
    margin-top: 56px;
    padding-top: 20px;
    border-top: 1px solid #eef0f4;
}

.tl-caption strong {
    font-weight: 700;
    color: var(--blue-dark);
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
    background: var(--blue-dark);
    padding: 64px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.stat-item-strip {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #fff;
}

.stat-num-big {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
}

.stat-lbl {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-top: 8px;
    line-height: 1.4;
}

/* ============================================================
   MARKET / MODELO
   ============================================================ */
.section-market {
    padding: 80px 0;
    background: #fff;
}

.market-cta-top {
    text-align: center;
    margin-bottom: 56px;
}

.section-market .section-text {
    text-align: center;
    margin: 0 auto 56px;
}

.market-text {
    max-width: 860px;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.market-card {
    background: #fff;
    border: 1px solid #E8EDF4;
    border-radius: 14px;
    padding: 28px 22px;
    text-align: center;
    transition: all 0.25s;
}

.market-card:hover {
    border-color: var(--cyan);
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 74, 141, 0.08);
}

.market-card img {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    /* Brand Color: #004A8D */
    filter: invert(18%) sepia(95%) saturate(2255%) hue-rotate(193deg) brightness(97%) contrast(101%);
}

.market-card:nth-child(2) img {
    transform: rotate(-90deg);
}

/* Points UP */
.market-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.market-card p {
    font-size: 0.85rem;
    color: #6B7A8F;
    line-height: 1.5;
}

/* ============================================================
   BENEFITS
   ============================================================ */
.section-benefits {
    padding: 80px 0;
    background: #F8FBFF;
}

.section-benefits .section-title {
    margin-bottom: 48px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.benefit-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #E8EDF4;
    border-top: 8px solid transparent;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
}

.benefit-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 48px rgba(0, 74, 141, 0.12);
    border-color: var(--cyan);
}

.benefit-start {
    border-top-color: #F2994A;
}

.benefit-premium {
    border-top-color: #F2C94C;
}

.benefit-plus {
    border-top-color: #27AE60;
}

.benefit-badge {
    display: block;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px;
    padding: 12px 24px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.badge-orange {
    background: linear-gradient(135deg, #F2994A 0%, #E67E22 100%);
}

.badge-yellow {
    background: linear-gradient(135deg, #F2C94C 0%, #D4AC0D 100%);
}

.badge-green {
    background: linear-gradient(135deg, #27AE60 0%, #219150 100%);
}

.benefit-desc {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.benefit-format {
    font-size: 0.88rem;
    color: #6B7A8F;
    margin-bottom: 20px;
    line-height: 1.5;
}

.benefit-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--blue-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.benefit-list {
    list-style: none;
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #3A4A5C;
    font-weight: 500;
    margin-bottom: 12px;
    transition: transform 0.2s ease;
}

.benefit-list li img {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.benefit-card:hover .benefit-list li img {
    transform: scale(1.2);
}

/* ============================================================
   COMPARISON
   ============================================================ */
.section-comparison {
    padding: 80px 0;
    background: #fff;
}

.section-comparison .section-title {
    margin-bottom: 48px;
}

.comp-wrapper {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 80px; /* Increased gap between items */
    position: relative;
}

.comp-col {
    flex: 1;
    border-radius: 0;
    /* sharp / straight corners */
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    max-width: 500px;
}

.comp-head {
    color: #fff;
    padding: 22px 28px;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    border-radius: 0;
    /* sharp corners on header */
}

.comp-head-red {
    background: #E53935;
}

.comp-head-blue {
    background: var(--blue-dark);
}

.comp-body {
    flex: 1;
}

.comp-row {
    display: grid;
    grid-template-columns: 44px 1fr 120px;
    align-items: center;
    gap: 16px;
    padding: 22px 32px; /* Increased padding for better distribution */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.comp-row-last {
    border-bottom: none;
}

.comp-alone .comp-body {
    background: #FFF5F5;
}

.comp-care .comp-body {
    background: #F0F7FF;
}

.comp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.comp-icon img {
    width: 32px;
    height: 32px;
}

.comp-info strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.comp-alone .comp-info strong {
    color: #E53935;
}

.comp-care .comp-info strong {
    color: var(--blue-dark);
}

.comp-info p {
    font-size: 0.82rem;
    color: #555;
    line-height: 1.4;
}

.comp-val {
    font-size: 0.85rem;
    font-weight: 800;
    line-height: 1.3;
    text-align: right;
}

.comp-val-red {
    color: #E53935;
}

.comp-val-blue {
    color: var(--blue-dark);
}

.comp-foot {
    color: #fff;
    padding: 18px 22px;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    border-radius: 0;
    /* sharp corners on footer */
}

.comp-foot-red {
    background: #E53935;
}

.comp-foot-blue {
    background: var(--blue-dark);
}

.comp-warn-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

/* VS Bubble - Smaller and non-intrusive */
.vs-bubble {
    width: 140px;
    min-width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #002D57;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 16px;
    line-height: 1.3;
    z-index: 10;
    align-self: center;
    flex-shrink: 0;
    margin: 0 -110px; /* Adjusted to keep columns well-spaced with the smaller bubble */
    border: 5px solid #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.vs-bubble strong {
    font-weight: 800;
    display: inline;
}

/* ============================================================
   PROCESS GRID (12 boxes)
   ============================================================ */
.section-process {
    padding: 80px 0;
    background: #F8FBFF;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.process-card {
    background: #fff;
    border: 1px solid #E8EDF4;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 74, 141, 0.1);
    border-color: var(--cyan);
}

.process-head {
    background: var(--blue-dark);
    border-top: 7px solid var(--cyan);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.proc-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: #98E2DB;
    line-height: 1;
    flex-shrink: 0;
}

.process-head h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.process-body {
    padding: 18px 20px;
}

.process-body p {
    font-size: 0.85rem;
    color: #4A6080;
    line-height: 1.55;
}

/* ============================================================
   FACHADA
   ============================================================ */
.fachada-wrap {
    position: relative;
    height: 620px;
    /* tall enough to show full building + logo */
    overflow: hidden;
    display: block;
    margin-bottom: 0;
    /* zero gap — sits directly on footer */
}

.fachada-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Adjusted to show the building tip (roofline) and logo clearly */
    object-position: 50% 12%;
    display: block;
}

.fachada-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 45%;
    /* Shorter gradient to not wash out the building top */
    background: linear-gradient(to bottom, #fff 0%, rgba(255, 255, 255, 0.8) 10%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    position: relative;
    background: var(--blue-dark);
    /* Gradient overlay for depth */
    background: linear-gradient(135deg, #004A8D 0%, #002D57 100%);
    overflow: hidden;
    padding: 80px 0 40px;
}

.footer-bg {
    position: absolute;
    inset: 0;
    background: url('pattern 1 footer.png') center/cover no-repeat;
    opacity: 0.15;
    pointer-events: none;
}

.footer-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    height: 60px;
    margin-bottom: 28px;
    /* Reset to original image but with a filter that handles the now-transparent holes better */
    filter: brightness(0) invert(1);
    object-fit: contain;
}

.footer-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.footer-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 4px;
}

.footer-copy {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 20px;
}

/* ============================================================
   RESPONSIVE (improved)
   ============================================================ */
@media (max-width: 1024px) {
    .market-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .hero {
        height: auto;
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .hero-image {
        display: flex;
        position: relative;
        right: 0;
        width: 100%;
        height: auto;
        justify-content: center;
        margin-top: 40px;
        pointer-events: auto;
        z-index: 1;
    }

    .hero-image img {
        width: 100%;
        max-width: 500px;
        height: auto;
        object-fit: contain;
    }

    .hero-image::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 120px; /* Adjust height of the fade */
        background: linear-gradient(to top, #fff 0%, rgba(255, 255, 255, 0) 100%);
        z-index: 2;
        pointer-events: none;
    }

    .hero-content {
        padding: 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 400px;
        gap: 16px;
        padding: 24px;
    }

    .hero-stat {
        padding: 0;
        align-items: center;
        text-align: center;
    }

    .hero-stat-divider {
        width: 60%;
        height: 1px;
        border-right: none;
        border-bottom: 2px dashed rgba(255, 255, 255, 0.3);
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .comp-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .vs-bubble {
        margin: 0 auto;
        width: 120px;
        height: 120px;
        min-width: 120px;
    }

    .comp-col {
        max-width: 100%;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .market-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Timeline Vertical Mobile - Alternating Lateral */
    .timeline-line {
        top: 0;
        left: 50%;
        width: 4px;
        height: 100%;
        transform: translateX(-50%);
    }

    .timeline-items {
        flex-direction: column;
        gap: 32px;
        align-items: center;
        width: 100%;
    }

    .tl-item {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        position: relative;
        min-height: 80px;
        text-align: center;
    }

    .tl-dot {
        position: absolute;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        width: 72px;
        height: 72px;
        font-size: 1rem;
        z-index: 5;
        margin-bottom: 0;
    }

    .tl-item p {
        width: 42%;
        margin: 0;
        text-align: right;
        padding-right: 50px;
        align-self: center;
        font-size: 0.72rem;
        position: absolute;
        right: 50%;
        top: 50%;
        transform: translateY(-50%);
    }

    .tl-item:nth-child(even) p {
        text-align: left;
        padding-left: 50px;
        padding-right: 0;
        right: auto;
        left: 50%;
    }

    .nav-menu {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 1.85rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .stat-num-big {
        font-size: 2.5rem;
    }

    .comp-row {
        grid-template-columns: 40px 1fr;
        padding: 16px 20px;
    }

    .comp-val {
        grid-column: 2;
        text-align: left;
        margin-top: 4px;
    }

    .tl-dot {
        width: 60px;
        height: 60px;
    }
}