/* =========================================================
   RINGANA · Laura — Hoja de estilos compartida
   Este único archivo controla el diseño de index, info,
   novedades y calculadora. (metodo.html tiene su propio
   estilo, a juego con el documento que nos pasaste).
========================================================= */

:root {
  --verde: #1f3d2c;
  --verde-2: #3c6e47;
  --verde-claro: #dfead9;
  --crema: #f7f4ea;
  --blanco: #ffffff;
  --texto: #26342b;
  --gris: #68736b;
  --rosa: #eadbd2;
  --borde: #e2e8dc;
  --naranja: #e0863a;
  --lima: #c9e265;

  /* Paleta cálida del documento "Método ALAS" — la usamos en
     los bloques destacados para que todo el sitio respire igual */
  --sage: #7E8C6E;
  --sage-deep: #4F5A44;
  --gold: #B99A5B;
  --sand: #F2EDDF;

  --sombra: 0 18px 50px rgba(31, 61, 44, .14);
  --radio: 24px;

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--texto);
  background: var(--crema);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

h1, h2, h3, .logo {
  font-family: 'Fraunces', Georgia, serif;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--verde-2);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================
   NAVBAR
========================= */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: calc(12px + var(--safe-top)) 18px 12px;
}

.nav {
  max-width: 1180px;
  margin: auto;
  min-height: 64px;
  padding: 10px 14px 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 50px;
  box-shadow: 0 8px 30px rgba(31,61,44,.09);
}

/* El logo funciona como "botón de inicio": un contorno suave
   con relieve para que se note que se puede pulsar */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  padding: 9px 18px 9px 13px;
  border: 1.5px solid var(--verde-claro);
  border-radius: 50px;
  background: linear-gradient(135deg, #ffffff 0%, var(--verde-claro) 160%);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(31,61,44,.08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.logo::before {
  content: "🌿";
  font-size: 15px;
  line-height: 1;
  flex-shrink: 0;
}

.logo:hover {
  transform: translateY(-2px);
  border-color: var(--verde-2);
  box-shadow: 0 8px 20px rgba(31,61,44,.16);
}

.logo-main {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1;
  color: var(--verde);
}

.logo-divider {
  width: 1px;
  height: 14px;
  background: var(--verde-2);
  opacity: .35;
  flex-shrink: 0;
}

.logo-sub {
  font-family: "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--verde-2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-links a {
  position: relative;
  padding: 9px 13px;
  border-radius: 30px;
  color: #47564b;
  font-size: 13px;
  font-weight: 700;
  font-family: "Segoe UI", sans-serif;
  transition: background .2s ease, color .2s ease;
  white-space: nowrap;
}

.nav-links a:hover { background: var(--verde-claro); color: var(--verde); }

.nav-links .active { background: var(--verde); color: white; }
.nav-links .active:hover { background: var(--verde-2); color: white; }

.mobile-menu {
  display: none;
  border: 0;
  background: var(--verde);
  color: white;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  flex-shrink: 0;
}

/* =========================
   HERO (portada principal)
========================= */

