/* ============================================
   TAXI SONRISAS — Global Stylesheet
   Colors: White, Black (#1a1a1a), Orange (#E8711A)
   Font: Plus Jakarta Sans
   ============================================ */

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

:root {
    --orange: #E8711A;
    --orange-hover: #d4650f;
    --orange-light: #fef5ee;
    --orange-bg: rgba(232,113,26,0.08);
    --black: #1a1a1a;
    --dark: #2d2d2d;
    --gray-700: #404040;
    --gray-500: #6b6b6b;
    --gray-400: #999;
    --gray-300: #bbb;
    --gray-200: #e5e5e5;
    --gray-100: #f5f5f5;
    --white: #ffffff;
    --cream: #fdf8f3;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --max-width: 1240px;
    --transition: 0.25s ease;
	
	--top-bar-height: 40px;
	--header-height: 82px;
	--site-header-height: calc(var(--top-bar-height) + var(--header-height));

	--mobile-top-bar-height: 33px;
	--mobile-header-height: 64px;
	--mobile-site-header-height: calc(var(--mobile-top-bar-height) + var(--mobile-header-height));
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--site-header-height);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--black);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; }
ul, ol { list-style: none; }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* --- TOP BAR --- */
.top-bar {
    position: relative;
    z-index: 2;

    height: var(--top-bar-height);
    background: rgba(255,255,255,0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(0,0,0,0.035);
    font-size: 13px;
    color: #1f1f1f;

    transform: translateY(0);
    opacity: 1;
    transition: transform 0.26s ease, opacity 0.2s ease;
}

.top-bar.top-bar--hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.top-bar__inner {
    max-width: 1240px;
    height: var(--top-bar-height);
    margin: 0 auto;
    padding: 0 24px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.top-bar__inner > * {
    flex: 0 0 auto;
}

.top-bar a { color: #1f1f1f; transition: color var(--transition); }
.top-bar a:hover { color: var(--orange); }
.top-bar__phone {
    flex-shrink: 0;
}

/* --- SOCIAL ICONS (TOP BAR) --- */

.top-bar__socials {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.top-bar__socials span {
    color: #444;
    font-size: 13px;
}

/* Contenedor clickeable */
.top-bar__socials a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;

    opacity: 0.65;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

/* Iconos */
.top-bar__socials svg {
    width: 18px;
    height: 18px;

    fill: #444;

    transition: fill 0.2s ease;
}

/* Hover */
.top-bar__socials a:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.top-bar__socials a:hover svg {
    fill: var(--orange);
}

/* Wrapper fijo del bloque superior */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
}

/* --- HEADER / NAV --- */
.header {
    position: relative;
    z-index: 1;

    padding: 0 32px;

    background: linear-gradient(
        90deg,
        rgba(255,255,255,0.88) 0%,
        rgba(255,255,255,0.78) 55%,
        rgba(255,255,255,0.66) 100%
    );

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(0,0,0,0.035);
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);

    transform: translateY(0);
    transition: transform 0.26s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.header.header--scrolled {
    transform: translateY(calc(-1 * var(--top-bar-height)));
    background: rgba(255,255,255,0.90);
    box-shadow: 0 4px 16px rgba(0,0,0,0.055);
}

.header__inner {
    max-width: 1240px;
    height: var(--header-height);
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.header__logo { 
    flex-shrink: 0; 
}

.header__logo img {
    height: 38px;
    width: auto;
}

/* NAV */
.header__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-left: auto;
}

/* LINKS */
.header__nav a {
    position: relative;

    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    color: #111111;

    padding: 18px 0 20px;  /*espacio para la línea */

    transition: color var(--transition);
    white-space: nowrap;
}

/* Hover + Active color */
.header__nav a:hover,
.header__nav a.active {
    color: var(--orange);
}

/* Línea base (oculta) */
.header__nav a::after {
    content: '';
    position: absolute;
    left: -12px;
    right: -12px;
    bottom: -16px;

    height: 3px;
    background: var(--orange);
    border-radius: 999px;

    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

/* Mostrar línea */
.header__nav a:hover::after,
.header__nav a.active::after {
    transform: scaleX(1);
}

/* CTA */
.header__cta {
    position: relative;
    overflow: hidden; /* necesario para el efecto */

    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 130px;
    height: 40px;
    padding: 0 20px;

    margin-left: 12px;

    background: #ff6b00;
    color: #ffffff !important;
    border-radius: 12px;

    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;

    box-shadow: 0 4px 14px rgba(255,107,0,0.18);

    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

/* Brillo suave */
.header__cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 100%;
    height: 100%;

    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255,255,255,0.35) 50%,
        transparent 100%
    );

    transform: skewX(-20deg);
    transition: left 0.5s ease;
}

/* Hover CTA */
.header__cta:hover {
    background: #e85f00;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255,107,0,0.25);
}

/* Activa el brillo */
.header__cta:hover::before {
    left: 120%;
}

/* Click (feedback físico) */
.header__cta:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(255,107,0,0.2);
}

/* Evitar línea debajo del botón */
.header__cta::after {
    display: none !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    padding: 8px;
    flex-shrink: 0;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- HERO --- */
.hero {
    position: relative;

    min-height: 100vh; /* ocupa toda la pantalla real */

    display: flex;
    align-items: center;

    overflow: hidden;

    /* elimina hacks */
    margin-top: 0;
    padding-top: 0;
}
.hero__bg {
    position: absolute;
    inset: 0;

    background-size: cover;
    background-position: center;

    z-index: 0;
}
.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    /*background: linear-gradient(
        90deg,
        rgba(255,255,255,0.78) 0%,
        rgba(255,255,255,0.5) 35%,
        rgba(255,255,255,0.08) 60%,
        transparent 100%
    );*/
}
.hero__content {
    position: relative;
    z-index: 2;
    max-width: 560px;
    padding: 80px 0;
}
.hero__title {
    font-size: 60px;
	color: var(--black);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
}
.hero__subtitle {
    font-size: 16px;
    color: var(--black);
	font-weight: 600;
    line-height: 1.7;
    margin-bottom: 8px;
}
.hero__microcopy {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
	margin-bottom: 16px;
	
}
.hero__microcopy span {
    padding: 5px 12px;
    border-radius: 10px;

    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(6px);

    font-size: 13px;
    font-weight: 600;

    color: var(--orange);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero__microcopy span:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.hero__buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* --- BUTTONS --- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 14px 24px;
    border-radius: var(--radius-md);

    font-size: 14px;
    font-weight: 600;
    line-height: 1;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background var(--transition),
        color var(--transition),
        border-color var(--transition);
}

.btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Efecto premium solo para botones sólidos */
.btn--primary,
.btn--dark {
    overflow: hidden;
}

.btn--primary::before,
.btn--dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 100%;
    height: 100%;

    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255,255,255,0.35) 50%,
        transparent 100%
    );

    transform: skewX(-20deg);
    transition: left 0.5s ease;
}

