/*
  ============================================================================
   CUBESOB DEMO TEMPLATE
   Theme Name: A-one Beauty Parlour
   Theme Type: Luxury Bridal & Beauty Atelier
   Developed by: Mohammad Rehaan Nizami
   Designed by: Arsala Jeelani
   Agency: Cubesob Studio (contact@cubesob.site)
   All rights reserved.
  ============================================================================
*/

/* ==========================================================================
   Design Tokens — Silk Porcelain (Light) & Midnight Velvet (Dark)
   ========================================================================== */
:root {
  --bg: #f8f4f1;
  --bg-surface: #ffffff;
  --bg-elevated: #f1e9e4;
  --bg-glass: rgba(255, 255, 255, 0.72);
  --fg: #261319;
  --fg-muted: #664d55;
  --fg-subtle: #8b727a;
  --accent: #7d1d3b;
  --accent-hover: #64152e;
  --accent-soft: rgba(125, 29, 59, 0.09);
  --accent-gold: #a97c43;
  --accent-gold-soft: rgba(169, 124, 67, 0.14);
  --on-accent: #fdf9f7;
  --border: rgba(38, 19, 25, 0.11);
  --border-strong: rgba(38, 19, 25, 0.2);
  --shadow-sm: 0 4px 16px -4px rgba(38, 19, 25, 0.06);
  --shadow-md: 0 18px 42px -12px rgba(38, 19, 25, 0.11);
  --shadow-lg: 0 30px 64px -18px rgba(38, 19, 25, 0.16);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-arch: 220px 220px 24px 24px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body:
    "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1320px;
  --nav-h: 78px;
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

html.dark,
html[data-theme="dark"] {
  --bg: #130d10;
  --bg-surface: #1d1418;
  --bg-elevated: #271b21;
  --bg-glass: rgba(29, 20, 24, 0.74);
  --fg: #f7f1ed;
  --fg-muted: #c2aeb5;
  --fg-subtle: #967f87;
  --accent: #e58ca5;
  --accent-hover: #f0a4ba;
  --accent-soft: rgba(229, 140, 165, 0.12);
  --accent-gold: #d8b27e;
  --accent-gold-soft: rgba(216, 178, 126, 0.16);
  --on-accent: #1d0c12;
  --border: rgba(247, 241, 237, 0.11);
  --border-strong: rgba(247, 241, 237, 0.22);
  --shadow-sm: 0 6px 20px -6px rgba(0, 0, 0, 0.38);
  --shadow-md: 0 20px 48px -14px rgba(0, 0, 0, 0.52);
  --shadow-lg: 0 32px 72px -18px rgba(0, 0, 0, 0.68);
  color-scheme: dark;
}

/* ==========================================================================
   Reset & Containment
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 0.35vw + 0.88rem, 1.0625rem);
  line-height: 1.65;
}

img,
picture,
svg,
canvas,
iframe {
  max-width: 100%;
  display: block;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 999px;
  z-index: 10000;
  font-weight: 600;
}
.skip-link:focus {
  left: 16px;
}

.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;
}

/* ==========================================================================
   Typography & Layout Primitives
   ========================================================================== */
.container {
  width: min(100% - clamp(2rem, 5vw, 5rem), var(--container));
  margin-inline: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--fg);
}

h1,
.hero-title {
  font-size: clamp(2.65rem, 5.2vw + 0.9rem, 4.9rem);
  line-height: 1.03;
  letter-spacing: -0.025em;
}

h2,
.section-title {
  font-size: clamp(2rem, 3.3vw + 0.75rem, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.35rem, 1.4vw + 0.85rem, 1.85rem);
  line-height: 1.2;
}

p {
  margin: 0;
  color: var(--fg-muted);
}

.section {
  padding-block: clamp(4.25rem, 7.5vw, 7.5rem);
  position: relative;
}

.section--tinted {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  margin-bottom: clamp(2.25rem, 4vw, 3.75rem);
}

.section-header__copy {
  max-width: 58ch;
}

.section-header__lead {
  margin-top: 0.9rem;
  max-width: 54ch;
  font-size: clamp(0.98rem, 0.4vw + 0.88rem, 1.08rem);
}

/* Subtle Atelier Texture */
.bg-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.03;
  background-image: radial-gradient(var(--fg) 0.7px, transparent 0.7px);
  background-size: 24px 24px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.82rem 1.65rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition:
    transform 0.28s var(--ease-expo),
    background-color 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.28s ease;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 10px 26px -8px rgba(125, 29, 59, 0.42);
}

