/* ============================================================
   KAVTO — Design System & Landing Styles
   Paleta: Teal profundo + Navy oscuro + Blancos cálidos
   Metodología: BEM · Sin Tailwind · Sin estilos inline
   ============================================================ */

/* =====================
   TOKENS — VARIABLES
===================== */
:root {
    /* COLORES — KAVTO */
    --color-primary: #0D9488;
    --color-primary-hover: #0F766E;
    --color-primary-light: #CCFBF1;
    --color-primary-glow: rgba(13, 148, 136, 0.15);
    --color-text-on-primary: #FFFFFF;

    --color-bg: #FFFFFF;
    --color-surface: #F0FDFA;
    --color-surface-2: #F8FFFE;
    --color-border: #CFFAFE;
    --color-text-main: #1E293B;
    --color-text-muted: #64748B;
    --color-text-on-hover: #1E293B;

    --color-dark-bg: #0F172A;
    --color-dark-surface: #1E293B;
    --color-text-on-dark: #F0FDFA;
    --color-muted-on-dark: #94A3B8;

    --color-success: #16a34a;
    --color-error: #dc2626;
    --color-warning: #d97706;

    /* CARD ACCENT GRADIENTS (solo decorativos) */
    --grad-stamps: linear-gradient(135deg, #F97316 0%, #FBBF24 100%);
    --grad-descuentos: linear-gradient(135deg, #7C3AED 0%, #C084FC 100%);
    --grad-puntos: linear-gradient(135deg, #0D9488 0%, #2DD4BF 100%);

    /* ESPACIADO — COMPONENTES */
    --space-xs: clamp(0.8rem, 0.2vw + 0.75rem, 1rem);
    --space-s: clamp(1.6rem, calc(0.38vw + 1.48rem), 2rem);
    --space-m: clamp(2.4rem, calc(0.57vw + 2.22rem), 3rem);
    --space-l: clamp(3.2rem, calc(1.24vw + 2.8rem), 4.5rem);
    --space-xl: clamp(4.2rem, calc(2.37vw + 3.5rem), 6.75rem);

    /* ESPACIADO — SECCIONES */
    --sec-space-s: clamp(4rem, calc(2.49vw + 3.2rem), 7rem);
    --sec-space-m: clamp(6rem, calc(3.73vw + 4.8rem), 10rem);
    --sec-space-l: clamp(8rem, calc(6.17vw + 6rem), 14rem);
    --sec-pad-x: clamp(2rem, calc(4.21vw + 0.65rem), 6.4rem);

    /* TIPOGRAFÍA */
    --txt-s: clamp(1.3rem, calc(0.15vw + 1.25rem), 1.5rem);
    --txt-m: clamp(1.6rem, calc(0.38vw + 1.48rem), 2rem);
    --txt-l: clamp(1.8rem, calc(0.71vw + 1.58rem), 2.4rem);
    --txt-xl: clamp(2.1rem, calc(1.19vw + 1.72rem), 3.2rem);

    --h4: clamp(1.8rem, calc(0.38vw + 1.68rem), 2.2rem);
    --h3: clamp(2.2rem, calc(0.74vw + 1.96rem), 2.9rem);
    --h2: clamp(2.8rem, calc(2.11vw + 2.13rem), 4.6rem);
    --h1: clamp(3.4rem, calc(2.76vw + 2.52rem), 5.8rem);
    --titulo: clamp(4.4rem, 2.15vw + 3.7rem, 6.4rem);

    /* LAYOUT */
    --width-s: 64rem;
    --width-m: 96rem;
    --width-l: 136.6rem;
    --width-content: 116rem;
    --grid-gap: clamp(1.6rem, 1.5vw + 1rem, 3rem);

    /* MISC */
    --radius-pill: 9999px;
    --radius-card: 20px;
    --radius-sm: 10px;
    --radius-lg: 28px;

    --shadow-soft: 0 1px 3px 0 rgb(0 0 0 / 0.05);
    --shadow-card: 0 8px 30px rgba(13, 148, 136, 0.08);
    --shadow-brand: 0 10px 40px -10px rgba(13, 148, 136, 0.25);
    --shadow-hover: 0 12px 28px -6px rgb(13 148 136 / 0.18), 0 4px 8px -4px rgb(0 0 0 / 0.06);
    --shadow-teal: 0 8px 24px -4px rgba(13, 148, 136, 0.35);

    --transition-fast: 150ms ease;
    --transition-base: 260ms ease;
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

    --header-height: 9rem;
}


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

html {
    scroll-behavior: smooth;
    scroll-behavior: smooth;
    scroll-behavior: smooth;
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    font-size: var(--txt-m);
    color: var(--color-text-main);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}

ul {
    list-style: none;
}

em {
    font-style: normal;
}


/* =====================
   BOTONES
===================== */
.c-button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: var(--txt-m);
    font-weight: 700;
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    padding: 1.2rem 2.8rem;
    line-height: 1;
}

.c-button--primary {
    background-color: var(--color-primary);
    color: var(--color-text-on-primary);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-brand);
}

.c-button--primary:hover {
    background-color: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 14px 32px -6px rgba(13, 148, 136, 0.45);
    box-shadow: 0 14px 32px -6px rgba(13, 148, 136, 0.45);
}

.c-button--ghost {
    background-color: transparent;
    color: var(--color-text-main);
    border-color: var(--color-border);
}

.c-button--ghost:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.c-button--ghost-dark {
    background-color: transparent;
    color: var(--color-text-on-dark);
    border-color: rgba(255, 255, 255, 0.3);
}

.c-button--ghost-dark:hover {
    border-color: var(--color-primary-light);
    color: var(--color-primary-light);
}

.c-button--lg {
    padding: 1.6rem 3.6rem;
    font-size: var(--txt-l);
}


/* =====================
   BADGE
===================== */
.c-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: var(--txt-s);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-primary);
    background-color: var(--color-primary-light);
    padding: 0.5rem 1.4rem;
    border-radius: var(--radius-pill);
}