.btn--primary:hover::before,
.btn--dark:hover::before {
    left: 120%;
}

.btn--primary:active,
.btn--dark:active {
    transform: translateY(0);
}

/* Primary / naranja */
.btn--primary {
    background: #ff6b00;
    color: var(--white);
    box-shadow: 0 4px 14px rgba(255,107,0,0.18);
}

.btn--primary:hover {
    background: #e85f00;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255,107,0,0.25);
}

/* Dark / negro */
.btn--dark {
    background: var(--black);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(0,0,0,0.14);
}

.btn--dark:hover {
    background: var(--dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Outline / blanco */
.btn--outline {
    background: var(--white);
    color: var(--black);
    border: 1.5px solid var(--gray-200);
    box-shadow: none;
}

.btn--outline:hover {
    border-color: var(--orange);
    color: var(--orange);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

/* Ghost / texto */
.btn--ghost {
    background: transparent;
    color: var(--orange);
    padding: 10px 0;
    box-shadow: none;
}

.btn--ghost:hover {
    gap: 14px;
}

/* Store buttons: mismo tamaño */
.btn--store {
    width: 180px;
    height: 54px;
    padding: 0 20px;
    border-radius: var(--radius-md);
    justify-content: center;
}

.btn--store .btn__label-sm {
    font-size: 10px;
    font-weight: 400;
    display: block;
    line-height: 1;
}

.btn--store .btn__label-lg {
    font-size: 16px;
    font-weight: 700;
    display: block;
    line-height: 1.2;
}

/* --- SECTIONS --- */
.section { padding: 80px 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--black); color: var(--white); }
.section__header { text-align: center; margin-bottom: 48px; }
.section__tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--orange);
    margin-bottom: 12px;
}
.section__title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 12px;
}
.section__title span { color: var(--orange); }
.section__subtitle {
    font-size: 16px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- SERVICE CARDS --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.service-card:hover { border-color: var(--orange); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.service-card__icon {
    width: 48px;
    height: 48px;
    background: var(--orange-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.service-card__icon svg { width: 24px; height: 24px; color: var(--orange); }
.service-card__title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.service-card__text { font-size: 14px; color: var(--gray-500); line-height: 1.6; flex: 1; margin-bottom: 16px; }
.service-card__link {
    font-size: 14px;
    font-weight: 600;
    color: var(--orange);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition);
}
.service-card__link:hover { gap: 10px; }
.service-card__link svg { width: 16px; height: 16px; }

/* --- STATS --- */
.stats-section { position: relative; overflow: hidden; }
.stats-section__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.stats-section__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0.75) 100%);
}
.stats-section__content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.stats-section__box {
    max-width: 560px;
    padding: 48px;
}
.stats-section__title { font-size: 36px; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.stats-section__text { font-size: 15px; color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 32px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat-card {
    background: var(--orange);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
}
.stat-card__number { font-size: 36px; font-weight: 800; color: var(--white); line-height: 1; }
.stat-card__label { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.9); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 6px; }

/* --- FEATURE CARDS (App section, Vehicles) --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    transition: all var(--transition);
}
.feature-card:hover { border-color: var(--orange); box-shadow: var(--shadow-md); }
.feature-card__icon {
    width: 52px;
    height: 52px;
    background: var(--orange-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.feature-card__icon svg { width: 24px; height: 24px; color: var(--orange); }
.feature-card__title { font-size: 15px; font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }
.feature-card__text { font-size: 13px; color: var(--gray-500); line-height: 1.6; }

/* --- FAQ ACCORDION --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-item:first-child { border-top: 1px solid var(--gray-200); }
.faq-question {
    width: 100%;
    background: none;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    text-align: left;
    transition: color var(--transition);
}
.faq-question:hover { color: var(--orange); }
.faq-question__icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 300;
    color: var(--gray-400);
    flex-shrink: 0;
    transition: transform var(--transition);
}
.faq-item.active .faq-question__icon { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-answer__inner { padding: 0 0 20px; font-size: 14px; color: var(--gray-500); line-height: 1.7; }

/* --- TWO COLUMN LAYOUTS --- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }

/* --- ABOUT / NOSOTROS --- */
.about-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all var(--transition);
}
.about-card--orange { background: var(--orange); color: var(--white); border-color: var(--orange); }
.about-card--orange .about-card__text { color: rgba(255,255,255,0.9); }
.about-card__icon { margin-bottom: 16px; }
.about-card__icon svg { width: 36px; height: 36px; color: var(--orange); }
.about-card--orange .about-card__icon svg { color: var(--white); }
.about-card__title { font-size: 20px; font-weight: 800; text-transform: uppercase; margin-bottom: 12px; }
.about-card__text { font-size: 14px; line-height: 1.7; color: var(--gray-500); }

