/* ============================================
   DevelopMyWeb — Global Stylesheet
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

/* --- Custom Properties --- */
:root {
    /* Primary */
    --color-primary: #085794;
    --color-primary-dark: #063d6b;
    --color-primary-deeper: #042d50;
    --color-primary-light: #e8f0f8;

    /* Accent (warm copper) */
    --color-accent: #c45a2d;
    --color-accent-dark: #a34a24;
    --color-accent-light: #fdf0eb;

    /* Neutrals */
    --color-text: #1a1a1a;
    --color-text-secondary: #5a5a5a;
    --color-text-muted: #767676;
    --color-surface: #ffffff;
    --color-surface-alt: #f8f9fa;
    --color-surface-warm: #fafaf8;
    --color-border: #e2e5e9;

    /* Typography */
    --font-family: 'Cabin', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --text-sm:   clamp(0.8rem, 0.77rem + 0.15vw, 0.875rem);
    --text-base: clamp(0.938rem, 0.9rem + 0.19vw, 1.0625rem);
    --text-lg:   clamp(1.1rem, 1.0rem + 0.5vw, 1.25rem);
    --text-xl:   clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl:  clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
    --text-3xl:  clamp(1.8rem, 1.4rem + 2vw, 3rem);
    --text-hero: clamp(2.2rem, 1.6rem + 3vw, 3.75rem);

    /* Spacing */
    --space-xs:  0.25rem;
    --space-sm:  0.5rem;
    --space-md:  1rem;
    --space-lg:  1.5rem;
    --space-xl:  2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Layout */
    --container-max: 1200px;
    --container-pad: clamp(1.25rem, 3vw, 2rem);

    /* Shadows */
    --shadow-sm:    0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md:    0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg:    0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.1);

    /* Radius */
    --radius-sm:   4px;
    --radius-md:   8px;
    --radius-lg:   12px;
    --radius-xl:   16px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast:   150ms ease;
    --transition-base:   250ms ease;
    --transition-slow:   400ms ease;
}

/* --- Typography --- */
body {
    font-family: var(--font-family);
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 600;
    color: var(--color-text);
}

h1 { font-size: var(--text-hero); letter-spacing: -0.02em; }
h2 { font-size: var(--text-3xl); letter-spacing: -0.01em; }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); color: var(--color-text-secondary); }

p { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover { color: var(--color-primary-dark); }

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

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

/* --- Skip Link --- */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    z-index: 1000;
    padding: var(--space-sm) var(--space-md);
    background: var(--color-primary);
    color: #ffffff;
    font-weight: 500;
    border-radius: var(--radius-md);
}
.skip-link:focus {
    left: var(--space-md);
    top: var(--space-md);
    color: #ffffff;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.8rem 1.75rem;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: var(--text-base);
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--transition-fast),
                color var(--transition-fast),
                border-color var(--transition-fast),
                transform var(--transition-fast),
                box-shadow var(--transition-fast);
}

.btn-primary {
    background: var(--color-accent);
    color: #ffffff;
    border-color: var(--color-accent);
}
.btn-primary:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn-secondary:hover {
    background: var(--color-primary);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary--light {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}
.btn-secondary--light:hover {
    background: #ffffff;
    color: var(--color-primary);
    border-color: #ffffff;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--color-primary);
    font-weight: 500;
    font-size: var(--text-sm);
    text-decoration: none;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
}
.btn-text:hover { color: var(--color-primary-dark); }
.btn-text .arrow {
    transition: transform var(--transition-fast);
    font-size: 1.1em;
}
.btn-text:hover .arrow { transform: translateX(4px); }

/* --- Section Spacing --- */
.section { padding: var(--space-4xl) 0; }
.section--alt { background: var(--color-surface-alt); }

.section-header { margin-bottom: var(--space-3xl); }
.section-header p {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    margin-top: var(--space-sm);
    max-width: 600px;
}
.section-header--center { text-align: center; }
.section-header--center p {
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    transition: padding var(--transition-base), box-shadow var(--transition-base);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
    gap: var(--space-xl);
}
.site-header.is-scrolled .header-inner {
    padding-top: var(--space-sm);
    padding-bottom: var(--space-sm);
}

.site-logo { flex-shrink: 0; }
.site-logo a { display: flex; align-items: center; }
.site-logo img { height: 36px; width: auto; }

/* Primary Navigation */
.primary-nav {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
}
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: var(--space-lg);
}
.nav-menu a {
    color: var(--color-text);
    font-size: var(--text-base);
    font-weight: 500;
    text-decoration: none;
    padding: var(--space-xs) 0;
    position: relative;
    transition: color var(--transition-fast);
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-base);
}
.nav-menu a:hover { color: var(--color-primary); }
.nav-menu a:hover::after { width: 100%; }
.nav-menu .current > a { color: var(--color-primary); }
.nav-menu .current > a::after { width: 100%; }

