/* ==========================================================================
   VARIABLES, RESETS & GLOBALS
   ========================================================================== */
:root {
    --primary-blue: #0A192F;
    --accent-green: rgb(173, 244, 1);
    --text-dark: #1A1A1A;
    --text-light: #A0AEC0;
    --bg-light: #F8F9FA;
    --white: #ffffff;
    --font-main: 'Outfit', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Base structural spacing templates */
.section-header {
    text-align: center;
    padding: 60px 20px 40px;
    background: var(--white);
}

.section-subtitle {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--accent-green);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    margin: 0;
    color: var(--primary-blue);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 4%;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.main-header.scrolled {
    padding: 12px 4%;
    background: rgb(10 25 47 / 45%);
   
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.brand-logo {
    height: 100px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

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

/* Botón de Idioma */
.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lang-btn:hover {
    background-color: var(--accent-green);
    border-color: var(--accent-green);
    color: #ffffff;
    box-shadow: 0 0 12px rgba(46, 204, 113, 0.3);
}

/* Hamburguesa móvil oculta */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    z-index: 1100;
}

.hamburger-bar {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

/* ==========================================================================
   HERO SECTION (VIDEO BACKGROUND CORREGIDO)
   ========================================================================== */
.gp-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--primary-blue);
    padding-top: 146px;
}

.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.video-wrapper iframe {
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.gp-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.25) 0%, rgba(10, 25, 47, 0.10) 100%);
    z-index: 2;
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4%;
    position: relative;
    z-index: 3;
}

.hero-left-panel {
    
}

.company-tag {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--accent-green);
    letter-spacing: 2px;
    margin-bottom: 15px;
}

/* ¡SOLUCIÓN DE TÍTULO DE FOTO! Uso de tamaño responsivo fluido */
/* ¡TÍTULO PRINCIPAL UN 40% MÁS GRANDE Y FLUIDO! */
.main-title {
    font-size: calc(60px + 2.8vw); /* Aumentado ~40% de forma responsiva */
    max-size: 78px; /* Límite para pantallas muy grandes */
    line-height: 1.15;
    font-weight: 800;
    color: #adf401;
    margin: 0 0 20px 0;
}

.hero-description {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 35px;
}

.cta-wrapper {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Botones Base */
.gp-btn {
    padding: 14px 28px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 14px;
    letter-spacing: 1px;
    text-align: center;
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

.btn-solid-green {
    background-color: var(--accent-green);
    color: var(--white);
    border: 2px solid var(--accent-green);
}

.btn-solid-green:hover {
    background-color: transparent;
    color: var(--accent-green);
}

/* ==========================================================================
   SECTORS & SERVICES
   ========================================================================== */
.sectors-section {
    padding: 60px 4%;
    background: var(--white);
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Modificación especial para cuando son solo 2 servicios principales */
.sectors-grid.two-columns {
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    max-width: 1000px; /* Estrecha un poco el contenedor para que no se estiren demasiado de forma horizontal */
}

/* Ajuste responsivo para pantallas medianas o pequeñas */
@media (max-width: 768px) {
    .sectors-grid.two-columns {
        grid-template-columns: 1fr; /* En móviles se apilan perfectamente uno sobre otro */
    }
    /* Ajuste de espacio superior en móviles */
        .gp-hero {
            padding-top: 0px; /* Más espacio en móviles porque el menú suele ocupar más proporción */
            height: auto;
            min-height: 100vh;
            padding-bottom: 60px;
        }

        /* Tamaño optimizado para que quepa bien en pantallas verticales */
        .main-title {
            font-size: calc(32px + 1.5vw);
            line-height: 1.2;
        }
}

.sector-card {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    border: 1px solid #eef0f2;
}

.sector-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.card-number {
    font-size: 14px;
    font-weight: 800;
    color: var(--accent-green);
}

.sector-card h3 {
    font-size: 24px;
    margin: 15px 0 10px 0;
    color: var(--primary-blue);
}

.sector-card p {
    color: #4A5568;
    line-height: 1.6;
    font-size: 15px;
    margin-bottom: 25px;
}

.card-link {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 14px;
}

/* ==========================================================================
   BRANDS SLIDER (CARRUSEL)
   ========================================================================== */
.brands-section {
    padding: 40px 0;
    background-color: var(--white);
    overflow: hidden;
}

.brands-slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.brands-slider::before, .brands-slider::after {
    background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    content: ""; height: 100%; width: 150px; position: absolute; z-index: 2; pointer-events: none;
}
.brands-slider::before { left: 0; top: 0; }
.brands-slider::after { right: 0; top: 0; transform: rotate(180deg); }

.brands-track {
    display: flex;
    width: calc(250px * 10);
    animation: scrollBrands 20s linear infinite;
}

.brands-track:hover { animation-play-state: paused; }

.slide {
    width: 250px; height: 80px; display: flex; align-items: center; justify-content: center; padding: 0 30px;
}

.slide img {
    max-width: 100%; max-height: 100%; object-fit: contain;  transition: all 0.3s;
}

.slide img:hover { filter: grayscale(0%) opacity(100%); }

@keyframes scrollBrands {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 5)); }
}

