/* ========================================================
   GEELY TLAXCALA · LANDING DE OFERTAS
   Basado en la estructura y tecnologías de autosGZ
   Fuente: Manrope
   ======================================================== */

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

:root {
    --geely-primary: #1A5FE0;
    --geely-primary-hover: #134AB5;
    --geely-dark: #0E1116;
    --geely-text: #2B3442;
    --geely-muted: #4A5565;
    --geely-border: #D8DEE8;
    --geely-border-light: #E3E8F0;
    --geely-bg-light: #F3F5F8;
    --geely-pill-blue: #E8F0FF;
    --geely-pill-cyan: #DFF4FB;
    --geely-card-selected-bg: #EAF1FF;
    --geely-footer-bg: #0E1116;
    --geely-footer-border: #323C4F;
    --geely-footer-muted: #BFC9DA;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--geely-text);
    background-color: #FFFFFF;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

#root {
    overflow: hidden;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s, opacity 0.2s;
}

button {
    font-family: inherit;
    cursor: pointer;
}

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

/* ================= CONTAINER ================= */
.geely-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

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

/* ================= HEADER / NAVBAR ================= */
.geely-header {
    background: #FFFFFF;
    border-bottom: 1px solid var(--geely-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(14, 17, 22, 0.04);
}

.geely-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.geely-brand-block {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.geely-header-logo {
    height: 38px;
    width: auto;
    display: block;
}

.geely-brand-text {
    display: flex;
    flex-direction: column;
}

.geely-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--geely-dark);
    line-height: 1.1;
}

.geely-subtitle {
    font-size: 14px;
    color: var(--geely-muted);
    margin-top: 2px;
}

.geely-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.geely-btn-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 18px;
    border: 2px solid var(--geely-dark);
    border-radius: 8px;
    color: var(--geely-dark);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
    background: transparent;
}

.geely-btn-call:hover {
    background: var(--geely-dark);
    color: #FFFFFF;
}

.geely-btn-cotizar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 8px;
    background: var(--geely-primary);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
}

.geely-btn-cotizar:hover {
    background-color: var(--geely-primary-hover);
}

/* ================= OFERTAS SWIPER SECTION ================= */
.geely-ofertas-section {
    background: var(--geely-bg-light);
    padding: 32px 0 0;
}

.geely-section-title {
    margin: 0 0 20px;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 800;
    color: var(--geely-dark);
}

.geely-slider-wrapper {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
}

.geely-banner-placeholder {
    aspect-ratio: 1920 / 600;
    width: 100%;
    min-height: 240px;
    box-sizing: border-box;
    background: #1B2230;
    border: 2px dashed #5C6B87;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    padding: 16px;
    color: #FFFFFF;
}

.geely-banner-placeholder .banner-title {
    font-size: 22px;
    font-weight: 800;
}

.geely-banner-placeholder .banner-desc {
    font-size: 15px;
    color: #BFC9DA;
}

.geely-swiper-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    color: var(--geely-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: background 0.2s;
}

.geely-swiper-btn:hover {
    background: #FFFFFF;
}

.geely-swiper-prev {
    left: 14px;
}

.geely-swiper-next {
    right: 14px;
}

.geely-swiper-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 12px 0 16px;
}

.geely-custom-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: #B6C0D0;
    cursor: pointer;
    transition: all 0.25s ease;
}

.geely-custom-dot.swiper-pagination-bullet-active {
    width: 28px;
    background: var(--geely-dark);
}

/* ================= HERO GRID (CARDS + COTIZADOR) ================= */
.geely-section {
    padding: 72px 0;
}

.geely-modelos-cotizar-section {
    padding: 48px 0 56px;
}

.geely-hero-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.geely-cards-col {
    flex: 1 1 560px;
    min-width: 0;
}

.geely-main-heading {
    margin: 0 0 12px;
    font-size: 42px;
    line-height: 1.12;
    font-weight: 800;
    color: var(--geely-dark);
}

.geely-subheading {
    margin: 0 0 24px;
    font-size: 19px;
    color: var(--geely-text);
}

