/* ============================================================
   Opal Beauty Studio — Premium Boutique Stylesheet
   Pure CSS · No build step required
   ============================================================ */

:root {
  --bg: #FAF9F6;
  --surface: #FFFFFF;
  --surface-2: #F3EFEA;
  --ink: #1A1A1A;
  --ink-soft: #2A2A2A;
  --muted: #6B6B6B;
  --line: #E5E0D8;
  --line-strong: #C9C2B5;
  --whatsapp: #25D366;
  --accent: #8B7355;
  --shadow: 0 30px 60px -30px rgba(28, 28, 28, 0.18);
}

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

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

body {
  font-family: 'Jost', system-ui, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

::selection { background: var(--ink); color: var(--bg); }

/* ----- Layout ----- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 48px; } }

section { padding: 96px 0; }
@media (min-width: 768px) { section { padding: 128px 0; } }

.eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

.script {
  font-family: 'La Belle Aurore', cursive;
  font-weight: 400;
  color: var(--accent);
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}

h1 { font-size: clamp(3rem, 7vw, 6rem); }
h2 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }

p { color: var(--ink-soft); }
.muted { color: var(--muted); }

/* ----- Navigation ----- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, padding 0.4s ease;
  padding: 20px 0;
}
.nav.scrolled {
  background: rgba(250, 249, 246, 0.92);
  border-bottom-color: var(--line);
  padding: 14px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: flex; align-items: center; gap: 8px; }
.nav-logo img { height: 64px; width: auto; }
.nav-links { display: none; align-items: center; gap: 36px; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-link {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 400;
  color: var(--ink); position: relative; padding: 4px 0;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--ink); transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 16px; }

.lang-toggle {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
  background: transparent;
}
.lang-toggle button {
  background: transparent; border: 0; cursor: pointer;
  padding: 7px 14px;
  font-family: 'Jost', sans-serif;
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--muted);
  transition: all 0.3s ease;
}
.lang-toggle button.active {
  background: var(--ink); color: #fff;
}

.nav-cta {
  display: none;
  padding: 10px 22px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  background: var(--ink); color: #fff;
  border: 1px solid var(--ink);
  transition: background 0.3s ease, color 0.3s ease;
}
@media (min-width: 768px) { .nav-cta { display: inline-block; } }
.nav-cta:hover { background: transparent; color: var(--ink); }

.hamburger {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: transparent; border: 0; cursor: pointer; padding: 8px;
}
@media (min-width: 1024px) { .hamburger { display: none; } }
.hamburger span {
  width: 22px; height: 1px; background: var(--ink); transition: transform 0.3s ease, opacity 0.3s ease;
}
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 99;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 32px;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  letter-spacing: -0.01em;
}

/* ----- Hero ----- */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 80px; }
}

.hero-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.hero-eyebrow .line { width: 40px; height: 1px; background: var(--line-strong); }

.hero-script {
  font-family: 'La Belle Aurore', cursive;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--accent);
  margin-bottom: 8px;
  display: inline-block;
}

.hero-title { margin-bottom: 32px; }
.hero-title em { font-style: italic; color: var(--accent); font-weight: 400; }

.hero-body {
  max-width: 520px; font-size: 17px; line-height: 1.7; color: var(--ink-soft);
  margin-bottom: 44px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  font-family: 'Jost', sans-serif;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 400;
  cursor: pointer; border: 1px solid transparent;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-primary:hover { background: transparent; color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; border-color: var(--whatsapp); }
.btn-whatsapp:hover { background: #1ea654; border-color: #1ea654; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); padding: 16px 4px; border-bottom: 1px solid var(--ink); }
.btn-ghost:hover { color: var(--muted); border-color: var(--muted); }

.hero-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-top-left-radius: 50% 30%;
  border-top-right-radius: 50% 30%;
  background: var(--surface-2);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.8s ease; }
.hero-media:hover img { transform: scale(1.08); }

.hero-badge {
  position: absolute;
  bottom: -24px; left: -24px;
  background: var(--bg);
  padding: 18px 24px;
  border: 1px solid var(--line);
  display: flex; align-items: center; gap: 16px;
  box-shadow: var(--shadow);
}
.hero-badge .num { font-family: 'Cormorant Garamond', serif; font-size: 36px; font-weight: 300; line-height: 1; }
.hero-badge .lbl { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); max-width: 90px; line-height: 1.4; }