/* Dropdown */
.has-dropdown { position: relative; }
.has-dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.dropdown-arrow {
    font-size: 10px;
    transition: transform var(--transition-fast);
    color: var(--color-text-muted);
}
.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
    color: var(--color-primary);
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 260px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--space-sm);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
    pointer-events: none;
}
.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
.dropdown-menu a {
    display: block;
    padding: 0.6rem var(--space-md);
    border-radius: var(--radius-md);
    font-weight: 400;
    font-size: var(--text-sm);
    color: var(--color-text);
}
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover {
    background: var(--color-surface-alt);
    color: var(--color-primary);
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex-shrink: 0;
}
.header-phone {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    font-weight: 500;
    text-decoration: none;
}
.header-phone:hover { color: var(--color-primary); }
.header-phone i { font-size: 14px; }

/* Mobile menu — hidden on desktop */
.mobile-menu { display: none; }

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    margin-right: calc(-1 * var(--space-sm));
}
.menu-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--color-text);
    margin: 5px 0;
    transition: transform var(--transition-base), opacity var(--transition-fast);
    border-radius: 2px;
}
.menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
    padding: var(--space-5xl) 0 var(--space-4xl);
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 40%, var(--color-primary-deeper) 100%);
    position: relative;
    color: #ffffff;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%; right: -5%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content { max-width: 580px; }

.hero-divider {
    width: 60px; height: 3px;
    background: var(--color-accent);
    margin: var(--space-lg) 0;
    border-radius: 2px;
}

.hero-tagline {
    font-size: var(--text-sm);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}

.hero h1 { margin-bottom: 0; color: #ffffff; }

.hero-description {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.55;
    margin-top: var(--space-lg);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
}

/* --- Illustrated hero graphic — cards surrounding browser --- */
.hero-graphic {
    position: relative;
    min-height: 420px;
    width: 100%;
    max-width: 500px;
}

/* Connecting lines SVG — animate drawing */
.hero-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-line {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: lineDraw 0.8s ease 0.9s forwards;
}

.hero-line-dot {
    opacity: 0;
    animation: fadeIn 0.4s ease 1.5s forwards;
}

/* Service icon cards — surrounding browser */
.hero-icon-card {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    color: rgba(255, 255, 255, 0.9);
    z-index: 3;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transform: translateY(12px) scale(0.9);
}

/* Glow halo on cards */
.hero-icon-card::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: var(--radius-xl);
    background: radial-gradient(ellipse at center,
        rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* WordPress — top-left */
.hero-icon-card--wp {
    top: 68px;
    left: 10px;
    width: 62px;
    height: 62px;
    font-size: 26px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
    animation: cardReveal 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.35s forwards,
               cardFloat1 7s ease-in-out 1.5s infinite;
}

/* Hosting — left, lower */
.hero-icon-card--hosting {
    top: 195px;
    left: 10px;
    width: 54px;
    height: 54px;
    font-size: 20px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
    animation: cardReveal 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards,
               cardFloat2 8s ease-in-out 1.7s infinite;
}

/* SEO — bottom-centre, copper accent */
.hero-icon-card--seo {
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%) translateY(12px) scale(0.9);
    width: 66px;
    height: 66px;
    font-size: 26px;
    background: rgba(196, 90, 45, 0.12);
    border-color: rgba(196, 90, 45, 0.28);
    color: var(--color-accent);
    box-shadow:
        0 6px 28px rgba(196, 90, 45, 0.15),
        0 0 40px rgba(196, 90, 45, 0.06);
    animation: cardRevealSeo 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.7s forwards,
               cardFloat3 6s ease-in-out 1.9s infinite;
}
.hero-icon-card--seo::after {
    inset: -14px;
    background: radial-gradient(ellipse at center,
        rgba(196, 90, 45, 0.1) 0%, transparent 65%);
}

/* UK flag — right */
.hero-icon-card--uk {
    top: 260px;
    right: 10px;
    width: 56px;
    height: 56px;
    padding: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
    animation: cardReveal 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.85s forwards,
               cardFloat4 9s ease-in-out 2.1s infinite;
}

.hero-uk-flag {
    width: 30px;
    height: 15px;
    border-radius: 2px;
    overflow: hidden;
}

/* Browser mockup */
.hero-browser {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%) perspective(900px) rotateY(-4deg) rotateX(2deg);
    transform-origin: center center;
    width: 290px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #faf6f1;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 12px 50px rgba(0, 0, 0, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.1),
        0 0 80px rgba(8, 87, 148, 0.08);
    z-index: 2;
    opacity: 0;
    animation: browserReveal 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s forwards,
               browserFloat 12s ease-in-out 1.5s infinite;
}

