:root {
  --bg-obsidian: #020716;
  --bg-navy: #06112b;
  --bg-card: rgba(11, 24, 56, 0.8);
  --bg-card-hover: rgba(15, 33, 74, 0.92);
  --gold: #d2ae77;
  --gold-bright: #f0d3a2;
  --gold-dim: rgba(210, 174, 119, 0.25);
  --cyan: #38bdf8;
  --emerald: #34d399;
  --text-main: #f4efe6;
  --text-muted: #c2b9a7;
  --text-soft: #8d9ab3;
  --max-w: 1220px;
  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-luxury: 0 24px 60px rgba(0, 0, 0, 0.72), 0 0 38px rgba(210, 174, 119, 0.14);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-obsidian);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.62;
}

body {
  background:
    radial-gradient(circle at 14% 10%, rgba(210, 174, 119, 0.14) 0%, transparent 40%),
    radial-gradient(circle at 86% 22%, rgba(56, 189, 248, 0.08) 0%, transparent 45%),
    linear-gradient(180deg, #020716 0%, #06112b 48%, #020716 100%);
  overflow-x: hidden;
}

h1, h2, h3, h4, .serif {
  font-family: 'Libre Baskerville', Georgia, serif;
}

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

.container {
  width: min(var(--max-w), 100% - 2.5rem);
  margin-inline: auto;
}

/* Top Authority Strip */
.top-authority-bar {
  background: #01040d;
  border-bottom: 1px solid rgba(210, 174, 119, 0.2);
  padding: 0.5rem 1.25rem;
  font-size: 0.73rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--gold-bright);
  font-weight: 700;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
}

/* Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(2, 7, 22, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gold-dim);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.95rem;
  gap: 1.25rem;
}

.brand-signature {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.signature-monogram {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: grid;
  place-items: center;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-weight: 700;
  color: var(--gold-bright);
  background: rgba(210, 174, 119, 0.1);
  font-size: 0.95rem;
}

.signature-text {
  display: flex;
  flex-direction: column;
}

.signature-name {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--text-main);
  font-weight: 700;
}

.signature-role {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  font-size: 0.87rem;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--gold-bright);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.84rem 1.55rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: none;
}

.btn-gold {
  background: linear-gradient(135deg, #e7c690 0%, #c29758 100%);
  color: #020716;
  box-shadow: 0 12px 30px rgba(210, 174, 119, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(210, 174, 119, 0.46);
}

.btn-outline {
  background: rgba(210, 174, 119, 0.08);
  color: var(--gold-bright);
  border: 1px solid rgba(210, 174, 119, 0.45);
}

.btn-outline:hover {
  background: rgba(210, 174, 119, 0.16);
  transform: translateY(-2px);
}

/* Hero Speaker & Autobiography */
.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(210, 174, 119, 0.12);
  border: 1px solid rgba(210, 174, 119, 0.38);
  color: var(--gold-bright);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 4.3vw, 3.65rem);
  line-height: 1.13;
  margin-bottom: 1.15rem;
}

.hero h1 em {
  color: var(--gold);
  font-style: italic;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.45vw, 1.22rem);
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 60ch;
}

.hero-credentials-bar {
  padding: 0.95rem 1.2rem;
  background: rgba(11, 24, 56, 0.72);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 1.85rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  margin-bottom: 2.2rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--gold-dim);
}

.stat-box strong {
  display: block;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.65rem;
  color: var(--gold-bright);
  line-height: 1.15;
}

.stat-box span {
  font-size: 0.76rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-portrait-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 8px;
  background: linear-gradient(145deg, rgba(210, 174, 119, 0.55), rgba(6, 17, 43, 0.92));
  box-shadow: var(--shadow-luxury);
}

.hero-portrait-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius-xl) - 6px);
}

.portrait-caption {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  background: rgba(2, 7, 22, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.15rem;
}

.portrait-caption strong {
  display: block;
  color: var(--gold-bright);
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 0.95rem;
}

.portrait-caption span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Section Layout */
section {
  padding: 5rem 0;
}

.section-band {
  background: linear-gradient(180deg, rgba(10, 22, 52, 0.68) 0%, rgba(3, 9, 26, 0.92) 100%);
  border-block: 1px solid var(--gold-dim);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.2rem;
}

.section-eyebrow {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.section-header h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.7rem);
  line-height: 1.2;
  margin-bottom: 0.9rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.03rem;
}

