/* ============================================
   EMG Spine and Sports Medicine — Styles
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;

    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #080d17;

    --white: #ffffff;
    --black: #000000;

    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.08);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.15), 0 8px 20px rgba(0,0,0,0.1);

    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--slate-800);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Geometric Background Shapes --- */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.04;
}

.geo-shape--1 {
    top: 10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: var(--teal-600);
    border-radius: 50%;
}

.geo-shape--2 {
    top: 40%;
    left: -8%;
    width: 350px;
    height: 350px;
    background: var(--teal-400);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.geo-shape--3 {
    bottom: 20%;
    right: 5%;
    width: 250px;
    height: 250px;
    background: var(--slate-600);
    border-radius: 50%;
}

.geo-shape--4 {
    bottom: 5%;
    left: 10%;
    width: 180px;
    height: 180px;
    background: var(--teal-500);
    border-radius: 50%;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: background-color var(--transition-base), padding var(--transition-base), box-shadow var(--transition-base);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.97);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    color: var(--white);
    transition: color var(--transition-base);
    z-index: 1001;
}

.navbar.scrolled .nav-logo {
    color: var(--slate-900);
}

.nav-logo-icon {
    color: var(--teal-400);
}

.navbar.scrolled .nav-logo-icon {
    color: var(--teal-600);
}

.nav-logo-accent {
    font-weight: 500;
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background-color var(--transition-fast);
}

.navbar.scrolled .nav-link {
    color: var(--slate-600);
}

.nav-link:hover {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.12);
}

.navbar.scrolled .nav-link:hover {
    color: var(--teal-700);
    background-color: var(--teal-50);
}

.nav-cta {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    background-color: var(--teal-600);
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
    margin-left: 8px;
}

.nav-cta:hover {
    background-color: var(--teal-700);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-bar {
    width: 24px;
    height: 2px;
    background-color: var(--white);
    border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.navbar.scrolled .nav-toggle-bar {
    background-color: var(--slate-800);
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(8, 13, 23, 0.82) 0%,
        rgba(15, 23, 42, 0.70) 50%,
        rgba(13, 148, 136, 0.45) 100%
    );
}

.hero-geo {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.hero-geo--left {
    top: 15%;
    left: -60px;
    width: 280px;
    height: 280px;
    background: var(--teal-600);
    border-radius: 50%;
    opacity: 0.25;
    filter: blur(60px);
}

.hero-geo--right {
    bottom: 10%;
    right: -40px;
    width: 200px;
    height: 200px;
    background: var(--teal-400);
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(40px);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 120px 24px 80px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--teal-200);
    margin-bottom: 28px;
    letter-spacing: 0.02em;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--teal-400);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(36px, 6vw, 68px);
    font-weight: 700;
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-highlight {
    color: var(--teal-300);
    position: relative;
}

.hero-subheadline {
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
    max-width: 580px;
}

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

.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
}

.hero-stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    white-space: nowrap;
    border: 2px solid transparent;
}

.btn-lg {
    padding: 17px 32px;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--teal-600);
    color: var(--white);
    border-color: var(--teal-600);
}

.btn-primary:hover {
    background-color: var(--teal-700);
    border-color: var(--teal-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.35);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--slate-900);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-full {
    width: 100%;
}

/* --- Section Shared --- */
.section-header {
    margin-bottom: 60px;
}

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

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-600);
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.12;
    color: var(--slate-900);
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}

.section-subtitle {
    font-size: 17px;
    line-height: 1.65;
    color: var(--slate-500);
    max-width: 600px;
}

.text-teal {
    color: var(--teal-600);
}

/* --- Services Section --- */
.services {
    position: relative;
    padding: 100px 0;
    background: var(--slate-50);
    overflow: hidden;
}

