/* ============================================================
   OTRA PARTITURA — estilos
   Paleta: verde #10C79C · fucsia #D11168 · ámbar #F2D205
   ============================================================ */

:root {
  --green: #10C79C;
  --green-dark: #0a9c7a;
  --pink: #D11168;
  --amber: #F2D205;
  --ink: #1c2321;
  --ink-soft: #4a5652;
  --bg: #fbfaf7;
  --bg-alt: #f3f4f0;
  --white: #ffffff;
  --line: rgba(28, 35, 33, 0.1);
  --font-title: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, sans-serif;
  --radius: 20px;
  --nav-h: 76px;
}

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

html { scroll-behavior: smooth; }
html.lenis { height: auto; scroll-behavior: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ===== Fondo neuronal ===== */
#neural-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

main, .footer { position: relative; z-index: 1; }

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}
.container--narrow { width: min(800px, 92vw); }

.u-green { color: var(--green-dark); font-style: normal; }
.u-pink { color: var(--pink); font-style: normal; }

/* ===== Botones ===== */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9em 1.8em;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  font-family: var(--font-body);
}
.btn:hover { transform: translateY(-2px); }
.btn--amber {
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 4px 18px rgba(242, 210, 5, 0.35);
}
.btn--amber:hover { box-shadow: 0 8px 26px rgba(242, 210, 5, 0.5); }
.btn--pink { background: var(--pink); color: #fff; box-shadow: 0 4px 18px rgba(209, 17, 104, 0.28); }
.btn--green { background: var(--green); color: #fff; box-shadow: 0 4px 18px rgba(16, 199, 156, 0.3); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn--ghost:hover { border-color: var(--green); color: var(--green-dark); }
.btn--full { width: 100%; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.nav.is-scrolled {
  background: rgba(251, 250, 247, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
  width: min(1280px, 94vw);
  margin: 0 auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__logo {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav__logo-mark { width: 26px; height: 26px; color: var(--green); }
.nav__links {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
}
.nav__links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__cta { white-space: nowrap; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__burger span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
  overflow: hidden;
}
.hero__waves {
  position: absolute;
  inset: auto 0 -5% 0;
  height: 55%;
  opacity: 0.5;
  pointer-events: none;
}
.hero__waves svg { width: 100%; height: 100%; }
.wave { stroke-width: 2; }
.wave--green { stroke: var(--green); }
.wave--pink { stroke: var(--pink); opacity: 0.55; }
.wave--amber { stroke: var(--amber); }

.hero__inner {
  position: relative;
  width: min(1180px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}
.hero__eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 1.4rem;
}
.hero__title {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.16;
  letter-spacing: -0.01em;
  margin-bottom: 1.6rem;
}
.hero__title .word { display: inline-block; }
.hero__sub {
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 34em;
  margin-bottom: 2.2rem;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(28, 35, 33, 0.25);
  aspect-ratio: 4 / 3.4;
}
.hero__figure img { width: 100%; height: 115%; object-fit: cover; }
.hero__scrollhint {
  position: absolute;
  bottom: 2rem; left: 50%;
  width: 26px; height: 42px;
  transform: translateX(-50%);
  border: 1.5px solid var(--line);
  border-radius: 14px;
}
.hero__scrollhint span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--green);
  border-radius: 4px;
  animation: scrollhint 1.8s ease-in-out infinite;
}
@keyframes scrollhint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(12px); opacity: 0.2; }
}

/* ===== MARQUEE ===== */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 1.1rem 0;
  background: var(--white);
}
.marquee__track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  font-family: var(--font-title);
  font-size: 1.15rem;
  color: var(--ink-soft);
}

/* ===== SECCIONES genéricas ===== */
.section { padding: clamp(5rem, 10vw, 8.5rem) 0; }
.section__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 1.1rem;
}
.section__eyebrow--pink { color: var(--pink); }
.section__eyebrow--green { color: var(--green-dark); }
.section__eyebrow--center { text-align: center; }
.section__eyebrow--light { color: var(--amber); }
.section__title {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1.6rem;
}
.section__title--center { text-align: center; margin-inline: auto; max-width: 20em; }
.section__title--light { color: var(--white); }

