/* ============================================
   LEMUSLIMP · Estilos premium (Versión Inicial)
   Paleta: Verde Salvia + Lujo Silencioso
   ============================================ */

:root {
  /* Paleta de colores (Lujo Silencioso) */
  --negro: #0A0E1A;
  --grafito: #1A1F2E;
  --salvia: #8BA888;       /* Color principal de la marca */
  --salvia-br: #A5C4A0;    /* Hover y acentos */
  --blanco: #F8F7F4;       /* Fondo general */
  --gris: #E8E6E1;         /* Bordes y fondos secundarios */
  --agua: #B8D8D8;         /* Acento fresco */
  
  /* Textos */
  --texto: #2A2F3A;
  --muted: #6B7280;
  
  /* Sombras y transiciones */
  --shadow-sm: 0 2px 8px rgba(10,14,26,.06);
  --shadow-md: 0 8px 28px rgba(10,14,26,.10);
  --shadow-lg: 0 20px 50px rgba(10,14,26,.15);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: .35s cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--texto);
  background: var(--blanco);
  overflow-x: hidden;
}

/* Scrollbar personalizada */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--gris); }
::-webkit-scrollbar-thumb { background: var(--salvia); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--salvia-br); }

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: var(--negro);
  line-height: 1.15;
  letter-spacing: -.01em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
  background: transparent;
}
.site-header.scrolled {
  background: rgba(248,247,244,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Estilos para el Logo en imagen */
.logo-img {
  height: 45px; /* Altura ideal para el header */
  width: auto;
  display: block;
  transition: var(--transition);
}
.site-header.scrolled .logo-img {
  height: 38px; /* Se achica un poco al hacer scroll */
}

/* Fallback de logo en texto (si no hay imagen) */
.logo { display: flex; flex-direction: column; line-height: 1.1; }
.logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--negro);
}
.logo-sub {
  font-size: .68rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--salvia);
  margin-top: 2px;
}
.site-header:not(.scrolled) .logo-main,
.site-header:not(.scrolled) .nav-desktop a:not(.btn-cta-nav) { color: #fff; }
.site-header:not(.scrolled) .logo-sub { color: var(--agua); }

.nav-desktop { display: flex; align-items: center; gap: 32px; }
.nav-desktop a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--texto);
  transition: color .2s;
  position: relative;
}
.nav-desktop a:not(.btn-cta-nav)::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--salvia);
  transition: width .3s;
}
.nav-desktop a:not(.btn-cta-nav):hover::after { width: 100%; }
.nav-desktop a:hover { color: var(--salvia); }

