/* ===========================
   REVELA TU POTENCIAL 2026
   Estética brochure: beige/sand/gold + verde natura
   Espiral como motivo central
   =========================== */

:root {
  --sand-lightest: #f7f1ea;
  --sand-light: #f0e6d8;
  --sand: #e4d5c3;
  --sand-mid: #d4c4b0;
  --sand-dark: #c9a87c;
  --gold: #b8965a;
  --brown-light: #8a7560;
  --brown: #5c4a3a;
  --brown-dark: #3d3029;
  --brown-darker: #2a1f18;
  --green-dark: #1a3a1a;
  --white: #ffffff;
  --font-body: 'Source Sans 3', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--brown-dark);
  background: var(--sand-lightest);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ---- FADE IN ANIMATION ---- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- NAV ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled {
  background: rgba(240, 230, 216, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 12px rgba(92, 74, 58, 0.08);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 1rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
}
.nav-logo-img { height: 36px; width: auto; filter: brightness(0) invert(0.3); transition: filter .3s; }
.nav.scrolled .nav-logo-img { filter: brightness(0) invert(0.2); }
.nav-links { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--brown); font-size: 0.9rem;
  font-weight: 400; letter-spacing: 0.03em; transition: color .2s;
}
.nav-links a:hover { color: var(--sand-dark); }
.nav-cta {
  background: var(--brown); color: var(--white) !important;
  padding: 0.5rem 1.2rem; border-radius: 2rem; font-weight: 600 !important;
}
.nav-cta:hover { background: var(--brown-dark) !important; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--brown); transition: transform .3s, opacity .3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- HERO (Brochure p.1) ---- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: linear-gradient(160deg, var(--sand-light) 0%, var(--sand-mid) 40%, var(--sand-dark) 70%, var(--sand-mid) 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(244,236,226,0.6) 0%, rgba(201,168,124,0.3) 50%, rgba(244,236,226,0.6) 100%);
}
.hero-spiral {
  position: absolute; width: 70vmin; height: 70vmin;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  opacity: 0.6;
}
.hero-content {
  position: relative; text-align: center; padding: 6rem 1.5rem 4rem; max-width: 700px;
}
.hero-icon {
  width: 70px; height: auto; margin: 0 auto 2rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.hero-title {
  font-family: var(--font-heading); font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 300; color: var(--white); margin-bottom: 1.5rem;
  letter-spacing: 0.04em; line-height: 1.05;
  text-shadow: 0 2px 30px rgba(92, 74, 58, 0.15);
}
.hero-tagline {
  font-family: var(--font-body); font-size: 1.15rem; font-weight: 300;
  color: rgba(255,255,255,0.9); margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block; text-decoration: none; font-family: var(--font-body);
  font-weight: 600; font-size: 0.95rem; padding: 0.9rem 2rem;
  border-radius: 3rem; transition: all .3s; letter-spacing: 0.02em;
}
.btn-primary { background: var(--brown); color: var(--white); }
.btn-primary:hover { background: var(--brown-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(61, 48, 41, 0.25); }
.btn-whatsapp {
  background: #25D366; color: var(--white); display: inline-flex;
  align-items: center; gap: 0.6rem; font-size: 1.05rem; padding: 1rem 2.5rem;
}
.btn-whatsapp:hover { background: #1fb855; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3); }
.wa-svg { width: 22px; height: 22px; }

/* ---- BADGE LABELS ---- */
.badge-label {
  display: inline-block; margin: 0 auto 1rem; text-align: center;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.18em; padding: 0.35rem 1.2rem;
  border: 1.5px solid var(--sand-dark); border-radius: 2rem;
  color: var(--brown); background: rgba(255,255,255,0.3);
}
.badge-gold { border-color: var(--gold); color: var(--gold); background: rgba(184,150,90,0.08); }
.badge-white { border-color: rgba(255,255,255,0.6); color: var(--white); background: rgba(255,255,255,0.1); }

/* ---- SECTION BASE ---- */
.section { padding: 5rem 0; position: relative; overflow: hidden; }
.section-sand {
  background: linear-gradient(160deg, var(--sand-light) 0%, var(--sand-mid) 50%, var(--sand-light) 100%);
}
.section-bg-texture {
  position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.15;
}
.section .container { position: relative; }

/* ---- QUÉ SOMOS (p.2) — Estilo Site 1 ---- */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 300; text-align: center;
  margin-bottom: 1.5rem; letter-spacing: 0.02em;
  color: var(--brown-dark);
}
.section-lead {
  text-align: center; max-width: 750px; margin: 0 auto 3rem;
  font-size: 1.1rem; font-weight: 300; line-height: 1.8;
  color: var(--brown-light);
}
.section-sand .container { text-align: center; }

.values-grid { text-align: center; margin-bottom: 3rem; }
.values-heading, .pillars-heading {
  font-family: var(--font-heading); font-size: 1.3rem;
  font-weight: 400; margin-bottom: 1rem; color: var(--brown);
}
.values-list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem;
}
.value-tag {
  background: var(--sand-lightest); color: var(--brown);
  padding: 0.45rem 1.2rem; border-radius: 2rem;
  font-size: 0.9rem; font-weight: 400;
  border: 1px solid var(--sand);
}

.pillars { text-align: center; }
.pillars-flow {
  display: flex; flex-wrap: wrap; justify-content: center;
  align-items: center; gap: 0.5rem;
}
.pillar {
  background: var(--sand); color: var(--brown-dark);
  padding: 0.6rem 1.3rem; border-radius: 2rem;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.03em;
}
.pillar-arrow { color: var(--sand-dark); font-size: 1.2rem; }

/* ---- FOUNDERS (p.3-4) ---- */
.section-founder { padding: 0; }
.founder-full {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.founder-photo-full {
  position: absolute;
  inset: 0;
}
.founder-photo-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 5%;
}
.founder-glass {
  position: relative;
  z-index: 2;
  max-width: 480px;
  margin-left: auto;
  margin-right: 5%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 1.5rem;
  padding: 3rem 2.5rem;
  text-align: center;
}
.founder-full-reverse .founder-glass {
  margin-left: 5%;
  margin-right: auto;
}
.founder-logo { height: 60px; width: auto; margin: 0 auto 1rem; }
.founder-name {
  font-family: var(--font-heading); font-size: 2.2rem; font-weight: 400;
  color: var(--brown-darker); margin-bottom: 1.2rem; letter-spacing: 0.02em;
}
.founder-glass p {
  font-size: 0.95rem; line-height: 1.7; color: var(--brown-dark);
  margin-bottom: 1rem; text-align: center;
}

/* ---- PHILOSOPHY (p.5) ---- */
.section-philosophy {
  padding: 6rem 0; position: relative;
  background: linear-gradient(135deg, var(--sand-mid) 0%, var(--sand-dark) 30%, var(--sand) 60%, var(--sand-mid) 100%);
  display: flex; align-items: center; min-height: 70vh;
}
.philosophy-spiral {
  position: absolute; width: 90vmin; height: 90vmin;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.philosophy-content {
  position: relative; max-width: 650px; margin: 0 auto;
  text-align: center;
}
.philosophy-content p {
  font-size: 1.2rem; line-height: 1.9; color: var(--brown-dark);
}

/* ---- OFFERINGS (p.6) ---- */
.section-offerings {
  position: relative; padding: 5rem 0;
  background: var(--green-dark);
  min-height: 100vh; display: flex; align-items: center;
}
.offerings-bg {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,50,20,0.85) 0%, rgba(10,30,10,0.9) 100%);
}
.section-offerings .container { position: relative; z-index: 2; }
.section-title-white {
  font-family: var(--font-heading); font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500; color: var(--white); text-align: center;
  margin-bottom: 2.5rem;
}

