/* ============================================================
   Quin Beauty Spa — "Ritual" theme
   Palette: ivory paper / deep moss / burnt clay / brushed gold
   Display: Fraunces · Body: Sora
   ============================================================ */

:root {
    --ivory: #F5F0E4;
    --paper: #FBF8F2;
    --sand: #EAE0C9;
    --moss-900: #23312A;
    --moss-700: #3B5245;
    --moss-500: #567064;
    --clay: #A8572E;
    --clay-dark: #8A4523;
    --gold: #C6A05B;
    --ink: #2A2620;
    --ink-soft: #6B6459;
    --line: rgba(35, 49, 42, 0.12);
    --radius-lg: 28px;
    --radius-md: 16px;
    --shadow-soft: 0 20px 50px -25px rgba(35, 49, 42, 0.35);
    --ease: cubic-bezier(.22,.61,.36,1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Sora', sans-serif;
    background: var(--ivory);
    color: var(--ink);
    line-height: 1.65;
    overflow-x: hidden;
}

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

a { color: inherit; }

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3, h4 {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    color: var(--moss-900);
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.05; font-optical-sizing: auto; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.15; }
h3 { font-size: 1.25rem; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Sora', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--clay);
}
.eyebrow::before {
    content: '';
    width: 22px;
    height: 1.5px;
    background: var(--clay);
}

.section { padding: 7rem 0; position: relative; }
.section--alt { background: var(--paper); }
.section-head { max-width: 640px; margin-bottom: 3.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; margin-top: 0.75rem; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.95rem 2rem;
    background: var(--clay);
    color: var(--paper);
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    border: 1px solid var(--clay);
    transition: transform 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
    cursor: pointer;
}
.btn:hover { background: var(--clay-dark); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.btn--outline { background: transparent; color: var(--moss-900); border-color: var(--line); }
.btn--outline:hover { background: var(--moss-900); color: var(--paper); border-color: var(--moss-900); }

/* ---------- Header ---------- */
header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    padding: 22px 0;
    transition: all 0.4s var(--ease);
}
header.scrolled {
    background: rgba(251, 248, 242, 0.92);
    backdrop-filter: blur(10px);
    padding: 14px 0;
    box-shadow: 0 1px 0 var(--line);
}
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: 'Fraunces', serif; font-size: 1.7rem; font-weight: 600; color: var(--moss-900); text-decoration: none; }
.logo-tagline { font-size: 0.62rem; letter-spacing: 0.28em; color: var(--clay); display: block; margin-top: -2px; font-weight: 600; }
.logo--image { display: inline-flex; align-items: center; }
.logo--image img { height: 44px; width: auto; display: block; }

nav ul { display: flex; list-style: none; align-items: center; gap: 34px; }
nav ul li a {
    text-decoration: none; color: var(--moss-900); font-weight: 500; font-size: 0.92rem;
    position: relative; padding-bottom: 4px;
}
nav ul li a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1.5px;
    background: var(--clay); transition: width 0.3s var(--ease);
}
nav ul li a:hover::after { width: 100%; }

.language-toggle {
    display: flex; align-items: center; background: var(--paper);
    border-radius: 999px; padding: 3px; border: 1px solid var(--line);
}
.language-option {
    padding: 7px 15px; border-radius: 999px; cursor: pointer;
    font-size: 0.78rem; font-weight: 600; color: var(--ink-soft); transition: all 0.3s var(--ease);
}
.language-option.active { background: var(--moss-900); color: var(--paper); }

.menu-toggle {
    display: none; font-size: 1.4rem; background: none; border: none; color: var(--moss-900);
    cursor: pointer; position: relative; z-index: 1300;
}

