/* Icono de ubicación metalizado sobre el h1 */
.ubic-hero__pin {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
}

.ubic-hero__pin svg {
    width: 46px;
    height: 46px;
}

/* ==========================================================================
   UBICACION - Premium Industrial Redesign 2026
   Full-width map + glass card, editorial transport, merged operativo panel
   ========================================================================== */

.page-ubicacion {
    --ubic-dark: #1a1a1a;
    --ubic-darker: #0f1419;
    --ubic-accent: #e8732e;
    --ubic-accent-dim: rgba(232, 115, 46, 0.15);
    --ubic-line: rgba(255, 255, 255, 0.08);
    --ubic-text: rgba(255, 255, 255, 0.75);
    --ubic-text-dim: rgba(255, 255, 255, 0.45);
    --ubic-glass-bg: rgba(15, 20, 25, 0.88);
    --ubic-glass-border: rgba(255, 255, 255, 0.08);
    --ubic-card-bg: rgba(255, 255, 255, 0.03);
    --ubic-card-border: rgba(255, 255, 255, 0.06);
    --ubic-red: #e53e3e;
    --ubic-section-py: clamp(5rem, 10vw, 8.75rem);
}

html,
body.page-ubicacion,
body.page-ubicacion main {
    padding: 0 !important;
    margin: 0 !important;
}

/* ==============================================
   HERO — Fondo negro, centrado, 70vh
   ============================================== */
