/* ============================================================
   RB MENTORING — Página web
   Alineado al Manual de Marca v1.1 + One Pager V3 (mayo 2026)
   Color identidad: #1CAAB0 · Cormorant Garamond + DM Sans
   Mobile-first · breakpoint de colapso 900px
   ============================================================ */
:root {
  /* Teal */
  --teal: #1CAAB0;
  --teal-dark: #147880;
  --teal-light: #3EC8CE;
  --teal-mid: #A8E0E3;
  --teal-pale: #E6F7F8;
  /* Neutros */
  --black: #0D0E0E;
  --dark: #1C1E1E;
  --gray-dark: #3A3C3C;
  --gray-mid: #7A7C7A;
  --gray-light: #C8CAC8;
  --gray-pale: #F0F2F0;
  --parchment: #F5F5F3;
  --white: #FAFBFA;
  /* Tipografía */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --mono: 'DM Mono', monospace;
  /* Espaciado (Apple-influenced) */
  --sp-xxs: 4px;
  --sp-xs: 8px;
  --sp-sm: 12px;
  --sp-md: 24px;
  --sp-lg: 40px;
  --sp-xl: 64px;
  --sp-xxl: 96px;
  --sp-sec: 128px;
  /* Radios */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-pill: 9999px;
  --section-pad: clamp(4rem, 10vw, 7rem);
  --max-width: 1080px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--gray-dark);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ── HEADER / NAV ──────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 14, 14, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo-link { display: inline-flex; align-items: center; }
.logo-img { height: 48px; width: auto; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); }
.nav a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--teal); }
.nav .nav-cta {
  /* Estilo onepager: radius 10px, 13px / 600 / 0.04em, padding 12×22 */
  color: var(--black);
  background: var(--teal);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 12px 22px;
  border-radius: 10px;
  transition: background 0.2s ease, filter 0.2s ease;
}
.nav .nav-cta:hover { background: var(--teal); filter: brightness(1.08); color: var(--black); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: #fff;
  transition: 0.3s ease;
}

/* ── BOTONES (estilo onepager — radius 10px, no pill) ──── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 15px 22px;
  min-height: 48px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, filter 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }

/* Primario · fondo claro */
.btn-primary { background: var(--teal); color: var(--black); }
.btn-primary:hover { background: var(--teal); color: var(--black); filter: brightness(1.08); }

/* Secundario · borde teal sobre claro */
.btn-secondary {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
  padding: 13.5px 20.5px;
}
.btn-secondary:hover { background: var(--teal-pale); }

/* Ghost · parchment sobre claro */
.btn-ghost {
  background: var(--parchment);
  color: var(--dark);
  font-size: 12px;
  padding: 11px 18px;
  min-height: 0;
}
.btn-ghost:hover { background: var(--gray-pale); }

/* Dark primario · fondo oscuro */
.btn-dark { background: #fff; color: var(--black); }
.btn-dark:hover { background: var(--parchment); }

/* Dark secundario · borde blanco sobre oscuro */
.btn-dark-secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  padding: 13.5px 20.5px;
}
.btn-dark-secondary:hover { border-color: #fff; }

/* ── EYEBROW · etiqueta de sección ─────────────────────── */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.5rem;
  color: var(--teal);
}
.eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
}
.eyebrow-dark { color: var(--teal); }
.eyebrow-light { color: rgba(255, 255, 255, 0.35); }
.eyebrow-light::before { background: rgba(255, 255, 255, 0.2); }

/* ── HERO ──────────────────────────────────────────────── */
.hero {
  background: var(--black);
  color: #fff;
  padding-block: clamp(4.5rem, 12vw, 8rem);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -160px;
  width: 560px; height: 560px;
  background: radial-gradient(ellipse, rgba(28, 170, 176, 0.16) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; }

/* Hero-nav row (patrón onepager): logo grande izq + label der */
.hero-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.hero-logo-big {
  height: clamp(64px, 11vw, 96px);
  width: auto;
}
.hero-nav-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-align: right;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
}
.hero-title em {
  font-style: italic;
  color: var(--teal);
  font-weight: 400;
}
.hero-divider {
  display: block;
  width: 48px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 2rem 0;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.18rem);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 60ch;
}
.hero-sub strong { color: rgba(255, 255, 255, 0.88); font-weight: 500; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* ── CONVICCIÓN (sección teal completa) ────────────────── */
.conviction-section {
  background: var(--teal);
  padding-block: clamp(3rem, 7vw, 5rem);
}
.conviction-text {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 3vw, 1.85rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--black);
  border-left: 3px solid rgba(0, 0, 0, 0.2);
  padding-left: 1.5rem;
  max-width: 64ch;
}
.conviction-author {
  margin-top: 1.25rem;
  padding-left: 1.5rem;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.45);
}

