/*
 * Tira Spa - Master Stylesheet
 * Ultra-Luxury Sanctuary Aesthetic — Warm Terracotta, Metallic Gold & Alabaster Cream
 */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* --- Custom Variables (Design System) --- */
:root {
  /* Colors — Warm Terracotta + Serene Sand + Metallic Gold Aesthetic */
  --color-primary: #B3644B;
  /* Rich warm terracotta */
  --color-secondary: #C99468;
  /* Warm sand & ochre */
  --color-accent: #9C5B3E;
  /* Deep earthy amber */
  --color-accent-hover: #854B32;
  /* Rich deep terracotta on hover */
  --color-gold: #C58B37;
  /* Metallic amber gold */
  --color-gold-bright: #F3D0A0;
  /* Soft glowing gold highlight */
  --color-background: #FAF7F2;
  /* Serene warm cream background */
  --color-dark-bg: #181514;
  /* Deep warm charcoal dark background */
  --color-foreground: #29211D;
  /* Deep charcoal-brown body text */
  --color-muted: #75675F;
  /* Muted warm earth tone */
  --color-border: #EAE2D8;
  /* Soft warm border */
  --color-card-bg: #FFFFFF;
  /* Pure white cards */
  --color-glass: rgba(250, 247, 242, 0.94);
  /* Blurred warm glass header */
  --color-glass-dark: rgba(24, 21, 20, 0.88);

  /* Spacing Scale (8px Grid) */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-2xl: 120px;

  /* Font Families */
  --font-headings: 'Cormorant Garamond', serif;
  --font-display: 'Cinzel', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Header Height */
  --header-height: 124px;
}

/* --- Base & Reset Styles --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Premium Focus Rings */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

html,
body {
  width: 100%;
  background-color: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Lenis Smooth Scroll Configuration */
html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overflow: clip;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* --- Typography & Headings --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headings);
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1.15;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.8rem);
}

h2 {
  font-size: clamp(1.85rem, 3.8vw, 3.2rem);
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 2.1rem);
}

h4 {
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Metallic Gold Gradient & Luxury Badges */
.text-gold-gradient {
  background: linear-gradient(135deg, #F3D0A0 0%, #C58B37 50%, #E2B269 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gold-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 50px;
  background: rgba(197, 139, 55, 0.1);
  border: 1px solid rgba(197, 139, 55, 0.3);
  color: #C58B37;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.luxury-card {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  box-shadow: 0 12px 35px rgba(0,0,0,0.04);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease;
}

.luxury-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(179, 100, 75, 0.12);
  border-color: rgba(197, 139, 55, 0.4);
}

p {
  font-size: 0.95rem;
  color: var(--color-foreground);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 350ms cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

@media (min-width: 768px) {
  .container {
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
  }
}

.section-padding {
  padding-top: clamp(3.5rem, 8vw, 7.5rem);
  padding-bottom: clamp(3.5rem, 8vw, 7.5rem);
}

/* Asymmetric Magazine Grids */
.magazine-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 1024px) {
  .magazine-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-xl);
  }

  .magazine-grid.reverse {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

/* --- Navigation --- */
/* --- Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: background-color 500ms ease, border-color 500ms ease, backdrop-filter 500ms ease, height 400ms ease;
  border-bottom: 1px solid transparent;
  display: flex;
  flex-direction: column;
}

/* --- Header Marquee --- */
.header-marquee {
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  overflow: hidden;
  height: 34px;
  line-height: 22px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: height 400ms ease, opacity 400ms ease, padding 400ms ease, border-bottom 400ms ease;
  z-index: 1001;
}

.header-marquee marquee {
  width: 100%;
  margin: 0;
}

.header-marquee a {
  color: #FFFFFF;
  text-decoration: underline;
  margin: 0 4px;
  font-weight: 700;
  transition: color 300ms ease;
}

.header-marquee a:hover {
  color: var(--color-secondary);
}



.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--font-headings);
  font-size: clamp(1.25rem, 4vw, 1.6rem);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 400ms ease;
  z-index: 1001;
}

/* Footer logo: pink background, show logo as-is or brightened */
.footer-logo {
  display: inline-block;
  margin-bottom: var(--space-sm);
}

