:root {
    --navy: #0B1F3A;
    --primary: #12355B;
    --secondary: #2F855A;
    --secondary-deep: #276749;
    --mint: #E8F8EF;
    --sand: #F3F6F4;
    --white: #ffffff;
    --text-dark: #10233F;
    --text-muted: #5B6B7C;
    --line: rgba(18, 53, 91, 0.12);
    --brand-gradient: linear-gradient(135deg, #0B1F3A 0%, #1B4D3E 55%, #2F855A 100%);
    --soft-gradient: linear-gradient(180deg, #F7FAF8 0%, #EEF4F0 100%);
    --glass: rgba(255, 255, 255, 0.88);
    --shadow-sm: 0 8px 24px rgba(11, 31, 58, 0.06);
    --shadow-lg: 0 22px 50px rgba(11, 31, 58, 0.12);
    --shadow-xl: 0 40px 90px rgba(11, 31, 58, 0.18);
    --radius-lg: 28px;
    --radius-md: 18px;
    --transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    --font-display: "Fraunces", Georgia, serif;
    --font-body: "Outfit", "Segoe UI", sans-serif;
    --nav-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background:
        radial-gradient(1100px 500px at 10% -10%, rgba(47, 133, 90, 0.12), transparent 60%),
        radial-gradient(900px 420px at 100% 0%, rgba(18, 53, 91, 0.10), transparent 55%),
        var(--sand);
    line-height: 1.7;
    overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, .brand-display {
    font-family: var(--font-display);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

/* Navigation */
.site-nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(1.25rem, 5vw, 5rem);
    background: #ffffff;
    border-bottom: 1px solid rgba(18, 53, 91, 0.08);
    transition: var(--transition);
}
.site-nav.scrolled {
    background: #ffffff;
    border-bottom-color: rgba(18, 53, 91, 0.08);
}
.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    z-index: 1001;
}
.logo-wrap img {
    width: 62px;
    height: auto;
    filter: drop-shadow(0 8px 16px rgba(11, 31, 58, 0.18));
}
.logo-wordmark { display: none; }
.logo-wordmark strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--navy);
    font-weight: 800;
}
.logo-wordmark span {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--secondary);
    font-weight: 700;
}
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2vw, 1.75rem);
}
.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color var(--transition);
}
.nav-links a:hover { color: var(--secondary); }
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    min-width: 260px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    padding: 10px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--transition);
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu li a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.9rem;
}
.dropdown-menu li a:hover { background: var(--mint); }
.btn-prime {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--brand-gradient);
    color: #fff !important;
    padding: 0.9rem 1.45rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(47, 133, 90, 0.28);
    transition: transform var(--transition), filter var(--transition);
}
.btn-prime:hover {
    transform: translateY(-3px);
    filter: brightness(1.06);
}
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.45rem;
    border-radius: 999px;
    border: 1.5px solid rgba(255,255,255,0.55);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-3px);
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}
.btn-outline:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-3px);
}
.menu-btn {
    display: none;
    font-size: 1.45rem;
    color: var(--primary);
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: 0;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    padding: calc(var(--nav-h) + 2rem) clamp(1.25rem, 6vw, 6rem) 5rem;
    overflow: hidden;
    color: #fff;
    isolation: isolate;
}
.hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1.04);
    animation: heroZoom 18s ease-in-out infinite alternate;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(11, 31, 58, 0.35) 0%, rgba(11, 31, 58, 0.55) 42%, rgba(11, 31, 58, 0.88) 100%),
        linear-gradient(115deg, rgba(47, 133, 90, 0.28), transparent 45%);
}
.hero-content {
    max-width: 760px;
    animation: riseIn 1s var(--transition) both;
}
.hero-brand {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 7vw, 5.4rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.35rem;
}
.hero-brand span {
    display: block;
    font-size: 0.28em;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-family: var(--font-body);
    font-weight: 700;
    color: #B7E4C7;
    margin-top: 0.55rem;
}
.hero-content h1 {
    font-size: clamp(1.55rem, 3.4vw, 2.35rem);
    font-weight: 700;
    max-width: 18ch;
    margin: 1.1rem 0 0.9rem;
    color: #fff;
}
.hero-content p {
    font-size: clamp(1.02rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.88);
    max-width: 48ch;
    margin-bottom: 1.8rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* Sections */
.section-pad { padding: clamp(4.5rem, 9vw, 7.5rem) clamp(1.5rem, 7vw, 6.5rem); }
.section-shell {
    width: min(1180px, 100%);
    margin-inline: auto;
}
.section-header { text-align: center; margin-bottom: 3.2rem; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-header h4,
.eyebrow {
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 0.85rem;
}
.section-header h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--navy);
    margin-bottom: 0.9rem;
}
.section-header p { color: var(--text-muted); font-size: 1.05rem; }

.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    background-image: var(--brand-gradient);
}
.stat-item {
    padding: 2.6rem 1.2rem;
    text-align: center;
    position: relative;
}
.stat-item h3 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #C6F6D5;
    margin-bottom: 0.35rem;
}
.stat-item p {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.9;
}

.about-modern {
    background: var(--soft-gradient);
    position: relative;
}
.about-modern-inner {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1.1fr);
    gap: clamp(1.75rem, 4vw, 3.5rem);
    align-items: stretch;
}
.about-visual {
    position: relative;
    min-height: 260px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.about-main-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 28px;
    object-fit: cover;
    object-position: center;
}
.about-shape {
    position: absolute;
    inset: auto auto -14px -14px;
    width: 38%;
    height: 38%;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(47,133,90,0.35), rgba(18,53,91,0.2));
    z-index: -1;
}
.about-text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: 0.25rem;
}
.about-text-content h2 {
    font-size: clamp(1.85rem, 3.5vw, 2.6rem);
    color: var(--navy);
    margin: 0.35rem 0 1rem;
}
.about-text-content .about-copy,
.about-text-content .about-copy p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1rem;
    line-height: 1.75;
}
.about-text-content .about-copy p:last-child { margin-bottom: 1.35rem; }

