/* =========================================================
   Gateway Tech — Hoja de estilos principal
   Paleta según Manual de Marca
   ========================================================= */

/* ---------- Fuentes de marca ---------- */
/* Archivo de peso único (Bold): el rango evita que el navegador simule la negrita */
@font-face {
  font-family: "Prompt";
  src: url("../fonts/Prompt-Bold.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Variables de marca ---------- */
:root {
  --carbon: #1a1a1a;
  --carbon-soft: #232025;
  --carbon-softer: #2c282e;
  --orchid: #d100ce;
  --orchid-light: #f04ff0;
  --purple: #7c0081;
  --purple-deep: #3e033d;
  --snow: #f8f8f8;
  --snow-dim: #e9e5ea;

  --gradient-brand: linear-gradient(135deg, var(--orchid) 0%, var(--purple) 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(209, 0, 206, 0.14), rgba(124, 0, 129, 0.14));
  --gradient-dark: linear-gradient(180deg, var(--carbon) 0%, #120f13 100%);

  --text-on-dark: var(--snow);
  --text-muted-on-dark: rgba(248, 248, 248, 0.68);
  --text-on-light: var(--carbon);
  --text-muted-on-light: rgba(26, 26, 26, 0.64);

  --border-on-dark: rgba(248, 248, 248, 0.12);
  --border-on-light: rgba(26, 26, 26, 0.1);

  --font-heading: "Prompt", "Poppins", sans-serif;
  --font-body: "Montserrat", "Segoe UI", sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --shadow-soft: 0 20px 45px rgba(26, 4, 27, 0.16);
  --shadow-dark: 0 20px 50px rgba(0, 0, 0, 0.45);

  --header-h: 84px;
}

/* ---------- Reset básico ---------- */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  background: var(--snow);
  color: var(--text-on-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
}
p {
  margin: 0 0 1em;
}
button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}
.section--tight {
  padding: 56px 0;
}
.section--dark {
  background: var(--gradient-dark);
  color: var(--text-on-dark);
}
.section--soft {
  background: #fbf5fb;
}
.section--brand {
  background: var(--gradient-brand);
  color: var(--snow);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orchid);
  background: rgba(209, 0, 206, 0.1);
  border: 1px solid rgba(209, 0, 206, 0.35);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.section--dark .eyebrow,
.section--brand .eyebrow {
  color: var(--snow);
  background: rgba(248, 248, 248, 0.1);
  border-color: rgba(248, 248, 248, 0.35);
}

.section-head {
  max-width: 680px;
  margin: 0 0 48px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
}
.section-head p {
  color: var(--text-muted-on-light);
  font-size: 17px;
}
.section--dark .section-head p {
  color: var(--text-muted-on-dark);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.btn-primary {
  background: var(--gradient-brand);
  color: var(--snow);
  box-shadow: 0 14px 30px rgba(209, 0, 206, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(209, 0, 206, 0.4);
}
.btn-outline {
  background: transparent;
  border-color: var(--purple);
  color: var(--purple);
}
.btn-outline:hover {
  background: var(--purple);
  color: var(--snow);
}
.section--dark .btn-outline,
.section--brand .btn-outline {
  border-color: rgba(248, 248, 248, 0.55);
  color: var(--snow);
}
.section--dark .btn-outline:hover,
.section--brand .btn-outline:hover {
  background: var(--snow);
  color: var(--carbon);
}
.btn-light {
  background: var(--snow);
  color: var(--purple);
}
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}
.btn-block {
  width: 100%;
}
.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}

/* ---------- Header / navegación ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 26, 26, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(248, 248, 248, 0.08);
}
.site-header .container {
  max-width: 1400px;
}
.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand img {
  height: 46px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}
.nav-links a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-pill);
  color: var(--text-muted-on-dark);
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.nav-links a:hover {
  color: var(--snow);
  background: rgba(248, 248, 248, 0.08);
}
.nav-links a.active {
  color: var(--snow);
  background: rgba(209, 0, 206, 0.22);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--snow);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.nav-toggle svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 1220px) {
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    background: var(--carbon);
    border-bottom: 1px solid rgba(248, 248, 248, 0.08);
    padding: 10px 20px 20px;
    gap: 2px;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height .3s ease, visibility .3s ease;
  }
  .nav-links.open {
    max-height: 480px;
    visibility: visible;
  }
  .nav-links a {
    padding: 14px 12px;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-actions .btn-label {
    display: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 90px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 60%;
  height: 140%;
  background: var(--gradient-brand);
  opacity: .25;
  filter: blur(90px);
  z-index: 0;
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  color: var(--snow);
}
.hero h1 .accent {
  color: var(--orchid);
}
.hero p.lead {
  font-size: 18px;
  color: var(--text-muted-on-dark);
  max-width: 540px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art .icon-glow {
  width: min(100%, 340px);
  filter: drop-shadow(0 25px 55px rgba(209, 0, 206, 0.35));
}
.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 26px;
  color: var(--snow);
}
.hero-stats div span {
  font-size: 13px;
  color: var(--text-muted-on-dark);
}

.hero--page {
  padding: 64px 0 60px;
}
.hero--page .section-head {
  max-width: 720px;
  margin-bottom: 0;
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-art {
    order: -1;
  }
  .hero-art .icon-glow {
    width: 200px;
    margin: 0 auto;
  }
}

/* ---------- Tarjetas de áreas ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.area-card {
  background: var(--snow);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-on-light);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.area-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 55px rgba(26, 4, 27, 0.22);
}
.icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-badge svg {
  width: 28px;
  height: 28px;
  stroke: var(--snow);
  fill: none;
}
.area-card h3 {
  font-size: 21px;
}
.area-card p {
  color: var(--text-muted-on-light);
  font-size: 15px;
  flex-grow: 1;
}
.area-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--purple);
  font-size: 14px;
}
.area-card .card-link svg {
  width: 16px;
  height: 16px;
  transition: transform .2s ease;
}
.area-card:hover .card-link svg {
  transform: translateX(4px);
}

@media (max-width: 760px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Valores / badges de marca ---------- */
.values-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.value-pill {
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  background: var(--gradient-brand);
  color: var(--snow);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
}

/* ---------- Lista de servicios (páginas de área) ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-item {
  background: var(--snow);
  border: 1px solid var(--border-on-light);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-item h4 {
  font-size: 17px;
}
.service-item p {
  font-size: 14px;
  color: var(--text-muted-on-light);
  margin: 0;
}
@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-on-light);
  font-size: 15.5px;
}
.section--dark .check-list li {
  border-color: var(--border-on-dark);
}
.check-list li:last-child {
  border-bottom: none;
}
.check-list svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--orchid);
  margin-top: 2px;
}

/* ---------- Proceso / pasos ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 30px 24px 24px;
  border-radius: var(--radius-md);
  background: rgba(248, 248, 248, 0.05);
  border: 1px solid var(--border-on-dark);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: var(--snow);
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 14px;
}
.step h4 {
  color: var(--snow);
  font-size: 16px;
}
.step p {
  color: var(--text-muted-on-dark);
  font-size: 14px;
  margin: 0;
}
@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- CTA banner ---------- */
.cta-banner {
  border-radius: var(--radius-lg);
  background: var(--gradient-brand);
  padding: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  color: var(--snow);
}
.cta-banner h3 {
  font-size: 26px;
  margin-bottom: 6px;
}
.cta-banner p {
  margin: 0;
  color: rgba(248, 248, 248, 0.85);
}
.cta-banner .btn-light {
  flex-shrink: 0;
}

/* ---------- Contacto ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 32px;
  align-items: start;
}
.contact-card {
  background: var(--snow);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-on-light);
}
.contact-row {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-on-light);
}
.contact-row:last-child {
  border-bottom: none;
}
.contact-row .icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
}
.contact-row .icon-badge svg {
  width: 22px;
  height: 22px;
}
.contact-row h4 {
  font-size: 15px;
  margin-bottom: 4px;
}
.contact-row p {
  font-size: 14.5px;
  color: var(--text-muted-on-light);
  margin: 0;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-on-light);
  box-shadow: var(--shadow-soft);
  height: 320px;
  margin-top: 24px;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.form-card {
  background: var(--carbon-soft);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: var(--snow);
  border: 1px solid var(--border-on-dark);
}
.form-card h3 {
  color: var(--snow);
}
.form-card p.hint {
  color: var(--text-muted-on-dark);
  font-size: 14px;
  margin-bottom: 26px;
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-muted-on-dark);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(248, 248, 248, 0.06);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--snow);
  font-family: var(--font-body);
  font-size: 15px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(248, 248, 248, 0.4);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orchid);
}
.field select option {
  color: var(--carbon);
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ / Ayuda ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--snow);
  border: 1px solid var(--border-on-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-on-light);
}
.faq-question .plus {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gradient-brand-soft);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform .25s ease;
}
.faq-item.open .faq-question .plus {
  transform: rotate(45deg);
  background: var(--gradient-brand);
  color: var(--snow);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-answer div {
  padding: 0 26px 22px;
  color: var(--text-muted-on-light);
  font-size: 15px;
}
.faq-answer a {
  color: var(--purple);
  text-decoration: underline;
}
.help-topics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}
.help-topic {
  padding: 22px 18px;
  border-radius: var(--radius-md);
  background: rgba(248, 248, 248, 0.06);
  border: 1px solid var(--border-on-dark);
  text-align: center;
  transition: background .2s ease, transform .2s ease;
}
.help-topic:hover {
  background: rgba(209, 0, 206, 0.15);
  transform: translateY(-4px);
}
.help-topic .icon-badge {
  margin: 0 auto 12px;
}
.help-topic span {
  color: var(--snow);
  font-weight: 600;
  font-size: 14.5px;
}
@media (max-width: 900px) {
  .help-topics {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .help-topics {
    grid-template-columns: 1fr;
  }
}

/* ---------- Mascota ---------- */
.mascot-panel {
  display: flex;
  align-items: center;
  gap: 40px;
  background: var(--gradient-brand);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--snow);
  flex-wrap: wrap;
}
.mascot-panel img {
  width: 170px;
  flex-shrink: 0;
}
.mascot-panel h3 {
  font-size: 24px;
}
.mascot-panel p {
  margin: 0;
  color: rgba(248, 248, 248, 0.9);
}

/* ---------- Strenua ERP ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.hero-art--panel {
  order: 0;
}
.hero-panel {
  width: min(100%, 400px);
  padding: 28px 28px 14px;
  border-radius: var(--radius-lg);
  background: rgba(248, 248, 248, 0.06);
  border: 1px solid var(--border-on-dark);
  box-shadow: var(--shadow-dark);
}
.hero-panel-title {
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--text-muted-on-dark);
  margin-bottom: 8px;
}
.hero-panel li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border-on-dark);
  color: var(--snow);
  font-weight: 600;
  font-size: 16px;
}
.hero-panel li:last-child {
  border-bottom: none;
}
.hero-panel .icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 13px;
}
.hero-panel .icon-badge svg {
  width: 21px;
  height: 21px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.module-card {
  background: var(--snow);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-on-light);
}
.module-card h3 {
  font-size: 22px;
  margin: 18px 0 8px;
}
.module-card .check-list li {
  font-size: 14.5px;
  padding: 9px 0;
}
.module-extra {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.module-extra-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  border-radius: var(--radius-md);
  background: var(--gradient-brand-soft);
  border: 1px solid rgba(209, 0, 206, 0.2);
}
.module-extra-item h4 {
  font-size: 17px;
  margin-bottom: 2px;
}
.module-extra-item p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted-on-light);
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.sector-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 18px;
  border-radius: var(--radius-md);
  background: var(--snow);
  border: 1px solid var(--border-on-light);
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.35;
}

.feature-list {
  max-width: 860px;
  margin: 0 auto;
}
.feature-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border-on-dark);
}
.feature-row:first-child {
  padding-top: 0;
}
.feature-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.feature-num {
  font-family: var(--font-heading);
  font-size: 30px;
  line-height: 1;
  color: var(--orchid-light);
}
.feature-row h4 {
  color: var(--snow);
  font-size: 18px;
  margin-bottom: 6px;
}
.feature-row p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted-on-dark);
}

#planes {
  scroll-margin-top: var(--header-h);
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 30px 30px;
  border-radius: var(--radius-lg);
  background: var(--gradient-dark);
  color: var(--snow);
  border: 1px solid var(--border-on-dark);
  box-shadow: var(--shadow-soft);
}
.plan-card--featured {
  background: linear-gradient(160deg, var(--purple-deep) 0%, var(--carbon) 70%);
  border-color: rgba(209, 0, 206, 0.65);
}
.plan-tag {
  position: absolute;
  top: -14px;
  left: 30px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--gradient-brand);
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: .04em;
}
.plan-name {
  font-size: 22px;
  margin-bottom: 18px;
}
.plan-label {
  font-size: 13px;
  color: var(--text-muted-on-dark);
}
.plan-price {
  font-family: var(--font-heading);
  font-size: 40px;
  line-height: 1.1;
}
.plan-annual {
  margin: 6px 0 22px;
  font-size: 14.5px;
  color: var(--text-muted-on-dark);
}
.plan-annual strong {
  color: var(--snow);
}
.plan-features {
  margin-bottom: 28px;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--border-on-dark);
  font-size: 14.5px;
}
.plan-features svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--orchid-light);
}
.plan-features li.off,
.plan-features li.off svg {
  color: rgba(248, 248, 248, 0.38);
}
.plan-features li.off {
  text-decoration: line-through;
}
.plan-card .btn {
  margin-top: auto;
}
.plan-card .btn-outline {
  border-color: rgba(248, 248, 248, 0.55);
  color: var(--snow);
}
.plan-card .btn-outline:hover {
  background: var(--snow);
  color: var(--carbon);
}
.plan-note {
  margin: 30px 0 0;
  text-align: center;
  font-size: 15px;
  color: var(--text-muted-on-light);
}

.service-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.support-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 32px;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
}
.support-pillars {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.support-pillar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: rgba(248, 248, 248, 0.05);
  border: 1px solid var(--border-on-dark);
  font-family: var(--font-heading);
  font-size: 17px;
  color: var(--snow);
}
.support-pillar .icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
}
.support-pillar .icon-badge svg {
  width: 22px;
  height: 22px;
}
.support-box {
  padding: 16px 28px;
  border-radius: var(--radius-lg);
  background: rgba(248, 248, 248, 0.05);
  border: 1px solid var(--border-on-dark);
}

@media (max-width: 1000px) {
  .sector-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .service-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .module-grid,
  .plan-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }
  .plan-grid {
    max-width: 460px;
    margin: 0 auto;
    gap: 34px;
  }
}
@media (max-width: 620px) {
  .module-extra,
  .service-grid--4 {
    grid-template-columns: 1fr;
  }
  .sector-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-row {
    grid-template-columns: 44px 1fr;
    gap: 14px;
  }
  .feature-num {
    font-size: 24px;
  }
}

/* ---------- Estructuras propias de cada página ---------- */
.section-head--wide {
  max-width: 820px;
}
.section--brand .section-head p {
  color: rgba(248, 248, 248, 0.9);
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  color: var(--purple);
}
.card-link svg {
  width: 16px;
  height: 16px;
  transition: transform .2s ease;
}

/* Secciones a dos columnas */
.split {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.split--even {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.split .section-head {
  margin-bottom: 0;
}
.split-aside {
  position: sticky;
  top: calc(var(--header-h) + 28px);
}

/* Inicio: mosaico de áreas y valores */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 250px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--snow);
  border: 1px solid var(--border-on-light);
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 55px rgba(26, 4, 27, 0.22);
}
.bento-card:hover .card-link svg {
  transform: translateX(4px);
}
.bento-card h3 {
  font-size: 21px;
  margin: 6px 0 0;
}
.bento-card p {
  flex-grow: 1;
  margin: 0;
  font-size: 15px;
  color: var(--text-muted-on-light);
}
.bento-num {
  position: absolute;
  top: 28px;
  right: 30px;
  font-family: var(--font-heading);
  font-size: 15px;
  color: rgba(26, 26, 26, 0.3);
}
.bento-card--wide {
  grid-column: span 2;
}
.bento-card--wide p {
  max-width: 520px;
}
.bento-card--dark {
  background: linear-gradient(135deg, var(--carbon) 30%, var(--purple-deep) 100%);
  border-color: var(--border-on-dark);
  color: var(--snow);
}
.bento-card--dark p {
  color: var(--text-muted-on-dark);
}
.bento-card--dark .bento-num,
.bento-card--brand .bento-num {
  color: rgba(248, 248, 248, 0.45);
}
.bento-card--dark .card-link {
  color: var(--orchid-light);
}
.bento-card--brand {
  grid-column: span 3;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  min-height: 0;
  padding-right: 80px;
  background: var(--gradient-brand);
  border-color: transparent;
  color: var(--snow);
}
.bento-card--brand .icon-badge {
  background: rgba(248, 248, 248, 0.18);
}
.bento-card--brand div {
  flex-grow: 1;
}
.bento-card--brand h3 {
  margin: 0 0 6px;
}
.bento-card--brand p {
  color: rgba(248, 248, 248, 0.9);
}
.bento-card--brand .card-link {
  flex-shrink: 0;
  color: var(--snow);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.value-tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 130px;
  padding: 24px 26px;
  overflow-wrap: break-word;
  hyphens: auto;
  border-radius: var(--radius-md);
  background: rgba(248, 248, 248, 0.12);
  border: 1px solid rgba(248, 248, 248, 0.28);
  font-family: var(--font-heading);
  font-size: 23px;
}
.value-tile span {
  margin-bottom: auto;
  font-size: 13px;
  opacity: .7;
}

/* Tienda: catálogo en mosaico y taller */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.tile {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: var(--snow);
  border: 1px solid var(--border-on-light);
  box-shadow: var(--shadow-soft);
}
.tile .icon-badge {
  width: 84px;
  height: 84px;
  border-radius: 26px;
}
.tile .icon-badge svg {
  width: 40px;
  height: 40px;
}
.tile h3 {
  font-size: 20px;
  margin-bottom: 6px;
}
.tile p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted-on-light);
}
.duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.duo-card {
  position: relative;
  overflow: hidden;
  padding: 38px;
  border-radius: var(--radius-lg);
  background: var(--gradient-dark);
  border: 1px solid var(--border-on-dark);
  color: var(--snow);
}
.duo-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 230px;
  height: 230px;
  background: var(--gradient-brand);
  opacity: .4;
  filter: blur(60px);
}
.duo-card h3 {
  font-size: 23px;
  margin: 20px 0 8px;
}
.duo-card p {
  position: relative;
  max-width: 420px;
  margin: 0;
  color: var(--text-muted-on-dark);
}