/* ==========================================================================
/* ==========================================================================
   PROJECTS SECTION (DYNAMIC DUAL-SLIDER & HOVERS)
   ========================================================================== */
.projects-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    overflow: hidden;
    width: 100%;
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4%;
}

.projects-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.section-header-left h2 {
    font-size: 36px;
    font-weight: 800;
    margin: 5px 0 0 0;
    color: var(--primary-blue);
}

/* Controles de flechas */
.slider-controls {
    display: flex;
    gap: 12px;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-blue);
    background: transparent;
    color: var(--primary-blue);
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.slider-arrow:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: scale(1.05);
}

/* Riel del Slider */
.projects-slider-wrapper {
    width: 100%;
    overflow: visible; /* Permite ver el siguiente proyecto sutilmente cortado en los bordes */
}

.projects-slider-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.project-slide {
    flex: 0 0 calc(50% - 15px); /* Muestra exactamente 2 proyectos por pantalla */
    width: calc(50% - 15px);
}

.project-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-image-wrapper {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* EFECTO HOVER MODERNO: Revelado y Zoom */
.project-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.7); /* Capa azul premium semitransparente */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.project-view-btn {
    padding: 12px 24px;
    background-color: var(--accent-green);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    border-radius: 4px;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    text-transform: uppercase;
}

.project-card:hover .project-img {
    transform: scale(1.08); /* Zoom fluido a la imagen */
}

.project-card:hover .project-card-overlay {
    opacity: 1; /* Aparece la cortina */
}

.project-card:hover .project-view-btn {
    transform: translateY(0); /* El botón sube elegantemente */
}

.badge-status {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 800;
    border-radius: 3px;
    letter-spacing: 1px;
    z-index: 3;
}

.project-info {
    padding: 30px;
}

.project-info h4 {
    margin: 0 0 10px 0;
    font-size: 22px;
    color: var(--primary-blue);
    font-weight: 800;
}

.project-meta {
    margin: 0;
    font-size: 14px;
    color: #718096;
}

/* --- RESPONSIVO PARA EL SLIDER --- */
@media (max-width: 768px) {
    .project-slide {
        flex: 0 0 100%; /* En móviles muestra 1 solo proyecto a pantalla completa */
        width: 100%;
    }
    .projects-slider-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .project-image-wrapper {
        height: 240px;
    }
}

/* ==========================================================================
   TRUST / WHY CHOOSE US
   ========================================================================== */