.btn-cta-nav {
  background: var(--salvia);
  color: #fff !important;
  padding: 11px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: .88rem;
  transition: var(--transition);
}
.btn-cta-nav:hover { background: var(--salvia-br); transform: translateY(-2px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  width: 26px; height: 2px;
  background: var(--negro);
  transition: var(--transition);
}
.site-header:not(.scrolled) .hamburger span { background: #fff; }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  background: var(--blanco);
}
.nav-mobile.open { max-height: 420px; padding: 16px 24px 24px; }
.nav-mobile a {
  padding: 12px 0;
  border-bottom: 1px solid var(--gris);
  font-weight: 500;
  color: var(--texto);
}

/* ============ BOTONES ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  font-family: inherit;
}
.btn-primary {
  background: var(--salvia);
  color: #fff;
}
.btn-primary:hover {
  background: var(--salvia-br);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--negro);
  border-color: var(--negro);
}
.site-header:not(.scrolled) ~ .hero .btn-outline { color: #fff; border-color: #fff; }
.btn-outline:hover {
  background: var(--negro);
  color: #fff;
  transform: translateY(-3px);
}
.btn-block { width: 100%; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
  color: #fff;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(10,14,26,.88) 0%, rgba(26,31,46,.75) 60%, rgba(139,168,136,.35) 100%),
    url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?w=1600&q=80') center/cover no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(184,216,216,.15), transparent 60%);
}
.hero-inner { position: relative; z-index: 2; max-width: 820px; }

.badge {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--agua);
  padding: 8px 18px;
  border: 1px solid rgba(184,216,216,.4);
  border-radius: 100px;
  margin-bottom: 30px;
  animation: fadeInUp .9s ease;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: #fff;
  margin-bottom: 24px;
  animation: fadeInUp 1s .1s both;
}
.hero-title em {
  font-style: italic;
  color: var(--salvia-br);
}
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.85);
  max-width: 620px;
  margin-bottom: 40px;
  animation: fadeInUp 1s .25s both;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 64px;
  animation: fadeInUp 1s .4s both;
}
.hero-ctas .btn-outline { color: #fff; border-color: rgba(255,255,255,.7); }
.hero-ctas .btn-outline:hover { background: #fff; color: var(--negro); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 640px;
  animation: fadeInUp 1s .55s both;
}
.stat { border-left: 2px solid var(--salvia); padding-left: 16px; }
.stat-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--salvia-br);
  line-height: 1;
}
.stat-lbl {
  display: block;
  font-size: .82rem;
  color: rgba(255,255,255,.75);
  letter-spacing: .04em;
  margin-top: 6px;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============ ZONAS BAR ============ */
.zonas-bar {
  background: var(--negro);
  color: var(--gris);
  padding: 20px 0;
  overflow: hidden;
}
.zonas-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.zonas-inner span { color: var(--agua); position: relative; }
.zonas-inner span:not(:last-child)::after {
  content: '·';
  position: absolute;
  right: -18px;
  color: var(--salvia);
}

/* ============ SECCIONES ============ */
.section { padding: 110px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--salvia);
  margin-bottom: 16px;
  font-weight: 600;
}
.section-title {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  margin-bottom: 18px;
}
.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ ABOUT ============ */
.section-about { background: var(--blanco); }
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: center;
}
.about-text p {
  margin-bottom: 18px;
  color: var(--texto);
  font-size: 1.02rem;
}
.about-text em { color: var(--salvia); font-style: italic; }
.about-image {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  background: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=900&q=80') center/cover no-repeat;
  box-shadow: var(--shadow-lg);
}

/* ============ SERVICIOS ============ */
.section-services { background: linear-gradient(180deg, var(--gris) 0%, var(--blanco) 100%); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.service-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.service-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,14,26,.35));
}
.service-body { padding: 28px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--salvia);
  display: block;
  margin-bottom: 6px;
}
.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.service-card p {
  color: var(--muted);
  font-size: .94rem;
  margin-bottom: 16px;
}
.service-card ul {
  list-style: none;
  margin-bottom: 22px;
  flex: 1;
}
.service-card ul li {
  position: relative;
  padding-left: 22px;
  font-size: .9rem;
  color: var(--texto);
  margin-bottom: 8px;
}
.service-card ul li::before {
  content: '◆';
  position: absolute;
  left: 0; top: 2px;
  color: var(--salvia);
  font-size: .65rem;
}
.link-arrow {
  color: var(--salvia);
  font-weight: 600;
  font-size: .92rem;
  transition: color .2s;
}
.link-arrow:hover { color: var(--negro); }

