/* ===========================
   LAVADEROCF — PREMIUM v5
   =========================== */

/* ===== SCROLL PROGRESS BAR ===== */
.progress-bar {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--gold), rgba(201,168,76,0.4));
  transition: width 0.05s linear;
  pointer-events: none;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  --gold: #C9A84C;
  --gold-light: rgba(201,168,76,0.15);
  --gold-glow: rgba(201,168,76,0.06);
  --dark: #080808;
  --dark-2: #111111;
  --dark-3: #1a1a1a;
  --border: rgba(255,255,255,0.07);
  --white: #FFFFFF;
  --muted: rgba(255,255,255,0.5);
  --wapp: #25D366;
  --ff-serif: 'Playfair Display', serif;
  --ff-sans: 'Inter', sans-serif;
}

/* --- RESET --- */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--dark);
  color: var(--white);
  font-family: var(--ff-sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ========== WHATSAPP ========== */
.wapp-btn {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 54px; height: 54px;
  background: var(--wapp);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: transform 0.3s ease;
  animation: wapp-pulse 2.5s ease-in-out infinite;
}
.wapp-btn:hover { transform: scale(1.1); }
.wapp-btn svg { width: 28px; height: 28px; fill: #fff; }
@keyframes wapp-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
  50% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
}

/* ========== HEADER ========== */
header {
  position: fixed; top:0; left:0; right:0;
  padding: 1.2rem 5%;
  display: flex; align-items: center; justify-content: space-between;
  z-index: 500;
  transition: background 0.5s, backdrop-filter 0.5s, border-color 0.5s;
  border-bottom: 1px solid transparent;
}
header.scrolled {
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.logo {
  font-family: var(--ff-serif);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.logo em { color: var(--gold); font-style: normal; }

nav { display: flex; gap: 2.5rem; }
nav a {
  font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 2px; color: var(--muted);
  position: relative; transition: color 0.3s;
}
nav a::after {
  content:''; position:absolute; bottom:-4px; left:0;
  width:0; height:1px; background:var(--gold);
  transition: width 0.3s ease;
}
nav a:hover { color: var(--white); }
nav a:hover::after { width: 100%; }

.btn-gold {
  font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 2px; padding: 0.65rem 1.6rem;
  border: 1px solid var(--gold); border-radius: 2px;
  color: var(--gold);
  position: relative; overflow: hidden;
  transition: color 0.35s ease;
}
.btn-gold::before {
  content:''; position:absolute; inset:0;
  background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s ease; z-index:-1;
}
.btn-gold:hover { color: var(--dark); }
.btn-gold:hover::before { transform: scaleX(1); transform-origin: left; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 5px; z-index: 600;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset:0;
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  z-index: 400;
  flex-direction: column; gap: 2.5rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77,0,0.175,1);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { font-family: var(--ff-serif); font-size: 2rem; color: var(--white); transition: color 0.3s; }
.mobile-nav a:hover { color: var(--gold); }

/* ========== HERO ========== */
.hero {
  position: relative;
  height: 100vh; min-height: 650px;
  display: flex; align-items: center;
  padding: 0 5%;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset:0;
  background: url('./hero-bg.png') center/cover no-repeat;
  z-index: 0;
  transform: scale(1.05);
  animation: hero-zoom 12s ease-in-out alternate infinite;
}
@keyframes hero-zoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.0); }
}
.hero-overlay {
  position: absolute; inset:0; z-index:1;
  background: linear-gradient(110deg, rgba(8,8,8,0.93) 40%, rgba(8,8,8,0.4) 100%);
}
.hero-content {
  position: relative; z-index:2;
  max-width: 660px;
  opacity: 0; transform: translateY(30px);
  animation: fade-up 1.2s 0.3s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes fade-up {
  to { opacity:1; transform: translateY(0); }
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 4px;
  color: var(--gold); margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(201,168,76,0.3);
}
.hero h1 {
  font-family: var(--ff-serif);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1.1; margin-bottom: 1.5rem;
}
.hero h1 em {
  color: var(--gold); font-style: italic;
  text-shadow: 0 0 40px rgba(201,168,76,0);
  animation: gold-glow-pulse 4s ease-in-out 1.5s infinite;
}
@keyframes gold-glow-pulse {
  0%, 100% { text-shadow: 0 0 20px rgba(201,168,76,0); }
  50%       { text-shadow: 0 0 35px rgba(201,168,76,0.35); }
}
.hero p {
  font-size: 1rem; color: var(--muted);
  max-width: 480px; margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-fill {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 2px;
  padding: 0.9rem 2.2rem; background: var(--gold); color: var(--dark);
  border-radius: 2px; font-weight: 600;
  transition: opacity 0.3s, transform 0.3s;
}
.btn-fill:hover { opacity: 0.88; transform: translateY(-2px); }

/* Scroll hint */
.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--muted); font-size: 0.65rem; letter-spacing: 3px; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 45px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-bounce 2s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%,100%{ transform: scaleY(1) translateY(0); }
  50%{ transform: scaleY(0.7) translateY(5px); }
}

