:root {
  --cph-red: #ff0033;
  --cph-red-dark: #b80025;
  --cph-black: #070708;
  --cph-ink: #111113;
  --cph-card: #171719;
  --cph-white: #ffffff;
  --cph-gray: #b4b4ba;
  --cph-line: rgba(255, 255, 255, 0.13);
  --cph-radius: 26px;
  --cph-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

body.cpmdark-home,
body.cpmdark-not-found {
  margin: 0;
  overflow-x: hidden;
  background: var(--cph-black);
  color: var(--cph-white);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.cpmdark-home *,
.cpmdark-home *::before,
.cpmdark-home *::after,
.cpmdark-not-found *,
.cpmdark-not-found *::before,
.cpmdark-not-found *::after { box-sizing: border-box; }

.cpmdark-home img,
.cpmdark-not-found img { display: block; max-width: 100%; }

.cpmdark-home a,
.cpmdark-not-found a { color: inherit; }

.cpmdark-home h1,
.cpmdark-home h2,
.cpmdark-home h3,
.cpmdark-home p,
.cpmdark-not-found h1,
.cpmdark-not-found h2,
.cpmdark-not-found h3,
.cpmdark-not-found p { margin-top: 0; }

.cpmdark-home h1,
.cpmdark-home h2,
.cpmdark-home h3,
.cpmdark-not-found h1 {
  font-family: "Arial Black", "Segoe UI Black", "Segoe UI", Arial, sans-serif;
  line-height: 1.02;
}

.cph-container { width: min(1200px, calc(100% - 56px)); margin-inline: auto; }

.cph-skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--cph-red);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
}

.cph-skip-link:focus { transform: translateY(0); }

.cph-preview-label {
  position: fixed;
  z-index: 999;
  right: 12px;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 10px;
  background: rgba(7, 7, 8, .88);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.24);
  font-size: .7rem;
  line-height: 1.25;
  pointer-events: none;
  backdrop-filter: blur(10px);
}

.cph-preview-label strong { color: var(--cph-red); letter-spacing: .08em; }

.cph-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  border-bottom: 1px solid var(--cph-line);
  background: linear-gradient(180deg, rgba(7, 7, 8, 0.82), rgba(7, 7, 8, 0));
}

.cph-header--solid { background: rgba(7, 7, 8, 0.96); }

.cph-header__inner {
  display: grid;
  min-height: 94px;
  grid-template-columns: 290px 1fr auto;
  align-items: center;
  gap: 34px;
}

.cph-brand { display: inline-block; width: 270px; }
.cph-brand img { width: 100%; height: auto; }

.cph-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.cph-nav a {
  color: #d6d6da;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.cph-nav a:hover { color: #fff; }

.cph-header__cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 16px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.cph-header__cta:hover { border-color: var(--cph-red); background: rgba(255, 0, 51, 0.1); }

.cph-hero {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  padding: 150px 0 70px;
  background:
    radial-gradient(circle at 78% 38%, rgba(255, 0, 51, 0.26), transparent 28%),
    radial-gradient(circle at 26% 46%, rgba(184, 0, 37, 0.11), transparent 32%),
    linear-gradient(125deg, #070708 0%, #101013 58%, #190006 100%);
}

.cph-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.26;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, transparent 68%);
}

.cph-hero__signal {
  position: absolute;
  right: -0.06em;
  bottom: -0.23em;
  color: transparent;
  font-family: "Arial Black", "Segoe UI Black", sans-serif;
  font-size: clamp(18rem, 37vw, 36rem);
  line-height: 1;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.045);
  user-select: none;
}

.cph-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 600px;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 34px;
}

.cph-hero__copy { position: relative; z-index: 4; }

