@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Nunito:wght@300;400;500;600;700;800&display=swap');

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

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

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

input,
textarea {
    font: inherit;
    color: inherit;
}

ul {
    list-style: none;
}

/* ---------- Design tokens ---------- */
:root {
    --color-background: #ffffff;
    --color-foreground: hsl(215 25% 27%);
    --color-muted: #f4f2f3;
    --color-muted-foreground: hsl(215 14% 42%);
    --color-border: #e7e1dc;

    --color-brand: #13273f;
    --color-brand-dark: #0a1626;
    --color-brand-light: #f3eae3;
    --color-sky: #77a5a5;
    --color-sky-light: color-mix(in srgb, #77a5a5 14%, white);
    --color-gold: #cca573;
    --color-gold-light: color-mix(in srgb, #cca573 16%, white);
    --color-card-a: hsl(214 70% 39%);
    --color-card-a-light: color-mix(in srgb, hsl(214 70% 39%) 12%, white);
    --color-card-b: hsl(204 70% 63%);
    --color-card-b-light: color-mix(in srgb, hsl(204 70% 63%) 16%, white);
    --color-whatsapp: hsl(142 70% 42%);

    --shadow-soft: 0 18px 50px -24px rgba(19, 39, 63, 0.32);
    --shadow-softer: 0 10px 34px -22px rgba(19, 39, 63, 0.22);

    --radius-lg: 1.75rem;
    --radius-md: 1.125rem;
    --radius-full: 999px;

    --container-max: 78rem;

    --font-sans: 'Nunito', ui-sans-serif, system-ui, sans-serif;
    --font-display: 'Poppins', ui-sans-serif, system-ui, sans-serif;
}

body {
    font-family: var(--font-sans);
    color: var(--color-foreground);
    background: var(--color-background);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-brand-dark);
}

p {
    color: var(--color-muted-foreground);
    line-height: 1.7;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* ---------- Layout ---------- */
.section {
    padding: 3.5rem 1.25rem;
}

@media (min-width: 768px) {
    .section {
        padding: 5rem 2.5rem;
    }
}

.section--lg {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

@media (min-width: 768px) {
    .section--lg {
        padding-top: 7rem;
        padding-bottom: 7rem;
    }
}

.section--muted {
    background: var(--color-muted);
}

.section--brand-light {
    background: color-mix(in srgb, var(--color-brand-light) 60%, transparent);
}

.container {
    max-width: var(--container-max);
    margin-inline: auto;
}

.text-center {
    text-align: center;
}

.narrow {
    max-width: 42rem;
    margin-inline: auto;
}

/* Grid helpers */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid--align-start {
    align-items: start;
}

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

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

.grid-4 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-6 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
    .grid-2,
    .grid-3,
    .grid-4,
    .grid-6 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .grid-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .grid-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .grid-6 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.split {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .split {
        grid-template-columns: 1.05fr 1fr;
    }

    .split--reverse {
        grid-template-columns: 0.85fr 1fr;
    }

    .split--image-left {
        grid-template-columns: 0.8fr 1fr;
        align-items: start;
    }

    .split--narrow-right {
        grid-template-columns: 1.1fr 0.9fr;
        align-items: start;
    }
}

/* ---------- Typography helpers ---------- */
.eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    background: var(--color-brand-light);
    color: var(--color-brand);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.heading-xl {
    font-size: 2.25rem;
    letter-spacing: -0.02em;
    line-height: 1.08;
}

@media (min-width: 640px) {
    .heading-xl {
        font-size: 3rem;
    }
}

@media (min-width: 768px) {
    .heading-xl {
        font-size: 3.75rem;
    }
}

.heading-lg {
    font-size: 1.875rem;
}

@media (min-width: 768px) {
    .heading-lg {
        font-size: 2.25rem;
    }
}

.text-brand {
    color: var(--color-brand);
}

.lead {
    margin-top: 1.5rem;
    max-width: 36rem;
    font-size: 1.125rem;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: scale(0.98);
}

.btn--primary {
    background: var(--color-brand);
    color: #fff;
    box-shadow: var(--shadow-softer);
}

.btn--primary:hover {
    background: var(--color-brand-dark);
}

.btn--outline {
    background: #fff;
    color: var(--color-brand);
    border: 1px solid color-mix(in srgb, var(--color-brand) 30%, transparent);
}

.btn--outline:hover {
    background: var(--color-brand-light);
}

.btn--white {
    background: #fff;
    color: var(--color-brand);
    box-shadow: var(--shadow-soft);
}

.btn--white:hover {
    background: var(--color-brand-light);
}

.btn--block {
    width: 100%;
    justify-content: center;
}

@media (min-width: 640px) {
    .btn--block {
        width: auto;
    }
}

/* ---------- Cards ---------- */
.card {
    height: 100%;
    border: 1px solid var(--color-border);
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-softer);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
}

.card--center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.card--row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card--big-icon {
    padding: 2rem;
}

.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: var(--color-brand-light);
    color: var(--color-brand);
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.icon-box--lg {
    width: 4rem;
    height: 4rem;
    border-radius: 1.25rem;
}

.icon-box--round {
    border-radius: 999px;
}

.icon-box--sky {
    background: var(--color-sky-light);
    color: var(--color-sky);
}

.icon-box--brand-solid {
    background: var(--color-brand);
    color: #fff;
}

.icon-box--white-15 {
    background: rgba(255, 255, 255, 0.15);
}

.card:hover .icon-box:not(.icon-box--sky):not(.icon-box--white-15) {
    background: var(--color-brand);
    color: #fff;
}

.card:hover .icon-box--round {
    transform: scale(1.1);
}

.card-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.0625rem;
    color: var(--color-foreground);
}

.card-title--brand {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--color-brand-dark);
    font-size: 1.125rem;
}

