/* ========================================================
   MOEN Trading Group – Ultra Premium Stylesheet
   ======================================================== */

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

:root {
    --brand: #c62828;
    --brand-dark: #8f1717;
    --brand-glow: rgba(198, 40, 40, 0.18);
    --brand-soft: #fdf0f0;
    --brand-gradient: linear-gradient(135deg, #c62828 0%, #e53935 50%, #c62828 100%);
    --brand-gradient-h: linear-gradient(90deg, #c62828, #e53935, #ef5350, #e53935, #c62828);
    --ink: #0f1419;
    --ink-soft: #2d333b;
    --muted: #636c76;
    --line: #e1e4e8;
    --paper: #ffffff;
    --surface: #f8f9fb;
    --surface-warm: #faf8f7;
    --steel: #0d1b2a;
    --shadow-sm: 0 2px 8px rgba(15, 20, 28, 0.06);
    --shadow: 0 12px 40px rgba(15, 20, 28, 0.08);
    --shadow-lg: 0 24px 60px rgba(15, 20, 28, 0.12);
    --shadow-brand: 0 8px 30px rgba(198, 40, 40, 0.18);
    --radius: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --header-height: 72px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Custom Scrollbar --- */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--surface);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--brand), var(--brand-dark));
    border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-dark);
}

/* --- Reset & Base --- */

* {
    box-sizing: border-box;
}

*::selection {
    background: rgba(198, 40, 40, 0.15);
    color: var(--brand-dark);
}

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

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

body.is-loading {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

/* ========================================================
   Loading Screen
   ======================================================== */

.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: var(--steel);
}

.loader.is-hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease-out);
}

/* Auto-hide loader after 2s even if JS fails */
.loader {
    animation: loaderAutoHide 0.5s 2s var(--ease-out) forwards;
}

@keyframes loaderAutoHide {
    to { opacity: 0; pointer-events: none; visibility: hidden; }
}

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

.loader-logo {
    width: 140px;
    margin: 0 auto 28px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius);
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-logo img {
    width: 100%;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.97); }
}