.trust-section { padding: 80px 4%; background: var(--white); }
.trust-container {
    max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center;
}
.trust-content h2 { font-size: 36px; color: var(--primary-blue); margin: 10px 0 20px; font-weight: 800; }
.trust-content p { color: #4A5568; font-size: 16px; line-height: 1.6; margin-bottom: 40px; }
.trust-points { display: flex; flex-direction: column; gap: 25px; }
.point-item { display: flex; gap: 20px; }
.point-icon {
    background: rgba(46, 204, 113, 0.1); color: var(--accent-green); width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: bold; flex-shrink: 0;
}
.point-item strong { display: block; font-size: 18px; color: var(--primary-blue); margin-bottom: 4px; }
.point-item p { margin: 0; color: #718096; font-size: 15px; }
.trust-stats-box { display: flex; flex-direction: column; gap: 20px; }
.stat-card { background: var(--primary-blue); color: var(--white); padding: 40px 30px; border-radius: 8px; text-align: center; }
.stat-card:nth-child(2) { background: var(--bg-light); color: var(--primary-blue); border: 1px solid #eef0f2; }
.stat-number { display: block; font-size: 48px; font-weight: 800; }
.stat-label { font-size: 14px; font-weight: 600; }

/* ==========================================================================
   CONTACT & FORM
   ========================================================================== */
.contact-section { padding: 80px 4%; background: var(--bg-light); }
.contact-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; }
.contact-details h2 { font-size: 38px; color: var(--primary-blue); font-weight: 800; }
.contact-details p { color: #4A5568; line-height: 1.6; margin-bottom: 40px; }
.direct-contact-info { display: flex; flex-direction: column; gap: 25px; }
.info-block span { display: block; font-size: 12px; font-weight: 800; color: #718096; }
.phone-link { font-size: 28px; font-weight: 800; color: var(--accent-green); text-decoration: none; }
.mail-link { font-size: 18px; font-weight: 600; color: var(--primary-blue); text-decoration: none; }
.form-container { background: var(--white); padding: 40px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); }
.quote-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--primary-blue); }
.form-group input, .form-group select, .form-group textarea {
    padding: 14px; border: 1px solid #e1e4e8; border-radius: 4px; font-size: 15px; background: #fafbfc; font-family: var(--font-main);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--accent-green); background: var(--white);
}
.submit-btn { width: 100%; border: none; cursor: pointer; padding: 16px; font-weight: 800; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer { background: var(--primary-blue); color: var(--white); padding: 30px 4%; }
.footer-bottom { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-links a { color: var(--white); text-decoration: none; font-weight: 600; }

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (¡MÓVILES COMPLETAMENTE ARREGLADOS!)
   ========================================================================== */
@media (max-width: 992px) {
    .trust-container, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    /* Menú Hamburguesa activado */
    .mobile-nav-toggle { display: flex; }
    
    .main-nav {
        position: fixed; top: 0; right: -100%; width: 75%; max-width: 300px; height: 100vh;
        background-color: var(--primary-blue); flex-direction: column; align-items: flex-start;
        justify-content: flex-start; padding: 100px 40px; gap: 25px;
        transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1); box-shadow: -5px 0 25px rgba(0,0,0,0.3);
    }
    
    .main-nav.open { right: 0; }
    .nav-link { font-size: 18px; width: 100%; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .main-nav .lang-btn { margin-left: 0; width: 100%; margin-top: 10px; }
    
    /* Animación X de la Hamburguesa */
    .mobile-nav-toggle.active .hamburger-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .mobile-nav-toggle.active .hamburger-bar:nth-child(2) { opacity: 0; }
    .mobile-nav-toggle.active .hamburger-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    /* Estructura del Formulario */
    .form-row { grid-template-columns: 1fr; gap: 20px; }
    
    /* Carrusel de marcas */
    .slide { width: 180px; padding: 0 15px; }
    .brands-track { width: calc(180px * 10); }
    @keyframes scrollBrands {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-180px * 5)); }
    }
    .brands-slider::before, .brands-slider::after { width: 60px; }
}

@media (max-width: 480px) {
    .hero-left-panel { text-align: center; }
    .cta-wrapper { justify-content: center; }
    .gp-btn { width: 100%; }
    .form-container { padding: 20px; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}

/* ==========================================================================
   TRUST / WHY CHOOSE US (NEW STRATEGY STYLING)
   ========================================================================== */
.trust-section { 
    padding: 100px 4%; 
    background: var(--white); 
}

.trust-container {
    max-width: 1200px; 
    margin: 0 auto; 
    display: grid; 
    grid-template-columns: 1.2fr 0.8fr; 
    gap: 60px; 
    align-items: center;
}

.trust-content h2 { 
    font-size: 38px; 
    color: var(--primary-blue); 
    margin: 10px 0 20px; 
    font-weight: 800; 
    line-height: 1.2;
}

.trust-content p { 
    color: #4A5568; 
    font-size: 16px; 
    line-height: 1.7; 
    margin-bottom: 40px; 
}

.trust-points { 
    display: flex; 
    flex-direction: column; 
    gap: 30px; 
}

.point-item { 
    display: flex; 
    gap: 20px; 
}

.point-icon {
    background: rgba(46, 204, 113, 0.1); 
    color: var(--accent-green); 
    width: 34px; 
    height: 34px;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 50%; 
    font-weight: bold; 
    flex-shrink: 0;
}

.point-item strong { 
    display: block; 
    font-size: 18px; 
    color: var(--primary-blue); 
    margin-bottom: 6px; 
    font-weight: 800;
}

.point-item p { 
    margin: 0; 
    color: #718096; 
    font-size: 15px; 
    line-height: 1.5;
}

.trust-stats-box { 
    display: flex; 
    flex-direction: column; 
    gap: 20px; 
}

.stat-card { 
    background: var(--primary-blue); 
    color: var(--white); 
    padding: 50px 40px; 
    border-radius: 8px; 
    text-align: center; 
    box-shadow: 0 15px 30px rgba(10, 25, 47, 0.1);
}

.stat-card.transparent-card { 
    background: var(--bg-light); 
    color: var(--primary-blue); 
    border: 1px solid #eef0f2; 
    box-shadow: none;
}

.stat-number { 
    display: block; 
    font-size: 54px; 
    font-weight: 800; 
    letter-spacing: -1px;
    margin-bottom: 5px;
}

.stat-label { 
    font-size: 13px; 
    font-weight: 800; 
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-green);
}