.c-badge--dark {
    color: var(--color-primary-light);
    background-color: rgba(13, 148, 136, 0.2);
}


/* =====================
   HEADER
===================== */
.c-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    padding-top: 0;
    pointer-events: none;
    transition: padding-top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.c-header__container {
    pointer-events: auto;
    width: 100%;
    max-width: var(--width-l);
    height: var(--header-height);
    margin: 0 auto;
    padding: 0 var(--sec-pad-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-m);

    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.c-header--scrolled {
    padding-top: 1.5rem;
}

.c-header--scrolled .c-header__container {
    height: 6.5rem;
    max-width: 960px;
    padding: 0 3rem;

    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border: 1px solid var(--color-border);
    border-radius: 100px;
    box-shadow: 0 10px 30px -10px rgba(13, 148, 136, 0.15);
}

.c-header__logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.c-header__logo-mark {
    width: 32px;
    height: 32px;
    background: var(--grad-puntos);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.6rem;
}

.c-header__logo-text {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-text-main);
    letter-spacing: -0.02em;
}

.c-header__logo-text span {
    color: var(--color-primary);
}

.c-header__nav {
    display: flex;
    align-items: center;
    gap: var(--space-l);
}

.c-header__nav-link {
    font-size: var(--txt-m);
    font-weight: 600;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.c-header__nav-link:hover {
    color: var(--color-primary);
}

.c-header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-s);
}

.c-header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.c-header__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-main);
    border-radius: 2px;
    transition: all var(--transition-base);
}


/* =====================
   HERO
===================== */
.c-hero {
    min-height: 600px;
    max-height: 100svh;
    background: radial-gradient(circle at top right, rgba(204, 251, 241, 0.3) 0%, rgba(255, 255, 255, 0) 60%), var(--color-bg);
    padding-top: calc(var(--header-height) + var(--sec-space-s));
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .c-hero {
        max-height: 90vh;
    }
}

@media (min-aspect-ratio: 16/9) {
    .c-hero {
        max-height: 85svh;
    }
}

.c-hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-xl);
    max-width: var(--width-l);
    margin: 0 auto;
    padding: 0 var(--sec-pad-x);
    flex: 1;
}

.c-hero__content {
    display: flex;
    flex-direction: column;
    gap: var(--space-m);
}

.c-hero__title {
    font-size: var(--titulo);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--color-text-main);
}

.c-hero__title-accent {
    color: var(--color-primary);
    position: relative;
}

.c-hero__description {
    font-size: var(--txt-xl);
    color: var(--color-text-muted);
    line-height: 1.5;
    max-width: 50rem;
}

.c-hero__actions {
    display: flex;
    align-items: center;
    gap: var(--space-s);
    flex-wrap: wrap;
}

.c-hero__proof {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: var(--txt-s);
    color: var(--color-text-muted);
    font-weight: 600;
}

.c-hero__proof-sep {
    color: var(--color-border);
    font-size: 1.8rem;
}

/* Hero visual — stacked wallet cards */
.c-hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 42rem;
}

.c-hero-cards {
    position: relative;
    width: 34rem;
    height: 22rem;
}

.c-wallet-card {
    position: absolute;
    width: 30rem;
    height: 18rem;
    border-radius: var(--radius-card);
    padding: 2.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.25);
    transition: transform var(--transition-slow);
}

.c-wallet-card--stamps {
    background: var(--grad-stamps);
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(20px) rotate(-8deg);
    z-index: 1;
}

.c-wallet-card--descuentos {
    background: var(--grad-descuentos);
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(10px) rotate(4deg);
    z-index: 2;
}

.c-wallet-card--puntos {
    background: var(--grad-puntos);
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(0px) rotate(0deg);
    z-index: 3;
    animation: card-float 4s ease-in-out infinite;
}

