/* ===== VARIABLES & RESET ===== */
:root {
    /* Paleta de Colores */
    --color-primary: #0323C6;
    /* Azul Oscuro Corporativo */
    --color-primary-dark: #021a96;
    /* Variante más oscura para hover */
    --color-accent: #B1F0FF;
    /* Azul Claro (toques sutiles) */
    --color-text-main: #1f2937;
    /* Gris oscuro para texto principal */
    --color-text-light: #6b7280;
    /* Gris medio para textos secundarios */
    --color-bg-light: #f9fafb;
    /* Fondo muy claro */
    --color-white: #ffffff;
    --color-whatsapp: #25D366;
    /* WhatsApp Green */

    /* Efectos */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Espaciado */
    --header-height: 120px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--color-text-main);
    line-height: 1.6;
    background-color: var(--color-white);
    overflow-x: hidden;
}

/* ===== UTILITIES ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

.section {
    padding: 5rem 0;
}

/* Subtítulos pequeños (eyebrow text) */
.subtitle {
    display: block;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.subtitle-light {
    display: block;
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--color-primary);
    /* Siempre azul */
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
    box-shadow: var(--shadow-sm);
    /* Sombra suave siempre */
}

/* .header.scrolled {
    background-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    height: 90px;  Removed shrink effect
} */
.header.scrolled {
    background-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    /* Mantener altura original */
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 80px;
    /* Logo más grande inicial */
    width: auto;
    display: block;
    transition: height var(--transition-fast);
}

/* .header.scrolled .logo img {
    height: 60px;
} Removed logo shrink effect */

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    font-weight: 500;
    color: var(--color-white);
    /* Inicialmente blanco para el banner oscuro */
    transition: color var(--transition-fast);
    font-size: 1rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-accent);
    transition: width var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

/* Mantener enlaces blancos al hacer scroll ya que el fondo ahora es azul */
.header.scrolled .nav-link {
    color: var(--color-white);
}

.header.scrolled .nav-link:hover {
    color: var(--color-accent);
}

/* Botón Contactar en Header */
.btn-primary {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-black);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Hamburguesa */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-accent);
    /* Azul claro siempre */
    margin: 5px 0;
    transition: var(--transition-normal);
}

.header.scrolled .bar {
    background-color: var(--color-accent);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Parallax Effect simple */
    transform: translateZ(0);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Fix para parallax en algunos navegadores si no usamos JS */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(3, 35, 198, 0.75) 0%, rgba(3, 35, 198, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    margin-top: 4rem;
    /* Compensar header más alto */
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.text-highlight {
    color: var(--color-accent);
    position: relative;
    display: inline-block;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Ajuste específico botón 'Empezar ahora' */
.hero-actions .btn-primary {
    background-color: var(--color-white);
    color: var(--color-text-main);
    /* Negro/Gris oscuro */
}

.hero-actions .btn-primary:hover {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--color-white);
    transition: var(--transition-fast);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

/* Scroll Down Animation */
.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.7;
    transition: opacity 0.3s;
}

.scroll-down:hover {
    opacity: 1;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--color-white);
    border-radius: 20px;
    display: block;
    position: relative;
}

.wheel {
    width: 4px;
    height: 4px;
    background-color: var(--color-white);
    border-radius: 50%;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 8px;
    }

    100% {
        opacity: 0;
        top: 24px;
    }
}