.bubbles-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.8rem; margin-bottom: 3rem; max-width: 800px; margin-left: auto; margin-right: auto;
}
.bubble {
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 2rem; padding: 0.8rem 1.4rem;
  color: var(--white); font-size: 0.9rem;
  text-align: center; backdrop-filter: blur(4px);
  transition: background 0.3s, transform 0.3s;
}
.bubble:hover { background: rgba(255,255,255,0.18); transform: translateY(-3px); }
.bubble-lg { flex-basis: 60%; }

.target-audience {
  text-align: center; max-width: 650px; margin: 0 auto 2rem;
  color: var(--white);
}
.target-audience h3 {
  font-family: var(--font-heading); font-size: 1.8rem;
  font-weight: 500; margin-bottom: 1rem;
}
.target-audience p { font-size: 1rem; line-height: 1.7; color: rgba(255,255,255,0.9); }

.rvl-icon-center { text-align: center; }
.rvl-icon-center img {
  width: 40px; margin: 0 auto;
  filter: brightness(0) invert(1); opacity: 0.5;
}

/* ---- PROGRAMS (p.7-8) ---- */
.section-program {
  padding: 5rem 0; position: relative;
  background: var(--sand-light);
}
.program-bg {
  position: absolute; inset: 0; background-size: cover;
  background-position: center; opacity: 0.12;
}
.program-card-full {
  position: relative; max-width: 700px; margin: 0 auto;
  text-align: center;
}
.program-title-display {
  font-family: var(--font-heading); font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400; color: var(--brown-dark); margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}