/* Desarrollo: ventana de código, lista numerada, línea de tiempo */
.code-window {
  width: min(100%, 450px);
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #120f13;
  border: 1px solid var(--border-on-dark);
  box-shadow: var(--shadow-dark);
}
.code-bar {
  display: flex;
  gap: 7px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-on-dark);
}
.code-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(248, 248, 248, 0.2);
}
.code-bar i:first-child {
  background: var(--orchid);
}
.code-body {
  margin: 0;
  padding: 20px 22px 24px;
  overflow-x: auto;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.95;
  color: rgba(248, 248, 248, 0.85);
}
.code-body .c {
  color: rgba(248, 248, 248, 0.42);
}
.code-body .k {
  color: var(--orchid-light);
}
.code-body .s {
  color: #e9b8ff;
}
.row-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 56px;
  counter-reset: row;
}
.row-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 6px 14px;
  padding: 26px 0;
  border-top: 1px solid var(--border-on-light);
}
.row-item::before {
  counter-increment: row;
  content: counter(row, decimal-leading-zero);
  grid-row: span 2;
  padding-top: 3px;
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--orchid);
}
.row-item h4 {
  margin: 0;
  font-size: 19px;
}
.row-item p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted-on-light);
}
.timeline {
  position: relative;
  padding-left: 36px;
  counter-reset: tl;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--orchid), var(--purple));
}
.timeline-item {
  position: relative;
  padding: 0 0 38px 24px;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-item::before {
  counter-increment: tl;
  content: counter(tl);
  position: absolute;
  left: -36px;
  top: -2px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: var(--snow);
  font-family: var(--font-heading);
  font-size: 13px;
}
.timeline-item h4 {
  margin-bottom: 4px;
  font-size: 20px;
  color: var(--snow);
}
.timeline-item p {
  margin: 0;
  font-size: 15.5px;
  color: var(--text-muted-on-dark);
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.benefit-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.benefit {
  padding: 26px 24px;
  border-radius: var(--radius-md);
  background: var(--snow);
  border: 1px solid var(--border-on-light);
  border-top: 4px solid var(--orchid);
  font-family: var(--font-heading);
  font-size: 17px;
  line-height: 1.3;
}
.benefit svg {
  display: block;
  width: 26px;
  height: 26px;
  margin-bottom: 14px;
  color: var(--orchid);
}

/* Redes y Ayuda: portada centrada */
.hero--center {
  padding: 88px 0 84px;
  text-align: center;
}
.hero--center .section-head {
  max-width: 760px;
  margin: 0 auto;
}
.hero--center p.lead {
  margin-left: auto;
  margin-right: auto;
}
.hero--center .hero-actions {
  justify-content: center;
}
.hero-rings {
  position: absolute;
  left: 50%;
  top: 100%;
  width: 760px;
  height: 760px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(209, 0, 206, 0.35);
  box-shadow: 0 0 0 120px rgba(209, 0, 206, 0.06), 0 0 0 240px rgba(209, 0, 206, 0.04), 0 0 0 360px rgba(209, 0, 206, 0.025);
  pointer-events: none;
}
.hero-chips,
.topic-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}
.hero-chip {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: rgba(248, 248, 248, 0.06);
  border: 1px solid var(--border-on-dark);
  color: var(--snow);
  font-size: 14px;
  font-weight: 600;
}
.hcard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.hcard {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 26px 28px;
  border-radius: var(--radius-md);
  background: var(--snow);
  border: 1px solid var(--border-on-light);
  border-left: 4px solid var(--orchid);
}
.hcard h4 {
  margin-bottom: 4px;
  font-size: 18px;
}
.hcard p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted-on-light);
}
.bignum-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  counter-reset: bn;
}
.bignum-step {
  padding: 0 26px;
  border-left: 1px solid rgba(124, 0, 129, 0.2);
}
.bignum-step:first-child {
  padding-left: 0;
  border-left: none;
}
.bignum-step::before {
  counter-increment: bn;
  content: counter(bn, decimal-leading-zero);
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-heading);
  font-size: 58px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--orchid);
}
.bignum-step h4 {
  font-size: 18px;
}
.bignum-step p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted-on-light);
}