.ubic-hero {
    height: 70vh;
    min-height: 400px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.ubic-hero__content {
    max-width: 700px;
    padding: 80px 40px 0;
}

.ubic-hero__title {
    font-family: var(--ds-font-heading);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 400;
    color: #fff;
    margin: 0 0 20px;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.ubic-hero__subtitle {
    font-size: clamp(16px, 1.8vw, 19px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    font-weight: 300;
}

/* ==============================================
   CONTAINER
   ============================================== */
.page-ubicacion .ubic-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.page-ubicacion .ubic-section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 16px;
}

.page-ubicacion .ubic-section-label svg {
    color: rgba(232, 115, 46, 0.5);
}

/* ==============================================
   SECCION 2: MAPA — Full-width inmersivo + Glass Card
   ============================================== */
.ubic-mapa {
    position: relative;
    width: 100%;
    min-height: 600px;
    overflow: hidden;
}

.ubic-mapa__map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0f1419;
}

.ubic-mapa__map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: grayscale(100%) contrast(1.1) brightness(0.9);
    transition: filter 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.ubic-mapa:hover .ubic-mapa__map iframe {
    filter: grayscale(0%) contrast(1) brightness(1);
}

/* Glass floating card */
.ubic-mapa__card {
    position: absolute;
    right: clamp(40px, 6vw, 120px);
    top: 50%;
    transform: translateY(-50%);
    width: 380px;
    padding: 48px 40px;
    background: var(--ubic-glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--ubic-glass-border);
    border-top: 3px solid var(--ubic-accent);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.ubic-mapa__eyebrow {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ubic-accent);
    margin-bottom: 16px;
}

.ubic-mapa__title {
    font-family: var(--ds-font-heading);
    font-size: clamp(30px, 3.4vw, 46px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.06;
    color: #fff;
    margin: 0 0 20px;
    line-height: 1.2;
}

.ubic-mapa__copper-line {
    width: 40px;
    height: 2px;
    background: var(--ubic-accent);
    margin-bottom: 24px;
}

.ubic-mapa__address {
    font-size: 15px;
    line-height: 1.9;
    color: var(--ubic-text);
    margin-bottom: 32px;
    font-weight: 300;
}

.ubic-mapa__buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ubic-mapa__buttons .ds-btn {
    text-align: center;
    justify-content: center;
}

/* ==============================================
   SECCION 3: TRANSPORTE — Columnas editoriales
   ============================================== */
.ubic-transporte {
    position: relative;
    background: var(--ubic-darker);
    padding: var(--ubic-section-py) 0;
    border-top: 1px solid var(--ubic-line);
    overflow: hidden;
}

/* Copper glow at top */
.ubic-transporte__glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 120px;
    background: radial-gradient(ellipse, rgba(232, 115, 46, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.ubic-transporte__header {
    margin-bottom: 80px;
}

.ubic-transporte__header h2 {
    font-family: var(--ds-font-heading);
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 300;
    color: #fff;
    margin: 0;
    letter-spacing: -0.03em;
}

.ubic-transporte__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.ubic-transporte__col {
    padding: 0 48px;
    border-left: 1px solid rgba(255, 255, 255, 0.07);
    transition: all 0.4s ease;
}

.ubic-transporte__col:first-child {
    padding-left: 0;
    border-left: none;
}

.ubic-transporte__col:last-child {
    padding-right: 0;
}

.ubic-transporte__accent {
    width: 24px;
    height: 1px;
    background: var(--ubic-accent);
    margin-bottom: 32px;
    transition: width 0.4s ease;
}

.ubic-transporte__col:hover .ubic-transporte__accent {
    width: 48px;
}

.ubic-transporte__dato {
    display: block;
    font-family: var(--ds-font-heading);
    font-size: clamp(26px, 2.8vw, 36px);
    font-weight: 300;
    color: #fff;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    line-height: 1.15;
}

.ubic-transporte__label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--ubic-accent);
}

.ubic-transporte__label svg {
    opacity: 0.6;
}

.ubic-transporte__label h4 {
    font-family: var(--ds-font-heading);
    font-size: 11px;
    font-weight: 600;
    color: var(--ubic-accent);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.ubic-transporte__desc {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
    font-weight: 300;
    transition: color 0.4s ease;
}

.ubic-transporte__col:hover .ubic-transporte__desc {
    color: rgba(255, 255, 255, 0.6);
}

/* ==============================================
   SECCION 4: OPERATIVO — Horario + Contacto fusionados
   Premium minimal: sin cajas naranja, sin monospace grueso
   ============================================== */
.ubic-operativo {
    background: #fff;
    padding: var(--ubic-section-py) 0;
}

/* Fila 1: Texto + Tabla */
.ubic-operativo__main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 48px;
}

.ubic-operativo__content h2 {
    font-family: var(--ds-font-heading);
    font-size: clamp(30px, 3.4vw, 46px);
    font-weight: 600;
    color: #16181c;
    margin: 0 0 12px;
    letter-spacing: -0.03em;
    line-height: 1.06;
}

.ubic-operativo__subtitle {
    font-size: 15px;
    color: #6b7280;
    margin: 0 0 20px;
    font-weight: 400;
}

.ubic-operativo__text {
    font-size: 15px;
    line-height: 1.8;
    color: #4b5563;
    margin: 0;
}

.ubic-operativo__cta {
    margin-top: 28px;
    width: fit-content;
}

/* Horario table — minimal, sin iconos con fondo */
.ubic-operativo__schedule {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ubic-operativo__row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.ubic-operativo__row:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.ubic-operativo__row--closed .ubic-operativo__row-time {
    color: rgba(229, 62, 62, 0.7);
}

.ubic-operativo__row-icon {
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ff8a3c;
}

.ubic-operativo__row-icon svg {
    width: 18px;
    height: 18px;
}

.ubic-operativo__row-info {
    flex: 1;
}

.ubic-operativo__row-info strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #16181c;
    margin-bottom: 2px;
}

.ubic-operativo__row-info span {
    font-size: 13px;
    color: #9ca3af;
}

.ubic-operativo__row-time {
    font-size: 16px;
    font-weight: 500;
    color: #374151;
    font-family: var(--ds-font-heading);
    letter-spacing: -0.01em;
    white-space: nowrap;
}

/* Fila 2: Tarjetas de contacto — sutiles */
.ubic-operativo__contacts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.ubic-operativo__contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 32px;
    background: #16181c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    transition: all 0.3s ease;
}

.ubic-operativo__contact-card:hover {
    border-color: rgba(255, 138, 60, 0.5);
    background: #1b1e24;
}

.ubic-operativo__contact-icon {
    width: 22px;
    padding-top: 3px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.25);
}

.ubic-operativo__contact-icon svg {
    width: 20px;
    height: 20px;
}

.ubic-operativo__contact-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.ubic-operativo__contact-label {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.35);
}

.ubic-operativo__contact-value {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    word-break: break-all;
    transition: color 0.3s ease;
}

.ubic-operativo__contact-card:hover .ubic-operativo__contact-value {
    color: #fff;
}

.ubic-operativo__contact-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 2px;
}

/* ==============================================
   SECCION 5: CTA
   ============================================== */
.ubic-cta {
    padding: 120px 80px 140px;
    background: #fff;
}

