:root {
    --ink: #071a2d;
    --brand: #0284c7;
    --brand-dark: #075985;
    --brand-light: #38bdf8;
    --orange: #f59e0b;
}

html { scroll-behavior: smooth; }
body {
    padding-bottom: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f8fafc;
}
.flame-gradient { background: linear-gradient(135deg, #0369a1 0%, #0ea5e9 64%, #f59e0b 130%); }
a, button, input, textarea, summary { outline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
    outline: 3px solid rgba(14, 165, 233, .38);
}
.skip-link {
    position: fixed;
    top: .5rem;
    left: .5rem;
    z-index: 100;
    transform: translateY(-150%);
    border-radius: .75rem;
    background: white;
    color: var(--ink);
    padding: .75rem 1rem;
    font-weight: 900;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .2);
}
.skip-link:focus { transform: translateY(0); }
.topbar { background: linear-gradient(90deg, #061524, #0a3555 65%, #075985); }
.site-nav {
    border-bottom: 1px solid rgba(15, 23, 42, .07);
    box-shadow: 0 8px 30px rgba(15, 23, 42, .06);
}
.site-logo { font-weight: 900; }
.logo-mark {
    display: grid;
    width: 2.65rem;
    height: 2.65rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: .8rem;
    background: linear-gradient(145deg, #071a2d, #075985);
    color: #fff;
    font-size: .85rem;
    font-weight: 950;
    letter-spacing: .08em;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 8px 20px rgba(7,26,45,.18);
}
.menu-toggle:hover { background: #f1f5f9; }
.page-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 20%, rgba(14,165,233,.24), transparent 25rem),
        linear-gradient(135deg, #04101d, #071a2d 62%, #0a3555);
    color: #fff;
}
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .15;
    background-image:
        linear-gradient(rgba(148,163,184,.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148,163,184,.18) 1px, transparent 1px);
    background-size: 52px 52px;
}
.page-hero > * { position: relative; z-index: 1; }
.hero-section {
    min-height: 42rem;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 82% 18%, rgba(14,165,233,.24), transparent 27rem),
        radial-gradient(circle at 14% 95%, rgba(245,158,11,.13), transparent 24rem),
        linear-gradient(135deg, #04101d 0%, #071a2d 52%, #0a2c48 100%);
}
.hero-section::after {
    content: "";
    position: absolute;
    width: 24rem;
    height: 24rem;
    left: -10rem;
    bottom: -12rem;
    border-radius: 999px;
    border: 1px solid rgba(56,189,248,.18);
    pointer-events: none;
}
.hero-section h1 { text-wrap: balance; letter-spacing: -.035em; }
.hero-grid-lines {
    opacity: .18;
    background-image:
        linear-gradient(rgba(148,163,184,.13) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148,163,184,.13) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to right, black, transparent 82%);
}
.hero-kicker {
    border: 1px solid rgba(125,211,252,.3);
    background: rgba(2,132,199,.14);
    color: #bae6fd;
    backdrop-filter: blur(10px);
}
.status-dot {
    width: .55rem;
    height: .55rem;
    border-radius: 999px;
    background: #fbbf24;
    box-shadow: 0 0 0 .3rem rgba(251,191,36,.12);
}
.hero-whatsapp {
    border: 1px solid rgba(134,239,172,.28);
    background: rgba(22,163,74,.88);
    color: #fff;
}
.hero-whatsapp:hover { background: #16a34a; }
.hero-proof {
    display: flex;
    align-items: center;
    gap: .65rem;
    color: #cbd5e1;
}
.hero-proof b {
    display: grid;
    width: 1.8rem;
    height: 1.8rem;
    place-items: center;
    border-radius: .55rem;
    background: rgba(56,189,248,.13);
    color: #7dd3fc;
    font-size: .68rem;
}
.hero-visual {
    min-height: 35rem;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 2rem;
    background: #0b2238;
    box-shadow: 0 35px 80px rgba(0,0,0,.35);
}
.hero-visual > img { position: absolute; inset: 0; }
.hero-visual-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3,12,22,.94), transparent 62%);
}
.hero-intake-card {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    left: 1.5rem;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 1.25rem;
    padding: 1.4rem;
    background: rgba(4,16,29,.84);
    box-shadow: 0 18px 45px rgba(0,0,0,.22);
    backdrop-filter: blur(16px);
}
.hero-intake-card li { display: flex; align-items: center; gap: .75rem; }
.hero-intake-card li span {
    display: grid;
    width: 1.6rem;
    height: 1.6rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: .5rem;
    background: #0ea5e9;
    font-size: .7rem;
}
.feature-card {
    border: 1px solid #e2e8f0;
    background: linear-gradient(150deg, #fff, #f8fbfd);
    box-shadow: 0 12px 30px rgba(15,23,42,.04);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(2,132,199,.35);
    box-shadow: 0 18px 40px rgba(15,23,42,.08);
}
.feature-number, .service-symbol {
    display: grid;
    width: 2.7rem;
    height: 2.7rem;
    place-items: center;
    border-radius: .8rem;
    background: #e0f2fe;
    color: #0369a1;
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .08em;
}
.service-preview-card {
    border: 1px solid #dbe5ee;
    box-shadow: 0 12px 30px rgba(15,23,42,.035);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.service-preview-card:hover {
    transform: translateY(-4px);
    border-color: rgba(2,132,199,.42);
    box-shadow: 0 18px 40px rgba(15,23,42,.08);
}
.process-section { background: radial-gradient(circle at 90% 10%, #0b4b73 0, #071a2d 38%, #04101d 100%); }
.brand-tile {
    display: flex;
    min-height: 8.5rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #fff;
    padding: 1rem;
    color: var(--ink);
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.brand-tile:hover { transform: translateY(-3px); border-color: rgba(2, 132, 199, .45); box-shadow: 0 14px 35px rgba(15, 23, 42, .08); }
.brand-tile img { width: 100%; max-width: 11rem; height: 4.25rem; object-fit: contain; }
.brand-monogram {
    display: grid;
    width: 3.5rem;
    height: 3.5rem;
    place-items: center;
    border-radius: .9rem;
    background: linear-gradient(135deg, #e0f2fe, #f0f9ff);
    color: var(--brand);
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: .05em;
}
.work-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.work-card {
    position: relative;
    min-height: 17rem;
    overflow: hidden;
    border-radius: 1.25rem;
    background: var(--ink);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .12);
}
.work-card-large { grid-row: span 2; min-height: 35rem; }
.work-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}
.work-card:hover img { transform: scale(1.025); }
.work-card::after {
    content: "";
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(to bottom, transparent, rgba(8, 15, 29, .92));
}
.work-card figcaption {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1.5rem;
    color: white;
}
.work-card figcaption strong { display: block; font-size: 1.05rem; font-weight: 900; }
.work-card figcaption span { display: block; margin-top: .4rem; color: #dbe4ef; font-size: .84rem; line-height: 1.55; }
.service-image-card { background: white; }
.service-image-card > img { width: 100%; height: 13rem; object-fit: cover; }
.process-card {
    min-height: 13rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 1.25rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, .05);
    transition: transform .2s ease, border-color .2s ease;
}
.process-card:hover { transform: translateY(-4px); border-color: rgba(56, 189, 248, .58); }
.process-card > span { color: #7dd3fc; font-size: .78rem; font-weight: 900; letter-spacing: .12em; }
.process-card h3 { margin-top: 1.1rem; font-size: 1.05rem; font-weight: 900; }
.process-card p { margin-top: .65rem; color: #cbd5e1; font-size: .88rem; line-height: 1.65; }
.whatsapp-float { animation: gentle-pulse 2.6s infinite; }
.mobile-action-bar { display: none; }
@keyframes gentle-pulse {
    0%, 100% { box-shadow: 0 10px 28px rgba(34, 197, 94, .28); }
    50% { box-shadow: 0 10px 35px rgba(34, 197, 94, .52); }
}
@media (max-width: 767px) {
    body { padding-bottom: 4.25rem; }
    .whatsapp-float { display: none !important; }
    .mobile-action-bar {
        position: fixed;
        z-index: 60;
        left: 0;
        right: 0;
        bottom: 0;
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 1fr;
        gap: 1px;
        padding: .55rem;
        background: rgba(255, 255, 255, .96);
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 -10px 30px rgba(15, 23, 42, .12);
        backdrop-filter: blur(12px);
    }
    .mobile-action-bar a {
        border-radius: .75rem;
        padding: .8rem .5rem;
        color: white;
        text-align: center;
        font-size: .85rem;
        font-weight: 900;
        background: linear-gradient(135deg, var(--brand), var(--orange));
    }
    .mobile-action-bar a + a { background: #16a34a; }
    .work-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .work-card, .work-card-large { grid-row: auto; min-height: 20rem; }
    .hero-section { min-height: auto; }
    .hero-visual { min-height: 27rem; border-radius: 1.4rem; }
    .hero-intake-card { right: .9rem; bottom: .9rem; left: .9rem; padding: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
}