.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -8px rgba(125, 29, 59, 0.5);
}

.btn--outline {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-strong);
}

.btn--outline:hover {
  background: var(--bg-surface);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn--soft {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: transparent;
}

.btn--soft:hover {
  background: var(--accent);
  color: var(--on-accent);
  transform: translateY(-2px);
}

.btn--sm {
  min-height: 44px;
  padding: 0.6rem 1.15rem;
  font-size: 0.86rem;
}

/* ==========================================================================
   Navigation Header & Mobile Drawer
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  min-height: var(--nav-h);
  height: auto;
  padding-block: 0.65rem;
  display: flex;
  align-items: center;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  min-height: 44px;
  min-width: 0;
  flex: 0 1 auto;
}

.brand__monogram {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.16);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
  min-width: 0;
}

.brand__name {
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 1vw + 0.9rem, 1.42rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand__loc {
  font-size: 0.74rem;
  color: var(--fg-muted);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--fg-muted);
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease-expo);
}

.nav__links a:hover,
.nav__links a:focus-visible {
  color: var(--fg);
}

.nav__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__crm {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--fg);
  background: var(--bg-surface);
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

.nav__crm:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  align-items: center;
  justify-content: center;
  padding: 0;
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(14, 9, 11, 0.55);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.mobile-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer__panel {
  width: min(86vw, 360px);
  height: 100%;
  background: var(--bg);
  border-left: 1px solid var(--border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.36s var(--ease-expo);
}

.mobile-drawer.is-open .mobile-drawer__panel {
  transform: translateX(0);
}

.mobile-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.mobile-drawer__close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  display: grid;
  place-items: center;
}

.mobile-drawer__nav {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-drawer__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0.5rem 0.25rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--fg);
  border-bottom: 1px solid var(--border);
}

.mobile-drawer__foot {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ==========================================================================
   Hero Section + Interactive Three.js WebGL Stage
   ========================================================================== */
.hero {
  position: relative;
  padding-block: clamp(2.75rem, 5vw, 5.25rem) clamp(4rem, 7vw, 6.5rem);
  overflow: hidden;
}

.hero__webgl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.92;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero__content {
  min-width: 0;
}

.trust-badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 1.6rem;
}

.trust-badge__star {
  color: var(--accent-gold);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 700;
}

.trust-badge__divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border-strong);
}

.hero__lead {
  margin-top: 1.35rem;
  max-width: 52ch;
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.14rem);
  color: var(--fg-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2.1rem;
}

.hero__facts {
  margin-top: 2.6rem;
  padding-top: 1.65rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.fact__val {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2vw + 0.6rem, 2.2rem);
  font-weight: 600;
  color: var(--fg);
  line-height: 1.05;
}

.fact__label {
  margin-top: 0.28rem;
  font-size: 0.82rem;
  color: var(--fg-muted);
}

/* Sculpted Arch Hero Frame */
.hero__stage {
  position: relative;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.hero-frame {
  position: relative;
  width: 100%;
  max-width: 530px;
  border-radius: var(--radius-arch);
  padding: 12px;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.hero-frame__media {
  position: relative;
  border-radius: 210px 210px 16px 16px;
  overflow: hidden;
  aspect-ratio: 4 / 4.7;
  background: var(--bg-elevated);
}

.hero-frame__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 0.8s var(--ease-expo);
}

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

.hero-frame__card {
  position: absolute;
  left: 24px;
  bottom: 24px;
  max-width: 268px;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
}

.hero-frame__card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--fg);
}

.hero-frame__card-meta {
  margin-top: 0.3rem;
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.45;
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18);
  margin-right: 0.45rem;
  vertical-align: middle;
}

/* ==========================================================================
   3D Kinetic Hover Cards & Mouse Ambient Glow
   ========================================================================== */
.card-3d-wrap {
  perspective: 1200px;
  min-width: 0;
}

.card-3d {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transform-style: preserve-3d;
  transition:
    transform 0.38s var(--ease-expo),
    box-shadow 0.38s ease,
    border-color 0.25s ease;
  overflow: hidden;
}

.card-3d::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    460px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    var(--accent-gold-soft),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.card-3d:hover::before {
  opacity: 1;
}

.card-3d:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.hero-frame.card-3d {
  border-radius: var(--radius-arch);
}

@media (hover: none) {
  .card-3d:hover {
    transform: none !important;
  }
  .card-3d::before {
    display: none;
  }
}

/* ==========================================================================
   Bridal Atelier Editorial Showcase
   ========================================================================== */
