:root {
  --ink: #11100e;
  --ink-soft: #191712;
  --ink-card: #211e18;
  --paper: #f7f2e9;
  --paper-2: #eee5d6;
  --gold: #c99c45;
  --gold-light: #edd58b;
  --gold-deep: #89652c;
  --text: #f7f0e2;
  --muted: #c8bea9;
  --line: rgba(219, 178, 91, .38);
  --shadow: 0 28px 80px rgba(0, 0, 0, .22);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(201, 156, 69, .09), transparent 24rem),
    linear-gradient(180deg, #11100e 0%, #15130f 55%, #100f0d 100%);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

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

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 108px 0;
}

.skip-link {
  position: fixed;
  left: 20px;
  top: -90px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--gold-light);
  text-decoration: none;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 20px;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(17, 16, 14, .72);
  border-bottom: 1px solid rgba(219, 178, 91, .13);
  backdrop-filter: blur(18px);
  transition: background .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
  background: rgba(13, 12, 10, .94);
  box-shadow: 0 16px 45px rgba(0, 0, 0, .24);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  width: 82px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(219, 178, 91, .3);
}

.brand img {
  width: 74px;
  height: 54px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  position: relative;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 249, 237, .82);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light));
  transition: right .25s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.is-active::after {
  right: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 1px;
  margin: 5px 0;
  background: var(--gold-light);
  transition: transform .25s ease, opacity .25s ease;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 150px 0 90px;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 72%, transparent);
}

.hero::after {
  content: "";
  position: absolute;
  width: 55vw;
  aspect-ratio: 1;
  right: -16vw;
  bottom: -30vw;
  z-index: -3;
  border: 1px solid rgba(219, 178, 91, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(219, 178, 91, .025), 0 0 0 140px rgba(219, 178, 91, .018);
}

.hero-glow {
  position: absolute;
  z-index: -5;
  border-radius: 50%;
  filter: blur(45px);
  pointer-events: none;
}

.hero-glow-one {
  width: 470px;
  height: 470px;
  top: 7%;
  right: 7%;
  background: rgba(183, 133, 48, .13);
}

.hero-glow-two {
  width: 280px;
  height: 280px;
  left: -8%;
  bottom: 6%;
  background: rgba(234, 205, 139, .08);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-light);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.portrait-copy h2,
.schedule-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.025em;
}

.hero h1 {
  max-width: 750px;
  font-size: clamp(3.3rem, 7vw, 7rem);
  line-height: .9;
  text-wrap: balance;
}

.hero h1 span,
.footer-brand span {
  color: var(--gold);
}

