/* ---------- Themes ---------- */
:root,
:root[data-theme="rose"] {
  --bg: #fbf6f3;
  --surface: #ffffff;
  --ink: #3a2e30;
  --muted: #8a7a7c;
  --accent: #b76e79;
  --accent-ink: #ffffff;
  --gold: #c9a24b;
  --line: #eaddd8;
  --header-bg: #2c2124;
  --footer-bg: #2c2124;
  --footer-ink: #f6ece9;
  --shadow: 0 6px 24px rgba(58, 46, 48, 0.1);
  --shadow-hover: 0 14px 34px rgba(58, 46, 48, 0.18);
  --overlay: linear-gradient(180deg, rgba(64, 30, 39, 0.4) 0%, rgba(46, 20, 27, 0.82) 100%);
}

:root[data-theme="noir"] {
  --bg: #141114;
  --surface: #1e191b;
  --ink: #f2e9e8;
  --muted: #a89598;
  --accent: #8e2f44;
  --accent-ink: #ffffff;
  --gold: #c9a24b;
  --line: #322a2d;
  --header-bg: #1a1517;
  --footer-bg: #1a1517;
  --footer-ink: #f2e9e8;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  --shadow-hover: 0 14px 34px rgba(0, 0, 0, 0.6);
  --overlay: linear-gradient(180deg, rgba(30, 8, 15, 0.5) 0%, rgba(12, 4, 8, 0.88) 100%);
}

:root[data-theme="mint"] {
  --bg: #fafdfb;
  --surface: #ffffff;
  --ink: #1f2d28;
  --muted: #6d7f78;
  --accent: #2e7d5b;
  --accent-ink: #ffffff;
  --gold: #a9894e;
  --line: #dcebe3;
  --header-bg: #17332a;
  --footer-bg: #17332a;
  --footer-ink: #eef7f2;
  --shadow: 0 6px 24px rgba(31, 45, 40, 0.1);
  --shadow-hover: 0 14px 34px rgba(31, 45, 40, 0.18);
  --overlay: linear-gradient(180deg, rgba(16, 46, 35, 0.44) 0%, rgba(9, 31, 23, 0.84) 100%);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Jost", system-ui, sans-serif;
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  transition: background-color 200ms ease, color 200ms ease;
}

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  color: #fff;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.site-header.is-scrolled {
  background: var(--header-bg);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.logo {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.6rem;
  color: inherit;
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.lang-toggle button {
  background: none;
  border: 0;
  padding: 6px 2px;
  color: inherit;
  font: inherit;
  cursor: pointer;
  opacity: 0.65;
}

.lang-toggle button[aria-pressed="true"] {
  opacity: 1;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
}

.theme-picker {
  display: flex;
  gap: 8px;
}

.theme-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  cursor: pointer;
  padding: 0;
  transition: transform 200ms ease;
}

.theme-dot:hover {
  transform: scale(1.15);
}

.theme-dot[data-set-theme="rose"] { background: #b76e79; }
.theme-dot[data-set-theme="noir"] { background: #1e1518; }
.theme-dot[data-set-theme="mint"] { background: #2e7d5b; }

.theme-dot[aria-current="true"] {
  box-shadow: 0 0 0 2px var(--gold);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-family: "Jost", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, opacity 200ms ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  opacity: 0.88;
}

.btn-ghost {
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
}

.btn-small {
  padding: 8px 20px;
  font-size: 0.85rem;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn-small:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-whatsapp {
  background: #1faa55;
  color: #fff;
  width: 100%;
  padding: 14px 26px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  transition: background 200ms ease;
}

.hero-content {
  position: relative;
  padding: 96px 24px;
  max-width: 640px;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.hero .eyebrow {
  color: #e5c982;
}

.hero-title {
  font-size: clamp(2.2rem, 8vw, 4rem);
  font-weight: 700;
  font-style: italic;
  margin-bottom: 0.2em;
}

.hero-title span {
  display: block;
  font-style: normal;
  font-size: clamp(1rem, 3.4vw, 1.4rem);
  font-family: "Jost", system-ui, sans-serif;
  font-weight: 300;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  margin-top: 10px;
}

.hero-tagline {
  font-size: 1.1rem;
  opacity: 0.92;
  margin: 20px auto 32px;
  max-width: 32ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ---------- Sections ---------- */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--surface);
  transition: background-color 200ms ease;
}

.section-title {
  font-size: clamp(2rem, 6vw, 2.8rem);
  margin-bottom: 0.8em;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.card {
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: background-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

@media (hover: hover) and (min-width: 768px) {
  .card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
  }
}

.card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.card-body {
  padding: 24px 24px 28px;
}

.card-body h3 {
  font-size: 1.45rem;
  margin-bottom: 0.3em;
}

.card-body p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 1.3em;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-images img {
  border-radius: 14px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.about-images img:last-child {
  margin-top: 24px;
}

.about-text p:not(.eyebrow) {
  color: var(--muted);
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.testimonial {
  margin: 0;
  padding: 28px;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: background-color 200ms ease, box-shadow 200ms ease;
}

.stars {
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 10px;
}

.star-empty {
  opacity: 0.3;
}

.testimonial p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  font-style: italic;
}

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

.testimonial cite {
  font-style: normal;
  font-weight: 500;
  color: var(--ink);
}

/* ---------- Visit ---------- */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.hours-table th,
.hours-table td {
  text-align: left;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}

.hours-table td {
  text-align: right;
  color: var(--muted);
}

.address {
  color: var(--muted);
  font-size: 1rem;
}

/* Oversize the embed and crop its edges so the embed's own
   bottom-corner chrome never shows inside the rounded frame. */
.map {
  position: relative;
  height: 320px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.map iframe {
  position: absolute;
  top: -10px;
  left: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 70px);
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  text-align: center;
  padding: 64px 0 128px;
  transition: background-color 200ms ease, color 200ms ease;
}

.footer-logo {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 2.2rem;
  margin: 0;
}

.footer-tagline {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.75rem;
  opacity: 0.7;
  margin-bottom: 28px;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 28px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  opacity: 0.85;
}

.footer-note {
  font-size: 0.85rem;
  opacity: 0.6;
  margin-top: 16px;
}

/* ---------- Sticky CTA (mobile only) ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  display: none;
}

@media (max-width: 767px) {
  .sticky-cta {
    display: block;
  }
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 400ms ease, transform 400ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Desktop ---------- */
@media (min-width: 768px) {
  .site-header {
    padding: 16px 28px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .visit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer {
    padding-bottom: 64px;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section {
    padding: 96px 0;
  }
}
