/* Colors pulled from the fairy logo */
:root {
  --cream: #fff7f0;
  --peach: #fde4d0;
  --peach-deep: #f8c6a2;
  --rose: #e0457b;
  --magenta: #b5245f;
  --magenta-dark: #8f1a4a;
  --plum: #4a1f33;
  --plum-soft: #7a4a5e;
  --gold: #a87516;
  --gold-light: #f2c75c;
  --leaf: #5f7d27;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 6px 24px rgba(181, 36, 95, 0.12);
}

/* Show only the active language */
html[lang="es"] [lang="en"]:not(html),
html[lang="en"] [lang="es"]:not(html) { display: none !important; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--plum);
  background: var(--cream);
  padding-bottom: 80px; /* room for the sticky book button */
}
img { max-width: 100%; display: block; }
a { color: var(--magenta); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
.script { font-family: "Great Vibes", cursive; font-weight: 400; color: var(--magenta); }
h2.script { font-size: clamp(2.6rem, 9vw, 3.6rem); text-align: center; }
.center { text-align: center; }
.small { font-size: .85rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 4px 12px;
  padding: 8px 16px;
  background: rgba(255, 247, 240, .95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--peach-deep);
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--magenta); font-weight: 800; }
.brand img { border-radius: 50%; }

/* Social icons (header + footer) */
.socials { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.socials:empty { display: none; }
.site-header .socials { margin-right: auto; }
.socials a { width: 30px; height: 30px; border-radius: 50%; background: var(--magenta); display: grid; place-items: center; }
.socials a:hover { background: var(--magenta-dark); }
.socials img { width: 16px; height: 16px; }
.socials-footer { justify-content: center; margin: -8px 0 20px; }
.socials-footer a { width: 40px; height: 40px; background: rgba(255, 255, 255, .18); border: 2px solid var(--gold-light); }
.socials-footer img { width: 20px; height: 20px; }
@media (max-width: 419px) { /* keep the phone header on two lines */
  .site-header .socials { gap: 4px; }
  .site-header .socials a { width: 24px; height: 24px; }
  .site-header .socials img { width: 13px; height: 13px; }
  .lang-opt { padding: 2px 7px; }
  .header-actions .btn-small { padding: 8px 12px; }
}
@media (max-width: 419px) { .brand span { display: none; } }
.header-actions { display: flex; align-items: center; gap: 8px; }
.main-nav {
  order: 3; width: 100%;
  display: flex; gap: 18px; overflow-x: auto;
  padding: 2px 0 4px; scrollbar-width: none;
}
.main-nav a { color: var(--plum); text-decoration: none; font-weight: 700; font-size: .95rem; white-space: nowrap; }
.main-nav a:hover { color: var(--magenta); }

.lang-toggle {
  display: flex; border: 2px solid var(--magenta); border-radius: 999px;
  background: var(--white); padding: 2px; cursor: pointer; font: inherit;
}
.lang-opt { padding: 2px 10px; border-radius: 999px; font-weight: 800; font-size: .8rem; color: var(--magenta); }
html[lang="es"] .lang-opt[data-l="es"],
html[lang="en"] .lang-opt[data-l="en"] { background: var(--magenta); color: var(--white); }

/* Buttons */
.btn {
  display: inline-block; text-align: center;
  background: linear-gradient(135deg, var(--rose), var(--magenta));
  color: var(--white); font-weight: 800; text-decoration: none;
  padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer; font: inherit; font-weight: 800;
  box-shadow: 0 4px 14px rgba(181, 36, 95, .3);
}
.btn:hover { background: var(--magenta-dark); }
.btn-small { padding: 8px 16px; font-size: .9rem; }
.btn-ghost { background: var(--white); color: var(--magenta); border: 2px solid var(--magenta); box-shadow: none; }
.btn-ghost:hover { background: var(--peach); }
.btn-block { width: 100%; }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 2px; }

/* Hero */
.hero { background: linear-gradient(var(--peach), var(--cream)); text-align: center; }
.hero-img { width: 100%; height: auto; }
.hero-img.is-photo { height: min(70vh, 560px); object-fit: cover; } /* a banner photo Keylin picked */
.hero-text { padding: 24px 16px 40px; max-width: 640px; margin: 0 auto; }
.hero h1 { font-size: clamp(1.5rem, 5.5vw, 2.2rem); color: var(--plum); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px; }