.c-hero-cards:hover .c-wallet-card--stamps {
    transform: translateX(calc(-50% - 15rem)) translateY(30px) rotate(-12deg);
}

.c-hero-cards:hover .c-wallet-card--descuentos {
    transform: translateX(calc(-50% + 15rem)) translateY(20px) rotate(12deg);
}

.c-hero-cards:hover .c-wallet-card--puntos {
    transform: translateX(-50%) translateY(-10px) rotate(0deg);
}

@keyframes card-float {

    0%,
    100% {
        transform: translateX(-50%) translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateX(-50%) translateY(-12px) rotate(1deg);
    }
}

.c-wallet-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.c-wallet-card__brand {
    font-size: 1.3rem;
    font-weight: 700;
    opacity: 0.9;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.c-wallet-card__type-label {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.75;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-pill);
}

.c-wallet-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.c-wallet-card__value {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

.c-wallet-card__label {
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0.8;
}

/* Stamps dots */
.c-wallet-card__stamps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    max-width: 18rem;
}

.c-stamp {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
}

.c-stamp--empty {
    background: rgba(255, 255, 255, 0.3);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

/* Hero wave */
.c-hero__wave {
    margin-top: var(--space-xl);
    line-height: 0;
}

.c-hero__wave svg {
    width: 100%;
    display: block;
}


/* =====================
   LOGOS STRIP
===================== */
.c-logos {
    background-color: var(--color-surface);
    padding: var(--sec-space-s) var(--sec-pad-x);
    overflow: hidden;
}

.c-logos__inner {
    max-width: var(--width-l);
    margin: 0 auto;
    text-align: center;
}

.c-logos__label {
    font-size: var(--txt-s);
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-m);
}

.c-logos__row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.c-logos__item {
    font-size: var(--txt-l);
    font-weight: 800;
    color: var(--color-text-muted);
    opacity: 0.5;
    transition: opacity var(--transition-base);
    white-space: nowrap;
}

.c-logos__item:hover {
    opacity: 0.8;
}


/* =====================
   SECCIÓN — 3 TIPOS DE TARJETA
===================== */
.c-cards-section {
    padding: var(--sec-space-l) var(--sec-pad-x);
    background-color: var(--color-bg);
}

.c-section-header {
    text-align: center;
    max-width: var(--width-s);
    margin: 0 auto var(--sec-space-s);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-s);
}

.c-section-header__title {
    font-size: var(--h1);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-text-main);
}

.c-section-header__description {
    font-size: var(--txt-l);
    color: var(--color-text-muted);
    line-height: 1.55;
}

.c-card-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap);
    max-width: var(--width-l);
    margin: 0 auto;
}

.c-card-type {
    background-color: var(--color-surface-2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-l);
    display: flex;
    flex-direction: column;
    gap: var(--space-m);
    transition: all var(--transition-base);
    cursor: default;
}

.c-card-type:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary-light);
}

.c-card-type__mockup {
    border-radius: var(--radius-card);
    height: 16rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem 2.4rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.c-card-type__mockup::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.c-card-type__mockup--stamps {
    background: var(--grad-stamps);
}

.c-card-type__mockup--descuentos {
    background: var(--grad-descuentos);
}

.c-card-type__mockup--puntos {
    background: var(--grad-puntos);
}

.c-card-type__mockup-name {
    font-size: 1.2rem;
    font-weight: 700;
    opacity: 0.9;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.c-card-type__mockup-value {
    font-size: 3.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.c-card-type__mockup-sub {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-top: 0.2rem;
}

.c-card-type__mockup-dots {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.c-card-type__dot {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
}

.c-card-type__dot--empty {
    background: rgba(255, 255, 255, 0.3);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.c-card-type__subtitle {
    display: inline-block;
    font-size: var(--h3);
    font-weight: 800;
    color: var(--color-text-main);
}

.c-card-type__description {
    font-size: var(--txt-m);
    color: var(--color-text-muted);
    line-height: 1.6;
}

.c-card-type__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.c-card-type__tag {
    font-size: var(--txt-s);
    font-weight: 600;
    color: var(--color-primary);
    background-color: var(--color-primary-light);
    padding: 0.4rem 1.2rem;
    border-radius: var(--radius-pill);
}


/* =====================
   WAVE DIVIDER
===================== */
.c-wave {
    line-height: 0;
    overflow: hidden;
    position: relative;
    /* Un pequeño margen negativo para eliminar posibles líneas blancas entre el SVG y la sección */
    margin-top: -1px;
    margin-bottom: -1px;
    z-index: 10;
}

.c-wave svg {
    width: 100%;
    display: block;
    position: relative;
}


/* =====================
   HOW IT WORKS
===================== */
.c-steps {
    background-color: var(--color-dark-bg);
    padding: var(--sec-space-l) var(--sec-pad-x);
}

.c-steps__inner {
    max-width: var(--width-l);
    margin: 0 auto;
}

.c-steps__header {
    text-align: center;
    margin-bottom: var(--sec-space-s);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-s);
}

.c-steps__title {
    font-size: var(--h1);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--color-text-on-dark);
}

.c-steps__description {
    font-size: var(--txt-l);
    color: var(--color-muted-on-dark);
    max-width: 48rem;
}

.c-steps__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap);
    position: relative;
    padding-top: 6rem;
    /* Space for floating number badges */
}

/* Pseudo-element connector line — replaced by number bubbles above */
.c-steps__grid::before {
    content: '';
    position: absolute;
    top: 6rem;
    /* Center of the number bubble (padding-top) */
    left: calc(16.66%);
    right: calc(16.66%);
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light), var(--color-primary));
    opacity: 0.4;
    z-index: 0;
}

