:root {
    --ink: #0A0A0B;
    --charcoal: #151516;
    --steel: #232324;
    --hairline: rgba(255, 255, 255, 0.08);
    --paper: #F5F3EF;
    --orange: #F25C05;
    --orange-light: #FF8A3D;
    --red: #D9291C;
}

* { -webkit-tap-highlight-color: transparent; }

html { scrollbar-gutter: stable; }

body {
    background-color: var(--ink);
    color: var(--paper);
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    position: relative;
}

h1, h2, h3, h4, .font-display {
    font-family: 'Outfit', sans-serif;
}

.font-mono-label {
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.18em;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 999;
    pointer-events: none;
    opacity: 0.045;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--orange); color: #fff; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #cc4d04; }

:focus-visible {
    outline: 2px solid var(--orange-light);
    outline-offset: 3px;
    border-radius: 2px;
}

.text-gradient {
    background: linear-gradient(90deg, var(--orange) 0%, var(--orange-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.1rem;
    border-radius: 999px;
    background: rgba(242, 92, 5, 0.1);
    border: 1px solid rgba(242, 92, 5, 0.35);
    color: var(--orange-light);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}
.eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 8px 1px var(--orange);
    flex-shrink: 0;
}

.site-nav {
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease, padding 0.3s ease;
    border-bottom: 1px solid transparent;
}
.site-nav.nav-solid {
    background-color: rgba(10, 10, 11, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--hairline);
}
.nav-link {
    position: relative;
    color: #B8B8BA;
    font-weight: 500;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: color 0.25s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -6px;
    height: 2px;
    background: linear-gradient(90deg, var(--orange), var(--orange-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    border-radius: 2px;
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: #fff; }

.logo-ring {
    box-shadow: 0 0 0 2px var(--orange), 0 0 18px rgba(242, 92, 5, 0.45);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.group:hover .logo-ring {
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 0 0 2px var(--orange-light), 0 0 28px rgba(242, 92, 5, 0.65);
}

@media (min-width: 768px) and (max-width: 1023px) {
    .site-nav .nav-link { font-size: 13px; }
    .site-nav .logo-ring + span { font-size: 18px; }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 1rem 2.1rem;
    border-radius: 999px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn-primary {
    background: linear-gradient(135deg, var(--orange) 0%, #d94f04 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(242, 92, 5, 0.35);
}
.btn-primary:hover {
    background: #fff;
    color: var(--orange);
    box-shadow: 0 10px 32px rgba(255, 255, 255, 0.25);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: #fff;
}
.btn-outline:hover {
    border-color: var(--orange);
    background: rgba(242, 92, 5, 0.08);
    color: var(--orange-light);
}

.btn-whatsapp {
    background: #1FAF52;
    color: #fff;
    box-shadow: 0 8px 24px rgba(31, 175, 82, 0.3);
}
.btn-whatsapp:hover {
    background: #fff;
    color: #1FAF52;
    box-shadow: 0 10px 32px rgba(255, 255, 255, 0.2);
}

.btn-ghost {
    background: #fff;
    color: #111;
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}
.btn-ghost:hover {
    background: var(--orange);
    color: #fff;
}

.glass-card {
    background: linear-gradient(160deg, rgba(35, 35, 36, 0.55), rgba(21, 21, 22, 0.55));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--hairline);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}
.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(242, 92, 5, 0.5);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), 0 0 30px rgba(242, 92, 5, 0.12);
}

.blueprint-grid {
    background-image:
        linear-gradient(rgba(242, 92, 5, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(242, 92, 5, 0.12) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(ellipse 65% 65% at 50% 45%, #000 30%, transparent 78%);
    mask-image: radial-gradient(ellipse 65% 65% at 50% 45%, #000 30%, transparent 78%);
}

.site-footer {
    background: #050505;
    border-top: 1px solid var(--hairline);
    position: relative;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: -1px; left: 50%;
    transform: translateX(-50%);
    width: min(320px, 60%);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
}
.social-pill {
    width: 2.5rem; height: 2.5rem;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--charcoal);
    border: 1px solid var(--hairline);
    color: #9a9a9c;
    transition: all 0.3s ease;
}
.social-pill:hover {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
    transform: translateY(-3px);
}

.floating-contact {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 60;
}
.floating-contact__btn {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.floating-contact__btn:hover {
    transform: translateY(-4px) scale(1.05);
    color: #fff;
}
.floating-contact__btn--whatsapp { background: #1FAF52; }
.floating-contact__btn--whatsapp:hover { box-shadow: 0 10px 26px rgba(31, 175, 82, 0.45); }
.floating-contact__btn--mail { background: var(--orange); }
.floating-contact__btn--mail:hover { box-shadow: 0 10px 26px rgba(242, 92, 5, 0.45); }
.floating-contact__btn--instagram { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4); }
.floating-contact__btn--instagram:hover { box-shadow: 0 10px 26px rgba(221, 42, 123, 0.45); }

@media (max-width: 640px) {
    .floating-contact { right: 0.9rem; bottom: 0.9rem; gap: 0.6rem; }
    .floating-contact__btn { width: 2.75rem; height: 2.75rem; font-size: 1.15rem; }
}

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu.open { max-height: 24rem; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}