.footer-logo .logo-img {
  height: 52px;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: none;
  list-style: none;
  gap: var(--space-md);
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
    gap: var(--space-lg);
  }
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  position: relative;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.85);
  transition: color 400ms ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 400ms cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-secondary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
  background-color: var(--color-secondary);
}

/* Header CTA: Hidden on mobile/tablet to avoid header clutter */
.nav-cta {
  display: none !important;
}

@media (min-width: 1024px) {
  .nav-cta {
    display: flex !important;
    gap: var(--space-sm);
    align-items: center;
  }
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  z-index: 1001;
  width: 44px;
  height: 44px;
  transition: color 400ms ease;
}

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

/* Scrolled state: Dark elements for light glass background */
header.scrolled {
  background-color: var(--color-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: var(--color-border);
  height: 80px;
}

header.scrolled .header-marquee {
  height: 0;
  opacity: 0;
  padding: 0;
  border-bottom: none;
  pointer-events: none;
}


header.scrolled .logo-img {
  filter: none;
}

header.scrolled .nav-links a {
  color: var(--color-foreground);
}

header.scrolled .mobile-nav-toggle {
  color: var(--color-primary);
}

#main-header.menu-open .logo {
  opacity: 0;
  pointer-events: none;
}

/* Mobile Nav Menu Drawer */
.mobile-nav-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-background);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 130px var(--space-md) var(--space-md) var(--space-md);
  transform: translateX(100%);
  transition: transform 500ms cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav-menu.open {
  transform: translateX(0);
}

.mobile-nav-menu ul {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.mobile-nav-menu ul a {
  font-family: var(--font-headings);
  font-size: 1.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  display: inline-block;
  padding: 6px 12px;
}

.mobile-nav-menu ul a:hover {
  color: var(--color-accent);
}

.mobile-nav-cta {
  margin-top: var(--space-md);
  width: 100%;
  max-width: 320px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 1.1rem 2.5rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 400ms cubic-bezier(0.25, 1, 0.5, 1);
  text-align: center;
  border-radius: 6px;
  /* Soft rounded for wellness aesthetic */
}

.btn-primary {
  background-color: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: #FFFFFF;
}

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

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* WhatsApp Button Specific Style */
.btn-whatsapp {
  border-color: #25D366 !important;
  color: #25D366 !important;
  background-color: transparent !important;
}

.btn-whatsapp:hover {
  background-color: #25D366 !important;
  color: #FFFFFF !important;
  border-color: #25D366 !important;
}

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

.btn-accent:hover {
  background-color: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
}

/* --- Hero Section --- */
.hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-primary);
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(90, 122, 92, 0.20) 0%, rgba(44, 59, 45, 0.68) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #FFFFFF;
  max-width: 900px;
  padding: 120px var(--space-md) 40px;
}

@media (max-width: 768px) {
  header {
    height: auto;
  }
  
  .header-marquee {
    font-size: 0.68rem;
    height: 30px;
  }
  
  .nav-container {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  
  .logo {
    font-size: 1.25rem;
  }
  
  .hero {
    min-height: 520px;
    height: auto;
    padding: 100px 0 60px;
  }

  .hero-content {
    padding-top: 40px;
    padding-bottom: 20px;
  }
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #b7b7b7;
  margin-bottom: var(--space-sm);
  display: inline-block;
}

.hero-title {
  color: #FFFFFF;
  margin-bottom: var(--space-md);
  font-weight: 200;
}

.hero-title span {
  font-style: italic;
  font-family: var(--font-headings);
}

.hero-description {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: #E2E8F0;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto var(--space-lg) auto;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

@media (min-width: 576px) {
  .hero-ctas {
    flex-direction: row;
  }
}

.hero-ctas .btn-primary {
  border-color: #FFFFFF;
}

.hero-ctas .btn-outline {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-ctas .btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.scroll-indicator {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: #FFFFFF;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  opacity: 0.8;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background-color: var(--color-accent);
  animation: scroll-dot 2.2s cubic-bezier(0.15, 0.85, 0.35, 1) infinite;
}

@keyframes scroll-dot {
  0% {
    transform: translateY(-20px);
  }

  80%,
  100% {
    transform: translateY(50px);
  }
}

/* --- Editorial Layout Sections --- */
.section-tag {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: white;
  margin-bottom: var(--space-sm);
  display: block;
}

.section-title {
  margin-bottom: var(--space-md);
  font-weight: 300;
}

.section-title span {
  font-style: italic;
}

.section-description {
  color: var(--color-muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin-bottom: var(--space-lg);
}

.editorial-img-wrapper {
  position: relative;
  overflow: hidden;
}

.editorial-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* --- About Section --- */
.about-image-column {
  position: relative;
  padding: 0 0 var(--space-lg) 0;
}

@media (min-width: 1024px) {
  .about-image-column {
    padding: 0 var(--space-lg) 0 0;
  }
}

.about-img-frame {
  border: 1px solid var(--color-border);
  padding: var(--space-sm);
}

.about-img {
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.about-content-column {
  padding-left: 0;
}

@media (min-width: 1024px) {
  .about-content-column {
    padding-left: var(--space-lg);
  }
}

.about-text {
  margin-bottom: var(--space-md);
}

.about-signature {
  font-family: var(--font-headings);
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-top: var(--space-md);
  font-weight: 300;
}

/* --- Treatments Section --- */
.treatment-tabs {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-sm);
}

.tab-btn {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 8px 16px;
  color: var(--color-muted);
  cursor: pointer;
  position: relative;
  transition: color 350ms ease;
}

.tab-btn.active {
  color: var(--color-primary);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -17px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent);
}

.treatment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

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

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

.treatment-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  transition: transform 400ms cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
}

.treatment-img-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.treatment-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.25, 1, 0.5, 1);
}

