/* ============================================
   RevUp Online - Main Stylesheet
   ============================================ */

/* --- Self-hosted Fonts (latin subset) --- */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../assets/fonts/poppins-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../assets/fonts/poppins-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../assets/fonts/poppins-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../assets/fonts/poppins-700.woff2') format('woff2');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../assets/fonts/poppins-800.woff2') format('woff2');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('../assets/fonts/poppins-900.woff2') format('woff2');
}

/* --- Custom Properties --- */
:root {
    --bg-primary: #0d0d0d;
    --bg-secondary: #161616;
    --bg-card: #1a1a1a;
    --bg-card-hover: #202020;
    --accent: #ff6a00;
    --accent-hover: #e05e00;
    --accent-dark: #b34a00;
    --text-white: #ffffff;
    --text-light: #cccccc;
    --text-muted: #888888;
    --border: #2a2a2a;
    --border-light: #333333;
    --header-height: 120px;
    --container-max: 1200px;
    --section-padding: 90px;
    --radius: 4px;
    --radius-lg: 8px;
    --transition: 0.3s ease;
}

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

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

body {
    font-family: 'Poppins', 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

p a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

p a:hover {
    color: var(--accent-hover);
}

ul {
    list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p {
    color: var(--text-light);
    line-height: 1.8;
}

/* --- Utility --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding) 0;
}

.section--dark {
    background-color: var(--bg-secondary);
}

.section--darker {
    background-color: var(--bg-primary);
}

.text-accent {
    color: var(--accent);
}

.text-muted {
    color: var(--text-muted);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    color: var(--text-white);
    box-shadow: 0 8px 24px rgba(232, 46, 46, 0.35);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-outline:hover {
    background-color: var(--text-white);
    color: var(--bg-primary);
}

.btn-outline-accent {
    background-color: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-outline-accent:hover {
    background-color: var(--accent);
    color: var(--text-white);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    color: var(--text-white);
    transition: background-color var(--transition), box-shadow var(--transition);
}

/* Transitions enabled only after first paint to prevent load animations */
.header-ready #header {
    transition: background-color var(--transition), box-shadow var(--transition), height var(--transition);
}

#header .container {
    height: 100%;
}

#header.scrolled {
    height: 68px;
    background-color: rgba(26, 26, 26, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    gap: 20px;
}

/* Logo */
.site-logo {
    flex: 0 0 212px;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.site-logo img {
    height: 86px;
    width: auto;
    display: block;
    transform: translateY(-10%);
}

.header-ready .site-logo img {
    transition: height var(--transition);
}

#header.scrolled .site-logo img {
    height: 44px;
}

/* Main Nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.main-nav a {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-light);
    padding: 8px 12px;
    border-radius: var(--radius);
    transition: color var(--transition), background-color var(--transition);
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text-white);
    background-color: rgba(255, 255, 255, 0.05);
}

.main-nav a.active {
    color: var(--accent);
}

/* Services Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-light);
    padding: 8px 12px;
    border-radius: var(--radius);
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    transition: color var(--transition), background-color var(--transition);
}

.nav-dropdown-trigger:hover,
.nav-dropdown:hover .nav-dropdown-trigger {
    color: var(--text-white);
    background-color: rgba(255, 255, 255, 0.05);
}

.nav-chevron {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
    transition: transform var(--transition);
}

.nav-dropdown:hover .nav-chevron {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    min-width: 250px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-light);
    padding: 9px 14px;
    border-radius: var(--radius);
    display: block;
    white-space: nowrap;
    transition: color var(--transition), background-color var(--transition);
}

.nav-dropdown-menu a:hover {
    color: var(--text-white);
    background-color: rgba(255, 255, 255, 0.05);
}

/* Mobile nav section label */
.mobile-nav-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    padding: 8px 0 4px;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.header-phone {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition);
}

.header-phone:hover {
    color: var(--text-white);
}

.header-phone svg {
    width: 14px;
    height: 14px;
    fill: var(--accent);
}

.btn-header {
    padding: 9px 22px;
    font-size: 0.78rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-white);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-primary);
    z-index: 999;
    padding: 32px 24px;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    transition: color var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--accent);
}

.mobile-nav .mobile-phone {
    margin-top: 16px;
    padding-top: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    border-top: 1px solid var(--border);
}

.mobile-nav .btn {
    margin-top: 8px;
    text-align: center;
    justify-content: center;
}

.mobile-nav-services-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    padding: 14px 0;
    transition: color var(--transition);
}