.hero {
  min-height: 100vh;
  padding: calc(135px + var(--safe-top)) 25px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
  background:
    radial-gradient(circle at 10% 20%, #e4eedb 0, transparent 35%),
    radial-gradient(circle at 90% 90%, #eadbd2 0, transparent 35%),
    var(--crema);
}

.hero-content { width: 100%; max-width: 580px; margin-left: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  margin-bottom: 20px;
  border-radius: 50px;
  background: var(--verde-claro);
  color: var(--verde);
  font-size: 13px;
  font-weight: 800;
  font-family: "Segoe UI", sans-serif;
}

h1 {
  color: var(--verde);
  font-weight: 600;
  font-size: clamp(38px, 6vw, 74px);
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 22px;
  word-break: break-word;
}

h1 span { color: var(--verde-2); }

.hero-text { max-width: 550px; color: #526057; font-size: 18px; margin-bottom: 30px; }

.buttons { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 23px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 14px;
  font-family: "Segoe UI", sans-serif;
  transition: transform .25s ease, background .25s ease;
  cursor: pointer;
  border: none;
}

.btn-primary { background: var(--verde); color: white; box-shadow: 0 10px 25px rgba(31,61,44,.2); }
.btn-primary:hover { transform: translateY(-3px); background: var(--verde-2); }

.btn-secondary { border: 1px solid #ccd5c8; background: rgba(255,255,255,.7); color: var(--verde); }
.btn-secondary:hover { transform: translateY(-3px); background: white; }

.hero-image { width: 100%; max-width: 550px; margin-right: auto; position: relative; }

.hero-image img {
  height: 630px;
  object-fit: cover;
  border-radius: 45% 45% 25px 25px;
  box-shadow: var(--sombra);
}

.floating-card {
  position: absolute;
  left: -28px;
  bottom: 25px;
  max-width: 245px;
  padding: 18px 20px;
  background: rgba(255,255,255,.96);
  border-radius: 18px;
  box-shadow: var(--sombra);
  font-size: 13px;
  font-family: "Segoe UI", sans-serif;
}

.floating-card strong { display: block; color: var(--verde); font-size: 16px; margin-bottom: 4px; font-family: 'Fraunces', serif; }

/* =========================
   PAGE HERO (cabecera de páginas interiores)
========================= */

.page-hero {
  padding: calc(150px + var(--safe-top)) 20px 60px;
  text-align: center;
  background:
    radial-gradient(circle at 15% 10%, #e4eedb 0, transparent 40%),
    var(--crema);
}

.page-hero .eyebrow { margin: 0 auto 18px; }

.page-hero h1 { font-size: clamp(34px, 5.5vw, 56px); margin-bottom: 14px; }

.page-hero p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--gris);
  font-size: 17px;
}

/* =========================
   GENERAL
========================= */

section { padding: 90px 20px; }

.container { width: 100%; max-width: 1100px; margin: auto; }

.section-heading { max-width: 700px; margin: 0 auto 48px; text-align: center; }

.section-heading small {
  color: var(--verde-2);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
}

.section-heading h2 {
  color: var(--verde);
  font-size: clamp(30px, 5vw, 49px);
  line-height: 1.15;
  margin: 10px 0 15px;
}

.section-heading p { color: var(--gris); }

/* =========================
   TARJETAS genéricas
========================= */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  box-shadow: 0 12px 35px rgba(31,61,44,.07);
  transition: transform .3s ease, box-shadow .3s ease;
}

.card:hover { transform: translateY(-7px); box-shadow: var(--sombra); }

.card img { height: 245px; object-fit: cover; }

.card-content { padding: 25px; }

.card h3 { color: var(--verde); font-size: 21px; margin-bottom: 8px; }

.card p { color: var(--gris); font-size: 15px; }

/* =========================
   OPORTUNIDAD
========================= */

.opportunity { color: white; background: var(--verde); }

.opportunity .section-heading h2,
.opportunity .section-heading p,
.opportunity .section-heading small { color: white; }

.opportunity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.opportunity-box {
  padding: 30px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radio);
}

.icon { font-size: 32px; margin-bottom: 15px; }
.opportunity-box h3 { margin-bottom: 8px; font-family: "Segoe UI", sans-serif; }
.opportunity-box p { color: #dce8de; font-size: 15px; }

/* =========================
   GALERÍA
========================= */

.gallery {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  grid-template-rows: 260px 260px;
  gap: 15px;
}

.gallery img { height: 100%; object-fit: cover; border-radius: 22px; }
.gallery img:first-child { grid-row: span 2; }

/* =========================
   REDES
========================= */

.social-section { background: #edf1e7; }

.social-box {
  max-width: 850px;
  margin: auto;
  padding: 45px 25px;
  text-align: center;
  background: white;
  border: 1px solid var(--borde);
  border-radius: 30px;
  box-shadow: var(--sombra);
}

.social-box h2 { color: var(--verde); margin-bottom: 10px; font-size: 32px; }
.social-box p { color: var(--gris); max-width: 600px; margin: 0 auto 25px; font-family: "Segoe UI", sans-serif; }

.social-links { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; }

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px 8px 8px;
  border-radius: 50px;
  background: var(--crema);
  color: var(--verde);
  font-size: 14px;
  font-weight: 800;
  font-family: "Segoe UI", sans-serif;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.social-link:hover { transform: translateY(-3px); background: var(--verde); color: white; }

.social-link .social-ico {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--verde-claro);
  color: var(--verde);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s ease, color .2s ease;
}

.social-link .social-ico svg { width: 18px; height: 18px; display: block; }
.social-link:hover .social-ico { background: rgba(255,255,255,.2); color: white; }

/* =========================
   FORMULARIO
========================= */

.form-section { background: var(--crema); }

.form-wrapper {
  max-width: 760px;
  margin: auto;
  overflow: hidden;
  background: white;
  border: 1px solid var(--borde);
  border-radius: 28px;
  box-shadow: var(--sombra);
}

iframe { width: 100%; min-height: 850px; border: 0; display: block; }

.form-fallback { padding: 40px 25px; text-align: center; font-family: "Segoe UI", sans-serif; }
.form-fallback p { color: var(--gris); margin-bottom: 18px; }

/* =========================
   BLOQUE DESTACADO ("¿Es para ti?")
   Paleta cálida a juego con Método ALAS
========================= */

.statement { padding: 80px 20px; background: var(--crema); }

.statement-box {
  max-width: 860px;
  margin: auto;
  padding: 50px 34px;
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, var(--sand) 100%);
  border: 1px solid #e6e0d0;
  border-radius: 30px;
  box-shadow: 0 18px 50px rgba(79, 90, 68, .16);
}

.statement-box small {
  color: var(--sage);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-family: "Segoe UI", sans-serif;
}

.statement-box .big {
  margin: 16px 0 16px;
  color: var(--sage-deep);
  font-size: clamp(19px, 3vw, 27px);
  line-height: 1.5;
  font-weight: 400;
  font-style: italic;
  font-family: 'Fraunces', Georgia, serif;
}

.statement-box .final {
  color: var(--gold);
  font-size: clamp(21px, 3.4vw, 30px);
  font-weight: 600;
  margin-bottom: 26px;
  font-family: 'Fraunces', Georgia, serif;
}

.statement-box .btn-primary { background: var(--sage-deep); }
.statement-box .btn-primary:hover { background: var(--sage); }

@media (max-width: 700px) {
  .statement { padding: 60px 16px; }
  .statement-box { padding: 36px 20px; }
}

/* =========================
   NOVEDADES (página novedades.html)
========================= */

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.news-card {
  background: white;
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(31,61,44,.07);
}

.news-card img { height: 200px; object-fit: cover; }
.news-body { padding: 22px; font-family: "Segoe UI", sans-serif; }

.news-date {
  font-size: 12px;
  font-weight: 800;
  color: var(--verde-2);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 8px;
  display: block;
}

.news-card h3 { color: var(--verde); font-size: 19px; margin-bottom: 8px; }
.news-card p { color: var(--gris); font-size: 14px; }

/* =========================
   INFO (página info.html)
========================= */

.info-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }

.info-split img { border-radius: 32px; box-shadow: var(--sombra); height: 520px; object-fit: cover; }

.info-split h2 { color: var(--verde); font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }
.info-split p { color: #4b5a4c; margin-bottom: 14px; font-size: 16px; font-family: "Segoe UI", sans-serif; }

.timeline { display: flex; flex-direction: column; gap: 26px; margin-top: 20px; }
.timeline-item { display: grid; grid-template-columns: 90px 1fr; gap: 18px; align-items: start; }
.timeline-year { font-weight: 800; color: var(--verde-2); font-size: 14px; padding-top: 3px; font-family: "Segoe UI", sans-serif; }
.timeline-content h4 { color: var(--verde); font-size: 17px; margin-bottom: 4px; font-family: 'Fraunces', serif; }
.timeline-content p { color: var(--gris); font-size: 14px; font-family: "Segoe UI", sans-serif; }

.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item { background: white; border: 1px solid var(--borde); border-radius: 18px; overflow: hidden; }

.faq-item summary {
  padding: 18px 22px;
  font-weight: 800;
  color: var(--verde);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: "Segoe UI", sans-serif;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--verde-2);
  flex-shrink: 0;
  transition: transform .2s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 22px 20px; color: var(--gris); font-size: 15px; font-family: "Segoe UI", sans-serif; }
.faq-item a { color: var(--verde); font-weight: 800; }

/* =========================
   BOTONES FLOTANTES
========================= */

.calculator-bubble {
  position: fixed;
  right: 20px;
  bottom: calc(20px + var(--safe-bottom));
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 20px;
  color: white;
  background: var(--verde);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 800;
  font-family: "Segoe UI", sans-serif;
  line-height: 1.2;
  max-width: 220px;
  box-shadow: 0 12px 30px rgba(31,61,44,.3);
  transition: transform .25s ease, background .25s ease;
}