.card-text {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

.card--expandable {
    cursor: pointer;
}

.card--expandable > summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    list-style: none;
}

.card--expandable > summary::-webkit-details-marker {
    display: none;
}

.card--expandable .card-text {
    text-align: left;
}

.card-text--preview {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.card--expandable[open] .card-text--preview {
    display: none;
}

.card--expandable__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-brand);
}

.card--expandable[open] .card--expandable__toggle {
    display: none;
}

.card--expandable:hover .card--expandable__toggle {
    text-decoration: underline;
}

.card--expandable__toggle-label::after {
    content: "Ver más";
}

.card--expandable__chevron {
    color: var(--color-brand);
    transition: transform 0.3s ease;
}

.card--expandable[open] .card--expandable__chevron {
    transform: rotate(180deg);
}

.card--expandable__close {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-card-a);
    cursor: pointer;
}

.card--expandable[open] .card--expandable__close {
    display: inline-flex;
}

.card--expandable__close:hover {
    text-decoration: underline;
}

.feature-card--sky .card--expandable__toggle,
.feature-card--sky .card--expandable__close,
.feature-card--sky .card--expandable__chevron {
    color: var(--color-card-b);
}

/* ---------- Feature cards: disciplinas (fondo blanco, blob de acento) ---------- */
.feature-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: auto -20% -30% auto;
    width: 60%;
    aspect-ratio: 1;
    border-radius: 999px;
    background: radial-gradient(circle, color-mix(in srgb, var(--color-card-a) 30%, transparent) 0%, transparent 70%);
    z-index: -1;
    transition: transform 0.4s ease;
}

.feature-card--sky::before {
    background: radial-gradient(circle, color-mix(in srgb, var(--color-card-b) 40%, transparent) 0%, transparent 70%);
}

.feature-card:hover {
    border-color: color-mix(in srgb, var(--color-card-a) 30%, var(--color-border));
}

.feature-card--sky:hover {
    border-color: color-mix(in srgb, var(--color-card-b) 35%, var(--color-border));
}

.feature-card:hover::before {
    transform: scale(1.2);
}

.feature-card .icon-box {
    background: var(--color-card-a-light);
    color: var(--color-card-a);
}

