/* ==========================================================================
   MOISÉS UBILLA MELLA - SERVICIO DE TRANSPORTES
   Hoja de Estilos Principal (styles.css)
   Paleta: Azul Petróleo (#0B4F6C), Azul Noche (#041926), Acento Cian (#00B4D8)
   ========================================================================== */

:root {
    --primary: #0B4F6C;
    --primary-light: #13698f;
    --primary-dark: #073448;
    --bg-dark: #03141f;
    --bg-card: #072335;
    --bg-card-hover: #0c334d;
    --accent: #00B4D8;
    --accent-light: #90E0EF;
    --accent-hover: #0096b7;
    --whatsapp: #25D366;
    --whatsapp-dark: #1ea952;
    --text-main: #FFFFFF;
    --text-muted: #A0B3C2;
    --border-subtle: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(0, 180, 216, 0.3);
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-full: 9999px;
    --shadow-card: 0 12px 36px rgba(0, 0, 0, 0.35);
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

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

/* TYPOGRAPHY HELPERS */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
}

.gradient-text {
    background: linear-gradient(135deg, #00B4D8 0%, #90E0EF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 50px auto;
}

.section-title {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #FFFFFF;
    box-shadow: 0 6px 20px rgba(11, 79, 108, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, #1a82b0 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(11, 79, 108, 0.6);
}

.btn-whatsapp {
    background-color: var(--whatsapp);
    color: #FFFFFF;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp-secondary {
    background: rgba(37, 211, 102, 0.15);
    color: #25D366;
    border: 1px solid rgba(37, 211, 102, 0.4);
}

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

.btn-outline {
    background: transparent;
    color: #FFFFFF;
    border: 1.5px solid var(--border-subtle);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 180, 216, 0.08);
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: rgba(3, 20, 31, 0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(3, 20, 31, 0.95);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-img {
    height: 48px;
    width: auto;
    border-radius: var(--radius-sm);
    background: #FFFFFF;
    padding: 2px;
}

.brand-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.1;
}

.brand-sub {
    display: block;
    font-size: 0.75rem;
    color: var(--accent-light);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

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

.nav-btn-primary {
    background: var(--primary);
    color: #FFFFFF !important;
    padding: 10px 20px;
    border-radius: var(--radius-full);
}

.nav-btn-primary:hover {
    background: var(--primary-light);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 2rem;
    cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 180px 0 110px 0;
    background: radial-gradient(circle at 80% 20%, rgba(11, 79, 108, 0.45) 0%, rgba(3, 20, 31, 0.95) 70%),
                url('./Imagenes/Transportes Moisés - archivos varios/Hyundai Staria 0.jpeg') center/cover no-repeat;
    background-attachment: fixed;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 20, 31, 0.85) 0%, rgba(3, 20, 31, 0.96) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 180, 216, 0.12);
    border: 1px solid var(--border-accent);
    color: var(--accent-light);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.hero-badge i {
    font-size: 1.1rem;
    color: var(--accent);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 22px;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 38px;
    max-width: 760px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 60px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 20px;
}

.trust-card {
    background: rgba(7, 35, 53, 0.65);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.trust-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.trust-icon {
    font-size: 1.8rem;
    color: var(--accent);
    background: rgba(0, 180, 216, 0.12);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-card h4 {
    font-size: 0.95rem;
    margin-bottom: 3px;
}

.trust-card p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.3;
}

/* ==========================================================================
   SERVICIOS SECTION
   ========================================================================== */
.services-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 26px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}

.service-card.highlighted {
    border-color: var(--accent);
    background: linear-gradient(180deg, #092e45 0%, var(--bg-card) 100%);
}

.card-pill {
    position: absolute;
    top: 18px;
    right: 20px;
    background: var(--accent);
    color: #03141f;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.service-icon {
    font-size: 2.8rem;
    color: var(--accent);
    margin-bottom: 22px;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 14px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-list {
    list-style: none;
    border-top: 1px solid var(--border-subtle);
    padding-top: 18px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.service-list li i {
    color: var(--accent);
    flex-shrink: 0;
}

/* ==========================================================================
   FLOTA SECTION
   ========================================================================== */
.fleet-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #051a27 100%);
    border-top: 1px solid var(--border-subtle);
}

.fleet-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.tab-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.tab-btn i {
    font-size: 1.3rem;
}

.tab-btn.active, .tab-btn:hover {
    background: var(--primary);
    border-color: var(--accent);
    color: #FFFFFF;
    box-shadow: 0 6px 20px rgba(0, 180, 216, 0.25);
}

.vehicle-panel {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.vehicle-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.vehicle-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 45px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 38px;
    box-shadow: var(--shadow-card);
}

.gallery-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.main-image-container {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #020d14;
    aspect-ratio: 16/10;
    border: 1px solid var(--border-subtle);
}

.main-vehicle-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.image-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(3, 20, 31, 0.85);
    backdrop-filter: blur(8px);
    color: #FFFFFF;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--border-subtle);
}

.thumbnail-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.thumbnail-strip::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-strip::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: var(--radius-full);
}

.thumb {
    width: 80px;
    height: 56px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    opacity: 0.55;
    border: 2px solid transparent;
    transition: var(--transition);
    flex-shrink: 0;
}

.thumb.active, .thumb:hover {
    opacity: 1;
    border-color: var(--accent);
    transform: scale(1.04);
}

.vehicle-info {
    display: flex;
    flex-direction: column;
}

.vehicle-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.model-badge {
    background: var(--primary);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.spec-chip {
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent-light);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.vehicle-info h3 {
    font-size: 1.8rem;
    margin-bottom: 14px;
}

.vehicle-description {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 24px;
}

.specs-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
    background: rgba(3, 20, 31, 0.5);
    border-radius: var(--radius-md);
    padding: 18px;
    border: 1px solid var(--border-subtle);
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.spec-label i {
    color: var(--accent);
}

.spec-value {
    color: #FFFFFF;
    font-weight: 600;
    text-align: right;
}

.vehicle-cta-box {
    margin-top: auto;
}

/* ==========================================================================
   SAFETY & MINING STANDARD
   ========================================================================== */
.safety-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.safety-wrapper {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.safety-features {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 32px;
}

.safety-item {
    display: flex;
    gap: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: var(--transition);
}

.safety-item:hover {
    border-color: var(--accent);
    transform: translateX(6px);
}

.item-icon {
    font-size: 2rem;
    color: var(--accent);
    background: rgba(0, 180, 216, 0.1);
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.safety-item h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.safety-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.safety-card-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-accent);
}

.card-visual-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.visual-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 20px;
    background: rgba(3, 20, 31, 0.92);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--border-subtle);
    color: var(--accent-light);
    font-size: 0.9rem;
    font-weight: 600;
}

.visual-caption i {
    color: #25D366;
    margin-right: 6px;
}

/* ==========================================================================
   CONTACT & FORM SECTION
   ========================================================================== */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #051a27 0%, var(--bg-dark) 100%);
    border-top: 1px solid var(--border-subtle);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 30px;
}