.c-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-m);
    padding: var(--space-l);
    background: var(--color-dark-surface);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    position: relative;
    margin-top: 0;
    /* Push down to leave room for floating badge handled by grid padding-top */
}

/* Floating number badge sits ABOVE the card */
.c-step__number-outer {
    position: absolute;
    top: -4.8rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.c-step__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 9.6rem;
    height: 9.6rem;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-size: 3.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    box-shadow:
        var(--shadow-brand),
        0 0 0 6px rgba(13, 148, 136, 0.2),
        0 0 0 12px rgba(13, 148, 136, 0.07);
    border: 4px solid var(--color-dark-bg);
    transition: transform .25s ease, box-shadow .25s ease;
}

.c-step:hover .c-step__num {
    transform: scale(1.12) translateY(-3px);
    box-shadow:
        0 8px 24px rgba(13, 148, 136, 0.5),
        0 0 0 5px rgba(13, 148, 136, 0.2),
        0 0 0 10px rgba(13, 148, 136, 0.07);
}

/* Compat: hide old .c-step__number if ever still rendered */
.c-step__number {
    display: none;
}

.c-step__body {
    display: flex;
    flex-direction: column;
    gap: var(--space-m);
    padding-top: var(--space-s);
    /* Add breathing room after badge area */
    width: 100%;
}

.c-step__emoji {
    font-size: 3.2rem;
    line-height: 1;
}

.c-step__title {
    font-size: var(--h3);
    font-weight: 800;
    color: var(--color-text-on-dark);
    letter-spacing: -0.01em;
}

.c-step__description {
    font-size: var(--txt-m);
    color: var(--color-muted-on-dark);
    line-height: 1.65;
}


/* =====================
   FEATURES GRID
===================== */
.c-features {
    background-color: var(--color-surface);
    padding: var(--sec-space-l) var(--sec-pad-x);
}

.c-features__inner {
    max-width: var(--width-l);
    margin: 0 auto;
}

.c-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap);
    margin-top: var(--sec-space-s);
}

.c-feature {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-l);
    display: flex;
    flex-direction: column;
    gap: var(--space-s);
    transition: all var(--transition-base);
}

.c-feature:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary-light);
    transform: translateY(-4px);
}

.c-feature__icon {
    font-size: 3.2rem;
    line-height: 1;
    width: 5.6rem;
    height: 5.6rem;
    background-color: var(--color-primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.c-feature__title {
    font-size: var(--h4);
    font-weight: 800;
    color: var(--color-text-main);
}

.c-feature__description {
    font-size: var(--txt-m);
    color: var(--color-text-muted);
    line-height: 1.6;
}


/* =====================
   TESTIMONIAL
===================== */
.c-testimonial-section {
    background-color: var(--color-bg);
    padding: var(--sec-space-l) var(--sec-pad-x);
}

.c-testimonial-section__inner {
    max-width: var(--width-m);
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sec-space-s);
}

.c-testimonial-section__title {
    font-size: var(--h2);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-text-main);
}

.c-testimonial-section__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.c-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.c-stat__value {
    font-size: var(--titulo);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--color-primary);
    line-height: 1;
}

.c-stat__label {
    font-size: var(--txt-m);
    color: var(--color-text-muted);
    font-weight: 600;
}

.c-testimonial {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    max-width: 72rem;
    text-align: left;
    position: relative;
}

.c-testimonial::before {
    content: '"';
    position: absolute;
    top: -2rem;
    left: var(--space-l);
    font-size: 10rem;
    line-height: 1;
    color: var(--color-primary);
    opacity: 0.2;
    font-weight: 900;
    font-family: Georgia, serif;
}

.c-testimonial__quote {
    font-size: var(--txt-xl);
    color: var(--color-text-main);
    line-height: 1.55;
    font-weight: 500;
    margin-bottom: var(--space-m);
}

.c-testimonial__author {
    display: flex;
    align-items: center;
    gap: var(--space-s);
}