.nav-backdrop {
    position: fixed; inset: 0; background: rgba(35,49,42,0.45);
    opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease);
    z-index: 1050;
}
.nav-backdrop.show { opacity: 1; pointer-events: auto; }
body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    display: flex; align-items: center;
    padding-top: 120px;
    position: relative;
    background: radial-gradient(ellipse 80% 60% at 80% 0%, rgba(198,160,91,0.16), transparent 60%), var(--ivory);
    overflow: hidden;
}
.hero .container { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 4rem; align-items: center; }
.hero-copy .eyebrow { margin-bottom: 1.4rem; }
.hero-copy p { color: var(--ink-soft); font-size: 1.15rem; max-width: 480px; margin: 1.6rem 0 2.4rem; }
.hero-stamp {
    position: absolute; top: 96px; right: 6%;
    width: 92px; height: 92px; border-radius: 50%;
    border: 1.5px dashed var(--gold);
    display: flex; align-items: center; justify-content: center;
    text-align: center; font-size: 0.62rem; letter-spacing: 0.1em;
    color: var(--clay-dark); font-weight: 700; text-transform: uppercase;
    transform: rotate(-8deg);
}
.hero-media { position: relative; }
.hero-media .blob {
    border-radius: 63% 37% 54% 46% / 46% 41% 59% 54%;
    overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-soft);
}
.hero-media .blob img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .ring {
    position: absolute; width: 130px; height: 130px; border: 1.5px solid var(--gold);
    border-radius: 50%; bottom: -20px; left: -30px; z-index: -1;
}

/* ---------- About ---------- */
.about .container { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 4.5rem; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); aspect-ratio: 1/1; object-fit: cover; box-shadow: var(--shadow-soft); }
.about-badge {
    position: absolute; bottom: -22px; left: -22px; background: var(--moss-900); color: var(--paper);
    padding: 14px 22px; border-radius: var(--radius-md); font-weight: 600; font-size: 0.78rem;
    letter-spacing: 0.06em; text-transform: uppercase; box-shadow: var(--shadow-soft);
}
.about-copy p { color: var(--ink-soft); margin-bottom: 1.3rem; }
.about-list { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.6rem 0 1.8rem; }
.about-list .pill {
    display: flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line);
    padding: 12px 18px; border-radius: 999px; font-size: 0.9rem; font-weight: 500; color: var(--moss-900);
}
.about-list .pill i { color: var(--clay); }

/* ---------- How it works (ritual timeline) ---------- */
.how-it-works { background: var(--moss-900); color: var(--sand); }
.how-it-works .eyebrow { color: var(--gold); }
.how-it-works .eyebrow::before { background: var(--gold); }
.how-it-works h2 { color: var(--paper); }
.how-it-works .section-head p { color: rgba(245,240,228,0.65); }
.ritual-track { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; counter-reset: step; }
.ritual-track::before {
    content: ''; position: absolute; top: 34px; left: 8%; right: 8%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(198,160,91,0.5), transparent);
}
.ritual-step { position: relative; counter-increment: step; }
.ritual-step .num {
    width: 68px; height: 68px; border-radius: 50%; background: var(--moss-700); border: 1px solid rgba(198,160,91,0.4);
    display: flex; align-items: center; justify-content: center; font-family: 'Fraunces', serif; font-size: 1.4rem;
    color: var(--gold); margin-bottom: 1.6rem; position: relative; z-index: 1;
}
.ritual-step h3 { color: var(--paper); margin-bottom: 0.6rem; }
.ritual-step p { color: rgba(245,240,228,0.65); font-size: 0.95rem; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.service-card {
    background: var(--paper); border-radius: var(--radius-lg); padding: 2.4rem 2rem;
    border: 1px solid var(--line); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); }
.service-icon {
    width: 56px; height: 56px; border-radius: 50%; background: var(--ivory); color: var(--clay);
    display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 1.4rem;
}
.service-card h3 { margin-bottom: 0.7rem; }
.service-card p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 1.4rem; }
.duration-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.duration-tags span {
    font-size: 0.76rem; font-weight: 600; color: var(--moss-700); background: var(--sand);
    padding: 5px 12px; border-radius: 999px;
}

/* ---------- Why choose ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.why-card { text-align: center; padding: 2.2rem 1.4rem; }
.why-card .service-icon { margin: 0 auto 1.4rem; }
.why-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.why-card p { color: var(--ink-soft); font-size: 0.9rem; }

/* ---------- Banner ---------- */
.feature-highlight {
    text-align: center; padding: 6rem 0; background: linear-gradient(135deg, var(--clay), var(--clay-dark)); color: var(--paper);
}
.feature-highlight h2 { color: var(--paper); }
.feature-highlight p { color: rgba(251,248,242,0.85); max-width: 560px; margin: 1.2rem auto 2rem; }
.feature-highlight .btn { background: var(--paper); color: var(--clay-dark); border-color: var(--paper); }
.feature-highlight .btn:hover { background: var(--moss-900); color: var(--paper); border-color: var(--moss-900); }

