/* ============================================================
   VIVA DAY SPA + MED SPA — Global Stylesheet
   vivadayspa.com rebuild | Novelio Technologies 2026
   ============================================================ */

/* ── 1. CSS CUSTOM PROPERTIES ─────────────────────────────── */
:root {
  /* Brand Colors — Espresso Brown palette (logo: #503629) */
  --clr-plum:        #503629;   /* primary brand — espresso brown (logo) */
  --clr-plum-dark:   #3A2519;   /* deeper mahogany */
  --clr-plum-light:  #6B4A35;   /* warm medium brown */
  --clr-gold:        #C9A96E;   /* champagne gold accent */
  --clr-gold-light:  #dfc08c;   /* soft gold */
  --clr-gold-dark:   #a8864d;   /* rich antique gold */
  --clr-blush:       #E8D5C0;   /* warm sand / blush */
  --clr-blush-light: #F5ECE0;   /* pale warm cream */
  --clr-cream:       #FBF8F3;   /* warm off-white background */
  --clr-cream-dark:  #F0E9DE;   /* warm cream section alt */
  --clr-charcoal:    #1C1209;   /* warm near-black */
  --clr-text:        #2D1F14;   /* warm dark brown text */
  --clr-text-muted:  #7A5C46;   /* warm muted brown */
  --clr-white:       #FFFFFF;
  --clr-success:     #2E7D32;
  --clr-error:       #C62828;

  /* Typography */
  --font-heading:    'Cormorant Garamond', Georgia, serif;
  --font-accent:     'Playfair Display', Georgia, serif;
  --font-body:       'DM Sans', 'Lato', system-ui, sans-serif;

  /* Font Sizes (fluid scale) */
  --fs-xs:    0.75rem;
  --fs-sm:    0.875rem;
  --fs-base:  1rem;
  --fs-md:    1.125rem;
  --fs-lg:    1.25rem;
  --fs-xl:    1.5rem;
  --fs-2xl:   1.875rem;
  --fs-3xl:   2.25rem;
  --fs-4xl:   3rem;
  --fs-5xl:   3.75rem;
  --fs-6xl:   4.5rem;

  /* Spacing */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-7:  1.75rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* Layout */
  --container-max: 1280px;
  --container-pad: clamp(1rem, 5vw, 2.5rem);

  /* Borders */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-pill:9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(80,54,41,0.08);
  --shadow-md:  0 4px 16px rgba(80,54,41,0.12);
  --shadow-lg:  0 8px 32px rgba(80,54,41,0.16);
  --shadow-xl:  0 16px 48px rgba(80,54,41,0.20);

  /* Transitions */
  --ease-out:   cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-in:    cubic-bezier(0.4, 0.0, 1, 1);
  --ease-inout: cubic-bezier(0.4, 0.0, 0.2, 1);
  --dur-fast:   150ms;
  --dur-base:   250ms;
  --dur-slow:   400ms;

  /* Z-index scale */
  --z-base:    0;
  --z-raised:  10;
  --z-dropdown:20;
  --z-sticky:  40;
  --z-overlay: 100;
  --z-modal:   200;
  --z-toast:   300;
}

