/* LUMORA Ladies Salon — main stylesheet */

:root {
  --gold: #bfa048;
  --gold-mid: #ceba70;
  --gold-dark: #8f6e2c;
  --beige: #e5e0d8;
  --beige-alt: #ddd8d0;
  --peach: #ffd4bd;
  --text: #6b5744;
  --white: #ffffff;
  --light-gray: #f5f2ee;
  --charcoal: #3d3d3d;
  --footer-bg: #6b5744;
  --shadow-soft: 0 18px 50px rgba(62, 52, 42, 0.08);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-script: "Great Vibes", cursive;
  --container: min(1120px, 92vw);
  --container-wide: min(1320px, 94vw);
  --header-height: 76px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text);
  background: var(--light-gray);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100%;
}

main {
  overflow-x: hidden;
  max-width: 100%;
}

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

a {
  color: var(--gold-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--charcoal);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--gold);
  color: var(--white);
  z-index: 10000;
}

.skip-link:focus {
  left: 1rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.container-wide {
  width: var(--container-wide);
  margin-inline: auto;
}

.muted {
  color: rgba(107, 87, 68, 0.82);
}

.small {
  font-size: 0.9rem;
}

.lead {
  font-size: 1.12rem;
}

.section-label {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.35rem;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--charcoal);
}

.section-title--center {
  text-align: center;
}

/* Animate children only — section backgrounds stay opaque (no “see‑through gaps” below). */
.section-reveal > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .section-reveal > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .lumora-slide,
  .lumora-slide.lumora-reveal-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(120, 85, 35, 0.38);
}

.btn-primary:hover {
  filter: brightness(1.03);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--gold-dark);
  color: var(--charcoal);
}