.hero-browser__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #f0ebe4;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.hero-browser__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
}
.hero-browser__dot:first-child { background: #e8655a; }
.hero-browser__dot:nth-child(2) { background: #f0b840; }
.hero-browser__dot:nth-child(3) { background: #62c554; }

.hero-browser__url {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 10px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-full);
    font-size: 10px;
    color: #666;
    flex: 1;
}
.hero-browser__url i {
    font-size: 8px;
    color: #62c554;
}
.hero-browser__url span {
    font-family: var(--font-family);
    font-weight: 500;
    letter-spacing: 0.01em;
}

.hero-browser__body {
    padding: 14px;
}

.hero-browser__nav-bar {
    height: 6px;
    width: 65%;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 3px;
    margin-bottom: 14px;
}

.hero-browser__hero-block {
    background: linear-gradient(135deg, #085794 0%, #063d6b 100%);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    margin-bottom: 14px;
}
.hero-browser__hero-text {
    height: 6px;
    width: 80%;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 3px;
    margin-bottom: 6px;
}
.hero-browser__hero-text--short {
    width: 55%;
    margin-bottom: 12px;
}
.hero-browser__hero-btn {
    height: 16px;
    width: 65px;
    background: var(--color-accent);
    border-radius: 3px;
    opacity: 0.85;
}

.hero-browser__content {
    padding-top: 2px;
}
.hero-browser__card-row {
    display: flex;
    gap: 8px;
}
.hero-browser__mini-card {
    flex: 1;
    padding: 10px 8px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.hero-browser__mini-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 87, 148, 0.1);
    border-radius: 50%;
    color: var(--color-primary);
    font-size: 8px;
}
.hero-browser__mini-lines {
    width: 100%;
}
.hero-browser__line {
    height: 3px;
    background: rgba(0, 0, 0, 0.07);
    border-radius: 2px;
    margin-bottom: 4px;
}
.hero-browser__line--short {
    width: 65%;
    margin-bottom: 0;
}

/* Sparkle glows — soft radial dots */
.hero-sparkle {
    position: absolute;
    border-radius: 50%;
    z-index: 4;
    opacity: 0;
}

.hero-sparkle--1 {
    top: 15px; left: 42%;
    width: 6px; height: 6px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.15);
    animation: sparkleGlow 5s ease-in-out 1.4s infinite;
}

.hero-sparkle--2 {
    top: 140px; left: 5px;
    width: 4px; height: 4px;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4), 0 0 16px rgba(255, 255, 255, 0.1);
    animation: sparkleGlow 6.5s ease-in-out 2.2s infinite;
}

.hero-sparkle--3 {
    bottom: 70px; right: 20px;
    width: 5px; height: 5px;
    background: rgba(196, 90, 45, 0.8);
    box-shadow: 0 0 10px rgba(196, 90, 45, 0.5), 0 0 20px rgba(196, 90, 45, 0.15);
    animation: sparkleGlow 5.5s ease-in-out 1.8s infinite;
}

.hero-sparkle--4 {
    top: 55%; right: 70px;
    width: 3px; height: 3px;
    background: rgba(255, 255, 255, 0.45);
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.35);
    animation: sparkleGlow 7s ease-in-out 2.8s infinite;
}

.hero-sparkle--5 {
    bottom: 100px; left: 25%;
    width: 4px; height: 4px;
    background: rgba(8, 87, 148, 0.8);
    box-shadow: 0 0 8px rgba(8, 87, 148, 0.5), 0 0 18px rgba(8, 87, 148, 0.15);
    animation: sparkleGlow 6s ease-in-out 3.2s infinite;
}

.hero-sparkle--6 {
    top: 45%; right: 8%;
    width: 5px; height: 5px;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4), 0 0 18px rgba(255, 255, 255, 0.12);
    animation: sparkleGlow 5.8s ease-in-out 1s infinite;
}

.hero-sparkle--7 {
    top: 8%; left: 15%;
    width: 3px; height: 3px;
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
    animation: sparkleGlow 7.5s ease-in-out 3.8s infinite;
}

.hero-sparkle--8 {
    top: 75%; right: 35%;
    width: 4px; height: 4px;
    background: rgba(196, 90, 45, 0.7);
    box-shadow: 0 0 8px rgba(196, 90, 45, 0.4), 0 0 16px rgba(196, 90, 45, 0.1);
    animation: sparkleGlow 6.2s ease-in-out 2.5s infinite;
}

.hero-sparkle--9 {
    top: 25%; right: 22%;
    width: 3px; height: 3px;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.35);
    animation: sparkleGlow 5.2s ease-in-out 4.2s infinite;
}

/* Background dots */
.hero-dot {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    z-index: 0;
}

