/* =======================
   RESET GENERAL
======================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f4f7fb;
    color: #333;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* =======================
   CONTENEDOR GENERAL
======================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

section {
    padding: 80px 0;
}

h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #1c6ea4;
}

/* =======================
   HEADER
======================= */
header {
    background: linear-gradient(135deg, #1c6ea4, #00BFFF);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
}

/* LOGO CON TEXTO AL LADO */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.logo-text {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    white-space: nowrap;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
    font-weight: 500;
    transition: 0.3s ease;
    position: relative;
}

nav a:hover,
nav a.active {
    color: #FF8C00;
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #FF8C00;
    border-radius: 3px;
}

/* =======================
   HERO
======================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(rgba(28, 110, 164, 0.8), rgba(0, 191, 255, 0.6)), url('https://images.unsplash.com/photo-1584982751601-97dcc096659c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 2;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: 1.6rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.2rem;
}

.feature-item i {
    font-size: 3rem;
    margin-bottom: 0.8rem;
    color: #FF8C00;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* =======================
   BOTONES
======================= */
.btn,
.filtro-btn {
    font-family: inherit;
}

.btn {
    background: #FF8C00;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn.primary {
    padding: 16px 40px;
    font-size: 1.3rem;
}

.btn.secondary {
    background: #25D366;
    padding: 14px 35px;
    font-size: 1.2rem;
}

/* =======================
   PRODUCTOS Y CARDS
======================= */
#productos h2 {
    font-size: 3rem;
    margin-bottom: 2.5rem;
    font-weight: 700;
    color: #1c6ea4;
}

.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 300px));
    justify-content: center;
    grid-auto-rows: 1fr;       /* todas las filas con el mismo alto */
    align-items: stretch;
    gap: 25px;
    padding: 20px;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 300px;
    justify-self: center;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: 0.4s;
}

.card:hover {
    transform: translateY(-8px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
}

.card-marca {
    margin: 14px 0 4px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #FF8C00;
}

.card h3 {
    flex-grow: 1;              /* empuja el botón al fondo: todas las cards quedan alineadas */
    margin: 0 0 18px;
    font-size: 1.1rem;
    line-height: 1.35;
    color: #2b2b2b;
}

/* =======================
   FILTROS
======================= */
.filtros {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.filtro-btn {
    background: #e0e0e0;
    border: none;
    padding: 12px 28px;
    margin: 0;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.2rem;
    min-width: 160px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filtro-btn:hover {
    background: #FF8C00;
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.3);
}

.filtro-btn.active {
    background: #1c6ea4;
    color: white;
    box-shadow: 0 6px 15px rgba(28, 110, 164, 0.3);
}

/* =======================
   POR QUÉ ELEGIRNOS
======================= */
#porque {
    background: linear-gradient(135deg, #f8faff, #ffffff);
}

#porque h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 2rem;
    justify-content: center;
}

.feature-box {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem 1.8rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    background: white;
    transition: all 0.35s ease;
    text-align: center;
}

.feature-box:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px rgba(28, 110, 164, 0.15);
}

.feature-box i {
    font-size: 3.2rem;
    color: #00BFFF;
    margin-bottom: 1.5rem;
}

.feature-box h3 {
    font-size: 1.55rem;
    color: #1c6ea4;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-box .feature-desc {
    text-align: justify;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #555;
    flex-grow: 1;
    margin-bottom: 1rem;
    hyphens: auto;
    text-align-last: left;
}

/* =======================
   ACERCA DE NOSOTROS
======================= */
#about {
    background: transparent;
    padding: 100px 0;
}

.about {
    max-width: 1000px;
    text-align: center;
    margin: 0 auto;
}

#about h2 {
    font-size: 3.2rem;
    color: #1c6ea4;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-subtitle,
.about-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.8rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
    hyphens: auto;
    text-align-last: left;
}

.about-subtitle {
    font-size: 1.5rem;
    color: #333;
    font-weight: 500;
}