.treatment-card:hover .treatment-img-container img {
  transform: scale(1.06);
}

.treatment-card-content {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.treatment-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-xs);
}

.treatment-card-title {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  color: var(--color-primary);
  font-weight: 400;
}

.treatment-card-price {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-accent);
}

.treatment-card-desc {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.treatment-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
}

.treatment-duration {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.treatment-book-link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.treatment-book-link:hover {
  color: var(--color-accent);
}

/* --- Spa Experience Section --- */
.experience {
  background-color: var(--color-primary);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.experience .section-title {
  color: #FFFFFF;
}

.experience .section-description {
  color: #A0AEC0;
}

.experience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

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

.experience-item {
  text-align: center;
  padding: var(--space-md);
}

.experience-icon {
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  display: inline-block;
}

.experience-item-title {
  font-family: var(--font-headings);
  font-size: 1.75rem;
  color: #FFFFFF;
  margin-bottom: var(--space-xs);
  font-weight: 300;
}

.experience-item-desc {
  font-size: 0.85rem;
  color: #CBD5E0;
  line-height: 1.7;
}

/* --- Why Choose Us Section --- */
.why-choose {
  background-color: var(--color-card-bg);
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.feature-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.feature-icon-wrapper {
  color: var(--color-accent);
  padding-top: 4px;
}

.feature-title {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: var(--space-xs);
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* --- Gallery Masonry Section --- */
.gallery-grid {
  columns: 1;
  column-gap: var(--space-sm);
}

@media (min-width: 576px) {
  .gallery-grid {
    columns: 2;
  }
}

@media (min-width: 992px) {
  .gallery-grid {
    columns: 3;
  }
}

.gallery-item {
  position: relative;
  break-inside: avoid;
  margin-bottom: var(--space-sm);
  overflow: hidden;
  border: 1px solid var(--color-border);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 700ms cubic-bezier(0.25, 1, 0.5, 1);
}

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

.gallery-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 15, 15, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 400ms ease;
  z-index: 5;
}

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

.gallery-view-icon {
  color: #FFFFFF;
  transform: scale(0.8);
  transition: transform 400ms cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-item:hover .gallery-view-icon {
  transform: scale(1);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 80vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: block;
}

.lightbox-close {
  position: fixed;
  top: 24px;
  right: 24px;
  background: rgba(15, 15, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 2.25rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2010;
  transition: background-color 300ms ease, border-color 300ms ease;
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(15, 15, 15, 0.9);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.lightbox-caption {
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
  text-align: center;
  color: #FFFFFF;
  font-family: var(--font-headings);
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}

/* --- Membership Tiers --- */
.membership-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

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

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

.membership-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 400ms cubic-bezier(0.25, 1, 0.5, 1), box-shadow 400ms cubic-bezier(0.25, 1, 0.5, 1);
}

.membership-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 15, 15, 0.05);
}

.membership-card.featured {
  border-color: var(--color-accent);
}

.membership-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background-color: var(--color-accent);
  color: var(--color-primary);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
}

.membership-name {
  font-family: var(--font-headings);
  font-size: 1.75rem;
  font-weight: 300;
  margin-bottom: var(--space-sm);
}

.membership-price {
  font-size: 2.25rem;
  font-family: var(--font-headings);
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: baseline;
}

.membership-price span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-left: 4px;
}

.membership-features {
  list-style: none;
  margin-bottom: var(--space-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.membership-features li {
  font-size: 0.85rem;
  color: var(--color-foreground);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.membership-features li svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.membership-card .btn {
  width: 100%;
}

/* --- Testimonials Section (Editorial) --- */
.testimonials {
  background-color: var(--color-secondary);
  color: #FFFFFF;
}

.testimonials .section-tag {
  color: var(--color-accent);
}

.testimonials .section-title {
  color: #FFFFFF;
}

.testimonial-slider-container {
  max-width: 800px;
  margin: var(--space-lg) auto 0 auto;
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 800ms cubic-bezier(0.25, 1, 0.5, 1), transform 800ms cubic-bezier(0.25, 1, 0.5, 1);
  transform: translateY(15px);
  text-align: center;
}

.testimonial-slide.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.slider-dots {
  display: flex;
  gap: 12px;
  margin-top: var(--space-md);
  justify-content: center;
  z-index: 10;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 300ms ease;
}

.dot.active,
.dot:hover {
  background-color: var(--color-accent);
  transform: scale(1.3);
}

.testimonial-quote {
  font-family: var(--font-headings);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  line-height: 1.35;
  color: #E2E8F0;
  font-weight: 300;
  margin-bottom: var(--space-md);
  position: relative;
}

.testimonial-quote span {
  color: var(--color-accent);
  font-style: italic;
}

.testimonial-author {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
}

.testimonial-title {
  font-size: 0.75rem;
  color: #A0AEC0;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 4px;
}

/* --- FAQ Section --- */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-md) 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-headings);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--color-primary);
  cursor: pointer;
  padding: 8px 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms cubic-bezier(0.25, 1, 0.5, 1), padding 400ms ease;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-answer-content {
  padding-top: var(--space-sm);
  padding-bottom: var(--space-xs);
}

.faq-icon {
  transition: transform 400ms ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-answer {
  max-height: 250px;
  /* Estimated height */
}

/* --- Booking Interface --- */
.booking-section {
  background-color: var(--color-card-bg);
}

.booking-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 992px) {
  .booking-layout {
    grid-template-columns: 1.20fr 0.80fr;
    gap: var(--space-xl);
  }
}

.booking-form-wrapper {
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  padding: var(--space-md);
}

@media (min-width: 768px) {
  .booking-form-wrapper {
    padding: var(--space-lg);
  }
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 576px) {
  .form-group-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 14px var(--space-sm);
  outline: none;
  transition: border-color 300ms ease, box-shadow 300ms ease;
  border-radius: 0;
  /* Pure minimal luxury flat borders */
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(201, 169, 106, 0.15);
}

/* Custom Booking Calendar UI Grid */
.calendar-widget {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  padding: var(--space-sm);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--color-border);
}

