/* ════════════════════════════════════════════════════════════════════
   LUMO LAB — Estilos
   Diseño tipo Apple: claro, limpio, espacioso
   ════════════════════════════════════════════════════════════════════ */


/* ──────────────────────────────────────────────────────────────────
   1. VARIABLES — Edita aquí los colores y medidas globales
   ────────────────────────────────────────────────────────────────── */
:root {
  /* Colores — paleta Apple-style con tus tonos verde/crema */
  --forest:      #162316;    /* Verde bosque oscuro (acento) */
  --forest-mid:  #1f3a20;
  --sage:        #4a7c59;    /* Verde sage (CTAs, links) */
  --sage-hover:  #5a9468;
  --cream:       #f5eed8;    /* Crema cálida (footer) */

  /* Fondos al estilo Apple — blancos y grises muy suaves */
  --bg-white:    #ffffff;
  --bg-light:    #fbfbfd;    /* Gris Apple característico */
  --bg-cream:    #f8f4ec;    /* Tu crema original más sutil */

  /* Tipografía — gris oscuro Apple, no negro puro */
  --text:        #1d1d1f;
  --text-mid:    #515154;
  --text-light:  #86868b;

  /* Bordes y separadores muy sutiles */
  --border:      #d2d2d7;
  --border-soft: #f0f0f3;

  /* Tipografía */
  --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;

  /* Sombras Apple — siempre suaves */
  --shadow-sm:   0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md:   0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg:   0 12px 32px rgba(0, 0, 0, 0.08);

  /* Layout */
  --container:   1200px;
  --container-narrow: 900px;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
}


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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-white);
  color: var(--text);
  line-height: 1.5;
  font-weight: 400;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

::selection { background: rgba(74, 124, 89, 0.2); }


/* ──────────────────────────────────────────────────────────────────
   3. UTILIDADES Y CLASES COMUNES
   ────────────────────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: 120px 0;
}

.section-light  { background: var(--bg-light); }
.section-white  { background: var(--bg-white); }
.section-cream  { background: var(--bg-cream); }

/* "Eyebrow" = el textito pequeño antes del título */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--sage);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.eyebrow-dark { color: var(--sage); }

/* Animación de aparición al hacer scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ──────────────────────────────────────────────────────────────────
   4. BOTONES — Estilo Apple (redondeados, limpios)
   ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 980px;        /* Redondeo Apple */
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  text-align: center;
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Botón primario — verde sage */
.btn-primary {
  background: var(--sage);
  color: white;
}
.btn-primary:hover {
  background: var(--sage-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(74, 124, 89, 0.25);
}

/* Botón secundario — texto verde, fondo claro */
.btn-secondary {
  background: rgba(74, 124, 89, 0.08);
  color: var(--sage);
}
.btn-secondary:hover {
  background: rgba(74, 124, 89, 0.14);
}

/* Botón outline — borde fino */
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--sage);
  color: var(--sage);
}

/* Botón outline claro — para footer oscuro */
.btn-outline-light {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(245, 238, 216, 0.3);
  border-radius: 980px;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.25s ease;
}
.btn-outline-light:hover {
  border-color: var(--cream);
  background: rgba(245, 238, 216, 0.06);
}

.btn-nav {
  padding: 8px 18px;
  font-size: 14px;
}


/* ──────────────────────────────────────────────────────────────────
   5. NAVEGACIÓN
   ────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 52px;
  background: rgba(251, 251, 253, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-soft);
  transition: background 0.3s ease;
}

.nav.scrolled {
  background: rgba(251, 251, 253, 0.92);
}

.nav-inner {
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-name {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}
.logo-name-light { color: var(--cream); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0 auto;
}

.nav-links a {
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 400;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 28px;
  height: 28px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}


/* ──────────────────────────────────────────────────────────────────
   6. HERO — Sección principal
   ────────────────────────────────────────────────────────────────── */
.hero {
  padding: 160px 24px 100px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.hero-content {
  max-width: 980px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  color: var(--sage);
  font-weight: 700;
}

.hero-subtitle {
  font-size: clamp(18px, 2vw, 21px);
  color: var(--text-mid);
  line-height: 1.5;
  max-width: 620px;
  margin: 0 auto 40px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 720px;
  margin: 0 auto;
  padding-top: 64px;
  border-top: 1px solid var(--border-soft);
}

.stat-num {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 8px;
}


/* ──────────────────────────────────────────────────────────────────
   7. ENCABEZADOS DE SECCIÓN
   ────────────────────────────────────────────────────────────────── */
.section-header {
  margin-bottom: 64px;
  max-width: 720px;
}
.section-header-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 16px;
}
.section-title em {
  font-style: italic;
  color: var(--sage);
  font-weight: 700;
}

.section-lead {
  font-size: 19px;
  color: var(--text-mid);
  line-height: 1.5;
  margin-top: 16px;
}
.section-lead strong {
  color: var(--text);
  font-weight: 600;
}


/* ──────────────────────────────────────────────────────────────────
   8. SECCIÓN "POR QUÉ" — Grid de tarjetas
   ────────────────────────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.why-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  border: 1px solid var(--border-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.why-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--sage);
  background: rgba(74, 124, 89, 0.08);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.why-card h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--text);
}

.why-card p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.6;
}


/* ──────────────────────────────────────────────────────────────────
   9. SECCIÓN "INCLUYE" — Lista
   ────────────────────────────────────────────────────────────────── */
