/* ==========================================================================
   GUAL — Landing Page
   ========================================================================== */

/* --------------------------------------------------------------------------
   Fuentes (Google Fonts)
   -------------------------------------------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Poppins:wght@300;400;500;600&display=swap");

/* --------------------------------------------------------------------------
   Variables CSS
   -------------------------------------------------------------------------- */
:root {
    --color-bg: #252525;
    --color-bg-light: #F5F5F5;
    --color-text-light: #FFFFFF;
    --color-text-dark: #1A1A1A;
    --color-accent: #4F46E5;
    --color-whatsapp: #25D366;
    --color-whatsapp-dark: #1EBE5B;
    --color-border: #3A3A3A;

    --font-title: "Playfair Display", Georgia, serif;
    --font-body: "Poppins", "Segoe UI", sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

ul,
ol {
    list-style: none;
}

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

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

/* --------------------------------------------------------------------------
   Estilos generales
   -------------------------------------------------------------------------- */
body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--color-text-light);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Transición suave global para enlaces y botones */
a,
button {
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease,
        transform 0.25s ease, box-shadow 0.25s ease;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Slogan: uppercase, Poppins light, letter-spacing amplio */
.slogan {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------- */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.85rem 2rem;
    border-radius: 999px;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn--accent {
    background-color: var(--color-accent);
    color: var(--color-text-light);
}

.btn--accent:hover {
    background-color: #3b34c4;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
}

.btn--ghost {
    border: 1px solid var(--color-border);
    color: var(--color-text-light);
}

.btn--ghost:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn--outline {
    border: 1px solid var(--color-text-light);
    background-color: transparent;
    color: var(--color-text-light);
}

.btn--outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.2);
}

/* Variante de outline para fondos claros */
.btn--outline-light {
    border: 1px solid var(--color-accent);
    background-color: transparent;
    color: var(--color-accent);
}

.btn--outline-light:hover {
    background-color: var(--color-accent);
    color: var(--color-text-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25);
}

/* Botón CTA de WhatsApp (header y menú mobile) */
.btn--whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-whatsapp);
    color: var(--color-text-light);
    border-radius: 999px;
    padding: 0.6rem 1.25rem;
    white-space: nowrap;
}

.btn--whatsapp:hover {
    background-color: var(--color-whatsapp-dark);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Header / Navegación
   -------------------------------------------------------------------------- */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--color-bg);
    box-shadow: 0 1px 0 var(--color-border);
    transition: box-shadow 0.3s ease;
}

.header--scrolled {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
    border-bottom: 1px solid var(--color-border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

.nav__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav__logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav__link {
    position: relative;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-text-light);
    padding-bottom: 4px;
    transition: color 0.25s ease;
}

/* Underline animado en color acento */
.nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav__link:hover {
    color: var(--color-accent);
}

.nav__link:hover::after {
    transform: scaleX(1);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav__toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--color-text-light);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger → X */
.nav__toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Menú mobile (dropdown) */
.nav__mobile {
    display: none;
    flex-direction: column;
    gap: 1.25rem;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.nav__mobile.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.nav__mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav__mobile-link {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-light);
    padding: 0.4rem 0;
    transition: color 0.25s ease;
}

.nav__mobile-link:hover {
    color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 5rem 0;
    border-bottom: 1px solid var(--color-border);
}

.hero__content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 3rem;
}

.hero__badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--color-text-light);
    background-color: rgba(79, 70, 229, 0.25);
    border: 1px solid rgba(79, 70, 229, 0.5);
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}

.hero__title {
    font-family: var(--font-title);
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-text-light);
    margin-bottom: 1.25rem;
}

.hero__title-accent {
    color: var(--color-accent);
}

.hero__subtitle {
    max-width: 520px;
    font-size: 1.05rem;
    font-weight: 300;
    color: #cfcfcf;
    margin-bottom: 2rem;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__visual::before {
    content: "";
    position: absolute;
    width: 70%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.5), transparent 70%);
    filter: blur(40px);
}