.loader-bar {
    width: 200px;
    height: 3px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.loader-progress {
    width: 0%;
    height: 100%;
    border-radius: 99px;
    background: var(--brand-gradient);
    animation: loadProgress 1.2s var(--ease-out) forwards;
}

@keyframes loadProgress {
    0% { width: 0%; }
    60% { width: 75%; }
    100% { width: 100%; }
}

/* ========================================================
   Cursor Glow
   ======================================================== */

.cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(198, 40, 40, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
}

.cursor-glow.is-active {
    opacity: 1;
}

/* --- Scroll Reveal Animations (CSS-only with JS enhancement) --- */

.reveal {
    animation: revealUp 0.9s var(--ease-out) both;
}

.reveal-left {
    animation: revealFromLeft 0.9s var(--ease-out) both;
}

.reveal-right {
    animation: revealFromRight 0.9s var(--ease-out) both;
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

/* JS-enhanced: if JS loads, we use IntersectionObserver instead */
.js-reveal .reveal,
.js-reveal .reveal-left,
.js-reveal .reveal-right {
    animation: none;
    opacity: 0;
}

.js-reveal .reveal {
    transform: translateY(40px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.js-reveal .reveal-left {
    transform: translateX(-50px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.js-reveal .reveal-right {
    transform: translateX(50px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.js-reveal .reveal.is-visible,
.js-reveal .reveal-left.is-visible,
.js-reveal .reveal-right.is-visible {
    opacity: 1;
    transform: translate(0);
}

@keyframes revealUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes revealFromLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes revealFromRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ========================================================
   Header
   ======================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.4s var(--ease-smooth);
}

.site-header.is-scrolled {
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(15, 20, 28, 0.08);
}

.nav-shell,
.section-shell {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.nav-shell {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    width: 146px;
    flex: 0 0 auto;
    transition: all 0.3s ease;
}

.brand:hover {
    opacity: 0.8;
    transform: scale(0.97);
}

.brand img {
    width: 100%;
    height: auto;
}

/* --- Navigation --- */

.primary-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-nav a {
    position: relative;
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    border-radius: 999px;
    padding: 0 16px;
    color: var(--ink-soft);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    background: transparent;
    transition: color 0.25s ease, background 0.25s ease;
}

.primary-nav a:hover,
.primary-nav a.is-active {
    color: var(--brand);
    background: var(--brand-soft);
}

/* --- Mobile Menu Toggle --- */

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    cursor: pointer;
    transition: all 0.2s ease;
}

.menu-toggle:hover {
    border-color: var(--brand);
    background: var(--brand-soft);
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.3s var(--ease-out), opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ========================================================
   Hero
   ======================================================== */

.hero {
    position: relative;
    min-height: clamp(640px, 88svh, 860px);
    isolation: isolate;
    overflow: hidden;
    display: grid;
    align-items: center;
    padding: 80px 0 100px;
}

.hero-media,
.hero-overlay,
.hero-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-media {
    z-index: -3;
    object-fit: cover;
    transform: scale(1.08);
    animation: heroZoom 25s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1.08); }
    100% { transform: scale(1.16); }
}

.hero-overlay {
    z-index: -2;
    background:
        linear-gradient(135deg, rgba(13, 27, 42, 0.92) 0%, rgba(13, 27, 42, 0.72) 35%, rgba(0, 0, 0, 0.35) 100%),
        linear-gradient(0deg, rgba(13, 27, 42, 0.5) 0%, transparent 40%);
}

.hero-particles {
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    color: var(--paper);
    position: relative;
    z-index: 2;
}

/* --- Hero Badge --- */

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(198, 40, 40, 0.2);
    border: 1px solid rgba(198, 40, 40, 0.25);
    backdrop-filter: blur(12px);
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4caf50;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.6);
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* --- Text Effects --- */

.text-gradient {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24, #f5cd79, #ff6b6b);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.text-highlight {
    position: relative;
    color: var(--brand);
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--brand-glow);
    border-radius: 3px;
    z-index: -1;
}

/* --- Eyebrow Label --- */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    padding: 7px 16px;
    border-radius: 999px;
    color: var(--brand);
    background: var(--brand-soft);
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* --- Typography --- */

h1, h2, h3, p {
    margin-top: 0;
}

h1 {
    max-width: 760px;
    margin-bottom: 24px;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3.2rem, 8vw, 6.5rem);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -0.04em;
}

h2 {
    margin-bottom: 20px;
    color: var(--steel);
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 3.8vw, 3.2rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

h3 {
    color: var(--ink);
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
}

.hero-lead {
    max-width: 560px;
    margin-bottom: 36px;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1.02rem, 1.7vw, 1.2rem);
    line-height: 1.75;
}

/* --- Buttons --- */

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 52px;
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 0 28px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.35s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.button:hover {
    transform: translateY(-3px);
}

.button:active {
    transform: translateY(-1px);
    transition-duration: 0.1s;
}

.button-primary {
    color: var(--paper);
    background: var(--brand-gradient);
    box-shadow: var(--shadow-brand);
}

.button-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.button-primary:hover::before {
    left: 100%;
}

.button-primary:hover {
    box-shadow: 0 14px 40px rgba(198, 40, 40, 0.32);
}

.button-secondary {
    color: var(--paper);
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.45);
}

.button svg {
    flex-shrink: 0;
    transition: transform 0.3s var(--ease-out);
}

.button:hover svg {
    transform: translateX(3px);
}

/* --- Hero Metrics --- */

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 190px));
    gap: 14px;
    margin: 0;
}

.metric-card {
    min-height: 100px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    transition: all 0.35s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--brand-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.metric-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.metric-card:hover::before {
    opacity: 1;
}

.hero-metrics dt {
    margin-bottom: 4px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.hero-metrics dd {
    margin: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
    font-weight: 500;
}

/* --- Hero Scroll Indicator --- */

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 5;
    animation: fadeInUp 1s 1.5s var(--ease-out) both;
}

.hero-scroll-indicator span {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, rgba(255,255,255,0.4), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--brand), transparent);
    animation: scrollDrop 2s ease-in-out infinite;
}

@keyframes scrollDrop {
    0% { top: -100%; }
    100% { top: 100%; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ========================================================
   Marquee Band
   ======================================================== */

.intro-band {
    background: var(--steel);
    padding: 18px 0;
    overflow: hidden;
    position: relative;
}

.intro-band::before,
.intro-band::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.intro-band::before {
    left: 0;
    background: linear-gradient(90deg, var(--steel), transparent);
}

.intro-band::after {
    right: 0;
    background: linear-gradient(-90deg, var(--steel), transparent);
}

.marquee-wrap {
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 32px;
    white-space: nowrap;
    animation: marquee 25s linear infinite;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.marquee-dot {
    color: var(--brand);
    font-size: 0.6rem;
    opacity: 0.7;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========================================================
   Section Blocks
   ======================================================== */

.section-block {
    padding: 120px 0;
    position: relative;
}

.split-layout,
.coverage-layout,
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
    align-items: center;
    gap: 72px;
}

.section-copy p:not(.eyebrow),
.coverage-layout p,
.contact-copy p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.78;
}

/* --- Feature Pills --- */

.feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink-soft);
    transition: all 0.25s ease;
}