.c-testimonial__avatar {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: var(--grad-puntos);
    color: white;
    font-weight: 800;
    font-size: var(--txt-l);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.c-testimonial__name {
    font-size: var(--txt-m);
    font-weight: 700;
    color: var(--color-text-main);
}

.c-testimonial__role {
    font-size: var(--txt-s);
    color: var(--color-text-muted);
}


/* =====================
   CTA FINAL
===================== */
.c-cta-final {
    background: linear-gradient(135deg, var(--color-primary) 0%, #0F766E 50%, #0D9488 100%);
    padding: var(--sec-space-l) var(--sec-pad-x);
    position: relative;
    overflow: hidden;
}

.c-cta-final::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.c-cta-final::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 50%;
    height: 200%;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.c-cta-final__inner {
    max-width: var(--width-m);
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-l);
    position: relative;
    z-index: 1;
}

.c-cta-final__title {
    font-size: var(--h1);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.c-cta-final__description {
    font-size: var(--txt-xl);
    color: rgba(255, 255, 255, 0.8);
    max-width: 52rem;
    line-height: 1.5;
}

.c-cta-final__actions {
    display: flex;
    gap: var(--space-s);
    flex-wrap: wrap;
    justify-content: center;
}

.c-button--white {
    background-color: #fff;
    color: var(--color-primary);
    border-color: #fff;
    font-weight: 800;
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.2);
}

.c-button--white:hover {
    background-color: var(--color-surface);
    border-color: var(--color-surface);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 14px 32px -6px rgba(13, 148, 136, 0.45);
    box-shadow: 0 14px 32px -6px rgba(0, 0, 0, 0.3);
}

.c-cta-final__note {
    font-size: var(--txt-s);
    color: rgba(255, 255, 255, 0.65);
}


/* =====================
   FOOTER
===================== */
.c-footer {
    background-color: var(--color-dark-bg);
    padding: var(--sec-space-m) var(--sec-pad-x) var(--space-l);
}

.c-footer__inner {
    max-width: var(--width-l);
    margin: 0 auto;
}

.c-footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: var(--space-xl);
}

.c-footer__brand-name {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--color-text-on-dark);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-s);
}

.c-footer__brand-name span {
    color: var(--color-primary);
}

.c-footer__brand-desc {
    font-size: var(--txt-m);
    color: var(--color-muted-on-dark);
    line-height: 1.6;
    max-width: 32rem;
}

.c-footer__col-title {
    font-size: var(--txt-s);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-muted-on-dark);
    margin-bottom: var(--space-m);
}

.c-footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--space-s);
}

.c-footer__link {
    font-size: var(--txt-m);
    color: var(--color-muted-on-dark);
    transition: color var(--transition-fast);
    font-weight: 500;
}

.c-footer__link:hover {
    color: var(--color-text-on-dark);
}

.c-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-s);
}

.c-footer__copy {
    font-size: var(--txt-s);
    color: var(--color-muted-on-dark);
}

.c-footer__legal {
    display: flex;
    gap: var(--space-m);
}

.c-footer__legal-link {
    font-size: var(--txt-s);
    color: var(--color-muted-on-dark);
    transition: color var(--transition-fast);
}

.c-footer__legal-link:hover {
    color: var(--color-primary);
}


/* =====================
   SCROLL REVEAL
===================== */
.js-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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


/* =====================
   RESPONSIVE
===================== */
@media (max-width: 1024px) {
    .c-hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .c-hero__description {
        max-width: 100%;
    }

    .c-hero__actions {
        justify-content: center;
    }

    .c-hero__proof {
        justify-content: center;
    }

    .c-hero__visual {
        min-height: 34rem;
    }

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

    .c-steps__grid {
        grid-template-columns: 1fr;
    }

    .c-steps__grid::before {
        display: none;
    }

    /* Floating badges: center them in single-column layout */
    .c-step {
        margin-top: 4rem;
    }

    .c-step__number-outer {
        left: 50%;
        transform: translateX(-50%);
        top: -4.8rem;
    }

    .c-step__body {
        align-items: center;
        text-align: center;
    }

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

    .c-footer__top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .c-header__nav {
        display: none;
    }

    .c-header__actions .c-button--ghost {
        display: none;
    }

    .c-header__burger {
        display: flex;
    }

    .c-hero__title {
        font-size: var(--h1);
    }

    .c-wallet-card {
        width: 24rem;
        height: 14rem;
    }

    .c-wallet-card__value {
        font-size: 2.8rem;
    }

    .c-card-types {
        grid-template-columns: 1fr;
    }

    .c-feature-grid {
        grid-template-columns: 1fr;
    }

    .c-footer__top {
        grid-template-columns: 1fr;
    }

    .c-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .c-logos__row {
        gap: var(--space-m);
    }

    .c-testimonial-section__stats {
        gap: var(--space-l);
    }

    .c-cta-final__actions {
        flex-direction: column;
        width: 100%;
    }

    .c-button--white,
    .c-button--ghost-dark {
        width: 100%;
        justify-content: center;
    }
}