.hero-lead {
  max-width: 620px;
  margin: 27px 0 36px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.hero-people {
  display: grid;
  gap: 14px;
  max-width: 680px;
}

.hero-person {
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid rgba(219, 178, 91, .16);
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
}

.person-mark {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.45rem;
}

.hero-person strong,
.hero-person span:not(.person-mark) {
  display: block;
}

.hero-person strong {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 400;
}

.hero-person span:not(.person-mark) {
  margin-top: 2px;
  color: var(--muted);
  font-size: .9rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.button-primary {
  color: #17130c;
  background: linear-gradient(135deg, var(--gold-light), #bf8f3e);
  box-shadow: 0 12px 28px rgba(201, 156, 69, .16);
}

.button-ghost {
  border-color: rgba(219, 178, 91, .34);
  color: var(--gold-light);
  background: rgba(255,255,255,.018);
}

.hero-logo-wrap {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.logo-halo {
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(219, 178, 91, .15);
  box-shadow: inset 0 0 80px rgba(201, 156, 69, .07), 0 0 100px rgba(201, 156, 69, .045);
}

.hero-logo {
  position: relative;
  width: min(440px, 90%);
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 32px 75px rgba(0,0,0,.32), 0 0 0 1px rgba(222, 184, 103, .22);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 1px;
  height: 44px;
  background: rgba(219, 178, 91, .25);
  overflow: hidden;
}

.scroll-cue span {
  display: block;
  width: 100%;
  height: 40%;
  background: var(--gold-light);
  animation: cue 2.1s ease-in-out infinite;
}

@keyframes cue {
  0% { transform: translateY(-120%); }
  70%, 100% { transform: translateY(260%); }
}

/* Specialists */
.specialists {
  position: relative;
  background: var(--paper);
  color: #211b14;
}

.specialists::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 85% 10%, rgba(201, 156, 69, .16), transparent 24rem);
}

.section-heading {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading .eyebrow {
  color: var(--gold-deep);
}

.section-heading h2 {
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 1.02;
}

.heading-line {
  width: min(250px, 55%);
  height: 1px;
  margin-top: 24px;
  background: linear-gradient(90deg, var(--gold-deep), transparent);
}

.specialist-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.specialist-card {
  position: relative;
  min-height: 390px;
  padding: clamp(32px, 5vw, 52px);
  overflow: hidden;
  border: 1px solid rgba(137, 101, 44, .28);
  border-radius: 20px;
  background: rgba(255, 255, 255, .48);
  box-shadow: 0 20px 50px rgba(82, 58, 18, .07);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.specialist-card:hover {
  transform: translateY(-7px);
  border-color: rgba(137, 101, 44, .5);
  box-shadow: 0 30px 65px rgba(82, 58, 18, .11);
}

.card-number {
  position: absolute;
  top: -25px;
  right: 16px;
  color: rgba(137, 101, 44, .08);
  font-family: var(--serif);
  font-size: 10rem;
  line-height: 1;
}

.card-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 68px;
  border: 1px solid rgba(137, 101, 44, .32);
  border-radius: 50%;
  background: rgba(255,255,255,.55);
}

.card-icon svg,
.schedule-icon svg {
  width: 31px;
  fill: none;
  stroke: var(--gold-deep);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-kicker {
  margin: 0 0 9px;
  color: var(--gold-deep);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.specialist-card h3 {
  max-width: 520px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1.05;
}

.specialist-card > p:last-child {
  margin: 22px 0 0;
  color: #655745;
}

/* Portrait */
.portrait-section {
  position: relative;
  overflow: hidden;
}

.portrait-section::after {
  content: "O&A";
  position: absolute;
  left: -3vw;
  bottom: -6vw;
  color: rgba(233, 204, 139, .025);
  font-family: var(--serif);
  font-size: clamp(10rem, 27vw, 30rem);
  line-height: .8;
  white-space: nowrap;
  pointer-events: none;
}

.portrait-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: clamp(45px, 8vw, 115px);
}

.portrait-copy h2 {
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: .95;
}

.portrait-lines {
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: 280px;
  margin: 28px 0 40px;
}

.portrait-lines span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.portrait-lines span:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.portrait-lines i {
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.portrait-names {
  display: grid;
  gap: 26px;
}

.portrait-names p {
  margin: 0;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.portrait-names strong,
.portrait-names span {
  display: block;
}

.portrait-names strong {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
}

.portrait-names span {
  margin-top: 4px;
  color: var(--muted);
  font-size: .9rem;
}

.portrait-frame {
  position: relative;
  margin: 0;
  padding: 1px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(237, 213, 139, .75), rgba(137, 101, 44, .15), rgba(237, 213, 139, .42));
  box-shadow: var(--shadow);
}

.portrait-aura {
  position: absolute;
  inset: 7% -5% -4% 7%;
  z-index: -1;
  border-radius: 28px;
  background: rgba(201, 156, 69, .22);
  filter: blur(34px);
}

.portrait-frame::before {
  content: "";
  position: absolute;
  inset: -11px;
  z-index: -1;
  border: 1px solid rgba(219, 178, 91, .13);
  border-radius: 31px;
  filter: blur(.25px);
}

.portrait-frame img {
  width: 100%;
  height: auto;
  border-radius: 23px;
  background: #0b0b0b;
}

/* Schedule */
.schedule {
  padding-top: 35px;
  background: linear-gradient(180deg, transparent, rgba(201, 156, 69, .035));
}

.schedule-panel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  padding: clamp(34px, 6vw, 68px);
  overflow: hidden;
  border: 1px solid rgba(219, 178, 91, .24);
  border-radius: 24px;
  background:
    radial-gradient(circle at 80% 50%, rgba(201, 156, 69, .13), transparent 22rem),
    linear-gradient(135deg, #1c1914, #12110e);
  box-shadow: var(--shadow);
}

.schedule-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(219, 178, 91, .25);
  border-radius: 50%;
  background: rgba(255,255,255,.025);
}

.schedule-icon svg {
  width: 37px;
  stroke: var(--gold-light);
}

.schedule-copy h2 {
  font-size: clamp(2rem, 4.4vw, 4.5rem);
  line-height: 1;
}

.schedule-time {
  margin: 14px 0 0;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.7rem);
}

.schedule-time span {
  margin: 0 .2em;
  color: rgba(237, 213, 139, .45);
}

.schedule-monogram {
  color: rgba(237, 213, 139, .12);
  font-family: var(--serif);
  font-size: clamp(4.5rem, 10vw, 9rem);
  letter-spacing: -.1em;
  line-height: .8;
}

.schedule-monogram span {
  font-size: .54em;
}

/* Closing */
.closing {
  padding: 108px 0 100px;
}

.closing-inner {
  display: grid;
  justify-items: center;
  text-align: center;
}

.closing-inner img {
  width: min(310px, 70vw);
  padding: 12px;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(0,0,0,.25);
}

.closing-rule {
  width: 1px;
  height: 64px;
  margin: 24px 0 17px;
  background: linear-gradient(var(--gold), transparent);
}

.closing-inner p {
  margin: 0;
  color: var(--gold-light);
  font-size: .77rem;
  letter-spacing: .26em;
  text-transform: uppercase;
}

/* Footer */
.site-footer {
  padding: 38px 0 44px;
  border-top: 1px solid rgba(219, 178, 91, .14);
  background: #0d0c0a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 40px;
  align-items: end;
}

.footer-grid p {
  margin: 3px 0;
  color: #978d7b;
  font-size: .84rem;
}

.footer-grid .footer-brand {
  color: #f4e6c6;
  font-family: var(--serif);
  font-size: 1.25rem;
}

.footer-details {
  text-align: right;
}

/* El contenido siempre permanece visible. JavaScript solo mejora la interacción; nunca oculta la página. */
.reveal {
  opacity: 1;
  transform: none;
  animation: soft-entry .65s ease both;
}

@keyframes soft-entry {
  from { opacity: .01; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@media (max-width: 920px) {
  .hero-grid,
  .portrait-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-lead,
  .hero-people {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-logo-wrap {
    min-height: 0;
  }

  .hero-logo {
    width: min(390px, 78vw);
  }

  .portrait-copy {
    text-align: center;
  }

  .portrait-lines {
    margin-left: auto;
    margin-right: auto;
  }

  .portrait-names {
    max-width: 620px;
    margin: auto;
    text-align: left;
  }

  .portrait-frame {
    width: min(680px, 92%);
    margin-inline: auto;
  }

  .schedule-panel {
    grid-template-columns: auto 1fr;
  }

  .schedule-monogram {
    display: none;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 26px, 1180px);
  }

  .section {
    padding: 78px 0;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand {
    width: 69px;
    height: 51px;
  }

  .brand img {
    width: 62px;
    height: 46px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .main-nav {
    position: absolute;
    top: 71px;
    left: 13px;
    right: 13px;
    display: grid;
    gap: 0;
    padding: 8px;
    border: 1px solid rgba(219, 178, 91, .2);
    border-radius: 14px;
    background: rgba(15, 14, 12, .98);
    box-shadow: 0 25px 70px rgba(0,0,0,.4);
  }

  .js-enabled .main-nav {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }

  .js-enabled .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 14px 13px;
    border-radius: 8px;
  }

  .main-nav a:hover,
  .main-nav a:focus-visible {
    background: rgba(255,255,255,.04);
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 125px 0 80px;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .hero-person {
    grid-template-columns: 40px 1fr;
    text-align: left;
  }

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

  .specialist-card {
    min-height: 330px;
  }

  .card-icon {
    margin-bottom: 50px;
  }

  .schedule-panel {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

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

  .footer-details {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-logo {
    width: min(340px, 90vw);
    padding: 10px;
  }

  .hero-person {
    padding: 13px;
  }

  .person-mark {
    font-size: 1.2rem;
  }

  .portrait-frame {
    width: 100%;
    border-radius: 18px;
  }

  .portrait-frame img {
    border-radius: 17px;
  }
}
