/* ==========================================================================
   Unique Hair & Beauty Salon — Main Stylesheet
   Modern, semantic, mobile-first CSS with CSS custom properties & fluid clamp()
   ========================================================================== */

/* 1. Google Fonts Preconnect & Import */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500;1,600&family=Manrope:wght@400;500;600;700&display=swap');

/* 2. Custom Properties (Design System) */
:root {
  /* Brand Color Palette */
  --ink:        #1E1520;   /* deep aubergine-black, main text & dark sections */
  --plum:       #3A1F43;   /* secondary dark */
  --rose:       #C96F86;   /* primary accent (buttons, highlights) */
  --rose-deep:  #A94F68;   /* hover */
  --gold:       #C9A25E;   /* fine lines, icons, small accents only */
  --blush:      #F5E1DE;   /* soft section background */
  --ivory:      #FBF6EF;   /* main page background */
  --sage:       #DDE5DA;   /* rare calm contrast block */
  --white:      #FFFFFF;
  --wa-green:   #25D366;   /* WhatsApp button only */
  --wa-green-hover: #20BA5A;

  /* Neutrals & Alpha Accents */
  --ink-90:     rgba(30, 21, 32, 0.9);
  --ink-70:     rgba(30, 21, 32, 0.7);
  --ink-50:     rgba(30, 21, 32, 0.5);
  --ink-15:     rgba(30, 21, 32, 0.15);
  --gold-30:    rgba(201, 162, 94, 0.3);
  --gold-50:    rgba(201, 162, 94, 0.5);
  --card-shadow: 0 10px 30px rgba(30, 21, 32, 0.08);
  --hover-shadow: 0 18px 40px rgba(30, 21, 32, 0.14);

  /* Typography */
  --font-heading: 'Cormorant Garamond', Garamond, Georgia, 'Times New Roman', serif;
  --font-body:    'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Fluid Font Sizes */
  --fs-h1: clamp(2.6rem, 6vw + 1rem, 5.5rem);
  --fs-h2: clamp(2rem, 3.5vw + 1rem, 3.5rem);
  --fs-h3: clamp(1.35rem, 1.5vw + 1rem, 1.9rem);
  --fs-h4: clamp(1.15rem, 1vw + 0.8rem, 1.4rem);
  --fs-body: clamp(1rem, 0.25vw + 0.95rem, 1.125rem);
  --fs-small: 0.875rem;
  --fs-tiny: 0.75rem;

  /* Layout & Spacing */
  --container-max: 1200px;
  --container-pad: 16px;
  --section-pad-y: clamp(4rem, 8vw, 8rem);
  --radius-arch: 999px 999px 24px 24px;
  --radius-card: 20px;
  --radius-pill: 9999px;
  --header-height: 80px;

  /* Transitions */
  --transition-fast: 200ms ease;
  --transition-normal: 300ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
  :root {
    --container-pad: 24px;
    --header-height: 90px;
  }
}

@media (min-width: 1024px) {
  :root {
    --container-pad: 32px;
  }
}

/* 3. CSS Reset & Base Elements */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--ivory);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
  background-color: var(--ivory);
  color: var(--ink);
}

/* Subtle background grain & warm ambient glow */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(circle at 10% 20%, rgba(245, 225, 222, 0.5) 0%, transparent 40%),
                    radial-gradient(circle at 90% 80%, rgba(221, 229, 218, 0.3) 0%, transparent 45%);
}

main {
  flex: 1 0 auto;
  position: relative;
  z-index: 1;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* 4. Accessibility & Focus States */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  display: none !important;
}

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

/* 5. Typography */
h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 {
  font-size: var(--fs-h1);
  line-height: 1.02;
}

h1 em, h2 em, .italic-accent {
  font-style: italic;
  font-weight: 500;
  color: var(--rose);
}

h2 {
  font-size: var(--fs-h2);
  line-height: 1.15;
}

h3 {
  font-size: var(--fs-h3);
  line-height: 1.25;
}