/* CUSTOM CURSOR */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
    mix-blend-mode: multiply;
}

.custom-cursor.active {
    width: 40px;
    height: 40px;
    background-color: rgba(13, 148, 136, 0.1);
}

@media (pointer: coarse) {
    .custom-cursor {
        display: none !important;
    }
}


/* ANIMATIONS */
.js-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.stagger-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease forwards, transform 0.5s ease forwards;
}

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


/* =====================
   PROBLEMA VS SOLUCIÓN
===================== */
.c-problem-solution {
    padding: var(--sec-space-l) var(--sec-pad-x);
    background: var(--color-surface);
    text-align: center;
}

.c-problem-solution__inner {
    max-width: var(--width-m);
    margin: 0 auto;
}

.c-problem-solution__grid {
    display: flex;
    gap: var(--grid-gap);
    flex-wrap: wrap;
    justify-content: center;
    margin-top: var(--space-l);
    text-align: left;
}

.c-compare-card {
    flex: 1;
    min-width: 30rem;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-card);
    display: block;
}

.c-compare-card--bad {
    background-color: #FFF1F2;
    border: 1px solid #FFE4E6;
}

.c-compare-card--good {
    background-color: var(--color-bg);
    border: 2px solid var(--color-primary);
    box-shadow: var(--shadow-brand);
}

.c-compare-card__icon {
    font-size: 3rem;
    margin-bottom: var(--space-s);
    display: block;
}

.c-compare-card__icon--bad {
    color: #9F1239;
}

.c-compare-card__icon--good {
    color: var(--color-primary);
}

.c-compare-card__title {
    font-size: var(--txt-l);
    font-weight: 700;
    margin-bottom: var(--space-s);
}

.c-compare-card__title--bad {
    color: #9F1239;
}

.c-compare-card__title--good {
    color: var(--color-primary);
}

.c-compare-card__text {
    font-size: var(--txt-m);
    line-height: 1.6;
}

.c-compare-card__text--bad {
    color: #881337;
}

.c-compare-card__text--good {
    color: var(--color-primary-hover);
}


/* =====================
   STEP ICON
===================== */
.c-step__icon {
    font-size: 5.6rem;
    margin-bottom: var(--space-s);
    margin-top: var(--space-m);
    display: block;
    color: var(--color-primary);
}


/* =====================
   PRICING
===================== */
.c-pricing-section {
    padding: var(--sec-space-l) var(--sec-pad-x);
    background: var(--color-surface-2);
}

.c-pricing-section__inner {
    max-width: var(--width-l);
    margin: 0 auto;
    text-align: center;
}

.c-pricing-toggle {
    margin-top: var(--space-m);
    display: inline-flex;
    background: #E2E8F0;
    padding: 0.25rem;
    border-radius: var(--radius-pill);
}

.c-pricing-toggle__btn {
    padding: 0.6rem 1.6rem;
    background: transparent;
    border: none;
    border-radius: var(--radius-pill);
    font-weight: 500;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: var(--txt-m);
}

.c-pricing-toggle__btn--active {
    background: var(--color-bg);
    color: var(--color-text-main);
    font-weight: 600;
    box-shadow: var(--shadow-soft);
}

.c-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: var(--grid-gap);
    margin-top: var(--space-l);
    align-items: start;
}

.c-plan {
    background: var(--color-bg);
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.c-plan--featured {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-text-on-dark);
    transform: scale(1.03);
    box-shadow: var(--shadow-brand);
}

.c-plan__badge {
    display: inline-block;
    background: var(--color-primary-light);
    color: #115E59;
    font-size: 1.2rem;
    font-weight: 800;
    padding: 0.25rem 0.8rem;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    align-self: flex-start;
}

.c-plan__name {
    font-size: var(--txt-l);
    font-weight: 700;
}

.c-plan__desc {
    color: var(--color-text-muted);
    font-size: var(--txt-m);
}

.c-plan--featured .c-plan__desc {
    color: var(--color-primary-light);
}