.mobile-nav-services-toggle:hover,
.mobile-nav-services-toggle.open {
    color: var(--accent);
}

.services-chevron {
    width: 22px;
    height: 22px;
    fill: currentColor;
    flex-shrink: 0;
    transition: transform var(--transition);
}

.mobile-nav-services-toggle.open .services-chevron {
    transform: rotate(180deg);
}

.mobile-services-panel {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--border);
    background-color: var(--bg-secondary);
    margin: 0 -24px;
    padding: 4px 24px 4px 32px;
}

.mobile-services-panel[hidden] {
    display: none;
}

.mobile-services-panel a {
    font-size: 0.88rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.02em;
    color: var(--text-muted);
    padding: 11px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-services-panel a:last-child {
    border-bottom: none;
}

.mobile-services-panel a:hover,
.mobile-services-panel a.active {
    color: var(--accent);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--bg-primary);
    overflow: hidden;
    padding-top: var(--header-height);
}

/* YouTube video background */
.hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background-image: url('../assets/hero-poster.jpg');
    background-size: cover;
    background-position: center;
}

#hero-end-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    z-index: 1;
}

#hero-end-frame.visible {
    opacity: 1;
}

.hero-video-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 56.25vw;   /* 16:9 */
    min-height: 100vh;
    min-width: 177.78vh; /* 16:9 inverted */
    pointer-events: none;
    object-fit: cover;
    opacity: 0;
    z-index: 2;
}

.hero-video-bg video.loaded {
    opacity: 1;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to right,
        rgba(13, 13, 13, 0.88) 0%,
        rgba(13, 13, 13, 0.65) 55%,
        rgba(13, 13, 13, 0.35) 100%
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
    flex-shrink: 0;
}

.hero-headline {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-rotating-words {
    display: block;
    height: 1.1em;
    overflow: hidden;
    position: relative;
    color: var(--accent);
}

.hero-rotating-words .word {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateY(40px);
    /* No transition until words-ready is added — prevents load animation */
}

.hero-rotating-words.words-ready .word {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-rotating-words .word.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 520px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-bg-text {
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(140px, 18vw, 240px);
    font-weight: 900;
    letter-spacing: -0.05em;
    color: rgba(255, 255, 255, 0.015);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    z-index: 2;
    line-height: 1;
}

/* ============================================
   PAGE HERO (Inner pages)
   ============================================ */
.page-hero {
    padding: calc(var(--header-height) + 60px) 0 70px;
    background-color: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 50%, rgba(232, 46, 46, 0.07) 0%, transparent 60%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-hero-label::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--accent);
}

.page-hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 20px;
    max-width: 650px;
}

.page-hero p {
    font-size: 1.1rem;
    max-width: 580px;
    margin-bottom: 32px;
    line-height: 1.75;
}

/* ============================================
   PAGE HERO VARIANTS — orange glow per page
   (animated patterns handled by canvas in main.js)
   ============================================ */

/* Canvas injected by JS sits behind the glow overlay */
.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Glow overlay sits above canvas, below content */
.page-hero::before { z-index: 1; }

.page-hero--seo::before {
    background: radial-gradient(ellipse at 70% 50%, rgba(255, 106, 0, 0.22) 0%, transparent 65%);
}
.page-hero--ppc::before {
    background: radial-gradient(ellipse at 68% 45%, rgba(255, 106, 0, 0.22) 0%, transparent 62%);
}
.page-hero--social::before {
    background: radial-gradient(ellipse at 65% 50%, rgba(255, 106, 0, 0.22) 0%, transparent 62%);
}
.page-hero--webdev::before {
    background: radial-gradient(ellipse at 60% 55%, rgba(255, 106, 0, 0.22) 0%, transparent 62%);
}
.page-hero--dev::before {
    background: radial-gradient(ellipse at 68% 48%, rgba(255, 106, 0, 0.22) 0%, transparent 62%);
}
.page-hero--tracking::before {
    background: radial-gradient(ellipse at 72% 50%, rgba(255, 106, 0, 0.22) 0%, transparent 62%);
}
.page-hero--services::before {
    background: radial-gradient(ellipse at 65% 50%, rgba(255, 106, 0, 0.22) 0%, transparent 65%);
}

/* ============================================
   SERVICES OVERVIEW PAGE
   ============================================ */
.services-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1px;
    background-color: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.service-overview-card {
    background-color: var(--bg-card);
    padding: 44px 40px;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: background-color var(--transition);
}

.service-overview-card:hover {
    background-color: var(--bg-card-hover);
}

