/* ============================================
   Classical Homeopathy — Custom Styles
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --color-burgundy: #7B2D3B;
    --color-burgundy-dark: #5C1F2B;
    --color-burgundy-light: #A04455;
    --color-blush: #F5E6E8;
    --color-blush-light: #FDF2F4;
    --color-blush-mid: #FADCE2;
    --color-cream: #FFFAF8;
    --color-warm-white: #FFF9F7;
    --color-text: #2D1F24;
    --color-text-muted: #6B5258;
    --color-text-light: #8E7279;
    --color-border: #E8D0D4;
    --color-bg-muted: #F9EEF0;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Nunito', 'Segoe UI', system-ui, sans-serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;

    --shadow-sm: 0 2px 8px rgba(123, 45, 59, 0.06);
    --shadow-md: 0 4px 20px rgba(123, 45, 59, 0.08);
    --shadow-lg: 0 8px 40px rgba(123, 45, 59, 0.10);
    --shadow-card: 0 2px 16px rgba(123, 45, 59, 0.07), 0 1px 3px rgba(123, 45, 59, 0.04);
    --shadow-card-hover: 0 8px 32px rgba(123, 45, 59, 0.12), 0 2px 8px rgba(123, 45, 59, 0.06);

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

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

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

a:hover { color: var(--color-burgundy-dark); }

ul { list-style: none; }

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--color-burgundy);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 600;
}

.skip-link:focus { top: 16px; }

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

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

/* --- Typography --- */
.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-burgundy);
    background: var(--color-blush);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text);
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

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

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

.btn-primary:hover {
    background: var(--color-burgundy-dark);
    border-color: var(--color-burgundy-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--color-burgundy);
    border-color: var(--color-burgundy);
}

.btn-secondary:hover {
    background: var(--color-blush);
    color: var(--color-burgundy-dark);
    transform: translateY(-2px);
}

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

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

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

.btn-white:hover {
    background: var(--color-blush-light);
    color: var(--color-burgundy-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

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

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 250, 248, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-text);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1;
}

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

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

.nav-list {
    display: flex;
    gap: 8px;
}

.nav-list a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
    padding: 8px 14px;
    border-radius: 50px;
    transition: all var(--transition);
}

.nav-list a:hover {
    color: var(--color-burgundy);
    background: var(--color-blush);
}

.nav-cta {
    font-size: 0.88rem;
    padding: 10px 22px;
}

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

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--color-burgundy);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-blush-light) 50%, var(--color-blush) 100%);
    overflow: hidden;
}

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

.hero-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-burgundy);
    background: rgba(123, 45, 59, 0.08);
    padding: 7px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
    border: 1px solid rgba(123, 45, 59, 0.12);
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--color-text);
    margin-bottom: 20px;
}

.hero-headline em {
    color: var(--color-burgundy);
    font-style: italic;
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.hero-trust {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.trust-icon {
    width: 18px;
    height: 18px;
    color: var(--color-burgundy);
    flex-shrink: 0;
}

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

.hero-image-wrapper img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.hero-image-accent {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 120px;
    height: 120px;
    background: var(--color-blush);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.hero-image-badge {
    position: absolute;
    bottom: 24px;
    left: -12px;
    background: #fff;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-text);
}

/* --- About --- */
.about {
    padding: 100px 0;
    background: #fff;
}

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

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

.about-image-wrapper img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.about-image-decor {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 160px;
    height: 160px;
    background: var(--color-blush);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-content .section-label { margin-bottom: 16px; }
.about-content .section-title { margin-bottom: 20px; }

.about-lead {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-content > p:last-of-type {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 28px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.5;
}

.check-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-burgundy);
}

/* --- Services --- */
.services {
    padding: 100px 0;
    background: var(--color-cream);
}

.services .section-header { margin-bottom: 56px; }

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

.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

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

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

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 10px;
}

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

/* --- Approach --- */
.approach {
    padding: 100px 0;
    background: var(--color-burgundy);
    color: #fff;
}

.approach .section-label {
    background: rgba(255,255,255,0.15);
    color: var(--color-blush-light);
}

.approach .section-title { color: #fff; }
.approach .section-sub { color: rgba(255,255,255,0.75); }

.approach-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 56px;
}

.approach-step {
    position: relative;
    padding: 36px 28px;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all var(--transition);
}

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

.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255,255,255,0.15);
    line-height: 1;
    margin-bottom: 16px;
}