h4 {
  font-size: var(--fs-h4);
  line-height: 1.35;
}

p {
  font-size: var(--fs-body);
  color: var(--ink-90);
  max-width: 70ch;
}

.tag-label {
  font-family: var(--font-body);
  font-size: var(--fs-tiny);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--rose-deep);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.tag-label-gold {
  color: var(--gold);
}

.lead-text {
  font-size: clamp(1.1rem, 1vw + 0.9rem, 1.25rem);
  line-height: 1.6;
  color: var(--ink);
}

/* Gold hairline divider */
.hairline {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-50), transparent);
  border: none;
  margin: 2.5rem 0;
}

/* 6. Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section {
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
  position: relative;
}

.section-blush {
  background-color: var(--blush);
}

.section-plum {
  background-color: var(--plum);
  color: var(--ivory);
}

.section-plum h1, .section-plum h2, .section-plum h3, .section-plum h4, .section-plum p {
  color: var(--ivory);
}

.section-plum .hairline {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-ink {
  background-color: var(--ink);
  color: var(--ivory);
}

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

.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

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

.section-header.text-center p {
  margin-left: auto;
  margin-right: auto;
}

/* 7. Buttons & Links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0 1.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
  transition: transform var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background-color: var(--rose);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(201, 111, 134, 0.3);
}

.btn-primary:hover {
  background-color: var(--rose-deep);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(169, 79, 104, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.btn-secondary:hover {
  background-color: var(--ink);
  color: var(--white);
}

.btn-secondary-white {
  background-color: transparent;
  color: var(--ivory);
  border: 1.5px solid var(--ivory);
}

.btn-secondary-white:hover {
  background-color: var(--ivory);
  color: var(--ink);
}

.btn-wa {
  background-color: var(--wa-green);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-wa:hover {
  background-color: var(--wa-green-hover);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--rose-deep);
  padding: 0.25rem 0;
  position: relative;
}

.btn-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1.5px;
  background-color: var(--rose-deep);
  transition: width var(--transition-fast);
}

.btn-link:hover::after {
  width: 100%;
}

/* Mobile Equal-Size Button Groups */
@media (max-width: 640px) {
  .hero-ctas,
  .cta-banner-buttons,
  .visit-buttons,
  .error-actions,
  .btn-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 380px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    gap: 0.75rem !important;
  }

  .hero-ctas .btn,
  .cta-banner-buttons .btn,
  .visit-buttons .btn,
  .error-actions .btn,
  .btn-group .btn {
    width: 100% !important;
    min-height: 48px !important;
    padding: 0 1.5rem !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

/* 8. Signature Arch Frames & Cards */
.arch-frame {
  display: block;
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-arch);
  overflow: hidden;
  background-color: var(--blush);
  box-shadow: var(--card-shadow);
  position: relative;
}

.arch-frame picture {
  display: block;
  width: 100%;
  height: 100%;
}

.arch-frame img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-slow);
}

.arch-frame:hover img {
  transform: scale(1.03);
}

.card {
  background-color: var(--white);
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(201, 162, 94, 0.15);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hover-shadow);
}

/* 9. Header Component */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(251, 246, 239, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), padding var(--transition-normal);
  padding: 0.65rem 0;
}

@media (min-width: 900px) {
  .site-header {
    padding: 1rem 0;
  }
}

.site-header.is-scrolled {
  background-color: rgba(251, 246, 239, 0.98);
  border-bottom: 1px solid rgba(201, 162, 94, 0.25);
  box-shadow: 0 4px 20px rgba(30, 21, 32, 0.05);
  padding: 0.5rem 0;
}

@media (min-width: 900px) {
  .site-header.is-scrolled {
    padding: 0.65rem 0;
  }
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

@media (min-width: 900px) {
  .header-container {
    gap: 1.5rem;
  }
}

/* Logo */
.brand-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 4vw, 2.3rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.brand-mark {
  color: var(--gold);
  width: 18px;
  height: 18px;
}

@media (min-width: 900px) {
  .brand-mark {
    width: 20px;
    height: 20px;
  }
}

.brand-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.55rem, 1.8vw, 0.65rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--rose-deep);
  margin-top: 1px;
}

