/* =========================================================================
   ST. PAUL'S HOTEL - CINEMATIC OVERHAUL REWRITE (2026 NEXT-GEN)
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Outfit:wght@200;300;400;500&display=swap');

:root {
  --nav-height: 90px;

  /* ── Color Palette: Light Champagne Luxury ── */
  /* Base: crisp modern light ivory */
  --bg: #faf9f6;
  /* Lifted surfaces: pure white for cards and sections */
  --bg-lift: #ffffff;
  /* Glass surfaces: semi-transparent white */
  --bg-glass: rgba(255, 255, 255, 0.75);

  /* Text */
  --text: #190252;
  /* Deep Indigo for readability */
  --text-muted: rgba(25, 2, 82, 0.65);
  --text-dark: #190252;

  /* Accent: Terracotta */
  --accent: #C05A35;
  --accent-muted: rgba(192, 90, 53, 0.14);

  /* Borders */
  --border: rgba(25, 2, 82, 0.1);
  --border-gold: rgba(192, 90, 53, 0.32);
  /* Subtle highlight border */
  --border-purple: rgba(25, 2, 82, 0.06);

  /* Glow helpers */
  --purple-glow: rgba(25, 2, 82, 0.04);
  --gold-glow: rgba(192, 90, 53, 0.14);

  /* Secondary Accent: Hotel Red */
  --accent2:       #d32f2f;
  --accent2-muted: rgba(211, 47, 47, 0.1);
  --border-red:    rgba(211, 47, 47, 0.25);

  /* Typography */
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans:  'Outfit', sans-serif;
}

/* =========================================================================
   RESET & CORE
   ========================================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: auto !important;
  /* Smooth scroll handled by JS if needed, but native is ok. We do custom reveals */
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: none;
  /* Custom cursor */
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: none;
}

ul {
  list-style: none;
}

/* =========================================================================
   CUSTOM CURSOR
   ========================================================================= */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  will-change: transform, width, height;
}

/* Hovering active elements */
body.interacting .cursor-ring {
  width: 60px;
  height: 60px;
  background-color: var(--accent-muted);
  border-color: transparent;
  backdrop-filter: blur(4px);
}

@media (max-width: 1024px) {

  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  body,
  a {
    cursor: auto;
  }
}

/* =========================================================================
   TYPOGRAPHY
   ========================================================================= */
.h-xl {
  font-family: var(--font-serif);
  font-size: clamp(60px, 10vw, 130px);
  line-height: 0.95;
  font-weight: 300;
  letter-spacing: -0.02em;
  text-transform: none;
}

.h-xl i {
  font-style: italic;
  color: var(--accent);
}

.h-lg {
  font-family: var(--font-serif);
  font-size: clamp(42px, 6vw, 84px);
  line-height: 1.05;
  font-weight: 300;
  letter-spacing: -0.01em;
}

.h-md {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
  font-weight: 400;
}

.h-sm {
  font-family: var(--font-sans);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 400;
  color: var(--accent);
}

p.body-lg {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 300;
  color: var(--text-muted);
  max-width: 600px;
}

/* =========================================================================
   LAYOUT & UTILITIES
   ========================================================================= */
.container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

.section {
  padding: 140px 0;
  position: relative;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 992px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* =========================================================================
   TOP BAR
   ========================================================================= */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 36px;
  background: linear-gradient(90deg, var(--bg) 0%, var(--bg-lift) 100%);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  font-family: var(--font-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  z-index: 101;
}

.top-bar a {
  color: var(--accent);
  transition: color 0.3s;
}

.top-bar a:hover {
  color: var(--text);
}

@media (max-width: 768px) {
  .top-bar {
    padding: 0 20px;
    font-size: 9px;
    flex-direction: column;
    justify-content: center;
    height: 50px;
  }

  .header {
    top: 50px !important;
  }
}

/* =========================================================================
   HEADER / NAV
   ========================================================================= */
.top-bar-social {
  display: flex;
  gap: 15px;
  align-items: center;
}

.top-bar-social a {
  color: var(--text-muted);
  transition: color 0.3s ease;
  font-size: 16px;
}

.top-bar-social a:hover {
  color: var(--accent);
}

.header {
  position: fixed;
  top: 36px;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 100;
  transition: background 0.4s ease, border-bottom 0.4s ease;
  border-bottom: 1px solid transparent;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.4) 60%, transparent 100%);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--text);
}