/* --- CTA BLOCK (Conduce con nosotros) --- */
.cta-block {
    position: relative;
    overflow: hidden;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 48px;

    padding: 48px 56px;
    border-radius: 24px;

    background: linear-gradient(
        135deg,
        rgba(255,107,0,0.10) 0%,
        rgba(255,255,255,0.95) 42%,
        rgba(245,245,245,0.95) 100%
    );

    border: 1px solid rgba(232,113,26,0.12);
    box-shadow: 0 10px 32px rgba(0,0,0,0.06);
}

.cta-block::before {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    left: -70px;
    top: -70px;
    border-radius: 50%;
    background: rgba(255,107,0,0.13);
}

.cta-block__content {
    position: relative;
    max-width: 520px;
}

.cta-block__title {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 18px;
}

.cta-block__text {
    position: relative;
    font-size: 16px;
    color: var(--gray-700);
    line-height: 1.75;
    max-width: 540px;
}

.cta-block__micro {
    position: relative;
    font-size: 13px;
    color: var(--gray-500);
    font-style: italic;
    margin-top: 8px;
}

/* --- FORMS --- */
.form-group { margin-bottom: 20px; }
.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 6px;
}
.form-input,
.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 14px;
    color: var(--black);
    background: var(--white);
    transition: border-color var(--transition);
}
.form-input:focus,
.form-select:focus { outline: none; border-color: var(--orange); }
.form-input::placeholder { color: var(--gray-400); }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }

