/* ══════════════════════════════════════════════════════════════
   EPISTIMI MED — Hair Transplant Landing Page
   Premium Medical Aesthetic Design System
   ══════════════════════════════════════════════════════════════ */

/* ── CSS Custom Properties ── */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f8f8;
    --bg-tertiary: #f0f0f0;
    --bg-card: rgba(0, 0, 0, 0.02);
    --bg-card-hover: rgba(0, 0, 0, 0.04);

    --accent: #c9a296;
    --accent-hover: #b8897c;
    --accent-muted: rgba(201, 162, 150, 0.12);
    --accent-glow: rgba(201, 162, 150, 0.2);

    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --text-muted: #888888;

    --border: rgba(0, 0, 0, 0.08);
    --border-accent: rgba(201, 162, 150, 0.35);

    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;

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

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(201, 162, 150, 0.12);

    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: 0.2s ease;

    --container-max: 1200px;
    --section-padding: clamp(80px, 12vh, 140px);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

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

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

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

.hidden {
    display: none !important;
}

/* ── Typography ── */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

.accent-text {
    color: var(--accent);
    font-weight: 500;
    font-size: 1.1em;
}

.lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.section-title-large {
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin-bottom: 2rem;
    color: var(--text-primary);
    line-height: 1.15;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
}

.subsection-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

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

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.btn-spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Section Base ── */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

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

.section-header {
    text-align: center;
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

/* ── Scroll Reveal Animation ── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(231, 198, 191, 0.2);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.logo-img:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Hide mobile-only items on desktop */
.mobile-menu-logo-item,
.mobile-menu-contact-item,
.mobile-menu-social-item {
    display: none;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 400;
    color: #4b3b47;
    position: relative;
    padding: 0.5rem 0.8rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid #2c2c2c;
    display: inline-block;
}

.nav-links a:hover {
    color: #2c2c2c;
}

.nav-links li:last-child a.nav-cta,
.nav-cta {
    background: #2c2c2c !important;
    color: #ffffff !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 0 !important;
    border: none !important;
    border-bottom: none !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    box-shadow: 0 4px 15px rgba(44, 44, 44, 0.2);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.nav-links li:last-child a.nav-cta:hover,
.nav-cta:hover {
    background: #1a1a1a !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(44, 44, 44, 0.3);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: #4b3b47;
    border-radius: 0;
    transition: all 0.3s ease;
}

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

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

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

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.25) 50%, rgba(0, 0, 0, 0.5) 100%),
        url('images/hairclinic.epistimi.jpg') center/cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 60%, rgba(201, 162, 150, 0.06) 0%, transparent 60%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 120px 20px 80px;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease 0.2s both;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s both;
}

.hero-actions .btn-outline {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-actions .btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 1s ease 1s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--accent);
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 4px;
}

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

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: fadeInUp 1s ease 1.2s both;
}

.hero-scroll-indicator span {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(0.6);
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ══════════════════════════════════════════
   INTRO SECTION
   ══════════════════════════════════════════ */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.intro-text .lead {
    font-size: 1.2rem;
    color: var(--text-primary);
    opacity: 0.9;
}

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

.intro-text em {
    color: var(--accent);
    font-style: normal;
    font-weight: 500;
}

.intro-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.intro-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    pointer-events: none;
}

.intro-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

/* ══════════════════════════════════════════
   INDICATION CARDS
   ══════════════════════════════════════════ */
.indications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.indication-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition);
}

.indication-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.card-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.indication-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.indication-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.check-list li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding-left: 24px;
    position: relative;
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 6px;
    border-left: 1.5px solid var(--accent);
    border-bottom: 1.5px solid var(--accent);
    transform: rotate(-45deg);
}

/* ══════════════════════════════════════════
   PREREQUISITES
   ══════════════════════════════════════════ */
.two-col-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: start;
}

.prereq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.prereq-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.prereq-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
    min-width: 40px;
    opacity: 0.6;
}

.prereq-item h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.prereq-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Callout */
.info-callout {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.info-callout .callout-icon {
    width: 40px;
    height: 40px;
    color: var(--accent);
    margin-bottom: 1rem;
}

.info-callout h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.info-callout p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.info-callout strong {
    color: var(--accent);
}

.info-callout ul {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.info-callout ul li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding-left: 18px;
    position: relative;
}

.info-callout ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.callout-warning {
    border-color: rgba(220, 120, 100, 0.2);
}

.callout-warning .callout-icon {
    color: #dc7864;
}

.callout-warning strong {
    color: #dc7864;
}

/* ══════════════════════════════════════════
   WHY EPISTIMI MED — Pillars
   ══════════════════════════════════════════ */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.pillar-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, var(--accent), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.pillar-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

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

.pillar-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--accent);
    opacity: 0.2;
    margin-bottom: 1rem;
}