.feature-card--sky .icon-box--sky {
    background: var(--color-card-b-light);
    color: var(--color-card-b);
}

.feature-card:hover .icon-box:not(.icon-box--sky):not(.icon-box--white-15) {
    background: var(--color-card-a);
    color: #fff;
}

.feature-card--sky:hover .icon-box--sky {
    background: var(--color-card-b);
    color: #fff;
}

.feature-card .eyebrow {
    background: var(--color-card-a-light);
    color: var(--color-card-a);
}

.feature-card--sky .eyebrow {
    background: var(--color-card-b-light);
    color: var(--color-card-b);
}

.testimonial-card__media-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 1rem;
}

.testimonial-card__avatar {
    position: absolute;
    left: 1.25rem;
    bottom: -1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    background: var(--color-card-a);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    border: 3px solid #fff;
    box-shadow: var(--shadow-softer);
}

.feature-card--sky .testimonial-card__avatar {
    background: var(--color-card-b);
}

.card-text--quote::before {
    content: "\201C";
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    line-height: 0.5;
    color: color-mix(in srgb, var(--color-card-a) 55%, transparent);
    margin-bottom: 0.5rem;
}

.feature-card--sky .card-text--quote::before {
    color: color-mix(in srgb, var(--color-card-b) 55%, black);
}

/* ---------- Images ---------- */
.media {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media--portrait {
    max-width: 30rem;
    aspect-ratio: 3 / 4;
    margin-inline: auto;
}

@media (min-width: 1024px) {
    .media--portrait {
        margin-inline: 0;
    }
}

.testimonial-card__media {
    width: 100%;
    aspect-ratio: 4 / 3;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    padding-inline: 1.25rem;
}

@media (min-width: 768px) {
    .navbar {
        padding-inline: 2.5rem;
    }
}

.navbar.is-scrolled {
    border-bottom-color: var(--color-border);
    box-shadow: var(--shadow-softer);
}

.navbar__inner {
    max-width: var(--container-max);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 0.75rem;
}

@media (min-width: 768px) {
    .navbar__inner {
        padding-block: 1rem;
    }
}

.navbar__logo {
    display: flex;
    align-items: center;
}

.navbar__logo-img {
    height: 3.3275rem;
    width: auto;
}

@media (min-width: 1024px) {
    .navbar__logo-img {
        height: 3.66025rem;
    }
}

.navbar__links {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .navbar__links {
        display: flex;
    }
}

.navbar__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: color-mix(in srgb, var(--color-foreground) 75%, transparent);
    transition: color 0.2s ease;
}

.navbar__link:hover {
    color: var(--color-brand);
}

.navbar__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar__cta {
    display: none;
}

@media (min-width: 640px) {
    .navbar__cta {
        display: inline-flex;
    }
}

.navbar__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    color: var(--color-brand);
    transition: background 0.2s ease;
}

.navbar__toggle:hover {
    background: var(--color-brand-light);
}

@media (min-width: 1024px) {
    .navbar__toggle {
        display: none;
    }
}

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    border-top: 1px solid var(--color-border);
    background: #fff;
    transition: max-height 0.3s ease;
}

@media (min-width: 1024px) {
    .mobile-menu {
        display: none;
    }
}

.mobile-menu__inner {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 1.25rem;
}

.mobile-menu__link {
    padding: 0.625rem 0.75rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
    transition: all 0.2s ease;
}

.mobile-menu__link:hover {
    background: var(--color-brand-light);
    color: var(--color-brand);
}

.mobile-menu__cta {
    margin-top: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    background: var(--color-brand);
    color: #fff;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding-top: 7rem;
    padding-bottom: 4rem;
    padding-inline: 1.25rem;
}

@media (min-width: 768px) {
    .hero {
        padding-top: 9rem;
        padding-bottom: 6rem;
        padding-inline: 2.5rem;
    }
}

.hero__glow {
    position: absolute;
    pointer-events: none;
    right: -8rem;
    top: -6rem;
    width: 32rem;
    height: 32rem;
    border-radius: 50%;
    background: var(--color-brand-light);
    opacity: 0.7;
    filter: blur(64px);
}