/* ===== SERVICIOS ===== */
.section-header {
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.grid-servicios {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* FORZADO A 2 COLUMNAS */
    gap: 2rem;
}

.card-servicio {
    background-color: var(--color-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

/* Decoración visual Servicios 'Pro' */
.card-servicio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background-color: var(--color-accent);
    opacity: 0;
    transition: var(--transition-normal);
}

.card-servicio:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-servicio:hover::before {
    opacity: 1;
}

.icon-box {
    width: 70px;
    height: 70px;
    background-color: rgba(177, 240, 255, 0.3);
    /* Azul claro muy suave */
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.card-servicio:hover .icon-box {
    background-color: var(--color-primary);
    transform: rotate(5deg);
}

.card-servicio:hover .icon-box .icon {
    filter: grayscale(1) brightness(100);
    /* Icono interno a blanco si es texto/emoji */
}

.card-servicio h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.card-servicio p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 1.05rem;
}

.card-link {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: gap var(--transition-fast);
}

.card-link:hover {
    gap: 0.5rem;
    color: var(--color-primary-dark);
}

/* ===== NOSOTROS ===== */
/* ===== NOSOTROS (REBUILT) ===== */
.nosotros {
    background-color: var(--color-bg-light);
    padding: 5rem 0;
}

.nosotros-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* New Logic: Simplified Image Wrapper */
.nosotros-img-wrapper {
    position: relative;
    width: 100%;
    /* Aspect ratio for robust sizing */
    aspect-ratio: 1 / 1;
    max-width: 500px;
    margin: 0 auto;
}

.img-container {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: #ddd;
    /* Fallback color */
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Remove inline gap */
}

/* Desktop positioning */
.img-container.principal {
    width: 80%;
    height: 80%;
    top: 0;
    left: 0;
    z-index: 1;
}

.img-container.secundaria {
    width: 60%;
    height: 60%;
    bottom: 0;
    right: 0;
    z-index: 2;
    border: 6px solid var(--color-bg-light);
}

.experience-badge {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 1.5rem;
    border-radius: 15px;
    z-index: 3;
    box-shadow: var(--shadow-md);
    text-align: center;
    /* Removed float animation for mobile stability */
}

.experience-badge .number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.875rem;
    font-weight: 500;
}

/* Removed specific H2 styling here as it's now handled by generic section-header or moved out */
/* .nosotros-content h2 { ... } removed/adjusted below if needed */

.lead {
    font-size: 1.125rem;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
}

.features-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: var(--color-accent);
    color: var(--color-primary);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
    flex-shrink: 0;
}

/* ===== PARTNERS ===== */
.partners {
    background-color: var(--color-white);
}

.partners-grid-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.partner-card {
    background-color: var(--color-white);
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 100px;
    transition: var(--transition-normal);
}

.partner-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Eliminado grayscale para mostrar color original */
    transition: var(--transition-normal);
}

.partner-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: scale(1.15);
    /* Más grande */
}

.partner-card:hover img {
    filter: saturate(1.5) brightness(1.05);
    /* Más color y brillo */
}

/* ===== CONTACTO ===== */
.contacto {
    position: relative;
    padding-bottom: 5rem;
    background-color: var(--color-accent);
    padding-top: 5rem;
    margin-bottom: -6rem;
    /* Metido en el footer */
    z-index: 10;
}

/* Ajuste margen footer para que no se superponga raro */
.footer {
    padding-top: 10rem;
    /* Compensar el margin negativo */
}

.contacto-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--color-white);
    /* Fondo blanco para la tarjeta contraste */
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contacto-info {
    padding: 4rem;
    color: var(--color-text-main);
    /* Texto oscuro porque fondo es blanco */
}

.contacto-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.contacto-info p {
    color: var(--color-text-light);
    margin-bottom: 3rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    /* Alineado verticalmente */
    gap: 1.5rem;
}

.icon-circle {
    width: 50px;
    height: 50px;
    background-color: rgba(3, 35, 198, 0.1);
    /* Azul muy suave */
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-primary);
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--color-primary);
    font-weight: 700;
}

.info-item a,
.info-item p {
    color: var(--color-text-main);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 0;
}

.info-item a:hover {
    text-decoration: underline;
    color: var(--color-primary);
}


.mapa-container {
    height: 100%;
    min-height: 400px;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--color-primary);
    /* Azul Corporativo (igual cabecera) */
    color: var(--color-white);
    padding: 4rem 0 2rem;
    margin-top: -2rem;
    /* Solapamiento visual decorativo */
    padding-top: 10rem;
    /* Ajustado a petición del usuario (punto medio) */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 50px;
    margin-bottom: 0.5rem;
    /* Reducido para agrupar mejor */
    vertical-align: middle;
}