.pillar-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.pillar-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.pillar-card ul {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.pillar-card ul li {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-left: 16px;
    position: relative;
}

.pillar-card ul li::before {
    content: '·';
    position: absolute;
    left: 4px;
    color: var(--accent);
    font-weight: bold;
}

/* ══════════════════════════════════════════
   EMOTIONAL SECTION
   ══════════════════════════════════════════ */
.section-emotional {
    background:
        radial-gradient(ellipse at 20% 80%, rgba(201, 162, 150, 0.06) 0%, transparent 50%),
        #ffffff;
    text-align: center;
}

.emotional-content {
    max-width: 800px;
    margin: 0 auto;
}

.emotional-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.emotional-item {
    text-align: center;
    padding: 2rem 1rem;
}

.emotional-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    color: var(--accent);
}

.emotional-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.emotional-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ══════════════════════════════════════════
   HAIR LIFECYCLE
   ══════════════════════════════════════════ */
.lifecycle-section {
    margin-bottom: 5rem;
}

.lifecycle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.lifecycle-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.lifecycle-phase {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.lifecycle-duration {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.lifecycle-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.lifecycle-bar {
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.lifecycle-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--bar-width);
    background: linear-gradient(to right, var(--accent), var(--accent-hover));
    border-radius: 2px;
    transition: width 1.5s ease;
}

.lifecycle-note {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding: 1rem;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.lifecycle-note strong {
    color: var(--accent);
}

/* ══════════════════════════════════════════
   DHT SECTION
   ══════════════════════════════════════════ */
.dht-section {
    margin-bottom: 5rem;
}

.dht-content {
    max-width: 800px;
    margin: 0 auto;
}

.dht-content .lead {
    margin-bottom: 2rem;
}

.dht-content .lead strong {
    color: var(--accent);
}

.dht-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.dht-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

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

.step-num {
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-muted);
    color: var(--accent);
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 600;
}

.dht-step p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding-top: 4px;
}

.dht-callout {
    background: var(--accent-muted);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
}

.dht-callout p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.dht-callout strong {
    color: var(--accent);
}

/* ══════════════════════════════════════════
   DONOR AREA
   ══════════════════════════════════════════ */
.donor-highlight {
    max-width: 700px;
    margin: 0 auto 5rem;
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.donor-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--accent);
}

.donor-highlight h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.donor-highlight p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.donor-highlight strong {
    color: var(--accent);
}

/* ══════════════════════════════════════════
   OTHER FACTORS
   ══════════════════════════════════════════ */
.factors-grid {
    text-align: center;
}

.factors-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.factor-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: all var(--transition);
}

.factor-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

.factor-card h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.factor-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ══════════════════════════════════════════
   NORWOOD SCALE
   ══════════════════════════════════════════ */
.norwood-container {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.norwood-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.norwood-tab {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-body);
}

.norwood-tab:hover {
    border-color: var(--border-accent);
    color: var(--accent);
}

.norwood-tab.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-primary);
}

.norwood-progress {
    height: 2px;
    background: var(--border);
    border-radius: 1px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.norwood-progress-bar {
    height: 100%;
    width: 12.5%;
    background: linear-gradient(to right, var(--accent), var(--accent-hover));
    border-radius: 1px;
    transition: width var(--transition);
}

.norwood-content {
    min-height: 220px;
}

.norwood-stage {
    display: none;
    animation: fadeIn 0.4s ease;
}

.norwood-stage.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.norwood-stage-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stage-badge {
    padding: 6px 16px;
    background: var(--accent-muted);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.stage-recommendation {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.norwood-stage h3 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.norwood-stage p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.stage-note {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--bg-card);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Strategy Section */
.strategy-section {
    margin-top: 3rem;
}

.strategy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.strategy-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.strategy-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.strategy-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.strategy-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.grafts-display {
    text-align: center;
    padding: 1.25rem;
    background: var(--accent-muted);
    border-radius: var(--radius-md);
    margin: 1rem 0;
}

.grafts-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent);
}

.grafts-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ══════════════════════════════════════════
   BEFORE & AFTER GALLERY
   ══════════════════════════════════════════ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

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

/* BA Slider */
.ba-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    cursor: ew-resize;
    user-select: none;
    -webkit-user-select: none;
}

.ba-image {
    position: absolute;
    inset: 0;
}

.ba-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-before {
    z-index: 1;
    clip-path: inset(0 50% 0 0);
}