.includes-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 16px 32px;
  box-shadow: var(--shadow-md);
}

.includes-list li {
  padding: 18px 0;
  font-size: 16px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--border-soft);
}
.includes-list li:last-child,
.includes-list li:nth-last-child(2):nth-child(odd) {
  border-bottom: none;
}

.includes-list li::before {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sage) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M2 7L5.5 10.5L12 3' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center/14px no-repeat;
}


/* ──────────────────────────────────────────────────────────────────
   10. PRECIOS
   ────────────────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 940px;
  margin: 0 auto;
}

.price-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
}

.price-card-featured {
  background: linear-gradient(180deg, #fafafc 0%, #ffffff 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.price-card-featured::before {
  content: 'Recomendado';
  position: absolute;
  top: -12px;
  left: 40px;
  background: var(--sage);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
}

.price-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--sage);
  background: rgba(74, 124, 89, 0.08);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  align-self: flex-start;
}

.price-amount {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 8px;
}

.price-note {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 32px;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.price-features li {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.5;
  padding-left: 28px;
  position: relative;
}
.price-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(74, 124, 89, 0.1) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 6L4.5 8.5L10 3' stroke='%234a7c59' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center/10px no-repeat;
}

.pricing-bottom-note {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-light);
}
.pricing-bottom-note a {
  color: var(--sage);
  font-weight: 500;
}
.pricing-bottom-note a:hover { text-decoration: underline; }


/* ──────────────────────────────────────────────────────────────────
   11. FAQ — Acordeón nativo con <details>
   ────────────────────────────────────────────────────────────────── */
.faq-list {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-item {
  border-bottom: 1px solid var(--border-soft);
}
.faq-item:last-child { border-bottom: none; }

.faq-item summary {
  list-style: none;          /* Quita la flecha por defecto */
  cursor: pointer;
  padding: 24px 28px;
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--bg-light); }

.faq-item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: var(--sage);
  flex-shrink: 0;
  transition: transform 0.3s;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74, 124, 89, 0.06);
  border-radius: 50%;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 28px 24px;
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.65;
}


/* ──────────────────────────────────────────────────────────────────
   12. FORMULARIO DE COTIZACIÓN
   ────────────────────────────────────────────────────────────────── */
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.quote-info { padding-top: 16px; }

.quote-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}
.quote-benefits li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--text-mid);
}
.quote-benefits li span {
  font-size: 20px;
  flex-shrink: 0;
}

.quote-form {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-light);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: all 0.2s;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-light);
}
.form-field input:focus,
.form-field textarea:focus {
  background: var(--bg-white);
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.12);
}

.form-field textarea {
  resize: vertical;
  font-family: inherit;
}

.form-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  margin-top: 4px;
}


/* ──────────────────────────────────────────────────────────────────
   13. FOOTER
   ────────────────────────────────────────────────────────────────── */
.footer {
  background: var(--forest);
  color: var(--cream);
  padding: 100px 0 48px;
}

.footer-cta {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 80px;
}

.footer .eyebrow {
  color: var(--sage);
}

.footer-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 16px 0 20px;
  color: var(--cream);
}
.footer-title em {
  font-style: italic;
  color: var(--sage);
  font-weight: 700;
}

.footer-lead {
  font-size: 18px;
  color: rgba(245, 238, 216, 0.65);
  margin-bottom: 36px;
  font-weight: 400;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid rgba(245, 238, 216, 0.12);
  font-size: 13px;
  color: rgba(245, 238, 216, 0.5);
}


/* ──────────────────────────────────────────────────────────────────
   14. BOTÓN FLOTANTE WHATSAPP
   ────────────────────────────────────────────────────────────────── */
.float-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
  transition: all 0.4s ease;
}
.float-wa.visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.float-wa:hover {
  transform: scale(1.1);
}


/* ──────────────────────────────────────────────────────────────────
   15. MODAL DE GRACIAS
   ────────────────────────────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.open { display: flex; }

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-box {
  position: relative;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(74, 124, 89, 0.1);
  color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.modal-box h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text);
  line-height: 1.2;
}

.modal-box p {
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.modal-close {
  display: block;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 14px;
  cursor: pointer;
  margin: 16px auto 0;
  font-family: inherit;
}
.modal-close:hover { color: var(--text); }


/* ──────────────────────────────────────────────────────────────────
   16. RESPONSIVE — Tablet y celular
   ────────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .section { padding: 80px 0; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .btn-nav { margin-left: auto; }

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

  .includes-list { grid-template-columns: 1fr; padding: 8px 24px; }
  .includes-list li { border-bottom: 1px solid var(--border-soft) !important; }
  .includes-list li:last-child { border-bottom: none !important; }

  .pricing-grid { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; gap: 48px; }
  .quote-form { padding: 28px; }
}

@media (max-width: 600px) {
  .hero { padding: 120px 20px 60px; }
  .hero-stats { grid-template-columns: 1fr; gap: 24px; }
  .hero-actions .btn { width: 100%; }

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

  .price-card { padding: 36px 28px; }
  .price-amount { font-size: 44px; }

  .form-row { grid-template-columns: 1fr; }

  .modal-box { padding: 40px 28px; }
}