/* ── SECCIONES ─────────────────────────────────────────── */
.section { padding-block: var(--section-pad); }
.section-white { background: var(--white); }
.section-parchment { background: var(--parchment); }
.section-dark { background: var(--dark); color: #fff; }
.section-black { background: var(--black); color: #fff; }

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.018em;
  color: var(--black);
}
.section-title-light { color: #fff; }
.section-lead,
.approach-intro {
  margin-top: 1rem;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--gray-mid);
  max-width: 60ch;
}
.section-lead strong,
.approach-intro strong { color: var(--black); font-weight: 500; }
.section-dark .section-lead,
.section-black .section-lead { color: rgba(255, 255, 255, 0.55); }
.section-dark .section-lead strong,
.section-black .section-lead strong { color: rgba(255, 255, 255, 0.85); }

/* ── PROMESA / BENEFICIO ESPERADO ──────────────────────── */
.promise-block {
  border-left: 3px solid var(--teal);
  padding-left: 1.75rem;
  max-width: 64ch;
}
.promise-main {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #fff;
}
.promise-main em { font-style: italic; color: var(--teal); }
.promise-note {
  margin-top: 1.25rem;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
}

/* ── APPROACH · pilares ────────────────────────────────── */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--gray-light);
  margin-top: 2.5rem;
}
.pillar {
  background: var(--white);
  padding: 2rem 1.75rem;
}
.pillar-bar {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--teal);
  margin-bottom: 1.25rem;
}
.pillar-num {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}
.pillar-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 0.6rem;
}
.pillar-text {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--gray-mid);
}
.approach-close {
  margin-top: 2.5rem;
  padding: 1.4rem 1.75rem;
  background: var(--black);
  border-radius: var(--r-sm);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}
.approach-close em {
  color: var(--teal);
  font-style: normal;
  font-weight: 600;
}

/* ── QUIÉN SOY ─────────────────────────────────────────── */
.bio-text {
  margin-top: 1.5rem;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.6);
  max-width: 70ch;
}
.bio-text strong { color: rgba(255, 255, 255, 0.92); font-weight: 500; }
.bio-text p + p { margin-top: 1rem; }

/* ── CÓMO TRABAJO ──────────────────────────────────────── */
.how-items { margin-top: 2.5rem; max-width: 70ch; }
.how-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--gray-pale);
}
.how-item:first-child { border-top: 1px solid var(--gray-pale); }
.how-n {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  color: var(--teal);
  min-width: 2.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.how-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 0.35rem;
}
.how-desc {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--gray-mid);
}

/* ── CTA + CONTACTO ────────────────────────────────────── */
.cta-section {
  background: var(--black);
  color: #fff;
  padding-block: var(--section-pad);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  bottom: -120px; left: -80px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(28, 170, 176, 0.1) 0%, transparent 68%);
  pointer-events: none;
}
.cta-section > .container { position: relative; }
.cta-headline {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #fff;
  margin-bottom: 0.75rem;
}
.cta-headline em { font-style: italic; color: var(--teal); }
.cta-sub {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.5);
  max-width: 48ch;
  margin-bottom: 2.5rem;
}

/* 3 botones de contacto · respetan el sistema pill del manual */
.cta-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 3rem;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 15px 20px;
  min-height: 48px;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--black);
  transition: transform 0.15s ease, filter 0.2s ease;
}
.cta-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.cta-btn svg { flex-shrink: 0; }
.cta-btn-wa { background: var(--teal); color: var(--black); }
.cta-btn-mail { background: var(--teal-dark); color: #fff; }
.cta-btn-li { background: var(--teal-light); color: var(--black); }

/* Formulario debajo (respaldo) */
.cta-form-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2.5rem;
  max-width: 560px;
}
.cta-form-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1.25rem;
}
.contact-form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}
.field input,
.field textarea {
  font: inherit;
  font-size: 15px;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(255, 255, 255, 0.3); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(28, 170, 176, 0.18);
}
.field input.invalid,
.field textarea.invalid { border-color: #E05A40; }
.contact-form .btn { justify-self: start; }
.form-feedback { font-size: 14px; min-height: 1.2em; }
.form-feedback.success { color: var(--teal-light); }
.form-feedback.error { color: #E05A40; }

/* ── FOOTER ────────────────────────────────────────────── */
.site-footer {
  background: var(--black);
  padding-block: var(--sp-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-logo { height: clamp(64px, 10vw, 88px); width: auto; }
.footer-tag {
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  flex: 1;
  text-align: center;
}
.footer-meta {
  text-align: right;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
}
.footer-meta a { color: rgba(28, 170, 176, 0.8); }
.footer-meta a:hover { color: var(--teal); }

/* ── RESPONSIVE (colapso 900px) ─────────────────────────── */
@media (max-width: 900px) {
  .nav {
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(13, 14, 14, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.5rem 1.5rem 1.25rem;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 0.85rem 0; }
  .nav .nav-cta { text-align: center; margin-top: 0.5rem; padding: 12px 24px; }
  .nav-toggle { display: flex; }

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

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-tag { text-align: left; }
  .footer-meta { text-align: left; }

  /* Botones a ancho completo SOLO en móvil */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn,
  .contact-form .btn,
  .cta-btn { width: 100%; text-align: center; }
}