.ba-after {
    z-index: 0;
}

.ba-label {
    position: absolute;
    bottom: 16px;
    padding: 6px 16px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff;
    z-index: 3;
}

.ba-before .ba-label {
    left: 16px;
}

.ba-after .ba-label {
    right: 16px;
}

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
    cursor: ew-resize;
}

.ba-handle-line {
    width: 2px;
    flex: 1;
    background: var(--accent);
    opacity: 0.8;
}

.ba-handle-circle {
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(201, 162, 150, 0.4);
    flex-shrink: 0;
}

.ba-handle-circle svg {
    width: 20px;
    height: 20px;
    color: #ffffff;
}

/* Gallery Solo */
.gallery-solo {
    text-align: center;
}

.gallery-solo img {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.gallery-caption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ══════════════════════════════════════════
   CONTACT FORM
   ══════════════════════════════════════════ */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info .lead {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-detail svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-detail a {
    color: var(--text-secondary);
}

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

/* Form */
.contact-form-wrapper {
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 0;
    padding: 3rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #4b3b47;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.5rem 1.2rem;
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 0;
    color: #2c2c2c;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #b0b0b0;
    font-size: 1rem;
    font-weight: 300;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #2c2c2c;
    background: #fafafa;
}

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

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

/* Contact form submit button */
.contact-form-wrapper .btn-primary,
.contact-form-wrapper .btn.btn-primary {
    background: #2c2c2c;
    color: #ffffff;
    padding: 1.5rem 3rem;
    border: none;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
    font-family: var(--font-body);
    text-transform: uppercase;
}

.contact-form-wrapper .btn-primary:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Newsletter subscribe button */
.newsletter-input-group .btn,
.newsletter-input-group button {
    padding: 1rem 2.5rem;
    background: var(--accent);
    color: #ffffff;
    border: none;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-input-group .btn:hover,
.newsletter-input-group button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Checkbox */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    accent-color: var(--accent);
    margin-top: 2px;
    cursor: pointer;
}

.form-checkbox label {
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    margin-bottom: 0;
}

.form-checkbox label a {
    color: var(--accent);
    text-decoration: underline;
}

/* Form Message */
.form-message {
    margin-top: 1rem;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.form-message.success {
    background: rgba(80, 180, 120, 0.1);
    border: 1px solid rgba(80, 180, 120, 0.3);
    color: #6fd89c;
}

.form-message.error {
    background: rgba(220, 100, 100, 0.1);
    border: 1px solid rgba(220, 100, 100, 0.3);
    color: #dc7864;
}

/* ══════════════════════════════════════════
   NEWSLETTER
   ══════════════════════════════════════════ */
.section-newsletter {
    background: #f9f9f9;
    text-align: center;
    padding: clamp(60px, 8vh, 100px) 0;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content p {
    color: #4b3b47;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.newsletter-input-group {
    display: flex;
    gap: 1rem;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-input-group input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid #d0d0d0;
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    color: #2c2c2c;
    background: rgba(255, 255, 255, 0.9);
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-input-group input::placeholder {
    color: #b0b0b0;
}

.newsletter-input-group input:focus {
    border-color: #2c2c2c;
    background: #ffffff;
}

.newsletter-form .form-message {
    width: 100%;
    max-width: 600px;
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.footer {
    background: #ffffff;
    color: #2c2c2c;
    border-top: 1px solid rgba(44, 44, 44, 0.2);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.85rem;
    color: #4b3b47;
    line-height: 1.7;
}

.footer-tagline {
    font-family: var(--font-heading);
    font-style: italic;
    color: #4b3b47 !important;
    font-size: 0.95rem !important;
    margin-top: 0.25rem;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 400;
    color: #2c2c2c;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #2c2c2c;
    display: inline-block;
    width: auto;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.footer-links li a,
.footer-contact li,
.footer-contact li a {
    font-size: 0.9rem;
    color: #4b3b47;
}

.footer-links li a:hover,
.footer-contact li a:hover {
    color: #2c2c2c;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #4b3b47;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #2c2c2c;
    color: #ffffff;
    transform: translateY(-2px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(44, 44, 44, 0.2);
}

.footer-bottom p,
.footer-bottom a {
    font-size: 0.9rem;
    color: #4b3b47;
}

.footer-bottom a:hover {
    color: #2c2c2c;
}

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

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

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

@media (max-width: 768px) {

    /* Navigation */
    .nav-toggle {
        display: flex;
        position: relative;
        z-index: 10001;
    }

    /* Fixed toggle position when menu is open */
    .nav-toggle.active {
        position: fixed;
        top: 1.2rem;
        right: 1.5rem;
        z-index: 10001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 1);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 6rem 1.5rem 2rem;
        gap: 0;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease, visibility 0.2s ease;
        z-index: 9999;
        overflow-y: auto;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
        max-width: 400px;
        opacity: 0;
        transform: translateY(30px);
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .nav-links.open li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links.open li:nth-child(1) {
        transition-delay: 0.05s;
    }

    .nav-links.open li:nth-child(2) {
        transition-delay: 0.1s;
    }

    .nav-links.open li:nth-child(3) {
        transition-delay: 0.15s;
    }

    .nav-links.open li:nth-child(4) {
        transition-delay: 0.2s;
    }

    .nav-links.open li:nth-child(5) {
        transition-delay: 0.25s;
    }

    .nav-links.open li:nth-child(6) {
        transition-delay: 0.3s;
    }

    .nav-links.open li:nth-child(7) {
        transition-delay: 0.3s;
    }

    .nav-links a {
        display: block;
        width: 100%;
        font-size: 0.95rem;
        font-weight: 400;
        text-align: left;
        padding: 0.6rem 1.2rem;
        border-bottom: none;
        border-radius: 0;
        color: #000000;
        transition: all 0.3s ease;
    }

    .nav-links a:hover {
        background: rgba(0, 0, 0, 0.05);
    }

    .nav-links li:last-child a.nav-cta,
    .nav-cta {
        display: block !important;
        width: 100% !important;
        max-width: 100%;
        font-size: 0.9rem !important;
        padding: 0.8rem 1.2rem !important;
        background: #2c2c2c !important;
        color: #ffffff !important;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: 0 6px 20px rgba(44, 44, 44, 0.3);
        margin-top: 0;
        text-align: left !important;
        box-sizing: border-box;
    }

    /* Mobile menu logo */
    .mobile-menu-logo-item {
        display: block !important;
        text-align: center;
        margin-top: 1rem;
        margin-bottom: 2rem;
        width: 100%;
        max-width: 400px;
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.2s ease;
    }

    .nav-links.open .mobile-menu-logo-item {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.05s;
    }

    .mobile-menu-logo-img {
        max-width: 150px;
        height: auto;
        display: block;
        margin: 0 auto;
        filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
    }

    /* Mobile contact box */
    .mobile-menu-contact-item {
        display: block !important;
        width: 100%;
        max-width: 400px;
        margin-top: 1rem;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.2s ease;
    }

    .nav-links.open .mobile-menu-contact-item {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.35s;
    }

    .mobile-contact-box {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
        padding: 1rem;
        background: #f8f8f8;
        border: 2px solid rgba(231, 198, 191, 0.4);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .mobile-contact-row {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        color: #4b3b47;
        font-size: 0.85rem;
    }

    .mobile-contact-row svg {
        flex-shrink: 0;
        color: #2c2c2c;
    }

    /* Mobile social icons */
    .mobile-menu-social-item {
        display: block !important;
        width: 100%;
        max-width: 400px;
        margin-top: auto;
        padding-top: 0.5rem;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.2s ease;
    }

    .nav-links.open .mobile-menu-social-item {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.4s;
    }

    .mobile-social-icons {
        display: flex;
        gap: 0.8rem;
        justify-content: center;
        align-items: center;
    }

    .mobile-social-icons a {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px !important;
        height: 40px;
        background: #f8f8f8;
        border: 2px solid rgba(231, 198, 191, 0.4) !important;
        color: #4b3b47;
        border-radius: 50%;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        padding: 0 !important;
        transition: all 0.3s ease;
    }

    .mobile-social-icons a:hover {
        background: rgba(231, 198, 191, 0.3);
        color: #2c2c2c;
    }

    .mobile-social-icons svg {
        width: 18px;
        height: 18px;
    }

    /* Hero */
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .hero-scroll-indicator {
        display: none;
    }

    /* Grids */
    .intro-grid,
    .two-col-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .indications-grid,
    .lifecycle-grid,
    .emotional-grid {
        grid-template-columns: 1fr;
    }

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

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

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

    .factors-items {
        grid-template-columns: 1fr 1fr;
    }

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

    /* Newsletter */
    .newsletter-input-group {
        flex-direction: column;
    }

    .newsletter-input-group input {
        text-align: center;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    /* Section padding */
    .section {
        padding: clamp(48px, 8vh, 80px) 0;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .norwood-tab {
        width: 40px;
        height: 40px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .factors-items {
        grid-template-columns: 1fr;
    }

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

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

    .norwood-tabs {
        flex-wrap: wrap;
    }
}