/* CCTV: mosaico de cámaras, franja de beneficios, proceso en zigzag */
.cam-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: min(100%, 450px);
  padding: 14px;
  border-radius: var(--radius-lg);
  background: rgba(248, 248, 248, 0.05);
  border: 1px solid var(--border-on-dark);
  box-shadow: var(--shadow-dark);
}
.cam {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--carbon-softer), #151216);
  border: 1px solid var(--border-on-dark);
}
.cam svg {
  width: 36px;
  height: 36px;
  color: rgba(248, 248, 248, 0.22);
}
.cam-label {
  position: absolute;
  left: 11px;
  top: 9px;
  font-family: var(--font-heading);
  font-size: 10.5px;
  letter-spacing: .08em;
  color: rgba(248, 248, 248, 0.7);
}
.cam-rec {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orchid-light);
  box-shadow: 0 0 0 4px rgba(240, 79, 240, 0.25);
  animation: cam-rec 1.6s ease-in-out infinite;
}
@keyframes cam-rec {
  50% { opacity: .25; }
}
@media (prefers-reduced-motion: reduce) {
  .cam-rec {
    animation: none;
  }
}
.strip {
  padding: 26px 0;
  background: var(--gradient-brand);
  color: var(--snow);
}
.strip-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.strip-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}
.strip-list svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}
.service-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.zigzag {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  counter-reset: zz;
}
.zigzag::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  margin-left: -1px;
  background: linear-gradient(var(--orchid), var(--purple));
}
.zz-item {
  position: relative;
  width: 50%;
  padding: 0 46px 44px 0;
  text-align: right;
}
.zz-item:nth-child(even) {
  margin-left: 50%;
  padding: 0 0 44px 46px;
  text-align: left;
}
.zz-item:last-child {
  padding-bottom: 0;
}
.zz-item::before {
  counter-increment: zz;
  content: counter(zz);
  position: absolute;
  top: -4px;
  right: -18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: var(--snow);
  font-family: var(--font-heading);
}
.zz-item:nth-child(even)::before {
  right: auto;
  left: -18px;
}
.zz-item h4 {
  margin-bottom: 4px;
  font-size: 20px;
  color: var(--snow);
}
.zz-item p {
  margin: 0;
  font-size: 15.5px;
  color: var(--text-muted-on-dark);
}