.hero-dot--1 { width: 3px; height: 3px; top: 20%; left: 18%; animation: dotPulse 4s ease-in-out 1s infinite; }
.hero-dot--2 { width: 2px; height: 2px; top: 50%; left: 3%; animation: dotPulse 5s ease-in-out 2s infinite; }
.hero-dot--3 { width: 3px; height: 3px; top: 10%; right: 25%; animation: dotPulse 3.5s ease-in-out 0.5s infinite; }
.hero-dot--4 { width: 2px; height: 2px; top: 72%; right: 15%; animation: dotPulse 6s ease-in-out 3s infinite; }
.hero-dot--5 { width: 2.5px; height: 2.5px; bottom: 15%; left: 12%; animation: dotPulse 4.5s ease-in-out 1.5s infinite; }
.hero-dot--6 { width: 2px; height: 2px; top: 35%; right: 5%; animation: dotPulse 5.5s ease-in-out 2.5s infinite; }
.hero-dot--7 { width: 2.5px; height: 2.5px; top: 85%; left: 40%; animation: dotPulse 4s ease-in-out 1.8s infinite; }
.hero-dot--8 { width: 2px; height: 2px; top: 5%; left: 60%; animation: dotPulse 5s ease-in-out 3.5s infinite; }
.hero-dot--9 { width: 2.5px; height: 2.5px; top: 28%; right: 8%; animation: dotPulse 4.2s ease-in-out 0.8s infinite; }
.hero-dot--10 { width: 2px; height: 2px; top: 62%; left: 28%; animation: dotPulse 5.8s ease-in-out 2.8s infinite; }
.hero-dot--11 { width: 3px; height: 3px; top: 88%; right: 20%; animation: dotPulse 3.8s ease-in-out 1.2s infinite; }
.hero-dot--12 { width: 2px; height: 2px; top: 42%; left: 8%; animation: dotPulse 4.8s ease-in-out 3.2s infinite; }

/* Hero keyframes */
@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes lineDraw {
    to { stroke-dashoffset: 0; }
}

@keyframes cardReveal {
    0%   { opacity: 0; transform: translateY(12px) scale(0.9); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes cardRevealSeo {
    0%   { opacity: 0; transform: translateX(-50%) translateY(12px) scale(0.9); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

@keyframes browserReveal {
    0%   { opacity: 0; transform: translateX(-50%) perspective(900px) rotateY(-4deg) rotateX(2deg) translateY(20px) scale(0.95); }
    100% { opacity: 1; transform: translateX(-50%) perspective(900px) rotateY(-4deg) rotateX(2deg) translateY(0) scale(1); }
}

@keyframes cardFloat1 {
    0%, 100% { transform: translateY(0); }
    40%      { transform: translateY(-6px); }
    70%      { transform: translateY(2px); }
}

@keyframes cardFloat2 {
    0%, 100% { transform: translateY(0); }
    35%      { transform: translateY(4px); }
    65%      { transform: translateY(-5px); }
}

@keyframes cardFloat3 {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    45%      { transform: translateX(-50%) translateY(-7px); }
    75%      { transform: translateX(-50%) translateY(2px); }
}

@keyframes cardFloat4 {
    0%, 100% { transform: translateY(0); }
    30%      { transform: translateY(-4px); }
    60%      { transform: translateY(5px); }
    85%      { transform: translateY(-2px); }
}

@keyframes browserFloat {
    0%, 100% { transform: translateX(-50%) perspective(900px) rotateY(-4deg) rotateX(2deg) translateY(0); }
    40%      { transform: translateX(-50%) perspective(900px) rotateY(-4deg) rotateX(2deg) translateY(-5px); }
    70%      { transform: translateX(-50%) perspective(900px) rotateY(-4deg) rotateX(2deg) translateY(2px); }
}

@keyframes sparkleGlow {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    15%      { opacity: 0.9; transform: scale(1.2); }
    30%      { opacity: 0.4; transform: scale(0.8); }
    50%      { opacity: 1; transform: scale(1.3); }
    70%      { opacity: 0.3; transform: scale(0.7); }
    85%      { opacity: 0.7; transform: scale(1.1); }
}

@keyframes dotPulse {
    0%, 100% { opacity: 0.12; }
    50%      { opacity: 0.5; }
}

/* Reduced motion — hero */
@media (prefers-reduced-motion: reduce) {
    .hero-icon-card,
    .hero-sparkle,
    .hero-dot {
        animation: none;
        opacity: 1;
        transform: none;
    }
    .hero-icon-card--seo {
        transform: translateX(-50%);
    }
    .hero-browser {
        animation: none;
        opacity: 1;
        transform: translateX(-50%) perspective(900px) rotateY(-4deg) rotateX(2deg);
    }
    .hero-line {
        animation: none;
        stroke-dashoffset: 0;
    }
    .hero-line-dot {
        animation: none;
        opacity: 1;
    }
    .hero-sparkle {
        opacity: 0.6;
    }
}

/* Hero entrance animations */
.hero-content { animation: heroFadeIn 800ms ease both; }
.hero-graphic { animation: heroFadeIn 800ms ease 200ms both; }

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

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
    padding: var(--space-xl) 0;
    background: var(--color-primary-dark);
    color: #ffffff;
    position: relative;
    z-index: 1;
}
.trust-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}
.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}
.trust-item__icon {
    width: 40px; height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.8);
}
.trust-item__icon i { font-size: 18px; }
.trust-item__text {
    font-size: var(--text-sm);
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
}
.trust-item__text span {
    display: block;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    font-size: calc(var(--text-sm) - 0.05rem);
}

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}
.service-card {
    padding: var(--space-xl);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary-light);
    color: inherit;
}
.service-card__icon {
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-light);
    border-radius: var(--radius-md);
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
}
.service-card__icon i { font-size: 20px; }
.service-card h4 { margin-bottom: var(--space-sm); }
.service-card p {
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    line-height: 1.5;
    flex-grow: 1;
}
.service-card .btn-text { margin-top: var(--space-lg); }