.hero__image {
    position: relative;
    z-index: 1;
    width: clamp(220px, 30vw, 400px);
    height: auto;
    object-fit: contain;
    animation: heroSpin 40s linear infinite;
}

/* Animación de entrada (fade-in + slide-up) */
@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero__badge {
    animation: heroFadeIn 0.6s ease both;
}

.hero__title {
    animation: heroFadeIn 0.6s ease 0.1s both;
}

.hero__subtitle {
    animation: heroFadeIn 0.6s ease 0.2s both;
}

.hero__actions {
    animation: heroFadeIn 0.6s ease 0.3s both;
}

.hero__visual {
    animation: heroFadeIn 0.8s ease 0.35s both;
}

/* Logo usado en la sección "Nosotros" */
.hero__logo {
    margin-top: 4rem;
}

.hero__logo img {
    max-width: 520px;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Secciones
   -------------------------------------------------------------------------- */
.section {
    padding: 5rem 0;
}

.section--light {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
}

.section--light .section__kicker {
    color: var(--color-accent);
}

.section__kicker {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.section__title {
    font-family: var(--font-title);
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.section__text {
    max-width: 640px;
    color: #cfcfcf;
}

.section--light .section__text {
    color: var(--color-text-dark);
}

.section__header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem;
}

.section__header .section__title {
    margin-bottom: 1rem;
}

.section__header .section__text {
    margin: 0 auto;
}

.section__badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--color-accent);
    background-color: rgba(79, 70, 229, 0.12);
    border: 1px solid rgba(79, 70, 229, 0.3);
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}

.section__badge--dark {
    color: var(--color-text-light);
    background-color: rgba(79, 70, 229, 0.2);
    border-color: rgba(79, 70, 229, 0.5);
}

.section--cta {
    text-align: center;
    padding: 7rem 0;
    background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg) 55%, rgba(79, 70, 229, 0.6) 100%);
    border-bottom: 1px solid var(--color-border);
}

.cta__title {
    font-family: var(--font-title);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.cta__text {
    max-width: 560px;
    margin: 0 auto;
    color: #cfcfcf;
    margin-bottom: 2.5rem;
}

.cta__whatsapp {
    font-size: 1.15rem;
    padding: 1.15rem 2.6rem;
    margin-bottom: 3rem;
}

.cta__whatsapp svg {
    width: 24px;
    height: 24px;
}

.cta__form-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #9a9a9a;
    margin-bottom: 1rem;
}

.cta__form {
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.cta__form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.cta__form input,
.cta__form textarea {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.85rem 1.1rem;
    color: var(--color-text-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.cta__form input::placeholder,
.cta__form textarea::placeholder {
    color: #b0b0b0;
}

.cta__form input:focus,
.cta__form textarea:focus {
    border-color: var(--color-accent);
    background-color: rgba(255, 255, 255, 0.12);
}

.cta__form textarea {
    resize: vertical;
}

.cta__form .btn {
    align-self: center;
    width: 100%;
    margin-top: 0.5rem;
}

.cta__form .btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.cta__form-status {
    max-width: 560px;
    margin: 1rem auto 0;
    padding: 0.85rem 1.1rem;
    border-radius: 8px;
    background-color: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.5);
    color: #ffb3b8;
    font-size: 0.9rem;
    text-align: center;
}

.cta__form-success {
    max-width: 560px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--color-border);
    text-align: center;
}

.cta__form-success-title {
    font-family: var(--font-title);
    font-size: 1.6rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.cta__form-success-text {
    color: #cfcfcf;
}

/* --------------------------------------------------------------------------
   Tarjetas de servicios
   -------------------------------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card {
    background-color: var(--color-text-light);
    border-radius: 12px;
    padding: 2.2rem 1.8rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(79, 70, 229, 0.12);
    color: var(--color-accent);
    margin-bottom: 1.25rem;
}

.card__icon svg {
    width: 26px;
    height: 26px;
}

.card__title {
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.6rem;
}

.card__text {
    font-size: 0.92rem;
    color: #4a4a4a;
}

/* Animación de entrada al hacer scroll (Intersection Observer) */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.services-grid .reveal:nth-child(2) {
    transition-delay: 0.08s;
}

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

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

.services-grid .reveal:nth-child(5) {
    transition-delay: 0.32s;
}

/* --------------------------------------------------------------------------
   Features / Por qué elegirnos
   -------------------------------------------------------------------------- */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature {
    position: relative;
    text-align: center;
    padding: 0 1rem;
}

/* Separador vertical entre columnas (solo desktop) */
.feature:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 20%;
    bottom: 20%;
    right: -1rem;
    width: 1px;
    background-color: var(--color-border);
}

.feature__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
}

