/* ============================================================
   COACHING ONTOLÓGICO APLICADO
   Hoja de estilos independiente
   ============================================================ */

/* ------------------------------
   1. VARIABLES EDITABLES
   ------------------------------ */
:root {
  --primary: #000000;
  --secondary: #ac3400;
  --secondary-light: #ffb59d;

  --surface: #fbf9f5;
  --surface-white: #ffffff;
  --surface-soft: #f5f3ef;
  --surface-medium: #eae8e4;
  --surface-dark: #e4e2de;

  --text: #1b1c1a;
  --text-soft: #45464d;
  --text-muted: #76777d;

  --max-width: 1280px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.10);

  --serif: "Playfair Display", Georgia, serif;
  --sans: "Plus Jakarta Sans", Arial, sans-serif;
}


/* ------------------------------
   2. RESET / BASE
   ------------------------------ */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--secondary);
  color: #fff;
}


/* ------------------------------
   3. LAYOUT
   ------------------------------ */
.container {
  width: min(var(--max-width), calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 80px 0;
}

.section-white {
  background: var(--surface-white);
}

.section-soft {
  background: #dccfba;
}


/* ------------------------------
   4. TIPOGRAFÍA
   ------------------------------ */
h1,
h2,
h3,
h4,
p,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  letter-spacing: -0.015em;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.4rem;
}

p {
  color: var(--text-soft);
}

.eyebrow {
  display: block;
  margin-bottom: 6px;
  color: var(--secondary);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--secondary-light);
}

.section-heading {
  margin-bottom: 48px;
}

.section-heading.centered {
  max-width: 980px;
  margin-inline: auto;
  text-align: center;
}

.section-heading.narrow {
  max-width: 720px;
}


/* ------------------------------
   5. BOTONES
   ------------------------------ */
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 0;
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-dark:hover {
  background: var(--secondary);
}

.btn-light {
  background: var(--surface-white);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.btn-full {
  width: 100%;
}

.material-symbols-outlined {
  font-size: 20px;
  line-height: 1;
}


/* ------------------------------
   6. HERO
   ------------------------------ */
.hero {
  padding-top: 48px;
  padding-bottom: 80px;
}

.hero-heading {
  max-width: 880px;
  margin: 0 auto 32px;
  text-align: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--surface-medium);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--secondary);
}

.hero-subtitle {
  max-width: 720px;
  margin: 0 auto 16px;
  color: var(--secondary);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  font-style: italic;
  line-height: 1.3;
}

.hero-lead {
  max-width: 680px;
  margin: 0 auto 24px;
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  justify-content: center;
}

.hero-image {
  position: relative;
  width: 100%;
  max-height: 500px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.12) 65%, transparent);
}

.floating-quote {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: flex;
  max-width: 540px;
  gap: 12px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(251, 249, 245, 0.93);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}

.quote-icon {
  flex: 0 0 auto;
  color: var(--secondary);
  font-size: 28px;
}

.floating-quote p {
  margin-bottom: 4px;
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.35;
}

.floating-quote span {
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}


/* ------------------------------
   7. ESENCIA / TRIADA
   ------------------------------ */
.intro-copy {
  margin-top: 28px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  text-align: left;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.triad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 auto 48px;
  max-width: 1000px;
}

.triad-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--surface);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.triad-card .material-symbols-outlined {
  margin-bottom: 10px;
  color: var(--secondary);
  font-size: 28px;
}

.triad-card h3 {
  font-size: 1.25rem;
}

.triad-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.manifesto {
  max-width: 980px;
  margin: 0 auto;
  padding: 48px;
  border-radius: var(--radius-xl);
  background: var(--primary);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.manifesto blockquote {
  max-width: 820px;
  margin: 0 auto;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.3vw, 1.5rem);
  font-style: italic;
  line-height: 1.6;
}


/* ------------------------------
   8. OBJETIVOS
   ------------------------------ */
.section-cta {
  display: flex;
  justify-content: center;
  margin-bottom: 0px;
}

.goals-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--surface-white);
  box-shadow: var(--shadow-sm);
}

.goal-card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
}