/* Corporativo: panel de texto, diagrama central, pasos conectados */
.hero-panel--text {
  padding-bottom: 28px;
}
.hero-panel--text h2 {
  font-size: 24px;
  color: var(--snow);
}
.hero-panel--text p {
  margin: 0;
  font-size: 15.5px;
  color: var(--text-muted-on-dark);
}
.hub {
  display: grid;
  grid-template-columns: 1fr .85fr 1fr;
  gap: 20px;
}
.hub-center {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  background: var(--gradient-brand);
  color: var(--snow);
  text-align: center;
  box-shadow: 0 24px 60px rgba(209, 0, 206, 0.3);
}
.hub-center img {
  width: 96px;
}
.hub-center h3 {
  margin: 0;
  font-size: 25px;
}
.hub-center p {
  margin: 0;
  font-size: 15px;
  color: rgba(248, 248, 248, 0.9);
}
.hub-node {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--snow);
  border: 1px solid var(--border-on-light);
}
.hub-node .icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
}
.hub-node .icon-badge svg {
  width: 22px;
  height: 22px;
}
.hub-node h4 {
  margin-bottom: 4px;
  font-size: 16.5px;
}
.hub-node p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted-on-light);
}
.stepper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  counter-reset: sp;
}
.stepper::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--orchid), var(--purple));
}
.stepper-item {
  position: relative;
  padding: 0 18px;
  text-align: center;
}
.stepper-item::before {
  counter-increment: sp;
  content: counter(sp);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: var(--snow);
  font-family: var(--font-heading);
  font-size: 18px;
  box-shadow: 0 0 0 8px #181619;
}
.stepper-item h4 {
  font-size: 18px;
  color: var(--snow);
}
.stepper-item p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted-on-dark);
}

