/* ============================================
   Optimal Health Recovery — Brand Styles
   Palette: Plum (#5C2E5E) + Amber (#C9A84C)
   Fonts: Cormorant Garamond + Lato
   ============================================ */

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

:root {
    --plum-deep: #3D1E3F;
    --plum: #5C2E5E;
    --plum-light: #7A3D7A;
    --plum-muted: #E8D5E6;
    --plum-pale: #F5EFF5;
    --amber: #C9A84C;
    --amber-light: #D4B96A;
    --amber-pale: #FDF8EC;
    --cream: #F9F6F1;
    --warm-white: #FDFCFA;
    --text-dark: #2A1F24;
    --text-mid: #5A4A52;
    --text-light: #8A7A82;
    --border: #E8E0D8;
    --shadow-sm: 0 2px 8px rgba(92, 46, 94, 0.06);
    --shadow-md: 0 8px 30px rgba(92, 46, 94, 0.10);
    --shadow-lg: 0 20px 60px rgba(92, 46, 94, 0.14);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    color: var(--text-dark);
    background-color: var(--warm-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

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

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

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

/* --- Typography --- */
.section-eyebrow {
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--plum-deep);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-mid);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--amber), var(--plum-light));
    margin: 0 auto 1.5rem;
    border: none;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    white-space: nowrap;
}

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

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

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

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

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

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

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

.btn-lg {
    padding: 1.1rem 2.5rem;
    font-size: 0.95rem;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 252, 250, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(253, 252, 250, 0.98);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
    padding: 0.6rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav-logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--plum-deep);
    line-height: 1.2;
}

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

.nav-links a {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-mid);
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--amber);
    transition: width var(--transition);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--plum);
    color: #fff !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 50px;
    font-size: 0.8rem !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
    background: var(--plum-deep) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--plum);
    border-radius: 2px;
    transition: all var(--transition);
}

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

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

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

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--plum-deep);
    overflow: hidden;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(61, 30, 63, 0.92) 0%,
        rgba(92, 46, 94, 0.85) 50%,
        rgba(61, 30, 63, 0.88) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 8rem 1.5rem 4rem;
    max-width: 860px;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-accent {
    font-weight: 700;
    color: var(--amber);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    max-width: 620px;
    margin: 0 auto 2.5rem;
}

.hero-subtitle em {
    color: var(--amber-light);
    font-style: italic;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-trust {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.trust-item svg {
    opacity: 0.8;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.5);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Services --- */
.services {
    padding: 7rem 0;
    background: var(--warm-white);
}

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

.service-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--amber), var(--plum-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

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

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

.service-icon {
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--plum-deep);
    margin-bottom: 0.75rem;
}

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

/* --- About --- */
.about {
    padding: 7rem 0;
    background: var(--plum-pale);
}

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

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

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

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

.about-image-accent {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 6px solid var(--plum-pale);
    box-shadow: var(--shadow-md);
}

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

.about-stat {
    position: absolute;
    top: -1.5rem;
    left: -1.5rem;
    background: var(--plum);
    color: #fff;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.about-stat .stat-number {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--amber);
    line-height: 1;
}

.about-stat .stat-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    margin-top: 0.25rem;
}

.about-content .section-divider { margin-left: 0; }

.about-text {
    font-size: 1.05rem;
    color: var(--text-mid);
    line-height: 1.9;
    margin-bottom: 1.25rem;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 2rem;
    margin: 2rem 0;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
}

.about-content .btn {
    margin-top: 1rem;
}

/* --- Approach --- */
.approach {
    padding: 7rem 0;
    background: var(--warm-white);
}

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

.approach-step {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.approach-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 3rem;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background: var(--amber);
    opacity: 0.4;
}

.step-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--plum-muted);
    line-height: 1;
    margin-bottom: 1rem;
}

.approach-step h3 {
    font-size: 1.3rem;
    color: var(--plum-deep);
    margin-bottom: 0.75rem;
}

.approach-step p {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.8;
}

/* --- Testimonials --- */
.testimonials {
    padding: 7rem 0;
    background: var(--plum-deep);
}

.testimonials .section-eyebrow { color: var(--amber); }
.testimonials .section-title { color: #fff; }
.testimonials .section-divider { opacity: 0.5; }

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    transition: all var(--transition);
}

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

.testimonial-quote {
    margin-bottom: 1.25rem;
}

.testimonial-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--amber);
}

/* --- CTA Section --- */
.cta-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

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

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(61, 30, 63, 0.93), rgba(92, 46, 94, 0.88));
}

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

.cta-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 1rem;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: #fff;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-actions .btn-primary {
    background: var(--amber);
    border-color: var(--amber);
    color: var(--plum-deep);
}

.cta-actions .btn-primary:hover {
    background: var(--amber-light);
    border-color: var(--amber-light);
}

/* --- Contact --- */
.contact {
    padding: 7rem 0;
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--plum-pale);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h4 {
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.contact-item p, .contact-item a {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

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

.contact-map {
    margin-top: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.contact-form-wrap {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.contact-form-wrap h3 {
    font-size: 1.8rem;
    color: var(--plum-deep);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-mid);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--warm-white);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--plum);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(92, 46, 94, 0.08);
}

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

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

.form-privacy {
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 1rem;
}

.form-success {
    text-align: center;
    padding: 2rem;
}

.form-success svg {
    margin: 0 auto 1rem;
}

.form-success h4 {
    font-size: 1.5rem;
    color: var(--plum-deep);
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--text-mid);
    line-height: 1.7;
}

/* --- Footer --- */
.footer {
    background: var(--plum-deep);
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.6);
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 1.25rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

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

.footer-contact p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 0.25rem;
}

.footer-contact a {
    color: rgba(255,255,255,0.7);
}

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

.footer-hours {
    font-size: 0.85rem !important;
    color: rgba(255,255,255,0.5) !important;
    margin-top: 0.5rem !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a:hover {
    color: var(--amber-light);
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .approach-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .approach-step:not(:last-child)::after { display: none; }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--warm-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 0.5rem;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition);
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 0.75rem 0;
        font-size: 0.95rem;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .hero-content {
        padding: 7rem 1.5rem 3rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-trust {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image-accent {
        right: 0;
        bottom: -1rem;
    }
    
    .about-stat {
        left: 0;
        top: -1rem;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact-form-wrap {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .services, .about, .approach, .testimonials, .contact {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
}