/* ---------- Testimonials ---------- */
.testimonial-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 1.8rem; }
.testimonial-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.2rem; }
.testimonial-stars { color: var(--gold); margin-bottom: 1rem; font-size: 0.9rem; }
.testimonial-text { font-family: 'Fraunces', serif; font-size: 1.1rem; color: var(--moss-900); font-style: italic; margin-bottom: 1.4rem; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author .avatar {
    width: 42px; height: 42px; border-radius: 50%; background: var(--sand); display: flex; align-items: center;
    justify-content: center; font-weight: 700; color: var(--moss-900); overflow: hidden;
}
.testimonial-author .avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-author strong { font-size: 0.92rem; display: block; }
.testimonial-author span { font-size: 0.8rem; color: var(--ink-soft); }

/* ---------- CTA / Booking ---------- */
.cta { background: var(--moss-900); color: var(--paper); text-align: center; padding: 6.5rem 0; }
.cta h2 { color: var(--paper); }
.cta p { color: rgba(245,240,228,0.75); max-width: 560px; margin: 1.2rem auto 2rem; }

/* ---------- WhatsApp float ---------- */
.whatsapp-link {
    position: fixed; bottom: 26px; right: 26px; width: 60px; height: 60px; border-radius: 50%;
    background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; text-decoration: none; box-shadow: var(--shadow-soft); z-index: 999;
    transition: transform 0.3s var(--ease);
}
.whatsapp-link:hover { transform: scale(1.08); }
.whatsapp-tooltip {
    position: fixed; bottom: 96px; right: 26px; max-width: 220px; background: var(--paper);
    border: 1px solid var(--line); border-radius: var(--radius-md); padding: 12px 16px; font-size: 0.82rem;
    box-shadow: var(--shadow-soft); z-index: 998; display: none;
}
.whatsapp-tooltip.show { display: block; }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: rgba(245,240,228,0.7); padding: 5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
footer h3 { color: var(--paper); font-size: 1.05rem; margin-bottom: 1.1rem; }
footer .logo { color: var(--paper); }
.footer-logo-chip { display: inline-flex; align-items: center; background: var(--paper); padding: 10px 18px; border-radius: 14px; margin-bottom: 1rem; }
.footer-logo-chip img { height: 34px; width: auto; display: block; }
footer p { color: rgba(245,240,228,0.6); font-size: 0.92rem; }
.footer-list { list-style: none; }
.footer-list li { margin-bottom: 0.6rem; font-size: 0.92rem; }
.social-row { display: flex; gap: 12px; margin-top: 1.2rem; }
.social-row a {
    width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(245,240,228,0.2);
    display: flex; align-items: center; justify-content: center; text-decoration: none; color: var(--paper);
}
.footer-bottom { border-top: 1px solid rgba(245,240,228,0.12); padding-top: 1.8rem; text-align: center; font-size: 0.82rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    * { scroll-behavior: auto !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .hero .container, .about .container { grid-template-columns: 1fr; }
    .hero-media { order: -1; max-width: 380px; margin: 0 auto; }
    .ritual-track { grid-template-columns: 1fr; gap: 2.2rem; }
    .ritual-track::before { display: none; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    nav { position: fixed; top: 0; right: -100%; width: 78%; max-width: 320px; height: 100vh;
        background: var(--paper); flex-direction: column; padding: 100px 32px 32px; transition: right 0.4s var(--ease);
        box-shadow: -10px 0 40px rgba(0,0,0,0.15); z-index: 1100; overflow-y: auto; }
    nav.open { right: 0; }
    nav ul { flex-direction: column; align-items: flex-start; gap: 22px; }
    .menu-toggle { display: block; }
    .section { padding: 4.5rem 0; }
    .services-grid, .why-grid, .footer-grid { grid-template-columns: 1fr; }
    .about-badge { position: static; margin-top: 16px; display: inline-block; }
}