.service-overview-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 106, 0, 0.12);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    flex-shrink: 0;
}

.service-overview-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--accent);
}

.service-overview-content h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-white);
}

.service-overview-content > p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 24px;
}

.service-overview-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-overview-list li {
    font-size: 0.85rem;
    color: var(--text-light);
    padding-left: 16px;
    position: relative;
}

.service-overview-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--accent);
}

.service-overview-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    margin-top: auto;
    transition: gap var(--transition);
}

.service-overview-link svg {
    width: 16px;
    height: 16px;
    fill: var(--accent);
    transition: transform var(--transition);
}

.service-overview-link:hover svg {
    transform: translateX(3px);
}

/* ============================================
   TRUST BADGES (Page stat cards)
   ============================================ */
.trust-section {
    background-color: var(--bg-secondary);
    padding: 60px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1px;
    background-color: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.trust-item {
    background-color: var(--bg-secondary);
    padding: 32px 28px;
    text-align: center;
}

.trust-item svg,
.trust-item .trust-icon {
    width: 36px;
    height: 36px;
    margin: 0 auto 16px;
    fill: var(--accent);
    color: var(--accent);
}

.trust-item h3 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 10px;
}

.trust-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   APPROACH SECTION
   ============================================ */
.approach-section {
    padding: var(--section-padding) 0;
}

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

.approach-narrative .section-label {
    display: block;
    margin-bottom: 16px;
}

.approach-narrative h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.approach-narrative p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 20px;
}

.approach-narrative .btn {
    margin-top: 12px;
}

.approach-pillars {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-top: 8px;
}

.approach-pillar {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.approach-pillar-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(255, 106, 0, 0.1);
    border: 1px solid rgba(255, 106, 0, 0.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.approach-pillar-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--accent);
}

.approach-pillar h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-white);
}

.approach-pillar p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   SERVICES GRID (Homepage)
   ============================================ */
.services-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-primary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 14px;
    display: block;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    max-width: 580px;
    margin: 0 auto 16px;
}

.section-header p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background-color: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.service-card {
    background-color: var(--bg-card);
    padding: 44px 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: background-color var(--transition);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--accent);
    opacity: 0;
    transition: opacity var(--transition);
}

.service-card:hover {
    background-color: var(--bg-card-hover);
}

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

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background-color: rgba(232, 46, 46, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--accent);
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-white);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    flex-grow: 1;
}

.service-card .card-link {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition);
    margin-top: auto;
}

.service-card .card-link:hover {
    gap: 10px;
}

.service-card .card-link svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* ============================================
   DEFINITION SECTION
   ============================================ */
.definition-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.definition-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(232, 46, 46, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.definition-section .container {
    position: relative;
    z-index: 1;
}

.definition-word {
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--text-white);
    line-height: 1;
    margin-bottom: 8px;
}

.definition-phonetic {
    font-size: 1rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 24px;
}

.definition-meaning {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.definition-meaning span {
    color: var(--accent);
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    padding: 0;
    background-color: var(--accent);
}

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

.stat-item {
    padding: 50px 30px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 8px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.stat-suffix {
    font-size: 0.55em;
    font-weight: 700;
    opacity: 0.75;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   PRODUCT ECOSYSTEM
   ============================================ */
.ecosystem-section {
    padding: var(--section-padding) 0;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.ecosystem-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 40px;
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: border-color var(--transition), transform var(--transition);
}

.ecosystem-card:hover {
    border-color: var(--accent);
}

.ecosystem-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 4px 10px;
    border-radius: 4px;
    align-self: flex-start;
}

.ecosystem-card h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0;
}

.ecosystem-card h3 span {
    color: var(--text-muted);
    font-weight: 400;
}

.ecosystem-card h3 .rev {
    color: var(--text-white);
    font-weight: 800;
    text-transform: uppercase;
}

.ecosystem-card h3 .up {
    color: var(--accent);
    font-weight: 800;
    text-transform: uppercase;
}

.ecosystem-card p {
    color: var(--text-muted);
    line-height: 1.7;
    flex-grow: 1;
    margin: 0;
}

.ecosystem-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    margin-top: 4px;
}

.ecosystem-cta svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    flex-shrink: 0;
}

.ecosystem-card--anchor {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: 48px;
    border-color: var(--accent);
    background-color: rgba(26, 115, 232, 0.06);
}

.ecosystem-card--anchor h3 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    flex-shrink: 0;
}

.ecosystem-card--anchor p {
    flex-grow: 1;
}

