:root {
    --ink: #0f172a;
    --brand: #1d4ed8;
    --brand-dark: #1e3a8a;
    --orange: #f5b301;
}

html { scroll-behavior: smooth; }
body {
    padding-bottom: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.flame-gradient { background: linear-gradient(135deg, #1d4ed8 0%, #0ea5e9 100%); }
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(29, 78, 216, .35);
}
.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, var(--brand-dark), var(--brand), var(--orange)); }
.site-nav {
    border-bottom: 1px solid rgba(15, 23, 42, .07);
    box-shadow: 0 8px 30px rgba(15, 23, 42, .06);
}
.menu-toggle:hover { background: #f1f5f9; }
.hero-section::after {
    content: "";
    position: absolute;
    width: 32rem;
    height: 32rem;
    right: -12rem;
    bottom: -18rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(245, 179, 1, .27), transparent 68%);
    pointer-events: none;
}
.hero-section h1 { text-wrap: balance; letter-spacing: -.035em; }
.process-section { background: radial-gradient(circle at 90% 10%, #25324a 0, #0f172a 38%, #090f1d 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(29, 78, 216, .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, #fff1ee, #fff7e8);
    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(245, 179, 1, .55); }
.process-card > span { color: #fb923c; 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; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
}

.icon-inline { display: inline-block; width: 1.15em; height: 1.15em; vertical-align: -0.2em; margin-right: .4em; flex-shrink: 0; }
.icon-badge { display: inline-flex; align-items: center; justify-content: center; width: 2.9rem; height: 2.9rem; border-radius: .85rem; background: rgba(29, 78, 216, .09); color: var(--brand); }
.icon-badge svg { display: block; }
.work-photo { margin: 0; overflow: hidden; border-radius: 1.25rem; box-shadow: 0 18px 45px rgba(15, 23, 42, .14); max-width: 30rem; width: 100%; justify-self: center; }
.work-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