/* ── 2. RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--clr-text);
  background-color: var(--clr-white);
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ── 3. TYPOGRAPHY ────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--clr-plum);
}

h1 { font-size: clamp(var(--fs-3xl), 5vw, var(--fs-5xl)); }
h2 { font-size: clamp(var(--fs-2xl), 4vw, var(--fs-4xl)); }
h3 { font-size: clamp(var(--fs-xl),  3vw, var(--fs-3xl)); }
h4 { font-size: clamp(var(--fs-lg),  2.5vw, var(--fs-2xl)); }
h5 { font-size: var(--fs-lg); }
h6 { font-size: var(--fs-md); }

p {
  font-size: var(--fs-base);
  line-height: 1.75;
  max-width: 70ch;
}

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.text-plum    { color: var(--clr-plum); }
.text-gold    { color: var(--clr-gold); }
.text-white   { color: var(--clr-white); }
.text-muted   { color: var(--clr-text-muted); }

.font-heading { font-family: var(--font-heading); }
.font-accent  { font-family: var(--font-accent); font-style: italic; }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: var(--sp-3);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(var(--fs-2xl), 3.5vw, var(--fs-4xl));
  color: var(--clr-plum);
  line-height: 1.15;
  margin-bottom: var(--sp-4);
}

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--clr-text-muted);
  max-width: 55ch;
  line-height: 1.7;
  margin-bottom: var(--sp-8);
}

/* ── 4. LAYOUT UTILITIES ──────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: clamp(var(--sp-16), 8vw, var(--sp-32));
}

.section--sm {
  padding-block: clamp(var(--sp-8), 5vw, var(--sp-16));
}

.section--lg {
  padding-block: clamp(var(--sp-24), 10vw, var(--sp-32));
}

.grid { display: grid; }
.flex { display: flex; }

.grid-2 { grid-template-columns: repeat(2, 1fr); gap: var(--sp-8); }
.grid-3 { grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-4 { gap: var(--sp-4); }
.gap-6 { gap: var(--sp-6); }
.gap-8 { gap: var(--sp-8); }

/* ── 5. BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  transition: background var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--clr-plum);
  color: var(--clr-gold);
  border: 2px solid var(--clr-plum);
}
.btn--primary:hover {
  background: var(--clr-plum-dark);
  border-color: var(--clr-plum-dark);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: transparent;
  color: var(--clr-plum);
  border: 2px solid var(--clr-plum);
}
.btn--secondary:hover {
  background: var(--clr-plum);
  color: var(--clr-gold);
}

.btn--gold {
  background: var(--clr-gold);
  color: var(--clr-plum);
  border: 2px solid var(--clr-gold);
}
.btn--gold:hover {
  background: var(--clr-gold-dark);
  border-color: var(--clr-gold-dark);
  box-shadow: var(--shadow-md);
}

.btn--outline-white {
  background: transparent;
  color: var(--clr-white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn--outline-white:hover {
  background: var(--clr-white);
  color: var(--clr-plum);
  border-color: var(--clr-white);
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--fs-xs);
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: var(--fs-base);
}

/* Pulse ring animation for hero CTAs */
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(201,169,110,0.4); }
  70%  { box-shadow: 0 0 0 12px rgba(201,169,110,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,169,110,0); }
}
.btn--pulse { animation: pulse-ring 3s ease-out infinite; }

/* ── 6. TOP BAR ───────────────────────────────────────────── */
.topbar {
  background: var(--clr-plum);
  color: var(--clr-gold);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.5rem 0;
  position: relative;
  z-index: var(--z-sticky);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.topbar__left {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
}

.topbar__item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--clr-gold);
  transition: color var(--dur-fast);
}
.topbar__item:hover { color: var(--clr-gold-light); }

.topbar__item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.topbar__divider {
  color: rgba(201,169,110,0.3);
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.topbar__social {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.topbar__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: var(--clr-gold);
  transition: color var(--dur-fast), transform var(--dur-fast);
}
.topbar__social a:hover {
  color: var(--clr-blush);
  transform: scale(1.15);
}
.topbar__social svg { width: 16px; height: 16px; }

/* ── 7. MAIN NAVIGATION ───────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--clr-white);
  box-shadow: 0 1px 0 rgba(80,54,41,0.06);
  transition: box-shadow var(--dur-base);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--sp-6);
}

.nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.nav__logo img {
  height: 48px;
  width: auto;
}
.nav__logo-text {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--clr-plum);
  line-height: 1;
}
.nav__logo-text span {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-top: 2px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  list-style: none;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.5rem 0.75rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--clr-text);
  letter-spacing: 0.02em;
  transition: color var(--dur-fast);
  position: relative;
  white-space: nowrap;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.75rem;
  width: 0;
  height: 2px;
  background: var(--clr-gold);
  transition: width var(--dur-base) var(--ease-out);
  border-radius: 2px;
}
.nav__link:hover,
.nav__link.active {
  color: var(--clr-plum);
}
.nav__link:hover::after,
.nav__link.active::after {
  width: calc(100% - 1.5rem);
}

.nav__link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--dur-base) var(--ease-out);
}
.nav__item:hover .nav__link svg {
  transform: rotate(180deg);
}

/* Dropdown */
.nav__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(201,169,110,0.15);
  padding: var(--sp-3) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--dur-base), transform var(--dur-base), visibility var(--dur-base);
  z-index: var(--z-dropdown);
  list-style: none;
}

.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: var(--fs-sm);
  color: var(--clr-text);
  transition: background var(--dur-fast), color var(--dur-fast), padding-left var(--dur-fast);
}
.nav__dropdown a:hover {
  background: var(--clr-cream);
  color: var(--clr-plum);
  padding-left: 1.5rem;
}

/* Nav CTA */
.nav__cta {
  flex-shrink: 0;
}

/* Mobile hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: background var(--dur-fast);
}
.nav__hamburger:hover { background: var(--clr-cream); }
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-plum);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-inout), opacity var(--dur-base);
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.nav__mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(80,54,41,0.5);
  z-index: var(--z-overlay);
  opacity: 0;
  transition: opacity var(--dur-slow);
}
.nav__mobile-overlay.open {
  display: block;
  opacity: 1;
}

/* Mobile drawer */
.nav__mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, 100vw);
  height: 100dvh;
  background: var(--clr-white);
  z-index: calc(var(--z-overlay) + 1);
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease-out);
  overflow-y: auto;
  padding: var(--sp-8) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.nav__mobile-drawer.open {
  transform: translateX(0);
}