/* Desktop Nav */
.nav-desktop {
  display: none;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: block;
  }

  .nav-desktop ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .nav-desktop li {
    display: inline-flex;
    align-items: center;
  }

  .nav-desktop a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink-90);
    padding: 0.5rem 0;
    position: relative;
    white-space: nowrap;
    transition: color var(--transition-fast);
  }

  .nav-desktop a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--rose);
    transition: width var(--transition-fast);
  }

  .nav-desktop a:hover,
  .nav-desktop a[aria-current="page"] {
    color: var(--rose-deep);
  }

  .nav-desktop a[aria-current="page"]::after {
    width: 100%;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 900px) {
  .header-actions {
    gap: 0.75rem;
  }
}

.header-wa-btn {
  min-height: 38px;
  padding: 0 0.85rem;
  font-size: 0.82rem;
  gap: 0.35rem;
  flex-shrink: 0;
}

@media (max-width: 440px) {
  .header-wa-btn {
    width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }
  .header-wa-btn .header-wa-text {
    display: none;
  }
}

@media (min-width: 900px) {
  .header-wa-btn {
    min-height: 48px;
    padding: 0 1.75rem;
    font-size: 0.95rem;
    gap: 0.6rem;
  }
}

.nav-toggle-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  flex-shrink: 0;
  padding: 0;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.nav-toggle-btn:hover {
  background: rgba(30, 21, 32, 0.05);
  color: var(--rose-deep);
}

.nav-toggle-btn svg {
  width: 24px;
  height: 24px;
}

@media (min-width: 900px) {
  .nav-toggle-btn {
    display: none;
  }
}

/* 10. Mobile Menu Slide-in Panel */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(30, 21, 32, 0.65);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.mobile-menu-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(85vw, 380px);
  background-color: var(--ivory);
  z-index: 999;
  padding: 1.5rem 1.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  box-shadow: -10px 0 30px rgba(30, 21, 32, 0.2);
  overflow-y: auto;
}

.mobile-menu-backdrop.is-open .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu-links a {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 5vw, 1.85rem);
  font-weight: 600;
  color: var(--ink);
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(201, 162, 94, 0.2);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.mobile-menu-links a[aria-current="page"] {
  color: var(--rose-deep);
  padding-left: 0.5rem;
}

.mobile-menu-footer {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* 11. "Open Now" Live Badge Component */
.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  background-color: rgba(201, 162, 94, 0.15);
  border: 1px solid var(--gold-50);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.open-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #999;
  position: relative;
}

.open-badge.is-open .open-badge-dot {
  background-color: var(--wa-green);
  box-shadow: 0 0 8px var(--wa-green);
}

.open-badge.is-closed .open-badge-dot {
  background-color: #E05D5D;
}

/* 12. FLOATING BUTTONS (WhatsApp + Go to Top) */
.floating-actions {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  pointer-events: none;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

.floating-btn {
  pointer-events: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(30, 21, 32, 0.25);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), opacity var(--transition-normal), visibility var(--transition-normal);
  cursor: pointer;
  border: none;
}

@media (max-width: 480px) {
  .floating-btn {
    width: 52px;
    height: 52px;
  }
}

.floating-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(30, 21, 32, 0.35);
}

.floating-btn-wa {
  background-color: var(--wa-green);
  color: var(--white);
}

.floating-btn-wa:hover {
  background-color: var(--wa-green-hover);
}

.floating-btn-wa svg {
  width: 32px;
  height: 32px;
}