/* =======================
   STATS
======================= */
#stats {
    background: #1c6ea4;
    color: white;
    text-align: center;
    padding: 80px 0;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat {
    flex: 1;
    min-width: 200px;
}

.stat h2.counter {
    font-size: 4rem;
    font-weight: 800;
    color: white !important;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.stat p {
    font-size: 1.3rem;
    color: #e0f0ff;
    margin: 0;
}

/* =======================
   MODAL DE PRODUCTO
======================= */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 800px;
    padding: 30px;
    border-radius: 10px;
    max-height: 90vh;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.close {
    float: right;
    font-size: 28px;
    cursor: pointer;
}

.modal-marca {
    margin: 0 0 4px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #FF8C00;
}

.modal-content h2 {
    margin: 0;
    padding-right: 30px;
    text-align: left;
    font-size: 1.7rem;
    color: #1c6ea4;
}

.modal-content h3 {
    margin: 28px 0 10px;
    font-size: 1.15rem;
    color: #1c6ea4;
}

.modal-modelo {
    margin: 4px 0 0;
    color: #666;
}

.modal-img {
    display: block;
    width: 100%;
    max-width: 320px;
    height: 260px;
    object-fit: contain;
    margin: 20px auto;
    border-radius: 8px;
}

.modal-resumen {
    line-height: 1.6;
    color: #333;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.spec-table th,
.spec-table td {
    padding: 9px 12px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #e6edf3;
}

.spec-table th {
    width: 42%;
    font-weight: 600;
    color: #444;
    background: #f5f8fb;
}

.feature-list {
    margin: 0;
    padding-left: 20px;
    line-height: 1.6;
    color: #333;
}

.feature-list li {
    margin-bottom: 6px;
}

.btn.secondary-dark {
    background: #25D366;
}

.btn-center .btn i {
    margin-right: 6px;
}

.btn-center {
    text-align: center;
    margin: 30px 0 20px 0;
}

.btn-center .btn {
    display: inline-block;
    margin: 6px 8px;
    min-width: 240px;
    padding: 14px 30px;
    font-size: 1.1rem;
}

/* =======================
   WHATSAPP FLOAT
======================= */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 65px;
    height: 65px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2.5s infinite;
}

.whatsapp-float img {
    width: 32px;
    height: 32px;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* =======================
   CONTACTO
======================= */
.contact {
    max-width: 600px;
    margin: auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-family: 'Poppins', sans-serif;
}

.contact button {
    margin-top: 15px;
}

/* =======================
   MAPA
======================= */




/* =======================
   TEASER EN HOME
======================= */
.teaser-productos {
    background: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.teaser-productos h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: #1c6ea4;
}

.teaser {
    max-width: 1000px;
    margin: 0 auto 40px;
}

.teaser-cta {
    margin-top: 40px;
}

/* =======================
   FOOTER
======================= */
footer {
    background: transparent;
    color: rgb(0, 0, 0);
    text-align: center;
    padding: 40px 0;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

footer p {
    margin: 0;
    font-size: 1rem;
}

/* =======================
   RESPONSIVE
======================= */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 15px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-subtitle,
    .section-subtitle {
        font-size: 1.3rem;
    }

    #porque h2,
    #productos h2 {
        font-size: 2.5rem;
    }

    .feature-box,
    .vm-card {
        padding: 2rem 1.5rem;
    }

    .feature-box i {
        font-size: 2.8rem;
    }

    .about-subtitle {
        font-size: 1.3rem;
    }

    .about-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 600px) {
    .modal-content {
        width: 95%;
        padding: 20px;
    }
}

@media (min-width: 900px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
        max-width: 1100px;
        margin-left: auto;
        margin-right: auto;
    }
}
/* DROPDOWN MENU PARA PRODUCTOS */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    color: white;
    font-weight: 500;
    margin-left: 25px;
    background: none;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
    padding: 10px 0;
}

