/* ═══════════════════════════════════════════════
   SAFONT REIS — Brand Design System
   ═══════════════════════════════════════════════ */

/* ── Variables ── */
:root {
    --brand:       #FF5933;
    --brand-h:     #E84E2D;
    --brand-dim:   rgba(255, 89, 51, 0.12);
    --bg:          #000000;
    --bg-alt:      #0a0a0a;
    --bg-card:     #1c1c1c;
    --bg-card-h:   #353535;
    --bg-form:     #111111;
    --text:        #F4EEE5;
    --text-2:      rgba(244, 238, 229, 0.65);
    --text-3:      rgba(244, 238, 229, 0.4);
    --border:      rgba(244, 238, 229, 0.08);
    --border-h:    rgba(244, 238, 229, 0.16);
    --nav-h:       52px;
    --radius:      18px;
    --radius-sm:   12px;
    --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 17px;
    line-height: 1.6;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }

/* ── Typography ── */
h1, h2, h3, h4 {
    letter-spacing: -0.02em;
    line-height: 1.05;
    font-weight: 700;
}

.eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 0.75rem;
}

.text-gradient {
    background: linear-gradient(135deg, #FF5933 0%, #FF8C6B 60%, #FFB399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Layout ── */
.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.br-lg { display: none; }
@media (min-width: 768px) { .br-lg { display: block; } }

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    padding: 12px 22px;
    border-radius: 980px;
    transition: background 0.25s var(--ease), transform 0.2s var(--ease), box-shadow 0.25s var(--ease);
    white-space: nowrap;
}
.btn-primary:hover {
    background: var(--brand-h);
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(255, 89, 51, 0.4);
}
.btn-primary:active { transform: scale(0.99); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand);
    font-size: 15px;
    font-weight: 500;
    padding: 12px 4px;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, opacity 0.2s;
}
.btn-ghost:hover { border-color: var(--brand); }

.btn-block { width: 100%; justify-content: center; }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border-h);
    color: var(--text-2);
    font-size: 15px;
    font-weight: 500;
    padding: 13px 28px;
    border-radius: 980px;
    transition: border-color 0.25s, color 0.25s, background 0.25s;
    white-space: nowrap;
}
.btn-outline:hover {
    border-color: var(--brand);
    color: var(--text);
    background: rgba(255, 89, 51, 0.06);
}
.btn-outline svg { flex-shrink: 0; }

.svc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* ══════════════════════════════════════
   NAVIGATION
══════════════════════════════════════ */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
    border-bottom: 1px solid transparent;
}

#navbar.scrolled {
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom-color: var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-h);
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 30px;
    width: auto;
    display: block;
}

.logo-img--footer {
    height: 38px;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-2);
    padding: 6px 14px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: rgba(244,238,229,0.06); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-cta {
    font-size: 13px;
    font-weight: 500;
    padding: 8px 18px;
    background: var(--brand);
    color: #fff;
    border-radius: 980px;
    transition: background 0.2s, transform 0.15s;
    display: none;
}
.nav-cta:hover { background: var(--brand-h); transform: scale(1.02); }

/* Hamburger */
.hamburger {
    width: 36px;
    height: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 6px;
    border-radius: 8px;
    transition: background 0.2s;
}
.hamburger:hover { background: rgba(244,238,229,0.08); }
.hamburger span {
    display: block;
    height: 1.5px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), padding 0.3s;
}
.mobile-menu.open {
    max-height: 360px;
    padding: 16px 0 24px;
}
.mobile-menu a {
    display: block;
    font-size: 17px;
    font-weight: 400;
    color: var(--text-2);
    padding: 12px 24px;
    transition: color 0.2s, background 0.2s;
}
.mobile-menu a:hover { color: var(--text); background: rgba(244,238,229,0.05); }

@media (min-width: 768px) {
    .nav-links, .nav-cta { display: flex; }
    .hamburger { display: none; }
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: calc(var(--nav-h) + 60px) 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: glowFloat 8s ease-in-out infinite;
    will-change: transform, opacity;
}

