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

:root {
  --gold:       #c9a84c;
  --gold-light: #e8c97a;
  --dark:       #0f0f0f;
  --dark-2:     #161616;
  --dark-3:     #1e1e1e;
  --text:       #f0f0f0;
  --text-muted: #999;
  --wa:         #25d366;
  --wa-hover:   #1ebe5c;
  --radius:     12px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
address { font-style: normal; }

/* ─────────────────────────────────────────
   LAYOUT
───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section     { padding: 80px 0; }
.bg-dark-2   { background: var(--dark-2); }

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 48px;
}

/* ─────────────────────────────────────────
   BUTTONS (base)
───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* WhatsApp – hero */
.btn-wa {
  background: var(--wa);
  color: #fff;
  font-size: 1.05rem;
  padding: 16px 32px;
  box-shadow: 0 4px 24px rgba(37,211,102,.35);
}
.btn-wa:hover { background: var(--wa-hover); box-shadow: 0 8px 32px rgba(37,211,102,.5); }

/* Call – hero */
.btn-call {
  background: transparent;
  color: #fff;
  font-size: 1.05rem;
  padding: 15px 32px;
  border: 2px solid rgba(255,255,255,.35);
}
.btn-call:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* Header – phone */
.btn-phone-sm {
  background: transparent;
  color: var(--text);
  font-size: 0.85rem;
  padding: 8px 16px;
  border: 1.5px solid rgba(255,255,255,.25);
}
.btn-phone-sm:hover { border-color: rgba(255,255,255,.6); }

/* Header – WA small */
.btn-wa-sm {
  background: var(--wa);
  color: #fff;
  font-size: 0.85rem;
  padding: 8px 18px;
  box-shadow: 0 2px 12px rgba(37,211,102,.3);
}
.btn-wa-sm:hover { background: var(--wa-hover); }

/* Directions */
.btn-directions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #0f0f0f;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 999px;
  margin-top: 24px;
  transition: background .2s, transform .15s;
}
.btn-directions:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ─────────────────────────────────────────
   STICKY HEADER
───────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 12px 0;
  transition: background .3s, backdrop-filter .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: rgba(15,15,15,.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 24px rgba(0,0,0,.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 600;
}
.logo strong { color: var(--gold); }
.logo svg    { color: var(--gold); flex-shrink: 0; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
}

/* ── Slideshow ── */
.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroSlide 21s ease-in-out infinite;
  animation-fill-mode: backwards;
}

.slide-1 { animation-delay: 0s; }
.slide-2 { animation-delay: 7s; }
.slide-3 { animation-delay: 14s; }

@keyframes heroSlide {
  0%      { opacity: 0; }
  7%      { opacity: 1; }   /* fade in ~1.5s */
  28%     { opacity: 1; }   /* visible ~4.5s */
  33.33%  { opacity: 0; }   /* fade out ~1s */
  100%    { opacity: 0; }   /* hidden */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0,0,0,.82)  0%,
    rgba(0,0,0,.55) 50%,
    rgba(0,0,0,.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  max-width: 720px;
  margin: 0 auto;
}

/* badge */
.badge {
  display: inline-block;
  background: rgba(201,168,76,.15);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 999px;
}

.badge-multilock {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.25);
  color: rgba(255,255,255,.85);
}

/* H1 */
.hero-content h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,.65);
}
.hero-content h1 em {
  font-style: normal;
  color: var(--gold);
}

/* subtitle */
.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  color: rgba(255,255,255,.93);
  line-height: 1.75;
  max-width: 520px;
  text-shadow: 0 1px 12px rgba(0,0,0,.8);
}

/* CTAs row */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 8px;
}

/* ─────────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.t-card {
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .2s;
}
.t-card:hover { border-color: rgba(201,168,76,.4); }

.t-stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 3px;
}

.t-card blockquote {
  font-size: 0.97rem;
  color: rgba(240,240,240,.8);
  line-height: 1.75;
  flex: 1;
}

.t-card footer           { display: flex; flex-direction: column; gap: 3px; }
.t-card footer strong    { font-size: 0.95rem; }
.t-card footer span      { font-size: 0.82rem; color: var(--text-muted); }

/* ─────────────────────────────────────────
   LOCATION
───────────────────────────────────────── */
.location-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: center;
}

.location-info h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.location-info address {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 12px;
}
.location-info address strong {
  font-size: 1.15rem;
  color: var(--gold-light);
}

.location-note {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 8px 40px rgba(0,0,0,.45);
  aspect-ratio: 4/3;
  min-height: 280px;
  max-width: 100%;
  width: 100%;
}
.map-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 44px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-inner p        { line-height: 1.85; font-size: 0.9rem; color: var(--text-muted); }
.footer-inner strong   { color: var(--text); }
.footer-inner a        { color: var(--gold-light); }
.footer-inner a:hover  { text-decoration: underline; }
.footer-copy           { font-size: 0.8rem !important; }

/* ─────────────────────────────────────────
   STICKY WHATSAPP BUTTON
───────────────────────────────────────── */
.sticky-wa {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 200;
  background: var(--wa);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px 12px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 4px 24px rgba(37,211,102,.45);
  /* oculto por defecto — se activa con .visible */
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity .3s, transform .3s, background .2s, box-shadow .2s;
}
.sticky-wa.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.sticky-wa.visible:hover {
  background: var(--wa-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,211,102,.6);
}

/* On desktop: show as icon only */
@media (min-width: 769px) {
  .sticky-wa span { display: none; }
  .sticky-wa { padding: 14px; }
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 768px) {
  .section { padding: 56px 0; }

  .location-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .location-info { text-align: center; }
  .btn-directions {
    margin: 20px auto 0;
    display: flex;
    width: fit-content;
  }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-ctas          { flex-direction: column; width: 100%; max-width: 320px; }
  .hero-ctas .btn     { justify-content: center; width: 100%; }
  .hide-xs            { display: none; }
  .btn-phone-sm       { padding: 8px 10px; }
  .btn-wa-sm          { padding: 8px 12px; }
  .logo               { font-size: 0.9rem; }
  .logo svg           { width: 18px; height: 18px; }
}
