:root {
    --primary: #002554;
    --secondary: #0096C7;
    --background: #F8FAFC;
    --accent: #48CAE4;
    --card: #FFFFFF;
    --text: #ffffff;
    --text-dark: #0f172a;
    --text-secondary: #64748B;
    --hero-end: #0077B6;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 11px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.menu-toggle:hover { background: rgba(255, 255, 255, 0.16); }

html {
color: var(--text);
font-family: poppins, sans-serif;
background-color: var(--background);
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    min-height: 78px;
    width: 100%;
    margin: 0 auto;
    padding: 8px 32px 8px 24px;
    background: var(--primary);
    border-bottom: 1px solid rgba(72, 202, 228, 0.18);
    box-shadow: 0 4px 20px rgba(0, 37, 84, 0.18);
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

nav {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    display: inline;
}

nav a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    padding: 9px 14px;
    border-radius: 10px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

nav a.active {
    background: rgba(72, 202, 228, 0.16);
    color: var(--accent);
}

/* Enlace Contacto como botón CTA */
nav a.nav-cta-link,
nav a.nav-cta-link.active {
    background: var(--accent);
    color: var(--primary);
    font-weight: 700;
    margin-left: 6px;
    padding: 9px 18px;
    box-shadow: 0 4px 14px rgba(72, 202, 228, 0.3);
}

nav a.nav-cta-link:hover {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 6px 18px rgba(72, 202, 228, 0.4);
}

.nav-cta { display: none; }
.nav-head,
.nav-foot { display: none; }
.nav-overlay { display: none; }

/* bloqueo de scroll cuando el menú lateral está abierto */
body.menu-open { overflow: hidden; }
body.menu-open .btn-whatsapp { display: none; }

/* ---------- BREADCRUMB / INDICADOR DE PÁGINA ---------- */
.breadcrumb {
    background: #fff;
    border-bottom: 1px solid #e8eef5;
}

.breadcrumb-in {
    max-width: 1200px;
    margin: 0 auto;
    padding: 11px 32px;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
}

.breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748B;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover { color: #0096C7; }
.bc-sep { color: #cbd5e1; flex-shrink: 0; }

.bc-current {
    background: rgba(0, 150, 199, 0.1);
    color: #0096C7;
    border: 1px solid rgba(0, 150, 199, 0.22);
    padding: 3px 12px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 12px;
}

.footer {
    background: var(--primary);
    color: #fff;
    margin-top: 6rem;
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 44px 32px 36px;
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1.3fr;
    gap: 36px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-logo img { height: 46px; width: auto; object-fit: contain; }
.footer-logo span { font-size: 1.2rem; font-weight: 700; color: #fff; }

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 18px;
    max-width: 360px;
}

.footer-social { display: flex; gap: 10px; }

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.footer-col h4 {
    color: var(--accent);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin: 0 0 16px;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
    width: fit-content;
}

.footer-col a:hover { color: var(--accent); }

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.5;
}

.footer-contact-list svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

.footer-contact-list a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    word-break: break-word;
    transition: color 0.2s ease;
}

.footer-contact-list a:hover { color: var(--accent); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-bottom p { margin: 0; color: rgba(255, 255, 255, 0.5); font-size: 13px; }

.footer-cta {
    color: var(--accent);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-cta:hover { color: #fff; }

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-bottom-links a:hover { color: var(--accent); }
.fb-dot { color: rgba(255, 255, 255, 0.3); }

a {
    color:  var(--secondary);
    text-decoration: none;
}

p{
    color: var(--text-secondary);
    font-size: 1.3rem;
}

.hero {
    background: linear-gradient(135deg, var(--primary), var(--hero-end));
    color: var(--text);
    padding: 3rem 2rem;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(0, 37, 84, 0.18);
}

.hero h2,
.hero p {
    font-weight: 700;
    color: var(--text);
}

.hero p {
    opacity: 0.92;
}

.card {
    background: var(--card);
    color: var(--text-dark);
}

.btn-primary {
     background: var(--secondary);
    color: var(--text);
    border: none;
    border-radius: 10px;
    padding: 11px 20px;
    margin: 0;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background .2s;
}

.btn-primary:hover {
    background-color: var(--accent);
}

.btn-secondary {
    border: 2px solid var(--accent);
    color: var(--primary);
    background: transparent;
}

.btn-secondary:hover {
    background: rgba(72, 202, 228, 0.12);
}

main {
    color: var(--text-dark);
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

body {
    opacity: 1;
    animation: fadeIn 0.5s ease-in forwards;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    transition: opacity 0.3s ease;
}

body.fade-out {
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0.3;
    }
    to {
        opacity: 1;
    }
}

html {
    scroll-behavior: smooth;
}

/* ===========================================================
   ANIMACIONES DE ENTRADA (revelado al hacer scroll)
   La clase .is-visible la añade animations.js
   =========================================================== */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.reveal-left  { transform: translateX(-22px); }
.reveal-right { transform: translateX(22px); }
.reveal-scale { transform: scale(0.95); }
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible { transform: none; }

.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    nav.active,
    nav.active ul li,
    nav.active .nav-cta {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

#logo {
    height: 52px;
    width: auto;
    object-fit: contain;
    margin: 0;
    flex-shrink: 0;
}

#logo-div{
    display: flex;
    align-items: center;
    padding: 0;
    margin-left: -6px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
}

#logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
    color: var(--text);
    min-width: 0;
    margin-top: 2px;
}

#logo-text strong {
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

#logo-text span {
    font-size: 0.66rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(159, 230, 247, 0.85);
    margin-top: 3px;
}

.btn-whatsapp {
    position: fixed;
    bottom: 22px;
    right: 22px;

    z-index: 9999;
    width: 3rem;
    height: 3rem;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #25D366;
    padding: 8px;
    border-radius: 50%;

    opacity: 0.9;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.btn-whatsapp:hover {
    opacity: 1;
    transform: translateY(-2px);
}

#WS-img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