.goal-number {
  display: block;
  margin-bottom: 4px;
  color: rgba(172, 52, 0, 0.30);
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.goal-card h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.goal-card p {
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.goal-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--secondary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.goal-tag .material-symbols-outlined {
  font-size: 18px;
}

.goal-card-wide {
  grid-column: 1 / -1;
  min-height: auto;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}


/* ------------------------------
   9. COMPETENCIAS
   ------------------------------ */
.competencies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.competency-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--surface-white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.competency-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.competency-number {
  display: flex;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--surface-medium);
  color: var(--secondary);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
}

.card-title {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}

.card-title .material-symbols-outlined {
  color: var(--secondary);
  font-size: 20px;
}

.card-title h3 {
  margin-bottom: 0;
  font-size: 1.05rem;
}

.competency-card p {
  margin-bottom: 0;
  font-size: 0.86rem;
}


/* ------------------------------
   10. MÓDULOS
   ------------------------------ */
.module-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.info-pill {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface-medium);
  font-size: 0.72rem;
  font-weight: 700;
}

.info-pill .material-symbols-outlined {
  color: var(--secondary);
}

.module-card {
  margin-bottom: 24px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--surface-white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

.module-card:last-child {
  margin-bottom: 0;
}

.module-card:hover {
  box-shadow: var(--shadow-md);
}

.module-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.module-labels {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.module-number {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--surface-medium);
  color: var(--secondary);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.module-top h3 {
  margin-bottom: 0;
  font-size: 1.5rem;
}

.phase {
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--surface-soft);
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}

.module-description {
  margin-bottom: 20px;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.topic {
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.topic > .material-symbols-outlined {
  margin-top: 2px;
  flex: 0 0 auto;
  color: var(--secondary);
  font-size: 18px;
}

.topic strong,
.topic span:last-child {
  display: block;
}

.topic strong {
  margin-bottom: 2px;
  color: var(--secondary);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.topic span:last-child {
  color: var(--text);
  font-size: 0.84rem;
  line-height: 1.45;
}


/* ------------------------------
   11. FACILITADOR
   ------------------------------ */
.facilitator-card {
  display: grid;
  grid-template-columns: 5fr 7fr;
  align-items: center;
  gap: 48px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--surface-white);
  box-shadow: var(--shadow-md);
}

.facilitator-photo {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 1 / 1;
  margin: auto;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.facilitator-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facilitator-photo span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 7px 12px;
  border-radius: 8px;
  background: rgba(251, 249, 245, 0.92);
  color: var(--secondary);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.facilitator-info h2 {
  margin-bottom: 4px;
}

.credential {
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}

.badges span {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-medium);
  color: var(--text);
  font-size: 0.7rem;
  font-weight: 600;
}

.facilitator-quote {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.6;
}


/* ------------------------------
   12. INVERSIÓN
   ------------------------------ */
.pricing-card {
  width: min(760px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface-white);
  box-shadow: var(--shadow-lg);
}

.pricing-banner {
  padding: 8px 16px;
  background: var(--secondary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.pricing-body {
  padding: 32px;
}

.pricing-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 24px;
}

.pricing-header h3 {
  margin-bottom: 0;
  font-size: 1.45rem;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex: 0 0 auto;
}

.price strong {
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  line-height: 1;
}

.price span {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.included {
  margin-bottom: 32px;
}

.included h4 {
  margin-bottom: 16px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.included-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.included-item .material-symbols-outlined {
  margin-top: 2px;
  flex: 0 0 auto;
  color: var(--secondary);
}

.included-item p {
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
}


/* ------------------------------
   13. FAQ
   ------------------------------ */
.faq-list {
  width: min(900px, 100%);
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid var(--surface-dark);
  border-radius: var(--radius-md);
  background: var(--surface-white);
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: left;
}

.faq-question .material-symbols-outlined {
  color: var(--secondary);
  transition: transform 0.2s ease;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.faq-answer p {
  overflow: hidden;
  margin: 0;
  padding: 0 20px;
  font-size: 0.9rem;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-answer p {
  padding-bottom: 20px;
}

.faq-item.open .faq-question .material-symbols-outlined {
  transform: rotate(180deg);
}


/* ------------------------------
   14. CIERRE
   ------------------------------ */
.final-section {
  padding-top: 0;
}

.final-banner {
  position: relative;
  overflow: hidden;
  padding: 64px 32px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--surface-medium), var(--surface-soft));
  box-shadow: var(--shadow-md);
  text-align: center;
}

.final-banner > * {
  position: relative;
  z-index: 1;
}

.final-banner h2 {
  max-width: 760px;
  margin: 0 auto 16px;
}

.final-banner p {
  max-width: 760px;
  margin: 0 auto 24px;
  font-size: 1.05rem;
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}


/* ------------------------------
   15. FOOTER
   ------------------------------ */
.footer {
  background: #e4e4e4;
  padding: 60px 0 20px;
  font-size: 14px;
  color: #555;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col h4 {
  margin-bottom: 15px;
  font-size: 14px;
  color: #000;
}

.footer-col a {
  display: block;
  margin-bottom: 8px;
  text-decoration: none;
  color: #666;
  transition: 0.3s;
}

.footer-col a:hover {
  color: #d4af37;
}

.footer-logo {
  width: 120px;
}

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

.social img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  margin-right: 10px;
  transition: 0.3s;
}

.social img:hover {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 12px;
  color: #999;
}

@media(max-width:768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social {
    justify-content: center;
  }
}

/* RESPONSIVE */
@media(max-width:768px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .cards {
    flex-direction: column;
  }

  h1 {
    font-size: 30px;
  }
}


/* ============================================================
   16. RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 900px) {

  .section {
    padding: 64px 0;
  }

  .triad-grid {
    grid-template-columns: 1fr;
  }

  .goals-box {
    grid-template-columns: repeat(2, 1fr);
  }

  .goal-card-wide {
    grid-column: 1 / -1;
  }

  .competencies-grid {
    grid-template-columns: 1fr;
  }

  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .facilitator-card {
    grid-template-columns: 1fr;
  }

  .facilitator-photo {
    width: min(100%, 340px);
  }

  .module-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* ============================================================
   17. RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 600px) {

  .container {
    width: min(100% - 32px, var(--max-width));
  }

  .section {
    padding: 48px 0;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 48px;
  }

  .eyebrow-pill {
    max-width: 100%;
    justify-content: center;
    padding-inline: 12px;
    font-size: 0.62rem;
    line-height: 1.4;
    text-align: center;
  }

  .hero-lead {
    font-size: 0.92rem;
  }

  .hero-image {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
  }

  .floating-quote {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-width: none;
    padding: 12px;
  }

  .floating-quote p {
    font-size: 0.95rem;
  }

  .floating-quote span {
    font-size: 0.58rem;
  }

  .quote-icon {
    font-size: 22px;
  }

  .intro-copy {
    padding: 18px;
  }

  .manifesto {
    padding: 32px 20px;
    border-radius: 16px;
  }

  .manifesto blockquote {
    font-size: 1.05rem;
  }

  .section-cta {
    margin-bottom: 32px;
  }

  .goals-box {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px;
  }

  .goal-card {
    min-height: auto;
  }

  .goal-card-wide {
    grid-column: auto;
  }

  .competency-card {
    padding: 18px;
  }

  .module-card {
    padding: 20px;
  }

  .module-top {
    flex-direction: column;
    gap: 12px;
  }

  .phase {
    white-space: normal;
  }

  .topics-grid {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .facilitator-card {
    padding: 20px;
    gap: 28px;
  }

  .badges {
    margin: 18px 0;
  }

  .pricing-body {
    padding: 20px;
  }

  .pricing-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .price strong {
    font-size: 2.8rem;
  }

  .final-banner {
    padding: 48px 20px;
  }

  .final-actions {
    flex-direction: column;
  }

  .final-actions .btn {
    width: 100%;
  }

  .footer {
    padding: 52px 0;
  }

  .footer-quote blockquote {
    font-size: 1.1rem;
  }

}


/* ============================================================
   18. REDUCCIÓN DE MOVIMIENTO
   ============================================================ */
@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

}