/* Active page: gold text (heritage/elegance) + red underline (brand action) */
.nav-links a.active {
  color: var(--accent);
  position: relative;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent2);
}

.menu-btn {
  display: none;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: none;
  border: none;
  color: var(--text);
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
  }

  .menu-btn {
    display: block;
  }
}

/* =========================================================================
   BUTTONS (MAGNETIC)
   ========================================================================= */
.btn-magnetic-wrap {
  display: inline-block;
  padding: 20px;
  /* Magnetic catch area */
  margin: -20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  font-family: var(--font-sans);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 400;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  overflow: hidden;
  position: relative;
  transition: border-color 0.4s ease;
}

/* Ghost button — gold fill on hover (elegance) */
.btn::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.btn:hover {
  border-color: var(--accent);
  color: #fff;
}

.btn:hover::after {
  top: 0;
}

/* Primary CTA — red fill, red border, white text (action) */
.btn.primary {
  border-color: var(--accent2);
  color: var(--accent2);
  position: relative;
  overflow: hidden;
}

.btn.primary::after {
  background: var(--accent2);
}

.btn.primary:hover {
  border-color: var(--accent2);
  color: #fff;
  box-shadow: 0 8px 30px rgba(211, 47, 47, 0.25);
}

/* =========================================================================
   HERO / CINE-INTRO
   ========================================================================= */
.slider-wrap {
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.2s ease-in-out, transform 2.5s ease;
  visibility: hidden;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  visibility: visible;
  z-index: 2;
}

.slider-controls {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.25);
  transition: background 0.4s, border-color 0.4s;
  cursor: pointer;
}

.slider-dot.active {
  background: var(--accent2);
  border-color: var(--accent2);
  box-shadow: 0 0 10px rgba(211, 47, 47, 0.4);
}

.hero-full {
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110%;
  /* Extra height for parallax */
  object-fit: cover;
  z-index: 0;
  opacity: 1;
  filter: brightness(1) contrast(1.05) saturate(1.05);
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Light cinematic fade (significantly reduced for image clarity) */
  background:
    linear-gradient(to top, rgba(250, 249, 246, 0.7) 0%, rgba(250, 249, 246, 0.1) 40%, transparent 100%),
    radial-gradient(ellipse at center, transparent 0%, rgba(255, 255, 255, 0.2) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  margin-top: 140px;
}

.hero-content h1,
.hero-content h2,
.hero-content h3,
.hero-content p,
.hero-content .h-sm {
  color: #ffffff !important;
}

.hero-content .h-xl i {
  color: var(--accent) !important;
}

/* Inner page heroes use flex-center -- no top margin needed */
.hero-full .flex-center .hero-content,
.hero-full .container.hero-content.flex-center {
  margin-top: 0;
}

.hero-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 0;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(to top, rgba(250, 249, 246, 0.55) 0%, transparent 100%);
  display: flex;
  justify-content: space-between;
}

/* =========================================================================
   ANIMATIONS & REVEALS
   ========================================================================= */
/* Split Line Reveal */
.split-line {
  overflow: hidden;
  display: block;
}

.split-line .split-inner {
  display: block;
  transform: translateY(110%);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.split-line.revealed .split-inner {
  transform: translateY(0);
}

/* Fade up general */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Image Parallax Container */
.img-cine {
  position: relative;
  overflow: hidden;
  border-radius: 0px;
  /* Sharp edges */
}

.img-cine img {
  width: 100%;
  height: 120%;
  /* Space for parallax */
  object-fit: cover;
  transform: translateY(-10%);
  /* Starting point */
  will-change: transform;
  filter: brightness(1) contrast(1.06) saturate(1.05);
  transition: filter 0.6s ease;
}

.img-cine:hover img {
  filter: brightness(1.03) contrast(1.08) saturate(1.08);
}

/* =========================================================================
   ROOMS CINEMATIC GRID (Index Demo)
   ========================================================================= */
.room-teaser {
  position: relative;
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.room-teaser:first-child {
  border-top: none;
}

.room-teaser:hover {
  border-color: var(--border-gold);
}

/* Room pricing display */
.room-price {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--accent);
  margin-top: 12px;
  letter-spacing: -0.01em;
}

.room-price .per-night {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-left: 4px;
}

.room-teaser .grid-2 {
  align-items: stretch;
}

.room-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 40px;
}