/* Sections */
.section { padding: 48px 16px; max-width: 1080px; margin: 0 auto; }
.section-tint { max-width: none; background: var(--peach); }
.section-tint > * { max-width: 1080px; margin-left: auto; margin-right: auto; }
.section-intro { text-align: center; color: var(--plum-soft); max-width: 560px; margin: 0 auto 28px; }

/* Services */
.menu { display: grid; gap: 20px; }
.menu-group { background: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); border-top: 4px solid var(--gold-light); }
.menu-group h3 { color: var(--magenta); font-size: 1.2rem; }
.menu-group ul { list-style: none; margin: 0; padding: 0; }
.menu-group li {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  padding: 12px 0; border-bottom: 1px dashed var(--peach-deep);
}
.menu-group li:last-child { border-bottom: 0; }
.menu-group li b { display: block; }
.menu-group li small { display: block; color: var(--plum-soft); font-size: .88rem; }
.menu-group li small.time { font-weight: 700; }
.price { font-weight: 800; color: var(--magenta); white-space: nowrap; }
.badge {
  display: inline-block; vertical-align: middle; margin-left: 4px;
  background: var(--gold-light); color: var(--plum);
  font-size: .7rem; font-weight: 800; text-transform: uppercase;
  padding: 2px 8px; border-radius: 999px;
}
.addons-title { margin-top: 20px; }
.addons-title small { color: var(--plum-soft); font-weight: 400; font-size: .85rem; }
li[data-service] { cursor: pointer; }
li[data-service]:hover b { color: var(--magenta); }
.menu + .center { margin-top: 28px; }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 24px; }
.chip {
  font: inherit; font-weight: 700; font-size: .9rem;
  border: 2px solid var(--magenta); background: var(--white); color: var(--magenta);
  border-radius: 999px; padding: 6px 14px; cursor: pointer;
}
.chip.is-active { background: var(--magenta); color: var(--white); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.g-item { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 4; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.g-item:hover img { transform: scale(1.04); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(74, 31, 51, .85); }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 12px; }
.lightbox p { color: var(--white); text-align: center; margin: 10px 0 0; }
.lb-close {
  position: absolute; top: 8px; right: 8px; width: 44px; height: 44px;
  border-radius: 50%; border: 0; background: var(--white); color: var(--magenta);
  font-size: 1.8rem; line-height: 1; cursor: pointer;
}

/* About */
.about { display: grid; gap: 28px; align-items: center; }
.about h2.script { text-align: left; }
.about-img { border-radius: var(--radius); box-shadow: var(--shadow); max-height: 520px; width: 100%; object-fit: cover; height: auto; }
.ticks { list-style: none; padding: 0; }
.ticks li { padding-left: 28px; position: relative; margin: 6px 0; font-weight: 700; }
.ticks li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }

/* Reviews */
.reviews { display: grid; gap: 16px; }
.reviews blockquote { margin: 0; background: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.reviews blockquote p { margin: 0 0 8px; font-style: italic; }
.reviews cite { color: var(--plum-soft); font-style: normal; font-weight: 700; }
.reviews-summary { text-align: center; font-size: 1.1rem; margin: -8px 0 20px; }
.stars { color: #e0a400; letter-spacing: 2px; }
.stars .off { color: #e6d3da; }
.reviews blockquote .stars { display: block; margin-bottom: 6px; }
.reviews-note { text-align: center; color: var(--plum-soft); font-size: .85rem; margin: 18px 0 0; }

/* Policies */
.policies { display: grid; gap: 14px; }
.policy { background: var(--white); border-radius: var(--radius); padding: 18px 20px; border-left: 5px solid var(--rose); box-shadow: var(--shadow); }
.policy h3 { font-size: 1.05rem; color: var(--magenta); margin-bottom: 4px; }
.policy p { margin: 0; }

/* Booking form */
.book-card { background: var(--white); border-radius: 24px; padding: 28px 18px; box-shadow: var(--shadow); max-width: 640px !important; border: 2px solid var(--gold-light); }
form label { display: block; font-weight: 700; margin-bottom: 14px; }
input, select, textarea {
  display: block; width: 100%; margin-top: 6px;
  font: inherit; font-weight: 400; color: var(--plum);
  padding: 12px 14px; border-radius: 12px;
  border: 2px solid var(--peach-deep); background: var(--cream);
}
input:focus, select:focus, textarea:focus { border-color: var(--magenta); outline: none; }
.is-invalid { border-color: #c62828 !important; background: #fff0f0; }
.row { display: grid; gap: 0 14px; }
label.check { display: flex; align-items: center; gap: 10px; font-weight: 600; }
label.check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--magenta); }
fieldset { border: 0; padding: 0; margin: 0 0 14px; }
legend { font-weight: 700; margin-bottom: 6px; }
.times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.times label { margin: 0; }
.times input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.times span {
  display: block; text-align: center; padding: 10px 4px; border-radius: 12px;
  border: 2px solid var(--peach-deep); background: var(--cream); font-weight: 700; cursor: pointer;
}
.times input:checked + span { background: var(--magenta); border-color: var(--magenta); color: var(--white); }
.times input:focus-visible + span { outline: 3px solid var(--gold-light); }
.times.is-invalid span { border-color: #c62828; }
.times input:disabled + span { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.times-msg { grid-column: 1 / -1; margin: 0; padding: 10px 0; color: var(--plum-soft); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lang-note {
  background: var(--peach); border-radius: 12px; padding: 10px 14px;
  font-size: .92rem; text-align: center; margin: -14px 0 24px;
}
.hint { font-weight: 400; color: var(--plum-soft); font-size: .85rem; }
.pick-list { border: 2px solid var(--peach-deep); border-radius: 14px; background: var(--cream); padding: 4px 14px; }
.pick-list.is-invalid { border-color: #c62828; }
label.pick {
  display: flex; align-items: center; gap: 12px; margin: 0;
  padding: 10px 0; border-bottom: 1px dashed var(--peach-deep); font-weight: 700; cursor: pointer;
}
label.pick:last-child { border-bottom: 0; }
label.pick input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--magenta); }
.pick-name { flex: 1; }
.pick-name small { display: block; font-weight: 400; color: var(--plum-soft); font-size: .85rem; }
.form-error { color: #c62828; font-weight: 700; }
.form-done { text-align: center; }
.form-done h3 { color: var(--magenta); font-size: 1.5rem; }
.note { color: var(--plum-soft); font-size: .9rem; }

/* Footer */
.site-footer { background: var(--magenta); color: var(--white); text-align: center; padding: 40px 16px 24px; }
.site-footer img { margin: 0 auto; border-radius: 50%; border: 3px solid var(--gold-light); }
.site-footer a { color: var(--white); font-weight: 700; }
.site-footer h3 { color: var(--gold-light); font-size: 1rem; margin: 0 0 4px; }
.site-footer p { margin: 4px 0; }
.footer-name { color: var(--white); font-size: 2.4rem; margin: 6px 0 20px !important; }
.footer-cols { display: grid; gap: 20px; max-width: 900px; margin: 0 auto 24px; }

/* Sticky book button (phones) */
.sticky-book {
  position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 30;
  text-align: center; padding: 15px; border-radius: 999px;
  background: linear-gradient(135deg, var(--rose), var(--magenta));
  color: var(--white); font-weight: 800; text-decoration: none; font-size: 1.05rem;
  box-shadow: 0 6px 20px rgba(74, 31, 51, .35);
  transition: transform .25s, opacity .25s;
}
.sticky-book.is-hidden { transform: translateY(120%); opacity: 0; pointer-events: none; }

/* Bigger screens */
@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .sticky-book { display: none; }
  .main-nav { order: 0; width: auto; }
  .menu { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .about { grid-template-columns: 2fr 3fr; }
  .reviews, .policies { grid-template-columns: repeat(3, 1fr); }
  .row { grid-template-columns: 1fr 1fr; }
  .book-card { padding: 36px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  html { scroll-padding-top: 80px; }
}