/* Contacto: formulario en la portada y bloque de visita */
.hero--contact .hero-grid {
  grid-template-columns: .9fr 1.1fr;
}
.hero--contact .form-card {
  box-shadow: var(--shadow-dark);
}
#visitanos {
  scroll-margin-top: var(--header-h);
}
.visit-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.visit-grid .map-frame {
  height: auto;
  min-height: 380px;
  margin-top: 0;
}

/* Ayuda: accesos en píldora y tarjeta de mascota */
.topic-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px 8px 8px;
  border-radius: var(--radius-pill);
  background: rgba(248, 248, 248, 0.06);
  border: 1px solid var(--border-on-dark);
  color: var(--snow);
  font-size: 14.5px;
  font-weight: 600;
  transition: background .2s ease;
}
.topic-pill:hover {
  background: rgba(209, 0, 206, 0.2);
}
.topic-pill .icon-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}
.topic-pill .icon-badge svg {
  width: 17px;
  height: 17px;
}
.mascot-card {
  margin-top: 28px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--gradient-brand);
  color: var(--snow);
}
.mascot-card img {
  width: 120px;
  height: auto;
  margin-bottom: 14px;
}
.mascot-card h3 {
  font-size: 20px;
}
.mascot-card p {
  font-size: 14.5px;
  color: rgba(248, 248, 248, 0.9);
}