/* ===== QUIÉN SOY ===== */
.about { background: rgba(255, 255, 255, 0.85); }
.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.about__figure {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 50px -18px rgba(28, 35, 33, 0.25);
}
.about__figure img { width: 100%; height: 108%; object-fit: cover; }
.about__badge {
  position: absolute;
  left: 1rem; bottom: 1rem; right: 1rem;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--ink-soft);
}
.about__lead {
  font-size: 1.2rem;
  font-family: var(--font-title);
  color: var(--ink);
  margin-bottom: 1.2rem;
}
.about__content > p { color: var(--ink-soft); margin-bottom: 1.2rem; }
.about__identities {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
}
.identity {
  position: relative;
  padding: 1.4rem 1.6rem 1.4rem 2.4rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.identity__dot {
  position: absolute;
  left: 1.1rem; top: 1.75rem;
  width: 9px; height: 9px;
  border-radius: 50%;
}
.identity__dot--green { background: var(--green); }
.identity__dot--pink { background: var(--pink); }
.identity__dot--amber { background: var(--amber); }
.identity h3 { font-family: var(--font-title); font-weight: 600; font-size: 1.05rem; margin-bottom: 0.3rem; }
.identity p { font-size: 0.93rem; color: var(--ink-soft); }

/* ===== PARA QUIÉN ===== */
.audience__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.9rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 40px -20px rgba(28, 35, 33, 0.18);
}
.card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1.4rem;
}
.card__icon svg { width: 26px; height: 26px; }
.card__icon--green { background: rgba(16, 199, 156, 0.12); color: var(--green-dark); }
.card__icon--pink { background: rgba(209, 17, 104, 0.1); color: var(--pink); }
.card__icon--amber { background: rgba(242, 210, 5, 0.18); color: #a08c00; }
.card h3 { font-family: var(--font-title); font-weight: 600; font-size: 1.15rem; margin-bottom: 0.6rem; }
.card p { font-size: 0.95rem; color: var(--ink-soft); }
.audience__needs {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

/* ===== ORQUESTA ===== */
.orchestra { background: rgba(255, 255, 255, 0.85); }
.orchestra__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.orchestra__quote {
  font-family: var(--font-title);
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--green-dark);
  border-left: 3px solid var(--green);
  padding-left: 1.4rem;
  margin: 1.8rem 0;
}
.orchestra__content > p { color: var(--ink-soft); }
.orchestra__steps {
  list-style: none;
  margin-top: 2rem;
  display: grid;
  gap: 0.9rem;
}
.orchestra__steps li {
  padding: 1rem 1.3rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.orchestra__steps strong { color: var(--ink); }
.orchestra__figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 50px -18px rgba(28, 35, 33, 0.2);
}
.orchestra__figure img { width: 100%; height: 108%; object-fit: cover; }

/* ===== MÉTODO DIAPASÓN ===== */
.method {
  background: linear-gradient(160deg, #12352d 0%, #0e2a24 60%, #0b231e 100%);
  color: rgba(255, 255, 255, 0.85);
}
.method__head { max-width: 46em; }
.method__subtitle {
  display: block;
  font-size: 0.5em;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-top: 0.8rem;
}
.method__intro { font-size: 1.1rem; color: rgba(255, 255, 255, 0.75); }
.method__intro strong { color: var(--white); }

.method__timeline {
  position: relative;
  margin: 4.5rem 0 4rem;
  padding-left: 2.5rem;
}
.method__line {
  position: absolute;
  left: 10px; top: 8px; bottom: 8px;
  width: 2px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 2px;
}
.method__line span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(var(--green), var(--amber));
  border-radius: 2px;
  transform-origin: top;
  transform: scaleY(0);
}
.method__sessions {
  list-style: none;
  display: grid;
  gap: 2.2rem;
}
.session {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 1.8rem 2rem 1.8rem 5.2rem;
  backdrop-filter: blur(4px);
}
.session::before {
  content: "";
  position: absolute;
  left: -2.5rem; top: 2.1rem;
  width: 12px; height: 12px;
  margin-left: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(16, 199, 156, 0.18);
}
.session__num {
  position: absolute;
  left: 1.6rem; top: 1.65rem;
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--amber);
}
.session h3 { color: var(--white); font-family: var(--font-title); font-weight: 500; font-size: 1.25rem; margin-bottom: 0.4rem; }
.session p { font-size: 0.97rem; color: rgba(255, 255, 255, 0.68); }

.method__footer {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: stretch;
}
.method__includes {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 2rem;
}
.method__includes h3 { color: var(--green); font-family: var(--font-title); margin-bottom: 0.7rem; }
.method__includes p { font-size: 0.97rem; color: rgba(255, 255, 255, 0.72); }
.method__includes strong { color: var(--white); }
.method__pricing {
  background: var(--white);
  color: var(--ink);
  border-radius: 18px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  justify-content: space-between;
}
.method__price { display: flex; flex-direction: column; gap: 0.3rem; }
.method__price-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink);
}
.method__price-value {
  font-family: var(--font-title);
  font-size: 3rem;
  line-height: 1;
}
.method__price-note { font-size: 0.85rem; color: var(--ink-soft); }