/* --- CONTACT PAGE --- */
.contact-info__item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-info__icon {
    width: 44px;
    height: 44px;
    background: var(--orange-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-info__icon svg { width: 20px; height: 20px; color: var(--orange); }
.contact-info__label { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.contact-info__value { font-size: 14px; color: var(--gray-500); }
.contact-info__value a { color: var(--gray-500); transition: color var(--transition); }
.contact-info__value a:hover { color: var(--orange); }

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    margin-top: 40px;
}
.map-container iframe { width: 100%; height: 400px; border: 0; display: block; }

/* --- BILLETERA — AFFILIATE CARDS --- */
.affiliates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.affiliate-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}
.affiliate-card:hover { border-color: var(--orange); box-shadow: var(--shadow-md); }
.affiliate-card__img {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--gray-100);
}
.affiliate-card__img img { max-height: 80px; max-width: 80%; object-fit: contain; }
.affiliate-card__body { padding: 20px; text-align: center; }
.affiliate-card__name { font-size: 15px; font-weight: 700; color: var(--orange); margin-bottom: 6px; }
.affiliate-card__desc { font-size: 13px; color: var(--gray-500); line-height: 1.5; margin-bottom: 14px; min-height: 40px; }
.affiliate-card__btn {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    transition: background var(--transition);
}
.affiliate-card__btn:hover { background: var(--orange-hover); }

/* --- MODAL --- */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 24px;
}
.modal-overlay.active { display: flex; }
.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 520px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 36px;
    position: relative;
}
.modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--gray-500);
    transition: all var(--transition);
}
.modal__close:hover { background: var(--gray-200); color: var(--black); }
.modal__title { font-size: 22px; font-weight: 700; color: var(--orange); margin-bottom: 12px; }
.modal__desc { font-size: 14px; color: var(--gray-500); line-height: 1.6; margin-bottom: 20px; }
.modal__section-title { font-size: 16px; font-weight: 700; color: var(--orange); margin-bottom: 12px; }
.modal__benefit { padding: 12px 0; border-bottom: 1px solid var(--gray-200); }
.modal__benefit:last-child { border: none; }
.modal__benefit-points { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.modal__benefit-desc { font-size: 14px; color: var(--gray-500); }
.modal__info { margin-top: 20px; }
.modal__info p { font-size: 14px; margin-bottom: 6px; }
.modal__info strong { color: var(--black); }
.modal__info a { color: var(--orange); }

/* --- FOOTER --- */
.footer { background: var(--cream); padding: 64px 0 0; }
.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr) 1.5fr;
    gap: 32px;
    margin-bottom: 48px;
}
.footer__logo img { height: 40px; margin-bottom: 20px; }
.footer__store-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.footer__store-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--black);
    color: var(--white);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    width: fit-content;
    transition: background var(--transition);
}
.footer__store-btn:hover { background: var(--dark); }
.footer__store-btn svg { width: 18px; height: 18px; fill: var(--white); }
.footer__store-btn span { line-height: 1; }
.footer__store-btn .sm { font-size: 9px; display: block; }
.footer__store-btn .lg { font-size: 13px; font-weight: 700; display: block; }
.footer__heading {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--black);
    margin-bottom: 16px;
}
.footer__links li { margin-bottom: 10px; }
.footer__links a { font-size: 14px; color: var(--gray-500); transition: color var(--transition); }
.footer__links a:hover { color: var(--orange); }
.footer__libro { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.footer__libro img { height: 50px; }
.footer__subscribe-text { font-size: 13px; color: var(--gray-500); line-height: 1.6; margin-bottom: 16px; }
.footer__subscribe-form { display: flex; gap: 8px; }
.footer__subscribe-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 13px;
    background: var(--white);
}
.footer__subscribe-btn {
    position: relative;
    overflow: hidden;

    background: var(--black);
    color: var(--white);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.footer__subscribe-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255,255,255,0.35) 50%,
        transparent 100%
    );
    transform: skewX(-20deg);
    transition: left 0.5s ease;
}
.footer__subscribe-btn:hover {
    background: var(--orange);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255,107,0,0.22);
}
.footer__subscribe-btn:hover::before {
    left: 120%;
}
.footer__subscribe-note { font-size: 11px; color: var(--gray-400); margin-top: 10px; line-height: 1.5; }
.footer__bottom {
    border-top: 1px solid var(--gray-200);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer__copy { font-size: 13px; color: var(--gray-500); }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { font-size: 13px; color: var(--gray-500); transition: color var(--transition); }
.footer__legal a:hover { color: var(--orange); }

/* --- SOCIAL ICONS (FOOTER) --- */
.footer__socials {
    display: flex;
    gap: 10px;
}

.footer__socials a {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(0,0,0,0.05);

    transition:
        background 0.25s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.footer__socials svg {
    width: 16px;
    height: 16px;
    fill: #555;

    transition: fill 0.25s ease;
}

.footer__socials a:hover {
    background: var(--orange);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(232,113,26,0.25);
}

.footer__socials a:hover svg {
    fill: #fff;
}

/* --- FLOATING BUTTONS (WhatsApp + Scroll Top) --- */
.floating-btns {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}
.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition);
}
.float-btn:hover { transform: scale(1.1); }