.ecosystem-card--anchor .ecosystem-cta {
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .ecosystem-card--anchor {
        flex-direction: column;
        gap: 16px;
    }
}

/* ============================================
   GOOGLE REVIEWS
   ============================================ */
.reviews-section {
    padding: var(--section-padding) 0;
}

.reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 52px;
    flex-wrap: wrap;
}

.reviews-google-badge {
    display: flex;
    align-items: center;
    gap: 20px;
}

.google-g-logo {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.reviews-score {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.reviews-score-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
}

.reviews-score-stars {
    display: flex;
    gap: 3px;
}

.reviews-score-stars svg {
    width: 18px;
    height: 18px;
    fill: #f5a623;
}

.reviews-score-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.review-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: border-color var(--transition);
}

.review-card:hover {
    border-color: var(--border-light);
}

.review-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    letter-spacing: 0;
}

.review-author-info {
    flex: 1;
    min-width: 0;
}

.review-author-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-author-company {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-google-mark {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-left: auto;
    opacity: 0.85;
}

.review-stars {
    display: flex;
    gap: 3px;
}

.review-stars svg {
    width: 14px;
    height: 14px;
    fill: #f5a623;
}

.review-text {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.8;
    font-style: italic;
    flex: 1;
}

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

/* ============================================
   CONTENT SECTION (Inner pages)
   ============================================ */
.content-section {
    padding: var(--section-padding) 0;
}

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

.content-layout.reverse {
    direction: rtl;
}

.content-layout.reverse > * {
    direction: ltr;
}

.content-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.content-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

.content-text .btn {
    margin-top: 12px;
}

.content-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.content-image:hover img {
    transform: scale(1.03);
}

/* --- Features Grid (Why it works etc) --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: border-color var(--transition), transform var(--transition);
}

.feature-card:hover {
    border-color: var(--accent);
}

.feature-card .feature-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(232, 46, 46, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.feature-card .feature-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--accent);
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-white);
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- Services Detail (Inner page icon list) --- */
.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.service-detail-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color var(--transition);
    text-decoration: none;
}

.service-detail-card:hover {
    border-color: var(--accent);
}

.service-detail-card .detail-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(232, 46, 46, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-detail-card .detail-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--accent);
}

.service-detail-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-white);
}

.service-detail-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    flex-grow: 1;
}

.service-detail-card .detail-link {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition);
}

.service-detail-card:hover .detail-link {
    gap: 10px;
}

.service-detail-card .detail-link svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

/* ============================================
   CONTACT / CTA SECTION
   ============================================ */
#contact {
    padding: var(--section-padding) 0;
    background-color: var(--bg-secondary);
}

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

.contact-info h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
}

.contact-info .sub-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    display: block;
    margin-bottom: 12px;
}

.contact-info .lead-text {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.contact-detail-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.contact-detail-item .icon-wrap {
    width: 44px;
    height: 44px;
    background-color: rgba(232, 46, 46, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-item .icon-wrap svg {
    width: 20px;
    height: 20px;
    fill: var(--accent);
}

.contact-detail-item span,
.contact-detail-item a {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.5;
    transition: color var(--transition);
}

.contact-detail-item a:hover {
    color: var(--accent);
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 13px 16px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232, 46, 46, 0.1);
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23888' d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
    padding-right: 40px;
    cursor: pointer;
}

.form-group select option {
    background-color: var(--bg-secondary);
    color: var(--text-white);
}

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

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

.btn-full {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

.form-result {
    display: none;
    text-align: center;
    padding: 32px 0;
}

.form-result.success .result-icon {
    color: #22c55e;
}

.form-result.error .result-icon {
    color: var(--accent);
}

.result-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

.form-result h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.form-result p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Honeypot */
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ============================================
   FOOTER
   ============================================ */
#footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border);
}

.footer-main {
    padding: 70px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-brand .site-logo {
    margin-bottom: 16px;
    display: inline-flex;
}

.footer-brand .site-logo img {
    height: 72px;
    width: auto;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: var(--radius);
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.footer-social a:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--text-white);
}

.footer-social a svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.footer-col h3 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-white);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color var(--transition);
}

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

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-list a {
    font-size: 0.88rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
    transition: color var(--transition);
}

.footer-contact-list a:hover {
    color: var(--accent);
}

.footer-contact-list a svg {
    width: 15px;
    height: 15px;
    fill: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 24px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 0.82rem;
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--accent);
}