.feature__icon svg {
    width: 26px;
    height: 26px;
}

.feature__title {
    font-family: var(--font-title);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
}

.feature__text {
    font-size: 0.92rem;
    color: #4a4a4a;
}

/* Delay escalonado de la animación de entrada */
.features .reveal:nth-child(2) {
    transition-delay: 0.1s;
}

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

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

/* --------------------------------------------------------------------------
   Timeline / Proceso
   -------------------------------------------------------------------------- */
.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* Línea horizontal que conecta los pasos */
.timeline::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background-color: var(--color-border);
}

.timeline__item {
    position: relative;
    text-align: center;
}

.timeline__num {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    background-color: var(--color-bg);
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-accent);
}

.timeline__title {
    font-family: var(--font-title);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.timeline__text {
    font-size: 0.9rem;
    color: #cfcfcf;
}

/* Delay escalonado de la animación de entrada */
.timeline .reveal:nth-child(2) {
    transition-delay: 0.1s;
}

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

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

/* --------------------------------------------------------------------------
   Planes
   -------------------------------------------------------------------------- */
.plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
    margin-top: 3rem;
}

.plan {
    display: flex;
    flex-direction: column;
    background-color: #2E2E2E;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2.5rem 1.8rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.plan--featured {
    position: relative;
    border: 2px solid var(--color-accent);
    background-color: #33333B;
    scale: 1.03;
    z-index: 1;
}

.plan__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-accent);
    color: var(--color-text-light);
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    white-space: nowrap;
}

.plan__name {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-light);
    margin-bottom: 0.4rem;
}

.plan__desc {
    font-size: 0.92rem;
    color: #cfcfcf;
    margin-bottom: 1.75rem;
}

.plan__features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 0;
}

.plan__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: #cfcfcf;
}

.plan__features svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    color: var(--color-accent);
}

/* Cierre de sección: cotización a medida */
.plans__cta {
    margin-top: 4.5rem;
    text-align: center;
}

.plans__cta-text {
    max-width: 480px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    color: #cfcfcf;
}

.plans__cta-btn {
    font-size: 1.05rem;
    padding: 1.15rem 3.2rem;
}

/* Delay escalonado de la animación de entrada */
.plans .reveal:nth-child(2) {
    transition-delay: 0.15s;
}

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

/* --------------------------------------------------------------------------
   Testimonios
   -------------------------------------------------------------------------- */
.testimonial-cta {
    max-width: 720px;
    margin: 0 auto;
    margin-top: 3rem;
    padding: 3.5rem 2rem;
    text-align: center;
}

.testimonial-cta__quote {
    width: 56px;
    height: 56px;
    color: var(--color-accent);
    opacity: 0.45;
    margin: 0 auto 1.5rem;
}

.testimonial-cta__title {
    font-family: var(--font-title);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text-dark);
    max-width: 640px;
    margin: 0 auto 1rem;
}

.testimonial-cta__subtitle {
    font-size: 1rem;
    color: #6b6b6b;
    max-width: 480px;
    margin: 0 auto 2rem;
}

.testimonial-cta__btn {
    font-family: var(--font-body);
}