.btn-outline:hover {
  background: rgba(191, 160, 78, 0.2);
  color: var(--charcoal);
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-nav {
  padding-inline: 1rem;
  font-size: 0.88rem;
}

.text-link {
  font-weight: 500;
  color: var(--gold-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(178, 145, 70, 0.55);
  padding-bottom: 2px;
}

.text-link:hover {
  border-bottom-color: var(--charcoal);
}

.icon-svg {
  flex-shrink: 0;
  color: var(--gold-dark);
}

.icon-lg {
  width: 32px;
  height: 32px;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  transition: background 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}

.site-header.is-scrolled {
  background: color-mix(in srgb, var(--beige) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-height);
  padding-block: 0.35rem;
}

.brand img {
  height: auto;
  width: clamp(140px, 28vw, 180px);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle-lines {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--charcoal);
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 26px;
  height: 2px;
  background: var(--charcoal);
  transition: transform 0.25s;
}

.nav-toggle-lines::before {
  top: -8px;
}

.nav-toggle-lines::after {
  top: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
}

.nav-list {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.nav-list a:hover {
  color: var(--gold-dark);
}

/* Hero */
.hero {
  position: relative;
  /* Lighter than global --beige — airy hero wash */
  --beige: #f3f1ee;
  --beige-alt: #eeebe8;
  min-height: min(100vh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + 3rem) 0 4rem;
  overflow: hidden;
  background: linear-gradient(165deg, var(--white) 0%, var(--beige) 45%, var(--beige-alt) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(120deg, rgba(251, 249, 247, 0.94) 0%, rgba(243, 240, 236, 0.76) 55%, rgba(191, 160, 72, 0.22) 100%),
    url("../assets/images/pexels-artbovich-7750113.jpg");
  background-size: 100% 100%, cover;
  background-position: 0 0, center 40%;
  background-repeat: no-repeat;
  filter: saturate(0.95);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 120px;
  pointer-events: none;
}

.wave-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-logo-wrap img {
  margin-inline: auto;
  width: min(340px, 78vw);
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 400;
  font-style: italic;
  color: #4a3c31;
  margin: 1rem 0 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.hero-actions .btn-outline {
  background: color-mix(in srgb, var(--beige) 82%, white 18%);
  border-color: rgba(160, 126, 54, 0.65);
  box-shadow: 0 10px 28px rgba(62, 52, 42, 0.12);
}

.hero-actions .btn-outline:hover {
  background: color-mix(in srgb, var(--beige) 72%, white 28%);
  color: var(--charcoal);
}
.scroll-hint {
  display: block;
  margin-top: 3rem;
  width: 26px;
  height: 42px;
  margin-inline: auto;
  border: 2px solid rgba(107, 87, 68, 0.35);
  border-radius: 20px;
  position: relative;
}

.scroll-hint-line {
  display: block;
  width: 4px;
  height: 10px;
  background: var(--gold-dark);
  border-radius: 4px;
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  animation: scroll-dot 1.6s ease-in-out infinite;
}

@keyframes scroll-dot {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 14px);
  }
}

/* About */
.about {
  position: relative;
  padding: clamp(4rem, 10vw, 6rem) 0;
  background: var(--white);
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.gold-rule {
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 1.25rem;
  border-radius: 3px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-weight: 500;
}

.about-mask {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 5;
}

.about-mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Services */
.services {
  position: relative;
  padding: clamp(4rem, 10vw, 6rem) 0;
  overflow: hidden;
}

.services-bg-tone {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--light-gray) 0%, var(--beige) 100%);
  z-index: -1;
}

.services-head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.title-wave {
  width: min(200px, 40vw);
  height: 4px;
  margin: 0.75rem auto 0;
  background: repeating-linear-gradient(
    90deg,
    var(--gold),
    var(--gold) 8px,
    transparent 8px,
    transparent 16px
  );
  opacity: 0.65;
  border-radius: 4px;
}

/* Services: slide in from sides when each block enters viewport (main.js adds .svc-reveal-visible) */
#services .services-head {
  opacity: 0;
  transform: translate3d(-100%, 0, 0);
  transition:
    opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
}

#services .services-head.svc-reveal-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

#services .svc-row {
  /* Must not use content-visibility: auto here — it deadlocks with off-screen
     transforms + IntersectionObserver on mobile (invisible rows, empty bands). */
  content-visibility: visible;
  contain-intrinsic-size: unset;
  opacity: 0;
  transition:
    opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.04s,
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Image-left rows: glide in from the left */
#services .svc-row.svc-row--media-start {
  transform: translate3d(-100%, 0, 0);
}

/* Image-right rows: glide in from the right */
#services .svc-row.svc-row--media-end {
  transform: translate3d(100%, 0, 0);
}

#services .svc-row.svc-reveal-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

#services .svc-row.svc-reveal-visible .svc-media img {
  transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  #services .svc-row.svc-reveal-visible:hover .svc-media img {
    transform: scale(1.04);
  }
}

@media (max-width: 820px) {
  /* Shorter travel on phones — :not(...) so revealed rows aren’t pinned off-center
     (.svc-row--media-start matched after .svc-reveal-visible otherwise). */
  #services .services-head:not(.svc-reveal-visible) {
    transform: translate3d(-18px, 0, 0);
  }

  #services .svc-row.svc-row--media-start:not(.svc-reveal-visible) {
    transform: translate3d(-28px, 0, 0);
  }

  #services .svc-row.svc-row--media-end:not(.svc-reveal-visible) {
    transform: translate3d(28px, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  #services .services-head,
  #services .svc-row {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  #services .svc-row .svc-media img {
    transition: none !important;
    transform: none !important;
  }

  #services .svc-row:hover .svc-media img {
    transform: none !important;
  }
}

.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-bottom: clamp(3rem, 8vw, 5rem);
  content-visibility: auto;
  contain-intrinsic-size: auto 420px;
}

.svc-text {
  min-width: 0;
}

.svc-row--media-end .svc-media {
  order: 2;
}