.nav__mobile-close {
  align-self: flex-end;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--clr-plum);
  font-size: var(--fs-xl);
  transition: background var(--dur-fast);
}
.nav__mobile-close:hover { background: var(--clr-cream); }

.nav__mobile-menu { list-style: none; }
.nav__mobile-menu li + li { border-top: 1px solid var(--clr-cream-dark); }

.nav__mobile-menu > li > a,
.nav__mobile-menu > li > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--sp-4) 0;
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--clr-plum);
  text-align: left;
}

.nav__mobile-sub {
  list-style: none;
  padding: 0 0 var(--sp-4) var(--sp-4);
  display: none;
}
.nav__mobile-sub.open { display: block; }
.nav__mobile-sub a {
  display: block;
  padding: var(--sp-2) 0;
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
  transition: color var(--dur-fast);
}
.nav__mobile-sub a:hover { color: var(--clr-plum); }

.nav__mobile-cta {
  margin-top: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

/* ── 8. FOOTER ────────────────────────────────────────────── */
.site-footer {
  background: var(--clr-plum);
  color: rgba(255,255,255,0.85);
  padding-top: var(--sp-20);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-12);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(201,169,110,0.2);
}

.footer__brand p {
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: rgba(255,255,255,0.7);
  margin-top: var(--sp-4);
  max-width: 30ch;
}

.footer__brand img {
  height: 52px;
  width: auto;
  display: block;
  margin-bottom: var(--sp-4);
}
.footer__logo-text {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1;
}
.footer__logo-text span {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-top: 4px;
}

.footer__social {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}
.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(201,169,110,0.4);
  color: var(--clr-gold);
  transition: background var(--dur-base), color var(--dur-base), border-color var(--dur-base);
}
.footer__social a:hover {
  background: var(--clr-gold);
  color: var(--clr-plum);
  border-color: var(--clr-gold);
}
.footer__social svg { width: 16px; height: 16px; }

.footer__col h4 {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: var(--sp-5);
}

.footer__col ul { list-style: none; }
.footer__col ul li + li { margin-top: var(--sp-3); }
.footer__col ul a {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.7);
  transition: color var(--dur-fast), padding-left var(--dur-fast);
}
.footer__col ul a:hover {
  color: var(--clr-gold);
  padding-left: 4px;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--sp-4);
}
.footer__contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--clr-gold);
}

.footer__bottom {
  padding: var(--sp-6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.5);
}
.footer__bottom a {
  color: rgba(255,255,255,0.5);
  transition: color var(--dur-fast);
}
.footer__bottom a:hover { color: var(--clr-gold); }

.footer__credits {
  color: rgba(201,169,110,0.8);
}
.footer__credits a {
  color: var(--clr-gold);
  font-weight: 600;
}
.footer__credits a:hover { color: var(--clr-gold-light); }

/* ── 9. STICKY MOBILE BUTTONS ─────────────────────────────── */
.sticky-btns {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-toast);
  box-shadow: 0 -2px 16px rgba(80,54,41,0.15);
}

.sticky-btns__call,
.sticky-btns__whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  width: 50%;
  height: 54px;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: filter var(--dur-fast);
}
.sticky-btns__call:hover,
.sticky-btns__whatsapp:hover {
  filter: brightness(1.1);
}

.sticky-btns__call {
  background: var(--clr-plum);
  color: var(--clr-white);
}
.sticky-btns__whatsapp {
  background: #25D366;
  color: var(--clr-white);
}
.sticky-btns svg { width: 20px; height: 20px; }

/* ── 10. SECTION HEADERS ──────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: var(--sp-12);
}
.section-header.text-left { text-align: left; }

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-3);
}
.ornament::before,
.ornament::after {
  content: '';
  display: block;
  height: 1px;
  width: 48px;
  background: var(--clr-gold);
  opacity: 0.6;
}

/* ── 11. CARDS ────────────────────────────────────────────── */
.card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-slow) var(--ease-out),
              box-shadow var(--dur-slow) var(--ease-out);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card__img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.card:hover .card__img {
  transform: scale(1.04);
}

.card__img-wrap {
  overflow: hidden;
}

.card__body {
  padding: var(--sp-6);
}