/* --------------------------------------------------------------------------
   FAQ / Acordeón
   -------------------------------------------------------------------------- */
.accordion {
    max-width: 720px;
    margin: 0 auto;
    margin-top: 3rem;
    border-top: 1px solid var(--color-border);
}

.accordion__item {
    border-bottom: 1px solid var(--color-border);
}

.accordion__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-light);
    text-align: left;
    transition: color 0.25s ease;
}

.accordion__question:hover {
    color: var(--color-accent);
}

.accordion__icon {
    position: relative;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.accordion__icon::before,
.accordion__icon::after {
    content: "";
    position: absolute;
    background-color: var(--color-accent);
    transition: transform 0.3s ease;
}

.accordion__icon::before {
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    transform: translateY(-50%);
}

.accordion__icon::after {
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
}

.accordion__item.is-open .accordion__icon::after {
    transform: translateX(-50%) rotate(90deg);
}

.accordion__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.accordion__answer-inner {
    padding: 0 2.5rem 1.25rem 0;
    font-size: 0.95rem;
    color: #cfcfcf;
}

/* Delay escalonado de la animación de entrada */
.accordion .reveal:nth-child(2) {
    transition-delay: 0.08s;
}

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

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

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

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    padding: 4rem 0 2rem;
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
}

.footer__logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
}

.footer__about {
    max-width: 260px;
    font-size: 0.9rem;
    color: #b0b0b0;
}

.footer__title {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer__links a {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: #b0b0b0;
    transition: color 0.25s ease;
}

.footer__links a:hover {
    color: var(--color-accent);
}

.footer__links svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: var(--color-accent);
}

.footer__social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    color: #b0b0b0;
    transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.footer__social a:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background-color: rgba(79, 70, 229, 0.1);
}

.footer__social svg {
    width: 18px;
    height: 18px;
}

.footer__divider {
    border-top: 1px solid var(--color-border);
    margin-bottom: 1.5rem;
}

.footer__copy {
    text-align: center;
    font-size: 0.8rem;
    color: #9a9a9a;
}

/* --------------------------------------------------------------------------
   Botón flotante de WhatsApp
   -------------------------------------------------------------------------- */
.whatsapp {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-whatsapp);
    color: var(--color-text-light);
    animation: whatsappPulse 2.5s ease-out infinite;
    transition: transform 0.25s ease, background-color 0.25s ease, opacity 0.3s ease, visibility 0.3s ease;
}

/* Pulso infinito: anillo verde que se expande, con sombra de caída constante */
@keyframes whatsappPulse {
    0% {
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4), 0 0 0 18px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp:hover {
    transform: scale(1.1);
    background-color: var(--color-whatsapp-dark);
}

/* Oculto cuando la sección de contacto está en pantalla */
.whatsapp--hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) and (min-width: 769px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 3rem;
    }

    .feature::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav__menu,
    .nav > .btn--whatsapp {
        display: none;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__mobile {
        display: flex;
    }

    .nav__logo-img {
        height: 30px;
    }

    .hero {
        padding: 4rem 0;
        text-align: center;
    }

    .hero__content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__image {
        width: clamp(180px, 60vw, 260px);
    }

    /* Timeline vertical */
    .timeline {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2.5rem;
    }

    /* Features: una columna */
    .features {
        grid-template-columns: 1fr;
        row-gap: 3rem;
    }

    .feature::after {
        display: none;
    }

    /* Planes: una columna, destacado primero */
    .plans {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
    }

    .plan--featured {
        order: -1;
        scale: 1;
    }

    /* Footer: apilado */
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Formulario del CTA: una columna */
    .cta__form-row {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        top: 0;
        bottom: 0;
        left: 28px;
        right: auto;
        width: 1px;
        height: auto;
    }

    .timeline__item {
        text-align: left;
        padding-left: 84px;
    }

    .timeline__num {
        position: absolute;
        top: 0;
        left: 0;
        margin: 0;
    }
}