.room-info .h-lg {
  margin: 20px 0 30px;
}

.room-features {
  display: flex;
  gap: 20px;
  margin: 30px 0 40px;
  flex-wrap: wrap;
}

.room-features li {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.room-features li::before {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.8;
}

/* =========================================================================
   TEXT UTILITIES
   ========================================================================= */
.text-center {
  text-align: center;
}

/* =========================================================================
   FORMS (BOOKING / CONTACT)
   ========================================================================= */
.form-card {
  background: var(--bg-lift);
  border: 1px solid var(--border);
  padding: 40px;
}

.form-card h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-field label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid var(--border);
  border-bottom: 1px solid var(--border-purple);
  padding: 16px 18px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.form-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text);
  opacity: 0.8;
}

.form-alert {
  margin-top: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
  padding: 12px 14px;
  font-size: 13px;
}

/* =========================================================================
   NEWS
   ========================================================================= */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

.news-card {
  background: var(--bg-lift);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
}

.news-media {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1) contrast(1.06);
  transform: scale(1.02);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card:hover .news-media img {
  transform: scale(1.06);
}

.news-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.news-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.news-tag {
  border: 1px solid var(--border-gold);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--text);
}

.news-date {
  opacity: 0.7;
}

.news-title {
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.news-excerpt {
  color: var(--text);
  opacity: 0.78;
  line-height: 1.8;
  font-size: 14px;
}

.news-readmore {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.news-post {
  max-width: 960px;
  margin: 0 auto;
}

.news-post h1 {
  font-family: var(--font-serif);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.03;
  font-weight: 300;
  letter-spacing: -0.02em;
}

.news-post .hero-img {
  margin-top: 26px;
  border: 1px solid var(--border);
}

.news-post .hero-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.news-post .content {
  margin-top: 26px;
  line-height: 1.9;
  color: var(--text);
  opacity: 0.86;
  font-size: 15px;
  white-space: pre-wrap;
}

/* =========================================================================
   GALLERY PAGE GRID (moved from inline styles)
   ========================================================================= */
.gallery-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  padding: 40px 0 140px;
}

.gallery-page .gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  height: 300px;
}

.gallery-page .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
  filter: brightness(0.92);
}

.gallery-page .gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

/* =========================================================================
   AMENITIES STRIP
   ========================================================================= */
.amenities-strip {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-lift);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .amenities-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 600px) {
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.amenity-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  cursor: default;
}

.amenity-icon {
  width: 56px;
  height: 56px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.amenity-item:hover .amenity-icon {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  transform: translateY(-4px);
}

.amenity-item span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.amenity-item:hover span {
  color: var(--text);
}

/* =========================================================================
   STATS COUNTER
   ========================================================================= */
.stats-section {
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 20px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s ease;
}

.stat-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-item:hover {
  border-color: var(--border-gold);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08), inset 0 0 20px rgba(184, 144, 32, 0.05);
}

.stat-item:hover::before {
  transform: scaleX(1);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

/* =========================================================================
   FLOATING ACTION BUTTONS (WhatsApp + Back to Top)
   ========================================================================= */
.fab-group {
  position: fixed;
  bottom: 40px;
  right: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 500;
}

.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  position: relative;
}

.fab .fab-icon {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}

.fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.fab-whatsapp {
  background: radial-gradient(circle at 30% 30%, #4fe48b 0%, #25D366 55%, #13a84d 100%);
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  animation: waPulse 2s infinite;
  /* Ensure inherited styles don't shift contents */
  line-height: 1;
}

/* Force perfect centering of the fa-whatsapp icon */
.fab-whatsapp i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 26px;
  line-height: 1;
  margin: 0;
  padding: 0;
}

@keyframes waPulse {
  0%   { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70%  { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(37, 211, 102, 0); }
}

.fab-whatsapp:hover {
  filter: brightness(1.06);
}

/* Tooltip */
.fab-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  color: var(--text-dark);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(12px);
}

.fab:hover .fab-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(-2px);
}