.geely-cards-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.geely-model-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-sizing: border-box;
    padding: 18px;
    border-radius: 14px;
    border: 2px solid var(--geely-border-light);
    background: #FFFFFF;
    transition: all 0.2s ease;
}

.geely-model-card.selected {
    border: 2px solid var(--geely-primary);
    background: var(--geely-card-selected-bg);
    box-shadow: 0 0 0 4px rgba(26, 95, 224, 0.18);
}

.geely-card-details {
    flex: 1 1 300px;
    min-width: 0;
}

.geely-card-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
}

.geely-card-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--geely-dark);
}

.geely-card-version {
    font-size: 15px;
    color: var(--geely-muted);
}

.geely-badges-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.geely-pill {
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--geely-dark);
}

.geely-pill-blue {
    background: var(--geely-pill-blue);
}

.geely-pill-cyan {
    background: var(--geely-pill-cyan);
}

.geely-btn-card-cotizar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 28px;
    border-radius: 8px;
    background: var(--geely-primary);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
}

.geely-btn-card-cotizar:hover {
    background-color: var(--geely-primary-hover);
}

.geely-legal-disclaimer {
    margin: 16px 0 0;
    font-size: 13px;
    line-height: 1.6;
    color: var(--geely-muted);
}

/* ================= FORMULARIO CARD ================= */
.geely-form-col {
    flex: 1 1 380px;
    max-width: 480px;
    min-width: 0;
}

.geely-form-card {
    box-sizing: border-box;
    background: #FFFFFF;
    border: 1px solid var(--geely-border);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(14, 17, 22, 0.10);
}

.geely-form-title {
    margin: 0 0 4px;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 800;
    color: var(--geely-dark);
}

.geely-form-subtitle {
    margin: 0 0 16px;
    font-size: 15px;
    color: var(--geely-muted);
}

.form-error-message {
    display: none;
    margin-top: 10px;
    padding: 10px;
    background: #FFEBEE;
    color: #C62828;
    border-radius: 8px;
    font-size: 14px;
}

/* ================= TRUST STRIP ================= */
.geely-trust-strip {
    background: var(--geely-bg-light);
    border-top: 1px solid var(--geely-border-light);
    border-bottom: 1px solid var(--geely-border-light);
}

.geely-trust-items {
    padding: 18px 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 16px;
}

.geely-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: var(--geely-dark);
    font-weight: 700;
}

/* ================= SECCIÓN AGENCIA GEELY ================= */
.geely-agencia-section {
    padding: 72px 0;
}

.geely-agencia-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: center;
}

.geely-agencia-info {
    flex: 1 1 480px;
    min-width: 0;
}

.geely-agencia-image-mobile {
    display: none;
}

.geely-agencia-image-desktop {
    display: block;
}

.geely-badge-overline {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--geely-primary);
    margin-bottom: 8px;
    display: block;
    text-transform: uppercase;
}

.geely-section-heading {
    margin: 0 0 12px;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 800;
    color: var(--geely-dark);
}

.geely-agencia-text {
    margin: 0 0 24px;
    font-size: 18px;
    color: var(--geely-text);
}

.geely-features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.geely-feature-card {
    box-sizing: border-box;
    border: 1px solid var(--geely-border);
    border-radius: 14px;
    padding: 18px;
    background: #FFFFFF;
}

.geely-feature-icon {
    color: var(--geely-primary);
    margin-bottom: 8px;
}

.geely-feature-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--geely-dark);
}

.geely-stats-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.geely-stat-box {
    box-sizing: border-box;
    border: 1px dashed #8793A8;
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    color: var(--geely-text);
    font-size: 15px;
    font-weight: 600;
    background: #FFFBE6;
}

.geely-agencia-image-wrapper {
    flex: 1 1 400px;
    min-width: 0;
}

.geely-fachada-img {
    display: block;
    width: 100%;
    height: 440px;
    object-fit: cover;
    object-position: 50% 35%;
    border-radius: 16px;
}

/* ================= PASOS SECTION ================= */
.geely-pasos-section {
    background: var(--geely-bg-light);
    padding: 64px 0;
}

.geely-pasos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 36px 0 32px;
}

.geely-paso-item {
    text-align: center;
}

.geely-paso-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--geely-pill-blue);
    color: var(--geely-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
}