.services-area {
    background: #fff;
    overflow: hidden;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
    width: 100%;
    max-width: 100%;
}
.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    min-width: 0;
}
.service-card {
    position: relative;
    height: 320px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    z-index: 2;
}
.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.service-card:hover .service-img { transform: scale(1.06); }
.service-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 4rem 1.5rem 1.5rem;
    background: linear-gradient(transparent, rgba(11, 31, 58, 0.95));
}
.service-overlay h3 {
    color: #fff;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-family: var(--font-body);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.25;
}

.reviews-section {
    background:
        radial-gradient(700px 300px at 15% 20%, rgba(47,133,90,0.25), transparent 60%),
        var(--navy);
    color: #fff;
}
.reviews-section .section-header h2 { color: #fff; }
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.4rem;
}
.review-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 24px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: transform var(--transition);
}
.review-card:hover { transform: translateY(-6px); }
.rating { color: #F6E05E; margin-bottom: 0.9rem; }
.reviewer { margin-top: 1.1rem; font-weight: 700; color: #B7E4C7; }

.partners-slider {
    padding: 2.2rem 0;
    background: #fff;
    overflow: hidden;
    border-block: 1px solid var(--line);
}
.partners-track {
    display: flex;
    width: max-content;
    animation: scroll 32s linear infinite;
    align-items: center;
    gap: 3.5rem;
}
.partners-track:hover { animation-play-state: paused; }
.partner-item { width: 180px; text-align: center; }
.partner-item img {
    max-width: 140px;
    max-height: 48px;
    margin: 0 auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.45;
    transition: var(--transition);
}
.partner-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.faq-section { background: #EDF2F0; }
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.faq-item {
    background: #fff;
    padding: 1.8rem;
    border-radius: 22px;
    border-left: 6px solid var(--secondary);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), background var(--transition);
}
.faq-item:hover {
    transform: translateX(6px);
    background: var(--mint);
}
.faq-item h4 {
    color: var(--navy);
    font-family: var(--font-body);
    font-weight: 800;
    margin-bottom: 0.7rem;
}

/* Page heroes (inner pages) */
.page-hero {
    position: relative;
    padding: calc(var(--nav-h) + 4.5rem) clamp(1.25rem, 6vw, 6rem) 4.5rem;
    color: #fff;
    overflow: hidden;
    background: var(--brand-gradient);
    isolation: isolate;
}
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(600px 280px at 85% 20%, rgba(255,255,255,0.12), transparent 60%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    margin-bottom: 0.9rem;
    max-width: 14ch;
}
.page-hero p {
    font-size: 1.15rem;
    opacity: 0.92;
    max-width: 60ch;
}

/* Footer */
.site-footer {
    background: #071525;
    color: #fff;
    padding: 5rem clamp(1.25rem, 6vw, 6rem) 2rem;
    border-top: 4px solid var(--secondary);
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -80px;
    width: 280px;
    height: 280px;
    background: var(--secondary);
    filter: blur(140px);
    opacity: 0.15;
}
.footer-main {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 3.5rem;
    position: relative;
    z-index: 1;
}
.footer-col h3 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
    position: relative;
    display: inline-block;
}
.footer-col h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 34px;
    height: 3px;
    background: var(--secondary);
    border-radius: 99px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col ul li a {
    color: rgba(255,255,255,0.62);
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: var(--transition);
}
.footer-col ul li a:hover {
    color: #B7E4C7;
    transform: translateX(4px);
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.2rem;
}
.footer-brand .mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--brand-gradient);
    color: #fff;
}
.footer-brand strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.25rem;
}
.footer-brand span {
    display: block;
    color: #B7E4C7;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
}
.footer-social { display: flex; gap: 0.8rem; margin-top: 1.3rem; }
.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.08);
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}
.footer-bottom {
    padding-top: 1.8rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.42);
    position: relative;
    z-index: 1;
}

.whatsapp-float {
    position: fixed !important;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: #fff !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    line-height: 1;
    text-decoration: none !important;
    z-index: 2147483000;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
    transition: transform 0.35s ease, background 0.35s ease;
    animation: pulseWhatsapp 2.2s infinite;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto;
}
.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
    display: block;
}
.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.06);
    background: #128C7E;
    color: #fff !important;
}

/* Motion */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
@keyframes riseIn {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes heroZoom {
    from { transform: scale(1.04); }
    to { transform: scale(1.12); }
}
@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@keyframes pulseWhatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
    70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 1024px) {
    .about-modern-inner,
    .faq-grid { grid-template-columns: 1fr; }
    .about-visual { min-height: 300px; max-height: 360px; }
    .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .menu-btn { display: block; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(86vw, 360px);
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        gap: 1.2rem;
        padding: 2rem;
        box-shadow: -20px 0 50px rgba(11,31,58,0.15);
        transition: right 0.45s ease;
    }
    .nav-links.active { right: 0; }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        padding: 0.4rem 0 0 0.8rem;
        display: none;
    }
    .dropdown.open .dropdown-menu { display: block; }
    .hero { align-items: center; min-height: 92vh; }
    .service-grid,
    .stats-bar,
    .footer-main { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .logo-wordmark { display: block; }
}