.bridal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.bridal-visual {
  position: sticky;
  top: calc(var(--nav-h) + 28px);
  min-width: 0;
}

.bridal-visual__frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
  background: var(--bg-surface);
}

.bridal-visual__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.bridal-visual__note {
  margin-top: 1.1rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.bridal-packages {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.package-card {
  padding: clamp(1.35rem, 2.5vw, 2rem);
}

.package-card--featured {
  border-color: var(--accent-gold);
  background: linear-gradient(
    135deg,
    var(--bg-surface) 0%,
    var(--bg-elevated) 100%
  );
}

.package-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

.package-card__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  background: var(--accent-soft);
  color: var(--accent);
}

.package-card__price {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2vw + 0.6rem, 2.25rem);
  font-weight: 600;
  color: var(--fg);
}

.package-card__desc {
  margin-top: 0.65rem;
  font-size: 0.94rem;
}

.package-card__list {
  list-style: none;
  margin: 1.15rem 0 1.4rem;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.1rem;
  font-size: 0.88rem;
  color: var(--fg-muted);
}

.package-card__list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.package-card__list svg {
  width: 15px;
  height: 15px;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.package-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.package-card__duration {
  font-size: 0.84rem;
  color: var(--fg-subtle);
}

/* ==========================================================================
   Interactive Service Menu + Appointment Tray
   ========================================================================== */
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.menu-tab {
  min-height: 44px;
  padding: 0.62rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--fg-muted);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.22s ease;
}

.menu-tab:hover {
  border-color: var(--accent);
  color: var(--fg);
}

.menu-tab[aria-selected="true"] {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.service-row {
  padding: 1.3rem 1.4rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.service-row__info {
  min-width: 0;
}

.service-row__title {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 600;
  color: var(--fg);
}

.service-row__meta {
  margin-top: 0.35rem;
  font-size: 0.88rem;
  color: var(--fg-muted);
}

.service-row__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
  flex-shrink: 0;
}

.service-row__price {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--fg);
  white-space: nowrap;
}

.service-add {
  min-height: 40px;
  min-width: 88px;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fg);
  transition: all 0.2s ease;
}

.service-add:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.service-add.is-selected {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.booking-tray {
  margin-top: 2rem;
  padding: 1.35rem 1.65rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.booking-tray__summary {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.booking-tray__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
}

.booking-tray__list {
  font-size: 0.86rem;
  color: var(--fg-muted);
}

.booking-tray__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

/* ==========================================================================
   The Sanctuary & Accessibility Spread
   ========================================================================== */
.sanctuary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: stretch;
}

.sanctuary-media {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 1.1rem;
  min-width: 0;
}

.sanctuary-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--bg-surface);
}

.sanctuary-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sanctuary-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  min-width: 0;
}

.amenity-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.amenity-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border);
}

.amenity-item__icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.amenity-item__icon svg {
  width: 18px;
  height: 18px;
}

.amenity-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--fg);
}

.amenity-item span {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.86rem;
  color: var(--fg-muted);
}

/* ==========================================================================
   Verified Google Stories Carousel (Accessible & Pausable)
   ========================================================================== */
.stories-shell {
  position: relative;
  padding: clamp(1.75rem, 4vw, 3.25rem);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.stories-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.stories-rating {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.stories-rating__score {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
  color: var(--fg);
}

.stories-stars {
  display: inline-flex;
  gap: 0.2rem;
  color: var(--accent-gold);
}

.stories-stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.stories-controls {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--fg);
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

.stories-status {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--fg-muted);
  min-width: 4.5rem;
  text-align: center;
}

.stories-viewport {
  margin-top: 2rem;
  min-height: 210px;
}

.story-slide {
  display: none;
}

.story-slide.is-active {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: 2rem;
  align-items: end;
  animation: storyFade 0.45s var(--ease-expo);
}

@keyframes storyFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.story-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.3vw + 0.65rem, 2.35rem);
  line-height: 1.32;
  color: var(--fg);
  font-weight: 400;
}

.story-author {
  padding-left: 1.5rem;
  border-left: 2px solid var(--accent-gold);
}

.story-author__name {
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--fg);
}

.story-author__tag {
  margin-top: 0.25rem;
  font-size: 0.84rem;
  color: var(--fg-muted);
}

/* ==========================================================================
   Visit Us, 7-Day Hours & Live Booking Form
   ========================================================================== */
.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: start;
}

