@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* --- Colores Corporativos Base --- */
    --color-primary: #0D131E;
    /* Azul Marino Oscuro */
    --color-accent: #EAB308;
    /* Amarillo Oro / Mostaza */
    --color-secondary: #EAB308;
    /* Amarillo Oro / Mostaza */

    /* --- Variaciones de Fondo y Superficie --- */
    --color-bg-main: #F4F4F2;
    /* Off-White */
    --color-bg-card: #FFFFFF;
    /* Blanco Puro */

    /* --- Tipografía y Contraste --- */
    --color-text-dark: #0D131E;
    /* Títulos y párrafos principal */
    --color-text-muted: #576574;
    /* Gris neutro */
    --color-text-white: #FFFFFF;
    /* Texto sobre botones o fondos oscuros */

    /* --- Estados Interactivos (Hover) --- */
    --color-accent-hover: #CA8A04;
    /* Tono mostaza más oscuro */
    --color-primary-hover: #1A2536;
    /* Variante más suave del azul */
    --color-secondary-hover: #CA8A04;
    /* Tono mostaza más oscuro */

    /* --- Estructura Sutil (Minimalista) --- */
    --border-color: #E2E8F0;
    --border-radius: 8px;
    /* Aumentado ligeramente para mayor fluidez visual */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* --- Sombras de Superficie --- */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 10px 15px -3px rgba(13, 19, 30, 0.05), 0 4px 6px -2px rgba(13, 19, 30, 0.02);
    --shadow-premium: 0 20px 25px -5px rgba(13, 19, 30, 0.08), 0 10px 10px -5px rgba(13, 19, 30, 0.04);
}

/* --- Reset & Base Styles --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-bg-main);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-main);
}

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

/* --- Layout Utilities --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-title-wrapper {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-tag {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-secondary);
    background-color: rgba(234, 179, 8, 0.08);
    padding: 0.25rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    position: relative;
}

.section-title span {
    color: var(--color-secondary);
}

.section-desc {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-white);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

.btn-accent:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-text-white);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-text-white);
}

.btn-secondary:hover {
    background-color: var(--color-secondary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-full {
    width: 100%;
}

/* --- Header & Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 1.25rem 0;
    background-color: var(--color-primary);
    border-bottom: 2px solid var(--color-accent);
}

.header.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-md);
    background-color: var(--color-primary);
    border-bottom: 2px solid var(--color-accent);
}



.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 90px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

.header .logo-img {
    filter: brightness(0) invert(1);
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--color-text-white);
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--color-accent);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text-white);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--color-accent);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    display: block;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text-white);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 12rem 0 8rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../assets/img/hero_fondo.webp');
    background-size: cover;
    background-position: center 75%;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(13, 19, 30, 0.8) 0%, rgba(13, 19, 30, 0.4) 100%);
    z-index: 1;
}

.hero-content.text-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--color-text-white);
}

.hero-title span {
    color: var(--color-primary);
    position: relative;
    display: inline-block;
    padding: 0.1rem 0.8rem;
    margin: 0 0.2rem;
    white-space: nowrap;
}

.hero-title span::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 0;
    right: 0;
    bottom: 2px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #FDE047 100%);
    border-radius: 8px;
    z-index: -1;
    transform: rotate(-2deg);
    box-shadow: 0 10px 20px -5px rgba(234, 179, 8, 0.4);
    transition: var(--transition-smooth);
}

.hero-title:hover span::before {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 0 15px 25px -5px rgba(234, 179, 8, 0.5);
}

.hero-desc {
    font-size: 1.25rem;
    color: #E2E8F0;
    margin-bottom: 2.5rem;
    max-width: 650px;
}

.hero-actions.justify-center {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.btn-outline-light {
    background-color: transparent;
    color: var(--color-text-white);
    border: 2px solid var(--color-text-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-outline-light:hover {
    background-color: var(--color-text-white);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.hero-stats.justify-center {
    display: flex;
    justify-content: center;
    gap: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2.5rem;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--color-secondary);
    font-family: 'Outfit', sans-serif;
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-size: 0.95rem;
    color: #CBD5E1;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Responsive Hero Section --- */
