:root {
    --navy: #0B1437;
    --navy-mid: #0F1E4A;
    --sky: #0EA5E9;
    --sky-dark: #0284C7;
    --sky-light: #E0F2FE;
    --green: #22C55E;
    --whatsapp: #25D366;
    --white: #FFFFFF;
    --off: #F8FAFC;
    --off2: #F1F5F9;
    --text: #1E293B;
    --muted: #64748B;
    --border: #E2E8F0;
    --shadow: 0 8px 28px rgba(14, 165, 233, 0.10);
    --shadow-xl: 0 24px 70px rgba(11, 20, 55, 0.18);
    --radius: 10px;
    --radius-lg: 18px;
    --radius-full: 50px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    line-height: 1.65;
    background: var(--white);
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.18; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 78px 0; }
.bg-off { background: var(--off); }
.text-muted { color: var(--muted); }

.top-bar {
    background: var(--navy);
    color: rgba(255,255,255,0.78);
    font-size: 0.82rem;
    padding: 7px 0;
}
.top-bar-content { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.top-bar i { color: var(--sky); margin-right: 4px; }
.top-bar a:hover { color: #7DD3FC; }

#site-header { position: fixed; inset: 0 0 auto; z-index: 1000; transition: box-shadow .25s ease; }
.nav-wrapper {
    background: rgba(255,255,255,0.97);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}
#site-header.scrolled .nav-wrapper { box-shadow: 0 8px 28px rgba(11,20,55,0.10); }
.navbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; position: relative; }
.logo img { width: 155px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 3px; }
.nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: var(--navy);
    font-size: 0.84rem;
    font-weight: 700;
    padding: 9px 10px;
    border-radius: 8px;
    white-space: nowrap;
    line-height: 1.2;
    text-align: center;
    transition: all .22s ease;
}
.nav-links a i { color: var(--sky); }
.nav-links a:hover, .nav-links a.active { color: var(--sky-dark); background: var(--sky-light); }
.mobile-menu-btn { display: none; border: 0; background: transparent; color: var(--navy); font-size: 1.35rem; padding: 8px; }
.header-spacer { height: 102px; }

.btn, button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: var(--radius-full);
    padding: 12px 24px;
    font-weight: 800;
    font-size: .92rem;
    cursor: pointer;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
    white-space: nowrap;
    line-height: 1.2;
    text-align: center;
}
.btn i,
.nav-cta i,
.nav-links a i,
.card-link i {
    flex: 0 0 auto;
    line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--sky); color: var(--white); box-shadow: 0 8px 24px rgba(14,165,233,.30); }
.btn-primary:hover { background: var(--sky-dark); }
.btn-navy { background: var(--navy); color: var(--white); box-shadow: 0 8px 24px rgba(11,20,55,.20); }
.btn-whatsapp, .nav-cta { background: var(--whatsapp); color: var(--white); box-shadow: 0 8px 24px rgba(37,211,102,.28); }
.btn-outline { border: 1px solid var(--border); color: var(--navy); background: var(--white); }
.btn-outline-white { border: 1px solid rgba(255,255,255,.48); color: var(--white); background: transparent; }
.btn-lg { padding: 14px 30px; font-size: 1rem; }
.nav-cta { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 18px; border-radius: var(--radius-full); font-weight: 800; font-size: .84rem; line-height: 1.2; text-align: center; }

.hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(135deg, var(--navy) 0%, #0D2151 58%, #0B3068 100%);
    padding: 92px 0 86px;
}
.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 78% 45%, rgba(14,165,233,.20), transparent 56%);
}
.hero:after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px; height: 56px;
    background: linear-gradient(to bottom right, transparent 49%, var(--off) 50%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.04fr .96fr; gap: 54px; align-items: center; }