.glow-blue {
    width: 600px; height: 600px;
    top: -150px; left: -100px;
    background: radial-gradient(circle, rgba(255,89,51,0.3) 0%, transparent 70%);
    animation-delay: 0s;
}

.glow-purple {
    width: 500px; height: 500px;
    top: -80px; right: -80px;
    background: radial-gradient(circle, rgba(255,89,51,0.15) 0%, transparent 70%);
    animation-delay: -3s;
}

.glow-teal {
    width: 400px; height: 400px;
    bottom: -100px; left: 30%;
    background: radial-gradient(circle, rgba(244,238,229,0.06) 0%, transparent 70%);
    animation-delay: -5s;
}

@keyframes glowFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
    33%       { transform: translate(30px, -25px) scale(1.06); opacity: 0.8; }
    66%       { transform: translate(-20px, 20px) scale(0.96); opacity: 0.9; }
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(244,238,229,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(244,238,229,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 820px;
}

.hero-eyebrow {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.7s var(--ease) 0.3s forwards;
}

.hero-title {
    font-size: clamp(52px, 9vw, 96px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.0;
    margin: 1rem 0 1.5rem;
    opacity: 0;
    transform: translateY(25px);
    animation: slideUp 0.8s var(--ease) 0.5s forwards;
}

.hero-subtitle {
    font-size: clamp(17px, 2.2vw, 21px);
    font-weight: 300;
    color: var(--text-2);
    line-height: 1.55;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.7s var(--ease) 0.7s forwards;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.7s var(--ease) 0.9s forwards;
}

@keyframes slideUp {
    to { opacity: 1; transform: translateY(0); }
}

.scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeIn 1s ease 1.8s forwards;
}
.scroll-hint span {
    font-size: 11px;
    color: var(--text-3);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@keyframes fadeIn { to { opacity: 1; } }

.scroll-mouse {
    width: 22px; height: 34px;
    border: 1.5px solid rgba(244,238,229,0.2);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}
.scroll-dot {
    width: 3px; height: 7px;
    background: rgba(244,238,229,0.4);
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.8; }
    50%       { transform: translateY(6px); opacity: 0.3; }
}

/* ══════════════════════════════════════
   BIG QUOTE SECTION
══════════════════════════════════════ */
.section-quote {
    background: var(--bg);
    padding: 100px 0;
    border-top: 1px solid var(--border);
}

.big-quote {
    font-size: clamp(28px, 4.5vw, 52px);
    font-weight: 300;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: var(--text-2);
    text-align: center;
    font-style: normal;
}

/* ══════════════════════════════════════
   SECTIONS — Generic
══════════════════════════════════════ */
.section {
    padding: 120px 0;
    background: var(--bg);
}
.section-alt {
    background: var(--bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}
.section-header h2 {
    font-size: clamp(36px, 5.5vw, 60px);
    margin-bottom: 1.25rem;
}
.section-desc {
    font-size: 17px;
    color: var(--text-2);
    line-height: 1.65;
    max-width: 600px;
    margin: 0 auto;
}

/* ══════════════════════════════════════
   SERVICES GRID
══════════════════════════════════════ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
                transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.service-card:hover {
    background: var(--bg-card-h);
    border-color: var(--border-h);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(244,238,229,0.04);
}

.card-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    flex-shrink: 0;
}
.card-icon svg { width: 24px; height: 24px; }

/* All icons use the brand color */
.service-card .card-icon {
    color: var(--brand);
    background: var(--brand-dim);
}

.service-card h3 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: var(--text);
}

.service-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-2);
    flex: 1;
}

.card-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--brand);
    transition: gap 0.2s;
    display: inline-flex;
    gap: 4px;
    margin-top: 4px;
}
.card-link:hover { gap: 8px; }