@media (max-width: 820px) {
  /* Placed after base .svc-row so this wins the cascade */
  .svc-row {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    margin-bottom: clamp(2.25rem, 7vw, 3.75rem);
  }

  .svc-row--media-end .svc-media {
    order: -1;
  }

  #services .svc-media,
  #services .svc-text {
    min-width: 0;
  }
}

.svc-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.svc-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.svc-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(191, 160, 78, 0.5);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.6);
}

.svc-title {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
  color: var(--charcoal);
}

.svc-featured {
  margin-top: 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  border: 2px solid rgba(191, 160, 78, 0.55);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(229, 224, 216, 0.65));
  text-align: center;
}

.svc-featured-inner {
  max-width: 720px;
  margin-inline: auto;
}

.svc-featured-img {
  margin-top: 1.25rem;
  border-radius: var(--radius-md);
  width: 100%;
  max-height: 340px;
  object-fit: cover;
}

/* Gallery */
.gallery {
  padding: clamp(4rem, 10vw, 6rem) 0;
  background: var(--white);
}

.gallery-head {
  text-align: center;
  margin-bottom: 2rem;
}

.gallery-masonry {
  columns: 3;
  column-gap: 1rem;
}

@media (max-width: 820px) {
  .gallery-masonry {
    columns: 2;
    column-gap: clamp(0.5rem, 3vw, 0.85rem);
  }

  .gallery-item {
    margin-bottom: clamp(0.5rem, 3vw, 0.85rem);
  }
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  padding: 0;
  border: none;
  cursor: zoom-in;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: block;
  width: 100%;
  background: transparent;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.55s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item--tall img {
  min-height: min(420px, 58vw);
  object-fit: cover;
}

.gallery-item--wide img {
  min-height: min(260px, 38vw);
  object-fit: cover;
}

@media (max-width: 820px) {
  .gallery-item--tall img {
    min-height: min(260px, 44vw);
  }

  .gallery-item--wide img {
    min-height: min(150px, 28vw);
  }
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(62, 52, 42, 0.55), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
}

.gallery-item:hover .gallery-overlay,
.gallery-item:focus-visible .gallery-overlay {
  opacity: 1;
}

.gallery-zoom-label {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/*
 * Slide-in reveals (same motion language as #services): .lumora-slide + .lumora-reveal-visible (main.js IO).
 */
#about.section-reveal > *,
#gallery.section-reveal > *,
#team.section-reveal > *,
#testimonials.section-reveal > *,
#contact.section-reveal > * {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.lumora-slide {
  opacity: 0;
  transition:
    opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.04s,
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.lumora-slide--media-start {
  transform: translate3d(-100%, 0, 0);
}

.lumora-slide--media-end {
  transform: translate3d(100%, 0, 0);
}

.lumora-slide.lumora-reveal-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 820px) {
  .lumora-slide--media-start:not(.lumora-reveal-visible) {
    transform: translate3d(-28px, 0, 0);
  }

  .lumora-slide--media-end:not(.lumora-reveal-visible) {
    transform: translate3d(28px, 0, 0);
  }
}

/* Team */
.team {
  padding: clamp(4rem, 10vw, 6rem) 0;
  background: linear-gradient(180deg, var(--light-gray), var(--beige));
}

.team-head {
  text-align: center;
  margin-bottom: 2rem;
}

.team-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}

.team-member {
  flex: 0 0 min(260px, 78vw);
  scroll-snap-align: start;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(191, 160, 78, 0.35);
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: border-color 0.25s, transform 0.25s;
}

.team-member.lumora-slide {
  transition:
    opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.04s,
    transform 1s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.25s;
}

.team-member:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

#team.section-reveal .team-member.lumora-slide.lumora-reveal-visible:hover {
  transform: translateY(-4px);
}

.team-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: linear-gradient(145deg, var(--gold-mid), var(--gold-dark));
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.06em;
  overflow: hidden;
  position: relative;
}

.team-avatar-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: none;
}