.floating-btn-top {
  background-color: var(--plum);
  color: var(--gold);
  border: 1.5px solid var(--gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
}

.floating-btn-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-btn-top svg {
  width: 24px;
  height: 24px;
}

/* Hide floating actions when mobile menu panel is open to avoid obstruction */
body.menu-is-open .floating-actions {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* 13. HERO SECTION ("The Mirror Wall") */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 2.5rem 0 4rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 2;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gold-30);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-70);
}

.trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

/* Mirror Wall Arches Composition */
.hero-visual {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 440px;
}

@media (min-width: 960px) {
  .hero-visual {
    min-height: 580px;
  }
}

/* Animated Hair Ribbon Strand SVG */
.hero-hair-strand {
  position: absolute;
  inset: -10% -10%;
  width: 120%;
  height: 120%;
  pointer-events: none;
  z-index: 1;
}

.strand-path {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: drawStrand 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.3s;
}

@keyframes drawStrand {
  to {
    stroke-dashoffset: 0;
  }
}

/* Rotating Badge */
.rotating-badge-wrap {
  position: absolute;
  top: 5%;
  left: 2%;
  z-index: 10;
  width: 110px;
  height: 110px;
}

@media (min-width: 768px) {
  .rotating-badge-wrap {
    width: 130px;
    height: 130px;
    top: 2%;
    left: -4%;
  }
}

.rotating-badge-circle {
  width: 100%;
  height: 100%;
  animation: rotateBadge 30s linear infinite;
}

@keyframes rotateBadge {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.rotating-badge-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.rotating-badge-center svg {
  width: 28px;
  height: 28px;
}

/* 3 Arch Mirror Frames */
.mirror-wall {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  max-width: 580px;
  z-index: 2;
}

.mirror-arch {
  position: relative;
  border-radius: var(--radius-arch);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(30, 21, 32, 0.16);
  background-color: var(--blush);
  transition: transform var(--transition-normal);
}

/* Staggered Heights and Overlaps */
.mirror-arch-1 {
  width: 36%;
  height: 380px;
  margin-right: -8%;
  z-index: 2;
  transform: translateY(20px);
}

.mirror-arch-2 {
  width: 46%;
  height: 480px;
  z-index: 3;
  box-shadow: 0 20px 45px rgba(30, 21, 32, 0.22);
}

.mirror-arch-3 {
  width: 34%;
  height: 340px;
  margin-left: -8%;
  z-index: 2;
  transform: translateY(35px);
}

@media (max-width: 767px) {
  .mirror-arch-1 {
    height: 280px;
  }
  .mirror-arch-2 {
    height: 340px;
  }
  .mirror-arch-3 {
    height: 260px;
  }
}

/* Offset Gold Frame Lines behind arches */
.mirror-arch::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1.5px solid var(--gold);
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  opacity: 0.7;
}

.mirror-arch picture {
  display: block;
  width: 100%;
  height: 100%;
}

.mirror-arch img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 14. Value Statements Strip */
.intro-strip {
  background-color: var(--white);
  border-top: 1px solid var(--gold-30);
  border-bottom: 1px solid var(--gold-30);
  padding: 3rem 0;
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .value-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.value-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--blush);
  color: var(--plum);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-icon svg {
  width: 26px;
  height: 26px;
}

.value-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
}

.value-content p {
  font-size: 0.95rem;
  color: var(--ink-70);
}

/* 15. Services Grid & Cards */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

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

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

/* 2 Columns Services Grid (2 uper 2 neeche for 4 items) */
.services-grid-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .services-grid-2col {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

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

.service-card {
  background-color: var(--white);
  border-radius: var(--radius-card);
  padding: 2.25rem 2rem;
  border: 1px solid rgba(201, 162, 94, 0.2);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hover-shadow);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--blush);
  color: var(--rose-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-size: 1.45rem;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--ink-70);
  line-height: 1.6;
}

/* 16. Split Section (Approach / Why Choose Us) */
.split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 960px) {
  .split-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--sage);
  color: var(--plum);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-icon svg {
  width: 14px;
  height: 14px;
}