.c-plan__price {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.c-plan__price-period {
    font-size: var(--txt-m);
    font-weight: 500;
    color: var(--color-text-muted);
}

.c-plan--featured .c-plan__price-period {
    color: var(--color-primary-light);
}

.c-plan__cta {
    width: 100%;
    text-align: center;
    display: block;
}

.c-plan--featured .c-plan__cta {
    background-color: var(--color-bg);
    color: var(--color-primary);
    border-color: var(--color-bg);
}

.c-plan--featured .c-plan__cta:hover {
    background-color: var(--color-primary-light);
    border-color: var(--color-primary-light);
    color: var(--color-primary);
}

.c-plan__features {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.c-plan__feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: var(--txt-m);
    color: var(--color-text-main);
}

.c-plan--featured .c-plan__feature {
    color: var(--color-text-on-dark);
}

.c-plan__feature-icon {
    font-size: 2rem;
    color: var(--color-primary);
    flex-shrink: 0;
}

.c-plan--featured .c-plan__feature-icon {
    color: var(--color-primary-light);
}


/* =====================
   FAQ
===================== */
.c-faq-section {
    padding: calc(var(--sec-space-l) * 1.2) var(--sec-pad-x);
    background: var(--color-bg);
}

.c-faq-section__inner {
    max-width: var(--width-m);
    margin: 0 auto;
}

/* Wide modifier: even more breathing room */
.c-faq-section__inner--wide {
    max-width: var(--width-l);
    padding: 0 var(--space-m);
}

.c-faq-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-s);
    /* More breathing room between FAQ items */
    margin-top: var(--space-l);
}

.c-faq-item {
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: var(--space-s);
}

.c-faq-item__summary {
    font-weight: 700;
    color: var(--color-text-main);
    font-size: var(--txt-l);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-s);
}

.c-faq-item__summary::-webkit-details-marker {
    display: none;
}

.c-faq-item__icon {
    color: var(--color-primary);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

details[open] .c-faq-item__icon {
    transform: rotate(180deg);
}

.c-faq-item__answer {
    color: var(--color-text-muted);
    margin-top: var(--space-s);
    line-height: 1.7;
    font-size: var(--txt-m);
}


/* ============================================================
   PREMIUM MODERNIZATION LAYER — 2025
   ============================================================ */


/* ─── HERO: richer mesh gradient + noise grain ─────────────── */
.c-hero {
    background:
        radial-gradient(ellipse 80% 60% at 75% 30%, rgba(45, 212, 191, .22) 0%, transparent 60%),
        radial-gradient(ellipse 55% 40% at 8% 80%, rgba(13, 148, 136, .10) 0%, transparent 60%),
        radial-gradient(ellipse 40% 30% at 28% 8%, rgba(204, 251, 241, .25) 0%, transparent 65%),
        var(--color-bg);
    position: relative;
}

.c-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.c-hero__container,
.c-hero__wave {
    position: relative;
    z-index: 1;
}


/* ─── HERO TITLE ACCENT: animated gradient text ────────────── */
.c-hero__title-accent {
    background: linear-gradient(135deg, #0D9488 0%, #2DD4BF 45%, #0F766E 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: grad-shift 4s linear infinite;
}

@keyframes grad-shift {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}


/* ─── WALLET CARDS: glow behind front card ──────────────────── */
.c-wallet-card--puntos {
    filter: drop-shadow(0 18px 36px rgba(13, 148, 136, .40));
}

.c-hero-cards::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 18rem;
    height: 3rem;
    background: radial-gradient(ellipse, rgba(13, 148, 136, .3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(10px);
    z-index: 0;
}


/* ─── BUTTONS: shimmer sweep on hover ───────────────────────── */
.c-button--primary,
.c-button--white {
    position: relative;
    overflow: hidden;
}

.c-button--primary::after,
.c-button--white::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .22) 50%, transparent 100%);
    transform: skewX(-18deg);
    transition: left .55s ease;
    pointer-events: none;
}

.c-button--primary:hover::after,
.c-button--white:hover::after {
    left: 160%;
}

.c-button--ghost {
    transition:
        border-color var(--transition-fast),
        color var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.c-button--ghost:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px -2px rgba(13, 148, 136, .18);
}


/* ─── CARD TYPES: richer hover + shimmer overlay ────────────── */
.c-card-type {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.c-card-type:hover {
    transform: translateY(-10px) scale(1.015);
    box-shadow:
        0 12px 32px -8px rgba(13, 148, 136, .22),
        0 0 0 1px rgba(13, 148, 136, .2);
    border-color: rgba(13, 148, 136, .35);
}

.c-card-type__mockup::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, .18) 0%, transparent 60%);
    border-radius: inherit;
    opacity: 0;
    transition: opacity .35s ease;
}

.c-card-type:hover .c-card-type__mockup::after {
    opacity: 1;
}


/* ─── STEP CARDS: glassmorphism ──────────────────────────────── */
.c-step {
    background: rgba(30, 41, 59, 0.60);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .07);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.c-step:hover {
    background: rgba(30, 41, 59, 0.82);
    border-color: rgba(13, 148, 136, .3);
    transform: translateY(-5px);
    box-shadow:
        0 20px 48px -10px rgba(0, 0, 0, .45),
        0 0 0 1px rgba(13, 148, 136, .18);
}

.c-step__number {
    transition: transform .25s ease, box-shadow .25s ease;
}

.c-step:hover .c-step__number {
    transform: scale(1.12);
    box-shadow: 0 0 0 7px rgba(13, 148, 136, .18), var(--shadow-brand);
}