/* Featured card — background image with overlay */
.service-card--featured {
    position: relative;
    background: url('../images/service-featured-bg.jpg') center/cover no-repeat;
    border-color: transparent;
    color: #ffffff;
    grid-row: 1 / 3;
    overflow: hidden;
}
.service-card--featured::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-primary-deeper);
    opacity: 0.82;
    z-index: 1;
    transition: opacity var(--transition-base);
}
.service-card--featured > * { position: relative; z-index: 2; }
.service-card--featured h4 { color: #ffffff; }
.service-card--featured p { color: rgba(255, 255, 255, 0.85); }
.service-card--featured .service-card__icon {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}
.service-card--featured .btn-text {
    color: rgba(255, 255, 255, 0.9);
}
.service-card--featured .btn-text .arrow { color: #ffffff; }
.service-card--featured:hover {
    border-color: transparent;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(8, 87, 148, 0.4);
}
.service-card--featured:hover::before {
    opacity: 0.75;
}

/* Accent icon variant — copper icon circle */
.service-card--accent .service-card__icon {
    background: var(--color-accent-light);
    color: var(--color-accent);
}

/* ============================================
   HOW WE WORK — Vertical timeline stepper
   ============================================ */
.timeline-section {
    padding: var(--space-5xl) 0;
    background: var(--color-surface-warm);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

/* Vertical line track */
.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}

/* Animated progress line */
.timeline__progress {
    position: absolute;
    left: 24px;
    top: 0;
    width: 2px;
    height: 0;
    background: var(--color-primary);
    transition: height 600ms ease;
    z-index: 1;
}

.timeline-step {
    position: relative;
    padding-left: 72px;
    padding-bottom: var(--space-3xl);
}

.timeline-step:last-child {
    padding-bottom: 0;
}

.timeline-step__marker {
    position: absolute;
    left: 12px;
    top: 4px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: border-color var(--transition-base), background var(--transition-base);
}

.timeline-step__marker-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-border);
    transition: background var(--transition-base), transform var(--transition-base);
}

/* Active state — triggered by JS */
.timeline-step.is-active .timeline-step__marker {
    border-color: var(--color-primary);
    background: var(--color-surface);
}

.timeline-step.is-active .timeline-step__marker-dot {
    background: var(--color-primary);
    transform: scale(1.15);
}

.timeline-step__number {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-xs);
    opacity: 0.6;
}

.timeline-step.is-active .timeline-step__number {
    opacity: 1;
}

.timeline-step h4 {
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.timeline-step p {
    color: var(--color-text-secondary);
    font-size: var(--text-base);
    line-height: 1.6;
    max-width: 520px;
}

.timeline-step__content {
    opacity: 0.4;
    transform: translateY(8px);
    transition: opacity 500ms ease, transform 500ms ease;
}

.timeline-step.is-active .timeline-step__content {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   EXPERTISE SPLIT
   ============================================ */
.expertise-section {
    background: var(--color-primary);
    color: #ffffff;
    padding: var(--space-4xl) 0;
    position: relative;
    overflow: hidden;
}
.expertise-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary) 30%, var(--color-primary-dark) 70%, var(--color-primary-dark) 100%);
    pointer-events: none;
}
.expertise-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    position: relative;
    z-index: 1;
}
.expertise-content h2 {
    color: #ffffff;
    margin-bottom: var(--space-lg);
}
.expertise-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-lg);
    line-height: 1.6;
}
.expertise-content .btn { margin-top: var(--space-xl); }

