/* ============================================
   Sleep Diagnostic Center — Stylesheet
   Teal + Slate Grey | Vibrant Modern
   ============================================ */

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

: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;

    --accent-400: #f59e0b;
    --accent-500: #f59e0b;
    --accent-600: #d97706;

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

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

    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 4px 20px rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.14);
    --shadow-xl: 0 20px 60px rgba(15, 23, 42, 0.18);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--slate-800);
    background: var(--slate-50);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

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

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

ul {
    list-style: none;
}

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

/* ---------- Background Blobs ---------- */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

.blob--teal {
    width: 600px;
    height: 600px;
    background: var(--teal-400);
    top: -200px;
    right: -150px;
}

.blob--grey {
    width: 500px;
    height: 500px;
    background: var(--slate-300);
    bottom: 20%;
    left: -100px;
}

.blob--accent {
    width: 400px;
    height: 400px;
    background: var(--accent-400);
    top: 50%;
    right: 10%;
    opacity: 0.15;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

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

.btn--primary:hover {
    background: var(--teal-700);
    border-color: var(--teal-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background: transparent;
    color: var(--teal-600);
    border-color: var(--teal-600);
}

.btn--outline:hover {
    background: var(--teal-600);
    color: #fff;
    transform: translateY(-2px);
}

.btn--white {
    background: #fff;
    color: var(--teal-700);
    border-color: #fff;
}

.btn--white:hover {
    background: var(--teal-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}

.btn--outline-light:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

.btn--lg {
    padding: 18px 36px;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 250, 252, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--slate-200);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(248, 250, 252, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    color: var(--teal-700);
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.2;
}

.nav-logo__icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.nav-logo__text {
    display: flex;
    flex-direction: column;
}

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

.nav-link {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--slate-600);
    transition: var(--transition);
}

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

.nav-link--cta {
    background: var(--teal-600);
    color: #fff !important;
    margin-left: 8px;
}

.nav-link--cta:hover {
    background: var(--teal-700);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle__bar {
    width: 24px;
    height: 2px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: var(--transition);
}

/* ---------- Hero ---------- */
.hero {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--teal-100);
    color: var(--teal-800);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid var(--teal-200);
}

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

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

.hero__headline {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.08;
    color: var(--slate-900);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero__headline--accent {
    color: var(--teal-600);
    position: relative;
}

.hero__headline--accent::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--teal-200);
    border-radius: 3px;
    z-index: -1;
}

.hero__description {
    font-size: 1.15rem;
    color: var(--slate-600);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 520px;
}

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

.hero__right {
    position: relative;
    min-height: 560px;
}

.hero__image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 5/6;
}

.hero__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(13, 148, 136, 0.2) 100%);
    pointer-events: none;
}

.hero-cards {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-card {
    position: absolute;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    pointer-events: auto;
    transition: var(--transition);
}

.hero-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--shadow-xl);
}

.hero-card--teal {
    background: var(--teal-600);
    color: #fff;
    top: 8%;
    left: -40px;
}

.hero-card--slate {
    background: var(--slate-800);
    color: #fff;
    top: 38%;
    right: -30px;
}

.hero-card--accent {
    background: var(--accent-500);
    color: #fff;
    bottom: 28%;
    left: -20px;
}

.hero-card--white {
    background: #fff;
    color: var(--slate-800);
    bottom: 6%;
    right: -20px;
}

