/* ─── Fuente ─────────────────────────────────── */
@font-face {
  font-family: "FrutigerNeueLT";
  src: url("media/Frutiger Neue LT W1G Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ─── Tokens ─────────────────────────────────── */
:root {
  --q-blue:    #00a8f0;
  --q-dark:    #111418;
  --q-mid:     #1c2127;
  --q-border:  #2a2f37;
  --q-text:    #d8dde5;
  --q-muted:   #9aa3b4;
  --q-white:   #ffffff;
  --q-light:   #f4f6f9;
  --max-w:     1160px;
  --r:         4px;
  --font:      "FrutigerNeueLT", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
}

/* ─── Reset ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--q-white);
  color: #1c2127;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ─── Header ─────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e2e6eb;
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.logo-wrap img { width: 130px; height: auto; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.main-nav a {
  padding: 0.4rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 400;
  color: #444c58;
  border-radius: var(--r);
  transition: color 0.18s, background 0.18s;
  letter-spacing: 0.01em;
}
.main-nav a:hover,
.main-nav a.active { color: var(--q-blue); }
.main-nav a.active { font-weight: 500; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1.5px solid var(--q-blue);
  background: transparent;
  color: var(--q-blue);
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--r);
  letter-spacing: 0.02em;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}
.btn-cta:hover { background: var(--q-blue); color: var(--q-white); }
.qeido-lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
}
.qeido-lang-switch button {
  border: none;
  background: transparent;
  padding: 2px 3px;
  line-height: 1;
  cursor: pointer;
  border-radius: 3px;
  opacity: 0.45;
  transition: opacity 0.18s, transform 0.15s;
  display: flex;
  align-items: center;
}
.qeido-lang-switch button .fi {
  width: 1.6rem;
  height: 1.2rem;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.12);
}
.qeido-lang-switch button.is-active {
  opacity: 1;
  transform: scale(1.1);
}
.qeido-lang-switch button:hover:not(.is-active) {
  opacity: 0.75;
}
.menu-toggle {
  display: none;
  border: 1px solid #d0d5dd;
  background: transparent;
  padding: 0.35rem 0.6rem;
  border-radius: var(--r);
  font-size: 1.1rem;
  margin-left: auto;
}

/* ─── Hero (index) ───────────────────────────── */
.hero {
  background: var(--q-dark);
  color: var(--q-white);
  padding: 6rem 1.5rem 0;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17,20,24,0.88) 0%, rgba(17,20,24,0.72) 40%, rgba(17,20,24,0.78) 100%),
    radial-gradient(ellipse 70% 60% at 80% 40%, rgba(0,168,240,.16) 0%, transparent 70%);
  z-index: -2;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  pointer-events: none;
  z-index: -1;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-bottom: 5rem;
  position: relative;
  z-index: 1;
}
.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--q-blue);
  margin-bottom: 1.2rem;
}
.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--q-white);
  margin-bottom: 1.3rem;
}
.hero-title em {
  font-style: normal;
  color: var(--q-blue);
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--q-text);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 440px;
}
.hero-privacy {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.privacy-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: #b0b8c6;
}
.privacy-item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--q-blue);
  flex-shrink: 0;
}
.hero-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-card-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 380px;
}
.dash-card {
  background: var(--q-mid);
  border: 1px solid var(--q-border);
  border-radius: 8px;
  padding: 1.1rem 1.3rem;
}
.dash-card-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--q-muted);
  margin-bottom: 0.5rem;
}
.dash-card-value {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--q-white);
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.dash-card-value span {
  font-size: 0.8rem;
  color: var(--q-muted);
}
.dash-card-ok {
  font-size: 0.85rem;
  color: #4cd97b;
  margin-top: 0.3rem;
}
.dash-card-row {
  display: flex;
  gap: 0.6rem;
}
.dash-pill {
  flex: 1;
  background: var(--q-mid);
  border: 1px solid var(--q-border);
  border-radius: 8px;
  padding: 0.85rem 1rem;
}
.dash-pill-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--q-muted);
  margin-bottom: 0.3rem;
}
.dash-pill-val {
  font-size: 1.05rem;
  color: var(--q-white);
}