.program-subtitle-italic {
  font-family: var(--font-heading); font-size: 1.15rem;
  font-style: italic; color: var(--sand-dark); margin-bottom: 2rem;
}
.program-body { margin-top: 1rem; }
.program-desc {
  font-size: 1.2rem; color: var(--brown-dark);
  margin-bottom: 1.5rem; font-weight: 400;
}
.program-pillars-row {
  font-family: var(--font-heading); font-size: 1.2rem;
  font-weight: 400; color: var(--brown);
  margin-bottom: 2rem;
}
.program-pillars-row .sep { color: var(--sand-dark); margin: 0 0.3rem; }
.program-icon { height: 45px; width: auto; margin: 0 auto; opacity: 0.5; }
.program-icon-lg { height: 75px; }

.section-program-alt {
  background: linear-gradient(160deg, var(--sand-light) 0%, var(--sand) 100%);
}

/* ---- EXPERIENCES (p.9) ---- */
.section-experiences {
  position: relative; padding: 5rem 0;
  background: var(--green-dark);
  color: var(--white);
  min-height: 100vh;
}
.experiences-photo-bg {
  position: absolute; inset: 0;
}
.experiences-photo-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  opacity: 0.2;
}
.section-experiences .container { position: relative; z-index: 2; text-align: center; }

.exp-two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem; margin: 1.5rem 0 2.5rem; text-align: left;
}
.exp-item h3 {
  font-family: var(--font-heading); font-size: 1.6rem;
  font-weight: 400; margin-bottom: 0.5rem;
}
.exp-item p { font-size: 0.9rem; color: rgba(255,255,255,0.8); line-height: 1.6; }

.mini-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem; margin-top: 1.5rem; text-align: left;
}
.mini-item h4 {
  font-family: var(--font-heading); font-size: 1.2rem;
  font-weight: 600; font-style: italic; margin-bottom: 0.3rem;
}
.mini-item p { font-size: 0.85rem; color: rgba(255,255,255,0.75); line-height: 1.5; }

/* ---- CONTACT (p.10) ---- */
.section-contact {
  position: relative; padding: 6rem 0;
  background: var(--sand-light);
  min-height: 80vh; display: flex; align-items: center;
}
.contact-bg {
  position: absolute; inset: 0;
}
.contact-bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.15;
}
.contact-content {
  position: relative; z-index: 2; text-align: center;
}
.contact-logo {
  width: 60px; margin: 0 auto 2rem;
  filter: brightness(0) sepia(1) saturate(0.4) hue-rotate(350deg);
}
.contact-title {
  font-family: var(--font-heading); font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 300; color: var(--brown-dark); margin-bottom: 2.5rem;
  line-height: 1.1;
}
.contact-info { margin-bottom: 2.5rem; }
.contact-phone {
  font-size: 1.1rem; color: var(--brown); margin-bottom: 0.5rem; font-weight: 500;
}
.contact-ig {
  font-size: 0.95rem; color: var(--brown-light); margin-bottom: 0.3rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.ig-icon { width: 16px; height: 16px; opacity: 0.7; }

.contact-cta { margin-bottom: 2rem; }
.cta-question {
  font-family: var(--font-heading); font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600; color: var(--brown-dark); margin-bottom: 0.8rem;
}
.cta-subtitle {
  font-size: 1.3rem; color: var(--brown); margin-bottom: 1.2rem; font-weight: 600;
}
.cta-desc {
  max-width: 550px; margin: 0 auto; color: var(--brown-light);
  font-size: 0.95rem; line-height: 1.7;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--brown-dark); color: var(--sand-mid);
  padding: 2rem 0; text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.footer-logo { height: 28px; width: auto; opacity: 0.4; }
.footer p { font-size: 0.85rem; }
.footer-sub { font-size: 0.8rem; opacity: 0.5; }

/* ---- WHATSAPP FLOAT ---- */
.wa-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  width: 56px; height: 56px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: transform .3s, box-shadow .3s; z-index: 90;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45); }
.wa-float svg { width: 28px; height: 28px; }