.c-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    transition: var(--transition);
}

.c-card:not(.static):hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    background: var(--bg-card-hover);
}

.c-card i {
    font-size: 1.8rem;
    color: var(--accent);
    background: rgba(0, 180, 216, 0.1);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.c-card span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.c-card strong {
    display: block;
    font-size: 1.1rem;
    color: #FFFFFF;
    margin-top: 3px;
}

.quote-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    padding: 38px;
    box-shadow: var(--shadow-card);
}

.quote-form h3 {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.form-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(3, 20, 31, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group select option {
    background: var(--bg-card);
    color: #FFFFFF;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.2);
    background: rgba(3, 20, 31, 0.95);
}

/* LEY 19.628 PRIVACY CHECKBOX */
.privacy-consent-box {
    background: rgba(3, 20, 31, 0.6);
    border: 1px solid rgba(0, 180, 216, 0.25);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    margin: 22px 0;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    position: relative;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    top: 2px;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1.5px solid var(--accent);
    border-radius: 4px;
    margin-right: 12px;
    flex-shrink: 0;
    transition: var(--transition);
}

.checkbox-container:hover input ~ .checkmark {
    background-color: rgba(0, 180, 216, 0.2);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--accent);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #03141f;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.link-btn {
    background: none;
    border: none;
    color: var(--accent-light);
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: inherit;
    padding: 0;
}

.link-btn:hover {
    color: #FFFFFF;
}

.form-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-notice {
    padding: 14px;
    border-radius: var(--radius-sm);
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.success-notice {
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.4);
    color: #25D366;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: #020c13;
    border-top: 1px solid var(--border-subtle);
    padding: 80px 0 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 60px;
}

.brand-logo-footer {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.logo-footer {
    height: 52px;
    width: auto;
    background: #FFFFFF;
    padding: 2px;
    border-radius: var(--radius-sm);
}

.footer-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-sub {
    display: block;
    font-size: 0.75rem;
    color: var(--accent-light);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-bio {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 420px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #FFFFFF;
    padding-left: 6px;
}

.footer-contact p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact p i {
    color: var(--accent);
}

.legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 180, 216, 0.1);
    color: var(--accent-light);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.legal-link-btn {
    background: none;
    border: none;
    color: var(--accent-light);
    cursor: pointer;
    font-size: 0.85rem;
    text-decoration: underline;
}

.legal-link-btn:hover {
    color: #FFFFFF;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 62px;
    height: 62px;
    background-color: var(--whatsapp);
    color: #FFFFFF;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
    z-index: 999;
    transition: var(--transition);
}

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

.floating-tooltip {
    position: absolute;
    right: 74px;
    background: #03141f;
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    border: 1px solid var(--border-accent);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    transform: translateX(10px);
}

.floating-whatsapp:hover .floating-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   PRIVACY MODAL (LEY 19.628 CHILE)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 760px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    transform: translateY(20px);
    transition: var(--transition);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid var(--border-subtle);
}

.modal-header h3 {
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: #FFFFFF;
}

.modal-body {
    padding: 28px;
    overflow-y: auto;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.modal-intro {
    font-size: 1rem;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.modal-body h4 {
    color: var(--accent-light);
    font-size: 1.1rem;
    margin: 20px 0 8px 0;
}

.modal-body ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.modal-body li {
    margin-bottom: 8px;
}

.modal-footer {
    padding: 18px 28px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: flex-end;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vehicle-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .safety-wrapper {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .section-title {
        font-size: 1.9rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--bg-card);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        border-bottom: 1px solid var(--border-subtle);
        transform: translateY(-120%);
        transition: var(--transition);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .fleet-tabs {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
        justify-content: center;
    }
}