.footer-company-name {
    color: var(--color-accent);
    font-size: 1.5rem;
    font-weight: 700;
    margin-left: 0.5rem;
    vertical-align: middle;
    display: inline-block;
}

.footer-slogan {
    color: var(--color-accent);
    font-size: 1.1rem;
    font-weight: 500;
}

.footer-social h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-white);
    transition: var(--transition-fast);
}

.social-link:hover {
    background-color: var(--color-accent);
    /* Fondo azul claro */
    color: var(--color-primary);
    /* Icono azul oscuro */
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-accent);
    /* Azul claro al pasar ratón */
}

/* ===== ANIMACIONES CSS ===== */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-fade-right {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease-out;
}

.animate-fade-left {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease-out;
}

.animate-zoom-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s ease-out;
}

.visible {
    opacity: 1;
    transform: none;
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-500 {
    transition-delay: 0.5s;
}

.delay-600 {
    transition-delay: 0.6s;
}

.delay-700 {
    transition-delay: 0.7s;
}

.delay-800 {
    transition-delay: 0.8s;
}

.delay-900 {
    transition-delay: 0.9s;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 992px) {

    /* FORZAR VISIBILIDAD EN MÓVIL (Fix bug scroll animations) */
    .animate-fade-up,
    .animate-fade-right,
    .animate-fade-left,
    .animate-zoom-in {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .nosotros-grid {
        grid-template-columns: 1fr;
    }

    .nosotros-img-wrapper {
        /* Mobile adjustment logic */
        aspect-ratio: auto;
        height: auto;
        min-height: 300px;
        /* Ensure space is reserved */
        margin-bottom: 3rem;
    }

    /* Stack or Simplify Images on Mobile */
    .img-container.principal {
        position: relative;
        width: 100%;
        height: 250px;
        top: auto;
        left: auto;
        margin-bottom: 0;
        /* Removing bottom margin to let other elements overlap if needed */
    }

    /* Mostrar imagen secundaria colocada a la derecha del badge */
    .img-container.secundaria {
        display: block;
        /* Mostrar de nuevo */
        position: absolute;
        width: 50%;
        height: 120px;
        bottom: 0;
        right: 0;
        /* A la derecha */
        margin-top: -30px;
        /* Pull up slightly if needed */
        z-index: 1;
        /* Detrás del badge */
        border: 4px solid var(--color-bg-light);
    }

    .experience-badge {
        position: absolute;
        /* Absolute again to overlap */
        bottom: 0;
        left: 0;
        margin-top: 0;
        display: inline-block;
        width: auto;
        z-index: 3;
        /* Encima de la imagen secundaria */
        transform: scale(0.9);
        /* Un poco más pequeño en móvil */
        transform-origin: bottom left;
    }

    .contacto-wrapper {
        grid-template-columns: 1fr;
    }

    .mapa-container {
        height: 300px;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 90px;
        /* Aumentado de 70px para que quepa el logo grande */
    }

    .grid-servicios {
        grid-template-columns: 1fr;
        /* Volver a 1 columna en móvil */
    }

    /* .nosotros-img-wrapper override removed, handled above */

    .hero h1 {
        font-size: 2.5rem;
    }

    /* Menú Móvil */
    .hamburger {
        display: block;
        z-index: 1001;
        /* Encima de todo */
        position: relative;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        /* Panel lateral */
        height: 100vh;
        background-color: var(--color-primary);
        flex-direction: column;
        justify-content: center;
        transition: right 0.4s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 2rem;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    /* Animación del botón hamburguesa */
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .header.scrolled .hamburger.active .bar {
        background-color: var(--color-accent);
        /* Siempre azul claro */
    }

    /* Partners en móvil */
    .partner-card {
        width: 140px;
        height: 90px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--color-whatsapp);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    fill: white;
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    color: var(--color-text-main);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent white;
}

.whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-5px);
}