.expertise-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}
.expertise-item {
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.expertise-item__icon {
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: rgba(255, 255, 255, 0.7);
}
.expertise-item__icon i { font-size: 20px; }
.expertise-item h5 {
    color: #ffffff;
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}
.expertise-item p {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

/* ============================================
   FEATURED WORK
   ============================================ */
.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}
.work-card {
    text-decoration: none;
    color: inherit;
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.work-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: inherit;
}

.work-card__image {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--color-surface-alt);
    position: relative;
}
.work-card__image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.work-card:hover .work-card__image img {
    transform: scale(1.04);
}

.work-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 87, 148, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}
.work-card:hover .work-card__overlay {
    opacity: 1;
}
.work-card__overlay-text {
    color: #ffffff;
    font-weight: 500;
    font-size: var(--text-base);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transform: translateY(8px);
    transition: transform var(--transition-base);
}
.work-card:hover .work-card__overlay-text {
    transform: translateY(0);
}
.work-card__overlay-text i {
    font-size: 14px;
}

.work-card__placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-surface-alt) 100%);
    color: var(--color-primary);
    opacity: 0.6;
}
.work-card__placeholder svg { width: 48px; height: 48px; }

.work-card__body { padding: var(--space-lg); }
.work-card__tag {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-size: calc(var(--text-sm) - 0.1rem);
    font-weight: 500;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-sm);
}
.work-card h4 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-xs);
}
.work-card__desc {
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-3xl);
}
.section-header-row .section-header { margin-bottom: 0; }

/* ============================================
   TESTIMONIAL
   ============================================ */
.testimonial-section {
    padding: var(--space-4xl) 0;
    background: var(--color-surface);
    overflow: hidden;
}

.testimonial-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.testimonial-split__quote {
    padding: var(--space-3xl);
    background: var(--color-primary);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.testimonial-split__mark {
    font-size: 5rem;
    line-height: 1;
    color: #ffffff;
    opacity: 0.12;
    font-family: Georgia, 'Times New Roman', serif;
    position: absolute;
    top: var(--space-xl);
    left: var(--space-2xl);
    user-select: none;
    pointer-events: none;
}

.testimonial-split__quote blockquote {
    font-size: var(--text-xl);
    font-weight: 400;
    font-style: italic;
    line-height: 1.5;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.testimonial-split__attribution {
    margin-top: var(--space-xl);
    position: relative;
    z-index: 1;
}

.testimonial-split__name {
    font-weight: 600;
    font-size: var(--text-base);
    color: #ffffff;
}

.testimonial-split__role {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.15rem;
}

.testimonial-split__image {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-surface-alt) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2xl);
    min-height: 360px;
}

.testimonial-split__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-project-placeholder {
    text-align: center;
    color: var(--color-primary);
    opacity: 0.4;
}
.testimonial-project-placeholder svg {
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-md);
}
.testimonial-project-placeholder p {
    font-size: var(--text-sm);
    font-weight: 500;
}

/* ============================================
   BLOG PREVIEW
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}
.blog-card {
    text-decoration: none;
    color: inherit;
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: inherit;
}
.blog-card__image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--color-surface-alt);
}
.blog-card__image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.blog-card:hover .blog-card__image img { transform: scale(1.03); }

.blog-card__placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    opacity: 0.3;
}
.blog-card__placeholder svg { width: 40px; height: 40px; }
.blog-card__body { padding: var(--space-lg); }
.blog-card__category {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}
.blog-card h4 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}
.blog-card__excerpt {
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    line-height: 1.5;
    margin-bottom: var(--space-md);
}
.blog-card__meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}
.blog-card__meta .separator {
    width: 3px; height: 3px;
    border-radius: 50%;
    background: var(--color-text-muted);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    position: relative;
    background: var(--color-primary-deeper) url('../images/cta-bg.jpg') center/cover no-repeat;
    color: #ffffff;
    text-align: center;
    padding: var(--space-4xl) 0;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-primary-deeper);
    opacity: 0.88;
    z-index: 1;
}
.cta-section .container { position: relative; z-index: 2; }
.cta-section h2 { color: #ffffff; margin-bottom: var(--space-md); }
.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--text-lg);
    max-width: 550px;
    margin: 0 auto var(--space-2xl);
}
.cta-section__buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
}
.cta-section__phone {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition-fast);
}
.cta-section__phone:hover { color: #ffffff; }
.cta-section__phone i { font-size: 16px; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--color-primary-deeper);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-4xl) 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: var(--space-3xl);
}
.footer-brand { padding-right: var(--space-xl); }
.footer-logo { margin-bottom: var(--space-lg); }
.footer-logo img {
    height: 30px; width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}
.footer-brand p {
    font-size: var(--text-sm);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
}
.footer-heading {
    font-size: var(--text-sm);
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-lg);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: var(--space-sm); }
.footer-links a {
    color: rgba(255, 255, 255, 0.55);
    font-size: var(--text-sm);
    text-decoration: none;
    transition: color var(--transition-fast);
}
.footer-links a:hover { color: #ffffff; }
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    font-size: var(--text-sm);
}
.footer-contact-item i {
    font-size: 14px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.35);
}
.footer-contact-item a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
}
.footer-contact-item a:hover { color: #ffffff; }
.footer-hours {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.4);
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    line-height: 1.7;
}
.footer-bottom {
    margin-top: var(--space-3xl);
    padding: var(--space-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}
.footer-copyright {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.35);
}
.footer-legal {
    display: flex;
    gap: var(--space-lg);
    list-style: none;
}
.footer-legal a {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
}
.footer-legal a:hover { color: rgba(255, 255, 255, 0.7); }
.footer-made-in {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.35);
}
.footer-made-in img {
    display: inline-block;
    vertical-align: middle;
    border-radius: 1px;
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
    padding: var(--space-5xl) 0 var(--space-4xl);
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 40%, var(--color-primary-deeper) 100%);
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -20%; right: -5%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.page-hero__inner {
    max-width: 700px;
    margin: 0 auto;
}
.page-hero__tagline {
    font-size: var(--text-sm);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}
.page-hero h1 {
    color: #ffffff;
    margin-bottom: 0;
}
.page-hero .hero-divider {
    margin: var(--space-lg) auto;
}
.page-hero__description {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.55;
}

/* ============================================
   ABOUT — Story
   ============================================ */
