/* ========================================
   Rudith Reque - Centro de Estética
   Design System v2 - Luxury Editorial
   Palette: Brown #47341b | Cream #f4f4ed | Gold #D4A574
   Fonts: Cormorant Garamond + Nunito
   ======================================== */

/* ========================================
   1. CSS CUSTOM PROPERTIES
   ======================================== */
:root {
  --brown:        #47341b;
  --brown-dark:   #3a2a15;
  --brown-light:  #544437;
  --brown-ultra:  #2d1f0e;
  --cream:        #f4f4ed;
  --cream-dark:   #e8e8df;
  --cream-warm:   #f7f0e6;
  --gold:         #D4A574;
  --gold-light:   #e2be97;
  --gold-dark:    #c08f5c;
  --gold-pale:    #f0dfc4;
  --white:        #ffffff;
  --text:         #2d2318;
  --text-light:   #6b5c4e;
  --text-muted:   #9e8e80;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Nunito', 'Segoe UI', sans-serif;

  --max-width:        1280px;
  --section-padding:  120px 0;
  --transition:       all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow:           0 4px 24px rgba(47,32,14,0.08);
  --shadow-hover:     0 12px 40px rgba(47,32,14,0.15);
  --radius:           2px;
  --radius-md:        8px;
  --radius-pill:      100px;
}

/* ========================================
   2. RESET & BASE
   ======================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
:focus:not(:focus-visible) {
  outline: none;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--gold-dark);
  text-decoration: none;
  transition: var(--transition);
}

a:hover { color: var(--brown); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  color: var(--brown);
}

h1 { font-size: 4rem;   font-weight: 300; font-style: italic; line-height: 1.1; }
h2 { font-size: 2.8rem; font-weight: 400; line-height: 1.2; }
h3 { font-size: 1.8rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.2rem; font-weight: 600; }

p { margin-bottom: 1rem; }

/* ========================================
   3. LAYOUT UTILITIES
   ======================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.text-center { text-align: center; }
.bg-cream      { background-color: var(--cream); }
.bg-cream-warm { background-color: var(--cream-warm); }

/* ========================================
   4. TYPOGRAPHY COMPONENTS
   ======================================== */
.overline {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}

.section-desc {
  max-width: 600px;
  margin: 0 auto 50px;
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.8;
}

.divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 20px auto 32px;
}

.divider-left { margin-left: 0; }

/* ========================================
   5. BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 38px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background: transparent;
  color: var(--brown);
  border-color: var(--brown);
}
.btn-outline:hover {
  background: var(--brown);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--brown);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--brown);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}
.btn-whatsapp:hover {
  background: #1fb855;
  border-color: #1fb855;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}

/* ========================================
   6. SKIP LINK
   ======================================== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--brown);
  color: var(--white);
  padding: 12px 24px;
  z-index: 10000;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
}
.skip-link:focus {
  top: 0;
  color: var(--white);
}

/* ========================================
   7. HEADER & NAVBAR
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(47,32,14,0.06);
  border-bottom: 1px solid var(--cream-dark);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-brand svg {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brown-light);
  padding: 8px 16px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: 10px 28px !important;
  border-radius: var(--radius) !important;
  letter-spacing: 2px !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--gold-dark) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown);
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ========================================
   8. HERO CINEMATOGRAFICO
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-bg {
  position: absolute;
  inset: -10%;
  background: url('../img/hero-bg.jpeg') center/cover no-repeat;
  filter: brightness(1.3);
  animation: heroBgZoom 8s ease-out forwards;
}

@keyframes heroBgZoom {
  from { transform: scale(1.15); }
  to   { transform: scale(1.05); }
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
    rgba(45,31,14,0.55) 0%,
    rgba(45,31,14,0.35) 50%,
    rgba(45,31,14,0.25) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  padding: 120px 24px 100px;
  min-height: calc(100vh - 80px);
}

.hero-overline {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
}

.hero-line-top {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 5.5rem;
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(30px);
}

.hero-divider {
  width: 80px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 24px;
  transform: scaleX(0);
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 32px;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-buttons .btn {
  opacity: 0;
  transform: translateY(15px);
}

/* Hero stats bar */
.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-top: 1px solid rgba(212,165,116,0.25);
  padding: 20px 0;
  opacity: 0;
}

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

.hero-stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 300;
  font-style: italic;
  color: var(--gold);
  line-height: 1.2;
}

.hero-stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.6);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  opacity: 0;
}

