/* =========================================
   Estilos Base y Variables - ATM Naviera
   (V3 - Actualizado con Fondo en Contacto)
   ========================================= */
:root {
    --primary-color: #00509e; 
    --secondary-color: #032b5e; 
    --accent-color: #d85a00; /* Naranja fuerte y oscuro (Botones y Acción) */
    --text-color: #4a4a4a;
    --light-text: #ffffff;
    --transition: all 0.3s ease;
    --bg-light: #f4f6f9;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--text-color); line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }
.pd-y { padding: 90px 0; }
.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }
.mt-4 { margin-top: 30px; display: inline-block; }

/* Tipografía de Títulos */
h1, h2, h3 { color: var(--secondary-color); font-weight: 700; margin-bottom: 15px; }
.section-badge { display: inline-block; padding: 6px 15px; background-color: rgba(0, 80, 158, 0.1); color: var(--primary-color); font-weight: 600; font-size: 14px; border-radius: 30px; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; }
.section-title { font-size: 2.5rem; margin-bottom: 20px; }
.section-subtitle { font-size: 1.1rem; color: #666; max-width: 700px; margin: 0 auto 50px; }

/* HEADER */
.atm-header { position: absolute; top: 0; left: 0; width: 100%; z-index: 100; padding: 25px 0; background: transparent; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.atm-header .container { display: flex; justify-content: space-between; align-items: center; }
.atm-header .logo a { color: var(--light-text); font-size: 26px; font-weight: 800; text-decoration: none; letter-spacing: 1px; text-transform: uppercase; }

.main-nav ul { list-style: none; display: flex; align-items: center; gap: 35px; }
.main-nav a { color: var(--light-text); text-decoration: none; font-size: 15px; font-weight: 500; transition: var(--transition); }
.main-nav a:hover { color: var(--accent-color); }
.btn-contact { background: var(--accent-color); color: var(--light-text) !important; padding: 12px 28px; border-radius: 4px; border: 1px solid var(--accent-color); }
.btn-contact:hover { background: transparent; color: var(--accent-color) !important; border-color: var(--accent-color); }

/* HERO SECTION */
.atm-hero { position: relative; height: 100vh; min-height: 600px; display: flex; align-items: center; color: var(--light-text); }
.hero-video-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; pointer-events: none; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(3, 43, 94, 0.35) 0%, rgba(0, 80, 158, 0.15) 100%); z-index: 2; }
.hero-content { position: relative; z-index: 3; max-width: 850px; animation: fadeInUp 1s ease-out; }
.hero-title { font-size: 4.5rem; font-weight: 800; color: #fff; line-height: 1.1; margin-bottom: 25px; text-shadow: 0 4px 15px rgba(0,0,0,0.5); }
.hero-subtitle { font-size: 1.35rem; font-weight: 300; margin-bottom: 45px; opacity: 0.95; line-height: 1.8; text-shadow: 0 2px 10px rgba(0,0,0,0.6); }
.hero-actions { display: flex; gap: 20px; }

.btn { padding: 16px 36px; font-size: 16px; font-weight: 600; text-decoration: none; border-radius: 4px; transition: var(--transition); text-transform: uppercase; letter-spacing: 0.5px; }
.btn-primary { background-color: var(--accent-color); color: var(--light-text); border: 2px solid var(--accent-color); }
.btn-primary:hover { background-color: transparent; border-color: var(--accent-color); color: var(--accent-color); }
.btn-secondary { background-color: transparent; color: var(--light-text); border: 2px solid var(--light-text); }
.btn-secondary:hover { background-color: var(--light-text); color: var(--secondary-color); }

/* ABOUT SECTION */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-features { list-style: none; margin-top: 25px; }
.about-features li { margin-bottom: 15px; font-size: 1.05rem; }
.about-features strong { color: var(--primary-color); }
.about-image img { width: 100%; border-radius: 8px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); object-fit: cover; height: 500px; }

/* FLEET SECTION */
.fleet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.fleet-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: var(--transition); border-top: 4px solid transparent; }
.fleet-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); border-top-color: var(--accent-color); }
.fleet-img { height: 240px; overflow: hidden; }
.fleet-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.fleet-card:hover .fleet-img img { transform: scale(1.05); }
.fleet-info { padding: 30px; }
.fleet-info h3 { font-size: 1.4rem; margin-bottom: 10px; }
.fleet-info p { color: #666; margin-bottom: 20px; font-size: 0.95rem; }
.fleet-link { color: var(--primary-color); font-weight: 600; text-decoration: none; font-size: 0.95rem; }
.fleet-link:hover { color: var(--accent-color); }

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

/* CONTACT SECTION */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }

/* Nuevo Estilo de Tarjeta para la Info de Contacto Izquierda */
.contact-info { 
    background: url('https://atm.studiowebslab.com/wp-content/uploads/2026/03/img13.png') center/cover no-repeat;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    padding: 50px 40px;
    color: #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1); 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Pseudo-elemento para el overlay asegurando que funcione en todos los navegadores */
.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 43, 94, 0.45); /* Reducida la opacidad para que la imagen sea mucho más visible */
    z-index: 1;
}