.stat-card.transparent-card .stat-label {
    color: var(--primary-blue);
}

@media (max-width: 992px) {
    .trust-container { grid-template-columns: 1fr; gap: 40px; }
}

.credentials-wrapper {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eef0f2;
}
.credentials-title {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: #718096;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}
.credentials-grid {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}
.credential-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-light);
    padding: 10px 16px;
    border-radius: 6px;
    border: 1px solid #eef0f2;
}
.badge-icon {
    font-size: 20px;
}
.badge-text strong {
    display: block;
    font-size: 13px;
    color: var(--primary-blue);
    font-weight: 800;
}
.badge-text p {
    margin: 0 !important;
    font-size: 11px !important;
    color: var(--accent-green) !important;
    font-weight: 700;
}
@media (max-width: 480px) {
    .credential-badge { width: 100%; }
}

/* ==========================================================================
   TELÉFONO MINIMALISTA CON EFECTO FLOTANTE ANIMADO
   ========================================================================== */

.logo-area {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #adf401;
    padding-left: 20px;
    border-left: 2px solid rgba(255, 255, 255, 0.15);
    white-space: nowrap;
    transition: all 0.3s ease;
}

/* El círculo contenedor del icono (Efecto Flotante) */
.phone-icon-container {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.08); /* Fondo ultra sutil */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* Animación de flotación contínua */
    animation: phoneFloat 3s ease-in-out infinite;
}

/* Icono SVG de alta fidelidad */
.modern-phone-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

/* El número telefónico textualmente */
.phone-number {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

/* ==========================================================================
   ESTADOS DE INTERACCIÓN (HOVER EFFECTS)
   ========================================================================== */

/* Al pasar el cursor sobre cualquier parte del enlace telefónico */
.header-phone:hover .phone-icon-container {
    background: #2ecc71; /* Destaca con un verde brillante moderno */
    border-color: #2ecc71;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.5); /* Destello brillante */
}

.header-phone:hover .modern-phone-icon {
    transform: rotate(15deg); /* Guiño sutil de rotación al hacer hover */
}

.header-phone:hover .phone-number {
    color: #2ecc71; /* El número también se ilumina en armonía */
}

/* ==========================================================================
   ANIMACIONES CSS PURE
   ========================================================================== */
@keyframes phoneFloat {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-4px); /* Sube suavemente */
    }
    100% {
        transform: translateY(0px);
    }
}

/* ==========================================================================
   OPTIMIZACIÓN RESPONSIVA EN MÓVILES
   ========================================================================== */
@media (max-width: 768px) {
    .logo-area {
        gap: 12px;
    }
    
    .header-phone {
        padding-left: 12px;
        border-left-width: 1px;
    }

    .phone-number {
        font-size: 13px; /* Compactamos tamaño del texto */
    }

    .phone-icon-container {
        width: 32px;
        height: 32px;
    }
    
    .modern-phone-icon {
        width: 15px;
        height: 15px;
    }
}

/* En pantallas súper pequeñas dejamos solo el botón flotante táctil */
@media (max-width: 430px) {
    .header-phone {
        border-left: none;
        padding-left: 0;
    }
    
    .phone-number {
        display: none; /* Escondemos el texto para evitar colisiones */
    }

    .phone-icon-container {
        background: rgba(46, 204, 113, 0.15);
        border-color: rgba(46, 204, 113, 0.3);
        color: #2ecc71;
        width: 38px; /* Un poco más grande para ser una diana táctil cómoda */
        height: 38px;
    }
}