/* ══════════════════════════════════════
   SECTORS GRID
══════════════════════════════════════ */
.sectors-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.sector-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.sector-card:hover {
    background: var(--bg-card-h);
    border-color: var(--border-h);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.sector-icon {
    width: 52px; height: 52px;
    border-radius: var(--radius-sm);
    background: var(--brand-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
}
.sector-icon svg { width: 26px; height: 26px; }

.sector-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
}
.sector-card p {
    font-size: 15px;
    color: var(--text-2);
    line-height: 1.65;
}

/* ══════════════════════════════════════
   ABOUT
══════════════════════════════════════ */
.section-about {
    background: linear-gradient(160deg, #050302 0%, #0a0604 50%, #050302 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: clamp(38px, 5vw, 56px);
    margin: 1rem 0 1.5rem;
}

.about-text p {
    font-size: 16px;
    color: var(--text-2);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-value {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text);
    line-height: 1;
}
.stat-label {
    font-size: 13px;
    color: var(--text-3);
    font-weight: 400;
}

/* Shield visual */
.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-wrap {
    position: relative;
    width: 250px; height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 89, 51, 0.2);
    animation: pulseRing 3s ease-in-out infinite;
}
.ring-1 { width: 250px; height: 250px; animation-delay: 0s; }
.ring-2 { width: 190px; height: 190px; animation-delay: 0.6s; }
.ring-3 { width: 135px; height: 135px; animation-delay: 1.2s; }

@keyframes pulseRing {
    0%, 100% { opacity: 0.25; transform: scale(1); }
    50%       { opacity: 0.6;  transform: scale(1.04); }
}

.shield-core {
    position: relative;
    z-index: 1;
    width: 110px;
    filter: drop-shadow(0 0 30px rgba(255, 89, 51, 0.35));
    animation: shieldFloat 4s ease-in-out infinite;
}
@keyframes shieldFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

/* ══════════════════════════════════════
   ABOUT — MVV + DIFFERENTIALS
══════════════════════════════════════ */
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 72px;
}
@media (max-width: 900px) { .mvv-grid { grid-template-columns: 1fr; gap: 14px; } }

.mvv-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(255,255,255,0.03);
    transition: border-color 0.25s, background 0.25s;
}
.mvv-card:hover {
    border-color: rgba(255,89,51,0.35);
    background: rgba(255,89,51,0.04);
}
.mvv-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand);
}
.mvv-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1.25;
}
.mvv-text {
    font-size: 15px;
    color: var(--text-2);
    line-height: 1.7;
    margin: 0;
}
.mvv-values {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}
.mvv-value-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-2);
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 4px 10px;
}

.about-diff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}
@media (max-width: 700px) { .about-diff-grid { grid-template-columns: 1fr; } }

.about-diff-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255,255,255,0.02);
    transition: border-color 0.25s, background 0.25s;
}
.about-diff-item:hover {
    border-color: rgba(255,89,51,0.3);
    background: rgba(255,89,51,0.03);
}
.about-diff-icon {
    flex-shrink: 0;
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(255,89,51,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
}
.about-diff-icon svg { width: 20px; height: 20px; }
.about-diff-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 6px;
}
.about-diff-item p {
    font-size: 13.5px;
    color: var(--text-3);
    line-height: 1.6;
    margin: 0;
}

/* ══════════════════════════════════════
   ALLIANCES
══════════════════════════════════════ */
.alliances-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
@media (max-width: 900px) {
    .alliances-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .alliances-grid { grid-template-columns: 1fr; }
}

.alliance-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.alliance-card:hover {
    border-color: var(--border-h);
    background: var(--bg-card-h);
    transform: translateY(-2px);
}
.alliance-card-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}
.alliance-card-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--brand);
    background: rgba(255, 89, 51, 0.1);
    border-radius: 6px;
    padding: 3px 8px;
    width: fit-content;
}
.alliance-card-desc {
    font-size: 13.5px;
    color: var(--text-3);
    line-height: 1.6;
    margin: 0;
}

.alliances-note {
    text-align: center;
    font-size: 14px;
    color: var(--text-3);
}
.alliances-note a {
    color: var(--brand);
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: text-decoration-color 0.2s;
}
.alliances-note a:hover { text-decoration-color: var(--brand); }

