/* =============================================================
   ONE-PAGE SCROLL — Cinematic Keynote Design
   Each section is a full-viewport "slide" with dramatic reveals
   ============================================================= */

/* === Variables === */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --primary-glow: rgba(37, 99, 235, 0.15);
    --accent: #f59e0b;
    --text: #0f172a;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #0a0e1a;
    --bg-panel-dark: #0f1629;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 4px 24px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
    --shadow-primary: 0 8px 32px rgba(37, 99, 235, 0.25);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* === Layout === */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }

/* === Scroll Animations === */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }
.reveal-delay-5 { transition-delay: 0.60s; }
.reveal-delay-6 { transition-delay: 0.72s; }

/* =============================================================
   FLOATING BRAND (home only)
   ============================================================= */
.home-brand {
    position: fixed;
    top: 1.5rem;
    left: 2rem;
    z-index: 110;
    mix-blend-mode: difference;
}
.home-brand a {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    text-decoration: none;
    transition: opacity var(--transition);
}
.home-brand a:hover { opacity: 0.7; color: #fff; }
.home-brand-logo { height: 36px; width: auto; filter: brightness(0) invert(1); }

/* =============================================================
   SCROLL PROGRESS BAR (top of viewport, home)
   ============================================================= */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 120;
    background: rgba(255,255,255,0.08);
}
.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transition: width 0.15s linear;
}

/* =============================================================
   DOT NAVIGATION (right side)
   ============================================================= */
.dot-nav {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.dot-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-direction: row-reverse;
    text-decoration: none;
    cursor: pointer;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    border: 2px solid rgba(255,255,255,0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}
.dot-item:hover .dot,
.dot-item.active .dot {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 12px var(--primary), 0 0 24px rgba(37, 99, 235, 0.3);
    transform: scale(1.3);
}
.dot-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    opacity: 0;
    transform: translateX(8px);
    transition: all 0.3s ease;
    white-space: nowrap;
    pointer-events: none;
}
.dot-item:hover .dot-label {
    opacity: 1;
    transform: translateX(0);
}
.dot-item.active .dot-label {
    opacity: 0.8;
    transform: translateX(0);
}

/* Light panel adjustments for dots */
.dot-nav.on-light .dot {
    background: rgba(15, 23, 42, 0.15);
    border-color: rgba(15, 23, 42, 0.3);
}
.dot-nav.on-light .dot-label {
    color: rgba(15, 23, 42, 0.4);
}
.dot-nav.on-light .dot-item:hover .dot,
.dot-nav.on-light .dot-item.active .dot {
    background: var(--primary);
    border-color: var(--primary);
}
.dot-nav.on-light .dot-item.active .dot-label {
    color: var(--primary);
}

/* =============================================================
   PANELS (full-viewport sections)
   ============================================================= */
.panel {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.panel-content {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 6rem 2rem;
    position: relative;
    z-index: 2;
}

/* --- Hero panel --- */
.panel-hero {
    background: var(--bg-dark);
    color: #fff;
    background-size: cover;
    background-position: center;
}
.panel-hero .panel-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(10, 14, 26, 0.92) 0%, rgba(15, 22, 41, 0.85) 50%, rgba(37, 99, 235, 0.15) 100%),
        radial-gradient(ellipse at 20% 80%, rgba(37, 99, 235, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    max-width: 720px;
    padding: 8rem 2rem 6rem;
}
.hero-number {
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(255,255,255,0.03);
    position: absolute;
    top: 2rem;
    right: 2rem;
    letter-spacing: -0.04em;
    user-select: none;
}
.hero-tagline {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}
.hero-title {
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}
.hero-subtitle {
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255,255,255,0.6);
    max-width: 540px;
    margin-bottom: 2.5rem;
}
.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: hint-float 3s ease-in-out infinite;
}
.scroll-hint span {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
}
.scroll-hint svg {
    width: 24px;
    height: 24px;
    color: rgba(255,255,255,0.25);
}
@keyframes hint-float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* --- Light panel --- */
.panel-light {
    background: var(--bg);
    color: var(--text);
}