.geely-paso-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--geely-dark);
    margin-bottom: 4px;
}

.geely-paso-desc {
    font-size: 16px;
    color: var(--geely-text);
}

.geely-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 28px;
    border-radius: 8px;
    background: var(--geely-primary);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
}

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

/* ================= FAQS SECTION ================= */
.geely-faqs-section {
    padding: 72px 0;
}

.geely-faqs-container {
    max-width: 860px;
    margin: 0 auto;
}

.geely-accordion {
    margin-top: 24px;
}

.geely-faq-item {
    border-bottom: 1px solid var(--geely-border);
}

.geely-faq-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    padding: 12px 4px;
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 700;
    color: var(--geely-dark);
    cursor: pointer;
}

.geely-faq-question {
    font-size: 18px;
    font-weight: 700;
    color: var(--geely-dark);
}

.geely-faq-icon {
    display: inline-flex;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.geely-faq-item.open .geely-faq-icon {
    transform: rotate(180deg);
}

.geely-faq-collapse {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out;
}

.geely-faq-answer {
    margin: 0 4px 20px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--geely-text);
}

/* ================= UBICACIÓN / MAPA ================= */
.geely-ubicacion-section {
    background: var(--geely-bg-light);
    padding: 72px 0;
}

.geely-ubicacion-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: stretch;
    margin-top: 24px;
}

.geely-map-wrapper {
    flex: 1 1 620px;
    min-width: 0;
}

.geely-map-canvas {
    position: relative;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    background: #E4E9F0;
    border: 1px solid #D0D7E2;
}

.geely-map-card {
    position: absolute;
    left: 16px;
    top: 16px;
    max-width: 290px;
    box-sizing: border-box;
    background: #FFFFFF;
    border-radius: 10px;
    padding: 14px 16px;
    box-shadow: 0 4px 16px rgba(14, 17, 22, 0.18);
}

.geely-map-card-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--geely-dark);
}

.geely-map-card-agency {
    font-size: 13px;
    color: var(--geely-muted);
    margin-top: 2px;
}

.geely-map-card-address {
    font-size: 13px;
    color: var(--geely-muted);
    margin-top: 6px;
    line-height: 1.4;
}

.geely-map-card-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--geely-primary);
    text-decoration: none;
}

.geely-map-card-link:hover {
    text-decoration: underline;
}

.geely-map-badge {
    position: absolute;
    right: 10px;
    bottom: 8px;
    font-size: 12px;
    color: var(--geely-muted);
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 8px;
    border-radius: 6px;
}

.geely-ubicacion-info {
    flex: 1 1 300px;
    max-width: 400px;
    min-width: 0;
}

.geely-ubicacion-card {
    box-sizing: border-box;
    background: #FFFFFF;
    border: 1px solid var(--geely-border);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
}

.geely-ubicacion-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--geely-dark);
    margin: 0;
}

.geely-ubicacion-address {
    font-size: 16px;
    color: var(--geely-text);
    margin: 0;
    line-height: 1.5;
}

.geely-ubicacion-schedule {
    font-size: 16px;
    color: var(--geely-text);
    line-height: 1.7;
}

.geely-btn-directions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 8px;
    background: var(--geely-primary);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    box-sizing: border-box;
    margin-top: auto;
    transition: background-color 0.2s ease;
}

.geely-btn-directions:hover {
    background-color: var(--geely-primary-hover);
}

/* ================= LISTO PARA ESTRENAR ================= */
.geely-listo-section {
    background: var(--geely-pill-blue);
    padding: 72px 0;
}

.geely-listo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.geely-listo-image-wrapper {
    flex: 1 1 420px;
    min-width: 0;
}

.geely-showroom-img {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: 50% 20%;
    border-radius: 16px;
}

.geely-listo-form-wrapper {
    flex: 1 1 380px;
    max-width: 480px;
    min-width: 0;
}

/* ================= FOOTER ================= */
.geely-footer {
    background: var(--geely-footer-bg);
    color: #FFFFFF;
    padding: 56px 0 32px;
}

.geely-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.geely-footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.geely-footer-col {
    flex: 1 1 200px;
    min-width: 0;
}