/* ── 12. FORMS ────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.form-label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-plum);
  letter-spacing: 0.04em;
}
.form-label .required {
  color: var(--clr-error);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: var(--fs-base);
  color: var(--clr-text);
  background: var(--clr-white);
  border: 1.5px solid rgba(80,54,41,0.2);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--dur-base), box-shadow var(--dur-base);
  min-height: 48px;
}
.form-control:focus {
  border-color: var(--clr-gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.2);
}
.form-control.error {
  border-color: var(--clr-error);
  box-shadow: 0 0 0 3px rgba(198,40,40,0.1);
}

.form-control::placeholder { color: rgba(80,54,41,0.35); }

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234A2040' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-error {
  font-size: var(--fs-xs);
  color: var(--clr-error);
  display: none;
}
.form-error.show { display: block; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

/* ── 13. BADGES & TAGS ────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  border-radius: var(--radius-pill);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge--gold {
  background: rgba(201,169,110,0.15);
  color: var(--clr-gold-dark);
  border: 1px solid rgba(201,169,110,0.4);
}
.badge--plum {
  background: var(--clr-plum);
  color: var(--clr-gold);
}
.badge--blush {
  background: var(--clr-blush-light);
  color: var(--clr-plum);
}

/* ── 14. STAR RATING ──────────────────────────────────────── */
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--clr-gold);
}
.stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ── 15. SCROLL ANIMATION CLASSES ─────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal--left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal--left.in-view {
  opacity: 1;
  transform: translateX(0);
}

.reveal--right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal--right.in-view {
  opacity: 1;
  transform: translateX(0);
}

.reveal--scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal--scale.in-view {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ── 16. FLOATING BLOBS ───────────────────────────────────── */
@keyframes float-blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(20px, -15px) scale(1.04); }
  66%       { transform: translate(-10px, 10px) scale(0.97); }
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: float-blob linear infinite;
  will-change: transform;
}
.blob--1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(80,54,41,0.3), transparent 70%);
  animation-duration: 9s;
}
.blob--2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(201,169,110,0.2), transparent 70%);
  animation-duration: 7s;
  animation-direction: alternate-reverse;
}
.blob--3 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(232,213,192,0.25), transparent 70%);
  animation-duration: 11s;
}

/* ── 17. PAGE HERO SHARED ─────────────────────────────────── */
.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  background: var(--clr-plum);
  overflow: hidden;
  padding: var(--sp-20) 0;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(80,54,41,0.92) 0%, rgba(58,37,25,0.85) 100%);
}
.page-hero__content {
  position: relative;
  z-index: 2;
}
.page-hero__breadcrumb {
  font-size: var(--fs-xs);
  color: rgba(201,169,110,0.7);
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-4);
}
.page-hero__breadcrumb a:hover { color: var(--clr-gold); }
.page-hero h1 {
  color: var(--clr-white);
  margin-bottom: var(--sp-4);
}
.page-hero p {
  color: rgba(255,255,255,0.8);
  font-size: var(--fs-md);
  max-width: 55ch;
}

/* ── 18. SECTION DIVIDERS ─────────────────────────────────── */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-gold), var(--clr-blush));
  border-radius: 2px;
  margin: var(--sp-4) auto;
}
.divider--left { margin-left: 0; }

/* ── 19. BACK TO TOP ──────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--clr-plum);
  color: var(--clr-gold);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: var(--z-toast);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--dur-base), transform var(--dur-base), visibility var(--dur-base);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--clr-plum-dark);
  transform: translateY(-2px);
}
.back-to-top svg { width: 20px; height: 20px; }

/* ── 20. UTILITY CLASSES ──────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { inset: 0; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.object-cover { object-fit: cover; }
.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-pill { border-radius: var(--radius-pill); }
.bg-cream { background: var(--clr-cream); }
.bg-plum { background: var(--clr-plum); }
.bg-gold { background: var(--clr-gold); }
.shadow-md { box-shadow: var(--shadow-md); }
.mt-4 { margin-top: var(--sp-4); }
.mt-8 { margin-top: var(--sp-8); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-8 { margin-bottom: var(--sp-8); }
.mx-auto { margin-inline: auto; }

/* ── 21. FOCUS STYLES (Accessibility) ────────────────────── */
:focus-visible {
  outline: 3px solid var(--clr-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── 22. REDUCED MOTION ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .reveal, .reveal--left, .reveal--right, .reveal--scale {
    opacity: 1;
    transform: none;
  }
}

/* ── 23. RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1280px) {
  .footer__top { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

@media (max-width: 1024px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .topbar__left { gap: var(--sp-3); }
  .topbar__divider { display: none; }
  .sticky-btns { display: flex; }
  .back-to-top { bottom: 70px; right: 16px; }
}

@media (max-width: 480px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .topbar__left { flex-direction: column; align-items: flex-start; gap: var(--sp-2); }
}
