/* ===================================================================
   AURELIA CIRLO — Design tokens
=================================================================== */
:root {
  --c-white: #FFFFFF;
  --c-black: #111111;
  --c-gray: #5F5F5F;
  --c-gold: #B8965A;
  --c-gold-dark: #A07F49;
  --c-gold-text: #8C6A3A;
  --c-gold-soft: rgba(184, 150, 90, 0.16);
  --c-beige: #F7F4EF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --container: 1180px;
  --container-narrow: 760px;

  --space-section: clamp(72px, 10vw, 140px);
  --radius: 3px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===================================================================
   Reset
=================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-black);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; margin: 0; color: var(--c-black); }
p { margin: 0; }
button { font-family: inherit; }

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===================================================================
   Legal pages
=================================================================== */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}
.legal-content h2 {
  font-size: 1.4rem;
  margin: 48px 0 16px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-gray);
  margin: 0 0 18px;
}
.legal-content ul {
  margin: 0 0 18px;
  padding-left: 22px;
}
.legal-content li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-gray);
  margin-bottom: 8px;
}
.legal-content a { color: var(--c-gold-text); border-bottom: 1px solid var(--c-gold); }
.legal-updated {
  font-size: 0.85rem;
  color: var(--c-gray);
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(17,17,17,0.08);
}
.legal-placeholder {
  background: var(--c-gold-soft);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ===================================================================
   Shared layout helpers
=================================================================== */
.section { padding: var(--space-section) 24px; }
.section--beige { background: var(--c-beige); }
.section--dark { background: var(--c-black); color: var(--c-white); text-align: center; }
.section--dark h2, .section--dark h3 { color: var(--c-white); }

.section__inner { max-width: var(--container); margin: 0 auto; }
.section__inner--narrow { max-width: var(--container-narrow); }
.section__inner--center { text-align: center; }

.section__inner--split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.section__head h2 { font-size: clamp(2.1rem, 3.4vw, 2.75rem); margin-bottom: 4px; }
.section__head--center { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section__head:not(.section__head--center) { margin-bottom: 8px; }

.section__intro {
  margin-top: 18px;
  color: var(--c-gray);
  font-size: 1.05rem;
  line-height: 1.75;
}

.section__body p { color: var(--c-gray); line-height: 1.85; font-size: 1.04rem; margin-bottom: 18px; }
.section__body p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--c-gold-text);
  margin: 0 0 14px;
}
.eyebrow--light { color: var(--c-gold); }

/* ===================================================================
   Buttons
=================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 34px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.25s var(--ease);
}
.btn--gold { background: var(--c-gold); color: var(--c-white); }
.btn--gold:hover { background: var(--c-gold-dark); transform: translateY(-2px); }

.btn--outline { background: transparent; color: var(--c-black); border-color: var(--c-black); }
.btn--outline:hover { background: var(--c-black); color: var(--c-white); transform: translateY(-2px); }

.section--dark .btn--outline { color: var(--c-white); border-color: rgba(255,255,255,0.4); }
.section--dark .btn--outline:hover { background: var(--c-white); color: var(--c-black); }

.btn--small { padding: 10px 22px; font-size: 0.82rem; }

.btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
}

/* ===================================================================
   Navbar
=================================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--c-white);
  transition: box-shadow 0.3s var(--ease);
}
.navbar.is-scrolled { box-shadow: 0 4px 24px rgba(17,17,17,0.06); }

.navbar__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
}

.navbar__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--c-black);
  letter-spacing: 0.01em;
}
.navbar__logo span { color: var(--c-gold); }

.navbar__nav { display: flex; align-items: center; gap: 34px; }
.navlink {
  font-size: 0.9rem;
  color: var(--c-black);
  position: relative;
  padding-bottom: 4px;
  white-space: nowrap;
}
.navlink::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--c-gold);
  transition: width 0.3s var(--ease);
}
.navlink:hover::after { width: 100%; }

.navbar__cta { margin-left: 8px; }

.lang-switch {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border: 1px solid rgba(184, 150, 90, 0.45);
  border-radius: var(--radius);
  color: var(--c-gold-text);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.navlink.lang-switch::after { display: none; }
.lang-switch:hover { background: var(--c-gold); color: var(--c-white); border-color: var(--c-gold); }

.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  z-index: 110;
}
.navbar__burger span {
  width: 24px; height: 1.5px;
  background: var(--c-black);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.navbar__burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.navbar__burger.is-open span:nth-child(2) { opacity: 0; }
.navbar__burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===================================================================
   Hero
=================================================================== */
.hero {
  padding: 168px 24px 100px;
  background: var(--c-white);
  position: relative;
}
.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.7fr;
  gap: 64px;
  align-items: center;
}