/* ─── Métricas con imagen ────────────────────── */
.metrics-split {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
}

/* Bloques particulares */
.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.split-block--reverse {
  direction: rtl;
}
.split-block--reverse > * {
  direction: ltr;
}
.split-img {
  border-radius: 16px;
  overflow: hidden;
  background: #e8edf3;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.split-img .placeholder-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}
.split-img:has(.placeholder-img[src=""])::after {
  content: "Imagen próximamente";
  color: #b0b8c6;
  font-size: 0.9rem;
}
.split-text {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.metrics-img-wrap {
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 16px;
}
.metrics-img-wrap img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}
.metrics-content .section-lead {
  margin-bottom: 1.5rem;
}

/* ─── Sección genérica ───────────────────────── */
.section { padding: 5rem 1.5rem; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-dark {
  background: var(--q-dark);
  color: var(--q-text);
}
.section-light {
  background: var(--q-light);
}
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--q-blue);
  margin-bottom: 0.8rem;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 400;
  line-height: 1.22;
  margin-bottom: 1.1rem;
  color: #111418;
}
.section-dark .section-title { color: var(--q-white); }
.section-lead {
  font-size: 1.05rem;
  color: #4a5568;
  max-width: 660px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.section-dark .section-lead { color: var(--q-text); }

/* ─── Stats ──────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e2e6eb;
  border: 1px solid #e2e6eb;
  border-radius: var(--r);
  overflow: hidden;
}
.stat-item {
  background: var(--q-white);
  padding: 2rem 1.5rem;
}
.stat-num {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  color: var(--q-blue);
  line-height: 1;
  margin-bottom: 0.45rem;
}
.stat-desc {
  font-size: 0.9rem;
  color: #5a6478;
  line-height: 1.4;
}

/* ─── Split (texto + visual) ─────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-text p {
  font-size: 0.97rem;
  color: #4a5568;
  margin-bottom: 0.9rem;
  line-height: 1.7;
}
.section-dark .split-text p { color: var(--q-text); }
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 1.5rem;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #3d4a5c;
  line-height: 1.5;
}
.section-dark .check-list li { color: var(--q-text); }
.check-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  background: rgba(0,168,240,.15);
  border: 1.5px solid var(--q-blue);
  margin-top: 1px;
  position: relative;
}
.check-list li::after {
  display: none;
}
.check-icon {
  color: var(--q-blue);
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ─── Enterprise editorial (ep-block) ─────── */
.ep-block { padding: 5rem 1.5rem; }
.ep-block--light { background: var(--q-light); }
.ep-block--dark  { background: var(--q-dark); color: var(--q-text); }
.ep-block--blue  { background: var(--q-blue); color: var(--q-white); }

.ep-block-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.ep-block-inner--reverse { direction: rtl; }
.ep-block-inner--reverse > * { direction: ltr; }

.ep-block-title {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 400;
  line-height: 1.22;
  margin-bottom: 1.2rem;
  color: #111418;
}
.ep-block--dark  .ep-block-title { color: var(--q-white); }
.ep-block--blue  .ep-block-title { color: var(--q-white); }
.ep-block-title--center { text-align: center; margin-bottom: 1.5rem; }

.ep-block-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #3d4a5c;
}
.ep-block--dark .ep-block-text p { color: var(--q-text); }

.ep-block-lead {
  font-size: 1.1rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.92);
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.ep-block-lead--dark {
  color: #3d4a5c;
}

.ep-block-img {
  border-radius: 14px;
  overflow: hidden;
}
.ep-block-img img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
}

.ep-block-accent {
  background: rgba(0,168,240,0.08);
  border: 1px solid rgba(0,168,240,0.2);
  border-radius: 14px;
  min-height: 260px;
}

