:root {
  --black: #0B0B0D;
  --carbon: #141416;
  --anthracite: #1E1E22;
  --red: #A6192E;
  --red-hot: #C1121F;
  --red-text: #EE6D7D;
  --white: #F5F5F5;
  --gray: #A1A1AA;
  --line: #333338;
  --display: Impact, "Arial Narrow Bold", "Arial Narrow", "Helvetica Neue Condensed", Arial, sans-serif;
  --text: Arial, Helvetica, sans-serif;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font: 16px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .5px; margin: 0; line-height: 1; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--red); color: #fff; padding: 10px 14px; border-radius: 6px; z-index: 50; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--red-text); outline-offset: 3px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 8px;
  font-weight: 700; font-size: 15px; text-decoration: none; letter-spacing: .3px;
  border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hot); }
.btn-ghost { border-color: var(--line); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--gray); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn[hidden] { display: none; }

/* Navegación */
.nav { position: sticky; top: 0; z-index: 20; transition: background .2s, border-color .2s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(11, 11, 13, .92); backdrop-filter: blur(8px); border-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { width: 168px; }
.menu { display: flex; align-items: center; gap: 28px; }
.menu a:not(.btn) { color: var(--gray); text-decoration: none; font-size: 14px; font-weight: 700; }
.menu a:not(.btn):hover { color: var(--white); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 44px; height: 44px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: var(--white); margin: auto; position: relative; transition: transform .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .bars { background: transparent; }
.menu-btn[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: center; padding: 64px 0 88px; margin-top: -68px; padding-top: 132px; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(11,11,13,.92) 0%, rgba(11,11,13,.72) 40%, rgba(11,11,13,.15) 100%),
              linear-gradient(0deg, rgba(11,11,13,1) 0%, rgba(11,11,13,0) 30%); }
.hero-in { max-width: 1160px; }
.hero .lead { color: #D4D4D8; max-width: 44ch; }
.eyebrow, .kicker { color: var(--red-text); font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; }
h1 { font-size: clamp(56px, 9vw, 112px); line-height: .95; margin: 16px 0 22px; }
.dot { color: var(--red-hot); }
.lead { color: var(--gray); font-size: 18px; max-width: 30ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.facts { list-style: none; padding: 0; margin: 40px 0 0; display: flex; gap: 32px; flex-wrap: wrap; }
.facts li { display: grid; border-left: 2px solid var(--red); padding-left: 12px; }
.facts b { font-family: var(--display); font-weight: 400; font-size: 26px; text-transform: uppercase; }
.facts span { color: var(--gray); font-size: 13px; }
/* Nosotros */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.split-img { margin: 0; position: relative; }
.split-img::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--red); border-radius: 14px; z-index: -1; }
.split-img img { border-radius: 12px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.split-copy { display: grid; gap: 16px; }
.split-copy h2 { font-size: clamp(36px, 5vw, 56px); }
.split-copy p { color: var(--gray); }
.values { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.values li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.values li:nth-child(3n+1) { border-color: var(--red); }

/* Galería */
.gallery { display: grid; grid-template-columns: 2.2fr 1fr 1fr; grid-template-rows: 520px; gap: 12px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--carbon); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; background: linear-gradient(0deg, rgba(11,11,13,.9), transparent); }
.g-main img { object-position: 40% 50%; }
.split-img figcaption { position: absolute; left: 16px; bottom: 14px; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; background: rgba(11,11,13,.75); padding: 6px 10px; border-radius: 6px; }

/* Bandas */
.band { padding: 88px 0; border-bottom: 1px solid var(--line); }
.band.alt { background: var(--carbon); }
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 48px; align-items: end; margin-bottom: 40px; }
.head .kicker { grid-column: 1 / -1; }
.head h2 { font-size: clamp(36px, 5vw, 56px); }
.sub { color: var(--gray); }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--carbon); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.ico { display: inline-block; font-family: var(--display); font-size: 22px; color: var(--red-text); margin-bottom: 18px; }
.card h3 { font-size: 24px; margin-bottom: 10px; }
.card p { color: var(--gray); font-size: 15px; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.plan { background: var(--anthracite); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 10px; align-content: start; }
.plan.featured { border-color: var(--red); box-shadow: inset 0 3px 0 var(--red); }
.plan-n { font-family: var(--display); font-size: 64px; line-height: 1; display: flex; align-items: baseline; gap: 10px; }
.plan-n span { font-family: var(--text); font-size: 13px; color: var(--gray); text-transform: uppercase; letter-spacing: 2px; }
.plan h3 { font-size: 28px; }
.plan p { color: var(--gray); }
.price { margin-top: 8px; font-family: var(--display); font-size: 36px; color: var(--white) !important; }
.price span { font-family: var(--text); font-size: 14px; color: var(--gray); margin-left: 6px; }
.price.ask { font-family: var(--text); font-size: 15px; font-weight: 700; color: var(--red-text) !important; }
.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.extra { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.extra h3 { font-size: 22px; margin-bottom: 8px; }
.extra p { color: var(--gray); font-size: 15px; }
.extra b { color: var(--white); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--red); padding-top: 18px; }
.steps li::before { content: "0" counter(s); font-family: var(--display); font-size: 40px; color: var(--line); display: block; margin-bottom: 6px; }
.steps h3 { font-size: 22px; margin-bottom: 8px; }
.steps p { color: var(--gray); font-size: 15px; }
.steps b { color: var(--white); }
.center { text-align: center; margin-top: 48px; }
.note { text-align: center; color: var(--gray); font-size: 14px; margin-top: 14px; }

.sedes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sede { background: var(--anthracite); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.sede img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.sede-body { padding: 28px; display: grid; gap: 10px; align-content: start; }
.sede:not(.has-img) .sede-body { flex: 1; align-content: center; background: radial-gradient(ellipse at 100% 0%, rgba(166,25,46,.18), transparent 60%); }
.sede h3 { font-size: 44px; }
.sede p { color: var(--white); }
.lbl { display: block; color: var(--gray); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }
.muted { color: var(--gray) !important; }
.link { color: var(--red-text); font-weight: 700; text-decoration: none; }
.contact { margin-top: 32px; text-align: center; }
.contact .ctas { justify-content: center; margin-top: 12px; }

.final { padding: 96px 0; text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(166, 25, 46, .22), transparent 60%); }
.final-in { display: grid; justify-items: center; gap: 24px; }
.final h2 { font-size: clamp(34px, 5vw, 60px); }

.foot { border-top: 1px solid var(--line); padding: 40px 0; }
.foot-in { display: grid; gap: 10px; justify-items: start; color: var(--gray); font-size: 14px; }
.small { font-size: 12px; max-width: 70ch; }

@media (max-width: 960px) {
  .head, .split { grid-template-columns: 1fr; }
  .gallery { grid-template-rows: 400px; }
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .extras { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .menu-btn { display: block; }
  .menu {
    display: none; position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--carbon); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .menu.open { display: flex; }
  .menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .menu .btn { margin-top: 14px; }
  .nav { background: rgba(11, 11, 13, .92); }
  .hero { min-height: 92vh; padding: 108px 0 56px; align-items: flex-end; }
  .hero-bg { object-position: 62% 50%; }
  .hero::after { background: linear-gradient(0deg, rgba(11,11,13,.97) 0%, rgba(11,11,13,.8) 45%, rgba(11,11,13,.35) 100%); }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: auto; gap: 8px; }
  .gallery figure { aspect-ratio: 3 / 2; }
  .gallery .g-tall { aspect-ratio: 2 / 3; }
  .gallery .g-main { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
  .split-img::before { display: none; }
  .band { padding: 64px 0; }
  .cards, .steps, .sedes { grid-template-columns: 1fr; }
  .facts { gap: 20px; }
  .ctas .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