/* ----- Marquee strip ----- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  background: var(--surface);
}
.marquee-track {
  display: flex; gap: 64px; white-space: nowrap;
  animation: marquee 38s linear infinite;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
}
.marquee-track span { display: inline-flex; align-items: center; gap: 64px; }
.marquee-track .dot { font-size: 8px; color: var(--accent); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ----- Section heading ----- */
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head .eyebrow { display: block; margin-bottom: 16px; }
.section-head h2 { margin-bottom: 20px; }
.section-head h2 em { font-style: italic; color: var(--accent); font-weight: 400; }
.section-head p { font-size: 17px; color: var(--muted); max-width: 580px; }

/* ----- Services ----- */
.services { background: var(--surface); }
.filter-tabs {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 56px;
  border-bottom: 1px solid var(--line); padding-bottom: 16px;
}
.filter-tab {
  background: transparent; border: 1px solid transparent;
  padding: 10px 20px;
  font-family: 'Jost', sans-serif;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 999px;
}
.filter-tab:hover { color: var(--ink); }
.filter-tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.services-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 56px 80px;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: 1fr 1fr; } }

.service-group { break-inside: avoid; }
.service-group-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.service-item {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  position: relative;
}
.service-item .name { font-family: 'Cormorant Garamond', serif; font-size: 19px; font-weight: 400; }
.service-item .dots { flex: 1; border-bottom: 1px dotted var(--line-strong); transform: translateY(-4px); margin: 0 4px; min-width: 16px; }
.service-item .price { font-family: 'Jost', sans-serif; font-size: 14px; letter-spacing: 0.08em; color: var(--ink); white-space: nowrap; }

.services-foot {
  margin-top: 72px;
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
}
.services-foot p { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 20px; max-width: 600px; }

/* ----- Gallery ----- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 20px; }
}
.gallery-item {
  position: relative; overflow: hidden;
  background: var(--surface-2);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item.large { grid-column: span 2; grid-row: span 2; }
@media (max-width: 767px) { .gallery-item.large { grid-row: span 1; } }

/* ----- About ----- */
.about { background: var(--surface-2); }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1.05fr; gap: 80px; } }
.about-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--surface);
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.75rem, 2.6vw, 2.4rem);
  font-weight: 400;
  line-height: 1.2;
  margin: 28px 0 32px;
  color: var(--accent);
}
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.about-stat .num { font-family: 'Cormorant Garamond', serif; font-size: 40px; font-weight: 300; line-height: 1; }
.about-stat .lbl { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

/* ----- Visit ----- */
.visit-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 1024px) { .visit-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.visit-map { aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); }
.visit-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.4) contrast(0.95); }
.visit-info { display: flex; flex-direction: column; gap: 28px; }
.visit-info .row .label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.visit-info .row .value { font-family: 'Cormorant Garamond', serif; font-size: 22px; line-height: 1.4; font-weight: 400; }
.visit-info .row .value a:hover { color: var(--accent); }

/* ----- Footer ----- */
footer.footer {
  background: var(--ink); color: #E8E5DD;
  padding: 96px 0 32px;
}
.footer h4 { color: #fff; font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase; font-family: 'Jost', sans-serif; font-weight: 400; margin-bottom: 22px; }
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 48px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-logo img { height: 70px; filter: invert(1) brightness(2); margin-bottom: 20px; }
.footer-tagline { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 22px; color: #fff; max-width: 320px; line-height: 1.4; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer li, .footer p { font-size: 14px; line-height: 1.6; color: #B5B0A5; }
.footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid #2E2E2E;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 12px; color: #807B6E;
}

/* ----- Floating WhatsApp ----- */
.fab-wa {
  position: fixed; bottom: 22px; right: 22px;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 28px -10px rgba(37, 211, 102, 0.55);
  z-index: 90;
  transition: transform 0.3s ease;
  animation: pulse 2.4s ease-in-out infinite;
}
.fab-wa:hover { transform: scale(1.1); animation: none; }
.fab-wa svg { width: 28px; height: 28px; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 16px 28px -10px rgba(37, 211, 102, 0.55), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 16px 28px -10px rgba(37, 211, 102, 0.55), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ----- Reveal animation ----- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ----- Utilities ----- */
.divider { width: 100%; height: 1px; background: var(--line); }
.text-accent { color: var(--accent); }