.scroll-indicator span {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50%      { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
}

/* Hero loaded state */
.hero.loaded .hero-line-top,
.hero.loaded .hero-overline {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero.loaded .hero-overline { transition-delay: 0.2s; }

.hero.loaded .hero-title .line {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.hero.loaded .hero-title .line:nth-child(1) { transition-delay: 0.35s; }
.hero.loaded .hero-title .line:nth-child(2) { transition-delay: 0.5s; }

.hero.loaded .hero-divider {
  transform: scaleX(1);
  transition: transform 0.5s ease 0.65s;
}

.hero.loaded .hero-desc {
  opacity: 1;
  transition: opacity 0.8s ease 0.8s;
}

.hero.loaded .hero-buttons .btn:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease 1s, transform 0.5s ease 1s, background 0.35s, box-shadow 0.35s, border-color 0.35s;
}
.hero.loaded .hero-buttons .btn:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease 1.1s, transform 0.5s ease 1.1s, background 0.35s, box-shadow 0.35s, border-color 0.35s;
}

.hero.loaded .hero-stats {
  opacity: 1;
  transition: opacity 0.6s ease 1.2s;
}

.hero.loaded .scroll-indicator {
  opacity: 1;
  transition: opacity 0.5s ease 1.5s;
}

/* ========================================
   9. TRUST STRIP
   ======================================== */
.trust-strip {
  background: var(--cream-warm);
  padding: 18px 0;
  overflow: hidden;
}

.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 32px;
}
.trust-strip-inner::-webkit-scrollbar { display: none; }

.trust-strip-text {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-dark);
  font-weight: 600;
  flex-shrink: 0;
}

.trust-sep {
  color: var(--gold);
  opacity: 0.5;
  margin: 0 20px;
  flex-shrink: 0;
}

/* ========================================
   10. ABOUT / NOSOTROS
   ======================================== */
.about-section {
  background: var(--cream-warm);
  padding: var(--section-padding);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-wrapper {
  border-radius: 0px 60px 0px 60px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #8B7355, #6B5B4E);
}

.about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  text-align: center;
  padding: 20px;
}

.about-frame {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 60px;
  height: 60px;
  border: 2px solid var(--gold);
  z-index: -1;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--white);
  padding: 16px 24px;
  box-shadow: var(--shadow-hover);
  text-align: center;
}

.about-badge-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 300;
  font-style: italic;
  color: var(--gold);
  line-height: 1;
}

.about-badge-text {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.about-text h2 {
  margin-bottom: 16px;
}

.about-text p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--cream-dark);
}

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

.stat-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 300;
  font-style: italic;
  color: var(--gold);
  line-height: 1;
}

.stat-item span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

/* ========================================
   11. SERVICES PANELS (Homepage)
   ======================================== */
.services-section {
  padding: var(--section-padding);
}

.services-panels {
  display: flex;
  gap: 12px;
  height: 520px;
  margin-top: 16px;
}

.service-panel {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: flex 0.5s cubic-bezier(0.4,0,0.2,1);
}

.service-panel:hover { flex: 2.5; }

.service-panel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.service-panel:nth-child(1) .service-panel-bg { background: url('../img/servicio-facial.jpeg') center/cover no-repeat; }
.service-panel:nth-child(2) .service-panel-bg { background: url('../img/servicio-corporal.jpeg') center/cover no-repeat; }
.service-panel:nth-child(3) .service-panel-bg { background: url('../img/servicio-depilacion.jpeg') center/cover no-repeat; }
.service-panel:nth-child(4) .service-panel-bg { background: url('../img/servicio-especial.jpeg') center/cover no-repeat; }

.service-panel:hover .service-panel-bg { transform: scale(1.08); }

.service-panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(45,31,14,0.25) 0%, rgba(45,31,14,0.75) 100%);
  transition: background 0.4s;
}
.service-panel:hover .service-panel-overlay {
  background: linear-gradient(180deg,
    rgba(45,31,14,0.35) 0%, rgba(45,31,14,0.85) 100%);
}

.service-panel-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  height: 100%;
  padding: 36px 28px;
  color: var(--white);
}

.service-panel-icon {
  width: 40px;
  height: 40px;
  color: var(--gold);
  margin-bottom: 16px;
  opacity: 0.85;
}

.service-panel-content h3 {
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 400;
  margin-bottom: 8px;
}

.service-panel-content p {
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.4s 0.1s, max-height 0.4s;
  color: rgba(255,255,255,0.8);
  margin: 0;
}

.service-panel:hover .service-panel-content p {
  opacity: 1;
  max-height: 80px;
}