/* ============ VALORES ============ */
.section-valores { background: var(--negro); color: #fff; }
.section-valores .section-title { color: #fff; }
.section-valores .eyebrow { color: var(--salvia-br); }
.valores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.valor {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(139,168,136,.18);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: var(--transition);
}
.valor:hover {
  background: rgba(139,168,136,.1);
  border-color: var(--salvia);
  transform: translateY(-6px);
}
.valor-icon { font-size: 1.8rem; display: block; margin-bottom: 14px; }
.valor h3 { color: #fff; font-size: 1.35rem; margin-bottom: 8px; }
.valor p { color: rgba(255,255,255,.72); font-size: .92rem; }

/* ============ MÉTODO ============ */
.section-metodo { background: var(--blanco); }
.metodo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.metodo-step {
  padding: 32px 26px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--gris);
  position: relative;
  transition: var(--transition);
}
.metodo-step:hover { border-color: var(--salvia); transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--salvia);
  line-height: 1;
  display: block;
  margin-bottom: 14px;
}
.metodo-step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.metodo-step p { color: var(--muted); font-size: .92rem; }

/* ============ GARANTÍA ============ */
.section-garantia { background: linear-gradient(180deg, var(--gris), var(--blanco)); }
.garantia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.garantia-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  padding: 22px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.garantia-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.garantia-item span { font-size: 1.4rem; }
.garantia-item p { font-weight: 500; font-size: .95rem; }

/* ============ GALERÍA ============ */
.section-galeria { background: var(--blanco); }
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.galeria-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--gris);
}
.galeria-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.galeria-item:hover img { transform: scale(1.06); }
.galeria-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,14,26,.85));
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity .35s;
}
.galeria-item:hover .galeria-overlay { opacity: 1; }
.galeria-overlay h3 { color: #fff; font-size: 1.3rem; margin-bottom: 4px; }
.galeria-overlay span { color: var(--salvia-br); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.galeria-loading { grid-column: 1/-1; text-align: center; color: var(--muted); padding: 40px 0; }

/* ============ TESTIMONIOS ============ */
.section-testimonios { background: var(--negro); color: #fff; }
.section-testimonios .section-title { color: #fff; }
.section-testimonios .eyebrow { color: var(--salvia-br); }
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonio {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(139,168,136,.18);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
}
.testimonio:hover { border-color: var(--salvia); transform: translateY(-6px); }
.testimonio .stars { color: var(--salvia-br); margin-bottom: 14px; letter-spacing: 2px; font-size: .95rem; }
.testimonio p { color: rgba(255,255,255,.85); font-size: .98rem; margin-bottom: 20px; font-style: italic; }
.testimonio .author { color: var(--agua); font-weight: 600; font-size: .9rem; }
.testimonio .meta { color: rgba(255,255,255,.55); font-size: .82rem; margin-top: 2px; }

/* ============ CONTACTO ============ */
.section-contacto { background: var(--blanco); }
.contacto-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.contact-list {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: var(--texto);
}
.contact-list li span { font-size: 1.2rem; }
.contact-list a { transition: color .2s; }
.contact-list a:hover { color: var(--salvia); }

.contacto-form {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contacto-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--texto);
}
.contacto-form input,
.contacto-form select,
.contacto-form textarea {
  padding: 12px 14px;
  border: 1px solid var(--gris);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .95rem;
  background: var(--blanco);
  transition: border-color .2s, box-shadow .2s;
}
.contacto-form input:focus,
.contacto-form select:focus,
.contacto-form textarea:focus {
  outline: none;
  border-color: var(--salvia);
  box-shadow: 0 0 0 3px rgba(139,168,136,.15);
}
.contacto-form textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .82rem; color: var(--muted); text-align: center; margin-top: 4px; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--negro);
  color: rgba(255,255,255,.72);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-grid h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: .04em;
}
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-grid ul li { font-size: .88rem; }
.footer-grid a:hover { color: var(--salvia-br); }
.footer-desc { font-size: .88rem; margin-top: 14px; max-width: 280px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
  font-size: .82rem;
  text-align: center;
}

/* ============ WHATSAPP FLOAT ============ */
.wa-float {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 62px; height: 62px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.4);
  z-index: 999;
  transition: transform .3s;
  animation: pulse 2.4s infinite;
}
.wa-float:hover { transform: scale(1.1); }
.wa-tooltip {
  position: absolute;
  right: 74px;
  background: var(--negro);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: .82rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.wa-float:hover .wa-tooltip { opacity: 1; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(37,211,102,.4); }
  50% { box-shadow: 0 10px 30px rgba(37,211,102,.7), 0 0 0 10px rgba(37,211,102,.1); }
}

/* ============ TOASTS ============ */
.toast-container {
  position: fixed;
  top: 90px; right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2000;
}
.toast {
  background: #fff;
  color: var(--texto);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--salvia);
  font-size: .92rem;
  max-width: 340px;
  animation: slideIn .3s ease;
}
.toast.error { border-left-color: #E55; }
@keyframes slideIn {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .services-grid, .valores-grid, .garantia-grid, .galeria-grid, .testimonios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metodo-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image { aspect-ratio: 16/10; }
  .contacto-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
  .nav-mobile { display: flex; }
  .hero { padding: 120px 0 80px; min-height: auto; }
  .hero-stats { grid-template-columns: 1fr; gap: 18px; max-width: 320px; }
  .section { padding: 80px 0; }
  .logo-img { height: 38px; }
}

@media (max-width: 560px) {
  .services-grid, .valores-grid, .garantia-grid, .galeria-grid,
  .testimonios-grid, .metodo-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .contacto-form { padding: 26px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .wa-float { width: 56px; height: 56px; bottom: 18px; right: 18px; }
  .stat-num { font-size: 2.1rem; }
  .logo-img { height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}