:root {
  color-scheme: dark;
  --price-container: 1200px;
  --page-gutter: clamp(1rem, 4vw, 2rem);
  --section-spacing: clamp(3rem, 7vw, 5.5rem);
  --price-surface: #0b1018;
  --price-panel: #111d2a;
  --price-border: #2d4254;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
}
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.skip-link {
  position: fixed;
  z-index: 120;
  inset: .75rem auto auto .75rem;
  padding: .6rem .9rem;
  transform: translateY(calc(-100% - 1rem));
  border-radius: .55rem;
  color: var(--bg);
  background: var(--text);
}
.skip-link:focus { transform: none; }
#contenido:focus { outline: none; }
[id] { scroll-margin-block-start: 5.5rem; }
.container, .prices-chrome .container {
  width: 100%;
  max-width: var(--price-container);
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}
.prices-chrome .site-header .nav { gap: clamp(.5rem, 2.5vw, 1.75rem); }
.prices-chrome .site-header .nav-links.open { top: 100%; }
.prices-chrome .footer-col a:hover { text-decoration: underline; }

h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.025em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.65rem); max-width: 13ch; }
h2 { font-size: clamp(1.55rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { max-width: 65ch; }
.eyebrow {
  margin: 0 0 .75rem;
  color: var(--green);
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.section-heading { margin-bottom: clamp(1.5rem, 3.2vw, 2.35rem); }
.section-heading > p:not(.eyebrow), .section-note { margin: .7rem 0 0; color: var(--muted); }
.section-note { font-size: .9rem; }
.section-note a, .device-panel > a, .support-section > .container > a { color: var(--cyan); }

.price-hero {
  padding-block: var(--section-spacing);
  background:
    radial-gradient(ellipse at 12% 0%, #0c2642, transparent 56%),
    radial-gradient(ellipse at 95% 70%, #10322b, transparent 44%),
    var(--bg);
}
.hero-layout { display: grid; align-items: center; gap: clamp(1.5rem, 6vw, 5rem); }
.hero-copy { margin: 1.15rem 0 1.5rem; color: #c7d4df; font-size: clamp(1rem, 2vw, 1.18rem); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: stretch; }
.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .55rem .95rem;
  border: 1px solid transparent;
  border-radius: .7rem;
  color: var(--text);
  line-height: 1.25;
  font-weight: 750;
  text-decoration: none;
  text-align: center;
}
.action-primary { background: var(--grad); color: #06121a; }
.action-primary:hover { filter: brightness(1.1); }
.action-secondary { background: #152537; border-color: var(--price-border); }
.action-secondary:hover { background: #1c344b; border-color: #52738a; }
.device-panel {
  padding: clamp(1.25rem, 3vw, 1.8rem);
  border: 1px solid var(--price-border);
  border-radius: var(--radius);
  background: linear-gradient(150deg, #16283a, #101b28 70%);
}
.device-panel h2 { font-size: 1.35rem; }
.device-panel dl { margin: 1rem 0; }
.device-panel dl div + div { border-top: 1px solid var(--price-border); padding-top: .8rem; margin-top: .8rem; }
.device-panel dt { font-weight: 750; }
.device-panel dd { margin: .25rem 0 0; color: #bdcbd8; }
.device-panel > a { font-size: .9rem; }

.price-section { padding-block: var(--section-spacing); }
.support-section, .contact-section { background: var(--price-surface); }

.price-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.price-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 1.1rem;
  border: 1px solid var(--price-border);
  border-radius: 1.125rem;
  background: linear-gradient(155deg, #142333, #0d1621 65%);
}
.price-card:has(.pack-badge) { padding-top: 2.9rem; border-color: #38807d; }
.pack-badge {
  position: absolute;
  top: .8rem;
  inset-inline-start: 1.1rem;
  border-radius: 2rem;
  padding: .18rem .55rem;
  background: #15382f;
  color: #b0f5da;
  font-size: .76rem;
  font-weight: 750;
}
.price-card h3 { font-size: 1.15rem; }
.htc-pack-price {
  margin: .55rem 0 0;
  font-size: 2rem;
  font-weight: 790;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.04em;
  line-height: 1.1;
  white-space: nowrap;
}
.pack-supplement { margin: .3rem 0 0; color: var(--muted); font-size: .81rem; }
.pack-features {
  flex: 1;
  margin: .95rem 0 1.2rem;
  padding-inline-start: 1rem;
  line-height: 1.48;
  font-size: .875rem;
}
.pack-features li + li { margin-top: .5rem; }
.pack-features li::marker { color: var(--green); }
.pack-madrid { margin: 0 0 .9rem; color: #a4deff; font-size: .82rem; }
.price-card .htc-pack-button { min-height: 3.5rem; margin-top: auto; padding: .5rem; font-size: .88rem; }

.pack-comparison {
  margin-top: 1.5rem;
  border: 1px solid var(--price-border);
  border-radius: 1rem;
  background: #0d1621;
}
.pack-comparison summary { cursor: pointer; padding: 1rem 1.15rem; font-weight: 750; }
.comparison-scroll { overflow-x: auto; border-radius: 0 0 .95rem .95rem; }
.comparison-table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: .875rem;
}
.comparison-table :is(th, td) { padding: .75rem .85rem; border-top: 1px solid var(--price-border); text-align: center; }
.comparison-table thead th { background: #132337; }
.comparison-table th:first-child {
  position: sticky;
  inset-inline-start: 0;
  width: 22%;
  background: #132337;
  text-align: left;
}
.comparison-table .comparison-price > * { background: #183541; font-weight: 800; white-space: nowrap; }
.unavailable { color: var(--muted); }

.support-table {
  width: 100%;
  border: 1px solid var(--price-border);
  border-radius: 1.15rem;
  border-spacing: 0;
  table-layout: fixed;
  background: #0f1a28;
}
.support-table :is(th, td) { padding: 1.05rem 1rem; text-align: left; vertical-align: middle; }
.support-table thead th {
  background: #162638;
  color: #d3e2ef;
  font-size: .86rem;
  font-weight: 800;
}
.support-table thead th:first-child { border-start-start-radius: 1.1rem; }
.support-table thead th:last-child { border-start-end-radius: 1.1rem; }
.support-table tbody th { font-size: 1.12rem; }
.support-table tbody td { font-size: .91rem; }
.support-table tbody :is(th, td) { border-top: 1px solid var(--price-border); }
.support-table tbody tr:nth-child(even) { background: #111f2e; }
.support-table td :is(strong, small) { display: block; }
.support-table td small { color: var(--muted); font-size: .81rem; }
.support-price { color: var(--text); font-size: 1.35rem; line-height: 1.15; white-space: nowrap; }
.support-label { display: none; }
.support-section > .container > a { display: inline-block; margin-top: .8rem; }
.support-channel { white-space: nowrap; }
.support-table sup a { color: #a4deff; padding: .25rem; }

.extras-grid { display: grid; gap: 1.25rem; margin: 0; }
.extra-card {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1.25rem;
  border: 1px solid var(--price-border);
  border-radius: 1.1rem;
  background: var(--price-panel);
}
.extra-card dt { font-size: 1.1rem; font-weight: 800; }
.extra-card dd { margin: 0; color: var(--muted); font-size: .92rem; }
.extra-card .extra-price { margin-top: auto; padding-top: .25rem; color: var(--text); font-size: 1.4rem; font-weight: 780; }
.accessory-panel, .next-panel {
  display: grid;
  align-items: center;
  justify-items: start;
  gap: 1.25rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--price-border);
  border-radius: var(--radius);
  background: #0f1b28;
}
.accessory-panel { margin-top: 1.5rem; }
.accessory-panel p, .next-panel p { margin: .55rem 0 0; color: var(--muted); }
.next-panel { background: linear-gradient(125deg, #152a40, #112a26); }

@media (min-width: 620px) {
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-card { padding-top: 2.9rem; }
  .price-card h3 { min-height: 2lh; }
}
@media (min-width: 768px) {
  .hero-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .extras-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .accessory-panel, .next-panel { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (min-width: 900px) {
  .prices-chrome .site-header .nav-links { display: flex; gap: clamp(.65rem, 2.8vw, 2rem); }
  .prices-chrome .site-header .nav-links.open {
    position: static;
    padding: 0;
    border: 0;
    background: none;
    max-height: none;
    overflow: visible;
  }
  .prices-chrome .site-header .menu-button { display: none; }
  .price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
  .price-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 740px) {
  .support-table { display: block; border: 0; background: transparent; }
  .support-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .support-table tbody { display: grid; gap: 1rem; }
  .support-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem 1rem;
    padding: 1rem;
    border: 1px solid var(--price-border);
    border-radius: 1rem;
    background: #0f1a28;
  }
  .support-table tbody th { grid-column: 1 / -1; padding-bottom: .6rem; border-bottom: 1px solid var(--price-border); }
  .support-table tbody :is(th, td) { display: block; padding: 0; border-top: 0; }
  .support-table tbody th { padding-bottom: .55rem; }
  .support-label { display: block; margin-bottom: .18rem; color: var(--muted); font-size: .77rem; }
}
@media (max-width: 400px) {
  .price-hero .actions, .next-panel .actions { width: 100%; }
  .price-hero .action, .next-panel .action { width: 100%; }
}