.hero__grid {
    position: relative;
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero__grid {
        grid-template-columns: 1.05fr 1fr;
    }
}

.hero__actions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.chip-list {
    margin-top: 2.25rem;
    display: grid;
    max-width: 32rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0.75rem 1.5rem;
}

@media (min-width: 640px) {
    .chip-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.chip-list__item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
}

.chip-list__item .icon {
    flex-shrink: 0;
    color: var(--color-brand);
}

.hero__image-wrap {
    position: relative;
}

.hero__floating-card {
    display: none;
    position: absolute;
    bottom: -1.25rem;
    left: -1.25rem;
    border-radius: 1rem;
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-softer);
}

@media (min-width: 640px) {
    .hero__floating-card {
        display: block;
    }
}

.hero__floating-card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-brand);
}

.hero__floating-card-sub {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

/* ---------- Steps ---------- */
.steps {
    margin-top: 3rem;
    display: grid;
    gap: 1.5rem 1.5rem;
    row-gap: 2.5rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .steps {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (min-width: 1024px) {
    .step {
        align-items: flex-start;
        text-align: left;
    }
}

.step__number {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-brand);
}

.step__title {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    color: color-mix(in srgb, var(--color-foreground) 85%, transparent);
}

/* ---------- Pill tags (actividad física) ---------- */
.tag-group {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: var(--color-brand-light);
    color: var(--color-brand);
    font-size: 0.875rem;
    font-weight: 500;
}

.stack {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ---------- CTA banner ---------- */
.cta-banner {
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    background: var(--color-brand);
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

@media (min-width: 768px) {
    .cta-banner {
        padding: 5rem 4rem;
    }
}

.cta-banner__blob {
    position: absolute;
    pointer-events: none;
    width: 16rem;
    height: 16rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    filter: blur(40px);
}

.cta-banner__blob--tr {
    right: -4rem;
    top: -4rem;
}

.cta-banner__blob--bl {
    left: -4rem;
    bottom: -4rem;
}

.logo-motif {
    position: absolute;
    pointer-events: none;
    width: 26rem;
    height: 26rem;
}

.logo-motif--tr {
    top: -3rem;
    right: -4rem;
}

.logo-motif--bl {
    left: -5rem;
    bottom: -5rem;
    transform: scale(-1);
}

.cta-banner .logo-motif {
    color: color-mix(in srgb, var(--color-gold) 55%, transparent);
    width: 30rem;
    height: 30rem;
    top: 50%;
    right: -5rem;
    transform: translateY(-50%);
}

.section--decor {
    position: relative;
    overflow: hidden;
}

.section--decor > .container {
    position: relative;
}

.section--brand-light .logo-motif {
    color: color-mix(in srgb, var(--color-gold) 45%, transparent);
}

.faq-logo-decor {
    position: absolute;
    pointer-events: none;
    width: 16.9rem;
    opacity: 0.3;
}

.faq-logo-decor--tr {
    top: -1rem;
    right: -1.5rem;
}

.faq-logo-decor--bl {
    left: -2rem;
    bottom: -1.5rem;
    transform: scaleX(-1);
}

.section--muted-dark {
    background: color-mix(in srgb, var(--color-brand-light) 55%, var(--color-muted));
}

.cta-banner h2 {
    position: relative;
    color: #fff;
}

.cta-banner p {
    position: relative;
    margin: 1.25rem auto 0;
    max-width: 42rem;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-banner .btn {
    position: relative;
    margin-top: 2.25rem;
}

/* ---------- FAQ ---------- */
.faq-list {
    margin: 3rem auto 0;
    max-width: 48rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background: #fff;
    box-shadow: var(--shadow-softer);
}

.faq-item > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--color-foreground);
}

.faq-item > summary::-webkit-details-marker {
    display: none;
}

.faq-item__chevron {
    flex-shrink: 0;
    color: var(--color-brand);
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-item__chevron {
    transform: rotate(180deg);
}

.faq-item__answer {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1.1fr 0.9fr;
        align-items: start;
    }
}

.contact-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    background: #fff;
    padding: 1.75rem;
    box-shadow: var(--shadow-soft);
}

@media (min-width: 768px) {
    .contact-card {
        padding: 2.25rem;
    }
}

.contact-card p {
    margin-top: 0.75rem;
}

.form {
    margin-top: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form__row {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
    .form__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.form__field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form__label {
    font-size: 0.875rem;
    font-weight: 500;
    color: color-mix(in srgb, var(--color-foreground) 80%, transparent);
}

.form__input,
.form__textarea {
    width: 100%;
    border-radius: 1rem;
    border: 1px solid var(--color-border);
    background: #fff;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--color-foreground);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: color-mix(in srgb, var(--color-muted-foreground) 70%, transparent);
}

.form__input:focus,
.form__textarea:focus {
    border-color: var(--color-brand);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-brand) 20%, transparent);
}

.form__textarea {
    resize: none;
}

.form__error {
    font-size: 0.75rem;
    color: #dc2626;
}

.form__success {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 1rem;
    background: var(--color-brand-light);
    padding: 3rem 1.5rem;
}

.form__success .icon {
    color: var(--color-brand);
}

.form__success-title {
    margin-top: 1rem;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-foreground);
}

.form__success-text {
    margin-top: 0.25rem;
    font-size: 0.875rem;
}

.contact-side {
    display: flex;
    height: 100%;
    flex-direction: column;
    gap: 1rem;
}

.contact-tile {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background: #fff;
    padding: 1.5rem;
    box-shadow: var(--shadow-softer);
    transition: all 0.3s ease;
}

a.contact-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.contact-tile__label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-muted-foreground);
}