/* Panel horizontal contenido, igual que el CTA de la home */
.ubic-cta__box {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 72px 80px;
    background: #16181c;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
    text-align: left;
}

.ubic-cta__title {
    font-family: var(--ds-font-heading);
    font-size: clamp(26px, 2.8vw, 40px);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.12;
    color: #fff;
    margin: 0 0 16px;
}

.ubic-cta__title-soft {
    color: rgba(255, 255, 255, 0.45);
}

.ubic-cta__text {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    max-width: 560px;
    margin: 0;
}

.ubic-cta__actions {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Botón fantasma: solo el borde naranja, redondo */
.ubic-cta__btn {
    display: block;
    text-align: center;
    background: transparent;
    border: 1.5px solid #ff8a3c;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 15px 36px;
    transition: background 0.3s ease, color 0.3s ease;
}

.ubic-cta__btn:hover {
    background: rgba(255, 138, 60, 0.12);
    color: #ff8a3c;
}

@media (max-width: 900px) {
    .ubic-cta {
        padding: 72px 16px 80px;
    }

    .ubic-cta__box {
        flex-direction: column;
        align-items: flex-start;
        gap: 36px;
        padding: 48px 32px;
    }

    .ubic-cta__actions {
        width: 100%;
    }
}

/* Responsive (reconstruido) */
@media (max-width: 1024px) {
    .ubic-operativo__main {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .ubic-operativo__contacts {
        grid-template-columns: 1fr;
    }

    .ubic-transporte__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Hero: foto en B/N y negro glass denso, esquina superior derecha disimulada */
body.page-ubicacion .ds-hero__bg-overlay {
    background:
        radial-gradient(ellipse 60% 55% at 100% 0%, rgba(5, 6, 8, 0.95) 0%, rgba(5, 6, 8, 0.65) 45%, rgba(5, 6, 8, 0) 75%),
        linear-gradient(135deg, rgba(8, 9, 12, 0.94) 0%, rgba(8, 9, 12, 0.74) 45%, rgba(8, 9, 12, 0.45) 100%);
}

/* Botón concertar visita: fantasma de borde negro, esquinas rectas */
.ubic-operativo__cta.ds-btn {
    background: transparent;
    border: 1.5px solid #16181c;
    border-radius: 0;
    color: #16181c;
    text-shadow: none;
    box-shadow: none;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: none;
    padding: 14px 32px;
    transition: background 0.3s ease, color 0.3s ease;
}

.ubic-operativo__cta.ds-btn:hover {
    background: #16181c;
    color: #fff;
    border-color: #16181c;
    box-shadow: none;
    transform: none;
}

/* ==============================================
   HERO · MÓVIL (sistema 2026): texto a la izquierda,
   anclado abajo, mismo margen y escala que el resto
   ============================================== */
@media (max-width: 768px) {
    .ubic-hero {
        height: auto;
        min-height: 62svh;
        align-items: flex-end;
        justify-content: flex-start;
        text-align: left;
        padding: 120px 20px 48px;
    }

    .ubic-hero__content {
        max-width: none;
        padding: 0;
    }

    .ubic-hero__pin {
        justify-content: flex-start;
        margin-bottom: 18px;
    }

    .ubic-hero__pin svg {
        width: 34px;
        height: 34px;
    }

    .ubic-hero__title {
        font-size: clamp(36px, 10.5vw, 46px);
        font-weight: 600;
        letter-spacing: -0.035em;
        line-height: 1.04;
        margin-bottom: 14px;
    }

    .ubic-hero__subtitle {
        font-size: 15px;
        line-height: 1.55;
        font-weight: 400;
        color: rgba(255, 255, 255, 0.7);
    }
}

/* ==============================================
   MÓVIL (19-nov-2026): la tarjeta de dirección tapaba
   el mapa entero; ahora el mapa va arriba y la tarjeta
   debajo. Márgenes laterales al sistema móvil (20px).
   ============================================== */
@media (max-width: 768px) {
    .page-ubicacion .ubic-container {
        padding: 0 20px;
    }

    .ubic-mapa {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .ubic-mapa__map {
        position: relative;
        height: 340px;
    }

    .ubic-mapa__map iframe {
        filter: none;
    }

    .ubic-mapa__card {
        position: static;
        transform: none;
        width: auto;
        padding: 36px 20px 40px;
        box-shadow: none;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
    }

    .ubic-operativo__contact-card {
        padding: 24px 20px;
    }
}