.service-panel-link {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  transition: gap 0.3s;
}
.service-panel-link:hover {
  color: var(--gold-light);
  gap: 10px;
}

/* ========================================
   12. BEFORE / AFTER
   ======================================== */
.before-after-section {
  background: var(--cream);
  padding: var(--section-padding);
}

.before-after-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  max-width: 700px;
  margin: 0 auto 40px;
  aspect-ratio: 16/10;
  box-shadow: var(--shadow);
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}

.ba-side {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}

.ba-before {
  background: linear-gradient(135deg, #d5cec6, #b8b0a6);
  clip-path: inset(0 50% 0 0);
}

.ba-after {
  background: linear-gradient(135deg, #c9a96e80, #d4a574);
}

.ba-label {
  position: absolute;
  bottom: 16px;
  padding: 6px 16px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  background: rgba(45,31,14,0.7);
  color: var(--white);
  border-radius: var(--radius-pill);
  z-index: 5;
}

.ba-label-before { left: 16px; }
.ba-label-after  { right: 16px; }

.ba-slider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--white);
  z-index: 10;
  transform: translateX(-50%);
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--brown);
  z-index: 11;
}

/* ========================================
   13. PROMO BANNER
   ======================================== */
.promo-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  color: var(--white);
  background: linear-gradient(135deg, #5C4D3E 0%, #3a2a15 100%);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.promo-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(45,31,14,0.85) 0%, rgba(71,52,27,0.75) 100%);
}

.promo-inner {
  position: relative;
  z-index: 2;
}

.promo-big-number {
  font-family: var(--font-heading);
  font-size: 8rem;
  font-weight: 300;
  font-style: italic;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0;
}

.promo-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.promo-section p {
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin: 0 auto 32px;
}

/* ========================================
   14. TESTIMONIALS
   ======================================== */
.testimonials-section {
  background: var(--cream-warm);
  padding: var(--section-padding);
}

.testimonial-editorial {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
  padding: 48px 40px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-quote-mark {
  font-family: var(--font-heading);
  font-size: 6rem;
  color: var(--gold);
  opacity: 0.15;
  position: absolute;
  top: 12px;
  left: 32px;
  line-height: 1;
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
}

.testimonial-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 300;
  color: var(--brown);
  line-height: 1.7;
  margin-bottom: 24px;
}

.testimonial-author-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.testimonial-author-name {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brown);
}

.testimonial-author-sep {
  width: 20px;
  height: 1px;
  background: var(--gold);
  display: block;
}

.testimonial-author-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ========================================
   15. CTA SECTION
   ======================================== */
.cta-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  color: var(--white);
  background: url('../img/cta-bg.jpeg') center/cover no-repeat;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(45,31,14,0.78);
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 { color: var(--white); }
.cta-section p {
  color: rgba(255,255,255,0.85);
  max-width: 500px;
  margin: 0 auto 8px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ========================================
   16. FOOTER
   ======================================== */
.footer {
  background: var(--brown-dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-logo-wrap {
  margin-bottom: 20px;
}
.footer-logo-wrap svg {
  height: 100px;
  width: auto;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.footer h4 {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--gold); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.88rem;
}

.footer-contact-icon {
  width: 18px;
  height: 18px;
  min-width: 18px;
  fill: var(--gold);
  margin-top: 3px;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.6);
}
.footer-contact-item a:hover { color: var(--gold); }

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  transition: var(--transition);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: rgba(255,255,255,0.5);
}

.footer-social a:hover {
  background: var(--gold);
}
.footer-social a:hover svg { fill: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a {
  color: var(--gold);
  opacity: 0.7;
}
.footer-bottom a:hover { opacity: 1; }

/* ========================================
   17. WHATSAPP FLOAT
   ======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 1000;
  animation: waPulse 2s infinite;
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: var(--white);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
  50%      { box-shadow: 0 4px 28px rgba(37,211,102,0.6); }
}

/* ========================================
   18. PAGE HERO (sub-pagine)
   ======================================== */
.page-hero {
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-dark) 50%, var(--brown-ultra) 100%);
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/page-hero-bg.jpeg') center/cover no-repeat;
  opacity: 0.18;
  pointer-events: none;
}
.page-hero h1,
.page-hero .breadcrumb-current,
.page-hero .page-hero-subtitle { color: var(--cream); }
.page-hero .breadcrumb a { color: var(--gold-light); }
.page-hero .breadcrumb-sep { color: var(--gold); opacity: 0.5; }
.page-hero .divider::after { background: var(--gold); }