/* ─── Enterprise editorial (legacy) ────── */
.enterprise-editorial { padding-top: 3rem; padding-bottom: 3rem; }
.editorial-para {
  display: block;
  padding: 2rem 0;
  border-top: 1px solid #e2e6eb;
}
.editorial-para:last-child { border-bottom: 1px solid #e2e6eb; }
.editorial-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--q-blue);
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}
.editorial-num { display: none; }
.editorial-para p {
  font-size: 1.12rem;
  color: #2d3748;
  line-height: 1.85;
  max-width: 780px;
}
.enterprise-fullimg {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}
.enterprise-fullimg img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  display: block;
}

/* ─── Kit split ──────────────────────────────── */
.kit-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.kit-split-img {
  border-radius: 16px;
  overflow: hidden;
}
.kit-split-img img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

/* ─── Kit hardware ───────────────────────────── */
.kit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--q-border);
  border: 1px solid var(--q-border);
  border-radius: var(--r);
  overflow: hidden;
  margin-top: 2rem;
}
.kit-item {
  background: var(--q-mid);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}
.kit-qty {
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--q-blue);
  line-height: 1;
  min-width: 2rem;
}
.kit-info h3 {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--q-white);
  margin-bottom: 0.3rem;
}
.kit-info p {
  font-size: 0.85rem;
  color: var(--q-muted);
  line-height: 1.45;
}

/* ─── Métricas grid ──────────────────────────── */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e2e6eb;
  border: 1px solid #e2e6eb;
  border-radius: var(--r);
  overflow: hidden;
}
.metric-item {
  background: var(--q-white);
  padding: 1.2rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #3d4a5c;
  line-height: 1.35;
}
.metric-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: var(--q-blue);
}

/* ─── Highlight band ─────────────────────────── */
.band {
  background: var(--q-blue);
  color: var(--q-white);
  padding: 4rem 1.5rem;
  text-align: center;
}
.band h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 300;
  margin-bottom: 0.6rem;
}
.band p {
  font-size: 1rem;
  opacity: 0.88;
  margin-bottom: 2rem;
}
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1.5px solid var(--q-white);
  background: transparent;
  color: var(--q-white);
  padding: 0.65rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--r);
  letter-spacing: 0.03em;
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
}
.btn-white:hover { background: var(--q-white); color: var(--q-blue); }
.btn-prereserva-cta {
  display: inline-block;
  background: var(--q-blue);
  color: #fff;
  padding: 0.85rem 2.2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--r);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity 0.18s;
}
.btn-prereserva-cta:hover { opacity: 0.88; }
.band-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-white--outline {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: rgba(255,255,255,0.85);
}
.btn-white--outline:hover { background: var(--q-white); color: var(--q-blue); }

/* ─── Subpage hero ───────────────────────────── */
.subpage-hero {
  background: var(--q-dark);
  color: var(--q-white);
  padding: 4.5rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}
.subpage-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 95% 50%, rgba(0,168,240,.1) 0%, transparent 65%);
  pointer-events: none;
}
.subpage-hero .section-inner { position: relative; z-index: 1; }
.subpage-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  margin-bottom: 0.9rem;
  line-height: 1.15;
}
.subpage-hero h1 em { font-style: normal; color: var(--q-blue); }
.subpage-hero p {
  font-size: 1.08rem;
  color: var(--q-text);
  max-width: 580px;
  line-height: 1.7;
}
.page-tag {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--q-blue);
  margin-bottom: 1rem;
}

/* ─── Feature cards ──────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}
.feature-card {
  border: 1px solid #e2e6eb;
  border-radius: var(--r);
  padding: 1.6rem;
  background: var(--q-white);
}
.section-dark .feature-card {
  background: var(--q-mid);
  border-color: var(--q-border);
}
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,168,240,.1);
  border: 1px solid rgba(0,168,240,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1rem;
}
.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 500;
  color: #111418;
  margin-bottom: 0.5rem;
}
.section-dark .feature-card h3 { color: var(--q-white); }
.feature-card p {
  font-size: 0.87rem;
  color: #5a6478;
  line-height: 1.55;
}
.section-dark .feature-card p { color: var(--q-muted); }

/* ─── Footer ─────────────────────────────────── */
.site-footer {
  background: var(--q-dark);
  color: var(--q-muted);
  border-top: 1px solid var(--q-border);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.footer-brand img { width: 110px; margin-bottom: 0.75rem; filter: brightness(0) invert(1) opacity(0.7); }
.footer-brand p { font-size: 0.82rem; line-height: 1.6; }
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: right;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--q-muted);
  transition: color 0.18s;
}
.footer-links a:hover { color: var(--q-blue); }
.footer-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-center img {
  height: 80px;
  opacity: 0.6;
}
.footer-bottom {
  border-top: 1px solid var(--q-border);
  text-align: center;
  padding: 1rem 1.5rem;
  font-size: 0.78rem;
  color: #3a4150;
}