/* WhatsApp with pulse */
.float-btn--wa {
    background: #25D366;
    position: relative;
}
.float-btn--wa::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.3);
    animation: wa-pulse 2s ease-in-out infinite;
    z-index: -1;
}
@keyframes wa-pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.25); opacity: 0; }
}
.float-btn--wa svg { width: 30px; height: 30px; fill: var(--white); }

/* Scroll to top */
.float-btn--top {
    background: var(--black);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.3s ease;
}
.float-btn--top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.float-btn--top svg { width: 20px; height: 20px; stroke: var(--white); fill: none; }

/* --- PAGE HEADERS (internal pages) --- */

/* --- INTERNAL PAGES OFFSET --- */
.internal-page .page-hero,
.internal-page main,
.internal-page > .section:first-of-type {
    margin-top: var(--site-header-height);
}
.page-hero {
    background: var(--cream);
    padding: 60px 0;
    text-align: center;
}
.page-hero__title {
    font-size: 40px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.15;
}
.page-hero__title span { color: var(--orange); }
.page-hero__subtitle {
    font-size: 15px;
    color: var(--gray-500);
    max-width: 650px;
    margin: 16px auto 0;
    line-height: 1.7;
}

/* --- APP PAGE — STEPS --- */
.steps-section { counter-reset: step; }
.step-item { display: flex; gap: 20px; margin-bottom: 16px; }
.step-number {
    width: 32px;
    height: 32px;
    background: var(--orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}
.step-text { font-size: 14px; color: var(--gray-700); line-height: 1.6; padding-top: 4px; }
.step-sub { margin-left: 52px; font-size: 14px; color: var(--gray-500); margin-bottom: 8px; }

/* --- CONVOCATORIA --- */
.conv-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.conv-form-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px;
}
.conv-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: sticky;
    top: 100px;
}
.conv-image img { width: 100%; height: auto; object-fit: cover; }