/* Asegurar que el contenido quede por encima del overlay */
.contact-info .section-badge,
.contact-info .section-title,
.contact-info .section-subtitle,
.contact-info .contact-details {
    position: relative;
    z-index: 2;
}
.contact-info .section-badge { background-color: rgba(255, 255, 255, 0.2); color: #fff; border: 1px solid rgba(255,255,255,0.3); font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.contact-info .section-title { color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.5); font-weight: 800; }
.contact-info .section-subtitle { color: #ffffff; font-weight: 500; text-shadow: 0 1px 5px rgba(0,0,0,0.4); opacity: 1; }

.contact-details { margin-top: 40px; }
.contact-item { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 30px; }
.contact-item .icon { font-size: 24px; background: rgba(255, 255, 255, 0.25); width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.3); box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.contact-item h4 { margin-bottom: 5px; font-size: 1.1rem; color: #fff; font-weight: 700; text-shadow: 0 1px 4px rgba(0,0,0,0.4); }
.contact-item p { color: #ffffff; margin: 0; line-height: 1.5; font-weight: 500; text-shadow: 0 1px 3px rgba(0,0,0,0.3); }

.contact-form-container { background: #fff; padding: 40px; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); border-top: 5px solid var(--primary-color); }
.atm-form .form-group { margin-bottom: 20px; }
.atm-form label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--secondary-color); font-size: 0.95rem; }
.atm-form input, .atm-form select, .atm-form textarea { width: 100%; padding: 14px 15px; border: 1px solid #ddd; border-radius: 4px; font-family: inherit; font-size: 1rem; transition: var(--transition); background-color: #fafafa; display: block; line-height: 1.2; }
.atm-form select { cursor: pointer; height: 50px; }
.atm-form input:focus, .atm-form select:focus, .atm-form textarea:focus { border-color: var(--primary-color); outline: none; box-shadow: 0 0 0 3px rgba(0, 80, 158, 0.1); background-color: #fff; }
.btn-block { width: 100%; text-align: center; }

/* FOOTER SECTION */
.atm-main-footer { background-color: var(--secondary-color); color: rgba(255,255,255,0.7); padding: 70px 0 20px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 50px; margin-bottom: 50px; }

.footer-logo { color: var(--accent-color); font-size: 1.5rem; margin-bottom: 20px; letter-spacing: 1px; text-transform: uppercase; font-weight: 800; }
.brand-col p { margin-bottom: 25px; line-height: 1.7; }
.social-icons { display: flex; gap: 15px; }
.social-icons a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: #fff; border-radius: 50%; text-decoration: none; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.social-icons a:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.3); color: #fff; }
.social-icons a svg { width: 22px; height: 22px; stroke: #fff; }

/* Colores de marca reales para cada red social */
.social-ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-fb { background: #1877F2; }
.social-in { background: #0A66C2; }

.footer-col h4 { color: var(--accent-color); font-size: 1.1rem; margin-bottom: 25px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.nav-col ul { list-style: none; padding-left: 0; margin-left: 0; }
.nav-col ul li { margin-bottom: 12px; }
.nav-col ul a { color: rgba(255,255,255,0.7); text-decoration: none; transition: var(--transition); }
.nav-col ul a:hover { color: var(--accent-color); padding-left: 5px; }

.footer-contact-item { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
.footer-contact-item .icon { color: var(--accent-color); font-size: 1.2rem; }
.footer-contact-item p { margin: 0; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 25px; display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer-bottom strong { color: rgba(255,255,255,0.8); }

/* Responsivo Básico y Footer */
@media (max-width: 900px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .fleet-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 3rem; }
    .hero-actions { flex-direction: column; }
    .main-nav ul { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* =========================================
   NUEVA SECCIÓN: IDENTIDAD (COLUMNA + VIDEO)
   ========================================= */
.atm-identity { background-color: var(--bg-light); padding: 80px 0; }

.identity-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* Left Side: Cards */
.identity-cards-wrapper { display: flex; flex-direction: column; align-items: flex-start; }

.identity-card { 
    background: #fff; 
    border-radius: 12px; 
    padding: 30px 25px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    display: flex; 
    gap: 20px; 
    align-items: flex-start;
    width: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.identity-card:hover { transform: translateX(5px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }

/* Card Colors & Border Styles */
.vision-card { border: 2px solid rgba(0, 80, 158, 0.15); background-color: rgba(0, 80, 158, 0.02); }
.mission-card { border: 2px solid rgba(216, 90, 0, 0.15); background-color: rgba(216, 90, 0, 0.02); }
.values-card { border: 2px solid rgba(3, 43, 94, 0.15); background-color: rgba(3, 43, 94, 0.02); }

.vision-card:hover { border-color: var(--primary-color); }
.mission-card:hover { border-color: var(--accent-color); }
.values-card:hover { border-color: var(--secondary-color); }

.card-icon { font-size: 1.8rem; background: #fff; border-radius: 50%; width: 55px; height: 55px; display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 15px rgba(0,0,0,0.08); flex-shrink: 0; }

.card-content h3 { font-size: 1.3rem; margin-bottom: 8px; margin-top: 5px; }
.vision-card .card-content h3 { color: var(--primary-color); }
.mission-card .card-content h3 { color: var(--accent-color); }
.values-card .card-content h3 { color: var(--secondary-color); }

.card-content p { color: #555; margin-bottom: 0; font-size: 0.95rem; line-height: 1.6; }

/* Connection line between cards */
.card-connector { height: 30px; width: 4px; background: #cbd5e1; margin-left: 50px; border-radius: 2px; opacity: 0.6; }

/* Right Side: Video */
.identity-video-wrapper { position: relative; height: 100%; min-height: 550px; }
.video-container { width: 100%; height: 100%; min-height: 550px; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.15); position: relative; background-color: #032b5e; }
.video-container video { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; }

/* Video Gradient Overlay for Text */
.video-overlay { position: absolute; bottom: 0; left: 0; width: 100%; background: linear-gradient(to top, rgba(3, 43, 94, 0.95) 0%, rgba(3, 43, 94, 0.4) 60%, transparent 100%); padding: 60px 30px 30px; color: white; display: flex; align-items: flex-end; z-index: 2; border-bottom-left-radius: 20px; border-bottom-right-radius: 20px; }
.video-text h3 { color: white; margin-bottom: 10px; font-size: 1.6rem; text-shadow: 0 2px 5px rgba(0,0,0,0.5); }
.video-text p { margin-bottom: 0; color: rgba(255,255,255,0.9); font-weight: 300; line-height: 1.5; }

/* Lista Minimalista de Valores */
.values-list { list-style: none; margin-top: 0; padding: 0; }
.values-list li { margin-bottom: 5px; font-size: 0.95rem; color: #555; position: relative; padding-left: 20px; text-align: left; }
.values-list li::before { content: '✓'; position: absolute; left: 0; color: var(--secondary-color); font-weight: bold; }

/* Responsivo */
@media (max-width: 900px) {
    .identity-layout { grid-template-columns: 1fr; }
    .identity-video-wrapper { min-height: 400px; margin-top: 30px; }
    .video-container { min-height: 400px; }
    .card-connector { margin-left: 45px; }
}

/* =========================================
   SECCIÓN: RADAR DE UBICACIONES Y MAPA
   ========================================= */
.atm-radar-locations {
    color: #fff;
    background-color: var(--secondary-color);
}

.radar-ui-wrap {
    background: rgba(3, 43, 94, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.radar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 20px;
    margin-bottom: 30px;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    padding-top: 20px;
}

.radar-ext, .radar-coords { flex: 1; }
.radar-coords { text-align: right; }

.radar-label {
    font-size: 0.85rem;
    color: #ffffff;
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-family: monospace;
    font-weight: 600;
}

.radar-value {
    font-size: 1.5rem;
    font-family: monospace;
    font-weight: 300;
    color: #ffffff;
}

.radar-value span { font-size: 0.9rem; color: #8bb4e7; }

.radar-title-box {
    flex: 2;
    text-align: center;
    border-left: 1px solid rgba(255,255,255,0.2);
    border-right: 1px solid rgba(255,255,255,0.2);
    padding: 0 20px;
}

.radar-title {
    font-size: 4rem;
    font-weight: 400;
    color: #ffffff !important;
    margin: 0;
    letter-spacing: 8px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    line-height: 1;
}

.radar-val {
    display: block;
    color: #8bb4e7;
    font-family: monospace;
    font-size: 0.95rem;
    margin-bottom: 3px;
    font-weight: 500;
}

/* Radar Points & Map */
.radar-point {
    position: absolute;
    z-index: 10;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pulse-dot {
    width: 14px;
    height: 14px;
    background-color: #4a90e2;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 12px #4a90e2;
    z-index: 2;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    width: 35px;
    height: 35px;
    background-color: rgba(74, 144, 226, 0.4);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: radarPulse 2s infinite ease-out;
    z-index: 1;
}

@keyframes radarPulse {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; border: 2px solid #4a90e2; }
    100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; border: 2px solid transparent; }
}

.point-label {
    position: absolute;
    color: #e0f2fe;
    font-size: 0.75rem;
    font-family: monospace;
    letter-spacing: 1px;
    white-space: nowrap;
    font-weight: 600;
    background: rgba(3, 43, 94, 0.7);
    padding: 3px 6px;
    border-radius: 4px;
    border: 1px solid rgba(74, 144, 226, 0.3);
}

.label-top { bottom: 20px; }
.label-bottom { top: 20px; }
.label-right { left: 20px; top: -5px; }
.label-left { right: 20px; top: -5px; }

@media (max-width: 900px) {
    .radar-header { flex-direction: column; gap: 30px; text-align: center; border-bottom: none; }
    .radar-title-box { border-left: none; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); border-top: 1px solid rgba(255,255,255,0.2); padding: 20px 0; }
    .radar-coords { text-align: center; }
    .radar-title { font-size: 2.5rem; letter-spacing: 4px; }
    .point-label { font-size: 0.65rem; padding: 2px 4px; }
}