/* ─── Modal ──────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.65);
  z-index: 200;
  padding: 1rem;
  backdrop-filter: blur(3px);
}
.modal.open { display: flex; }
.modal-panel {
  width: min(480px, 100%);
  background: var(--q-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.3);
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 1.5rem 1rem;
  border-bottom: 1px solid #e8eaee;
}
.modal-head h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: #111418;
}
.close-modal {
  border: none;
  background: transparent;
  font-size: 1.3rem;
  color: #888;
  line-height: 1;
  padding: 0.15rem 0.4rem;
}
.modal-body { padding: 1.3rem 1.5rem 1.5rem; }

/* ── Modal messages & OTP input ─────────────────────────────────────────── */
.modal-msg {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.88rem;
  margin-bottom: 0.85rem;
  line-height: 1.5;
}
.modal-msg--error {
  background: #fff2f2;
  border: 1px solid #fca5a5;
  color: #b91c1c;
}
.modal-msg--success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #15803d;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0;
}
.modal-intro {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.65;
  margin: 0 0 1.8rem;
}
.modal-otp-hint {
  font-size: 0.9rem;
  color: #444;
  margin: 0 0 1.2rem;
  line-height: 1.55;
}
.modal-resend {
  background: none;
  border: none;
  color: var(--q-blue);
  font: inherit;
  font-size: 0.85rem;
  padding: 0;
  cursor: pointer;
  display: block;
  margin-top: 0.8rem;
  width: 100%;
  text-align: center;
}
.modal-resend:hover { opacity: 0.8; }
#call-otp-input {
  text-align: center;
  font-size: 1.5rem;
  letter-spacing: 0.35em;
  font-weight: 600;
  padding-left: 1rem;
}