.team-avatar--photo.team-avatar {
  background: var(--gold-dark);
}

.team-avatar--photo .team-avatar-img {
  display: block;
}

.team-avatar--photo span {
  display: none;
}

.team-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
}

.team-role {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 0 0 0.75rem;
}

.team-bio {
  margin: 0;
  font-size: 0.95rem;
}

/* Testimonials */
.testimonials {
  padding: clamp(4rem, 10vw, 6rem) 0;
  background: var(--white);
}

.testimonials-head {
  text-align: center;
  margin-bottom: 2rem;
}

.carousel {
  max-width: 720px;
  margin-inline: auto;
}

.carousel-viewport {
  position: relative;
  min-height: 240px;
}

.quote-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(191, 160, 78, 0.35);
  background: var(--light-gray);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease;
  z-index: 0;
}

.quote-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.quote-mark {
  font-family: var(--font-script);
  font-size: 4rem;
  line-height: 0.5;
  display: block;
  color: rgba(191, 160, 78, 0.55);
  margin-bottom: 0.5rem;
}

.quote-slide p {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  line-height: 1.5;
  margin: 0 0 1.25rem;
}

.quote-slide cite {
  font-style: normal;
  font-weight: 500;
  font-size: 0.95rem;
}

.stars {
  display: flex;
  gap: 3px;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(191, 160, 78, 0.55);
  background: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--charcoal);
  transition: background 0.2s, border-color 0.2s;
}

.carousel-btn:hover {
  background: rgba(191, 160, 78, 0.18);
  border-color: var(--gold-dark);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(107, 87, 68, 0.25);
  cursor: pointer;
  padding: 0;
}

.carousel-dot.is-active {
  background: var(--gold-dark);
}

/* Contact */
.contact {
  position: relative;
  padding: clamp(4rem, 10vw, 6rem) 0;
  background: var(--beige);
}

.contact-wave-top {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

.contact-wave-top svg {
  display: block;
  width: 100%;
  height: 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 1rem;
}

.contact-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.contact-list a {
  font-weight: 500;
  color: var(--charcoal);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(191, 160, 78, 0.55);
  display: grid;
  place-items: center;
  color: var(--charcoal);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.65);
  border-color: var(--gold-dark);
}

.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16 / 10;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.contact-form-wrap {
  position: relative;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.97) 0%, rgba(253, 251, 246, 0.92) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: calc(var(--radius-lg) + 4px);
  border: 1px solid rgba(191, 160, 78, 0.42);
  box-shadow:
    0 4px 0 rgba(191, 160, 78, 0.35),
    0 24px 48px rgba(62, 52, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.booking-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(200px, 45%);
  height: 3px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold) 20%,
    var(--gold-dark) 50%,
    var(--gold) 80%,
    transparent
  );
  pointer-events: none;
}

.booking-card-head {
  margin-bottom: clamp(1.25rem, 3vw, 1.65rem);
}

.booking-card-eyebrow {
  margin-bottom: 0.4rem;
  letter-spacing: 0.24em;
}

.booking-card-title {
  margin: 0 0 0.45rem;
  line-height: 1.18;
}

.booking-card-lead {
  margin: 0 0 1.1rem;
  font-size: 0.94rem;
  line-height: 1.55;
  max-width: 36em;
}

.booking-card-divider {
  height: 3px;
  width: min(140px, 35%);
  margin-top: 0.25rem;
  background: repeating-linear-gradient(
    90deg,
    var(--gold),
    var(--gold) 6px,
    transparent 6px,
    transparent 12px
  );
  border-radius: 2px;
  opacity: 0.55;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: clamp(1.05rem, 2.5vw, 1.25rem);
}

.booking-form .field {
  margin-bottom: 0;
}

.booking-form label {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.42rem;
  color: rgba(61, 61, 61, 0.88);
}