.hero-card__number {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-card__label {
    font-size: 0.8rem;
    opacity: 0.85;
    margin-top: 2px;
}

.hero__shape {
    position: absolute;
    pointer-events: none;
}

.hero__shape--circle {
    width: 120px;
    height: 120px;
    border: 3px solid var(--teal-200);
    border-radius: 50%;
    top: -40px;
    right: 60px;
    opacity: 0.6;
}

.hero__shape--triangle {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid var(--accent-400);
    opacity: 0.25;
    bottom: 60px;
    right: -20px;
    transform: rotate(15deg);
}

.hero__shape--square {
    width: 60px;
    height: 60px;
    background: var(--teal-200);
    opacity: 0.4;
    border-radius: var(--radius-sm);
    top: 50%;
    left: -80px;
    transform: rotate(45deg);
}

/* ---------- Section Shared ---------- */
.section-tag {
    display: inline-block;
    background: var(--teal-100);
    color: var(--teal-700);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    border: 1px solid var(--teal-200);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--slate-900);
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-title--accent {
    color: var(--teal-600);
}

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

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

.section-description {
    font-size: 1.1rem;
    color: var(--slate-500);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---------- Services ---------- */
.services {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

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

.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--slate-200);
    transition: var(--transition);
}

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

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

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

.service-card--teal {
    background: var(--teal-700);
    border-color: var(--teal-700);
    color: #fff;
}

.service-card--teal .service-card__title,
.service-card--teal .service-card__desc,
.service-card--teal .service-card__features li {
    color: #fff;
}

.service-card--teal .service-card__features li::before {
    color: var(--teal-200);
}

.service-card--teal::before {
    background: var(--teal-300);
}

.service-card--slate {
    background: var(--slate-800);
    border-color: var(--slate-800);
    color: #fff;
}

.service-card--slate .service-card__title,
.service-card--slate .service-card__desc,
.service-card--slate .service-card__features li {
    color: #fff;
}

.service-card--slate .service-card__features li::before {
    color: var(--teal-300);
}

.service-card--slate::before {
    background: var(--accent-400);
}

.service-card--accent {
    background: var(--accent-500);
    border-color: var(--accent-500);
    color: #fff;
}

.service-card--accent .service-card__title,
.service-card--accent .service-card__desc,
.service-card--accent .service-card__features li {
    color: #fff;
}

.service-card--accent .service-card__features li::before {
    color: rgba(255,255,255,0.7);
}

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

.service-card--slate .service-card__icon,
.service-card--accent .service-card__icon {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.service-card__icon svg {
    width: 28px;
    height: 28px;
}

.service-card__title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 12px;
}

.service-card__desc {
    font-size: 0.92rem;
    color: var(--slate-500);
    line-height: 1.65;
    margin-bottom: 16px;
}

.service-card__features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-card__features li {
    font-size: 0.85rem;
    color: var(--slate-600);
    padding-left: 18px;
    position: relative;
}

.service-card__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--teal-600);
    font-weight: 700;
}

/* ---------- About ---------- */
.about {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: var(--slate-100);
}

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

.about__image-grid {
    position: relative;
    height: 600px;
}

.about__image-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 80%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about__image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__image-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 50%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--slate-100);
}

.about__image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__stat-block {
    position: absolute;
    bottom: 45%;
    right: 10%;
    background: var(--teal-600);
    color: #fff;
    padding: 24px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.about__stat-number {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
}

.about__stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 4px;
}

.about__text {
    font-size: 1.05rem;
    color: var(--slate-600);
    line-height: 1.75;
    margin-bottom: 20px;
}

.about__highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--slate-700);
    font-size: 0.95rem;
}

.highlight-item__icon {
    width: 32px;
    height: 32px;
    background: var(--teal-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-600);
    flex-shrink: 0;
}

.highlight-item__icon svg {
    width: 16px;
    height: 16px;
}

/* ---------- Process ---------- */
.process {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    position: relative;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.process-step__number {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--teal-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.process-step__visual {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.process-step__circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--teal-600);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    box-shadow: 0 0 0 8px var(--teal-100), 0 0 0 10px var(--teal-200);
    transition: var(--transition);
}

.process-step:hover .process-step__circle {
    background: var(--teal-700);
    transform: scale(1.08);
}

.process-step__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 10px;
}

.process-step__desc {
    font-size: 0.9rem;
    color: var(--slate-500);
    line-height: 1.65;
}

.process-step__connector {
    width: 60px;
    flex-shrink: 0;
    position: relative;
    top: 40px;
}

.process-step__connector::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--teal-300) 0px, var(--teal-300) 8px, transparent 8px, transparent 16px);
}

/* ---------- Conditions ---------- */
.conditions {
    padding: 80px 0;
    background: var(--slate-800);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.conditions::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--teal-600);
    border-radius: 50%;
    opacity: 0.15;
    filter: blur(80px);
}

.conditions__inner {
    position: relative;
    z-index: 1;
}

.conditions__content {
    margin-bottom: 40px;
}

.conditions__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.conditions__desc {
    font-size: 1.05rem;
    color: var(--slate-400);
    line-height: 1.7;
}

.conditions__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.condition-tag {
    background: rgba(255,255,255,0.08);
    color: var(--teal-200);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.condition-tag:hover {
    background: var(--teal-600);
    color: #fff;
    border-color: var(--teal-600);
    transform: translateY(-2px);
}

/* ---------- Testimonials ---------- */
.testimonials {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: var(--teal-50);
}

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

.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--slate-200);
    position: relative;
    transition: var(--transition);
}

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

.testimonial-card__quote-mark {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1;
    color: var(--teal-200);
    position: absolute;
    top: 16px;
    right: 24px;
    font-weight: 700;
}

.testimonial-card__text {
    font-size: 0.95rem;
    color: var(--slate-600);
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card__avatar {
    width: 44px;
    height: 44px;
    background: var(--teal-600);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
}

.testimonial-card__name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--slate-700);
}