.about-story {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: var(--space-3xl);
    align-items: start;
}
.about-story__content h2 {
    margin-bottom: var(--space-lg);
}
.about-story__content p {
    color: var(--color-text-secondary);
    font-size: var(--text-base);
    line-height: 1.7;
}
.about-story__card {
    background: var(--color-primary);
    color: #ffffff;
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    position: sticky;
    top: calc(80px + var(--space-xl));
}
.about-story__card-icon {
    color: rgba(255, 255, 255, 0.25);
    font-size: 28px;
    margin-bottom: var(--space-lg);
}
.about-story__card p {
    font-size: var(--text-lg);
    font-style: italic;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   ABOUT — Approach
   ============================================ */
.about-approach-section {
    padding: var(--space-4xl) 0;
    background: var(--color-surface-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}
.about-approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}
.about-approach-item {
    padding: var(--space-xl);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.about-approach-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}
.about-approach-item__icon {
    width: 52px; height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-light);
    border-radius: var(--radius-md);
    color: var(--color-primary);
    margin: 0 auto var(--space-lg);
}
.about-approach-item__icon i { font-size: 22px; }
.about-approach-item h4 {
    margin-bottom: var(--space-sm);
}
.about-approach-item p {
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    line-height: 1.5;
}

/* ============================================
   ABOUT — Stats
   ============================================ */