/* --- Dark panel --- */
.panel-dark {
    background: var(--bg-panel-dark);
    color: #fff;
}
.panel-dark .section-title { color: #fff; }
.panel-dark .section-label { color: var(--primary-light); background: rgba(37, 99, 235, 0.15); }
.panel-dark .section-line { background: rgba(255,255,255,0.1); }
.panel-dark .section-line::after { background: var(--primary-light); }

/* =============================================================
   SECTION SHARED ELEMENTS
   ============================================================= */
.section-intro {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.section-number {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    opacity: 0.06;
    position: absolute;
    top: 2rem;
    right: 2rem;
    user-select: none;
}
.panel-dark .section-number { opacity: 0.04; color: #fff; }
.section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-glow);
    padding: 0.35rem 1rem;
    border-radius: 50px;
}
.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1rem;
}
.section-line {
    width: 100%;
    max-width: 120px;
    height: 2px;
    background: var(--border);
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}
.section-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 40%;
    background: var(--primary);
}
.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* =============================================================
   SERVICES
   ============================================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 1rem;
}
.service-card {
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: opacity var(--transition);
}
.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
}
.service-card:hover::before { opacity: 1; }
.service-icon {
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--primary-glow);
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
}
.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}
.service-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.7;
}
.services-grid-full {
    grid-template-columns: repeat(2, 1fr);
}
.service-card-full {
    display: flex;
    flex-direction: column;
}
.service-image {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.25rem;
}
.service-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover .service-image img { transform: scale(1.05); }

/* =============================================================
   ABOUT (on home — split layout)
   ============================================================= */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-text {
    color: rgba(255,255,255,0.65);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}
.values-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}
.value-pill {
    background: rgba(37, 99, 235, 0.15);
    color: var(--primary-light);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1px solid rgba(37, 99, 235, 0.2);
}
.about-image-side {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.about-image-side img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

/* About standalone page */
.about-full { margin-bottom: 3rem; }
.about-image-full {
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 2.5rem;
    max-width: 700px;
    box-shadow: var(--shadow-lg);
}
.about-image-full img { width: 100%; height: 400px; object-fit: cover; }
.about-text-full {
    max-width: 700px;
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.08rem;
}
.values-section { margin-top: 3.5rem; }
.values-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
    letter-spacing: -0.01em;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}
.value-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 1.1rem 1.5rem;
    font-weight: 500;
    transition: all var(--transition);
}
.value-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-glow);
    transform: translateX(4px);
}
.value-check {
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* =============================================================
   TEAM
   ============================================================= */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}
.team-grid-full { grid-template-columns: repeat(3, 1fr); }
.team-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}
.team-card:hover {
    background: var(--bg-alt);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    overflow: hidden;
    background: var(--bg-alt);
    border: 3px solid var(--border-light);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all var(--transition);
}
.team-card:hover .team-photo {
    border-color: var(--primary);
    box-shadow: 0 4px 24px rgba(37, 99, 235, 0.2);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}
.team-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}
.team-role {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
}
.team-bio {
    color: var(--text-light);
    font-size: 0.88rem;
    margin-top: 0.75rem;
    line-height: 1.6;
}
.team-contacts {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.team-contacts a { font-size: 0.82rem; }

/* =============================================================
   LOCATIONS (on home — dark panel)
   ============================================================= */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.75rem;
    margin-top: 1rem;
}
.panel-dark .location-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition);
}
.panel-dark .location-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}
.panel-dark .location-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #fff;
}
.location-address {
    color: var(--text-light);
    font-size: 0.92rem;
    margin-bottom: 0.75rem;
}
.panel-dark .location-address { color: rgba(255,255,255,0.5); }
.location-detail {
    font-size: 0.88rem;
    margin-bottom: 0.35rem;
    color: var(--text-light);
}
.panel-dark .location-detail { color: rgba(255,255,255,0.5); }
.panel-dark .location-detail a { color: var(--primary-light); }
.location-hours {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    margin-top: 0.75rem;
    line-height: 1.6;
}
.location-map {
    margin-top: 1rem;
    border-radius: var(--radius);
    overflow: hidden;
}
.location-map iframe { width: 100%; border: 0; }

/* Location standalone page */
.locations-list { display: flex; flex-direction: column; gap: 2.5rem; }
.location-full {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}
.location-full:hover { box-shadow: var(--shadow-lg); }
.location-info { padding: 2.5rem; }
.location-info h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}
.location-details p {
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    color: var(--text-light);
}
.location-details strong { color: var(--text); }
.location-hours-block { margin-top: 1rem; }
.location-hours-block p { color: var(--text-light); }
.location-full .location-map { min-height: 320px; }
.location-full .location-map iframe { width: 100%; height: 100%; }

/* =============================================================
   CONTACT (on home — split)
   ============================================================= */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: flex-start;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}
.contact-row {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.contact-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.contact-row a,
.contact-row span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
}