@media (max-width: 900px) {
  .split,
  .split--even,
  .hero--contact .hero-grid,
  .visit-grid,
  .hub {
    grid-template-columns: minmax(0, 1fr);
  }
  .split {
    gap: 32px;
  }
  .split-aside {
    position: static;
  }
  .hub-center {
    grid-column: auto;
    grid-row: auto;
  }
  .bento,
  .benefit-grid,
  .strip-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-card--brand {
    grid-column: span 2;
    flex-direction: column;
    align-items: flex-start;
    padding-right: 30px;
  }
  .bignum-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 30px;
  }
  .bignum-step {
    padding: 0;
    border-left: none;
  }
}
@media (max-width: 760px) {
  .tile-grid,
  .duo,
  .row-list,
  .hcard-grid {
    grid-template-columns: 1fr;
  }
  .stepper {
    grid-template-columns: 1fr;
  }
  .stepper::before {
    display: none;
  }
  .stepper-item {
    padding: 0 0 28px 64px;
    text-align: left;
  }
  .stepper-item::before {
    position: absolute;
    left: 0;
    top: -6px;
    margin: 0;
    box-shadow: none;
  }
  .zigzag::before {
    left: 17px;
  }
  .zz-item,
  .zz-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding: 0 0 34px 58px;
    text-align: left;
  }
  .zz-item::before,
  .zz-item:nth-child(even)::before {
    left: 0;
    right: auto;
  }
}
@media (max-width: 600px) {
  .bento,
  .benefit-grid,
  .benefit-grid--2,
  .strip-list,
  .service-grid--2,
  .bignum-steps {
    grid-template-columns: 1fr;
  }
  .bento-card--wide,
  .bento-card--brand {
    grid-column: auto;
  }
  .bento-card {
    min-height: 0;
  }
  .tile {
    grid-template-columns: 1fr;
    padding: 28px;
  }
  .hero-rings {
    width: 420px;
    height: 420px;
  }
}