.partner-badges {
    display: flex;
    align-items: center;
    gap: 16px;
}

.partner-badge {
    opacity: 0.6;
    transition: opacity var(--transition);
}

.partner-badge:hover {
    opacity: 1;
}

.partner-badge img {
    height: 120px;
    width: auto;
}

/* ============================================
   PROCESS / STEPS SECTION
   ============================================ */
.process-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-secondary);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1px;
    background-color: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 50px;
}

.process-step {
    background-color: var(--bg-secondary);
    padding: 44px 36px;
    position: relative;
    transition: background-color var(--transition);
}

.process-step:hover {
    background-color: var(--bg-card);
}

.step-num {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 106, 0, 0.55);
    line-height: 1;
    position: absolute;
    top: 20px;
    right: 24px;
    letter-spacing: -0.04em;
}

.process-step h3 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
    color: var(--text-white);
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.process-step .step-accent {
    width: 32px;
    height: 3px;
    background-color: var(--accent);
    margin-bottom: 24px;
}

/* Process steps — single-column row variant */
.process-steps--rows {
    grid-template-columns: 1fr;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1px;
    background-color: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 50px;
}

.faq-item {
    background-color: var(--bg-primary);
    padding: 40px;
}

.faq-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 14px;
    line-height: 1.4;
}

.faq-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0;
}

/* ============================================
   LOCATION CARDS
   ============================================ */
.location-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.location-card {
    display: block;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px 40px;
    text-decoration: none;
    color: var(--text-muted);
    transition: border-color var(--transition), background-color var(--transition);
}

.location-card:hover {
    border-color: var(--accent);
    background-color: var(--bg-card-hover);
}

.location-card-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 106, 0, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.location-card-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--accent);
}

.location-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
}

.location-card p {
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 20px;
}

.location-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.02em;
}

/* Location page map embed */
.map-embed {
    width: 100%;
    height: 420px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-top: 44px;
    background-color: var(--bg-card);
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Location page coverage list */
.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 40px;
}

.coverage-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.coverage-item::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .location-grid {
        grid-template-columns: 1fr;
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .map-embed {
        height: 280px;
    }
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    padding: 80px 0;
    background-color: var(--accent);
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.cta-banner .container {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-white);
    margin-bottom: 16px;
}

.cta-banner p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner .btn-outline {
    border-color: rgba(255,255,255,0.6);
}

.cta-banner .btn-outline:hover {
    background-color: var(--text-white);
    color: var(--accent);
}

/* ============================================
  Cookie Notice
   ============================================ */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 16px 24px;
    z-index: 2000;
    display: none;
}

.cookie-notice.visible {
    display: block;
}

.cookie-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-inner p {
    font-size: 0.85rem;
    color: var(--text-muted);
    flex: 1;
}

.cookie-inner p a {
    color: var(--accent, #ff6a00);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-actions .btn {
    padding: 9px 22px;
    font-size: 0.78rem;
}

/* ============================================
   PRIVACY POLICY / TERMS (Content pages)
   ============================================ */
.policy-content {
    padding: var(--section-padding) 0;
}

.policy-content .container {
    max-width: 860px;
}

.policy-content h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--text-white);
}

.policy-content h3 {
    font-size: 1.1rem;
    margin-top: 28px;
    margin-bottom: 12px;
    color: var(--text-white);
}

.policy-content p,
.policy-content li {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 12px;
}

.policy-content ul,
.policy-content ol {
    padding-left: 24px;
}

.policy-content ul {
    list-style: disc;
}

.policy-content ol {
    list-style: decimal;
}

.policy-content a {
    color: var(--accent);
    text-decoration: underline;
}

/* ============================================
   TURNSTILE MODAL (tel / mailto protection)
   ============================================ */