.services-geo {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.services-geo-circle {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    border: 2px solid var(--teal-100);
    border-radius: 50%;
}

.services-geo-stripe {
    position: absolute;
    bottom: 60px;
    left: -40px;
    width: 120px;
    height: 4px;
    background: linear-gradient(to right, var(--teal-200), transparent);
    border-radius: 2px;
}

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

.service-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    border: 1px solid var(--slate-100);
    transition: all var(--transition-base);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--teal-600);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--teal-100);
}

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

.service-card-accent {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: var(--teal-50);
    border-radius: 50%;
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border-radius: var(--radius-md);
    color: var(--teal-600);
    margin-bottom: 20px;
    transition: background-color var(--transition-base), color var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--teal-600);
    color: var(--white);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 10px;
}

.service-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--slate-500);
}

/* --- About Section --- */
.about {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.about-geo {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.about-geo-square {
    position: absolute;
    top: 60px;
    right: -40px;
    width: 160px;
    height: 160px;
    background: var(--teal-100);
    border-radius: var(--radius-lg);
    transform: rotate(15deg);
}

.about-geo-circle {
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    border: 2px solid var(--teal-100);
    border-radius: 50%;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--teal-600);
    border-radius: var(--radius-md);
    z-index: -1;
    opacity: 0.15;
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-text {
    font-size: 16px;
    line-height: 1.75;
    color: var(--slate-600);
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--slate-700);
}

.about-feature-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-100);
    border-radius: 50%;
    color: var(--teal-700);
    flex-shrink: 0;
    margin-top: 1px;
}

/* --- Approach Section --- */
.approach {
    position: relative;
    padding: 100px 0;
    background: var(--slate-900);
    overflow: hidden;
}

.approach-geo {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.approach-geo-triangle {
    position: absolute;
    top: 40px;
    left: 40px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 80px 80px;
    border-color: transparent transparent var(--teal-800) transparent;
    opacity: 0.4;
}

.approach-geo-dots {
    position: absolute;
    bottom: 40px;
    right: 40px;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, var(--teal-700) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    opacity: 0.4;
}

.approach .section-header {
    margin-bottom: 70px;
}

.approach .section-tag {
    background: rgba(13, 148, 136, 0.15);
    border-color: rgba(13, 148, 136, 0.3);
    color: var(--teal-400);
}

.approach .section-title {
    color: var(--white);
}

.approach .section-subtitle {
    color: var(--slate-400);
}

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

.approach-step {
    position: relative;
    padding: 36px 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.approach-step:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(13, 148, 136, 0.4);
    transform: translateY(-4px);
}

.approach-step-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--teal-600);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 20px;
}

.approach-step-line {
    position: absolute;
    top: 50%;
    right: -12px;
    width: 24px;
    height: 2px;
    background: var(--teal-700);
    opacity: 0.5;
}

.approach-step:last-child .approach-step-line {
    display: none;
}

.approach-step-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.approach-step-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--slate-400);
}

/* --- CTA Banner --- */
.cta-banner {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--teal-700) 0%, var(--teal-600) 50%, var(--teal-500) 100%);
    overflow: hidden;
}

.cta-banner-geo {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cta-banner-geo-circle-1 {
    position: absolute;
    top: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-banner-geo-circle-2 {
    position: absolute;
    bottom: -80px;
    right: -40px;
    width: 240px;
    height: 240px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.cta-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-banner-title {
    font-family: var(--font-heading);
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.cta-banner-text {
    font-size: 17px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
}

.cta-banner-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* --- Location Section --- */
.location {
    position: relative;
    padding: 100px 0;
    background: var(--white);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.location-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px;
    background: var(--slate-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--slate-100);
    transition: all var(--transition-base);
}

.location-card:hover {
    background: var(--white);
    border-color: var(--teal-200);
    box-shadow: var(--shadow-md);
}

.location-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-600);
    border-radius: var(--radius-sm);
    color: var(--white);
    flex-shrink: 0;
}

.location-card-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 4px;
}

.location-card-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--slate-500);
}