.geely-footer-title {
    font-size: 24px;
    font-weight: 800;
    color: #FFFFFF;
}

.geely-footer-subtitle {
    font-size: 15px;
    color: var(--geely-footer-muted);
    margin-top: 4px;
}

.geely-footer-logo-wrap {
    margin-top: 16px;
}

.geely-footer-logo {
    height: 38px;
    width: auto;
    display: block;
    opacity: 0.9;
}

.geely-footer-col-header {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #FFFFFF;
}

.geely-footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 15px;
}

.geely-footer-links a {
    color: #FFFFFF;
    transition: opacity 0.2s;
}

.geely-footer-links a:hover {
    opacity: 0.8;
}

.geely-footer-muted {
    color: var(--geely-footer-muted);
    line-height: 1.5;
}

.geely-footer-legales-strip {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--geely-footer-border);
    font-size: 13px;
    line-height: 1.6;
    color: var(--geely-footer-muted);
}

.geely-footer-cat-note {
    margin-top: 8px;
}

.geely-footer-copyright {
    margin-top: 24px;
    font-size: 13px;
    color: var(--geely-footer-muted);
    text-align: center;
}

/* ================= TYPOGRAPHY & UTILITIES ================= */
.privacy {
    padding: 40px 0;
}
.privacy h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--geely-dark);
}
.privacy h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 24px 0 10px;
    color: var(--geely-dark);
}
.privacy p, .privacy li {
    font-size: 15px;
    line-height: 1.6;
    color: var(--geely-text);
    margin-bottom: 10px;
}
.privacy ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.hero.typ {
    padding: 100px 0;
    text-align: center;
}
.hero.typ h1 {
    font-size: 38px;
    font-weight: 800;
    color: var(--geely-dark);
    margin-bottom: 12px;
}
.hero.typ p {
    font-size: 18px;
    color: var(--geely-muted);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
    .geely-main-heading {
        font-size: 32px;
    }
    .geely-section-heading {
        font-size: 28px;
    }
    .geely-section-title {
        font-size: 26px;
    }
    .geely-pasos-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .geely-agencia-image-mobile {
        display: block !important;
        margin-bottom: 20px;
    }
    .geely-agencia-image-mobile .geely-fachada-img {
        height: 220px !important;
        width: 100% !important;
        object-fit: cover !important;
        object-position: 50% 35% !important;
        border-radius: 16px !important;
    }
    .geely-agencia-image-desktop {
        display: none !important;
    }
    .geely-features-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
    .geely-feature-card {
        padding: 14px !important;
        border-radius: 14px !important;
    }
    .geely-feature-icon {
        margin-bottom: 8px !important;
    }
    .geely-feature-icon svg {
        width: 26px !important;
        height: 26px !important;
    }
    .geely-feature-title {
        font-size: 15px !important;
        font-weight: 700 !important;
    }
    .geely-stats-row {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        margin-top: 12px !important;
    }
    .geely-stat-box {
        padding: 12px 8px !important;
        font-size: 13px !important;
    }
    .geely-showroom-img {
        height: 300px;
    }
}

@media (max-width: 600px) {
    .geely-header-container {
        padding: 12px 16px;
    }
    .geely-header-actions {
        width: 100%;
        justify-content: space-between;
    }
    .geely-btn-call,
    .geely-btn-cotizar {
        flex: 1;
        justify-content: center;
        padding: 0 10px;
        font-size: 14px;
        min-height: 44px;
    }
    .geely-main-heading {
        font-size: 28px;
    }
    .geely-subheading {
        font-size: 16px;
    }
    .geely-btn-card-cotizar {
        width: 100%;
    }
    .geely-banner-placeholder {
        aspect-ratio: auto;
        min-height: 200px;
        padding: 18px 12px;
    }
    .banner-title {
        font-size: 18px;
    }
    .banner-desc {
        font-size: 13px;
    }
    .geely-map-card {
        position: relative;
        left: 0;
        top: 0;
        max-width: 100%;
        border-radius: 0;
        box-shadow: none;
    }
    .geely-map-canvas {
        height: auto;
    }
    .geely-map-badge {
        display: none;
    }
}
