* {
    box-sizing: border-box;
}

:root {
    --primary-color: #8c78ed;
    --gradient-end-color: #bbaff7;
    --text-color: #0a0a0a;
    --background-color: #FDFDFD;
    --text-light-color: #FFFFFF;
    --border-radius: 8px;
    --font-family-body: 'Rubik', sans-serif;
    --font-family-title: 'Karla', sans-serif;
    --font-size-regular: 1.1rem;
    --font-size-large: 1.2rem; /* 19.2px */
    --font-size-h2-mobile: 1.8rem; /* Reducido para móvil */
    --font-size-h2-desktop: 2.8rem;
}

body {
    font-family: var(--font-family-body);
    line-height: 1.7;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    font-size: var(--font-size-regular);
    overflow-x: hidden; /* La solución definitiva para evitar el scroll horizontal */
}

.skip-link {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    background-color: var(--primary-color);
    color: var(--text-light-color);
    padding: 0.5rem 1rem;
    display: block;
    text-align: center;
}

h1, h2, h3, h4 {
    font-family: var(--font-family-title);
    line-height: 1.2;
    margin-top: 0;
    font-weight: 700;
    color: var(--primary-color);
}

h1 {
    font-size: var(--font-size-xl);
}

h2 {
    font-size: var(--font-size-h2-mobile);
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

.main-header {
    background: #FFFFFF;
    border-bottom: 1px solid #EAEAEA;
    text-align: center;
    padding: 1rem 0;
}


/* Hero Announcement Section */
.hero-announcement {
    text-align: center;
    padding: 5rem 0;
    background: linear-gradient(45deg, var(--primary-color), var(--gradient-end-color));
    color: #1a1a1a; /* Texto oscuro y nítido para contraste */
}

.hero-announcement h2 {
    font-size: var(--font-size-h2-mobile);
    margin-bottom: 1rem;
    text-shadow: none; /* Eliminamos la sombra para evitar el efecto borroso */
}

.hero-announcement .hero-subheadline {
    font-size: 1.35rem; /* 22px */
    color: #1a1a1a;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-announcement .hero-subheadline strong {
    font-weight: 700; /* Aumentamos el peso para destacar */
    color: #1a1a1a;
}

.hero-subheadline a {
    color: #1a1a1a;
    font-weight: 700;
    text-decoration: underline;
    text-shadow: none; /* Eliminamos la sombra */
}

.hero-subheadline a:hover {
    text-decoration: none;
}

.cta-button {
    background-color: var(--text-light-color);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.cta-button:hover {
    background-color: #f1f1f1;
    text-decoration: none;
    transform: translateY(-3px);
}

/* Content Sections */
.content-section {
    padding: 3rem 1rem; /* Padding horizontal añadido a la sección */
}

.content-section-light {
    background-color: #F4F8FA;
    padding: 3rem 1rem; /* Padding horizontal añadido a la sección */
}

.content-section p, .content-section-light p {
    font-size: var(--font-size-regular);
    max-width: 720px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header .eyebrow {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Key Features Section */
.key-features {
    padding: 4rem 0;
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.features-grid article {
    padding: 2rem;
    background: var(--text-light-color);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #EAEAEA;
}
/* -- Logo Styles -- */
.brand-partnership {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
}

.brand-partnership a {
    display: inline-flex;
    align-items: center;
}

.logo-mca-taxi {
    height: 40px; /* Tamaño reducido para móvil */
    width: auto;
}

.logo-89t {
    height: 35px; /* Tamaño reducido para móvil */
    width: auto;
}

.heart-emoji {
    font-size: 1.2rem; /* Tamaño reducido para móvil */
    color: #E24A4A;
    margin: 0 0.5rem; /* Margen reducido para móvil */
}

/* --- Breakpoints para Tablet y Escritorio --- */

@media (min-width: 768px) {
    body {
        font-size: 1.125rem; /* 18px */
    }

    .container {
        padding: 0; /* Reseteamos el padding en escritorio */
    }

    .content-section, .content-section-light {
        padding: 4rem 0;
    }
    
    .content-section p, .content-section-light p {
       font-size: var(--font-size-large);
       padding: 0;
    }

    h2 {
        font-size: var(--font-size-h2-desktop);
    }
    
    .hero-announcement h2 {
        font-size: var(--font-size-h2-desktop);
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }

    /* Restaurar tamaños de logo para escritorio */
    .logo-mca-taxi {
        height: 70px;
    }

    .logo-89t {
        height: 65px;
    }

    .heart-emoji {
        font-size: 2rem;
        margin: 0 1.5rem;
    }
}