/* La Tesis Manifesto (Inspired by Fernando Anzures) */
.thesis-box {
  max-width: 920px;
  margin-inline: auto;
  background: rgba(2, 7, 22, 0.88);
  border: 1px solid rgba(210, 174, 119, 0.42);
  border-radius: var(--radius-xl);
  padding: 3.2rem 3rem;
  box-shadow: var(--shadow-luxury);
}

.thesis-box h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1.4rem;
  color: var(--text-main);
}

.thesis-box p {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

.thesis-box blockquote {
  margin: 1.8rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--gold);
  background: rgba(210, 174, 119, 0.08);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.18rem;
  color: var(--gold-bright);
  font-style: italic;
}

/* Autobiography Timeline */
.timeline {
  position: relative;
  max-width: 960px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.timeline-step {
  display: grid;
  grid-template-columns: 185px 1fr;
  gap: 1.8rem;
  background: var(--bg-card);
  border: 1px solid rgba(210, 174, 119, 0.28);
  border-radius: var(--radius-lg);
  padding: 1.85rem 2rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.timeline-step:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}

.timeline-era {
  border-right: 1px solid rgba(210, 174, 119, 0.25);
  padding-right: 1.2rem;
}

.timeline-era strong {
  display: block;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.1rem;
  color: var(--gold-bright);
  margin-bottom: 0.3rem;
}

.timeline-era span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-soft);
}

.timeline-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.55rem;
  color: var(--text-main);
}

.timeline-content p {
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* 3 Ways to Work Together */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(210, 174, 119, 0.28);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card.primary {
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-luxury);
  background: linear-gradient(180deg, rgba(16, 35, 82, 0.92), rgba(7, 18, 46, 0.95));
}

.service-tag {
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.93rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.service-list {
  list-style: none;
  margin-bottom: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.88rem;
}

.service-list li::before {
  content: "✦ ";
  color: var(--gold);
}

/* 4 Keynotes Grid */
.keynotes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}

.keynote-card {
  background: var(--bg-card);
  border: 1px solid rgba(210, 174, 119, 0.26);
  border-radius: var(--radius-lg);
  padding: 2.1rem;
}

.keynote-num {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.keynote-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

.keynote-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.keynote-meta {
  font-size: 0.82rem;
  color: var(--gold-bright);
  padding-top: 0.85rem;
  border-top: 1px solid rgba(210, 174, 119, 0.18);
}

/* Book Showcase Section */
.book-spotlight {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 3.2rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--gold);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-luxury);
}

.book-spotlight img {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
  margin-inline: auto;
  border-radius: 10px;
  box-shadow: -14px 18px 40px rgba(0, 0, 0, 0.75);
}

/* Accordion FAQ */
.accordion {
  max-width: 860px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.accordion details {
  background: var(--bg-card);
  border: 1px solid rgba(210, 174, 119, 0.26);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.35rem;
}

.accordion summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.75ch;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-main);
  cursor: pointer;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::before {
  content: "";
  inline-size: 1em;
  block-size: 1em;
  flex-shrink: 0;
  background-color: var(--gold);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center / contain;
  rotate: -90deg;
}

.accordion summary:dir(rtl)::before {
  rotate: 90deg;
}

.accordion details[open] > summary::before {
  rotate: 0deg;
}

@media (prefers-reduced-motion: no-preference) {
  .accordion summary::before {
    transition: rotate 0.2s;
  }
}

.accordion details::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}

.accordion details:not([open])::details-content {
  block-size: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .accordion details::details-content {
    transition: block-size, content-visibility, display;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
    transition-behavior: allow-discrete;
  }
}

.faq-body {
  padding-top: 0.85rem;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Booking Dialog */
dialog#bookingDialog {
  margin: auto;
  width: min(640px, 92vw);
  background: #06112b;
  color: var(--text-main);
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85);
}

dialog#bookingDialog::backdrop {
  background-color: rgba(2, 7, 22, 0.8);
  backdrop-filter: blur(4px);
}

.form-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.form-field label {
  display: block;
  font-size: 0.82rem;
  color: var(--gold-bright);
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.78rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(210, 174, 119, 0.35);
  background: rgba(2, 7, 22, 0.9);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.92rem;
}

footer {
  border-top: 1px solid var(--gold-dim);
  padding: 3.5rem 0;
  background: #01040d;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.85rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .services-grid,
  .keynotes-grid,
  .book-spotlight,
  .timeline-step {
    grid-template-columns: 1fr;
  }
  .timeline-era {
    border-right: none;
    border-bottom: 1px solid rgba(210, 174, 119, 0.25);
    padding-right: 0;
    padding-bottom: 0.6rem;
  }
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links {
    display: none;
  }
  .thesis-box {
    padding: 2rem 1.5rem;
  }
}
