/* ============ Reset & Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1a2233;
    line-height: 1.6;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; margin: 0; }

:root {
    --primary: #0d3b8a;
    --primary-dark: #082969;
    --primary-light: #1d5fd1;
    --accent: #ffcc00;
    --accent-dark: #f5b800;
    --text: #1a2233;
    --text-soft: #5a667d;
    --bg: #ffffff;
    --bg-alt: #f4f7fc;
    --border: #e5eaf2;
    --success: #10b981;
    --wa: #25d366;
    --wa-dark: #128c7e;
    --shadow-sm: 0 2px 8px rgba(13, 59, 138, 0.06);
    --shadow-md: 0 6px 24px rgba(13, 59, 138, 0.1);
    --shadow-lg: 0 16px 48px rgba(13, 59, 138, 0.16);
    --radius: 14px;
    --radius-sm: 8px;
    --radius-lg: 22px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============ Topbar ============ */
.topbar {
    background: var(--primary-dark);
    color: #d6e0f5;
    font-size: 13px;
    padding: 8px 0;
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.topbar-left { display: flex; align-items: center; gap: 8px; }
.dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.7);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.7); }
    70%  { box-shadow: 0 0 0 8px rgba(255, 204, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0); }
}
.topbar-right { display: flex; gap: 18px; }
.tb-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: #d6e0f5; transition: color .2s;
}
.tb-link:hover { color: var(--accent); }
.tb-link.wa { color: #b6f5cd; }
.tb-link.wa:hover { color: #fff; }

/* ============ Navbar ============ */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 24px;
}
.logo {
    display: flex; align-items: center; gap: 12px;
    font-weight: 800;
}
.logo-mark {
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-size: 18px; color: var(--primary); letter-spacing: -.01em; }
.logo-sub { font-size: 11px; color: var(--text-soft); font-weight: 500; margin-top: 2px; }

.nav-links {
    display: flex;
    gap: 28px;
    margin-left: auto;
    margin-right: 16px;
}
.nav-links a {
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    position: relative;
    transition: color .2s;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s;
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { white-space: nowrap; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    padding: 8px;
}
.hamburger span {
    width: 24px; height: 2px;
    background: var(--primary);
    transition: .3s;
}

/* ============ Buttons ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    border: 0;
    cursor: pointer;
    transition: transform .15s, box-shadow .2s, background .2s;
    text-align: center;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 6px 16px rgba(13, 59, 138, 0.25);
}
.btn-primary:hover { background: var(--primary-dark); }

.btn-ghost {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-ghost:hover { background: var(--primary); color: #fff; }

.btn-whatsapp {
    background: var(--wa);
    color: #fff;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover { background: var(--wa-dark); }

.btn-light {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
.btn-light:hover { background: var(--accent); color: var(--primary-dark); }

/* ============ Hero ============ */
.hero {
    position: relative;
    padding: 80px 0 100px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f5ff 0%, #fff 60%);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 15%, rgba(13, 59, 138, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 15% 85%, rgba(255, 204, 0, 0.1) 0%, transparent 40%);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}
.badge-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
    0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
    70%  { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.hero-title {
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    margin: 0 0 20px;
    color: var(--text);
}
.hero-title .hl {
    color: var(--primary);
    position: relative;
    display: inline-block;
}
.hero-title .hl::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 4px;
    height: 10px;
    background: var(--accent);
    z-index: -1;
    border-radius: 4px;
    opacity: .7;
}
.hero-sub {
    font-size: 18px;
    color: var(--text-soft);
    margin: 0 0 32px;
    max-width: 560px;
}
.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.hero-features {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 500;
}
.hero-features li { display: flex; align-items: center; gap: 8px; }
.check {
    color: var(--success);
    background: rgba(16, 185, 129, 0.12);
    width: 22px; height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center; justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.hero-visual {
    position: relative;
    height: 100%;
    min-height: 380px;
}
.hero-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    max-width: 380px;
    margin-left: auto;
}
.hero-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-soft);
    margin-bottom: 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.pulse {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    animation: pulse-green 2s infinite;
}
.hero-card-body {
    display: grid;
    gap: 20px;
}
.kpi {
    padding: 16px 18px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
    transition: transform .2s;
}
.kpi:hover { transform: translateX(4px); }
.kpi-num {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.kpi-label {
    font-size: 13px;
    color: var(--text-soft);
    margin-top: 4px;
    font-weight: 500;
}
.hero-floater {
    position: absolute;
    bottom: 20px;
    left: 0;
    background: var(--primary);
    color: #fff;
    padding: 14px 20px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 3;
    animation: float 4s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
.hero-floater svg { color: var(--accent); }
.hero-floater strong { display: block; font-size: 15px; }
.hero-floater span { font-size: 12px; opacity: .8; }

/* ============ Sections ============ */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}
.eyebrow {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin: 0 0 16px;
    color: var(--text);
}
.section-sub {
    font-size: 17px;
    color: var(--text-soft);
    margin: 0;
}

/* ============ Services ============ */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.service {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    position: relative;
    overflow: hidden;
}
.service::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s;
}
.service:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.service:hover::before { transform: scaleX(1); }
.service-icon {
    width: 60px; height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 6px 14px rgba(13, 59, 138, 0.25);
}
.service h3 {
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--text);
}
.service p {
    font-size: 15px;
    color: var(--text-soft);
    margin: 0;
    line-height: 1.55;
}

/* ============ Products ============ */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.product {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border);
    position: relative;
    transition: transform .25s, box-shadow .25s;
}
.product:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.product-tag {
    position: absolute;
    top: 16px; right: 16px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.product-tag.hot { background: #ef4444; }
.product-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
    color: #1a73e8;
}
.product h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 6px;
}
.product p {
    font-size: 14px;
    color: var(--text-soft);
    margin: 0;
}