.pill:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: var(--brand-soft);
}

/* --- Image Panel --- */

.image-panel {
    min-height: 460px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.image-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 0, 0, 0.06);
    pointer-events: none;
}

.image-panel img {
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out);
}

.image-panel:hover img {
    transform: scale(1.05);
}

/* --- Image Float Badge --- */

.image-float-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding: 16px 22px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
    z-index: 2;
    animation: floatBadge 3s ease-in-out infinite;
}

.image-float-badge strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--brand);
    letter-spacing: -0.02em;
}

.image-float-badge span {
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 600;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ========================================================
   Services Section
   ======================================================== */

.services-section {
    background: var(--surface);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.coverage-section {
    background: var(--surface);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 56px;
}

.section-heading h2 {
    margin-bottom: 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.service-card {
    min-height: 300px;
    padding: 30px 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
    cursor: default;
}

.card-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    background: radial-gradient(
        400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(198, 40, 40, 0.06),
        transparent 60%
    );
}

.service-card:hover .card-glow {
    opacity: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(198, 40, 40, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.card-number {
    position: absolute;
    top: 16px;
    right: 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--surface);
    line-height: 1;
    transition: color 0.3s ease;
    pointer-events: none;
}

.service-card:hover .card-number {
    color: var(--brand-soft);
}

.card-icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: var(--radius);
    color: var(--brand);
    background: var(--brand-soft);
    transition: all 0.35s var(--ease-out);
}

.service-card:hover .card-icon {
    background: var(--brand);
    color: var(--paper);
    transform: scale(1.06) rotate(-3deg);
    box-shadow: var(--shadow-brand);
}

.service-card h3 {
    margin-bottom: 10px;
    position: relative;
}

.service-card p {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 0;
    position: relative;
}

/* ========================================================
   Process Section – Timeline
   ======================================================== */

.process-section {
    background: var(--paper);
}

.timeline {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 27px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--line);
}

.timeline-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: var(--brand-gradient);
    border-radius: 2px;
    transition: height 1.5s var(--ease-out);
}

.timeline.is-animated .timeline-line::after {
    height: 100%;
}

.timeline-item {
    display: flex;
    gap: 24px;
    padding: 20px 0;
    position: relative;
}

.timeline-dot {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--paper);
    border: 2px solid var(--line);
    display: grid;
    place-items: center;
    position: relative;
    z-index: 2;
    transition: all 0.4s var(--ease-spring);
}

.timeline-dot span {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: var(--muted);
    transition: color 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    border-color: var(--brand);
    background: var(--brand);
    transform: scale(1.12);
    box-shadow: var(--shadow-brand);
}

.timeline-item:hover .timeline-dot span {
    color: var(--paper);
}

.timeline-content {
    flex: 1;
    padding-top: 8px;
}

.timeline-content h3 {
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.timeline-item:hover .timeline-content h3 {
    color: var(--brand);
}

.timeline-content p {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.65;
    margin-bottom: 0;
}

/* ========================================================
   Coverage Section
   ======================================================== */

.coverage-layout {
    grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1fr);
}

.coverage-layout .image-panel img {
    aspect-ratio: 5 / 4;
    min-height: auto;
}

.coverage-stats {
    display: flex;
    gap: 32px;
    margin-top: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item strong {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--brand);
    letter-spacing: -0.02em;
    line-height: 1;
}

.stat-item span {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--brand);
    line-height: 1;
}

.stat-item small {
    margin-top: 4px;
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 600;
}

/* ========================================================
   Contact Section
   ======================================================== */

.contact-section {
    background: var(--surface-warm);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.contact-layout {
    align-items: start;
}

/* --- Contact Features --- */

.contact-features {
    display: grid;
    gap: 16px;
    margin-top: 32px;
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: var(--radius);
    background: var(--paper);
    border: 1px solid var(--line);
    transition: all 0.25s ease;
}

.contact-feature:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow-sm);
}

.cf-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.contact-feature strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink);
}

