/* ═══════════════════════════════════════════════════════
   PÁGINAS PÚBLICAS — nosotros, marcas, favoritos, auth
   Tecnoboot Web
═══════════════════════════════════════════════════════ */

/* ── Nosotros — Hero ─────────────────────────────── */
.nosotros-hero {
    position: relative;
    height: 320px;
    background: linear-gradient(135deg, var(--color-main) 0%, var(--color-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 0;
}
.nosotros-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="40" fill="rgba(255,255,255,0.03)"/><circle cx="80" cy="80" r="60" fill="rgba(255,255,255,0.03)"/></svg>') center/cover;
}
.nosotros-hero-content {
    position: relative;
    text-align: center;
    color: #fff;
    z-index: 2;
}
.nosotros-hero-content h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 10px;
}
.nosotros-hero-content p {
    font-size: 1.1rem;
    opacity: .85;
}

/* ── Nos — Tags / Títulos ────────────────────────── */
.nos-tag {
    display: inline-block;
    background: rgba(0,27,134,.08);
    color: var(--color-main);
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 12px;
    border-radius: 20px;
}
.nos-titulo {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: #1a1a2e;
}

/* ── Nos — Cards misión/visión ───────────────────── */
.nos-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    height: 100%;
    transition: transform .25s, box-shadow .25s;
}
.nos-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(0,27,134,.1); }
.nos-card-icon {
    width: 64px; height: 64px;
    background: rgba(0,27,134,.08);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    color: var(--color-main);
    margin: 0 auto 16px;
}
.nos-card h4 { font-size: 1.1rem; font-weight: 700; color: #1a1a2e; margin-bottom: 10px; }
.nos-card p  { font-size: .9rem; color: #666; line-height: 1.7; margin: 0; }

/* ── Nos — Imagen About ──────────────────────────── */
.nos-about-img-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #eef0f8;
    display: flex; align-items: center; justify-content: center;
    min-height: 300px;
}
.nos-about-img-wrap img {
    width: 100%; max-height: 380px;
    object-fit: contain;
    padding: 20px;
}
.nos-about-badge {
    position: absolute;
    bottom: 20px; right: 20px;
    background: var(--color-main);
    color: #fff;
    border-radius: 12px;
    padding: 12px 16px;
    text-align: center;
    font-weight: 800;
    box-shadow: 0 4px 16px rgba(0,27,134,.4);
}
.nos-about-badge span { font-size: 1.6rem; display: block; line-height: 1; }
.nos-about-badge small { font-size: .72rem; opacity: .85; }

/* ── Nos — Stats ─────────────────────────────────── */
.nos-stat-box {
    background: #fff;
    border-radius: 12px;
    padding: 16px 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.nos-stat-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-main);
}
.nos-stat-box small { font-size: .78rem; color: #888; }

/* ── Nos — Marcas grid ───────────────────────────── */
.nos-marcas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}
.nos-marca-item {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    padding: 20px 12px 14px;
    display: flex; flex-direction: column; align-items: center;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    cursor: default;
}
.nos-marca-item:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,27,134,.1); border-color: rgba(0,27,134,.25); }
.nos-marca-item img {
    max-width: 110px; max-height: 60px;
    object-fit: contain; margin-bottom: 10px;
}
.nos-marca-nombre {
    width: 80px; height: 60px;
    background: rgba(0,27,134,.07);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .9rem; color: var(--color-main);
    margin-bottom: 10px;
}
.nos-marca-label { font-size: .82rem; font-weight: 600; color: #333; text-align: center; }

/* ── Nos — Contacto ──────────────────────────────── */
.nos-contact-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    height: 100%;
}
.nos-contact-item {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 10px 0; border-bottom: 1px solid #f3f3f3;
    font-size: .9rem; color: #444;
}
.nos-contact-item:last-child { border-bottom: none; }
.nos-contact-item i { color: var(--color-main); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.nos-mapa-wrap { border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.08); height: 100%; min-height: 350px; }
.nos-social { display: flex; gap: 10px; flex-wrap: wrap; }
.nos-social-btn {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(0,27,134,.08); color: var(--color-main);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; text-decoration: none;
    transition: background .2s, color .2s;
}
.nos-social-btn:hover { background: var(--color-main); color: #fff; }

/* ── Marcas — Full Grid ──────────────────────────── */
.marcas-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.marca-full-card {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 16px;
    padding: 28px 20px 18px;
    display: flex; flex-direction: column; align-items: center;
    text-decoration: none; color: inherit;
    transition: transform .22s, box-shadow .22s, border-color .22s;
}
.marca-full-card:hover { transform: translateY(-5px); box-shadow: 0 10px 28px rgba(0,27,134,.12); border-color: rgba(0,27,134,.25); color: inherit; }
.marca-full-img-wrap {
    width: 120px; height: 80px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
}
.marca-full-img-wrap img { max-width: 100%; max-height: 70px; object-fit: contain; }
.marca-full-icon {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,27,134,.06); border-radius: 8px;
}
.marca-full-name { font-size: 1rem; font-weight: 700; color: #1a1a2e; margin-bottom: 6px; text-align: center; }
.marca-full-ver  { font-size: .8rem; color: var(--color-main); font-weight: 600; }

/* ── Favoritos — Quitar btn ──────────────────────── */
.fav-remove-btn {
    position: absolute; top: 10px; right: 10px; z-index: 5;
    background: #fff; border: 1px solid #ffcccc;
    border-radius: 50%; width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #e53; font-size: .9rem;
    transition: background .15s, color .15s;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.fav-remove-btn:hover {  color: #fff; border-color: #e53; }

/* ── MODAL AUTH (Login / Registro) ──────────────────
   Un solo modal con dos tabs: login y registro
─────────────────────────────────────────────────── */
.auth-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 3000;
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}
.auth-modal-overlay.open { display: flex; }
.auth-modal {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 420px;
    padding: 0;
    position: relative;
    box-shadow: 0 24px 60px rgba(0,0,0,.22);
    overflow: hidden;
    animation: authModalIn .28s cubic-bezier(.4,0,.2,1);
}
@keyframes authModalIn {
    from { opacity:0; transform: scale(.93) translateY(20px); }
    to   { opacity:1; transform: scale(1)   translateY(0); }
}
.auth-modal-header {
    background: linear-gradient(135deg, var(--color-main) 0%, var(--color-secondary) 100%);
    padding: 28px 28px 20px;
    color: #fff;
    text-align: center;
}
.auth-brand-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.auth-brand-logo {
    max-width: 140px;
    width: min(140px, 44vw);
    height: auto;
    opacity: .92;
    display: block;
}
.auth-modal-header h4 { font-size: 1.3rem; font-weight: 800; margin: 0; }
.auth-modal-header p  { font-size: .88rem; opacity: .85; margin: 6px 0 0; }
.auth-modal-close {
    position: absolute; top: 14px; right: 14px;
    background: rgba(255,255,255,.2); border: none;
    width: 30px; height: 30px; border-radius: 50%;
    color: #fff; font-size: 1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s;
}
.auth-modal-close:hover { background: rgba(255,255,255,.35); }

/* Tabs */
.auth-tabs {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
}
.auth-tab-btn {
    flex: 1; padding: 13px; border: none; background: none;
    font-size: .9rem; font-weight: 600; color: #888;
    cursor: pointer; border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}
.auth-tab-btn.active { color: var(--color-main); border-bottom-color: var(--color-main); }

/* Panels */
.auth-panel { display: none; padding: 24px 28px 28px; }
.auth-panel.active { display: block; }

/* Inputs */
.auth-input-group { margin-bottom: 14px; }
.auth-input-group label { font-size: .82rem; font-weight: 600; color: #555; margin-bottom: 5px; display: block; }
.auth-input-group input {
    width: 100%; padding: 10px 14px;
    border: 1.5px solid #e0e0e0; border-radius: 8px;
    font-size: .92rem; outline: none;
    transition: border-color .15s;
}
.auth-input-group input:focus { border-color: var(--color-main); }
.auth-input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Botón submit */
.auth-submit-btn {
    width: 100%; padding: 12px;
    background: var(--color-main); color: #fff; border: none;
    border-radius: 10px; font-size: 1rem; font-weight: 700;
    cursor: pointer; transition: background .2s;
    margin-top: 4px;
}
.auth-submit-btn:hover  { background: var(--color-secondary); }
.auth-submit-btn:disabled { opacity: .65; cursor: not-allowed; }

/* Botón Continuar con Google */
.auth-google { margin-top: 18px; }
.auth-divider {
    display: flex; align-items: center; text-align: center;
    color: #9aa3b2; font-size: .78rem; letter-spacing: .04em;
    margin: 2px 0 16px;
}
.auth-divider::before, .auth-divider::after {
    content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, #e6e9f0, transparent);
}
.auth-divider span { padding: 0 14px; text-transform: uppercase; font-weight: 600; }
.auth-google-btn {
    width: 100%;
    padding: 12px 16px;
    display: flex; align-items: center; justify-content: center; gap: 12px;
    background: #fff; color: #1f2430;
    border: 1.5px solid #e3e6ee; border-radius: 12px;
    font-size: .95rem; font-weight: 600; cursor: pointer;
    box-shadow: 0 1px 2px rgba(16,24,40,.04);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.auth-google-btn:hover {
    background: #fbfcfe;
    border-color: #d3d8e3;
    box-shadow: 0 6px 18px rgba(32,52,120,.12);
    transform: translateY(-1px);
}
.auth-google-btn:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(32,52,120,.10); }
.auth-google-btn .auth-google-icon { flex: 0 0 auto; display: block; }
.auth-msg {
    padding: 9px 12px; border-radius: 8px;
    font-size: .85rem; font-weight: 500; margin-bottom: 14px;
    display: none;
}
.auth-msg.error   { background: #fff0f0; color: #c0392b; border: 1px solid #fad7d7; }
.auth-msg.success { background: #f0fff4; color: #1a7a3c; border: 1px solid #b2f0c8; }

.auth-sending-box {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
    background: #f4f8ff;
    color: #1d4ed8;
    margin-bottom: 14px;
}
.auth-sending-box strong { display: block; font-size: .92rem; }
.auth-sending-box small { display: block; margin-top: 2px; color: #475569; }
.auth-spinner {
    width: 1.25rem;
    height: 1.25rem;
    border-width: .18em;
    flex: 0 0 auto;
}
.auth-submit-btn:disabled { opacity: .75; cursor: not-allowed; }
.auth-submit-btn .spinner-border { vertical-align: -0.15em; }

/* Pie del modal */
.auth-footer-link { text-align: center; font-size: .82rem; color: #888; margin-top: 14px; }
.auth-footer-link button { background: none; border: none; color: var(--color-main); font-weight: 700; cursor: pointer; }

/* ── Auth Modal — Responsive para móviles (iPhone 10, etc.) ── */
@media (max-width: 576px) {
    .auth-modal {
        width: min(92vw, 360px);
        max-width: min(92vw, 360px) !important;
        margin: 0 auto !important;
        align-self: center;
        border-radius: 16px;
    }
    .auth-modal-header {
        padding: 20px 18px 14px;
        text-align: center;
    }
    .auth-brand-logo {
        width: min(112px, 40vw);
        max-width: 112px;
    }
    .auth-modal-header h4 { font-size: 1.08rem; }
    .auth-modal-header p { font-size: 0.76rem; }
    .auth-panel {
        padding: 18px 18px 20px;
    }
    .auth-input-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .auth-tab-btn {
        padding: 11px 10px;
        font-size: 0.85rem;
    }
    .auth-submit-btn {
        padding: 11px;
        font-size: 0.95rem;
    }
}

@media (max-width: 400px) {
    .auth-modal {
        width: min(90vw, 320px);
        max-width: min(90vw, 320px) !important;
        border-radius: 14px;
    }
    .auth-modal-header {
        padding: 16px 12px 10px;
        text-align: center;
    }
    .auth-brand-wrap { align-items: center; }
    .auth-brand-logo { width: min(86px, 38vw); max-width: 86px; }
    .auth-modal-header h4 { font-size: 0.96rem; }
    .auth-modal-header p { font-size: 0.7rem; }
    .auth-panel { padding: 14px 12px 16px; }
    .auth-tab-btn {
        font-size: 0.78rem;
        padding: 9px 6px;
    }
    .suscripcion-en-modal {
        padding: 0 16px 12px;
    }
}

/* ── Header — Dropdown usuario ───────────────────── */
.user-dropdown-wrap {
    position: relative;
}
/* Solo se abre con clase .open — NO con :hover */
.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,.16);
    padding: 6px 0 10px;
    min-width: 220px;
    z-index: 2000;
    display: none;
    animation: dropIn .2s ease;
    border: 1px solid rgba(0,0,0,.06);
}
@keyframes dropIn {
    from { opacity:0; transform:translateY(-6px) scale(.98); }
    to   { opacity:1; transform:translateY(0)    scale(1); }
}
.user-dropdown-wrap.open .user-dropdown-menu { display: block; }

/* Cabecera del dropdown con info del usuario */
.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px 10px;
    border-bottom: 1px solid #f0f0f5;
    margin-bottom: 4px;
}
.user-dropdown-avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--color-main); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem; font-weight: 800;
    flex-shrink: 0;
}
.user-dropdown-info { overflow: hidden; }
.user-dropdown-info strong {
    display: block; font-size: .88rem; color: #1a1a2e;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.user-dropdown-info small {
    font-size: .76rem; color: #888;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block;
}

/* Nombre (fallback sin cabecera) */
.user-dropdown-name {
    padding: 10px 16px 8px;
    font-size: .85rem; font-weight: 700; color: #1a1a2e;
    border-bottom: 1px solid #f0f0f0; margin-bottom: 4px;
}
.user-dropdown-item {
    display: flex; align-items: center; gap: 8px;
    padding: 9px 16px; font-size: .88rem; color: #444;
    text-decoration: none; cursor: pointer;
    background: none; border: none; width: 100%;
    transition: background .12s;
    text-align: left;
}
.user-dropdown-item:hover { background: #f5f5fb; color: var(--color-main); }
.user-dropdown-item i { font-size: 1rem; width: 18px; text-align: center; }
.user-dropdown-item.danger { color: #d63031; }
.user-dropdown-item.danger:hover { background: #fff0f0; color: #c0392b; }

/* ── Avatar mini en botón (cuando está logueado) ─── */
.user-avatar-mini {
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--color-main); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .73rem; font-weight: 800;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,.5);
    overflow: hidden;
}
.user-avatar-mini img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
/* Indicador verde de "en línea" cuando está logueado */
.user-btn-logged {
    position: relative;
}
.user-btn-logged::after {
    content: '';
    position: absolute;
    bottom: 1px; right: 1px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #00b894;
    border: 2px solid var(--color-main, #001b86);
}

/* ── Página Contacto — solo mapa (resto inline en vista) ── */
.contacto-mapa-wrap {
    width: 100%;
    background: #f0f3ff;
    min-height: 80px;
}
.contacto-mapa-wrap iframe {
    width: 100% !important;
    min-height: 400px;
    display: block;
    border: 0;
}
.contacto-mapa-loading {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Favoritos — corazón activo ─────────────────── */
.fav-heart-btn.fav-active { color: #e53 !important; border-color: #ffcccc !important; }
.fav-heart-btn.fav-active i { color: #e53 !important; }
.fav-remove-btn.fav-active {  color: #fff; border-color: #e53; }

/* ═══════════════════════════════════════════════════════
   PÁGINA "VISÍTANOS"
═══════════════════════════════════════════════════════ */

.visitanos-section { background: #f4f6fb; }

/* ── Hero ────────────────────────────────────────── */
.visitanos-hero {
    background: linear-gradient(135deg, #001b86 0%, #010f46 100%);
    padding: 52px 16px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.visitanos-hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 15% 60%, rgba(98,246,0,.07) 0%, transparent 55%),
        radial-gradient(circle at 85% 25%, rgba(98,246,0,.05) 0%, transparent 50%);
    pointer-events: none;
}
.visitanos-hero-overlay { display: none; } /* ya no se usa */
.visitanos-hero-content {
    position: relative; z-index: 2;
    max-width: 580px; margin: 0 auto;
}
.visitanos-hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(98,246,0,.15); color: #62f600;
    font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    padding: 5px 14px; border-radius: 20px;
    border: 1px solid rgba(98,246,0,.3);
    margin-bottom: 16px;
}
.visitanos-hero-title {
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 900; color: #fff;
    margin: 0 0 10px; line-height: 1.2;
    text-transform: none; letter-spacing: 0;
    text-shadow: none;
}
.visitanos-hero-accent { color: #62f600; }
.visitanos-hero-subtitle {
    color: rgba(255,255,255,.72); font-size: .98rem; margin: 0;
}

/* ── Cards de info ───────────────────────────────── */
.visitanos-info-card {
    background: #fff; border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 24px rgba(0,27,134,.07);
    height: 100%;
}
.visitanos-card-title {
    font-size: 1rem; font-weight: 800; color: #001b86;
    margin-bottom: 14px; padding-bottom: 12px;
    border-bottom: 1.5px solid #f0f3ff;
    display: flex; align-items: center; gap: 8px;
}
.visitanos-card-subtitle {
    font-size: .9rem; font-weight: 700; color: #1e293b; margin-bottom: 10px;
}

/* ── Dirección rows ──────────────────────────────── */
.visitanos-info-row {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 9px 0; font-size: .87rem; color: #475569;
    border-bottom: 1px solid #f5f5f5;
}
.visitanos-info-row:last-of-type { border-bottom: none; }
.visitanos-info-icon {
    display: flex; gap: 4px; color: #001b86;
    font-size: 1rem; flex-shrink: 0; margin-top: 1px;
}

/* ── Badges ──────────────────────────────────────── */
.visitanos-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.visitanos-badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 12px; border-radius: 20px;
    font-size: .76rem; font-weight: 700;
    background: rgba(0,27,134,.07); color: #001b86;
    border: 1px solid rgba(0,27,134,.12);
}
.visitanos-visit-text {
    font-size: .87rem; color: #64748b;
    line-height: 1.7; margin-top: 10px; margin-bottom: 0;
}

/* ── Mapa ────────────────────────────────────────── */
.visitanos-map-wrap {
    background: #f0f3ff; border-radius: 14px;
    overflow: hidden; min-height: 280px;
    box-shadow: 0 4px 20px rgba(0,27,134,.08);
    height: 100%;
}
.visitanos-loading {
    height: 280px; display: flex;
    align-items: center; justify-content: center;
}

/* ── Tabla de horarios ───────────────────────────── */
.visitanos-horario-table {
    width: 100%; border-collapse: collapse; font-size: .87rem;
}
.visitanos-horario-table tr { border-bottom: 1px solid #f0f0f5; }
.visitanos-horario-table tr:last-child { border-bottom: none; }
.visitanos-horario-dia {
    padding: 9px 4px; color: #334155;
    font-weight: 600; white-space: nowrap; width: 50%;
}
.visitanos-horario-hora {
    padding: 9px 4px; color: #475569;
    text-align: right; width: 50%;
}
.visitanos-horario-cerrado .visitanos-horario-dia { color: #dc2626; font-weight: 700; }
.text-cerrado { color: #dc2626 !important; font-weight: 700; }

/* ── Acceso ──────────────────────────────────────── */
.visitanos-acceso { display: flex; gap: 12px; flex-wrap: wrap; }
.visitanos-acceso-item {
    width: 48px; height: 48px;
    background: rgba(0,27,134,.06); color: #001b86;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .visitanos-hero { padding: 36px 12px 30px; }
    .visitanos-hero-title { font-size: 1.5rem; }
    .visitanos-info-card { margin-bottom: 0; padding: 16px !important; }
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE MÓVIL — Fixes para iOS (iPhone 10+) y Android
═══════════════════════════════════════════════════════ */

/* Evitar zoom automático en iOS al hacer focus en inputs (font-size mínimo 16px) */
@media (max-width: 575.98px) {
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    input[type="number"],
    input[type="search"],
    select,
    textarea {
        font-size: 16px !important;
    }

    /* Página de contacto */
    .contacto-form-card { padding: 16px !important; border-radius: 12px; }
    .contacto-info-card { padding: 16px !important; border-radius: 12px; }
    .contacto-submit-btn { width: 100%; font-size: 0.95rem; padding: 11px; }
    .contacto-mapa-wrap iframe { min-height: 200px; }
    .contacto-mapa-wrap { min-height: 200px; }

    /* Nosotros */
    .nos-titulo { font-size: 1.2rem !important; }
    .nos-contact-card { padding: 18px !important; border-radius: 12px; }
    .nos-mapa-wrap { min-height: 220px; }

    /* Visitanos */
    .visitanos-info-card { padding: 16px !important; }
    .visitanos-map-wrap iframe { min-height: 220px; }

    /* Marcas */
    .marcas-full-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .marca-full-card { padding: 16px 10px 12px; border-radius: 12px; }
    .marca-full-img-wrap { width: 90px; height: 55px; }
    .marca-full-name { font-size: 0.88rem; }

    /* Auth modal */
    .auth-input-group input { font-size: 16px !important; }
    .auth-modal {
        width: min(92vw, 360px) !important;
        max-width: min(92vw, 360px) !important;
        margin: 0 auto !important;
    }
}

@media (max-width: 390px) {
    .nos-titulo { font-size: 1.1rem !important; }
    .marcas-full-grid { gap: 8px; }
    .marca-full-card { padding: 12px 8px; }
}