/* ===== SERVICIOS (Tu Compás / Nuestro Compás) ===== */
.service--alt { background: rgba(255, 255, 255, 0.85); }
.service__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.service__grid--reverse { grid-template-columns: 1.1fr 0.9fr; }
.service__figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 50px -18px rgba(28, 35, 33, 0.2);
}
.service__figure img { width: 100%; height: 108%; object-fit: cover; }
.service__content > p { color: var(--ink-soft); margin-bottom: 1.1rem; }
.service__list {
  list-style: none;
  margin: 1.4rem 0 2rem;
  display: grid;
  gap: 0.7rem;
}
.service__list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.service__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--pink);
}

/* ===== TESTIMONIO ===== */
.quote-band {
  background: rgba(243, 244, 240, 0.85);
  text-align: center;
}
.quote-band__quote {
  font-family: var(--font-title);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.45;
  max-width: 26em;
  margin: 0 auto 1.5rem;
}
.quote-band__author { color: var(--ink-soft); font-size: 0.95rem; }

/* ===== VALORES ===== */
.values { background: rgba(255, 255, 255, 0.85); }
.values__grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.value {
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg);
  transition: border-color 0.3s;
}
.value:hover { border-color: var(--green); }
.value h3 { font-family: var(--font-title); font-weight: 600; font-size: 1.05rem; margin-bottom: 0.4rem; }
.value p { font-size: 0.92rem; color: var(--ink-soft); }

/* ===== FAQ ===== */
.faq__list { margin-top: 3rem; display: grid; gap: 0.8rem; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 1.5rem;
  overflow: hidden;
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.3rem 2.2rem 1.3rem 0;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--green);
  transition: transform 0.3s;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p {
  padding: 0 0 1.4rem;
  font-size: 0.96rem;
  color: var(--ink-soft);
}

/* ===== CONTACTO ===== */
.contact { background: transparent; }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact__content > p { color: var(--ink-soft); margin-bottom: 1rem; }
.contact__note { font-weight: 600; color: var(--green-dark) !important; }
.contact__form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem;
  display: grid;
  gap: 1.2rem;
  box-shadow: 0 24px 50px -25px rgba(28, 35, 33, 0.2);
}
.contact__form label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.contact__form input,
.contact__form select,
.contact__form textarea {
  font-family: var(--font-body);
  font-size: 0.97rem;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.2s;
  resize: vertical;
}
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--green);
}

/* ===== FOOTER ===== */
.footer {
  background: #12211d;
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2.5rem;
}
.footer__inner { display: grid; gap: 2.5rem; }
.footer__logo {
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: var(--white);
  display: block;
  margin-bottom: 0.8rem;
}
.footer__brand p {
  max-width: 34em;
  font-size: 0.95rem;
  font-style: italic;
}
.footer__nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer__nav a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer__nav a:hover { color: var(--green); }
.footer__copy {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.8rem;
}

/* ===== Animaciones: estado inicial ===== */
[data-reveal] { opacity: 0; transform: translateY(36px); }
[data-hero-fade] { opacity: 0; transform: translateY(24px); }
[data-hero-img] { opacity: 0; transform: translateY(40px) scale(0.97); }
.hero__title .word { opacity: 0; transform: translateY(0.6em); }
.session { opacity: 0; transform: translateX(-30px); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-hero-fade], [data-hero-img],
  .hero__title .word, .session {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__figure { max-width: 560px; }
  .about__grid, .orchestra__grid, .service__grid,
  .service__grid--reverse, .contact__grid { grid-template-columns: 1fr; }
  .about__figure { position: static; max-width: 460px; }
  .audience__cards, .values__grid { grid-template-columns: 1fr 1fr; }
  .method__footer { grid-template-columns: 1fr; }
  .service__grid--reverse .service__content { order: 2; }
  .service__grid--reverse .service__figure { order: 1; }
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 1.8rem 2.2rem;
    border-radius: 0 0 0 20px;
    box-shadow: 0 20px 40px rgba(28, 35, 33, 0.15);
    transform: translateX(110%);
    transition: transform 0.35s ease;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__burger { display: flex; margin-left: auto; }
  .nav__links { margin-left: 0; }
  .nav__cta { margin-left: auto; }
  .nav__burger { margin-left: 0.5rem; }
}

@media (max-width: 560px) {
  .audience__cards, .values__grid { grid-template-columns: 1fr; }
  .nav__cta { display: none; }
  .session { padding: 1.5rem 1.3rem 1.5rem 4.2rem; }
  .session__num { left: 1.1rem; }
  .hero__scrollhint { display: none; }
}