.cph-kicker {
  margin-bottom: 24px;
  color: var(--cph-red);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cph-kicker span {
  display: inline-block;
  width: 28px;
  height: 2px;
  margin-right: 12px;
  vertical-align: middle;
  background: currentColor;
}

.cph-hero h1 {
  max-width: 780px;
  margin-bottom: 28px;
  font-size: clamp(4rem, 7.4vw, 7.6rem);
  letter-spacing: -0.075em;
}

.cph-hero h1 strong { display: block; color: var(--cph-red); }

.cph-hero__lead {
  max-width: 650px;
  margin-bottom: 36px;
  color: #d2d2d7;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.cph-hero__actions { display: flex; align-items: center; gap: 24px; }
.cph-hero__actions > span { color: #8f8f96; font-size: 0.82rem; font-weight: 700; }

.cph-button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 25px;
  border-radius: 999px;
  background: var(--cph-red);
  color: #fff !important;
  box-shadow: 0 14px 38px rgba(255, 0, 51, 0.24);
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.cph-button:hover { background: #d8002b; box-shadow: 0 18px 45px rgba(255, 0, 51, 0.35); transform: translateY(-2px); }

.cph-portrait {
  position: relative;
  z-index: 2;
  display: flex;
  align-self: stretch;
  align-items: flex-end;
  justify-content: center;
  margin: 0 -20px -70px 0;
  overflow: visible;
}

.cph-portrait > img {
  width: min(130%, 850px);
  max-width: none;
  margin-bottom: -44px;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, .42)) saturate(.96) contrast(1.03);
  transform: translateY(-44px);
}

.cph-portrait figcaption {
  position: absolute;
  z-index: 4;
  right: 22px;
  bottom: 44px;
  display: flex;
  flex-direction: column;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(9, 9, 11, 0.72);
  box-shadow: var(--cph-shadow);
  backdrop-filter: blur(12px);
}

.cph-portrait figcaption strong { font-size: 0.98rem; }
.cph-portrait figcaption span { color: #aaaab0; font-size: 0.75rem; }

.cph-catalog { padding: 116px 0 20px; background: #f2f2f4; color: var(--cph-ink); }

.cph-section-heading {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  align-items: end;
  gap: 50px;
  margin-bottom: 100px;
}

.cph-section-heading .cph-kicker { margin-bottom: 8px; color: var(--cph-red-dark); }

.cph-section-heading > h2 {
  max-width: 850px;
  margin-bottom: 0;
  font-size: clamp(3rem, 5.6vw, 6rem);
  letter-spacing: -0.065em;
}

.cph-group { padding: 0 0 112px; scroll-margin-top: 24px; }

.cph-group__heading {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(17, 17, 19, 0.22);
}

.cph-group__heading > span { color: var(--cph-red-dark); font-size: 0.76rem; font-weight: 900; }
.cph-group__heading p { margin-bottom: 3px; color: #77777e; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.cph-group__heading h2 { margin-bottom: 0; font-size: clamp(2.2rem, 4vw, 4rem); letter-spacing: -0.055em; }

.cph-grid { display: grid; gap: 18px; }
.cph-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cph-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.cph-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 19, 0.12);
  border-radius: var(--cph-radius);
  background: #fff;
  color: var(--cph-ink) !important;
  box-shadow: 0 12px 38px rgba(16, 16, 19, 0.06);
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.cph-card:hover { border-color: rgba(255, 0, 51, 0.48); box-shadow: 0 26px 64px rgba(16, 16, 19, 0.14); transform: translateY(-7px); }

.cph-card__image { position: relative; aspect-ratio: 1; overflow: hidden; background: #070708; }
.cph-card__image::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.08); pointer-events: none; }
.cph-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 420ms ease; }
.cph-card:hover .cph-card__image img { transform: scale(1.025); }

.cph-card__body { display: flex; flex: 1; flex-direction: column; padding: 28px; }
.cph-card__kind { margin-bottom: 14px; color: var(--cph-red-dark); font-size: 0.7rem; font-weight: 900; letter-spacing: 0.13em; text-transform: uppercase; }
.cph-card h3 { margin-bottom: 12px; font-size: clamp(1.65rem, 2.5vw, 2.3rem); letter-spacing: -0.045em; }
.cph-card p { margin-bottom: 26px; color: #5f5f66; }
.cph-card__link { display: flex; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 19px; border-top: 1px solid rgba(17,17,19,.12); color: var(--cph-red-dark); font-size: 0.84rem; font-weight: 900; }
.cph-card__link b { font-size: 1rem; }

.cph-card--wide { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); }
.cph-card--wide .cph-card__image { aspect-ratio: auto; min-height: 410px; }

.cph-closing {
  position: relative;
  overflow: hidden;
  padding: 112px 0;
  background: linear-gradient(125deg, #09090b 0%, #141417 58%, #250008 100%);
}

.cph-closing::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -4%;
  width: 46vw;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 0, 51, 0.22);
  border-radius: 50%;
  box-shadow: inset 0 0 90px rgba(255, 0, 51, 0.05);
}

.cph-closing__inner { position: relative; z-index: 2; }
.cph-closing h2 { max-width: 980px; margin-bottom: 40px; font-size: clamp(3rem, 6vw, 6.5rem); letter-spacing: -0.07em; }
.cph-closing h2 strong { color: var(--cph-red); }
.cph-button--light { background: #fff; color: #111113 !important; box-shadow: none; }
.cph-button--light:hover { background: #e9e9ec; }

.cph-footer { padding: 30px 0; background: #050506; color: #93939a; font-size: 0.84rem; }
.cph-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cph-footer p { margin-bottom: 0; }
.cph-footer__inner > div { display: flex; gap: 24px; }
.cph-footer a { text-decoration: none; }
.cph-footer a:hover { color: #fff; }

.cph-button:focus-visible,
.cph-brand:focus-visible,
.cph-nav a:focus-visible,
.cph-header__cta:focus-visible,
.cph-card:focus-visible,
.cph-footer a:focus-visible {
  outline: 3px solid #ff6b88;
  outline-offset: 4px;
}

/* Página 404 */
.cpmdark-not-found { min-height: 100vh; }
.cpmdark-not-found .cph-header__inner { grid-template-columns: 1fr; }

.cph-error {
  position: relative;
  display: grid;
  min-height: calc(100vh - 82px);
  place-items: center;
  overflow: hidden;
  padding: 156px 0 90px;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    radial-gradient(circle at 72% 45%, rgba(255,0,51,.17), transparent 30%),
    #09090a;
  background-size: 72px 72px, 72px 72px, auto, auto;
}

.cph-error__glow {
  position: absolute;
  top: 18%;
  left: 58%;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 0, 51, .42);
  border-radius: 50%;
  box-shadow: inset 0 0 100px rgba(255, 0, 51, .07), 0 0 100px rgba(255, 0, 51, .07);
}

.cph-error__inner { position: relative; z-index: 2; }
.cph-error__code { position: absolute; top: 50%; left: 54%; margin: 0; color: transparent; font-family: "Arial Black", sans-serif; font-size: clamp(15rem, 32vw, 32rem); line-height: .7; -webkit-text-stroke: 1px rgba(255,255,255,.08); transform: translateY(-50%); user-select: none; }
.cph-error .cph-kicker { position: relative; z-index: 2; }
.cph-error h1 { position: relative; z-index: 2; max-width: 760px; margin-bottom: 24px; font-size: clamp(3.4rem, 7vw, 7rem); letter-spacing: -0.07em; }
.cph-error__inner > p:not(.cph-kicker):not(.cph-error__code) { position: relative; z-index: 2; max-width: 620px; margin-bottom: 34px; color: #b9b9bf; font-size: 1.08rem; }
.cph-error .cph-button { position: relative; z-index: 2; }

@media (max-width: 980px) {
  .cph-header__inner { grid-template-columns: 240px 1fr; }
  .cph-brand { width: 230px; }
  .cph-nav { justify-content: flex-end; }
  .cph-header__cta { display: none; }
  .cph-hero { min-height: auto; padding-bottom: 0; }
  .cph-hero__grid { grid-template-columns: 1fr; gap: 20px; }
  .cph-hero__copy { padding-top: 42px; }
  .cph-portrait { width: min(100%, 720px); min-height: 620px; margin: 0 auto; }
  .cph-portrait > img { width: min(108%, 760px); margin-bottom: 0; transform: none; }
  .cph-section-heading { grid-template-columns: 1fr; gap: 22px; }
  .cph-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cph-card--wide { grid-template-columns: 1fr; }
  .cph-card--wide .cph-card__image { min-height: 0; aspect-ratio: 1; }
}

@media (max-width: 680px) {
  .cph-container { width: min(100% - 32px, 1200px); }
  .cph-header__inner { min-height: 78px; grid-template-columns: 1fr auto; gap: 18px; }
  .cph-brand { width: 188px; }
  .cph-nav { display: none; }
  .cph-header__cta { display: inline-flex; min-height: 40px; padding: 0 14px; font-size: 0; }
  .cph-header__cta::before { content: "Catálogo"; font-size: .76rem; }
  .cph-hero { padding-top: 116px; }
  .cph-hero__copy { padding-top: 22px; }
  .cph-hero h1 { font-size: clamp(3.35rem, 17vw, 5rem); }
  .cph-hero__actions { align-items: stretch; flex-direction: column; }
  .cph-hero__actions > span { text-align: center; }
  .cph-button { width: 100%; }
  .cph-portrait { width: calc(100% + 32px); min-height: 460px; margin-inline: -16px; }
  .cph-portrait > img { width: 116%; }
  .cph-portrait figcaption { right: 18px; bottom: 26px; }
  .cph-catalog { padding-top: 80px; }
  .cph-section-heading { margin-bottom: 72px; }
  .cph-section-heading > h2 { font-size: clamp(3rem, 13vw, 4.5rem); }
  .cph-group { padding-bottom: 82px; }
  .cph-grid--three,
  .cph-grid--two { grid-template-columns: 1fr; }
  .cph-card__body { padding: 24px; }
  .cph-closing { padding: 82px 0; }
  .cph-footer__inner { align-items: flex-start; flex-direction: column; gap: 10px; }
  .cph-footer__inner > div { flex-wrap: wrap; gap: 8px 20px; }
  .cph-error { min-height: calc(100vh - 70px); padding-top: 132px; }
  .cph-error h1 { font-size: clamp(3.35rem, 15vw, 5.2rem); }
  .cph-error__code { top: 46%; left: 28%; }
  .cph-error__glow { left: 42%; width: 280px; height: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  .cpmdark-home *,
  .cpmdark-home *::before,
  .cpmdark-home *::after,
  .cpmdark-not-found *,
  .cpmdark-not-found *::before,
  .cpmdark-not-found *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