.approach-step h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}

.approach-step p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
}

/* --- FAQ --- */
.faq {
    padding: 100px 0;
    background: #fff;
}

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

.faq-left { position: sticky; top: 100px; }
.faq-left .section-title { margin-bottom: 16px; }
.faq-intro { font-size: 0.95rem; color: var(--color-text-muted); line-height: 1.7; margin-bottom: 28px; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition);
}

.faq-item:hover { border-color: var(--color-blush-mid); }

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: none;
    border: none;
    padding: 20px 24px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    text-align: left;
    transition: background var(--transition);
}

.faq-question:hover { background: var(--color-blush-light); }

.faq-question[aria-expanded="true"] { color: var(--color-burgundy); }

.faq-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform var(--transition);
}

.faq-question[aria-expanded="true"] .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.faq-answer a { color: var(--color-burgundy); font-weight: 600; }
.faq-answer strong { color: var(--color-text); }

/* --- CTA Banner --- */
.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-blush) 0%, var(--color-blush-mid) 100%);
}

.cta-content { text-align: center; max-width: 680px; margin: 0 auto; }
.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta-text {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}

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

/* --- Contact --- */
.contact {
    padding: 100px 0;
    background: var(--color-cream);
}

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

.contact-info .section-title { margin-bottom: 16px; }
.contact-intro { font-size: 0.95rem; color: var(--color-text-muted); line-height: 1.7; margin-bottom: 32px; }

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

.contact-detail dt {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.contact-detail dd {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.6;
}

.contact-detail a { color: var(--color-burgundy); font-weight: 600; }
.contact-detail a:hover { color: var(--color-burgundy-dark); }

.map-placeholder { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }

/* --- Form --- */
.contact-form-wrapper {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border);
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 6px;
}

.form-subtitle {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 28px;
}

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

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

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

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-burgundy);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.08);
}

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

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

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

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

.form-success svg { margin: 0 auto 16px; }
.form-success h4 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}
.form-success p { font-size: 0.92rem; color: var(--color-text-muted); }

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

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

.footer-logo { margin-bottom: 16px; }
.footer-logo .logo-text { color: #fff; }
.footer-logo .logo-accent { color: var(--color-blush-mid); }

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}

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

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

.footer-links a:hover { color: var(--color-blush-mid); }

.footer-contact address {
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 10px;
}

.footer-contact a {
    color: var(--color-blush-mid);
    font-weight: 600;
}

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

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container { gap: 40px; }
    .hero-image-wrapper img { height: 460px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .approach-steps { gap: 20px; }
    .faq-container { grid-template-columns: 1fr; }
    .faq-left { position: static; }
}

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

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition);
        z-index: 105;
    }

    .nav.open { right: 0; }

    .nav-list {
        flex-direction: column;
        gap: 4px;
        margin-bottom: 24px;
    }

    .nav-list a {
        font-size: 1rem;
        padding: 12px 16px;
    }

    .hero { padding: 100px 0 60px; }
    .hero-container { grid-template-columns: 1fr; gap: 40px; }
    .hero-image-wrapper { order: -1; }
    .hero-image-wrapper img { height: 360px; }
    .hero-image-accent { width: 80px; height: 80px; top: -10px; right: -10px; }
    .hero-image-badge { left: 12px; bottom: 16px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { justify-content: center; }
    .hero-trust { flex-direction: column; gap: 12px; }

    .about-container { grid-template-columns: 1fr; gap: 40px; }
    .about-image-wrapper img { height: 320px; }
    .about-image-decor { width: 100px; height: 100px; }

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

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

    .contact-container { grid-template-columns: 1fr; }
    .contact-form-wrapper { padding: 28px; }
    .form-row { grid-template-columns: 1fr; }

    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .hero { padding: 90px 0 50px; }
    .hero-headline { font-size: 1.7rem; }
    .section-title { font-size: 1.6rem; }
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .reveal.revealed {
        opacity: 0;
        transform: translateY(24px);
    }

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

/* Fallback for no-JS: ensure reveals are always visible */
.no-js .reveal { opacity: 1 !important; transform: none !important; }

/* Mobile nav overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(45, 31, 36, 0.4);
    z-index: 104;
}

.nav-overlay.active { display: block; }