.fab-top {
  background: var(--bg-lift);
  border: 1px solid var(--border-red);
  color: var(--accent2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.fab-top.visible {
  opacity: 1;
  pointer-events: all;
}

.fab-top:hover {
  box-shadow: 0 8px 30px rgba(211, 47, 47, 0.3) !important;
}

/* =========================================================================
   GALLERY LIGHTBOX
   ========================================================================= */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(250, 249, 246, 0.96);
  backdrop-filter: blur(20px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lightbox-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
}

.lightbox-img-wrap img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border: 1px solid var(--border);
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  font-size: 28px;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
}

.lightbox-close:hover {
  color: var(--accent);
}

.lightbox-caption {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 16px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
}

.lightbox-nav:hover {
  color: var(--accent2);
  border-color: var(--accent2);
}

.lightbox-prev {
  left: -70px;
}

.lightbox-next {
  right: -70px;
}

/* =========================================================================
   TESTIMONIALS
   ========================================================================= */
.testimonials-section {
  background: var(--bg);
}

/* Slider */
.testimonials-slider {
  position: relative;
}

.testimonials-track {
  display: flex;
  gap: 30px;
  overflow: auto hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding-bottom: 18px;
  scrollbar-width: none; /* Firefox */
}

.testimonials-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.testimonials-track .testimonial-card {
  flex: 0 0 calc((100% - 60px) / 3);
  scroll-snap-align: start;
}

@media (max-width: 992px) {
  .testimonials-track .testimonial-card {
    flex-basis: 100%;
  }
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.testimonials-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  opacity: 0.9;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.testimonials-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.15);
}

.testimonial-card {
  background: var(--bg-lift);
  border: 1px solid var(--border);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: border-color 0.4s ease, transform 0.4s ease;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  right: 30px;
  font-family: var(--font-serif);
  font-size: 80px;
  color: var(--accent2);
  opacity: 0.08;
  line-height: 1;
}

.testimonial-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-6px);
}

.testimonial-stars {
  color: var(--accent);
  font-size: 14px;
  display: flex;
  gap: 4px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.testimonial-initials {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-muted);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.05em;
}

.testimonial-loc {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

/* =========================================================================
   FOOTER — PREMIUM REDESIGN
   ========================================================================= */
.footer {
  background: linear-gradient(180deg, #faf9f6 0%, #f0f0f5 100%);
  padding: 0 0 0;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* Subtle gold glow at top of footer */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
}

.footer-inner {
  padding: 80px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand-col .brand {
  font-size: 20px;
}

.footer-brand-col .brand img {
  height: 40px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 260px;
}

.footer-social-row {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}

.footer-social-row a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--text-muted);
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.footer-social-row a:hover {
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.3s ease, padding-left 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.footer-col a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-bottom {
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-left {
  opacity: 0.6;
}

.footer-bottom-right {
  color: var(--accent);
  font-weight: 400;
  letter-spacing: 0.1em;
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* =========================================================================
   MOBILE MENU OVERLAY
   ========================================================================= */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(250, 249, 246, 0.97);
  backdrop-filter: blur(20px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-overlay a {
  font-family: var(--font-serif);
  font-size: clamp(32px, 8vw, 60px);
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}

.mobile-nav-overlay a:hover,
.mobile-nav-overlay a.active {
  color: var(--accent);
}

.mobile-nav-close {
  position: absolute;
  top: 40px;
  right: 40px;
  font-size: 28px;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
}

.mobile-nav-close:hover {
  color: var(--accent);
}

/* =========================================================================
   SCROLL PROGRESS BAR
   ========================================================================= */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent2) 0%, #ff4444 100%);
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(211, 47, 47, 0.3);
}

/* =========================================================================
   SECTION SEPARATOR (GOLD RULE)
   ========================================================================= */
.section-rule {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  margin: 24px 0;
}

/* =========================================================================
   INNER PAGE HERO CONSISTENCY
   ========================================================================= */
.page-hero {
  height: 65vh !important;
}

/* =========================================================================
   GALLERY ITEM CAPTION OVERLAY
   ========================================================================= */
.gallery-item .gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.9), transparent);
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .footer-links {
    flex-direction: column;
    gap: 40px;
  }

  .footer-top {
    flex-direction: column;
  }

  .top-bar-left {
    display: none;
  }

  .top-bar {
    justify-content: center;
  }
}