/* Contact standalone page info items */
.contact-info h2, .contact-form-wrap h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}
.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.75rem;
}
.contact-icon {
    font-size: 1.2rem;
    line-height: 1;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-glow);
    border-radius: var(--radius);
    flex-shrink: 0;
}
.contact-item div { padding-top: 0.15rem; }
.contact-item div strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.contact-item div a, .contact-item div p {
    font-size: 0.95rem;
    margin: 0;
    color: var(--text);
    font-weight: 500;
}

/* =============================================================
   FORMS
   ============================================================= */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.01em;
}
.form-group input, .form-group textarea {
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all var(--transition);
    background: var(--bg);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}
.form-group input::placeholder, .form-group textarea::placeholder {
    color: var(--text-muted);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.form-feedback {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
}
.form-feedback.success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-feedback.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* =============================================================
   BUTTONS
   ============================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
    font-family: inherit;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-primary);
    transform: translateY(-2px);
}
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-full { width: 100%; }

/* Dark panel button overrides */
.panel-dark .btn-outline {
    color: var(--primary-light);
    border-color: var(--primary-light);
}
.panel-dark .btn-outline:hover {
    background: var(--primary-light);
    color: var(--bg-dark);
}
.panel-hero .btn-primary {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.panel-hero .btn-primary:hover {
    background: #fff;
    color: var(--primary-dark);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

/* =============================================================
   CTA SECTION (standalone pages)
   ============================================================= */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #1e1b4b 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(59, 130, 246, 0.3) 0%, transparent 60%);
    pointer-events: none;
}
.cta-inner {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.cta-inner h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}
.cta-inner p { opacity: 0.85; margin-bottom: 2rem; font-size: 1.05rem; font-weight: 300; }
.cta-section .btn-primary {
    background: #fff; color: var(--primary); border-color: #fff;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}
.cta-section .btn-primary:hover {
    background: #fff; color: var(--primary-dark);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

/* =============================================================
   TOP BAR (standalone pages only)
   ============================================================= */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(226,232,240,0.6);
    box-shadow: 0 1px 20px rgba(0,0,0,0.04);
}
.topbar-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 2rem;
}
.topbar-brand {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: -0.02em;
}
.topbar-brand:hover { color: var(--text); }
.topbar-logo { height: 36px; width: auto; }
.topbar-links {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.topbar-links a {
    padding: 0.45rem 0.9rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    transition: all var(--transition);
}
.topbar-links a:hover {
    color: var(--text);
    background: var(--bg-alt);
}
.topbar-cta {
    background: var(--primary) !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 0.5rem 1.2rem !important;
}
.topbar-cta:hover {
    background: var(--primary-dark) !important;
    box-shadow: var(--shadow-primary);
}

/* On home page, hide the topbar */
.is-home .topbar { display: none; }

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
    padding: 0;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    position: absolute;
    left: 0;
    transition: all 0.3s;
    border-radius: 2px;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { bottom: 0; }
.hamburger.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.hamburger.active span:nth-child(2) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* =============================================================
   PAGE HEADER (standalone pages)
   ============================================================= */
.page-header {
    background: var(--bg-dark);
    padding: 8rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 30%, rgba(99, 102, 241, 0.08) 0%, transparent 50%);
    pointer-events: none;
}
.page-header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}
.page-header .section-number {
    position: relative;
    top: auto;
    right: auto;
    font-size: 4rem;
    opacity: 0.08;
    color: #fff;
    margin-bottom: 0.5rem;
}
.page-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
}
.page-header p {
    color: rgba(255,255,255,0.5);
    font-size: 1.05rem;
    margin-top: 0.5rem;
    font-weight: 300;
}

/* =============================================================
   SECTIONS (standalone pages)
   ============================================================= */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }

/* =============================================================
   PROSE (privacy, custom pages)
   ============================================================= */
.prose {
    max-width: 700px;
    line-height: 1.9;
    color: var(--text-light);
    font-size: 1.05rem;
}
.prose h2, .prose h3 { color: var(--text); margin: 2rem 0 0.75rem; }
.page-image {
    margin-bottom: 2.5rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    max-width: 700px;
    box-shadow: var(--shadow-lg);
}
.page-image img { width: 100%; }
.empty-state {
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
    padding: 4rem 0;
    font-size: 1.05rem;
}

/* =============================================================
   WHATSAPP FAB
   ============================================================= */