#ts-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
#ts-modal.open {
    display: flex;
}
.ts-modal-inner {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 32px 28px;
    max-width: 380px;
    width: 100%;
    text-align: center;
}
.ts-modal-inner h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}
.ts-modal-inner p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 20px;
}
#ts-widget-container {
    display: flex;
    justify-content: center;
    min-height: 65px;
    margin-bottom: 16px;
}
#ts-modal-close {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.85rem;
    padding: 8px 20px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: color var(--transition), border-color var(--transition);
}
#ts-modal-close:hover {
    color: var(--text-white);
    border-color: var(--text-muted);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
    :root {
        --section-padding: 70px;
    }

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

    .approach-layout {
        gap: 50px;
    }

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

    .stat-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stats-grid .stat-item:last-child,
    .stats-grid .stat-item:nth-last-child(2) {
        border-bottom: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

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

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

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

@media (max-width: 900px) {
    :root {
        --section-padding: 60px;
        --header-height: 110px;
    }

    .site-logo img {
        height: 74px;
        transform: translateY(0);
    }

    .main-nav {
        display: none;
    }

    .header-actions {
        margin-left: auto;
        gap: 20px;
    }

    .header-phone svg {
        width: 26px;
        height: 26px;
    }

    .header-phone .phone-number {
        display: none;
    }

    .btn-header {
        padding: 8px 14px;
        font-size: .78rem;
        letter-spacing: .05em;
    }

    .menu-toggle {
        display: flex;
    }

    .content-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .approach-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .content-layout.reverse {
        direction: ltr;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    :root {
        --section-padding: 50px;
        --header-height: 90px;
    }

    .site-logo img {
        height: 60px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .reviews-score-number {
        font-size: 2.2rem;
    }

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

    .ecosystem-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .contact-form-wrapper {
        padding: 24px 20px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        text-align: center;
        justify-content: center;
    }

    .hero {
        padding-top: calc(var(--header-height) + 48px);
        padding-bottom: 60px;
        align-items: flex-start;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cookie-inner {
        flex-direction: column;
    }

    .cookie-actions {
        width: 100%;
    }

    .cookie-actions .btn {
        flex: 1;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .site-logo {
        flex: 0 0 auto;
    }

    .header-phone {
        display: none;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* About + Contact — glow only, canvas handles patterns */
.page-hero--about::before {
    background: radial-gradient(ellipse at 60% 50%, rgba(255, 106, 0, 0.20) 0%, transparent 65%);
}
.page-hero--contact::before {
    background: radial-gradient(ellipse at 55% 50%, rgba(255, 106, 0, 0.18) 0%, transparent 60%);
}

/* ============================================
   ABOUT PAGE — STORY & PRINCIPLES
   ============================================ */

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

.about-story-content h2 {
    font-size: clamp(1.8rem, 2.8vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.about-story-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.75;
}

.about-story-content p:last-child {
    margin-bottom: 0;
}

.about-principle {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
}

.about-principle:first-child {
    padding-top: 0;
}

.about-principle:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.about-principle-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 106, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-principle-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--accent);
}

.about-principle h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.about-principle p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* ============================================
   ABOUT PAGE — STATS BAND
   ============================================ */

.about-stats-section {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background-color: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-stat {
    background-color: var(--bg-card);
    padding: 40px 32px;
    text-align: center;
    transition: background-color var(--transition);
}

.about-stat:hover {
    background-color: var(--bg-card-hover);
}

.about-stat-value {
    display: block;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 10px;
}

.about-stat-label {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ============================================
   ABOUT PAGE — FOUNDERS
   ============================================ */

.founders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.founder-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    gap: 28px;
    align-items: flex-start;
    transition: border-color var(--transition), background-color var(--transition);
}

.founder-card:hover {
    border-color: var(--border-light);
    background-color: var(--bg-card-hover);
}

.founder-avatar {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
}

.founder-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.founder-meta {
    margin-bottom: 16px;
}

.founder-meta h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.founder-title {
    font-size: 0.82rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.founder-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.founder-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.founder-expertise span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 4px 10px;
    letter-spacing: 0.03em;
}

.founder-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: color var(--transition);
}

.founder-linkedin svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
}

.founder-linkedin:hover {
    color: #0a66c2;
}

/* ============================================
   ABOUT PAGE — BRAND PILLARS
   ============================================ */

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pillar-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    position: relative;
    transition: border-color var(--transition), background-color var(--transition);
}

.pillar-card:hover {
    border-color: var(--border-light);
    background-color: var(--bg-card-hover);
}

.pillar-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: rgba(255, 106, 0, 0.18);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.04em;
}

.pillar-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.35;
}

.pillar-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   ABOUT / CONTACT RESPONSIVE
   ============================================ */

@media (max-width: 960px) {
    .about-story-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

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

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

    .founder-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
    }

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

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .about-stat {
        padding: 28px 20px;
    }
}

.animate-on-scroll {
    opacity: 1;
    transform: none;
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: none;
}

.animate-delay-1 { transition-delay: 0s; }
.animate-delay-2 { transition-delay: 0s; }
.animate-delay-3 { transition-delay: 0s; }
.animate-delay-4 { transition-delay: 0s; }
.animate-delay-5 { transition-delay: 0s; }

.no-animate { transition: none !important; }
