/*
  Santuario ritual editorial — estilos de la página principal.
  Dirección: carbón, cacao, ámbar de vela y destellos de color textil.
  La interfaz debe sentirse ceremonial, cálida y directa; nunca debe prometer resultados.
*/

:root {
  --ink: #171011;
  --ink-soft: #261719;
  --paper: #efe5d5;
  --paper-deep: #ded0ba;
  --paper-muted: #bbaa93;
  --amber: #e2a83b;
  --amber-light: #f5c86a;
  --red: #b94835;
  --blue: #2d72a9;
  --green: #3f8a71;
  --magenta: #9d4770;
  --white: #fbf6ed;
  --line-dark: rgba(239, 229, 213, 0.22);
  --line-light: rgba(23, 16, 17, 0.16);
  --shadow: 0 22px 60px rgba(17, 9, 8, 0.28);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
::selection { background: var(--amber); color: var(--ink); }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: -4rem;
  padding: 0.7rem 1rem;
  color: var(--ink);
  background: var(--amber-light);
  transition: top 180ms var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.page-shell {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
}
.section-dark { color: var(--white); background: var(--ink); }
.section-paper { color: var(--ink); background: var(--paper); }
.section-paper-dark { color: var(--ink); background: var(--paper-deep); }
.section-ink { color: var(--white); background: var(--ink-soft); }
.section-amber { color: var(--ink); background: var(--amber); }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  color: var(--white);
  background: rgba(20, 12, 13, 0.78);
  border-bottom: 1px solid rgba(245, 200, 106, 0.17);
  backdrop-filter: blur(18px);
  transition: background 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
.site-header.is-scrolled { background: rgba(20, 12, 13, 0.96); border-color: rgba(245, 200, 106, 0.35); }
.header-inner { width: min(1280px, calc(100% - 3rem)); min-height: 84px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; letter-spacing: -0.02em; }
.brand-mark { width: 42px; height: 42px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-kicker { color: var(--amber-light); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.19em; text-transform: uppercase; }
.brand-copy strong { font-family: Georgia, 'Times New Roman', serif; font-size: 1.12rem; font-weight: 500; }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.nav-link { position: relative; color: rgba(251, 246, 237, 0.72); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; transition: color 180ms ease; }
.nav-link::after { content: ''; position: absolute; right: 0; bottom: -0.45rem; left: 0; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 180ms var(--ease-out); }
.nav-link:hover, .nav-link.is-active { color: var(--white); }
.nav-link.is-active::after, .nav-link:hover::after { transform: scaleX(1); }
.nav-cta { display: inline-flex; align-items: center; min-height: 42px; padding: 0 1.1rem; color: var(--ink); background: var(--amber); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; transition: background 180ms ease, transform 180ms var(--ease-out); }
.nav-cta:hover { background: var(--amber-light); transform: translateY(-2px); }
.menu-toggle { display: none; border: 0; color: var(--white); background: transparent; cursor: pointer; }
.menu-icon { display: grid; gap: 6px; width: 26px; margin-left: 0.7rem; }
.menu-icon i { display: block; height: 1px; background: currentColor; transition: transform 180ms ease; }

.hero { position: relative; min-height: 760px; isolation: isolate; overflow: hidden; }
.hero-image-wrap { position: absolute; z-index: -2; inset: 0 0 0 35%; overflow: hidden; }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.88; filter: saturate(0.9) contrast(1.08); }
.hero-image-shade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(23, 16, 17, 0.94) 25%, rgba(23, 16, 17, 0.38) 64%, rgba(23, 16, 17, 0.22) 100%), linear-gradient(0deg, rgba(23, 16, 17, 0.66), transparent 38%); }
.hero-glow { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; filter: blur(12px); }
.hero-glow-one { top: 14%; left: -12rem; width: 28rem; height: 28rem; background: rgba(185, 72, 53, 0.18); }
.hero-glow-two { right: -10rem; bottom: -14rem; width: 32rem; height: 32rem; background: rgba(226, 168, 59, 0.2); }
.hero-content { position: relative; padding-top: 13.6rem; padding-bottom: 9rem; }
.eyebrow { display: flex; align-items: center; gap: 0.8rem; margin: 0 0 1.65rem; color: var(--amber-light); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; }
.eyebrow span { color: var(--amber); font-family: Georgia, 'Times New Roman', serif; font-size: 1rem; letter-spacing: 0; }
.eyebrow-dark { color: #765b3c; }
.eyebrow-dark span { color: var(--red); }
h1, h2, h3, p, blockquote, figure { margin-top: 0; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -0.065em; line-height: 0.92; }
h1 { max-width: 740px; margin-bottom: 2rem; font-size: clamp(4.9rem, 11vw, 9.6rem); }
h1 em, h2 em { color: var(--amber-light); font-style: italic; }
h2 { margin-bottom: 2rem; font-size: clamp(3.1rem, 7vw, 6.2rem); }
.hero-lede { max-width: 500px; margin-bottom: 2.4rem; color: rgba(251, 246, 237, 0.8); font-size: 1.12rem; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.4rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1.15rem; min-height: 52px; padding: 0.85rem 1.3rem; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; transition: transform 180ms var(--ease-out), background 180ms ease, color 180ms ease; }
.button:active, .nav-cta:active { transform: scale(0.97); }
.button-primary { color: var(--ink); background: var(--amber); }
.button-primary:hover { background: var(--amber-light); transform: translateY(-3px); }
.button-dark { color: var(--amber-light); background: var(--ink); }
.button-dark:hover { color: var(--white); background: var(--ink-soft); transform: translateY(-3px); }
.light-link, .text-link { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.text-link { display: inline-flex; align-items: center; gap: 0.65rem; }
.light-link { color: var(--white); }
.light-link:hover { color: var(--amber-light); }
.hero-index { position: absolute; right: 0; bottom: 4rem; display: flex; align-items: center; gap: 0.8rem; color: rgba(251, 246, 237, 0.5); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; }
.hero-index-line { display: block; width: 64px; height: 1px; background: var(--amber); }
.hero-scroll { position: absolute; right: 1.5rem; bottom: 2rem; display: flex; align-items: center; gap: 0.75rem; color: rgba(251, 246, 237, 0.55); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.17em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero-scroll i { width: 1px; height: 50px; background: var(--amber); }

.intro { padding: 9rem 0 10rem; }
.intro-grid, .channels-grid { display: grid; grid-template-columns: 112px minmax(0, 1.05fr) minmax(260px, 0.75fr); gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.section-index { display: flex; align-items: center; gap: 1rem; padding-top: 0.5rem; color: #765b3c; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; writing-mode: vertical-rl; }
.index-number { color: var(--red); font-family: Georgia, 'Times New Roman', serif; font-size: 1.6rem; letter-spacing: 0; }
.index-rule { width: 1px; height: 96px; background: var(--red); }
.index-label { opacity: 0.75; }
.intro-copy h2, .channels-main h2 { color: var(--ink); }
.intro-copy h2 em, .channels-main h2 em { color: var(--red); }
.lead-paragraph { max-width: 560px; color: #493b36; font-size: 1.22rem; line-height: 1.55; }
.intro-copy > p:not(.eyebrow) { max-width: 560px; color: #695a4e; }
.inline-link { display: inline-flex; align-items: center; gap: 0.7rem; margin-top: 1rem; color: var(--red); border-bottom: 1px solid var(--red); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; transition: gap 180ms ease; }
.inline-link:hover { gap: 1rem; }
.portrait-card { position: relative; margin: 0; padding: 0 0 1.3rem 1.3rem; }
.portrait-card::before { position: absolute; z-index: 0; top: 1.3rem; right: 0; bottom: 0; left: 0; content: ''; background: var(--red); }
.portrait-card img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: sepia(0.12) saturate(0.88); }
.portrait-card figcaption { position: relative; z-index: 1; display: grid; gap: 0.3rem; padding: 1.1rem 0 0 0.2rem; color: var(--ink); }
.portrait-card figcaption span { color: #765b3c; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.portrait-card figcaption strong { font-family: Georgia, 'Times New Roman', serif; font-size: 1.5rem; font-weight: 400; }

.statement { padding: 8rem 0 8.5rem; }
.statement-inner { position: relative; max-width: 940px; text-align: center; }
.quote-mark { display: block; color: var(--amber); font-family: Georgia, 'Times New Roman', serif; font-size: 8rem; line-height: 0.45; }
.statement blockquote { margin: 0 auto 1.4rem; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.2rem, 5vw, 4.6rem); letter-spacing: -0.05em; line-height: 1.02; }
.statement-note, .small-note { color: rgba(251, 246, 237, 0.55); font-size: 0.75rem; letter-spacing: 0.03em; }

.services { padding: 8rem 0 9rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 4rem; }
.section-heading h2 { margin-bottom: 0; }
.section-heading h2 em { color: var(--red); }
.section-heading-note { max-width: 340px; margin-bottom: 0.2rem; color: #695a4e; font-size: 0.92rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-light); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.service-card { position: relative; min-height: 360px; padding: 2rem 2rem 2.3rem; background: rgba(239, 229, 213, 0.45); transition: background 220ms var(--ease-out), transform 220ms var(--ease-out); }
.service-card:hover { z-index: 1; background: rgba(251, 246, 237, 0.7); transform: translateY(-7px); }
.service-card-accent { background: var(--ink); color: var(--white); }
.service-card-accent:hover { background: var(--ink-soft); }
.service-number { color: var(--red); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.16em; }
.service-icon { margin: 3.7rem 0 1.5rem; color: var(--red); font-family: Georgia, 'Times New Roman', serif; font-size: 2.35rem; line-height: 1; }
.service-card-accent .service-icon, .service-card-accent .service-number { color: var(--amber-light); }
.service-card h3 { margin-bottom: 0.8rem; font-family: Georgia, 'Times New Roman', serif; font-size: 2rem; font-weight: 400; letter-spacing: -0.05em; line-height: 1; }
.service-card p { max-width: 290px; min-height: 76px; margin-bottom: 2.2rem; color: #695a4e; font-size: 0.93rem; }
.service-card-accent p { color: rgba(251, 246, 237, 0.65); }
.card-link { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--red); border-bottom: 1px solid currentColor; font-size: 0.69rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.service-card-accent .card-link { color: var(--amber-light); }
.card-link:hover { gap: 0.9rem; }

.practice { position: relative; min-height: 650px; isolation: isolate; overflow: hidden; }
.practice-image-wrap { position: absolute; z-index: -2; inset: 0 0 0 44%; overflow: hidden; }
.practice-image-wrap img { width: 100%; height: 100%; object-fit: cover; opacity: 0.65; filter: saturate(0.7) contrast(1.1); }
.practice-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 2%, rgba(23, 16, 17, 0.96) 26%, rgba(23, 16, 17, 0.47) 100%); }
.practice-content { padding-top: 9.5rem; padding-bottom: 9rem; }
.practice h2 { max-width: 620px; }
.practice h2 em { color: var(--amber-light); }
.practice-content > p:not(.eyebrow):not(.small-note) { max-width: 450px; color: rgba(251, 246, 237, 0.76); font-size: 1.06rem; }
.practice-line { width: 86px; height: 2px; margin: 2.2rem 0 1.4rem; background: var(--amber); }

.channels { padding: 9rem 0; }
.channels-grid { grid-template-columns: 112px minmax(0, 1fr) minmax(180px, 0.5fr); }
.channels-main h2 em { color: var(--red); }
.channel-list { margin-top: 3rem; border-top: 1px solid var(--line-light); }
.channel-row { display: grid; grid-template-columns: 90px 1fr 26px; align-items: center; gap: 1.5rem; min-height: 72px; border-bottom: 1px solid var(--line-light); transition: padding 180ms var(--ease-out), background 180ms ease; }
.channel-row:hover { padding: 0 0.8rem; background: rgba(255, 255, 255, 0.22); }
.channel-type { color: #765b3c; font-size: 0.63rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.channel-row strong { font-family: Georgia, 'Times New Roman', serif; font-size: 1.55rem; font-weight: 400; letter-spacing: -0.04em; }
.channel-arrow { color: var(--red); font-size: 1.3rem; }
.seal-card { display: grid; justify-items: center; gap: 1.4rem; align-content: center; min-height: 310px; color: var(--white); background: var(--ink); text-align: center; }
.seal-card img { width: 112px; height: 112px; }
.seal-card p { margin: 0; color: var(--amber-light); font-family: Georgia, 'Times New Roman', serif; font-size: 1.4rem; font-style: italic; line-height: 1.15; }

.contact { padding: 6rem 0; }
.contact-inner { display: grid; grid-template-columns: 1.25fr 0.75fr; align-items: center; gap: 4rem; }
.contact h2 { margin: 0; font-size: clamp(3.3rem, 7vw, 6.7rem); }
.contact h2 em { color: var(--ink); }
.contact-action { padding-left: 2rem; border-left: 1px solid rgba(23, 16, 17, 0.3); }
.contact-action p { max-width: 330px; margin-bottom: 1.7rem; color: rgba(23, 16, 17, 0.7); }

.sources { padding: 7rem 0 6rem; }
.sources-inner { max-width: 960px; }
.sources h2 { margin-bottom: 3rem; color: var(--ink); font-size: clamp(2.7rem, 5vw, 4.4rem); }
.source-list { border-top: 1px solid var(--line-light); }
.source-list a { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 1rem; min-height: 76px; border-bottom: 1px solid var(--line-light); transition: padding 180ms var(--ease-out), background 180ms ease; }
.source-list a:hover { padding: 0 0.8rem; background: rgba(255, 255, 255, 0.25); }
.source-list span { color: var(--red); font-family: Georgia, 'Times New Roman', serif; }
.source-list strong { font-family: Georgia, 'Times New Roman', serif; font-size: 1.25rem; font-weight: 400; }
.source-list em { color: #765b3c; font-size: 0.75rem; font-style: normal; }
.source-disclaimer { max-width: 680px; margin: 2rem 0 0; color: #695a4e; font-size: 0.8rem; }

.site-footer { color: rgba(251, 246, 237, 0.62); background: var(--ink); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 105px; }
.footer-brand { color: var(--white); }
.footer-brand span { font-family: Georgia, 'Times New Roman', serif; font-size: 1.05rem; }
.footer-inner p, .footer-year { margin: 0; font-size: 0.71rem; letter-spacing: 0.08em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero-image-wrap { inset: 0; }
  .hero-image-shade { background: linear-gradient(90deg, rgba(23, 16, 17, 0.96), rgba(23, 16, 17, 0.5) 75%), linear-gradient(0deg, rgba(23, 16, 17, 0.75), transparent 55%); }
  .intro-grid, .channels-grid { grid-template-columns: 72px minmax(0, 1fr) minmax(220px, 0.65fr); gap: 2rem; }
  .service-card { padding-right: 1.4rem; padding-left: 1.4rem; }
  .channel-row strong { font-size: 1.22rem; }
}

@media (max-width: 720px) {
  .page-shell, .header-inner { width: min(100% - 2rem, 560px); }
  .site-header { z-index: 30; }
  .header-inner { min-height: 72px; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .site-nav { position: fixed; top: 72px; right: 0; bottom: 0; left: 0; display: grid; align-content: start; gap: 0; padding: 2rem 1rem; background: rgba(20, 12, 13, 0.98); transform: translateX(100%); transition: transform 260ms var(--ease-out); }
  .site-nav.is-open { transform: translateX(0); }
  .nav-link { padding: 1rem 0; border-bottom: 1px solid rgba(239, 229, 213, 0.18); font-size: 0.92rem; }
  .nav-link::after { display: none; }
  .nav-cta { justify-content: center; margin-top: 1.5rem; }
  .menu-toggle[aria-expanded="true"] .menu-icon i:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .hero { min-height: 700px; }
  .hero-content { padding-top: 11.5rem; padding-bottom: 7rem; }
  h1 { max-width: 420px; font-size: clamp(4.2rem, 18vw, 6.8rem); }
  .hero-lede { max-width: 420px; font-size: 1rem; }
  .hero-index { display: none; }
  .hero-scroll { right: 0.8rem; }
  .intro, .channels { padding: 6.5rem 0; }
  .intro-grid, .channels-grid, .contact-inner { display: block; }
  .section-index { display: flex; flex-direction: row; writing-mode: initial; margin-bottom: 2.8rem; }
  .index-rule { width: 58px; height: 1px; }
  .intro-copy h2, .channels-main h2 { font-size: clamp(3rem, 13vw, 4.5rem); }
  .portrait-card { width: min(100%, 330px); margin: 4rem 0 0 auto; }
  .statement { padding: 6rem 0; }
  .statement blockquote { font-size: clamp(2.2rem, 9vw, 3.4rem); }
  .services { padding: 6.5rem 0; }
  .section-heading { display: block; margin-bottom: 3rem; }
  .section-heading h2 { margin-bottom: 1.7rem; }
  .section-heading-note { max-width: 480px; }
  .service-grid { display: block; }
  .service-card { min-height: 0; padding: 1.8rem 1.6rem 2.2rem; border-bottom: 1px solid var(--line-light); }
  .service-card:last-child { border-bottom: 0; }
  .service-icon { margin-top: 2.5rem; }
  .service-card p { min-height: 0; }
  .practice { min-height: 720px; }
  .practice-image-wrap { inset: 35% 0 0; }
  .practice-overlay { background: linear-gradient(180deg, var(--ink) 0%, rgba(23, 16, 17, 0.78) 35%, rgba(23, 16, 17, 0.35) 100%); }
  .practice-content { padding-top: 6.5rem; padding-bottom: 4rem; }
  .practice h2 { font-size: clamp(3.3rem, 14vw, 5rem); }
  .channel-list { margin-top: 2.3rem; }
  .channel-row { grid-template-columns: 72px 1fr 18px; gap: 0.8rem; min-height: 92px; }
  .channel-row strong { font-size: 1.15rem; line-height: 1.15; }
  .seal-card { min-height: 250px; margin-top: 3rem; }
  .contact { padding: 5.5rem 0; }
  .contact h2 { margin-bottom: 2.5rem; font-size: clamp(3rem, 13vw, 4.8rem); }
  .contact-action { padding: 0; border: 0; }
  .sources { padding: 5rem 0; }
  .source-list a { grid-template-columns: 45px 1fr 20px; gap: 0.6rem; min-height: 88px; }
  .source-list strong { font-size: 1.08rem; line-height: 1.2; }
  .source-list em { display: none; }
  .footer-inner { flex-wrap: wrap; justify-content: center; padding: 1.5rem 0; text-align: center; }
  .footer-inner p { order: 3; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