.visit-card,
.booking-card {
  padding: clamp(1.5rem, 3vw, 2.35rem);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.visit-address {
  margin-top: 0.75rem;
  font-size: 0.98rem;
  color: var(--fg-muted);
}

.hours-list {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.62rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.89rem;
}

.hours-list li span:first-child {
  font-weight: 600;
  color: var(--fg);
}

.hours-list li span:last-child {
  color: var(--fg-muted);
  text-align: right;
}

.hours-note {
  font-size: 0.8rem;
  color: var(--fg-subtle);
  margin-bottom: 1.25rem;
}

.map-embed {
  width: 100%;
  height: 230px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  filter: saturate(0.9);
}

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Form Controls */
.booking-form {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.05rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  min-width: 0;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.72rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--fg);
  font-size: 0.93rem;
  transition: border-color 0.2s ease;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-feedback {
  display: none;
  padding: 0.9rem 1.05rem;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--fg);
  font-size: 0.88rem;
  border: 1px solid var(--border-strong);
}

.form-feedback.is-visible {
  display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding-block: 3.75rem 6rem;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 0.85fr));
  gap: 2.5rem;
}

.footer-links {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--fg-muted);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  font-size: 0.84rem;
  color: var(--fg-subtle);
}

/* ==========================================================================
   Cubesob Floating Control Bar & Circular Ripple View Transition
   ========================================================================== */
.cubesob-floating-bar {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 6px 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(38, 19, 25, 0.12);
  box-shadow:
    0 10px 30px -5px rgba(38, 19, 25, 0.12),
    0 0 0 1px rgba(38, 19, 25, 0.03);
}

html.dark .cubesob-floating-bar,
html[data-theme="dark"] .cubesob-floating-bar {
  background: rgba(22, 14, 18, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 10px 30px -5px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.cubesob-demo-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}

.cubesob-demo-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: cubesobPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes cubesobPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

.cubesob-demo-text {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #261319;
}

html.dark .cubesob-demo-text,
html[data-theme="dark"] .cubesob-demo-text {
  color: #f7f1ed;
}

.cubesob-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  border: 1px solid rgba(38, 19, 25, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: #261319;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease;
}

html.dark .cubesob-theme-toggle,
html[data-theme="dark"] .cubesob-theme-toggle {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #f7f1ed;
}

.cubesob-theme-toggle:hover {
  transform: scale(1.08);
}

.theme-icon--sun {
  display: none;
}
.theme-icon--moon {
  display: block;
}

html.dark .theme-icon--sun,
html[data-theme="dark"] .theme-icon--sun {
  display: block;
}

html.dark .theme-icon--moon,
html[data-theme="dark"] .theme-icon--moon {
  display: none;
}

/* View Transition Clip-Path Animation (Cubesob Spec) */
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

::view-transition-old(root) {
  z-index: 1;
}

::view-transition-new(root) {
  z-index: 9999;
}

/* ==========================================================================
   Responsive Engineering (360px Compact Mobile to 4K Ultra-Wide)
   ========================================================================== */
@media (max-width: 1024px) {
  .nav__links,
  .nav__crm {
    display: none;
  }
  .nav__burger {
    display: inline-flex;
  }
  .hero__grid,
  .bridal-layout,
  .sanctuary-grid,
  .visit-grid {
    grid-template-columns: 1fr;
  }
  .bridal-visual {
    position: static;
    max-width: 560px;
  }
  .hero-frame__card {
    left: 16px;
    bottom: 16px;
  }
}

@media (max-width: 768px) {
  .nav__cta-desktop {
    display: none;
  }
  .menu-grid,
  .package-card__list,
  .sanctuary-media,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .story-slide.is-active {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .story-author {
    padding-left: 1rem;
  }
  .hero__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }
  .cubesob-floating-bar {
    bottom: 16px;
    left: 16px;
    transform: scale(0.92);
    transform-origin: bottom left;
  }
}

@media (max-width: 560px) {
  .brand {
    gap: 0.58rem;
  }
  .brand__monogram {
    width: 36px;
    height: 36px;
    font-size: 1.08rem;
  }
  .brand__loc {
    display: none;
  }
  .nav__actions {
    gap: 0.45rem;
    flex-shrink: 0;
  }
  .nav__burger {
    width: 44px;
    height: 44px;
  }
  .hero__actions .btn,
  .visit-actions .btn,
  .booking-tray__actions .btn {
    width: 100%;
  }
  .hero__facts {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .service-row {
    flex-direction: column;
  }
  .service-row__right {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@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;
  }
}