.dropbtn:hover {
    color: #FF8C00;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1c6ea4;
    min-width: 200px;
    width: max-content;
    max-width: min(340px, 90vw);   /* nombres largos de categoría se ajustan en 2 líneas */
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 8px;
    overflow: hidden;
    right: 0;                      /* se abre hacia la izquierda: no se sale de la pantalla */
}

.dropdown-content a {
    color: white;
    padding: 14px 20px;
    text-decoration: none;
    display: block;
    transition: 0.3s;
    width: 100%;
    line-height: 1.35;
}

.dropdown-content a:hover {
    background-color: #00BFFF;
    color: white;
}

.dropdown-content:not([hidden]) {
    display: block;
}

/* En móvil el menú Productos se centra respecto a la pantalla
   (va después de las reglas base para poder sobrescribirlas) */
@media (max-width: 768px) {
    .dropdown-content {
        position: fixed;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        max-width: 90vw;
    }
}

/* VISIÓN Y MISIÓN */
.vision-mision {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.vm-card {
    background: white;                  /* fondo blanco pa' el cuadrito */
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);  /* sombra suave */
    max-width: 500px;
    flex: 1;
    transition: transform 0.3s ease;
    text-align: center;
}

.vm-card:hover {
    transform: translateY(-8px);        /* levanta al hover */
}

.vm-card h3 {
    font-size: 1.8rem;
    color: #1c6ea4;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.vm-card p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #555;
    text-align: justify;
    hyphens: auto;
    text-align-last: left;
}

/* Responsive pa que se apilen bien */
@media (max-width: 768px) {
    .vision-mision {
        flex-direction: column;
        gap: 2rem;
    }

    .vm-card {
        padding: 2rem;
    }

    .vm-card h3 {
        font-size: 1.6rem;
    }
}
/* CONTACTO - Diseño moderno y limpio */
#contacto {
    background: #f8fafc;
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-form h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: #1c6ea4;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #4a5568;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    resize: none; /* bloquea estiramiento con mouse */
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF8C00;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card, .map-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.info-card h3, .map-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: #1c6ea4;
}

.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.contact-list strong {
    color: #1e293b;
    font-size: 1.1rem;
}

.contact-list span {
    color: #64748b;
    font-size: 1rem;
}

.contact-list .icon {
    font-size: 1.6rem;
    color: #FF8C00;
    margin-bottom: 0.5rem;
}





/* Centrado del botón "Enviar Mensaje" */
.contact-form .btn {
    display: block;
    margin: 1.5rem auto 0;
    width: fit-content;
    min-width: 220px;
    text-align: center;
}

/* Responsive: en móvil el grid se apila */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
/* Mapa ocupa todo el espacio disponible */
.map-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%; /* fuerza que la card ocupe todo el alto disponible */
    display: flex;
    flex-direction: column;
}

.map-card h3 {
    margin-bottom: 1rem;
}





/* Responsive: en móvil baja un poco la altura mínima */