.hero__title {
  font-size: clamp(3rem, 6vw, 4.6rem);
  line-height: 1.05;
  margin-bottom: 22px;
}
.hero__title--long {
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  line-height: 1.2;
  font-weight: 500;
}
.hero__subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  color: var(--c-black);
  line-height: 1.4;
  margin-bottom: 22px;
  font-weight: 500;
}
.hero__desc {
  color: var(--c-gray);
  font-size: 1.06rem;
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 38px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__media { position: relative; max-width: 300px; margin-left: auto; }
.hero__frame {
  position: relative;
  z-index: 2;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__frame-deco {
  position: absolute;
  inset: 12px -12px -12px 12px;
  border: 1px solid var(--c-gold);
  z-index: 1;
  border-radius: var(--radius);
}

/* ===================================================================
   Thread divider — minimal section separator
=================================================================== */
.thread-divider {
  display: flex;
  justify-content: center;
  padding: 0 24px;
}
.thread-line-simple {
  display: block;
  width: 56px;
  height: 1px;
  background: var(--c-gold);
  opacity: 0.45;
}

/* (cards-grid / card styles removed — Mi enfoque now reuses .session-block for visual consistency) */

/* ===================================================================
   Numbered editorial blocks — shared by "Mi enfoque" and "Sesiones"
=================================================================== */
.sessions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.session-block {
  border-top: 1px solid rgba(17,17,17,0.1);
  padding-top: 26px;
}
.session-block__num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--c-gold);
  margin-bottom: 14px;
}
.session-block h3 { font-size: 1.2rem; margin-bottom: 12px; }
.session-block p { color: var(--c-gray); font-size: 0.95rem; line-height: 1.7; }

/* ===================================================================
   Training / Formación
=================================================================== */
.training-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.training-grid--three {
  grid-template-columns: 1fr 1fr 1fr;
}
.training-col h3 {
  font-size: 1.3rem;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-gold);
  display: inline-block;
}
.training-list li {
  color: var(--c-gray);
  font-size: 1rem;
  padding: 13px 0;
  border-bottom: 1px solid rgba(17,17,17,0.08);
  position: relative;
  padding-left: 20px;
}
.training-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 22px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-gold);
}

/* ===================================================================
   Método CBC
=================================================================== */
#metodo-cbc h2 { font-size: clamp(2.3rem, 4vw, 3.2rem); }
.reg { font-size: 0.5em; vertical-align: super; }

.cbc-rule {
  display: block;
  width: 64px;
  height: 1px;
  background: var(--c-gold);
  opacity: 0.5;
  margin: 36px auto 40px;
}

.cbc-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--c-gold);
  margin: 0 0 24px;
}

.cbc-text {
  font-size: 1.1rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.78);
  max-width: 620px;
  margin: 0 auto 24px;
}
.cbc-text:last-of-type { margin-bottom: 38px; }

.pain-points-list {
  text-align: left;
  list-style: none;
  max-width: 520px;
  margin: 30px auto 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pain-points-list li {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--c-black);
  padding-left: 30px;
  position: relative;
}
.pain-points-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border: 1px solid var(--c-gold);
  border-radius: 50%;
}
.pain-points-list li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 10px;
  width: 7px;
  height: 4px;
  border-left: 1.5px solid var(--c-gold);
  border-bottom: 1.5px solid var(--c-gold);
  transform: rotate(-45deg);
}

/* ===================================================================
   Pricing cards (Servicios y tarifas)
=================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 44px 48px;
  margin-top: 56px;
}
.pricing-card {
  border-top: 1px solid rgba(17, 17, 17, 0.12);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
}
.pricing-card h3 { font-size: 1.32rem; margin-bottom: 10px; }
.pricing-card__price {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--c-gold-dark);
  margin: 0;
  line-height: 1;
}
.pricing-card__duration {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-gray);
  margin: 6px 0 22px;
}
.pricing-card__list { margin-bottom: 26px; flex-grow: 1; }
.pricing-card__list li {
  font-size: 0.95rem;
  color: var(--c-gray);
  line-height: 1.6;
  padding: 10px 0 10px 18px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.07);
  position: relative;
}
.pricing-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-gold);
}
.pricing-card .btn { align-self: flex-start; }

/* ===================================================================
   Contact
=================================================================== */
.contact-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 36px 0 28px;
}
.contact-email a {
  color: var(--c-gold-text);
  font-size: 1.05rem;
  border-bottom: 1px solid var(--c-gold);
  padding-bottom: 2px;
}
.contact-email a:hover { color: var(--c-gold-dark); }

/* ===================================================================
   Footer
=================================================================== */
.footer { background: var(--c-beige); padding: 40px 24px; }
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__logo { font-family: var(--font-display); font-size: 1.1rem; }
.footer__logo span { color: var(--c-gold); }
.footer__copy { color: var(--c-gray); font-size: 0.85rem; }
.footer__legal {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer__legal a {
  color: var(--c-gray);
  font-size: 0.85rem;
}
.footer__legal a:hover { color: var(--c-gold-text); }

/* ===================================================================
   Scroll reveal
=================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===================================================================
   Responsive
=================================================================== */
@media (max-width: 1024px) {
  .cards-grid, .sessions-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .navbar__nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 340px);
    background: var(--c-white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 0 44px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: -8px 0 40px rgba(17,17,17,0.08);
  }
  .navbar__nav.is-open { transform: translateX(0); }
  .navbar__cta { margin-left: 0; margin-top: 10px; }
  .navbar__burger { display: flex; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 240px; margin: 0 auto; }
  .hero { padding: 140px 24px 72px; text-align: left; }

  .section__inner--split { grid-template-columns: 1fr; gap: 28px; }

  .training-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 600px) {
  .cards-grid, .sessions-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .contact-actions { flex-direction: column; align-items: stretch; }
  .contact-actions .btn { width: 100%; }
}