.breadcrumb {
  font-size: 0.78rem;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { color: var(--gold-dark); }
.breadcrumb-sep { margin: 0 8px; }
.breadcrumb-current { color: var(--text-light); }

.page-hero-subtitle {
  max-width: 560px;
  margin: 0 auto;
  color: var(--text-light);
  font-size: 1.05rem;
}

/* ========================================
   19. SERVICIOS PAGE
   ======================================== */
.services-category {
  padding: var(--section-padding);
}

.category-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 48px;
}

.category-icon-circle {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-icon-circle svg {
  width: 24px;
  height: 24px;
  fill: var(--gold-dark);
}

.category-header h2 {
  margin-bottom: 8px;
}

.category-header p {
  color: var(--text-light);
  margin: 0;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.service-item {
  padding: 28px 28px 28px 32px;
  background: var(--white);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.service-item h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 8px;
}

.service-item p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

/* ========================================
   20. GALERIA PAGE
   ======================================== */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 24px;
  border: 1px solid var(--cream-dark);
  background: transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--brown);
  color: var(--white);
  border-color: var(--brown);
}

.gallery-grid {
  columns: 3;
  column-gap: 16px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

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

.gallery-placeholder {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  text-align: center;
  padding: 20px;
}

/* Varied heights for masonry fallback */
.gallery-item:nth-child(1) .gallery-placeholder { height: 280px; background: linear-gradient(135deg, #8B7355, #A0926E); }
.gallery-item:nth-child(2) .gallery-placeholder { height: 360px; background: linear-gradient(135deg, #6B5B4E, #9E8E80); }
.gallery-item:nth-child(3) .gallery-placeholder { height: 240px; background: linear-gradient(135deg, #7A6B5D, #B5A799); }
.gallery-item:nth-child(4) .gallery-placeholder { height: 300px; background: linear-gradient(135deg, #5C4D3E, #8B7D6E); }
.gallery-item:nth-child(5) .gallery-placeholder { height: 260px; background: linear-gradient(135deg, #9E8E80, #B5A799); }
.gallery-item:nth-child(6) .gallery-placeholder { height: 340px; background: linear-gradient(135deg, #47341b, #6B5B4E); }
.gallery-item:nth-child(7) .gallery-placeholder { height: 280px; background: linear-gradient(135deg, #A0926E, #c9a96e); }
.gallery-item:nth-child(8) .gallery-placeholder { height: 320px; background: linear-gradient(135deg, #8B7355, #5C4D3E); }
.gallery-item:nth-child(9) .gallery-placeholder { height: 260px; background: linear-gradient(135deg, #6B5B4E, #47341b); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(45,31,14,0);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  transition: background 0.3s;
}

.gallery-overlay span {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 400;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s;
}

.gallery-item:hover .gallery-overlay {
  background: rgba(45,31,14,0.5);
}
.gallery-item:hover .gallery-overlay span {
  opacity: 1;
  transform: translateY(0);
}

.gallery-note {
  text-align: center;
  margin-top: 48px;
  padding: 40px;
  background: var(--cream-warm);
  border-radius: var(--radius-md);
}

.gallery-note p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.active { display: flex; }

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  z-index: 10;
}

.lightbox-img-wrap {
  max-width: 85vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
}

.lightbox-caption {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-top: 12px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  padding: 16px;
  opacity: 0.6;
  transition: opacity 0.3s;
}
.lightbox-nav:hover { opacity: 1; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ========================================
   21. CONTACTO PAGE
   ======================================== */
.contact-section {
  padding: var(--section-padding);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form-wrapper h3 {
  margin-bottom: 8px;
}

.form-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brown);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--white);
  color: var(--text);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(212,165,116,0.15);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.form-error {
  color: #d32f2f;
  font-size: 0.78rem;
  margin-top: 4px;
  display: none;
}

.form-group.error .form-error { display: block; }
.form-group.error input,
.form-group.error select,
.form-group.error textarea { border-color: #d32f2f; }

.form-success-msg {
  display: none;
  margin-top: 16px;
  padding: 16px;
  background: #e8f5e9;
  color: #2e7d32;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  text-align: center;
}

.form-success-msg.show { display: block; }

/* Info cards */
.info-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  transition: var(--transition);
}

.info-card:hover {
  box-shadow: var(--shadow-hover);
}

.info-card-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-card-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--gold-dark);
}

.info-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.info-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin: 0;
}

.info-card a {
  color: var(--gold-dark);
}
.info-card a:hover { color: var(--brown); }

.schedule-table {
  font-size: 0.88rem;
  border-collapse: collapse;
}

.schedule-table td {
  padding: 4px 0;
  color: var(--text-light);
}

.schedule-table td:first-child {
  padding-right: 24px;
  font-weight: 600;
  color: var(--text);
}

.map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 16px;
  box-shadow: var(--shadow);
}

.map-wrapper iframe {
  display: block;
}

/* Zones */
.zones-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.zone-chip {
  padding: 8px 20px;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  color: var(--text-light);
  transition: var(--transition);
}

.zone-chip:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: var(--gold-pale);
}

/* ========================================
   22. ANIMATIONS
   ======================================== */
.fade-up,
.fade-left,
.fade-right,
.scale-in {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up    { transform: translateY(30px); }
.fade-left  { transform: translateX(-50px); }
.fade-right { transform: translateX(50px); }
.scale-in   { transform: scale(0.95); }

.fade-up.visible,
.fade-left.visible,
.fade-right.visible,
.scale-in.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .fade-up, .fade-left, .fade-right, .scale-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-bg { animation: none; }
  .scroll-indicator span::after { animation: none; }
  .whatsapp-float { animation: none; }
}

/* ========================================
   23. RESPONSIVE - TABLET (1024px)
   ======================================== */
@media (max-width: 1024px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.2rem; }

  .hero-title { font-size: 4rem; }

  .services-panels {
    flex-wrap: wrap;
    height: auto;
  }
  .service-panel {
    flex: 1 1 calc(50% - 6px);
    min-height: 320px;
  }
  .service-panel:hover { flex: 1 1 calc(50% - 6px); }
  .service-panel-content p {
    opacity: 1;
    max-height: 80px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid { columns: 2; }

  .about-grid { gap: 40px; }
}

/* ========================================
   24. RESPONSIVE - MOBILE (768px)
   ======================================== */
@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
  }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }

  .container { padding: 0 20px; }

  /* Navbar mobile */
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -85%;
    width: 85%;
    height: 100vh;
    background: var(--cream-warm);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transition: right 0.35s ease;
    z-index: 999;
    box-shadow: -4px 0 24px rgba(0,0,0,0.1);
  }

  .nav-links.active { right: 0; }

  .nav-links a {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-align: center;
    letter-spacing: 2px;
  }

  .nav-links a::after { display: none; }

  .nav-cta {
    margin-top: 16px;
    text-align: center !important;
    justify-content: center;
    width: 100%;
    display: flex !important;
  }

  /* Hero mobile */
  .hero { min-height: 100svh; }
  .hero-title { font-size: 2.8rem; }
  .hero-content { padding: 100px 20px 80px; }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 16px;
  }

  .scroll-indicator { display: none; }

  /* About mobile */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image { order: -1; }

  .about-image-wrapper {
    border-radius: 0 40px 0 40px;
    aspect-ratio: 3/4;
  }

  .about-stats {
    justify-content: center;
  }

  /* Services panels mobile */
  .services-panels {
    flex-direction: column;
    height: auto;
  }

  .service-panel {
    min-height: 200px;
  }
  .service-panel:hover { flex: 1; }
  .service-panel-content p {
    opacity: 1;
    max-height: 80px;
  }

  /* Before/After mobile */
  .before-after-container {
    max-width: 100%;
  }

  /* Promo mobile */
  .promo-big-number { font-size: 5rem; }
  .promo-section { padding: 80px 0; }

  /* Testimonials mobile */
  .testimonial-editorial {
    padding: 32px 24px;
  }
  .testimonial-quote-mark {
    font-size: 4rem;
    left: 16px;
  }
  .testimonial-text { font-size: 1.1rem; }

  /* Footer mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  /* Gallery mobile */
  .gallery-grid { columns: 2; column-gap: 10px; }
  .gallery-item { margin-bottom: 10px; }

  /* Contact mobile */
  .contact-grid { grid-template-columns: 1fr; }

  /* Page hero mobile */
  .page-hero { padding: 120px 0 40px; }
}

/* ========================================
   25. RESPONSIVE - SMALL (480px)
   ======================================== */
@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .hero-overline { font-size: 0.65rem; letter-spacing: 2px; }

  .promo-big-number { font-size: 4rem; }

  .gallery-grid { columns: 1; }

  .about-stats { flex-direction: column; gap: 20px; }

  .btn { padding: 13px 28px; font-size: 0.72rem; }

  .services-list {
    grid-template-columns: 1fr;
  }
}