/* ---------- Catálogo de la tienda ---------- */
#catalogo,
.catalog-cat {
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.catalog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}
.catalog-tab {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--border-on-light);
  color: var(--text-on-light);
  font-size: 14.5px;
  font-weight: 600;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.catalog-tab:hover {
  border-color: var(--orchid);
  color: var(--purple);
}
.catalog-tab.active {
  background: var(--gradient-brand);
  border-color: transparent;
  color: var(--snow);
}
.catalog-cat + .catalog-cat {
  margin-top: 56px;
}
.catalog-cat-head {
  margin-bottom: 22px;
}
.catalog-cat-head h3 {
  font-size: 24px;
  margin-bottom: 4px;
}
.catalog-cat-head p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted-on-light);
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  align-items: start;
}
.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--border-on-light);
  box-shadow: var(--shadow-soft);
}
.product-img {
  display: block;
  border-bottom: 1px solid var(--border-on-light);
}
.product-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--carbon);
}
.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  padding: 20px;
}
.product-body h4 {
  margin: 0;
  font-size: 17px;
}
.product-body p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted-on-light);
}
.product-body .card-link {
  margin-top: auto;
  padding-top: 8px;
}
.product-details summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: var(--purple);
}
.product-details h5 {
  margin: 14px 0 6px;
  font-size: 14px;
}
.product-details ul {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
}
.product-details li {
  margin-bottom: 4px;
  font-size: 13.5px;
  color: var(--text-muted-on-light);
}
.product-details p {
  font-size: 13.5px;
}
/* Aviso de categoría sin productos: solo se ve mientras no haya tarjetas */
.catalog-empty {
  margin: 0;
  padding: 26px;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(124, 0, 129, 0.35);
  color: var(--text-muted-on-light);
  font-size: 15px;
}
.catalog-empty a {
  color: var(--purple);
  font-weight: 700;
}
.catalog-grid:has(.product-card) + .catalog-empty {
  display: none;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--carbon);
  color: var(--text-muted-on-dark);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border-on-dark);
}
.footer-brand .brand {
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 14.5px;
  max-width: 300px;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, border-color .2s ease;
}
.footer-social a:hover {
  background: var(--gradient-brand);
  border-color: transparent;
}
.footer-social svg {
  width: 18px;
  height: 18px;
  color: var(--snow);
}
.footer-col h5 {
  font-family: var(--font-heading);
  color: var(--snow);
  font-size: 15px;
  margin-bottom: 18px;
  letter-spacing: .02em;
}
.footer-col ul li {
  margin-bottom: 12px;
}
.footer-col ul li a {
  font-size: 14.5px;
  transition: color .2s ease;
}
.footer-col ul li a:hover {
  color: var(--orchid);
}
.footer-col .contact-mini {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
}
.footer-col .contact-mini svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--orchid);
}
.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}
.footer-bottom a:hover {
  color: var(--orchid);
}
.footer-legal {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  /* deja espacio al botón flotante de WhatsApp */
  margin-right: 76px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 34px rgba(209, 0, 206, 0.45);
  transition: transform .2s ease;
}
.wa-float:hover {
  transform: scale(1.08);
}
.wa-float svg {
  width: 28px;
  height: 28px;
  fill: var(--snow);
}