@media (max-width: 768px) {
    .hero {
        padding: 11rem 0 5rem 0;
        min-height: auto;
        align-items: flex-start;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-desc {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-actions.justify-center {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }

    .hero-actions.justify-center .btn {
        width: 100%;
    }

    .hero-stats.justify-center {
        gap: 2rem;
        flex-wrap: wrap;
    }

    .stat-item h4 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 10rem 0 4rem 0;
        min-height: auto;
        align-items: flex-start;
    }

    .hero-title {
        font-size: 1.85rem;
    }

    .hero-title span {
        padding: 0.1rem 0.6rem;
        margin: 0.3rem 0;
        display: inline-block;
        /* Mantener como bloque para que el fondo no se rompa */
        white-space: nowrap;
    }

    .hero-title span::before {
        border-radius: 6px;
    }

    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-stats.justify-center {
        flex-direction: column;
        gap: 1.25rem;
        padding-top: 2rem;
    }

    .stat-item h4 {
        font-size: 1.75rem;
    }
}

@media (max-width: 425px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-title span {
        padding: 0.1rem 0.5rem;
        margin: 0.4rem 0;
    }

    .hero-desc {
        font-size: 0.9rem;
    }
}

/* --- Features Section --- */
.features {
    background-color: var(--color-bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    background-color: var(--color-bg-main);
    padding: 2.25rem 1.75rem;
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    background-color: var(--color-bg-card);
    border-color: var(--border-color);
    box-shadow: var(--shadow-lg);
}

.feature-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background-color: rgba(10, 122, 134, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
    background-color: var(--color-accent);
    color: var(--color-text-white);
}

.feature-icon-wrapper svg {
    width: 24px;
    height: 24px;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* --- Models Section --- */
.models-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.model-card {
    background-color: var(--color-bg-card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.model-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
}

.model-image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.model-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.model-card:hover .model-img {
    transform: scale(1.05);
}

.model-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--color-primary);
    color: var(--color-text-white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.model-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.model-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.model-specs {
    display: flex;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.spec-info {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.spec-info svg {
    width: 16px;
    height: 16px;
    fill: var(--color-accent);
}

.model-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.model-price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.price-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.model-price {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-accent);
}

.model-sizes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
    background-color: var(--color-bg-main);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.model-size-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.model-size-item span {
    color: var(--color-text-muted);
}

.model-size-item strong {
    color: var(--color-accent);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

/* --- Calculator Section (Cotizador) --- */
.calculator {
    background-color: var(--color-primary);
    color: var(--color-text-white);
    position: relative;
    overflow: hidden;
}

.calculator .section-title {
    color: var(--color-text-white);
}

.calculator .section-desc {
    color: #94A3B8;
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.calculator-info h3 {
    color: var(--color-text-white);
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.calculator-info p {
    color: #94A3B8;
    margin-bottom: 2rem;
}

.calc-bullet-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.calc-bullet {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.calc-bullet-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(234, 179, 8, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.calc-bullet-icon svg {
    width: 14px;
    height: 14px;
}

.calc-bullet-text h5 {
    color: var(--color-text-white);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.calc-bullet-text p {
    color: #94A3B8;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.calculator-card {
    background-color: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-premium);
}

.calc-group {
    margin-bottom: 1.75rem;
}

.calc-label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-white);
}

.calc-select {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-text-white);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.calc-select option {
    background-color: var(--color-primary);
    color: var(--color-text-white);
}

.calc-select:focus {
    border-color: var(--color-accent);
}

/* Checkboxes grid */
.calc-checkbox-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.calc-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.calc-checkbox-label:hover {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.calc-checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    outline: none;
    background-color: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.calc-checkbox-label input[type="checkbox"]:checked {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

.calc-checkbox-label input[type="checkbox"]:checked::after {
    content: '✓';
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 800;
}

.calc-checkbox-label.checked {
    background-color: rgba(234, 179, 8, 0.05);
    border-color: rgba(234, 179, 8, 0.3);
}

/* Results panel */
.calc-result-panel {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-text-wrapper {
    display: flex;
    flex-direction: column;
}

.result-title {
    font-size: 0.85rem;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.result-price {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-top: 0.25rem;
}

/* --- Process Section (Timeline) --- */
.process {
    background-color: var(--color-bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 2rem 0;
    position: relative;
    width: 50%;
    transition: var(--transition-smooth);
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 3rem;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 3rem;
    text-align: left;
}

.timeline-badge {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-bg-main);
    border: 3px solid var(--color-secondary);
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    z-index: 10;
    top: calc(2rem + 10px);
}

.timeline-item:nth-child(odd) .timeline-badge {
    right: -20px;
}

.timeline-item:nth-child(even) .timeline-badge {
    left: -20px;
}

.timeline-content {
    background-color: var(--color-bg-main);
    padding: 1.75rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.timeline-item:hover .timeline-content {
    background-color: var(--color-bg-card);
    border-color: var(--border-color);
    box-shadow: var(--shadow-md);
}

.timeline-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-item:nth-child(odd) .timeline-title {
    justify-content: flex-end;
}

.timeline-item:nth-child(even) .timeline-title {
    justify-content: flex-start;
}

.timeline-item:nth-child(odd) .timeline-content {
    border-right: 4px solid var(--color-secondary);
}

.timeline-item:nth-child(even) .timeline-content {
    border-left: 4px solid var(--color-secondary);
}

.timeline-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* --- Contact & Form Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-title-group h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.contact-title-group p {
    color: var(--color-text-muted);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(10, 122, 134, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    flex-shrink: 0;
}

.contact-detail-icon svg {
    width: 20px;
    height: 20px;
}

.contact-detail-text h5 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-detail-text p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.contact-card {
    background-color: var(--color-bg-card);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

/* --- Premium Map Card --- */
#contact-map-card {
    padding: 0;
    overflow: hidden;
    min-height: 450px;
    height: 100%;
}

#contact-map-card iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
    display: block;
    border: 0;
    /* Dark Mode Filter for Google Maps */
    filter: invert(90%) hue-rotate(180deg) contrast(100%) brightness(95%);
    transition: var(--transition-smooth);
}

/* Optional: Slight color reveal on hover */
#contact-map-card:hover iframe {
    filter: invert(90%) hue-rotate(180deg) contrast(110%) brightness(100%);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.last {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.form-input {
    width: 100%;
    background-color: var(--color-bg-main);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    color: var(--color-text-dark);
    transition: var(--transition-smooth);
}

.form-input:focus {
    border-color: var(--color-accent);
    background-color: var(--color-bg-card);
    box-shadow: 0 0 0 3px rgba(10, 122, 134, 0.15);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.form-feedback {
    display: none;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.form-feedback.error {
    display: block;
    color: #DC2626;
}

.form-feedback.success {
    display: block;
    color: #16A34A;
    background-color: #DCFCE7;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
}

/* --- Footer --- */
.footer {
    background-color: var(--color-primary);
    color: var(--color-text-white);
    padding: 4rem 0 1rem 0;
    border-top: 4px solid var(--color-accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--color-text-white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-accent);
}

.footer-logo-desc {
    color: #94A3B8;
    font-size: 0.9rem;
    margin-top: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-white);
    transition: var(--transition-smooth);
}

.social-link:hover {
    background-color: var(--color-accent);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: #94A3B8;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: var(--color-accent);
    padding-left: 0.25rem;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #94A3B8;
    font-size: 0.9rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    fill: var(--color-accent);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 0.85rem;
    color: #94A3B8;
}

.footer-copy span {
    color: var(--color-accent);
    font-weight: 500;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

/* --- Mobile Menu Drawer --- */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--color-bg-card);
    z-index: 1050;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    padding: 6rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--color-primary);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-link:hover {
    color: var(--color-accent);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(13, 19, 30, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1020;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* --- Responsive Adaptations --- */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-grid {
        gap: 2rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .models-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .calculator-wrapper {
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-menu,
    .nav-cta {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image-wrapper {
        order: -1;
    }

    .hero-badge-overlay {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
        width: 80%;
        max-width: 250px;
    }

    .models-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .calculator-wrapper {
        grid-template-columns: 1fr;
    }

    .timeline::after {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 3.5rem;
        padding-right: 0 !important;
        text-align: left !important;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-badge {
        left: 0 !important;
        right: auto !important;
    }

    .timeline-item:nth-child(odd) .timeline-title,
    .timeline-item:nth-child(even) .timeline-title {
        justify-content: flex-start;
    }

    .timeline-item:nth-child(odd) .timeline-content {
        border-right: none;
        border-left: 4px solid var(--color-secondary);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-card {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ==========================================
   FLYER STYLE HERO SECTION
   ========================================== */
.hero-flyer {
    position: relative;
    min-height: 100vh;
    padding: 8rem 0 5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-flyer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    pointer-events: none;
}

.hero-flyer-bg .navy-band {
    height: 290px;
    background-color: var(--color-primary);
    width: 100%;
}

.hero-flyer-bg .yellow-band {
    height: 110px;
    background-color: var(--color-accent);
    width: 100%;
}

.hero-flyer-bg .white-band {
    flex-grow: 1;
    background-color: var(--color-bg-main);
    width: 100%;
}

.hero-flyer-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flyer-card-wrapper {
    width: 100%;
    max-width: 620px;
    background-color: var(--color-bg-card);
    padding: 4.5rem 3.5rem 3rem 3.5rem;
    box-shadow: 0 25px 50px -12px rgba(13, 19, 30, 0.25);
    border: 1px solid var(--border-color);
    position: relative;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.flyer-logo-box {
    position: absolute;
    top: -42px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-bg-card);
    border: 3px solid var(--color-primary);
    padding: 0.5rem 1.25rem;
    width: 170px;
    height: 84px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-md);
}

.flyer-logo-img {
    max-height: 70px;
    max-width: 100%;
    object-fit: contain;
}

.flyer-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/11;
    margin: 1rem 0 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flyer-image-navy-border {
    position: absolute;
    bottom: -10px;
    width: 95%;
    height: 55%;
    background-color: var(--color-primary);
    z-index: 1;
    border-radius: 2px;
}

.flyer-image-frame {
    position: relative;
    z-index: 2;
    width: 90%;
    height: 100%;
    background: #FFFFFF;
    padding: 10px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
}

.flyer-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flyer-title-main {
    font-family: 'Outfit', sans-serif;
    font-size: 3.25rem;
    font-weight: 800;
    letter-spacing: 0.35em;
    color: var(--color-primary);
    text-align: center;
    margin-top: 0.5rem;
    line-height: 1.1;
    margin-left: 0.35em;
}

.flyer-subtitle-bar {
    background-color: var(--color-accent);
    width: 100%;
    padding: 0.45rem 0;
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.flyer-subtitle-bar h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.5em;
    color: var(--color-primary);
    margin-left: 0.5em;
    line-height: 1.2;
}

.flyer-bottom-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    margin-top: 0.5rem;
}

.tagline-text {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.tagline-line {
    height: 2px;
    background-color: var(--color-accent);
    flex-grow: 1;
}

.hero-flyer-actions {
    margin-top: 2.5rem;
    display: flex;
    gap: 1.5rem;
}

/* Responsive Styles for Flyer Hero */
@media (max-width: 768px) {
    .hero-flyer {
        padding-top: 7rem;
    }

    .hero-flyer-bg .navy-band {
        height: 250px;
    }

    .hero-flyer-bg .yellow-band {
        height: 90px;
    }

    .flyer-card-wrapper {
        padding: 3.5rem 2rem 2.5rem 2rem;
        max-width: 90%;
    }

    .flyer-logo-box {
        width: 140px;
        height: 70px;
        top: -35px;
    }

    .flyer-logo-img {
        max-height: 56px;
    }

    .flyer-title-main {
        font-size: 2.5rem;
        letter-spacing: 0.25em;
        margin-left: 0.25em;
    }

    .flyer-subtitle-bar h2 {
        font-size: 1.3rem;
        letter-spacing: 0.4em;
        margin-left: 0.4em;
    }

    .tagline-text {
        font-size: 0.7rem;
    }

    .hero-flyer-actions {
        flex-direction: column;
        width: 90%;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-flyer-bg .navy-band {
        height: 210px;
    }

    .flyer-title-main {
        font-size: 2rem;
        letter-spacing: 0.2em;
        margin-left: 0.2em;
    }

    .flyer-subtitle-bar h2 {
        font-size: 1.1rem;
        letter-spacing: 0.3em;
        margin-left: 0.3em;
    }

    .tagline-text {
        font-size: 0.58rem;
    }

    .flyer-image-frame {
        padding: 6px;
    }
}

/* --- Special Layout Overrides --- */
#models-cards-container,
#conditions-container-grid {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {

    #models-cards-container,
    #conditions-container-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.85rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.6rem;
    }
}

/* --- WhatsApp Floating Button --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.3);
    color: #FFF;
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: currentColor;
    margin-top: 1px;
}

@media screen and (max-width: 767px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* --- Back to Top Button --- */
.back-to-top {
    position: fixed;
    width: 45px;
    height: 45px;
    bottom: 100px;
    right: 30px;
    background-color: var(--color-primary);
    color: var(--color-text-white);
    border: none;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--color-primary);
}

.back-to-top svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

@media screen and (max-width: 767px) {
    .back-to-top {
        bottom: 80px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    .back-to-top svg {
        width: 24px;
        height: 24px;
    }
}

/* --- WhatsApp Pulse Button --- */
.btn-whatsapp-pulse {
    background-color: #25D366;
    color: #FFF !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    animation: pulse-whatsapp 2s infinite;
    font-weight: 700;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-whatsapp-pulse:hover {
    background-color: #128C7E;
    color: #FFF !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    animation: none;
}

.btn-whatsapp-pulse svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* --- Gallery Section --- */
.gallery {
    padding: 5rem 0;
    background-color: var(--color-bg-card);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4 / 3;
    transition: var(--transition-smooth);
    background-color: var(--color-bg-main);
}

.gallery-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}