/* ==========================
   RESPONSIVE — TABLET (769-1199px)
   Stack vertical like mobile, no overlap on face
   ========================== */
@media (min-width: 769px) and (max-width: 1199px) {
  .founder-full {
    min-height: auto;
    flex-direction: column;
  }
  .founder-photo-full {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
  }
  .founder-photo-full img {
    object-position: center 5%;
  }
  .founder-glass {
    margin: -4rem 3rem 3rem;
    max-width: 520px;
    align-self: center;
  }
  .founder-full-reverse .founder-glass {
    margin: -4rem 3rem 3rem;
  }
}

/* ==========================
   RESPONSIVE — WIDE / ULTRAWIDE DESKTOPS
   Two-column layout: photo contained, card beside it
   ========================== */
@media (min-width: 1200px) {
  .founder-full {
    display: flex;
    align-items: stretch;
    min-height: 100vh;
    background: linear-gradient(160deg, #2a4a2a 0%, #1a3a1a 60%, #0d260d 100%);
  }
  .founder-photo-full {
    position: relative;
    width: 55%;
    flex-shrink: 0;
  }
  .founder-photo-full img {
    object-position: center 5%;
  }
  .founder-glass {
    align-self: center;
    margin: 3rem auto;
    margin-left: -5%;
    max-width: 440px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
  }
  .founder-full-reverse {
    flex-direction: row-reverse;
  }
  .founder-full-reverse .founder-glass {
    margin-left: auto;
    margin-right: -5%;
  }
  .founder-name { color: var(--white); }
  .founder-glass p { color: rgba(255,255,255,0.9); }
  .founder-glass strong { color: var(--white); }
}

/* ==========================
   RESPONSIVE — MOBILE
   ========================== */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%;
    width: 70%; max-width: 300px; height: 100vh;
    background: var(--sand-light); flex-direction: column;
    padding: 5rem 2rem 2rem; gap: 1.5rem;
    transition: right .3s; box-shadow: -5px 0 20px rgba(0,0,0,0.1);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1rem; }

  .hero-title { font-size: clamp(2.8rem, 10vw, 4rem); }
  .hero-content { padding: 5rem 1.5rem 3rem; }
  .hero-icon { width: 55px; }

  .spiral-container { max-width: 300px; }
  .sp-label { font-size: 0.85rem; }
  .sp-alma { font-size: 1.2rem; }

  .founder-full { min-height: auto; flex-direction: column; }
  .founder-photo-full {
    position: relative; width: 100%; aspect-ratio: 3/4;
  }
  .founder-photo-full img {
    object-position: center 5%;
  }
  .founder-glass {
    margin: -3rem 1rem 2rem; max-width: none;
  }
  .founder-full-reverse .founder-glass { margin: -3rem 1rem 2rem; }

  .pillars-flow .pillar-arrow { display: none; }
  .pillars-flow { gap: 0.4rem; }

  .section-philosophy { min-height: 50vh; padding: 4rem 0; }
  .philosophy-content p { font-size: 1.05rem; }

  .bubbles-grid { gap: 0.5rem; }
  .bubble { font-size: 0.82rem; padding: 0.6rem 1rem; }
  .bubble-lg { flex-basis: 80%; }

  .exp-two-col { grid-template-columns: 1fr; gap: 1.5rem; }
  .mini-grid { grid-template-columns: 1fr; gap: 1.2rem; }

  .section { padding: 3.5rem 0; }

  .wa-float { bottom: 1rem; right: 1rem; width: 50px; height: 50px; }
  .wa-float svg { width: 24px; height: 24px; }

  .footer-inner { text-align: center; }
}

@media (max-width: 480px) {
  html { font-size: 15px; }
  .hero-title { font-size: 2.5rem; }
  .nav-inner { padding: 0.8rem 1rem; }
  .founder-name { font-size: 1.8rem; }
  .founder-glass { padding: 2rem 1.5rem; }
  .values-row { font-size: 1.05rem; }
}