/* --- ALERT / FEEDBACK --- */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-bottom: 20px;
    display: none;
}
.alert--success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.alert--error { background: #fbe9e7; color: #c62828; border: 1px solid #ef9a9a; }
.alert.show { display: block; }

/* ============================================
   RESPONSIVE
   Breakpoints:
   - 1024px: tablets / laptops pequeñas
   - 768px: mobile / menú hamburguesa
   - 480px: mobile compacto
   ============================================ */

/* --- TABLET / MEDIUM --- */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .affiliates-grid { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: repeat(3, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .conv-layout { grid-template-columns: 1fr; }

    .cta-block {
        grid-template-columns: 1fr 1fr;
        padding: 44px 40px;
        gap: 36px;
    }

    .cta-block__title { font-size: 34px; }
}

/* --- MOBILE / SMALL --- */
@media (max-width: 768px) {
	
	:root {
    --top-bar-height: var(--mobile-top-bar-height);
    --header-height: var(--mobile-header-height);
    --site-header-height: var(--mobile-site-header-height);
	}

    /* Top bar */
    .top-bar,
    .top-bar__inner {
        height: 33px;
    }

    .top-bar {
        font-size: 12px;
    }

    .top-bar__inner {
        padding: 0 16px;
        gap: 12px;
    }

    .top-bar__socials span {
        display: none;
    }

    .top-bar__socials {
        gap: 10px;
    }

    .top-bar__socials svg {
        width: 14px;
        height: 14px;
    }

    /* Header */
    .header {
        padding: 0 16px;
    }

	.header.header--scrolled {
		transform: translateY(calc(-1 * var(--top-bar-height)));
	}

    .header__inner {
        height: 64px;
        gap: 16px;
    }

    .header__logo img {
        height: 34px;
    }

    .menu-toggle {
        display: flex;
    }

    .header__nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;

        margin-left: 0;
        padding: 20px 24px 24px;

        background: rgba(255,255,255,0.96);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);

        flex-direction: column;
        align-items: flex-start;
        gap: 16px;

        border-bottom: 1px solid rgba(0,0,0,0.06);
        box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    }

    .header__nav.open {
        display: flex;
    }

    .header__nav a {
        padding: 4px 0;
        font-size: 15px;
    }

    .header__nav a::after {
        left: 0;
        right: 0;
        bottom: -6px;
        height: 2px;
    }

    .header__cta {
        min-width: 118px;
        height: 40px;
        padding: 0 18px;
        font-size: 13px;
        border-radius: 10px;
    }

    /* Hero */
    .hero {
        min-height: 100vh;
        margin-top: 0;
        padding-top: 0;
        align-items: flex-start;
    }

    .hero__bg {
        background-position: 62% center;
    }

    .hero__bg::after {
        background: linear-gradient(
            90deg,
            rgba(255,255,255,0.88) 0%,
            rgba(255,255,255,0.68) 52%,
            rgba(255,255,255,0.24) 100%
        );
    }

    .hero__content {
        max-width: 100%;
        padding: 150px 0 72px;
    }

    .hero__title {
        font-size: 42px;
        line-height: 1.08;
        max-width: 360px;
        margin-bottom: 18px;
    }

    .hero__subtitle {
        font-size: 18px;
        line-height: 1.55;
        max-width: 360px;
    }

    .hero__microcopy {
        font-size: 16px;
        line-height: 1.5;
        max-width: 360px;
        margin-bottom: 28px;
    }

    .hero__buttons {
        flex-direction: column;
        gap: 14px;
        max-width: 360px;
    }

    .hero__buttons .btn--store {
        width: 100%;
        height: 58px;
        min-height: 58px;
        padding: 0 22px;
        justify-content: center;
        align-items: center;
    }

    .hero__buttons .btn--store .btn__label-sm {
        font-size: 12px;
        line-height: 1.1;
    }

    .hero__buttons .btn--store .btn__label-lg {
        font-size: 22px;
        line-height: 1.15;
    }

    /* Store buttons fuera del hero */
    .btn--store {
        width: auto;
        height: 52px;
        min-height: 52px;
        padding: 0 20px;
    }

    .btn--store .btn__label-sm {
        font-size: 10px;
        line-height: 1;
    }

    .btn--store .btn__label-lg {
        font-size: 16px;
        line-height: 1.2;
    }

    .btn--store + .btn--store {
        margin-left: 12px;
    }

    /* Sections */
    .section {
        padding: 56px 0;
    }

    .section__title {
        font-size: 28px;
    }

    .page-hero__title {
        font-size: 28px;
    }

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

    .two-col {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .two-col--reverse {
        direction: ltr;
    }

    /* CTA block */
    .cta-block {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 36px 28px;
        border-radius: 20px;
        text-align: left;
    }

    .cta-block__title {
        font-size: 30px;
        margin-bottom: 16px;
    }

    .cta-block__text {
        font-size: 15px;
        line-height: 1.7;
    }

    .cta-block__micro {
        font-size: 13px;
    }

    /* Stats */
    .stats-section__content {
        justify-content: center;
    }

    .stats-section__box {
        padding: 32px 24px;
    }

    .stats-section__title {
        font-size: 28px;
    }

    /* Footer */
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* --- MOBILE COMPACT --- */
@media (max-width: 480px) {

    .header__logo img {
        height: 32px;
    }

    .header__cta {
        min-width: 108px;
        height: 38px;
        padding: 0 16px;
        font-size: 13px;
    }

    .hero__content {
        padding: 140px 0 64px;
    }

    .hero__title {
        font-size: 38px;
    }

    .hero__subtitle {
        font-size: 17px;
    }

    .hero__microcopy {
        font-size: 15px;
    }

    .hero__buttons .btn--store {
        width: 100%;
        height: 58px;
        min-height: 58px;
    }

    /* Botones store fuera del hero en columna */
    .btn--store {
        width: 100%;
        max-width: 360px;
        height: 52px;
        min-height: 52px;
    }

    .btn--store + .btn--store {
        margin-left: 0 !important;
        margin-top: 12px;
    }

    .hero__buttons .btn--store + .btn--store {
        margin-top: 0;
    }

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

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

    .cta-block {
        padding: 32px 22px;
        border-radius: 18px;
    }

    .cta-block__title {
        font-size: 28px;
    }

    .cta-block .btn {
        width: 100%;
    }
}