.form-row { margin-bottom: 1rem; }
.form-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: #444c58;
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
.form-row input {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid #d0d5dd;
  border-radius: var(--r);
  font: inherit;
  font-size: 0.95rem;
  color: #111418;
  outline: none;
  transition: border-color 0.18s;
}
.form-row input:focus { border-color: var(--q-blue); }
.form-submit {
  width: 100%;
  border: none;
  background: var(--q-blue);
  color: var(--q-white);
  padding: 0.75rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--r);
  margin-top: 0.5rem;
  transition: opacity 0.18s;
}
.form-submit:hover { opacity: 0.88; }
.form-submit:disabled,
.form-submit[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* ─── Reveal ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ─── Responsive ─────────────────────────────── */
@media (max-width: 980px) {
  .hero-inner,
  .split,
  .metrics-split,
  .split-block,
  .ep-block-inner,
  .kit-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-block--reverse { direction: ltr; }
  .ep-block-inner--reverse { direction: ltr; }
  .split.reverse { direction: ltr; }
  .hero-visual { justify-content: flex-start; }
  .stats-grid,
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .kit-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { text-align: left; }
}

@media (max-width: 640px) {
  .header-inner { height: 56px; padding: 0 1rem; }
  .logo-wrap { order: 1; margin-right: auto; }
  .header-actions { order: 2; margin-left: 0; }
  .menu-toggle { display: inline-flex; order: 3; margin-left: 0.5rem; }
  .main-nav {
    display: none;
    position: absolute;
    top: 56px;
    left: 0; right: 0;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid #e2e6eb;
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.6rem 1rem; font-size: 0.95rem; }
  .header-actions { margin-left: 0; }
  .hero { padding: 3.5rem 1rem 0; }
  .section { padding: 3rem 1rem; }
  .stats-grid,
  .feature-grid,
  .metrics-split,
  .split-block,
  .metrics-grid { grid-template-columns: 1fr; }
  .split-block--reverse { direction: ltr; }
  .kit-grid { grid-template-columns: 1fr; }
}

/* ──────────────────────────────────────────────
   PRERESERVA
────────────────────────────────────────────── */

/* Hero */
.pr-hero {
  position: relative;
  background: var(--q-dark);
  color: var(--q-white);
  padding: 6rem 1.5rem 5rem;
  overflow: hidden;
  isolation: isolate;
}
.pr-hero-img {
  position: absolute;
  inset: 0;
  background: url("media/homecaref2.png") center/cover no-repeat;
  z-index: -2;
}
.pr-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(17,20,24,0.92) 0%, rgba(17,20,24,0.75) 50%, rgba(17,20,24,0.82) 100%);
  z-index: -1;
}
.pr-hero-inner { position: relative; z-index: 1; }
.pr-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0,168,240,0.15);
  border: 1px solid rgba(0,168,240,0.35);
  border-radius: 99px;
  padding: 0.3rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--q-blue);
  margin-bottom: 1.4rem;
  text-transform: uppercase;
}
.pr-hero-badge-pct {
  background: var(--q-blue);
  color: var(--q-white);
  border-radius: 99px;
  padding: 0.1rem 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-wrap: nowrap !important;
}
.pr-hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
  max-width: 680px;
}
.pr-hero-title em { font-style: normal; color: var(--q-blue); }
.pr-hero-desc {
  font-size: 1.05rem;
  color: var(--q-text);
  line-height: 1.72;
  max-width: 540px;
  margin-bottom: 2rem;
}
.pr-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.pr-hero-pill {
  font-size: 0.83rem;
  color: #b0b8c6;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 99px;
  padding: 0.28rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.pr-hero-pill::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--q-blue);
  flex-shrink: 0;
}
.pr-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--q-blue);
  color: var(--q-white);
  padding: 0.8rem 1.8rem;
  border-radius: var(--r);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: opacity 0.18s;
}
.pr-cta-btn:hover { opacity: 0.86; }

/* Formulario + pricing layout */
.pr-form-section { background: var(--q-light); }
.pr-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3.5rem;
  align-items: flex-start;
}
.pr-form-intro {
  font-size: 0.97rem;
  color: #4a5568;
  margin-bottom: 1.8rem;
  line-height: 1.65;
}

/* Grid helpers */
.pr-form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}
.pr-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Select */
.form-row select {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid #d0d5dd;
  border-radius: var(--r);
  font: inherit;
  font-size: 0.95rem;
  color: #111418;
  background: var(--q-white);
  outline: none;
  transition: border-color 0.18s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.2rem;
}
.form-row select:focus { border-color: var(--q-blue); }

.municipios-wrap {
  margin-top: 0.55rem;
}

.municipios-wrap label {
  font-size: 0.76rem;
  color: #657085;
  margin-bottom: 0.3rem;
}

/* Nota de pago */
.pr-payment-note {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  color: #5a6478;
  background: #eef6fe;
  border: 1px solid #c3e0f9;
  border-radius: var(--r);
  padding: 0.7rem 1rem;
  margin: 1.2rem 0;
}
.pr-sms-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: #2a4a2e;
  background: #edfaf3;
  border: 1px solid #7adcaa;
  border-radius: var(--r);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  line-height: 1.55;
}
.pr-sms-notice svg {
  flex-shrink: 0;
  margin-top: 0.12em;
  color: #27ae60;
}
.pr-delivery-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: #5a3a00;
  background: #fff8e1;
  border: 1px solid #f9d57a;
  border-left: 3px solid #f0a800;
  border-radius: var(--r);
  padding: 0.75rem 1rem;
  margin-bottom: 1.6rem;
  line-height: 1.55;
}
.pr-delivery-notice svg {
  flex-shrink: 0;
  margin-top: 0.15em;
  color: #f0a800;
}