.contact-tile__value {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-foreground);
}

.contact-tile--brand {
    flex: 1;
    background: var(--color-brand);
    color: #fff;
}

.contact-tile--brand .contact-tile__label {
    color: rgba(255, 255, 255, 0.8);
}

.contact-tile--brand .contact-tile__value {
    color: #fff;
}

/* ---------- Footer ---------- */
.footer {
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--color-border);
    background: color-mix(in srgb, var(--color-muted) 40%, transparent);
    padding: 3.5rem 1.25rem;
}

.footer > .container {
    position: relative;
}

.footer__decor {
    position: absolute;
    pointer-events: none;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 10rem;
    opacity: 0.16;
}

@media (min-width: 768px) {
    .footer {
        padding: 3.5rem 2.5rem;
    }
}

.footer__grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .footer__grid {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }
}

.footer__brand-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-brand);
}

.footer__brand-tag {
    margin-top: 0.25rem;
    font-family: var(--font-display);
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

.footer__brand-text {
    margin-top: 1rem;
    max-width: 20rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__col-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: color-mix(in srgb, var(--color-foreground) 60%, transparent);
}

.footer__link {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    transition: color 0.2s ease;
}

.footer__link:hover {
    color: var(--color-brand);
}

.footer__social {
    display: flex;
    gap: 0.75rem;
}

.footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: #fff;
    color: var(--color-brand);
    transition: all 0.2s ease;
}

.footer__social-link:hover {
    background: var(--color-brand);
    color: #fff;
    transform: translateY(-2px);
}

.footer__bottom {
    margin-top: 3rem;
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

/* ---------- WhatsApp floating button ---------- */
.whatsapp-fab {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 999px;
    background: var(--color-whatsapp);
    color: #fff;
    box-shadow: var(--shadow-soft);
    transition: all 0.2s ease;
}

@media (min-width: 768px) {
    .whatsapp-fab {
        bottom: 1.75rem;
        right: 1.75rem;
    }
}

.whatsapp-fab:hover {
    transform: translateY(-2px);
}

.whatsapp-fab:active {
    transform: scale(0.95);
}

.whatsapp-fab__pulse {
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-whatsapp) 60%, transparent);
    animation: fab-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes fab-ping {
    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .whatsapp-fab__pulse {
        animation: none;
    }
}
