@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ═══════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════ */
:root {
    /* -- Brand Colors -- */
    --brand-orange: #FF6200;
    --brand-orange-2: #FF8C42;
    --brand-glow: rgba(255, 98, 0, 0.30);
    --brand-subtle: rgba(255, 98, 0, 0.08);
    --brand-border: rgba(255, 98, 0, 0.22);

    /* -- Surface Palette -- */
    --bg-root: #080B12;
    --bg-layer-1: #0D1119;
    --bg-layer-2: #121722;
    --bg-layer-3: #181E2C;
    --surface-glass: rgba(255, 255, 255, 0.03);
    --surface-hover: rgba(255, 255, 255, 0.055);

    /* -- Borders -- */
    --border-subtle: rgba(255, 255, 255, 0.055);
    --border-mid: rgba(255, 255, 255, 0.10);

    /* -- Text -- */
    --text-primary: #F0F4FF;
    --text-secondary: #8A9CC2;
    --text-muted: #4E5E7A;

    /* -- Typography (Apple-style: single font, weight-driven) -- */
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* -- Spacing -- */
    --section-gap: clamp(6rem, 12vw, 10rem);
    --container-max: 1160px;
    --container-pad: clamp(1.25rem, 4vw, 2rem);
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --radius-xl: 980px;

    /* -- Transitions -- */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --t-fast: 0.2s var(--ease-out);
    --t-smooth: 0.45s var(--ease-out);

    /* -- Glows / Shadows -- */
    --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.45);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.65);
    --nav-blur: saturate(180%) blur(24px);
}

/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-root);
    color: var(--text-primary);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* -- Selection -- */
::selection {
    background: var(--brand-orange);
    color: #fff;
}

/* ═══════════════════════════════════════════
   TYPOGRAPHY — Apple-inspired hierarchy
═══════════════════════════════════════════ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    line-height: 1.08;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(3rem, 6.5vw, 6rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.03;
}

h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.25rem, 2.2vw, 1.7rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
}

h4 {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-secondary);
    font-size: clamp(1rem, 1.5vw, 1.08rem);
    font-weight: 400;
    margin-bottom: 1.4rem;
    line-height: 1.8;
}

a {
    color: var(--brand-orange);
    text-decoration: none;
    transition: color var(--t-fast);
}

strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ═══════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

section {
    padding: var(--section-gap) 0;
    position: relative;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}

.text-center {
    text-align: center;
}

/* ═══════════════════════════════════════════
   GRADIENT ACCENT BACKGROUNDS
═══════════════════════════════════════════ */
.section-light {
    background: var(--bg-layer-1);
}

.section-mid {
    background: var(--bg-layer-2);
}

/* ═══════════════════════════════════════════
   BUTTONS — Apple pill-style
═══════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.72rem 1.6rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: var(--radius-xl);
    transition: all var(--t-fast);
    cursor: pointer;
    border: none;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-2) 100%);
    color: #fff;
    box-shadow: 0 4px 20px var(--brand-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--brand-glow);
    color: #fff;
    filter: brightness(1.07);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-mid);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--brand-orange);
    color: var(--brand-orange);
    background: var(--brand-subtle);
}

.btn-ghost {
    background: var(--surface-glass);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(12px);
}

.btn-ghost:hover {
    background: var(--surface-hover);
    border-color: var(--border-mid);
    color: var(--text-primary);
}

/* ═══════════════════════════════════════════
   NAVIGATION — Apple minimalism
═══════════════════════════════════════════ */
.header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    padding: 1.1rem 0;
    background: transparent;
    transition: background var(--t-smooth), padding var(--t-smooth), border-color var(--t-smooth);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: rgba(8, 11, 18, 0.85);
    backdrop-filter: var(--nav-blur);
    -webkit-backdrop-filter: var(--nav-blur);
    border-bottom-color: var(--border-subtle);
    padding: 0.8rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    flex-shrink: 0;
}

.logo .logo-icon {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-2));
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: #fff;
    box-shadow: 0 4px 14px var(--brand-glow);
    flex-shrink: 0;
}

.logo span {
    color: var(--brand-orange);
}

/* Nav Links — Apple thin weight */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    list-style: none;
}

.nav-link {
    color: rgba(240, 244, 255, 0.72);
    font-weight: 400;
    font-size: 0.82rem;
    letter-spacing: 0.005em;
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-xl);
    transition: color var(--t-fast), background var(--t-fast);
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--surface-glass);
}

.nav-link.active {
    color: var(--brand-orange);
}

/* Mobile toggle */
.mobile-menu-btn {
    display: none;
    background: var(--surface-glass);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 1.1rem;
    cursor: pointer;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-xl);
    align-items: center;
    justify-content: center;
    transition: background var(--t-fast);
}

.mobile-menu-btn:hover {
    background: var(--surface-hover);
}

/* ═══════════════════════════════════════════
   SECTION LABELS / BADGES — refined
═══════════════════════════════════════════ */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-orange);
    background: var(--brand-subtle);
    border: 1px solid var(--brand-border);
    padding: 0.38rem 0.95rem;
    border-radius: var(--radius-xl);
    margin-bottom: 1.1rem;
}