/* ---------- Utilidades ---------- */
.text-center {
  text-align: center;
}
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- Accesibilidad ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--gradient-brand);
  color: var(--snow);
  font-weight: 700;
  transition: top .2s ease;
}
.skip-link:focus {
  top: 12px;
}
:focus-visible {
  outline: 3px solid var(--orchid);
  outline-offset: 3px;
}
.section--dark :focus-visible,
.site-footer :focus-visible,
.section--brand :focus-visible {
  outline-color: var(--orchid-light);
}

/* ---------- Páginas legales ---------- */
.legal {
  max-width: 820px;
}
.legal h2 {
  font-size: 24px;
  margin-top: 2em;
}
.legal h2:first-child {
  margin-top: 0;
}
.legal p,
.legal li {
  color: var(--text-muted-on-light);
}
.legal ul {
  list-style: disc;
  padding-left: 1.4em;
  margin: 0 0 1em;
}
.legal li {
  margin-bottom: .5em;
}
.legal a {
  color: var(--purple);
  text-decoration: underline;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5em;
  font-size: 15px;
}
.legal-table th,
.legal-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-on-light);
}
.legal-table th {
  font-family: var(--font-heading);
  color: var(--text-on-light);
}
.legal-updated {
  font-size: 14px;
  color: var(--text-muted-on-light);
}
.form-legal {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--text-muted-on-dark);
}
.form-legal a {
  text-decoration: underline;
}
.plan-tax {
  font-size: 13px;
  opacity: .75;
}

/* ---------- 404 ---------- */
.section-head .notfound-code {
  font-family: var(--font-heading);
  font-size: clamp(80px, 16vw, 160px);
  line-height: 1;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