/* Connector line animated shimmer */
.c-steps__grid::before {
    background: linear-gradient(90deg,
            transparent 0%,
            var(--color-primary) 25%,
            var(--color-primary-light) 50%,
            var(--color-primary) 75%,
            transparent 100%);
    background-size: 200% 100%;
    animation: line-flow 2.5s linear infinite;
    opacity: .45;
}

@keyframes line-flow {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}


/* ─── FEATURE ICON CONTAINERS: gradient + color on hover ────── */
.c-feature {
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.c-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), #2DD4BF);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.c-feature:hover::before {
    opacity: 1;
}

.c-feature__icon {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, rgba(45, 212, 191, .28) 100%);
    color: var(--color-primary);
    box-shadow: 0 4px 12px -2px rgba(13, 148, 136, .18);
    transition: all var(--transition-base);
}

.c-feature:hover .c-feature__icon {
    background: linear-gradient(135deg, var(--color-primary) 0%, #2DD4BF 100%);
    color: #fff;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 22px -4px rgba(13, 148, 136, .42);
}

.c-feature:hover {
    box-shadow:
        var(--shadow-hover),
        0 0 0 1px rgba(13, 148, 136, .12);
    border-color: rgba(13, 148, 136, .25);
}


/* ─── CTA FINAL: living gradient animation ───────────────────── */
.c-cta-final {
    background: linear-gradient(145deg, #0c8278 0%, #0D9488 40%, #0a7060 70%, #0c8278 100%);
    background-size: 300% 300%;
    animation: cta-alive 7s ease infinite;
}

@keyframes cta-alive {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}


/* ─── FAQ: left accent bar + open state ─────────────────────── */
.c-faq-item {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.c-faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-primary);
    border-radius: 0 2px 2px 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.c-faq-item:hover,
details[open].c-faq-item {
    border-color: rgba(13, 148, 136, .35);
    box-shadow: 0 4px 18px -4px rgba(13, 148, 136, .12);
    transform: translateX(3px);
}

.c-faq-item:hover::before,
details[open].c-faq-item::before {
    transform: scaleY(1);
}

details[open].c-faq-item {
    background: linear-gradient(to bottom right, var(--color-surface-2) 0%, rgba(240, 253, 250, .6) 100%);
}


/* ─── PRICING: hover on non-featured + mobile featured fix ──── */
.c-plan {
    will-change: transform;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.c-plan:not(.c-plan--featured):hover {
    transform: translateY(-7px);
    box-shadow:
        0 16px 40px -8px rgba(13, 148, 136, .2),
        0 0 0 1px rgba(13, 148, 136, .15);
    border-color: rgba(13, 148, 136, .3);
}

@media (max-width: 768px) {
    .c-plan--featured {
        transform: none;
    }

    .c-plan--featured:hover {
        transform: translateY(-4px);
    }
}


/* ─── BADGE: subtle breathe animation ──────────────────────── */
.c-badge {
    border: 1px solid rgba(13, 148, 136, .2);
    animation: badge-breathe 3.5s ease-in-out infinite;
}

@keyframes badge-breathe {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(13, 148, 136, 0);
    }

    50% {
        box-shadow: 0 0 0 5px rgba(13, 148, 136, .07);
    }
}


/* ─── STAT VALUES: gradient text ─────────────────────────────── */
.c-stat__value {
    background: linear-gradient(135deg, var(--color-primary) 0%, #2DD4BF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ─── SCROLL REVEAL: spring easing upgrade ───────────────────── */
.js-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

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

/* Stagger siblings */
.c-card-types .js-reveal:nth-child(2) {
    transition-delay: .09s;
}

.c-card-types .js-reveal:nth-child(3) {
    transition-delay: .18s;
}

.c-steps__grid .js-reveal:nth-child(2) {
    transition-delay: .10s;
}

.c-steps__grid .js-reveal:nth-child(3) {
    transition-delay: .20s;
}

.c-feature-grid .js-reveal:nth-child(2) {
    transition-delay: .10s;
}

.c-feature-grid .js-reveal:nth-child(3) {
    transition-delay: .20s;
}

.c-pricing-grid .js-reveal:nth-child(2) {
    transition-delay: .10s;
}

.c-pricing-grid .js-reveal:nth-child(3) {
    transition-delay: .20s;
}


/* ─── TESTIMONIAL: elevated hover ────────────────────────────── */
.c-testimonial {
    background: linear-gradient(135deg, #fff 0%, var(--color-surface) 100%);
    transition: box-shadow .25s ease, transform .25s ease;
}

.c-testimonial:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}


/* ─── FOOTER LINKS: underline slide ─────────────────────────── */
.c-footer__link {
    display: inline-block;
    position: relative;
}

.c-footer__link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-primary);
    transition: width var(--transition-fast);
}

.c-footer__link:hover::after {
    width: 100%;
}