.calendar-month {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 500;
}

.calendar-nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-primary);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}

.calendar-day-name {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-muted);
  padding-bottom: 8px;
}

.calendar-day {
  background: none;
  border: none;
  font-size: 0.8rem;
  font-family: var(--font-body);
  padding: 10px 0;
  cursor: pointer;
  color: var(--color-primary);
  transition: all 200ms ease;
}

.calendar-day:hover:not(.disabled) {
  background-color: var(--color-background);
}

.calendar-day.active {
  background-color: var(--color-accent);
  color: var(--color-primary);
  font-weight: 600;
}

.calendar-day.disabled {
  color: var(--color-border);
  cursor: not-allowed;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}

.time-slot {
  background: none;
  border: 1px solid var(--color-border);
  padding: 10px 0;
  font-size: 0.75rem;
  font-family: var(--font-body);
  cursor: pointer;
  text-align: center;
  transition: all 200ms ease;
}

.time-slot:hover:not(.disabled) {
  border-color: var(--color-primary);
}

.time-slot.active {
  background-color: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
}

.time-slot.disabled {
  color: var(--color-border);
  border-color: var(--color-border);
  cursor: not-allowed;
  opacity: 0.5;
}

.booking-info-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-md) 0;
}

@media (min-width: 992px) {
  .booking-info-panel {
    padding: var(--space-md) var(--space-lg);
    border-left: 1px solid var(--color-border);
  }
}