/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
.section-contact {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(36px, 5vw, 52px);
    margin: 1rem 0 1.25rem;
}
.contact-info > p {
    font-size: 16px;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 440px;
}

.contact-details { display: flex; flex-direction: column; gap: 24px; }

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--brand-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    flex-shrink: 0;
}
.contact-icon svg { width: 18px; height: 18px; }

.contact-item div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.contact-item strong {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.contact-item span {
    font-size: 15px;
    color: var(--text-2);
    line-height: 1.55;
}
.contact-item a { color: var(--brand); }
.contact-item a:hover { text-decoration: underline; }

/* Form */
.contact-form {
    background: var(--bg-form);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2);
    letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea {
    background: rgba(244,238,229,0.05);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 15px;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    -webkit-appearance: none;
    appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--brand);
    background: rgba(255, 89, 51, 0.06);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.select-wrap {
    position: relative;
}
.select-wrap select {
    width: 100%;
    background: rgba(244,238,229,0.05);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 40px 12px 14px;
    font-size: 15px;
    color: var(--text);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.select-wrap select option { background: #1c1c1c; color: var(--text); }
.select-wrap select:focus { border-color: var(--brand); background: rgba(255, 89, 51, 0.06); }

.select-wrap svg {
    position: absolute;
    right: 14px; top: 50%;
    transform: translateY(-50%);
    width: 16px; height: 16px;
    color: var(--text-3);
    pointer-events: none;
}

.form-note {
    font-size: 12px;
    color: var(--text-3);
    text-align: center;
}

.form-success {
    display: none;
    align-items: center;
    gap: 10px;
    background: rgba(255, 89, 51, 0.1);
    border: 1px solid rgba(255, 89, 51, 0.3);
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 14px;
    color: var(--brand);
}
.form-success svg { width: 18px; height: 18px; flex-shrink: 0; }
.form-success.show { display: flex; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
#footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 80px 0 40px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: inline-flex;
    margin-bottom: 10px;
}

.footer-tagline {
    font-size: 13px;
    color: var(--text-3);
    margin-bottom: 16px;
}

.footer-address {
    font-size: 13px;
    color: var(--text-3);
    line-height: 1.65;
    margin-bottom: 12px;
}

.footer-email {
    font-size: 13px;
    color: var(--brand);
    transition: opacity 0.2s;
}
.footer-email:hover { opacity: 0.8; }

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
    font-size: 13px;
    color: var(--text-3);
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom p {
    font-size: 12px;
    color: var(--text-3);
}

/* ══════════════════════════════════════
   SCROLL ANIMATIONS
══════════════════════════════════════ */
.fade-up,
.fade-left,
.fade-right {
    opacity: 0;
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    will-change: opacity, transform;
}

.fade-up    { transform: translateY(40px); }
.fade-left  { transform: translateX(-40px); }
.fade-right { transform: translateX(40px); }

.fade-up.visible,
.fade-left.visible,
.fade-right.visible {
    opacity: 1;
    transform: translate(0);
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (min-width: 600px) {
    .sectors-grid {
        grid-template-columns: 1fr 1fr;
    }
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 900px) {
    .about-layout {
        grid-template-columns: 1fr 1fr;
    }
    .contact-layout {
        grid-template-columns: 1fr 1fr;
    }
    .footer-main {
        grid-template-columns: 280px 1fr;
    }
    .sectors-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 599px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-form {
        padding: 28px 20px;
    }
    .about-stats {
        gap: 24px;
    }
}

/* ══════════════════════════════════════
   SERVICE PAGES
══════════════════════════════════════ */

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-3);
    margin-bottom: 2rem;
    transition: color 0.2s;
}
.back-link:hover { color: var(--brand); }
.back-link svg { width: 14px; height: 14px; }

.svc-hero {
    position: relative;
    min-height: 62vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: calc(var(--nav-h) + 80px) 24px 100px;
}

.svc-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.svc-hero-content h1 {
    font-size: clamp(40px, 7vw, 80px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.0;
    margin: 0.75rem 0 1.25rem;
}

.svc-lead {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-2);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* Overview layout */
.svc-overview {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: start;
}
@media (min-width: 900px) {
    .svc-overview { grid-template-columns: 1fr 360px; }
}

.svc-body h2 {
    font-size: clamp(26px, 4vw, 38px);
    margin-bottom: 1.5rem;
}
.svc-body p {
    font-size: 16px;
    color: var(--text-2);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}
.svc-body p:last-child { margin-bottom: 0; }

.benefits-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    position: sticky;
    top: calc(var(--nav-h) + 24px);
}
.benefits-box h3 {
    font-size: 11px;
    font-weight: 600;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 0;
}
.benefits-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.5;
}
.benefits-list li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--brand);
    flex-shrink: 0;
    margin-top: 7px;
}
.for-whom {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.for-whom h3 {
    font-size: 11px;
    font-weight: 600;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}
.for-whom p {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.65;
    margin-bottom: 0;
}

/* Sub-services grid */
.subsvc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 600px) { .subsvc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .subsvc-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .subsvc-grid.cols-2 { grid-template-columns: 1fr 1fr; } }