/* ========== MARQUEE ========== */
.marquee-wrap {
  background: var(--dark-2); overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.marquee-inner {
  display: flex; gap: 4rem; width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-wrap:hover .marquee-inner { animation-play-state: paused; }
.m-item {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 3px;
  color: var(--muted); white-space: nowrap;
}
.m-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ========== SECCIÓN BASE ========== */
.s-label {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 4px;
  color: var(--gold); display: flex; align-items: center; gap: 1rem;
}
.s-label::before { content:''; width:28px; height:1px; background:var(--gold); flex-shrink:0; }
.s-title {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.2; margin-top: 0.8rem;
}
.s-title em { color: var(--gold); font-style: italic; }

/* ========== NOSOTROS ========== */
.nosotros {
  padding: 9rem 5%;
  background: var(--dark);
}
.nosotros-grid {
  max-width: 1150px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 6rem; align-items: center;
}
.img-box { position: relative; border-radius: 3px; overflow: hidden; }
.img-box img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  transition: transform 0.8s ease;
}
.img-box:hover img { transform: scale(1.04); }
.img-border {
  position: absolute; inset:0;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 3px; pointer-events: none; z-index:2;
}
.stat-badge {
  position: absolute; bottom: -1.2rem; right: -1.2rem; z-index: 3;
  width: 110px; height: 110px; border-radius: 50%;
  background: var(--dark-3); border: 1px solid rgba(201,168,76,0.3);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  animation: float 4s ease-in-out infinite;
}
.stat-badge .num {
  font-family: var(--ff-serif); font-size: 2rem;
  color: var(--gold); line-height: 1;
}
.stat-badge .txt {
  font-size: 0.6rem; text-transform: uppercase;
  letter-spacing: 1px; color: var(--muted); text-align: center;
  margin-top: 4px;
}
@keyframes float {
  0%,100%{ transform:translateY(0); }
  50%{ transform:translateY(-8px); }
}

.nosotros-text { display: flex; flex-direction: column; gap: 1.2rem; }
.nosotros-text p { color: var(--muted); font-size: 0.98rem; }
.nosotros-text p strong { color: var(--white); font-weight: 500; }
.feat-list { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 0.8rem; }
.feat-item {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.9rem 1.1rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border); border-radius: 3px;
  font-size: 0.9rem; color: rgba(255,255,255,0.7);
  transition: border-color 0.3s, background 0.3s;
}
.feat-item:hover { border-color: rgba(201,168,76,0.3); background: var(--gold-light); }
.feat-icon { color: var(--gold); flex-shrink: 0; line-height: 1; }
.feat-icon svg { width: 18px; height: 18px; fill: var(--gold); }