.emergency-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-orange);
    background: var(--brand-subtle);
    border: 1px solid var(--brand-border);
    padding: 0.42rem 1rem;
    border-radius: var(--radius-xl);
    margin-bottom: 1.25rem;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--brand-orange);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 98, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(255, 98, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 98, 0, 0);
    }
}

/* ═══════════════════════════════════════════
   CARDS — Apple breathing room
═══════════════════════════════════════════ */
.glass-card {
    background: var(--surface-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2.75rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform var(--t-smooth), background var(--t-smooth), border-color var(--t-smooth), box-shadow var(--t-smooth);
}

.glass-card:hover {
    transform: translateY(-5px);
    background: var(--surface-hover);
    border-color: rgba(255, 98, 0, 0.18);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.solid-card {
    background: var(--bg-layer-2);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    transition: transform var(--t-smooth), border-color var(--t-smooth), box-shadow var(--t-smooth);
}

.solid-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 98, 0, 0.18);
    box-shadow: var(--shadow-hover);
}

/* ═══════════════════════════════════════════
   SERVICE ICON BOXES
═══════════════════════════════════════════ */
.icon-box {
    width: 52px;
    height: 52px;
    background: var(--brand-subtle);
    border: 1px solid var(--brand-border);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    color: var(--brand-orange);
    margin-bottom: 1.35rem;
    transition: all var(--t-smooth);
    flex-shrink: 0;
}

.glass-card:hover .icon-box,
.solid-card:hover .icon-box {
    background: var(--brand-orange);
    color: #fff;
    transform: scale(1.08);
    border-color: transparent;
    box-shadow: 0 6px 20px var(--brand-glow);
}

/* ═══════════════════════════════════════════
   NUMBER / STAT COUNTERS
═══════════════════════════════════════════ */
.stat-num {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--brand-orange);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* ═══════════════════════════════════════════
   CHECK LISTS
═══════════════════════════════════════════ */
.check-list {
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 0.9rem;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.65;
}

.check-list li i {
    color: var(--brand-orange);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   HORIZONTAL DIVIDER LINE
═══════════════════════════════════════════ */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-mid), transparent);
    margin: var(--section-gap) 0;
    border: none;
}

/* ═══════════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════════ */
.cta-banner {
    background: linear-gradient(135deg, var(--bg-layer-2) 0%, rgba(255, 98, 0, 0.05) 100%);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-lg);
    padding: clamp(3.5rem, 7vw, 6rem) clamp(2rem, 5vw, 5rem);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 120%, rgba(255, 98, 0, 0.10) 0%, transparent 65%);
    pointer-events: none;
}

/* ═══════════════════════════════════════════
   PAGE HEADER HERO (inner pages)
═══════════════════════════════════════════ */
.page-hero {
    padding-top: clamp(130px, 20vw, 190px);
    padding-bottom: clamp(4rem, 8vw, 7rem);
    text-align: center;
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 98, 0, 0.11) 0%, transparent 70%),
        var(--bg-root);
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-mid), transparent);
}

.page-hero h1 {
    margin-bottom: 1rem;
}

.page-hero p {
    max-width: 600px;
    margin: 0 auto;
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    font-weight: 300;
    line-height: 1.8;
}

.page-hero span {
    color: var(--brand-orange);
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
    background: var(--bg-layer-1);
    border-top: 1px solid var(--border-subtle);
    padding: clamp(4.5rem, 8vw, 7rem) 0 2.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 1.35rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.65rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 400;
    transition: color var(--t-fast);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-social {
    display: flex;
    gap: 0.65rem;
    margin-top: 1.5rem;
}

.social-btn {
    width: 36px;
    height: 36px;
    background: var(--surface-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: all var(--t-fast);
}

.social-btn:hover {
    background: var(--brand-orange);
    border-color: var(--brand-orange);
    color: #fff;
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* ═══════════════════════════════════════════
   ANIMATIONS / REVEAL
═══════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

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

/* ═══════════════════════════════════════════
   BACKGROUND BLOBS
═══════════════════════════════════════════ */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: rgba(255, 98, 0, 0.08);
    top: -160px;
    right: -160px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: rgba(80, 100, 200, 0.04);
    bottom: -120px;
    left: -120px;
}

/* ═══════════════════════════════════════════
   FORM ELEMENTS
═══════════════════════════════════════════ */
input,
select,
textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-mid);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 4px rgba(255, 98, 0, 0.10);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

select option {
    background: var(--bg-layer-2);
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.88rem;
    letter-spacing: -0.005em;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    section {
        padding: calc(var(--section-gap) * 0.82) 0;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.6rem;
        letter-spacing: -0.035em;
    }

    h2 {
        font-size: 2rem;
        letter-spacing: -0.025em;
    }

    .nav-links {
        display: none;
        position: fixed;
        inset: 62px 0 auto;
        background: rgba(8, 11, 18, 0.97);
        backdrop-filter: blur(24px);
        padding: 1.5rem;
        flex-direction: column;
        border-bottom: 1px solid var(--border-subtle);
        gap: 0.25rem;
        animation: fadeInUp 0.28s var(--ease-out);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .glass-card,
    .solid-card {
        padding: 1.75rem;
    }
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
        justify-content: center;
    }

    .cta-group {
        flex-direction: column;
    }
}