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

:root {
    --plum-900: #2d1b33;
    --plum-800: #3d2547;
    --plum-700: #4a2d56;
    --plum-600: #5c3a6a;
    --plum-500: #6b4580;
    --plum-400: #8b6aa0;
    --plum-300: #b090c0;
    --plum-200: #d4c0e0;
    --plum-100: #f0e8f5;
    --plum-50: #f8f4fb;
    --amber-600: #b8860b;
    --amber-500: #d4a017;
    --amber-400: #e8b828;
    --amber-300: #f0cc5c;
    --amber-200: #f7e090;
    --amber-100: #fdf3d0;
    --warm-900: #1a1410;
    --warm-800: #2a2018;
    --warm-700: #3d3025;
    --warm-600: #5a4838;
    --warm-500: #7a6250;
    --warm-100: #f5f0eb;
    --warm-50: #faf7f4;
    --surface: #f8f5f2;
    --white: #ffffff;
    --text-primary: #1a1410;
    --text-secondary: #5a4838;
    --text-muted: #8a7868;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --shadow-sm: 0 2px 8px rgba(45, 27, 51, 0.06);
    --shadow-md: 0 4px 20px rgba(45, 27, 51, 0.08);
    --shadow-lg: 0 8px 40px rgba(45, 27, 51, 0.12);
    --shadow-xl: 0 16px 60px rgba(45, 27, 51, 0.15);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text-primary);
    background: var(--surface);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
    color: var(--text-primary);
}

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

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

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

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .logo {
    color: var(--plum-800);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
    position: relative;
}

.navbar.scrolled .nav-links a {
    color: var(--text-secondary);
}

.nav-links a:hover {
    color: var(--amber-400);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--plum-600);
}

.nav-cta {
    background: var(--amber-400) !important;
    color: var(--warm-900) !important;
    padding: 10px 22px;
    border-radius: var(--radius-lg);
    font-weight: 700 !important;
    transition: var(--transition) !important;
    box-shadow: 0 2px 12px rgba(212, 160, 23, 0.3);
}

.nav-cta:hover {
    background: var(--amber-300) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(212, 160, 23, 0.4) !important;
}

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

.mobile-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar.scrolled .mobile-toggle span {
    background: var(--plum-800);
}

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

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

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

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, var(--plum-900) 0%, var(--plum-700) 100%);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 8px;
}

.mobile-overlay ul {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-link {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
}

.mobile-link:hover {
    color: var(--amber-400);
}

.mobile-cta {
    display: inline-block;
    margin-top: 16px;
    background: var(--amber-400);
    color: var(--warm-900);
    padding: 14px 36px;
    border-radius: var(--radius-lg);
    font-size: 1.2rem;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1a0a2e 0%, #3d1f5c 25%, #5c3a6a 50%, #8b5e3c 75%, #b8860b 100%);
    padding: 120px 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 8s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 106, 160, 0.6), transparent);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.4), transparent);
    bottom: -100px;
    left: -50px;
    animation-delay: -3s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(176, 144, 192, 0.5), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--amber-200);
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    color: var(--white);
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.hero-title em {
    font-style: normal;
    color: var(--amber-300);
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: var(--radius-lg);
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--amber-400);
    color: var(--warm-900);
    box-shadow: 0 4px 20px rgba(212, 160, 23, 0.35);
}

.btn-primary:hover {
    background: var(--amber-300);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(212, 160, 23, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 38px;
    font-size: 1.1rem;
    border-radius: var(--radius-xl);
}

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

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    font-weight: 600;
}

.trust-item svg {
    color: var(--amber-300);
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* ===== Section Shared ===== */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-header.light {
    color: var(--white);
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--plum-500);
    background: var(--plum-100);
    padding: 6px 16px;
    border-radius: var(--radius-xl);
    margin-bottom: 16px;
}

.section-tag.light {
    color: var(--amber-300);
    background: rgba(255, 255, 255, 0.12);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===== Services Section ===== */
.services {
    padding: 100px 0;
    background: var(--surface);
}

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

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--plum-400), var(--amber-400));
    opacity: 0;
    transition: var(--transition);
}

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

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

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

.service-card:hover .service-icon {
    background: var(--plum-600);
    color: var(--white);
    transform: scale(1.05);
}

.service-card h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== About Section ===== */
.about {
    padding: 100px 0;
    background: var(--warm-50);
}

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

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

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

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

.about-image-accent {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 5px solid var(--white);
}

.about-image-accent img {
    width: 320px;
    height: 240px;
    object-fit: cover;
}

.about-stats {
    display: flex;
    gap: 24px;
    margin-top: 32px;
}

.stat {
    flex: 1;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    display: block;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    line-height: 1.4;
}

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

.about-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 20px;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.feature-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--amber-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber-600);
    flex-shrink: 0;
}

/* ===== Patient Info Section ===== */
.patient-info {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--plum-800) 0%, var(--plum-600) 50%, var(--warm-600) 100%);
    position: relative;
    overflow: hidden;
}

.patient-info::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(212, 160, 23, 0.08);
    filter: blur(60px);
}

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

.step-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.step-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--amber-400);
    margin-bottom: 16px;
    line-height: 1;
}

.step-card h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.step-card a {
    color: var(--amber-300);
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

.patient-cta-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.patient-cta-text h3 {
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 10px;
}

.patient-cta-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ===== Contact Section ===== */
.contact {
    padding: 100px 0;
    background: var(--surface);
}

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

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

.contact-info .section-title {
    margin-bottom: 18px;
}

.contact-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
}

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

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

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

.contact-item strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.6;
}

.contact-item a {
    color: var(--plum-600);
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--amber-600);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.form-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    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: 700;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--plum-200);
    border-radius: var(--radius-md);
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--plum-50);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--plum-500);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(107, 69, 128, 0.1);
}

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

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

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #e8f5e9;
    border-radius: var(--radius-md);
    color: #2e7d32;
    font-weight: 700;
    margin-top: 16px;
}

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

.form-success svg {
    flex-shrink: 0;
}

/* ===== Map Section ===== */
.map-section {
    padding: 0;
}

.map-wrapper {
    border-radius: 0;
    overflow: hidden;
}

/* ===== Footer ===== */
.footer {
    background: var(--plum-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

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

.footer-logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--amber-400);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    transition: var(--transition);
}

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

.footer-contact p {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.55);
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--amber-300);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ===== Scroll Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

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

    .about-grid {
        gap: 48px;
    }

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

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

    .mobile-toggle {
        display: flex;
    }

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

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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

    .hero-trust {
        flex-direction: column;
        gap: 12px;
    }

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

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

    .about-image-accent {
        right: 16px;
        bottom: -24px;
    }

    .about-image-main img {
        height: 400px;
    }

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

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

    .patient-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }

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

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

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

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

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

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.6rem;
    }
}