.checklist-item strong {
  display: block;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

.checklist-item p {
  font-size: 0.95rem;
  color: var(--ink-70);
}

/* 17. Gallery Grid & Lightbox */
.gallery-filters {
  display: none !important;
}

.filter-btn {
  padding: 0.5rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(201, 162, 94, 0.4);
  background-color: var(--white);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn[aria-pressed="true"] {
  background-color: var(--plum);
  color: var(--gold);
  border-color: var(--plum);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--blush);
  box-shadow: var(--card-shadow);
  cursor: pointer;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.gallery-item.is-arch {
  border-radius: var(--radius-arch);
}

.gallery-item.aspect-4-5 {
  aspect-ratio: 4 / 5;
}

.gallery-item.aspect-1-1 {
  aspect-ratio: 1 / 1;
}

.gallery-item picture {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(30, 21, 32, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: var(--white);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

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

.gallery-overlay h4 {
  color: var(--white);
  font-size: 1.15rem;
}

.gallery-overlay p {
  color: var(--gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Lightbox Dialog */
.lightbox-dialog {
  border: none;
  background: transparent;
  max-width: 90vw;
  max-height: 90vh;
  margin: auto;
  padding: 0;
  overflow: visible;
}

.lightbox-dialog::backdrop {
  background: rgba(30, 21, 32, 0.85);
  backdrop-filter: blur(8px);
}

.lightbox-content {
  position: relative;
  background: var(--ink);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.lightbox-image-wrap {
  position: relative;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.lightbox-image-wrap img {
  max-height: 75vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.lightbox-caption {
  padding: 1.25rem 1.75rem;
  color: var(--ivory);
  background: var(--plum);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lightbox-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(30, 21, 32, 0.7);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast);
}

.lightbox-close-btn:hover {
  background: var(--rose);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(30, 21, 32, 0.7);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev-btn {
  left: 12px;
}

.lightbox-next-btn {
  right: 12px;
}

/* 18. Testimonials Section (Static 3-Card Row) */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.testimonial-card {
  background-color: var(--white);
  border-radius: var(--radius-card);
  padding: 2.25rem 2rem;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(201, 162, 94, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  color: var(--gold);
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.9rem;
}

.testimonial-author strong {
  color: var(--ink);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--ink-70);
}

/* 19. Visit Us & Responsive Google Maps */
.visit-section {
  position: relative;
  overflow: hidden;
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.visit-grid > * {
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 960px) {
  .visit-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
  }
}

.visit-details {
  display: flex;
  flex-direction: column;
}

.visit-details h2 {
  font-size: clamp(1.8rem, 3.5vw + 0.5rem, 2.8rem);
  line-height: 1.15;
  overflow-wrap: break-word;
  word-break: break-word;
}

.map-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 280px;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1.5px solid var(--gold-30);
  background-color: var(--blush);
}

@media (min-width: 768px) {
  .map-container {
    aspect-ratio: 16 / 10;
    min-height: 340px;
  }
}

@media (min-width: 960px) {
  .map-container {
    aspect-ratio: 16 / 10;
    min-height: 380px;
    height: auto;
  }
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.visit-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

@media (max-width: 480px) {
  .visit-buttons {
    flex-direction: column;
    gap: 0.65rem;
  }
  .visit-buttons .btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.hours-table tr {
  border-bottom: 1px solid rgba(201, 162, 94, 0.2);
}

.hours-table td {
  padding: 0.65rem 0;
  font-size: 0.95rem;
}

.hours-table td:last-child {
  text-align: right;
  font-weight: 600;
}

.hours-table tr.is-today {
  color: var(--rose-deep);
  font-weight: 700;
}

.hours-table tr.is-today td {
  border-bottom: 2px solid var(--rose);
}

/* 20. FAQ Section (Native <details> Accordion) */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--white);
  border-radius: 14px;
  border: 1px solid rgba(201, 162, 94, 0.25);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item[open] {
  border-color: var(--gold);
}

.faq-summary {
  list-style: none;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  transition: color var(--transition-fast);
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary:hover {
  color: var(--rose-deep);
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 1.75rem 1.75rem;
  font-size: 1rem;
  color: var(--ink-90);
  line-height: 1.65;
}

.faq-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 3.5rem;
}

/* 21. Contact & Booking Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  border: 1.5px solid rgba(30, 21, 32, 0.2);
  background-color: var(--white);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 94, 0.2);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* 22. Breadcrumbs */
.breadcrumb-nav {
  margin-bottom: 1.5rem;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--ink-70);
}

.breadcrumb-list a:hover {
  color: var(--rose-deep);
}

.breadcrumb-sep {
  color: var(--gold);
}

/* 23. Quick Facts DL block (AEO / GEO) */
.quick-facts-dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin: 1.25rem 0;
  background: rgba(255, 255, 255, 0.65);
  padding: 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(201, 162, 94, 0.25);
  box-shadow: 0 4px 15px rgba(30, 21, 32, 0.03);
}

@media (min-width: 480px) {
  .quick-facts-dl {
    grid-template-columns: 125px 1fr;
    gap: 0.65rem 1rem;
    align-items: baseline;
  }
}

.quick-facts-dl dt {
  font-weight: 700;
  color: var(--plum);
  font-size: 0.95rem;
}

.quick-facts-dl dd {
  color: var(--ink-90);
  font-size: 0.95rem;
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* 24. FOOTER (Dark Aubergine-Black --ink) */
.site-footer {
  background-color: var(--ink);
  color: var(--ivory);
  position: relative;
  z-index: 10;
  padding-top: clamp(4rem, 6vw, 6rem);
  /* CRITICAL: Extra bottom padding to ensure floating buttons NEVER cover footer text/links on any device */
  padding-bottom: 150px;
}

@media (min-width: 1024px) {
  .site-footer {
    padding-bottom: 110px;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1.25fr 1.25fr;
    gap: 3.5rem;
  }
}

.footer-col h4 {
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.footer-col p,
.footer-col a,
.footer-col address {
  font-size: 0.95rem;
  color: rgba(251, 246, 239, 0.85);
  font-style: normal;
  line-height: 1.7;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-socials {
  display: none !important;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(251, 246, 239, 0.1);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-30);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--plum);
  color: var(--white);
  border-color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(201, 162, 94, 0.2);
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.footer-bottom-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

@media (min-width: 768px) {
  .footer-bottom-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-bottom p,
.footer-bottom a {
  font-size: 0.85rem;
  color: rgba(251, 246, 239, 0.7);
}

.footer-credit {
  width: 100%;
  padding-top: 1rem;
  border-top: 1px solid rgba(201, 162, 94, 0.15);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-credit p {
  font-size: 0.88rem;
  color: rgba(251, 246, 239, 0.85);
  margin: 0 auto;
  text-align: center;
  letter-spacing: 0.02em;
}

.footer-credit a {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.footer-credit a:hover {
  color: var(--gold);
}

.footer-credit img {
  display: inline-block;
  vertical-align: middle;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

/* 25. Custom Error Pages (404, 500, 403) */
.error-hero {
  min-height: 70svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
}

.error-card {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.error-num {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 600;
  color: var(--plum);
  line-height: 0.9;
  letter-spacing: -0.04em;
  position: relative;
}

.error-illustration {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: var(--blush);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose-deep);
  border: 1.5px solid var(--gold-50);
}

/* 26. Subtle Animations & Progressive Enhancement */
/* If JS is active, elements marked with .fade-up start hidden and animate on scroll */
html.js .fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

html.js .fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  html.js .fade-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

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

  html.js .fade-up {
    opacity: 1 !important;
    transform: none !important;
  }

  .rotating-badge-circle {
    animation: none !important;
  }

  .strand-path {
    stroke-dashoffset: 0 !important;
    animation: none !important;
  }
}