.whatsapp-fab {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    z-index: 90;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    transition: all var(--transition);
    animation: fab-appear 0.5s ease 1s both;
}
.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
}
@keyframes fab-appear {
    from { opacity: 0; transform: scale(0.5) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* When dot nav is present, move WhatsApp up */
.is-home .whatsapp-fab { right: 5rem; }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer {
    background: var(--bg-dark);
    color: #cbd5e1;
    padding: 4rem 0 0;
    position: relative;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.3), transparent);
}
.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}
.footer-brand-col h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.footer-tagline { font-size: 0.88rem; line-height: 1.7; margin-bottom: 0.25rem; }
.footer-vat { font-size: 0.82rem; opacity: 0.5; }
.footer-extra { font-size: 0.88rem; margin-top: 0.25rem; }
.site-footer h4 {
    color: #fff;
    font-size: 0.78rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.footer-nav-col ul, .footer-contact-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.site-footer a { color: #94a3b8; font-size: 0.88rem; transition: all var(--transition); }
.site-footer a:hover { color: #fff; }
.site-footer li { font-size: 0.88rem; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a {
    color: #64748b;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    transition: all var(--transition);
}
.footer-social a:hover {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}
.footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.82rem;
    color: #475569;
}
.footer-bottom a { color: #64748b; }
.footer-bottom a:hover { color: #fff; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 900px) {
    .hero-title { font-size: 3rem; }
    .hero-content { padding: 6rem 2rem 4rem; }
    .section-title { font-size: 2.2rem; }
    .services-grid, .services-grid-full { grid-template-columns: 1fr 1fr; }
    .about-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-image-side img { height: 300px; }
    .team-grid, .team-grid-full { grid-template-columns: repeat(2, 1fr); }
    .locations-grid { grid-template-columns: 1fr; }
    .location-full { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .panel { min-height: auto; }
    .panel-hero { min-height: 100vh; }
    .section { padding: 4rem 0; }
    .page-header { padding: 7rem 0 2.5rem; }
    .page-header h1 { font-size: 2.2rem; }
    .dot-nav { right: 1rem; gap: 1rem; }
    .hero-number, .section-number { font-size: 4rem; }
}

@media (max-width: 640px) {
    /* Hamburger */
    .hamburger { display: block; }
    .topbar-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        padding: 0.75rem;
        box-shadow: var(--shadow-lg);
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }
    .topbar-links.open { display: flex; }
    .topbar-links a {
        padding: 0.85rem 1.25rem;
        width: 100%;
        color: var(--text-light) !important;
    }
    .topbar-links a:hover { color: var(--text) !important; background: var(--bg-alt); }
    .topbar-cta {
        text-align: center;
        margin-top: 0.25rem;
    }

    /* Dot nav → hide on mobile, show progress bar */
    .dot-nav { display: none; }

    /* Hero */
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-content { padding: 6rem 1.25rem 4rem; }
    .hero-number { font-size: 5rem; top: 1rem; right: 1rem; }

    /* Panels */
    .panel { min-height: auto; }
    .panel-hero { min-height: 100vh; }
    .panel-content { padding: 4rem 1.25rem; }
    .section-number { font-size: 3rem; }
    .section-title { font-size: 1.8rem; }

    /* Grids */
    .services-grid, .services-grid-full { grid-template-columns: 1fr; }
    .team-grid, .team-grid-full { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }

    /* Page header */
    .page-header { padding: 6rem 0 2rem; }
    .page-header h1 { font-size: 1.8rem; }
    .page-header-inner { padding: 0 1.25rem; }

    .container { padding: 0 1.25rem; }
    .footer-inner { padding: 0 1.25rem; }

    .is-home .whatsapp-fab { right: 1.75rem; }
}

/* === COMPONENT OVERRIDES — onepage style === */

/* Services: centered icon, no border, soft bg */
.service-card {
    border: none; text-align: center;
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%);
    border-radius: 24px; padding: 3rem 2rem;
}
.service-card::before { display: none; }
.service-card:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    transform: translateY(-6px);
}
.service-icon {
    margin: 0 auto 1.5rem;
    width: 80px; height: 80px; font-size: 2.5rem;
    background: var(--primary); color: #fff;
    border-radius: 50%;
}
.service-card h3 { text-align: center; }
.service-card p { text-align: center; }

/* Team: hexagon-like clip, overlay name */
.team-photo {
    width: 140px; height: 140px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    border: 3px solid var(--primary-glow);
}
.team-card:hover .team-photo {
    border-radius: 50%;
    border-color: var(--primary);
}
.team-placeholder {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: inherit;
}

/* Values: large icons centered */
.values-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1.5rem;
}
.value-card {
    flex-direction: column; text-align: center;
    padding: 2rem 1.5rem; border: none;
    background: var(--bg); border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.value-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.value-check {
    width: 48px; height: 48px; font-size: 1.2rem;
    border-radius: 50%;
    margin-bottom: 0.5rem;
}

/* Locations: soft rounded cards */
.location-card {
    border: none; border-radius: 20px;
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.location-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}