.subsvc-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.subsvc-card:hover {
    background: var(--bg-card-h);
    border-color: var(--border-h);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.subsvc-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    background: var(--brand-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    margin-bottom: 4px;
}
.subsvc-icon svg { width: 22px; height: 22px; }
.subsvc-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
    line-height: 1.25;
}
.subsvc-card p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.65;
    flex: 1;
}

/* Packages table */
.packages-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-top: 48px;
}
.packages-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.packages-table th {
    background: var(--bg-card);
    color: var(--text);
    font-weight: 600;
    font-size: 13px;
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
.packages-table th:not(:first-child) { text-align: center; min-width: 110px; }
.packages-table th.col-complete { color: var(--brand); }
.packages-table td {
    padding: 13px 20px;
    color: var(--text-2);
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.packages-table tbody tr:last-child td { border-bottom: none; }
.packages-table tbody tr:hover td { background: rgba(244,238,229,0.02); }
.packages-table td:not(:first-child) { text-align: center; }
.pkg-check {
    display: inline-block;
    width: 18px; height: 18px;
    color: var(--brand);
}
.pkg-check svg { width: 18px; height: 18px; }

/* Deliverables */
.deliverables-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 640px) { .deliverables-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .deliverables-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.deliverable-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 24px 22px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.deliverable-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--brand-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    flex-shrink: 0;
}
.deliverable-icon svg { width: 18px; height: 18px; }
.deliverable-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}
.deliverable-item p {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.55;
}

/* Contract badges */
.contracts-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1rem;
}
.contract-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 9px 15px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2);
    position: relative;
    cursor: default;
}
.contract-badge::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--brand);
    flex-shrink: 0;
}
.contract-badge[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #1a1210;
    border: 1px solid rgba(255,89,51,0.25);
    color: var(--text-2);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.55;
    white-space: normal;
    width: 220px;
    padding: 10px 13px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s ease, transform 0.18s ease;
    transform: translateX(-50%) translateY(4px);
    z-index: 100;
    text-align: left;
}
.contract-badge[data-tooltip]:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.contract-badge[data-tooltip]:hover {
    border-color: rgba(255,89,51,0.4);
    color: var(--text);
}

/* Service CTA */
.svc-cta {
    background: linear-gradient(160deg, rgba(255,89,51,0.07) 0%, transparent 55%);
    border-top: 1px solid var(--border);
    padding: 120px 0;
    text-align: center;
}
.svc-cta h2 {
    font-size: clamp(30px, 5vw, 50px);
    margin-bottom: 1rem;
}
.svc-cta p {
    font-size: 17px;
    color: var(--text-2);
    margin: 0 auto 2.5rem;
    max-width: 480px;
    line-height: 1.65;
}

/* ══════════════════════════════════════
   LOADING STATE
══════════════════════════════════════ */
.is-loading .hero-eyebrow,
.is-loading .hero-title,
.is-loading .hero-subtitle,
.is-loading .hero-actions,
.is-loading .scroll-hint {
    animation-play-state: paused;
}