.summary-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  padding: var(--space-md);
}

.summary-title {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.summary-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.summary-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.summary-list li span:first-child {
  color: var(--color-muted);
}

.summary-list li span:last-child {
  font-weight: 500;
}

.summary-total {
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 600;
}

.summary-total span:last-child {
  color: var(--color-accent);
}

/* --- Location & Hours --- */
.location {
  background-color: var(--color-background);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

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

.contact-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  padding: var(--space-md);
  display: flex;
  gap: var(--space-sm);
}

.contact-card-icon {
  color: var(--color-accent);
}

.contact-card-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  margin-bottom: 4px;
}

.contact-card-value {
  font-size: 0.95rem;
  color: var(--color-primary);
}

/* Simulating luxury map placeholder */
.map-container {
  width: 100%;
  height: 350px;
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.map-placeholder-bg {
  position: absolute;
  width: 150%;
  height: 150%;
  opacity: 0.05;
  background-image:
    radial-gradient(var(--color-primary) 1px, transparent 1px),
    linear-gradient(to right, var(--color-primary) 1px, transparent 1px),
    linear-gradient(to bottom, var(--color-primary) 1px, transparent 1px);
  background-size: 24px 24px, 48px 48px, 48px 48px;
}

.map-pin-badge {
  position: relative;
  z-index: 10;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.map-pin {
  color: var(--color-accent);
  animation: pulse-pin 2s infinite ease-in-out;
}

@keyframes pulse-pin {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.map-pin-text {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}

/* --- Footer --- */
footer {
  background-color: var(--color-primary);
  color: #FFFFFF;
  border-top: 1px solid var(--color-secondary);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

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

@media (min-width: 992px) {
  .footer-top {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--space-md);
}

.footer-logo {
  font-family: var(--font-headings);
  font-size: 1.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: var(--space-sm);
  display: inline-block;
}

.footer-logo span {
  color: var(--color-accent);
}

.footer-brand-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 320px;
  line-height: 1.8;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 300ms ease;
}

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

.footer-hours-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-hours-list li {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.newsletter-input-wrapper {
  position: relative;
  display: flex;
}

.newsletter-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 10px 0;
  width: 100%;
  outline: none;
  transition: border-bottom-color 300ms ease;
}

.newsletter-input:focus {
  border-bottom-color: var(--color-accent);
}

.newsletter-btn {
  background: none;
  border: none;
  color: var(--color-accent);
  cursor: pointer;
  padding: 8px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

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

.footer-socials {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
}

.footer-socials a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 300ms ease;
}

.footer-socials a:hover {
  color: var(--color-secondary);
}

/* Footer Link Custom High-Contrast Classes */
.footer-bottom-link {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color 300ms ease;
}

.footer-bottom-link:hover {
  color: #FFFFFF;
}

.footer-phone-link {
  color: var(--color-secondary);
  text-decoration: none;
  font-weight: 600;
  transition: color 300ms ease;
}

.footer-phone-link:hover {
  color: #FFFFFF;
}

/* --- Pages View Visibility Classes --- */
.page-view {
  display: none;
}

.page-view.active-page {
  display: block;
}

/* Page Intro/Header */
.page-header {
  padding-top: calc(var(--header-height) + var(--space-xl));
  padding-bottom: var(--space-lg);
  background-color: var(--color-primary);
  color: #FFFFFF;
  text-align: center;
}

.page-header .section-tag {
  color: rgb(255, 255, 255);
}

.page-header h1 {
  color: #FFFFFF;
  font-weight: 200;
  margin-bottom: var(--space-xs);
}

.page-header p {
  color: #CBD5E0;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
}

/* Philosophy Timeline Elements */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

@media (min-width: 768px) {
  .philosophy-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }
}

.philosophy-pillar {
  border: 1px solid var(--color-border);
  padding: var(--space-md);
  background-color: var(--color-card-bg);
}

.pillar-number {
  font-family: var(--font-headings);
  font-size: 3rem;
  color: var(--color-accent);
  font-weight: 300;
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.pillar-title {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.pillar-desc {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* --- Blog / Wellness Journal --- */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

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

.blog-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 400ms cubic-bezier(0.25, 1, 0.5, 1);
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-img-container {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.blog-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.25, 1, 0.5, 1);
}

.blog-card:hover .blog-img-container img {
  transform: scale(1.04);
}

.blog-card-content {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  margin-bottom: var(--space-xs);
}

.blog-category {
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.blog-read-time {
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.blog-card-title {
  font-family: var(--font-headings);
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
  line-height: 1.25;
  font-weight: 400;
}

.blog-card-desc {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.blog-more-link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  transition: color 300ms ease;
}

.blog-card:hover .blog-more-link {
  color: var(--color-accent);
}

/* Blog Reader Modal Overlay */
.blog-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 15, 15, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms ease;
}

.blog-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.blog-modal-content {
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  width: 90%;
  max-width: 750px;
  max-height: 85vh;
  overflow-y: auto;
  padding: var(--space-lg);
  position: relative;
  box-shadow: 0 30px 60px rgba(15, 15, 15, 0.1);
  scrollbar-width: thin;
}

.blog-modal-close {
  position: fixed;
  top: 24px;
  right: 24px;
  background: rgba(15, 15, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 2.25rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2010;
  transition: background-color 300ms ease, border-color 300ms ease;
  line-height: 1;
}

.blog-modal-close:hover {
  background: rgba(15, 15, 15, 0.9);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.blog-modal-tag {
  color: var(--color-accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  display: block;
}

.blog-modal-title {
  font-family: var(--font-headings);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 300;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
  line-height: 1.2;
}

.blog-modal-meta {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-xs);
}

.blog-modal-img-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: var(--space-md);
  border: 1px solid var(--color-border);
}

.blog-modal-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-modal-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-foreground);
}

.blog-modal-text p {
  margin-bottom: 1.5rem;
}

.blog-modal-text h4 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-primary);
  margin: 2rem 0 1rem 0;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 300ms ease, box-shadow 300ms ease, background-color 300ms ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  background-color: #20BA5A;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  transition: transform 300ms ease;
}

.whatsapp-float:hover svg {
  transform: rotate(10deg);
}

.footer-socials a.footer-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 300ms ease;
}

.footer-socials a.footer-whatsapp-btn:hover {
  color: #25D366 !important;
  transform: scale(1.15);
}


/* Responsive adjustments for floating button */
@media (max-width: 576px) {
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 46px;
    height: 46px;
  }
}