.location-card-text a {
    color: var(--teal-600);
    transition: color var(--transition-fast);
}

.location-card-text a:hover {
    color: var(--teal-700);
}

.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
    border: 1px solid var(--slate-200);
}

/* --- Contact Section --- */
.contact {
    position: relative;
    padding: 100px 0;
    background: var(--slate-50);
    overflow: hidden;
}

.contact-geo {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.contact-geo-stripe-1 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--teal-600), var(--teal-400), var(--slate-400));
}

.contact-geo-stripe-2 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--slate-400), var(--teal-400), var(--teal-600));
}

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

.contact-info .section-tag {
    margin-bottom: 16px;
}

.contact-text {
    font-size: 16px;
    line-height: 1.75;
    color: var(--slate-500);
    margin-bottom: 36px;
}

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

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

.contact-detail-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-100);
    border-radius: var(--radius-sm);
    color: var(--teal-700);
    flex-shrink: 0;
}

.contact-detail-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 2px;
}

.contact-detail-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--slate-800);
}

.contact-detail-value a {
    color: var(--teal-600);
    transition: color var(--transition-fast);
}

.contact-detail-value a:hover {
    color: var(--teal-700);
}

/* --- Contact Form --- */
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--slate-100);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

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

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--slate-700);
    letter-spacing: 0.02em;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--slate-800);
    background: var(--slate-50);
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
    outline: none;
}

.form-input:focus {
    border-color: var(--teal-500);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
    background: var(--white);
}

.form-input::placeholder {
    color: var(--slate-400);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%2394a3b8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
    gap: 16px;
}

.form-success.show {
    display: flex;
}

.form-success-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-100);
    border-radius: 50%;
    color: var(--teal-600);
}

.form-success-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--slate-900);
}

.form-success-text {
    font-size: 15px;
    color: var(--slate-500);
    line-height: 1.6;
}

/* --- Footer --- */
.footer {
    position: relative;
    background: var(--slate-950);
    padding: 60px 0 0;
    overflow: hidden;
}

.footer-geo {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.footer-geo-dots {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, var(--slate-700) 1.5px, transparent 1.5px);
    background-size: 10px 10px;
    opacity: 0.3;
}

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

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 17px;
    color: var(--white);
    margin-bottom: 14px;
}

.footer-logo-icon {
    color: var(--teal-400);
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.7;
    color: var(--slate-400);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 18px;
}

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

.footer-links li a,
.footer-contact li {
    font-size: 14px;
    color: var(--slate-400);
    transition: color var(--transition-fast);
}

.footer-links li a:hover {
    color: var(--teal-400);
}

.footer-contact li a {
    color: var(--teal-400);
}

.footer-contact li {
    color: var(--slate-400);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 20px 0;
}

.footer-copy {
    font-size: 13px;
    color: var(--slate-500);
    text-align: center;
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }
.fade-in-delay-6 { transition-delay: 0.6s; }

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

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

    .approach-step-line {
        display: none;
    }

    .about-grid {
        gap: 40px;
    }

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--slate-900);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px 32px;
        gap: 4px;
        transform: translateX(100%);
        transition: transform var(--transition-base);
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.2);
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    .nav-link {
        color: var(--slate-300);
        font-size: 16px;
        padding: 12px 0;
        width: 100%;
    }

    .nav-link:hover {
        color: var(--white);
        background: transparent;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 16px;
        text-align: center;
        width: 100%;
        display: block;
    }

    .hero-content {
        padding: 100px 24px 60px;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat-divider {
        display: none;
    }

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

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

    .about-image img {
        height: 300px;
    }

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

    .approach-steps {
        grid-template-columns: 1fr;
    }

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

    .location-map {
        min-height: 280px;
    }

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

    .contact-form-wrap {
        padding: 28px;
    }

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

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

    .footer-brand {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .cta-banner-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-banner-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}