.about-stats {
    padding: var(--space-3xl) 0;
    background: var(--color-primary);
    color: #ffffff;
}
.about-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    text-align: center;
}
.about-stats__number {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: var(--space-xs);
}
.about-stats__label {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* ============================================
   ABOUT — Value / Checklist
   ============================================ */
.about-value {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}
.about-value__content h2 {
    margin-bottom: var(--space-lg);
}
.about-value__content p {
    color: var(--color-text-secondary);
    font-size: var(--text-base);
    line-height: 1.7;
}
.about-value__content .btn {
    margin-top: var(--space-xl);
}
.about-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}
.about-checklist li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--color-surface-alt);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    font-size: var(--text-base);
    color: var(--color-text);
    line-height: 1.5;
}
.about-checklist li i {
    color: var(--color-accent);
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 4px;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 600ms ease, transform 600ms ease;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.animate-stagger > .animate-on-scroll:nth-child(1) { transition-delay: 0ms; }
.animate-stagger > .animate-on-scroll:nth-child(2) { transition-delay: 80ms; }
.animate-stagger > .animate-on-scroll:nth-child(3) { transition-delay: 160ms; }
.animate-stagger > .animate-on-scroll:nth-child(4) { transition-delay: 240ms; }
.animate-stagger > .animate-on-scroll:nth-child(5) { transition-delay: 320ms; }
.animate-stagger > .animate-on-scroll:nth-child(6) { transition-delay: 400ms; }

/* Reduced motion — scroll animations */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .timeline-step__content {
        opacity: 1;
        transform: none;
    }
    .timeline__progress {
        transition: none;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    /* Header: hide CTA button to prevent overflow, keep phone number */
    .header-right .btn { display: none; }
    .hero-inner {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    .hero { padding: var(--space-4xl) 0 var(--space-3xl); }
    .hero-content { max-width: 100%; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .service-card--featured { grid-row: auto; }
    .expertise-inner { grid-template-columns: 1fr; gap: var(--space-2xl); }
    .expertise-section::before { display: none; }
    .work-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonial-split { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
    .footer-brand {
        grid-column: 1 / -1;
        padding-right: 0;
    }
    /* About page */
    .about-story { grid-template-columns: 1fr; }
    .about-story__card { position: static; }
    .about-approach-grid { grid-template-columns: repeat(2, 1fr); }
    .about-value { grid-template-columns: 1fr; gap: var(--space-2xl); }
}

@media (max-width: 900px) {
    .hero-graphic { display: none; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .service-card--featured {
        grid-column: 1 / -1;
        grid-row: auto;
    }
    .work-grid .work-card:last-child { display: none; }
    .testimonial-section { padding-top: var(--space-2xl); }
    .testimonial-split__image { display: none; }
    .blog-grid .blog-card:last-child { display: none; }
    .primary-nav { display: none; }
    .header-phone { display: none; }
    .menu-toggle { display: block; }

    .mobile-menu {
        display: block;
        position: fixed;
        top: 0; left: 0;
        width: 100%;
        height: 100vh; height: 100dvh;
        background: var(--color-surface);
        z-index: 200;
        padding: var(--space-xl) var(--container-pad);
        display: flex;
        flex-direction: column;
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--transition-base), visibility var(--transition-base);
        overflow-y: auto;
    }
    .mobile-menu.is-open { opacity: 1; visibility: visible; }
    .mobile-menu__header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: var(--space-2xl);
    }
    .mobile-menu__close {
        background: none; border: none;
        cursor: pointer; padding: var(--space-sm);
        color: var(--color-text);
    }
    .mobile-menu__close i { font-size: 22px; }
    .mobile-menu__nav { list-style: none; flex-grow: 1; }
    .mobile-menu__nav > li { border-bottom: 1px solid var(--color-border); }
    .mobile-menu__nav > li > a {
        display: block;
        padding: var(--space-md) 0;
        font-size: var(--text-xl);
        font-weight: 500;
        color: var(--color-text);
        text-decoration: none;
    }
    .mobile-menu__nav > li > a:hover { color: var(--color-primary); }
    .mobile-submenu-toggle {
        display: flex;
        align-items: center;
        gap: var(--space-sm);
        width: 100%;
        padding: var(--space-md) 0;
        background: none;
        border: none;
        font-family: var(--font-family);
        font-size: var(--text-xl);
        font-weight: 500;
        color: var(--color-text);
        cursor: pointer;
        text-decoration: none;
    }
    .mobile-submenu-toggle i {
        font-size: 12px;
        transition: transform 250ms ease;
    }
    .mobile-submenu-toggle[aria-expanded="true"] i {
        transform: rotate(180deg);
    }
    .mobile-submenu-toggle:hover { color: var(--color-primary); }
    .mobile-submenu { list-style: none; padding-bottom: var(--space-md); }
    .mobile-submenu a {
        display: block;
        padding: var(--space-sm) 0 var(--space-sm) var(--space-md);
        font-size: var(--text-base);
        color: var(--color-text-secondary);
        text-decoration: none;
    }
    .mobile-submenu a:hover { color: var(--color-primary); }
    .mobile-menu__footer {
        padding-top: var(--space-xl);
        border-top: 1px solid var(--color-border);
        margin-top: auto;
    }
    .mobile-menu__phone {
        display: flex;
        align-items: center;
        gap: var(--space-sm);
        font-size: var(--text-lg);
        font-weight: 500;
        color: var(--color-primary);
        text-decoration: none;
        margin-bottom: var(--space-lg);
    }
    .mobile-menu__phone i { font-size: 18px; }
    .mobile-menu__cta {
        display: block;
        width: auto;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .hero { padding: var(--space-3xl) 0 var(--space-2xl); }
    .page-hero { padding: var(--space-3xl) 0 var(--space-2xl); }
    .trust-bar__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
    .services-grid,
    .work-grid,
    .blog-grid { grid-template-columns: 1fr; }
    .expertise-highlights { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { text-align: center; justify-content: center; }
    .section-header-row { flex-direction: column; align-items: flex-start; gap: var(--space-md); }
    .cta-section__buttons { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
    /* About page */
    .about-approach-grid { grid-template-columns: 1fr; }
    .about-stats__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-legal { justify-content: center; }

    /* Timeline left-aligned on mobile */
    .timeline::before { left: 14px; }
    .timeline__progress { left: 14px; }
    .timeline-step { padding-left: 48px; }
    .timeline-step__marker { left: 2px; width: 24px; height: 24px; }
}

@media (max-width: 380px) {
    .trust-bar__grid { grid-template-columns: 1fr; }
}

/* Focus styles */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}
:focus:not(:focus-visible) { outline: none; }
.btn:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px var(--color-primary-light);
}