.calculator-bubble:hover { transform: translateY(-4px) scale(1.02); background: var(--verde-2); }
.calculator-bubble .emoji { font-size: 20px; }

.whatsapp-bubble {
  position: fixed;
  left: 20px;
  bottom: calc(20px + var(--safe-bottom));
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 20px;
  color: white;
  background: #2ea86b;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 800;
  font-family: "Segoe UI", sans-serif;
  box-shadow: 0 12px 30px rgba(31,61,44,.3);
  transition: transform .25s ease, background .25s ease;
}

.whatsapp-bubble:hover { transform: translateY(-4px) scale(1.02); background: #26935d; }

/* =========================
   FOOTER
========================= */

footer {
  padding: 50px 20px calc(50px + var(--safe-bottom));
  color: #dfe8e0;
  background: #172d21;
  text-align: center;
  font-family: "Segoe UI", sans-serif;
}

footer strong { color: white; font-size: 20px; font-family: 'Fraunces', serif; }
footer p { margin-top: 8px; font-size: 14px; opacity: .75; }

.footer-links { margin-top: 18px; display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.footer-links a { font-size: 13px; color: #b9c9bd; }
.footer-links a:hover { color: white; }

/* =========================
   MÓVIL — con 6 enlaces, pasamos al menú móvil antes (960px)
========================= */

@media (max-width: 960px) {
  .mobile-menu { display: block; }
  .nav-links {
    position: absolute;
    top: calc(80px + var(--safe-top));
    left: 10px;
    right: 10px;
    padding: 10px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: white;
    border-radius: 20px;
    box-shadow: var(--sombra);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 15px; text-align: center; font-size: 14px; }

  .hero { grid-template-columns: 1fr; padding-top: calc(125px + var(--safe-top)); }
  .hero-content { margin: auto; text-align: center; }
  .hero-text { margin-left: auto; margin-right: auto; }
  .buttons { justify-content: center; }
  .hero-image { margin: auto; }

  .info-split { grid-template-columns: 1fr; }
  .info-split img { height: 380px; margin: 0 auto; max-width: 460px; }
}

@media (max-width: 700px) {

  header { padding: calc(9px + var(--safe-top)) 9px 9px; }
  .nav { border-radius: 25px; padding-right: 8px; }
  .logo { padding: 8px 14px 8px 11px; gap: 7px; }
  .logo-main { font-size: 15px; }
  .logo-sub { font-size: 10px; letter-spacing: 1px; }

  .hero { padding: calc(120px + var(--safe-top)) 16px 60px; gap: 40px; }
  h1 { font-size: 40px; letter-spacing: -1px; }
  .hero-text { font-size: 16px; }

  .hero-image img { height: 420px; border-radius: 35px; }

  .floating-card { left: 15px; bottom: 15px; max-width: 210px; padding: 14px 16px; font-size: 12px; }

  section { padding: 65px 16px; }
  .page-hero { padding: calc(140px + var(--safe-top)) 16px 45px; }

  .cards, .opportunity-grid, .news-grid { grid-template-columns: 1fr; }

  .card img { height: 220px; }

  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px; }
  .gallery img:first-child { grid-column: span 2; grid-row: auto; }

  .social-box { padding: 32px 16px; }

  .timeline-item { grid-template-columns: 66px 1fr; gap: 12px; }

  .whatsapp-bubble span:last-child,
  .calculator-bubble span:last-child { display: none; }

  .whatsapp-bubble,
  .calculator-bubble {
    width: 54px;
    height: 54px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  iframe { min-height: 780px; }
}

@media (max-width: 480px) {
  h1 { font-size: 34px; }
  .hero-image img { height: 360px; }

  .gallery { grid-template-columns: 1fr; grid-template-rows: repeat(3, 200px); }
  .gallery img:first-child { grid-column: auto; }

  iframe { min-height: 760px; }

  .whatsapp-bubble { left: 14px; bottom: calc(14px + var(--safe-bottom)); }
  .calculator-bubble { right: 14px; bottom: calc(14px + var(--safe-bottom)); }
}

@media (max-width: 360px) {
  .nav-links a { font-size: 11px; padding: 7px 8px; }
}

.whatsapp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: white;
}

.whatsapp-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.whatsapp-bubble {
  background: #2ea86b;
}

.whatsapp-bubble:hover {
  transform: translateY(-4px) scale(1.02);
  background: #26935d;
}

.whatsapp-bubble span:last-child {
  display: none;
}