.req {
  color: #b8860b;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  min-height: 2.875rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(107, 87, 68, 0.2);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.35;
  color: var(--charcoal);
  background: linear-gradient(180deg, #fffefc 0%, #ffffff 52%);
  box-shadow: inset 0 2px 4px rgba(62, 52, 42, 0.04);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.booking-form textarea {
  min-height: 7rem;
  padding-top: 0.75rem;
  resize: vertical;
}

.booking-form input::placeholder,
.booking-form textarea::placeholder {
  color: rgba(107, 87, 68, 0.45);
}

.booking-form select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 2.65rem;
  background-image:
    linear-gradient(180deg, #fffefc 0%, #ffffff 52%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235c4d3f' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position:
    0 0,
    right 1rem center;
  background-size:
    auto,
    1.15rem;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: none;
  border-color: rgba(161, 120, 50, 0.75);
  box-shadow:
    inset 0 2px 4px rgba(62, 52, 42, 0.04),
    0 0 0 3px rgba(191, 160, 78, 0.32),
    0 8px 22px rgba(191, 160, 78, 0.12);
  background: #fffefb;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 3vw, 1.35rem);
  align-items: start;
}

.field-error {
  display: block;
  font-size: 0.8125rem;
  color: #b91c1c;
  margin-top: 0.35rem;
  min-height: 1.15em;
  font-weight: 500;
}

.booking-form input.is-invalid,
.booking-form select.is-invalid,
.booking-form textarea.is-invalid {
  border-color: #c24141;
  box-shadow:
    inset 0 2px 4px rgba(62, 52, 42, 0.04),
    0 0 0 1px rgba(194, 65, 65, 0.2);
}

.booking-form-actions {
  margin-top: 0.25rem;
  padding-top: 0.15rem;
}

.btn-booking-submit {
  gap: 0.6rem;
  padding: 0.92rem 1.35rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
  box-shadow:
    0 4px 0 rgba(143, 100, 40, 0.45),
    0 14px 36px rgba(120, 85, 35, 0.34);
}

.btn-booking-submit .btn-booking-icon {
  flex-shrink: 0;
  opacity: 0.95;
}

.btn-booking-submit:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

.btn-booking-submit:active {
  transform: translateY(1px);
  box-shadow:
    0 2px 0 rgba(143, 100, 40, 0.5),
    0 8px 24px rgba(120, 85, 35, 0.28);
}

@media (prefers-reduced-motion: reduce) {
  .btn-booking-submit:hover,
  .btn-booking-submit:active {
    transform: none;
  }
}

/* Hidden CMS copy source for booking toast (no layout) */
.booking-msg-store {
  display: none !important;
}

/* Compact booking confirmation / error — fixed “tab” above quick actions */
.booking-toast {
  --toast-ink: #3a2616;
  position: fixed;
  z-index: 1100;
  left: 50%;
  bottom: calc(6rem + env(safe-area-inset-bottom, 0px));
  width: min(360px, calc(100vw - 1.5rem));
  margin: 0;
  padding: 0.72rem 2.25rem 0.72rem 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--toast-ink);
  background:
    linear-gradient(152deg, rgba(255, 253, 247, 0.98) 0%, rgba(250, 243, 228, 0.97) 42%, rgba(244, 229, 196, 0.95) 100%);
  border: 1px solid rgba(143, 110, 44, 0.32);
  border-left: 4px solid #c9a042;
  box-shadow:
    0 1px 0 rgba(255, 252, 245, 0.9) inset,
    0 18px 42px rgba(61, 45, 28, 0.22),
    0 6px 16px rgba(191, 160, 72, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition:
    opacity 0.28s ease,
    visibility 0.28s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.booking-toast.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.booking-toast.booking-toast--success {
  border-left-color: #b8892f;
}

.booking-toast.booking-toast--error {
  color: #7f1d1d;
  background: linear-gradient(152deg, #fffbfb 0%, #fef2f2 55%, #fee2e2 100%);
  border-color: rgba(185, 28, 28, 0.32);
  border-left-color: #dc2626;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 16px 36px rgba(127, 29, 29, 0.12);
}

.booking-toast-text {
  margin: 0;
  flex: 1;
  min-width: 0;
}

.booking-toast-dismiss {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: none;
  border-radius: 8px;
  font: inherit;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  color: rgba(58, 38, 22, 0.45);
  background: rgba(58, 38, 22, 0.06);
  transition: background 0.15s ease, color 0.15s ease;
}

.booking-toast-dismiss:hover {
  color: var(--toast-ink);
  background: rgba(58, 38, 22, 0.1);
}

.booking-toast--error .booking-toast-dismiss {
  color: rgba(127, 29, 29, 0.55);
  background: rgba(185, 28, 28, 0.08);
}

.booking-toast--error .booking-toast-dismiss:hover {
  color: #7f1d1d;
  background: rgba(185, 28, 28, 0.14);
}

@media (prefers-reduced-motion: reduce) {
  .booking-toast {
    transition: opacity 0.2s ease, visibility 0.2s ease;
    transform: translate(-50%, 0);
  }
}

@media (max-width: 540px) {
  .booking-toast {
    bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
    width: calc(100vw - 1.25rem);
    padding: 0.65rem 2.1rem 0.65rem 0.8rem;
    font-size: 0.86rem;
  }
}
.site-footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.92);
  padding: clamp(2.5rem, 6vw, 3.5rem) 0;
}

.footer-inner {
  text-align: center;
}

.footer-logo {
  margin-inline: auto;
  max-width: 180px;
  /* Render logo as solid white on dark footer (PNG must be transparent around artwork for best result) */
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.25rem 0;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 500;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.92);
}

.copyright {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
}

/* Floating quick actions (appointment pill + WhatsApp) */
.fab-stack {
  position: fixed;
  left: auto;
  top: auto;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 980;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.65rem;
  /* 100% avoids 100vw scrollbar / mobile viewport overflow strips at the edge */
  max-width: calc(100% - 2.5rem);
}

.fab-stack > a {
  flex-shrink: 0;
  text-decoration: none;
}

.fab-floating {
  box-shadow: 0 12px 30px rgba(62, 52, 42, 0.28);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.fab-floating:hover {
  transform: translateY(-2px);
}

.fab-floating:focus-visible {
  outline: 2px solid var(--gold-mid);
  outline-offset: 3px;
}

/* Text button — sits to the left of the WhatsApp icon */
.fab-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.52rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  font-family: var(--font-sans);
  font-size: clamp(0.8rem, 3.25vw, 0.9375rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.15;
}

.fab-book-label {
  white-space: nowrap;
}

/* Circular WhatsApp shortcut */
.fab-wa {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  display: grid;
  place-items: center;
}

.fab-book:hover,
.fab-wa:hover {
  filter: brightness(1.06);
}

/* Lightbox: flex centers the preview on all viewports. */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(20, 18, 16, 0.88);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding-inline: clamp(12px, 4vw, 2rem);
  padding-top: clamp(3.75rem, 14vw, 4.5rem);
  padding-bottom: clamp(6rem, 22vw, 7rem);
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox-img {
  display: block;
  flex-shrink: 1;
  width: auto;
  height: auto;
  max-width: min(94vw - 32px, 1100px);
  max-height: min(74vh, 900px);
  margin: 0 auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.45);
}

.lightbox-caption {
  position: absolute;
  bottom: clamp(5.5rem, 18vw, 7rem);
  left: 0;
  right: 0;
  width: 100%;
  max-width: min(94vw, 560px);
  margin-inline: auto;
  transform: none;
  text-align: center;
  padding-inline: 1rem;
  box-sizing: border-box;
  color: var(--white);
  font-size: 0.95rem;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 2.25rem;
  cursor: pointer;
  line-height: 1;
}

body.lightbox-open {
  overflow: hidden;
}