/* --- Floating Call Button --- */
.call-float {
  position: fixed;
  bottom: 88px;
  right: 24px;
  width: 52px;
  height: 52px;
  background-color: var(--color-primary);
  color: #FFFFFF;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 4px 16px rgba(123, 94, 167, 0.4);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 300ms ease, box-shadow 300ms ease, background-color 300ms ease;
  text-decoration: none;
}

.call-float:hover {
  transform: translateY(-4px) scale(1.05);
  background-color: var(--color-accent);
  box-shadow: 0 6px 20px rgba(155, 89, 182, 0.6);
}

.call-float svg {
  width: 22px;
  height: 22px;
  transition: transform 300ms ease;
}

.call-float:hover svg {
  transform: rotate(10deg);
}

/* Responsive adjustments for floating buttons */
@media (max-width: 576px) {
  .call-float {
    bottom: 74px;
    right: 16px;
    width: 46px;
    height: 46px;
  }
  .call-float svg {
    width: 18px;
    height: 18px;
  }
}

/* --- Inline Marquee Phone Icon --- */
.marquee-phone-icon {
  width: 14px;
  height: 14px;
  vertical-align: middle;
  margin-right: 4px;
  display: inline-block;
  stroke-width: 2.5;
}

/* --- Blog Pagination Styling --- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
  width: 100%;
}

.pagination-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 300ms ease;
  user-select: none;
}

.pagination-btn:hover,
.pagination-btn.active {
  background-color: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(123, 94, 167, 0.2);
}

.pagination-btn.disabled {
  opacity: 0.3;
  pointer-events: none;
  cursor: not-allowed;
}