/* ========== SERVICIOS ========== */
.services {
  padding: 9rem 5%;
  background: var(--dark-2);
}
.services-header { text-align: center; margin-bottom: 5rem; }
.services-header .s-label { justify-content: center; }
.services-header .s-label::before { display: none; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border);
  border-radius: 4px; overflow: hidden;
  max-width: 1150px; margin: 0 auto;
}
/* Separador interno entre celdas */
.card {
  padding: 2.8rem 2.5rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 0.9rem;
  background: var(--dark-2);
  transition: background 0.3s ease;
}
.card:nth-child(even) { border-right: none; }
.card.full-width {
  grid-column: span 2;
  border-right: none; border-bottom: none;
  flex-direction: row; align-items: center; gap: 3rem;
}
/* Línea dorada top al hover */
.card::after {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s ease;
}
.card:hover { background: rgba(201,168,76,0.03); }
.card:hover::after { transform: scaleX(1); }

.card-n { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 3px; color: var(--gold); }
.card-name {
  font-family: var(--ff-serif);
  font-size: 1.6rem; line-height: 1.2;
  transition: color 0.3s;
}
.card:hover .card-name { color: var(--gold); }
.card-price {
  font-family: var(--ff-serif);
  font-size: 2.3rem; font-weight: 600;
}
.card-price sup { font-size: 1.1rem; vertical-align: super; color: var(--gold); }
.card-desc { color: var(--muted); font-size: 0.92rem; line-height: 1.7; flex-grow: 1; }
.card-bonus {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.72rem; padding: 0.35rem 0.85rem;
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 20px; color: var(--gold);
  align-self: flex-start; margin-top: auto;
}
.full-width .card-body { flex: 1; }

/* ===== SHIMMER en hover ===== */
.card { isolation: isolate; }
.card::before {
  content: '';
  position: absolute; top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.07), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none; z-index: 1;
}
.card:hover::before { left: 130%; }

/* ===== STAGGER: cards entran escalonadas ===== */
.card.reveal { opacity: 0; transform: translateY(25px); }
.card.reveal.visible { opacity: 1; transform: translateY(0); }
.card:nth-child(1) { transition-delay: 0.05s; }
.card:nth-child(2) { transition-delay: 0.15s; }
.card:nth-child(3) { transition-delay: 0.25s; }
.card:nth-child(4) { transition-delay: 0.35s; }
.card:nth-child(5) { transition-delay: 0.45s; }

/* ========== FOOTER ========== */
footer {
  background: #050505;
  border-top: 1px solid var(--border);
  padding: 5rem 5% 2rem;
}
.footer-grid {
  max-width: 1150px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem; padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.f-logo {
  font-family: var(--ff-serif);
  font-size: 1.7rem; font-weight: 700; margin-bottom: 1rem;
}
.f-logo em { color: var(--gold); font-style: normal; }
.f-desc { color: var(--muted); font-size: 0.9rem; max-width: 280px; line-height: 1.7; }
.f-col h5 {
  font-size: 0.68rem; text-transform: uppercase;
  letter-spacing: 3px; color: var(--gold); margin-bottom: 1.5rem;
}
.f-link {
  display: flex; align-items: flex-start; gap: 0.7rem;
  color: var(--muted); font-size: 0.88rem; margin-bottom: 0.9rem;
  transition: color 0.3s;
}
.f-link:hover { color: var(--white); }
.f-link svg { width:16px; height:16px; fill:var(--gold); flex-shrink:0; margin-top:2px; }
.footer-bottom {
  max-width: 1150px; margin: 2rem auto 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { color: rgba(255,255,255,0.2); font-size: 0.8rem; }

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0; transform: translateY(35px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
  .nosotros-grid { grid-template-columns: 1fr; gap: 3rem; }
  .img-box { max-width: 500px; margin: 0 auto; }
}
@media (max-width: 768px) {
  header nav, header .btn-gold { display: none; }
  .hamburger { display: flex; }
  .hero h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
  .hero { align-items: center; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .cards-grid { grid-template-columns: 1fr; }
  .card { border-right: none; border-bottom: 1px solid var(--border); }
  .card:last-child { border-bottom: none; }
  .card.full-width { grid-column: span 1; flex-direction: column; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stat-badge { width: 90px; height: 90px; right: 0; bottom: 0; }
  .stat-badge .num { font-size: 1.6rem; }
}
