:root {
    --ink: #0f172a;
    --brand: #0d6688;
    --brand-dark: #084b68;
    --orange: #e3a23f;
}

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(120deg, #0c3552 0%, #0d6688 72%, #c78a32 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(13, 102, 136, .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, #0c3552, #0d6688); }
.topbar-inner { max-width: 80rem; }
.site-nav {
    border-bottom: 1px solid rgba(15, 23, 42, .07);
    box-shadow: 0 8px 30px rgba(15, 23, 42, .06);
}
.site-nav-inner {
    display: flex;
    max-width: 80rem;
    min-height: 5.25rem;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}
.site-brand { display: inline-flex; min-width: 0; flex: 0 1 auto; align-items: center; }
.site-brand-logo { display: block; width: clamp(190px, 22vw, 260px); height: auto; }
.desktop-nav { display: none; align-items: center; justify-content: flex-end; gap: clamp(.7rem, 1.15vw, 1.15rem); }
.desktop-nav-link { white-space: nowrap; }
.nav-call-button { flex: 0 0 auto; white-space: nowrap; }
.mobile-nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe5eb;
    color: var(--brand-dark);
}
.menu-toggle:hover { background: #f1f5f9; }
.mobile-nav-menu { display: none; border-top: 1px solid #e2e8f0; background: #fff; padding: .75rem max(1rem, calc((100vw - 80rem) / 2)); }
.mobile-nav-menu.is-open { display: grid; gap: .15rem; }
.mobile-nav-link { display: block; border-radius: .55rem; padding: .55rem .65rem; }
.mobile-nav-link:hover { background: #f1f7f9; color: var(--brand); }
.mobile-nav-call { display: block; margin-top: .45rem; border-radius: .65rem; padding: .7rem 1rem; }
.site-footer-logo { display: block; width: min(260px, 100%); height: auto; filter: brightness(0) invert(1); }
@media (min-width: 1280px) {
    .desktop-nav { display: flex; }
    .mobile-nav-toggle { display: none; }
    .mobile-nav-menu { display: none !important; }
}
.hero-section::after {
    content: "";
    position: absolute;
    width: 32rem;
    height: 32rem;
    right: -12rem;
    bottom: -18rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(227, 162, 63, .24), 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(13, 102, 136, .45); box-shadow: 0 14px 35px rgba(15, 23, 42, .08); }
.references-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.reference-logo-card {
    display: flex;
    min-height: 7rem;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #fff;
    padding: .75rem;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.reference-logo-card:hover {
    transform: translateY(-2px);
    border-color: var(--brand);
    box-shadow: 0 8px 22px rgba(15, 23, 42, .08);
}
.reference-logo-card img { width: 130px; height: 60px; object-fit: contain; }
@media (min-width: 640px) {
    .references-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .references-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.brand-logo-box {
    display: flex;
    width: 11rem;
    height: 4.25rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #eef2f6;
    border-radius: .8rem;
    background: #fff;
    padding: .55rem .75rem;
}
.brand-logo-box img { width: 100%; height: 100%; object-fit: contain; }
.brand-wordmark-fallback { color: #14233b; font-size: 1.2rem; font-weight: 900; letter-spacing: .1em; text-align: center; }
.brand-tile--catalog { align-items: stretch; justify-content: flex-start; gap: .9rem; }
.brand-card-heading { display: flex; width: 100%; min-height: 4rem; align-items: center; gap: .8rem; }
.brand-card-heading .brand-logo-box { width: 8.5rem; height: 3.5rem; flex-basis: 8.5rem; padding: .45rem .55rem; }
.brand-card-heading h2 { min-width: 0; }
.brand-detail-logo { display: flex; width: 13.75rem; height: 5.25rem; align-items: center; justify-content: center; border-radius: .9rem; background: #fff; padding: 1rem; }
.brand-detail-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-monogram {
    display: grid;
    width: 3.5rem;
    height: 3.5rem;
    place-items: center;
    border-radius: .9rem;
    background: linear-gradient(135deg, #e9f6fa, #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; }
.contact-map-frame { aspect-ratio: 16 / 9; }
.contact-map-frame iframe { border: 0; }
.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(255, 138, 31, .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, #0c3552, #0d6688 76%, #c78a32);
    }
    .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; }
}
