/* ── Color System ── */

:root {
    --color-brand: #5a4a3a;
    --color-brand-light: #f8f6f3;
    --color-text: #3a3a3a;
    --color-text-light: #666;
    --color-text-muted: #888;
    --color-whatsapp: #25D366;
    --color-whatsapp-hover: #20bd5a;
    --color-whatsapp-link: #1a9e4a;
    --color-bg: #fff;
    --color-bg-alt: #f8f6f3;
    --color-footer-bg: #2c2c2c;
}

/* ── Reset & Base ── */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
}

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

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

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

/* ── Focus Styles (Accessibility) ── */

:focus-visible {
    outline: 3px solid var(--color-brand);
    outline-offset: 2px;
}

/* ── Reduced Motion ── */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ── Typography ── */

h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.3;
}

.section-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 16px;
    color: var(--color-footer-bg);
}

.section-intro {
    text-align: center;
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-bottom: 48px;
}

/* ── Header ── */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s;
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-brand);
    letter-spacing: 0.02em;
}

/* Mobile nav — hidden by default */
.nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav.open {
    display: flex;
}

.nav-link {
    padding: 12px 0;
    font-size: 1.05rem;
    font-weight: 500;
    color: #555;
    transition: color 0.2s;
    position: relative;
    border-bottom: 1px solid #eee;
}

.nav-link:last-child {
    border-bottom: none;
}

/* Hamburger — visible on mobile */

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: transform 0.3s, opacity 0.3s;
}

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

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

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

/* ── Hero ── */

.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('images/hero-bg.avif') center/cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center 40%, rgba(42, 32, 20, 0.55) 0%, transparent 70%),
        linear-gradient(to bottom, rgba(42, 32, 20, 0.3) 0%, rgba(42, 32, 20, 0.45) 50%, rgba(42, 32, 20, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 24px;
}

.hero h1 {
    font-size: 2.4rem;
    color: #fff;
    margin-bottom: 16px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 4px 16px rgba(42, 32, 20, 0.3);
}

.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.hero-microcopy {
    margin-top: 16px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
}

/* ── Buttons ── */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: none;
}

.btn-whatsapp {
    background: var(--color-whatsapp);
    color: #fff;
}

.btn-whatsapp-large {
    padding: 18px 40px;
    font-size: 1.15rem;
    width: 100%;
    justify-content: center;
}

.whatsapp-icon {
    flex-shrink: 0;
}

@media (hover: hover) {
    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }

    .btn-whatsapp:hover {
        background: var(--color-whatsapp-hover);
    }
}

/* ── Sections ── */

.section {
    padding: 56px 0;
}

.section-about {
    background: var(--color-bg);
}

.section-transform {
    background: var(--color-bg-alt);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-text-light);
    margin-top: -16px;
    margin-bottom: 32px;
}

.transform-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    background: var(--color-bg);
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.transform-content p {
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
}

.transform-content p:last-child {
    margin-bottom: 0;
}

.transform-lead {
    font-size: 1.05rem !important;
    font-weight: 600;
    color: var(--color-text) !important;
}

.transform-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}

.transform-card {
    background: var(--color-bg);
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

@media (hover: hover) {
    .transform-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }
}

.transform-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.transform-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--color-brand);
}

.transform-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 0;
}

.transform-closer {
    max-width: 720px;
    margin: 40px auto 0;
    text-align: center;
    background: var(--color-bg);
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.transform-closer .transform-icon {
    font-size: 2.4rem;
}

.transform-closer h3 {
    font-size: 1.4rem;
    color: var(--color-brand);
    margin-bottom: 14px;
}

.transform-closer p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
}

.section-treatments {
    background: var(--color-bg-alt);
}

.section-testimonials {
    background: var(--color-bg);
}

.section-faq {
    background: var(--color-bg-alt);
}

.section-contact {
    background: var(--color-bg-alt);
}

/* ── About ── */

.about-content {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    text-align: center;
}

.about-img {
    display: block;
    margin: 0 auto 24px;
    width: 240px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about-content p {
    margin-bottom: 16px;
    font-size: 1.05rem;
    color: #444;
}

.about-credentials {
    display: flex;
    gap: 20px;
    margin-top: 24px;
    flex-wrap: wrap;
    clear: both;
    justify-content: center;
}

.credential-badge {
    width: 200px;
}

.credential-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ── Treatment Cards ── */

.treatments-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
}

.treatment-card {
    background: var(--color-bg);
    border-radius: 12px;
    padding: 32px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

@media (hover: hover) {
    .treatment-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }
}

.treatment-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.treatment-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--color-brand);
}

.treatment-card p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 10px;
}

/* ── Mid-page CTA ── */

.mid-cta {
    text-align: center;
    margin-top: 48px;
    padding-top: 32px;
}

.mid-cta-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    color: var(--color-brand);
    margin-bottom: 20px;
}

/* ── Testimonials ── */

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
}

.testimonial-card {
    background: var(--color-bg-alt);
    border-radius: 12px;
    padding: 32px;
    border-left: 4px solid var(--color-brand);
    margin: 0;
}

.testimonial-quote {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-author strong {
    font-size: 0.95rem;
    color: var(--color-text);
}

.testimonial-author cite {
    font-style: normal;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ── FAQ ── */

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-bg);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.faq-question {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-brand);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--color-text-muted);
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item[open] .faq-question::after {
    content: '\2212';
}

.faq-answer {
    padding: 0 24px 20px;
    color: var(--color-text-light);
    line-height: 1.7;
}

.faq-answer p {
    margin: 0;
}

/* ── Contact ── */

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.6rem;
    margin-bottom: 4px;
    color: var(--color-footer-bg);
}

.contact-role {
    color: var(--color-text-muted);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.contact-details {
    margin-bottom: 20px;
}

.contact-details p {
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.contact-details a {
    color: var(--color-whatsapp-link);
    font-weight: 500;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-locations {
    margin-bottom: 32px;
    color: #555;
}

.contact-locations p {
    margin-bottom: 4px;
}

.contact-microcopy {
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* ── Footer ── */

.footer {
    background: var(--color-footer-bg);
    color: rgba(255, 255, 255, 0.6);
    padding: 24px 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* ── Floating WhatsApp ── */

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 56px;
    height: 56px;
    background: var(--color-whatsapp);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

@media (hover: hover) {
    .whatsapp-float:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    }
}

/* ── Tablet (min-width: 769px) ── */

@media (min-width: 769px) {
    .section {
        padding: 80px 0;
    }

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

    .treatments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .transform-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

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

    .about-img {
        float: left;
        width: 280px;
        margin: 0 32px 16px 0;
        shape-outside: margin-box;
    }

    .about-content {
        text-align: left;
    }

    .about-credentials {
        justify-content: flex-start;
    }

    .btn-whatsapp-large {
        width: auto;
    }

    /* Desktop nav */
    .nav {
        display: flex;
        position: static;
        flex-direction: row;
        gap: 32px;
        padding: 0;
        box-shadow: none;
        background: none;
    }

    .nav-link {
        padding: 0;
        font-size: 0.95rem;
        border-bottom: none;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--color-brand);
        transition: width 0.2s;
    }

    @media (hover: hover) {
        .nav-link:hover {
            color: var(--color-brand);
        }

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

    .hamburger {
        display: none;
    }
}

/* ── Desktop (min-width: 1025px) ── */

@media (min-width: 1025px) {
    .hero {
        min-height: 85vh;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .treatments-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

/* ── Mobile hero image variant ── */

@media (max-width: 768px) {
    .hero {
        background-image: url('images/hero-bg-mobile.avif');
    }
}