/* Submit */
.pr-form-submit {
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.pr-form-submit:disabled {
  background: #b0c4d8;
  color: rgba(255,255,255,0.7);
  cursor: not-allowed;
  opacity: 1;
}
.pr-form-legal {
  font-size: 0.77rem;
  color: #8a93a2;
  margin-top: 0.9rem;
  line-height: 1.55;
}
.pr-privacy-link {
  color: var(--q-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.pr-privacy-link:hover { opacity: 0.8; }

/* ── Field validation ────────────────────────────────────────────────────── */
.field-hint {
  display: block;
  font-size: 0.78rem;
  color: #c0392b;
  margin-top: 0.3rem;
  min-height: 1.1em;
}
.form-row input.field-error,
.form-row select.field-error {
  border-color: #c0392b;
  background: #fff5f5;
}
.form-row input.field-error:focus,
.form-row select.field-error:focus {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192,57,43,.12);
}

/* ── Phone prefix widget ─────────────────────────────────────────────────── */
.phone-wrap {
  display: flex;
  gap: 0;
  border: 1px solid #d0d5dd;
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color 0.18s;
}
.phone-wrap:focus-within { border-color: var(--q-blue); }
.phone-wrap.field-error-wrap { border-color: #c0392b; background: #fff5f5; }
.phone-prefix {
  flex: 0 0 auto;
  width: auto;
  max-width: 110px;
  border: none;
  border-right: 1px solid #d0d5dd;
  background: #f4f6f9;
  padding: 0.65rem 1.6rem 0.65rem 0.5rem;
  font: inherit;
  font-size: 0.88rem;
  color: #111418;
  cursor: pointer;
  outline: none;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
}
.phone-wrap #telefono-num {
  flex: 1 1 auto;
  border: none;
  background: #ffffff;
  padding: 0.65rem 0.8rem;
  font: inherit;
  font-size: 0.95rem;
  color: #111418;
  outline: none;
  width: 0;
}
.phone-wrap #telefono-num.field-error { background: transparent; border: none; }
.req { color: var(--q-blue); font-size: 0.85em; }

/* Success & alert */
.pr-success {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #edfaf3;
  border: 1px solid #7adcaa;
  border-radius: var(--r);
  padding: 1.2rem 1.3rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: #1a4731;
}
.pr-success strong { display: block; margin-bottom: 0.3rem; font-weight: 600; }
.pr-success p { margin: 0; color: #2d6a4f; }
.pr-success-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: #7adcaa;
  color: #1a4731;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
}
.pr-qr {
  text-align: center;
  margin-bottom: 1.5rem;
}
.pr-qr-label {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.6rem;
}
.pr-qr img {
  display: block;
  margin: 0 auto;
  border: 1px solid #e0e0e0;
  border-radius: var(--r);
  padding: 8px;
  background: #fff;
}

/* ── Thank-you page ─────────────────────────────────────────────────────── */
.pr-thankyou-section {
  padding: 80px 0 60px;
  background: var(--q-light);
  min-height: calc(100vh - 64px);
}
.pr-thankyou-inner {
  max-width: 680px;
  text-align: center;
}
.pr-thankyou-check {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #1a7a4a;
  color: #fff;
  font-size: 2rem;
  line-height: 72px;
  margin: 0 auto 28px;
}
.pr-thankyou-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--q-dark);
  margin-bottom: 20px;
}
.pr-thankyou-lead {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.7;
  margin-bottom: 14px;
}
.pr-thankyou-text {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 14px;
}
.pr-thankyou-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #edfaf3;
  border: 1px solid #7adcaa;
  border-radius: var(--r);
  padding: 12px 18px;
  font-size: 0.9rem;
  color: #1a7a4a;
  margin: 24px auto;
  max-width: 500px;
}
.pr-thankyou-qr {
  margin-top: 32px;
}
.pr-thankyou-qr img {
  display: block;
  margin: 12px auto;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}