/* ============ About ============ */
.about {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}
.about-img {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}
.about-badge {
    position: absolute;
    bottom: 24px; left: 24px;
    background: var(--accent);
    color: var(--primary-dark);
    padding: 16px 22px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    line-height: 1.1;
}
.about-badge strong {
    display: block;
    font-size: 32px;
    font-weight: 900;
}
.about-badge span {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.about-text .section-title { text-align: left; }
.about-text p {
    color: var(--text-soft);
    font-size: 16px;
    margin: 0 0 16px;
}
.about-text p strong { color: var(--text); }
.about-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 28px;
}
.about-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.ab-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--bg-alt);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.about-list strong { display: block; font-weight: 700; color: var(--text); }
.about-list span { font-size: 13px; color: var(--text-soft); }

/* ============ Gallery ============ */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-cap {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(13, 59, 138, 0.9));
    color: #fff;
    padding: 30px 22px 18px;
    font-weight: 600;
    font-size: 16px;
    transform: translateY(20%);
    opacity: 0;
    transition: transform .3s, opacity .3s;
}
.gallery-item:hover .gallery-cap {
    transform: translateY(0);
    opacity: 1;
}

/* ============ Contact ============ */
.contact-section { background: var(--bg-alt); }
.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
}
.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-content: start;
}
.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    padding: 22px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: transform .2s, box-shadow .2s, border-color .2s;
    color: var(--text);
    text-decoration: none;
}
.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
.contact-card.static { cursor: default; }
.contact-card.static:hover { transform: none; box-shadow: none; border-color: var(--border); }
.cc-icon {
    width: 50px; height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.cc-icon.alt  { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.cc-icon.loc  { background: linear-gradient(135deg, #ef4444, #f97316); }
.cc-icon.time { background: linear-gradient(135deg, #f59e0b, #eab308); }
.cc-label {
    display: block;
    font-size: 12px;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600;
    margin-bottom: 4px;
}
.contact-card strong {
    display: block;
    font-size: 16px;
    color: var(--text);
    font-weight: 700;
    margin-bottom: 2px;
}
.contact-card span {
    font-size: 13px;
    color: var(--text-soft);
}
.map-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 380px;
    box-shadow: var(--shadow-md);
    background: #e5eaf2;
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; }

/* ============ CTA Section ============ */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: "";
    position: absolute;
    top: -50%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255, 204, 0, 0.15) 0%, transparent 70%);
    pointer-events: none;
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    position: relative;
}
.cta h2 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    margin: 0 0 6px;
}
.cta p { margin: 0; opacity: .9; font-size: 16px; }
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============ Footer ============ */
.footer {
    background: #0a1f47;
    color: #b8c5dc;
    padding: 60px 0 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer-brand p { font-size: 14px; max-width: 320px; line-height: 1.6; }
.footer-brand .logo-name { color: #fff; }
.footer-col h4 {
    color: #fff;
    font-size: 15px;
    margin: 0 0 18px;
    font-weight: 700;
}
.footer-col ul li {
    margin-bottom: 10px;
    font-size: 14px;
}
.footer-col ul li a { transition: color .2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    font-size: 13px;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

/* ============ Floating WhatsApp ============ */
.float-wa {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--wa);
    color: #fff;
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 99;
    transition: transform .2s, width .3s, border-radius .3s;
    overflow: hidden;
    white-space: nowrap;
}
.float-wa span {
    max-width: 0;
    overflow: hidden;
    transition: max-width .3s, margin .3s;
    font-weight: 600;
}
.float-wa:hover {
    width: 160px;
    border-radius: 999px;
    background: var(--wa-dark);
    transform: translateY(-4px);
}
.float-wa:hover span { max-width: 100px; margin-left: 8px; }

/* ============ Reveal Animation ============ */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

/* ============ Responsive ============ */
@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; gap: 50px; }
    .hero-visual { min-height: 320px; }
    .about { grid-template-columns: 1fr; gap: 40px; }
    .contact { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .topbar { font-size: 12px; }
    .topbar-left span:last-child { display: none; }
    .topbar-right { gap: 12px; }
    .nav-links {
        position: fixed;
        top: 76px;
        left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        transform: translateY(-120%);
        transition: transform .3s;
    }
    .nav-links.open { transform: translateY(0); }
    .nav-cta { display: none; }
    .hamburger { display: flex; }
    .section { padding: 70px 0; }
    .hero { padding: 50px 0 70px; }
    .about-list { grid-template-columns: 1fr; }
    .contact-cards { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .cta-inner { flex-direction: column; text-align: center; align-items: stretch; }
    .cta-buttons { justify-content: center; }
    .float-wa { width: 56px; height: 56px; bottom: 16px; right: 16px; }
    .float-wa span { display: none; }
    .float-wa:hover { width: 56px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-cta .btn { flex: 1; }
    .gallery { grid-template-columns: 1fr; }
}