.contact-feature span {
    font-size: 0.8rem;
    color: var(--muted);
}

/* --- Contact Form --- */

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--paper);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-gradient);
}

.form-header {
    grid-column: 1 / -1;
    margin-bottom: 4px;
}

.form-header h3 {
    margin-bottom: 4px;
    font-size: 1.25rem;
}

.form-header p {
    margin-bottom: 0;
    font-size: 0.84rem;
    color: var(--muted);
}

.contact-form label {
    display: grid;
    gap: 6px;
    color: var(--ink-soft);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    padding: 13px 16px;
    color: var(--ink);
    background: var(--surface);
    font: inherit;
    font-size: 0.92rem;
    transition: all 0.3s var(--ease-out);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--muted);
    opacity: 0.5;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:hover,
.contact-form textarea:hover {
    border-color: #c0c0c0;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--brand);
    background: var(--paper);
    box-shadow: 0 0 0 4px var(--brand-glow);
}

.wide-field {
    grid-column: 1 / -1;
}

.form-status {
    min-height: 22px;
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
}

/* --- Contact Form Submit --- */

.contact-form .button-primary {
    min-height: 52px;
    font-size: 0.92rem;
    border: none;
    cursor: pointer;
}

/* ========================================================
   Footer
   ======================================================== */

.site-footer {
    padding: 0;
    background: var(--steel);
    color: rgba(255, 255, 255, 0.55);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-gradient);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 48px;
    padding: 56px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
    width: 120px;
    padding: 8px 12px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.95);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.45);
    max-width: 280px;
}

.footer-nav h4 {
    margin: 0 0 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.8);
}

.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.footer-nav a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-nav a:hover {
    color: rgba(255, 255, 255, 0.9);
    transform: translateX(3px);
}

.footer-bottom {
    padding: 22px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ========================================================
   Page Load Animation
   ======================================================== */

body {
    opacity: 0;
    animation: fadeInPage 0.5s 0.1s var(--ease-out) forwards;
}

@keyframes fadeInPage {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========================================================
   Responsive – Tablet
   ======================================================== */

@media (max-width: 980px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split-layout,
    .coverage-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .coverage-layout .image-panel {
        order: 2;
    }

    .section-block {
        padding: 80px 0;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .timeline {
        max-width: 100%;
    }
}

/* ========================================================
   Responsive – Mobile
   ======================================================== */

@media (max-width: 760px) {
    :root {
        --header-height: 64px;
    }

    .nav-shell,
    .section-shell,
    .hero-content {
        width: min(100% - 28px, 1200px);
    }

    .brand {
        width: 126px;
    }

    .menu-toggle {
        display: block;
    }

    .primary-nav {
        position: fixed;
        inset: var(--header-height) 0 auto 0;
        display: none;
        padding: 16px 14px 24px;
        border-bottom: 1px solid var(--line);
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(20px);
        box-shadow: var(--shadow-lg);
    }

    .primary-nav.is-open {
        display: block;
        animation: slideDown 0.35s var(--ease-out) forwards;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .primary-nav ul {
        display: grid;
        gap: 4px;
    }

    .primary-nav a {
        min-height: 48px;
        border-radius: var(--radius);
        padding: 0 14px;
        font-size: 0.95rem;
    }

    .hero {
        min-height: 80svh;
        padding: 56px 0 80px;
    }

    .hero-overlay {
        background:
            linear-gradient(180deg, rgba(13, 27, 42, 0.94) 0%, rgba(13, 27, 42, 0.65) 50%, rgba(0, 0, 0, 0.5) 100%);
    }

    .hero-actions {
        display: grid;
    }

    .hero-metrics,
    .contact-form {
        grid-template-columns: 1fr;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 36px 0 28px;
    }

    .section-block {
        padding: 64px 0;
    }

    .image-panel,
    .image-panel img {
        min-height: 280px;
    }

    .service-card {
        min-height: auto;
    }

    .cursor-glow {
        display: none;
    }

    .coverage-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-item {
        flex-direction: row;
        align-items: baseline;
        gap: 4px;
        flex-wrap: wrap;
    }

    .stat-item small {
        flex-basis: 100%;
    }
}

@media (max-width: 560px) {
    .service-grid {
        grid-template-columns: 1fr;
    }

    .timeline-dot {
        width: 46px;
        height: 46px;
    }

    .timeline-line {
        left: 22px;
    }

    .timeline-item {
        gap: 16px;
    }
}