.pr-thankyou-qrlink {
  font-size: 0.82rem;
  color: #888;
  word-break: break-all;
  margin-top: 8px;
}
.pr-thankyou-qrlink a {
  color: var(--q-blue);
}
/* ── VIP badge (thank-you page) ─────────────────────────────────────────── */
.pr-thankyou-vip {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: linear-gradient(135deg, #1a1200 0%, #2a1f00 100%);
  border: 1px solid #f0a800;
  border-radius: 10px;
  padding: 18px 22px;
  margin: 24px auto 0;
  max-width: 600px;
  text-align: left;
  color: #f4e4a0;
  font-size: 0.95rem;
  line-height: 1.65;
}
.pr-thankyou-vip-star {
  font-size: 1.8rem;
  color: #f0a800;
  flex-shrink: 0;
  line-height: 1.1;
}
.pr-thankyou-vip strong {
  color: #f0d060;
  font-size: 1rem;
}
/* ── VIP code input ─────────────────────────────────────────────────────── */
.pr-vipcode-row {
  margin-top: 8px;
}
.pr-vipcode-optional {
  font-weight: 400;
  color: var(--q-muted);
  font-size: 0.85em;
}
.pr-vipcode-input {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 1.05rem;
  font-weight: 600;
  max-width: 160px;
  text-align: center;
}
.pr-smtp-log {
  margin-top: 32px;
  text-align: left;
  background: #0d1117;
  border: 1px solid #2a2f37;
  border-radius: 6px;
  padding: 16px 20px;
  width: 100%;
  max-width: 680px;
}
.pr-smtp-log strong {
  display: block;
  color: #f0a800;
  font-size: 0.85rem;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}
.pr-smtp-log pre {
  margin: 0;
  font-size: 0.78rem;
  color: #a8ff78;
  white-space: pre-wrap;
  word-break: break-all;
  line-height: 1.6;
}
.pr-alert {
  background: #fff3f2;
  border: 1px solid #f4b4b4;
  border-radius: var(--r);
  padding: 0.85rem 1.1rem;
  font-size: 0.9rem;
  color: #7a1c1c;
  margin-bottom: 1.2rem;
}

/* Pricing card */
.pr-pricing-col { position: sticky; top: 80px; }
.pr-pricing-card {
  background: var(--q-dark);
  color: var(--q-white);
  border-radius: 14px;
  border: 1px solid var(--q-border);
  padding: 2rem;
  overflow: hidden;
}
.pr-pricing-tag {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--q-blue);
  margin-bottom: 0.6rem;
}
.pr-pricing-discount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--q-blue);
  color: var(--q-white);
  font-size: 1.6rem;
  font-weight: 700;
  border-radius: 99px;
  padding: 0.15rem 1rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  margin-bottom: 1.2rem;
}
.pr-pricing-prices { margin-bottom: 0.3rem; }
.pr-price-old {
  font-size: 1rem;
  color: var(--q-muted);
  text-decoration: line-through;
  margin-bottom: 0.2rem;
}
.pr-price-old span { font-size: 0.8rem; }
.pr-price-main {
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--q-white);
  letter-spacing: -0.02em;
  line-height: 1;
}
.pr-price-main span {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--q-muted);
}
.pr-price-day {
  font-size: 0.82rem;
  color: var(--q-muted);
  margin-top: 0.5rem;
}
.pr-pricing-sep {
  height: 1px;
  background: var(--q-border);
  margin: 1.5rem 0;
}
.pr-includes-title {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--q-muted);
  margin-bottom: 1.1rem;
}
.pr-includes-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}
.pr-includes-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: var(--q-text);
  line-height: 1.5;
}
.pr-includes-list li strong {
  display: block;
  color: var(--q-white);
  font-weight: 500;
  font-size: 0.92rem;
}
.pr-inc-icon {
  font-size: 1.2rem;
  min-width: 1.5rem;
  text-align: center;
  margin-top: 1px;
}
.pr-pricing-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 1rem;
  opacity: 0.88;
}

/* Responsive */
@media (max-width: 980px) {
  .pr-layout { grid-template-columns: 1fr; }
  .pr-pricing-col { position: static; }
  .pr-form-row-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .pr-hero { padding: 4rem 1rem 3.5rem; }
  .pr-form-row-3,
  .pr-form-row-2 { grid-template-columns: 1fr; }
}