/* Navegación y controles compartidos */
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid #b34f00; outline-offset: 4px; }
section { scroll-margin-top: 160px; }
nav { display: flex; align-items: center; gap: 24px; }
nav a, .dropbtn { margin: 0; }
.dropbtn { font: inherit; font-weight: 500; min-height: 44px; }
.dropbtn.active { color: #ffb45a; }
.dropdown-content a { margin: 0; }
.dropdown-content[hidden] { display: none; }
.page-title { color: #1c6ea4; font-size: 3rem; text-align: center; margin-bottom: 2rem; line-height: 1.2; }
.contact-form .page-title { font-size: 2.2rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; line-height: 1.4; text-align: center; }
.hero-ctas .btn { flex: 1; max-width: 320px; padding: 16px 24px; font-size: 1.15rem; }
.card .btn { width: 100%; }
.filtros { gap: 12px; }
.filtro-btn, .filtro-btn.active { font-size: 1rem; min-height: 56px; }
.contact-list a { color: #1c6ea4; overflow-wrap: anywhere; }
.map-container { width: 100%; margin: 0; border-radius: 12px; overflow: hidden; }
.map-container iframe { display: block; width: 100%; height: 350px; border: 0; }
.map-card { height: auto; }

/* El diálogo nativo mantiene el foco dentro y restaura el botón de origen. */
.modal { border: 0; padding: 16px; margin: auto; width: 100%; max-width: none; height: 100%; max-height: none; background: transparent; }
.modal[open] { display: flex; }
.modal::backdrop { background: rgba(0, 0, 0, .7); }
.modal-content { position: relative; width: 100%; max-height: 90dvh; overscroll-behavior: contain; }
.close { position: sticky; top: 0; z-index: 1; width: 44px; height: 44px; background: #f4f7fb; color: #1c6ea4; border: 0; border-radius: 50%; line-height: 1; }
.spec-table { table-layout: fixed; overflow-wrap: anywhere; }
.modal-content .btn-center { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.modal-content .btn-center .btn { min-width: 0; margin: 0; padding: 14px 12px; font-size: 1rem; }
.modal-content .btn-center .btn i { margin: 0; }

@media (max-width: 992px) {
    .nav { flex-direction: column; gap: 12px; }
}
@media (max-width: 600px) {
    header { padding: 12px 0; }
    .logo-container { gap: 8px; }
    .logo-img { height: 38px; max-width: 70px; }
    .logo-text { font-size: clamp(1.05rem, 5.3vw, 1.5rem); }
    nav { width: 100%; justify-content: space-between; gap: 4px; }
    nav > a, .dropbtn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 3px; font-size: .85rem; }
    .dropdown-content { width: calc(100vw - 32px); max-width: 360px; }
    .dropdown-content a { min-height: 48px; }
    section, #about, #contacto, .teaser-productos { padding: 48px 0; }
    .hero { height: auto; min-height: 0; padding: 48px 0; }
    .hero-content { width: 100%; padding: 0 5%; }
    .hero h1 { font-size: clamp(2rem, 9vw, 3rem); line-height: 1.15; }
    .hero-subtitle, .section-subtitle { font-size: 1.05rem; }
    .hero-features { gap: 12px; margin-bottom: 28px; }
    .feature-item { flex: 1; min-width: 0; font-size: .8rem; }
    .feature-item i { font-size: 2rem; }
    .hero-ctas { flex-direction: column; gap: 12px; }
    .hero-ctas .btn { width: 100%; max-width: none; flex: auto; min-height: 52px; padding: 14px; font-size: 1rem; }
    .page-title, #porque h2, #productos h2, #about h2, .contact-form .page-title { font-size: 2rem; }
    .features { grid-template-columns: minmax(0, 1fr); }
    .products { padding: 0; gap: 20px; }
    .filtros { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 28px; }
    .filtro-btn, .filtro-btn.active { min-width: 0; padding: 10px 8px; min-height: 64px; font-size: .9rem; line-height: 1.3; }
    .feature-box, .vm-card, .contact-form, .info-card, .map-card { padding: 24px 18px; min-width: 0; }
    .feature-box .feature-desc, .about-text, .vm-card p { text-align: left; }
    .contact-grid { gap: 24px; min-width: 0; }
    .form-group input, .form-group textarea { min-width: 0; font-size: 16px; }
    .form-group textarea { resize: vertical; }
    .contact-form .btn, .teaser-cta .btn { width: 100%; min-width: 0; font-size: 1rem; padding: 14px; }
    .map-container iframe { height: 280px; }
    .modal { padding: 10px; }
    .modal-content { padding: 18px; max-height: calc(100dvh - 20px); }
    .modal-content h2 { font-size: 1.4rem; }
    .modal-img { height: 200px; }
    .spec-table { font-size: .85rem; }
    .spec-table th, .spec-table td { padding: 8px 6px; }
    .modal-content .btn-center { grid-template-columns: minmax(0, 1fr); }
    .modal-content .btn-center .btn { min-height: 52px; }
    .whatsapp-float { width: 52px; height: 52px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); }
    footer { padding: 32px 0 90px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

.map-link { display: block; padding: 14px 8px; color: #1c6ea4; text-align: center; font-weight: 600; }