/* ---------- CTA ---------- */
.cta {
    padding: 100px 0;
    background: var(--teal-700);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: var(--teal-500);
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(100px);
}

.cta__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta__geometric {
    position: relative;
    height: 300px;
}

.cta__shape {
    position: absolute;
}

.cta__shape--hex {
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    top: 20px;
    left: 30px;
    transform: rotate(15deg);
    border: 2px solid rgba(255,255,255,0.15);
}

.cta__shape--circle {
    width: 80px;
    height: 80px;
    background: var(--accent-400);
    border-radius: 50%;
    bottom: 30px;
    right: 40px;
    opacity: 0.7;
}

.cta__shape--line {
    width: 200px;
    height: 3px;
    background: rgba(255,255,255,0.2);
    bottom: 80px;
    left: 0;
    border-radius: 2px;
}

.cta__content {
    color: #fff;
}

.cta__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #fff;
}

.cta__desc {
    font-size: 1.1rem;
    color: var(--teal-200);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

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

/* ---------- Contact ---------- */
.contact {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

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

.contact__text {
    font-size: 1.05rem;
    color: var(--slate-500);
    line-height: 1.7;
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
}

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

.contact-detail__icon {
    width: 48px;
    height: 48px;
    background: var(--teal-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-600);
    flex-shrink: 0;
}

.contact-detail__icon svg {
    width: 22px;
    height: 22px;
}

.contact-detail strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--slate-800);
    margin-bottom: 4px;
}

.contact-detail p,
.contact-detail a {
    font-size: 0.92rem;
    color: var(--slate-500);
    line-height: 1.6;
}

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

.contact__form-wrapper {
    position: sticky;
    top: 100px;
}

.contact__form-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--slate-200);
}

.contact__form-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 28px;
}

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

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--slate-700);
    margin-bottom: 6px;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal-500);
    background: #fff;
    box-shadow: 0 0 0 3px var(--teal-100);
}

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

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success__icon {
    width: 64px;
    height: 64px;
    background: var(--teal-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--teal-600);
}

.form-success__icon svg {
    width: 32px;
    height: 32px;
}

.form-success h4 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--slate-900);
    margin-bottom: 8px;
}

.form-success p {
    font-size: 0.92rem;
    color: var(--slate-500);
}

/* ---------- Footer ---------- */
.footer {
    background: var(--slate-900);
    color: var(--slate-400);
    padding: 80px 0 0;
    position: relative;
    z-index: 1;
}

.footer__top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--slate-800);
}

.footer__brand {
    max-width: 320px;
}

.footer__logo {
    color: var(--teal-400);
    margin-bottom: 16px;
}

.footer__tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--slate-400);
}

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

.footer__link-group h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--slate-200);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.footer__link-group ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__link-group li a,
.footer__link-group li {
    font-size: 0.88rem;
    color: var(--slate-400);
    transition: var(--transition);
}

.footer__link-group li a:hover {
    color: var(--teal-400);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.82rem;
    color: var(--slate-500);
}

.footer__disclaimer {
    max-width: 500px;
    text-align: right;
    line-height: 1.5;
}

/* ---------- Reveal Animations ---------- */
[data-reveal] {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    [data-reveal] {
        opacity: 0;
        transform: translateY(30px);
    }

    [data-reveal].revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero__right {
        max-width: 480px;
        margin: 0 auto;
    }

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

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

    .about__image-grid {
        height: 450px;
        max-width: 500px;
        margin: 0 auto;
    }

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

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

    .cta__geometric {
        display: none;
    }

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

    .contact__form-wrapper {
        position: static;
    }

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(248, 250, 252, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        border-bottom: 1px solid var(--slate-200);
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .nav-toggle__bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .nav-toggle.active .nav-toggle__bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .nav-link--cta {
        margin-left: 0;
        text-align: center;
        justify-content: center;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero__headline {
        font-size: clamp(2.2rem, 8vw, 3rem);
    }

    .hero-cards {
        display: none;
    }

    .hero__right {
        display: none;
    }

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

    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .process-step__connector {
        width: 2px;
        height: 40px;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .process-step__connector::before {
        width: 2px;
        height: 100%;
        left: 50%;
        transform: translateX(-50%);
        top: 0;
        background: repeating-linear-gradient(180deg, var(--teal-300) 0px, var(--teal-300) 8px, transparent 8px, transparent 16px);
    }

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

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

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

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

    .footer__bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer__disclaimer {
        text-align: center;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .btn--lg {
        width: 100%;
        justify-content: center;
    }

    .contact__form-card {
        padding: 24px;
    }
}