.eyebrow, .sec-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: var(--radius-full);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.eyebrow { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.20); color: rgba(255,255,255,.88); padding: 6px 14px; margin-bottom: 18px; }
.sec-eyebrow { background: var(--sky-light); color: var(--sky-dark); padding: 5px 14px; margin-bottom: 14px; }
.hero h1 { color: var(--white); font-size: clamp(2.15rem, 4.5vw, 3.55rem); letter-spacing: 0; margin-bottom: 20px; }
.hero h1 span { color: #7DD3FC; }
.hero-desc { color: rgba(255,255,255,.78); font-size: 1.08rem; max-width: 610px; margin-bottom: 28px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 14px 20px; margin-bottom: 32px; color: rgba(255,255,255,.74); font-weight: 700; font-size: .88rem; }
.hero-proof i { color: #7DD3FC; margin-right: 5px; }
.hero-cta, .cta-buttons { display: flex; gap: 13px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-img { border-radius: 18px; box-shadow: var(--shadow-xl); border: 1px solid rgba(255,255,255,.16); background: #fff; }
.float-card {
    position: absolute;
    right: -20px;
    bottom: 28px;
    background: var(--white);
    color: var(--navy);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    padding: 14px 18px;
    min-width: 170px;
}
.float-card strong { display: block; font-size: 1.55rem; line-height: 1; color: var(--sky-dark); }
.float-card span { color: var(--muted); font-size: .8rem; font-weight: 700; }

.trust-bar { background: var(--off); border-bottom: 1px solid var(--border); padding: 20px 0; }
.trust-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px 34px; color: var(--muted); font-weight: 800; font-size: .88rem; }
.trust-grid i { color: var(--sky); margin-right: 7px; }

.sec-header { margin-bottom: 46px; }
.sec-header.center { text-align: center; }
.sec-title { font-size: clamp(1.75rem, 3vw, 2.45rem); margin-bottom: 13px; }
.sec-sub { color: var(--muted); max-width: 690px; }
.center .sec-sub { margin: 0 auto; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 42px rgba(14,165,233,.16); }
.icon-box {
    width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    color: var(--sky); background: var(--sky-light); font-size: 1.18rem; margin-bottom: 18px;
}
.card h3 { font-size: 1.08rem; margin-bottom: 9px; }
.card p { color: var(--muted); font-size: .95rem; }
.legal-content { max-width: 980px; margin: 0 auto; }
.legal-content h2 { font-size: 1.22rem; margin: 28px 0 10px; }
.legal-content p { margin-bottom: 13px; color: var(--text); }
.legal-content p:first-child { color: var(--muted); }
.compact-card { padding: 20px; }
.compact-card .icon-box { width: 44px; height: 44px; font-size: 1rem; margin-bottom: 14px; }
.compact-card h3 { font-size: .98rem; }
.compact-card p { font-size: .88rem; }
.card-link { display: inline-flex; align-items: center; gap: 7px; color: var(--sky-dark); font-weight: 900; margin-top: 16px; font-size: .9rem; line-height: 1.2; }

.split-img { border-radius: 18px; box-shadow: var(--shadow-xl); border: 1px solid var(--border); background: #fff; }
.check-list { display: grid; gap: 12px; margin: 22px 0; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-weight: 700; }
.check-list i { color: var(--green); margin-top: 4px; }
.module-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pill { display: inline-flex; gap: 7px; align-items: center; padding: 8px 12px; border-radius: var(--radius-full); background: var(--off2); color: var(--navy); font-size: .84rem; font-weight: 800; }
.pill i { color: var(--sky); }

.stats-bar { background: var(--navy); color: var(--white); padding: 44px 0; }
.stat { text-align: center; }
.stat strong { display: block; color: #7DD3FC; font-size: 2.15rem; line-height: 1; }
.stat span { color: rgba(255,255,255,.68); font-weight: 700; }

.price-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.price-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.price-table th, .price-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: center; }
.price-table th { background: var(--navy); color: var(--white); }
.price-table tr:last-child td { border-bottom: 0; }
.price-note { margin-top: 14px; font-size: .9rem; text-align: center; }

.page-hero { background: linear-gradient(135deg, var(--navy), #0B3068); color: var(--white); padding: 76px 0; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); max-width: 850px; margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,.78); max-width: 760px; font-size: 1.07rem; }

.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.form-card { padding: 28px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-group.full { grid-column: 1 / -1; }
label { display: block; color: var(--navy); font-weight: 800; margin-bottom: 7px; font-size: .9rem; }
input, select, textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 13px;
    font: inherit;
    color: var(--text);
    background: var(--white);
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--sky-light); border-color: var(--sky); }
.alert { padding: 14px 16px; border-radius: 8px; margin-bottom: 18px; font-weight: 700; }
.alert-success { background: #F0FDF4; color: #166534; border: 1px solid #BBF7D0; }
.alert-error { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.captcha-box { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.captcha-question { background: var(--sky-light); color: var(--navy); padding: 12px 14px; border-radius: 8px; font-weight: 900; }
.hp-field { display: none; }
.map-link-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}
.map-link-grid img {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
}
.legacy-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.legacy-image-card {
    padding: 10px;
}
.legacy-image-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    border-radius: 8px;
    background: var(--off);
    border: 1px solid var(--border);
}
.legacy-image-card p {
    margin-top: 9px;
    font-size: .78rem;
    line-height: 1.35;
    word-break: break-word;
}

.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, #0D2151 60%, #0B3068 100%);
    color: var(--white);
    text-align: center;
    padding: 70px 0;
}
.cta-section h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,.75); max-width: 650px; margin: 0 auto 28px; }
.cta-section .cta-buttons { justify-content: center; }

.site-footer { background: var(--navy); color: rgba(255,255,255,.68); padding: 62px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.55fr 1fr 1fr 1.25fr; gap: 38px; padding-bottom: 42px; border-bottom: 1px solid rgba(255,255,255,.09); }
.footer-logo { color: var(--white); font-weight: 900; font-size: 1.35rem; display: inline-block; margin-bottom: 12px; }
.footer-logo span { color: #7DD3FC; }
.footer-tagline { color: rgba(255,255,255,.60); font-size: .92rem; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.footer-col h4 { color: var(--white); text-transform: uppercase; letter-spacing: .06em; font-size: .86rem; margin-bottom: 16px; }
.footer-links li, .footer-contact li { margin-bottom: 10px; }
.footer-links a, .footer-contact a { color: rgba(255,255,255,.64); }
.footer-links a:hover, .footer-contact a:hover { color: #7DD3FC; }
.footer-links i, .footer-contact i { color: var(--sky); margin-right: 7px; font-size: .78rem; }
.footer-bottom { padding: 20px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .84rem; color: rgba(255,255,255,.44); }
.footer-bottom-links { display: flex; gap: 18px; }

.wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--whatsapp);
    color: var(--white);
    font-size: 1.55rem;
    box-shadow: 0 8px 28px rgba(37,211,102,.45);
}

@media (max-width: 1100px) {
    .nav-contact { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 992px) {
    .nav-links, .nav-cta { display: none; }
    .mobile-menu-btn { display: block; }
    .nav-links.active {
        display: flex;
        position: absolute;
        left: 0; right: 0; top: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: 0 0 12px 12px;
        box-shadow: var(--shadow-xl);
        padding: 10px;
    }
    .nav-links.active li { width: 100%; }
    .nav-links.active a {
        width: 100%;
        justify-content: flex-start;
        min-height: 48px;
        padding: 13px 12px;
        font-size: .98rem;
        text-align: left;
        border-radius: 8px;
    }
    .nav-links.active a i {
        width: 24px;
        min-width: 24px;
        margin-right: 2px;
        text-align: center;
        font-size: 1rem;
    }
    .hero-inner, .grid-2, .contact-layout { grid-template-columns: 1fr; }
    .float-card { right: 12px; }
}
@media (max-width: 768px) {
    .container { padding: 0 18px; }
    section { padding: 56px 0; }
    .top-bar-content { justify-content: center; gap: 10px; }
    .hide-sm { display: none; }
    .header-spacer { height: 91px; }
    .hero { padding: 70px 0 72px; }
    .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
    .legacy-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; align-items: center; }
    .hero-cta .btn, .cta-buttons .btn { width: 100%; }
    .float-card { position: static; margin-top: 14px; }
}
