/* =========================
   VARIABLES
   ========================= */
:root {
  /* Brand colors */
  --color-navy: #222B54;
  --color-navy-soft: #1a2246;
  --color-coral: #EA4F49;
  --color-gray-light: #EAEAEA;

  /* Tokens de interfaz */
  --bg: #222B54;
  --bg-alt: var(--color-navy-soft);

  --text: #ffffff;
  --text-muted: var(--color-gray-light);

  --card-bg: rgba(10, 14, 40, 0.683);
  --border-subtle: rgba(234, 234, 234, 0.18);
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.65);

  --primary: var(--color-coral);
  --primary-soft: rgba(234, 79, 73, 0.18);
  --accent: #ff6b63;
}

/* =========================
   RESET & BASE
   ========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: radial-gradient(circle at top, rgba(234, 234, 234, 0.06), transparent 45%);
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.section p {
  color: var(--text-muted);
  text-align: left; /* antes justificado: dejaba espacios desiguales entre palabras */
}

/* Grid general para secciones */
.section-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .section-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
  }
}

/* Secciones full-screen (About, H-TecTime, etc.) */
.section-full {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.section-full .container {
  width: 100%;
}

.w-full {
  width: 100%;
}

/* =========================
   BOTONES
   ========================= */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #020617;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.85);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.95);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary-soft);
}



/* =========================
   NAV ICONS 
   ========================= */
.icon-about   { background-image: url("../icons/about.png"); }
.icon-time    { background-image: url("../icons/time.png"); }
.icon-services{ background-image: url("../icons/services.png"); }
.icon-contact { background-image: url("../icons/contact.png"); }
.icon-tickets { background-image: url("../icons/tickets.png"); }

.side-nav {
  position: fixed;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  z-index: 1000;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
/* Estado oculto cuando no estamos en el hero */
.side-nav.is-hidden {
  opacity: 0;
  transform: translate(-20px, -50%);
  pointer-events: none;
}

.side-nav a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

/* Hover glow coral */
.side-nav a:hover {
  background: var(--primary-soft);
  border-color: var(--color-coral);
  box-shadow: 0 0 16px rgba(234, 79, 73, 0.55);
}

.side-nav i {
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.7;
  transition: opacity 0.25s ease;
}

.side-nav a:hover i {
  opacity: 1;
}

/* Tooltip con el nombre de la sección */
.side-nav a::after {
  content: attr(data-label);
  position: absolute;
  left: 60px;
  white-space: nowrap;
  padding: 0.35rem 0.75rem;
  background: #ea4e498c;;
  color: white;
  border-radius: 0.5rem;
  font-size: 0.90rem;
  letter-spacing: 0.03em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  transform: translateX(-4px);
}

.side-nav a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Pantallas medianas y celular: no cabe al lado del contenido → barra abajo al centro */
@media (max-width: 1250px) {
  .side-nav {
    top: auto;
    bottom: 1.1rem;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    gap: 0.4rem;
    padding: 0.35rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  }

  .side-nav a {
    width: 44px;
    height: 44px;
    border-color: transparent;
    background: transparent;
  }

  /* se esconde al bajar y vuelve al subir */
  .side-nav.is-tucked {
    opacity: 0;
    transform: translate(-50%, 140%);
    pointer-events: none;
  }

  /* En móvil quitamos el tooltip de texto */
  .side-nav a::after {
    display: none;
  }
}


/* =========================
   HERO
   ========================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 1.5rem 0 3rem;
  overflow: hidden;
  background-image: url("../img/bg-tech.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, var(--primary-soft), transparent 55%),
    radial-gradient(circle at bottom right, rgba(34, 43, 84, 0.85), transparent 60%);
  opacity: 0.96;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.hero-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(450px, 70vw);
  height: auto;
  margin: 0 auto 0.75rem;
  border-radius: 2px;
}

.hero-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.hero h1 {
  white-space: normal;
  font-size: clamp(1.5rem, 5vw, 1.5rem);
}

.hero p {
  max-width: 600px;
  margin: 0.5rem auto 2rem;
  color: var(--text-muted);
}

@media (min-width: 1200px) {
  .hero-content {
    max-width: 1100px;
  }

  .hero h1 {
    white-space: nowrap;
    font-size: 2rem;
  }
}

/* =========================
    ABOUT 
   ========================= */
/* Fondo con imagen y parallax */
#about {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background-image: url("../img/about-bg.webp");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Capa oscura */
#about::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.75) 40%,
    rgba(0, 0, 0, 0.85) 100%
  );
}

/* Contenido por encima del overlay */
#about .container {
  position: relative;
  z-index: 1;
}

#about h2 {
  color: var(--color-coral);
}

#about p,
#about .founder-quote {
  color: var(--text-muted);
}

/* Layout full-screen en escritorio */
@media (min-width: 992px) {
  #about.section-full {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
  }

  #about.section-full .container {
    width: 100%;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  #about .section-grid {
    align-items: center;
  }
}

/* Gráfico animado */
.about-graphic {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatUp 3s ease-in-out infinite;
}

.chip {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 36px;
  border: 1px transparent var(--primary);
  box-shadow: 0 0 50px var(--primary-soft), inset 0 0 32px rgba(115, 141, 201, 0);
  background: radial-gradient(circle at top, rgba(34, 43, 84, 0.003), #222B54);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: chipPulse 6s ease-in-out infinite;
  will-change: transform, box-shadow;
}

/* ring de energía */
.chip::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 32px;
  border: 1px solid rgba(234, 79, 73, 0.5);
  opacity: 0;
  transform: scale(1);
  pointer-events: none;
}

.chip.ping::after {
  animation: chipRing 0.6s ease-out forwards;
}

/* texto que rota */
.chip-value {
  color: var(--color-coral);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 0 0.8rem;
  line-height: 1.4;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.chip-value.fade-out {
  opacity: 0;
  transform: translateY(6px);
}

.orbit {
  position: absolute;
  border-radius: 999px;
}

.orbit-1 {
  width: 260px;
  height: 260px;
  border: 1px dashed rgba(234, 234, 234, 0.4);
  animation: orbitRotate 18s linear infinite;
  transform-origin: center center;
}

.orbit-2 {
  width: 320px;
  height: 320px;
  border: 1.4px dashed var(--primary-soft);
  border-radius: 100px;
  animation: orbitRotate 18s linear infinite reverse;
  transform-origin: center center;
  
}

.about-graphic:hover .chip {
  transform: rotateX(6deg) rotateY(-6deg) scale(1.02);
  transition: transform 0.25s ease;
}

@media (min-width: 768px) {
  .about-graphic {
    transform: scale(1.2);
  }
}

/* Animación de aparición del texto */
#about .container > div:first-child {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUpAbout 0.7s ease-out forwards;
  animation-delay: 0.15s;
}

/* Badges y pills de highlights */
.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.7rem;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(234, 79, 73, 0.12);
  color: var(--primary);
  opacity: 0;
  transform: translateY(-6px);
  animation: badgeIn 0.6s ease-out forwards;
  animation-delay: 0.1s;
}

.about-highlights {
  margin-top: 1.8rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

@media (min-width: 768px) {
  .about-highlights {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.about-pill {
  padding: 1rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(234, 234, 234, 0.16);
  background: rgba(27, 35, 71, 0.9);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}

.about-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6);
  border-color: var(--primary-soft);
}

/* Animaciones keyframes About */
@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
}

@keyframes chipPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 0 50px var(--primary-soft),
      inset 0 0 32px rgba(15, 23, 42, 0.9);
  }
  50% {
    transform: scale(1.03);
    box-shadow:
      0 0 70px var(--primary-soft),
      inset 0 0 40px rgba(15, 23, 42, 0.95);
  }
}

@keyframes orbitRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes chipRing {
  0% {
    opacity: 0.6;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(234, 79, 73, 0.3);
  }
  100% {
    opacity: 0;
    transform: scale(1.25);
    box-shadow: 0 0 0 16px rgba(234, 79, 73, 0);
  }
}

@keyframes fadeUpAbout {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes badgeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*.................*/

/* About actions */
.about-actions{
  margin-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.about-btn {
  border: 1px solid rgba(234, 234, 234, 0.18);
  background: rgba(27, 35, 71, 0.82);
  color: var(--color-coral);
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.80rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.about-btn:hover {
  transform: translateY(-2px);
  border-color: var(--primary-soft);
  box-shadow: 0 14px 30px rgba(0,0,0,0.45);
}

.about-btn:active {
  transform: translateY(0px) scale(0.98);
}

/* ===== Modal base ===== */
.modal{
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 9999;

  /* hidden */
  opacity: 0;
  pointer-events: none;

  /* velocidad global del modal */
  --dur: 700ms; 
  --ease: cubic-bezier(.2,.8,.2,1);
}

.modal__dialog h3 {
  margin: 0 0 0.75rem 0;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-coral);
}

.modal.is-open{
  opacity: 1;
  pointer-events: auto;
}

.modal__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.68);
  backdrop-filter: blur(4px);
  transition: opacity var(--dur) var(--ease);
  opacity: 0;
}

.modal.is-open .modal__overlay{
  opacity: 1;
}

/* Dialog animación (desde el botón) */
.modal__dialog{
  position: relative;
  width: min(720px, calc(100vw - 2rem));
  border-radius: 20px;
  border: 1px solid rgba(234,234,234,.14);
  background: rgba(10, 14, 28, 0.92);
  box-shadow: 0 30px 90px rgba(0,0,0,.65);
  padding: 1.4rem 1.4rem 1.2rem;

  /* Estado cerrado (antes de abrir) */
  transform: translate(var(--from-x, 0px), var(--from-y, 0px)) scale(0.78);
  opacity: 0;

  transition:
    transform var(--dur) var(--ease),
    opacity calc(var(--dur) - 120ms) var(--ease);

  will-change: transform, opacity;
}

/* Estado abierto */
.modal.is-open .modal__dialog{
  transform: translate(0px, 0px) scale(1);
  opacity: 1;
}

/* Estado cerrando (vuelve al botón) */
.modal.is-closing .modal__dialog{
  transform: translate(var(--from-x, 0px), var(--from-y, 0px)) scale(0.78);
  opacity: 0;
}

/* Close button */
.modal__close{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(234,234,234,.12);
  background: rgba(255,255,255,.06);
  color: #fff;
  cursor: pointer;
}


/* =========================
   CARDS GENERALES
   ========================= */
.cards {
  display: grid;
  gap: 1.5rem;
  margin: 0 auto;
}

.card {
  background: var(--card-bg);
  border-radius: 1.5rem;
  padding: 1.8rem 1.4rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
}

/* =========================
   FOUNDER
   ========================= */
.founder-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .founder-grid {
    grid-template-columns: 380px 1fr;
  }
}

.founder-photo img {
  width: 100%;
  max-width: 360px;
  border-radius: 1.5rem;
  border: 2px solid var(--primary-soft);
  box-shadow: var(--shadow-soft);
}

.founder-info h2 {
  margin-bottom: 0.75rem;
}

.founder-info h3 {
  margin-top: 0;
  font-size: 1.4rem;
  color: var(--primary);
}

.founder-info p {
  max-width: 580px;
  margin-bottom: 1.5rem;
}

.founder-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.founder-badges span {
  background: var(--primary-soft);
  color: var(--primary);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.founder-snippet {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(234, 234, 234, 0.18);
}

.founder-snippet h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: var(--primary);
}

.founder-quote {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 540px;
  position: relative;
  padding-left: 1.2rem;
}

.founder-quote::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -0.2rem;
  font-size: 1.6rem;
  color: var(--primary);
  opacity: 0.5;
}

/* =========================
   H-TECTIME (SECCIÓN PRODUCTO)
   ========================= */

#htectime {
  position: relative;
  overflow: hidden;
}



@media (min-width: 992px) {
  #htectime.section-full {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
  }

  #htectime.section-full .container {
    width: 100%;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.htectime-copy h2 {
  margin-bottom: 1.5rem;
}

.htectime-copy p {
  max-width: 620px;
}

/* Lista de bullets H-TecTime */
#htectime .feature-list {
  margin-top: 1.2rem;
  margin-bottom: 2rem;
  list-style: disc;
  padding-left: 1.2rem;
}

/* Botones */
.feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Card del producto con logo */
.htectime-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.htectime-card .product-logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 1.5rem;
}

/* Responsive móvil */
@media (max-width: 767px) {
  #htectime.section-full {
    min-height: auto;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .feature-actions {
    flex-direction: column;
  }
}

/* Nota de trial */
.trial-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.trial-note a {
  color: var(--color-coral);
  font-weight: 600;
  text-decoration: none;
}

.trial-note a:hover {
  text-decoration: underline;
}

/* Store badges (App Store / Google Play) */
.store-badges {
  margin-top: 1.8rem;
  text-align: center;
}

.store-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.store-badges-row {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  align-items: center;
}

.store-link img {
  height: 34px;
  width: auto;
  display: block;
}

@media (max-width: 480px) {
  .store-badges-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .store-link img {
    height: 30px;
  }
}

/* =========================
   FEATURE (CARD LADO DERECHO H-TECTIME)
   ========================= */
.feature {
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: "";
  position:absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
      rgba(34, 115, 255, 0.726),
    transparent 50%
  );
  opacity: 0.9;
  pointer-events: none;
}

.feature .container {
  position: relative;
  z-index: 1;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.feature-list li {
  margin-bottom: 0.35rem;
}

.feature-card {
  background: var(--card-bg);
  border-radius: 0 1.5rem  1.5rem  1.5rem ;
  padding: 1.8rem 1.5rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.feature-card h3 {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--primary-soft);
  color: var(--primary);
}

/* =========================
   STATS STRIP (H-TECTIME)
   ========================= */
.stats-strip {
  position: relative;
  padding: 2rem 0 1.5rem;
  margin-top: 0;
  background: transparent;
}


.stats-strip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;          
  height: 80px;         
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.6) 60%,
    #000 100%
  );
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
}

.stat-item {
  position: relative;
  padding: 0.5rem 0 0.8rem;
}

@media (min-width: 769px) {
  .stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 10%;
    right: -1.25rem;
    width: 1px;
    height: 80%;
    background: rgba(234, 234, 234, 0.25);
  }
}

/* etiqueta pequeña en coral */
.stat-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-coral);
  margin-bottom: 0.35rem;
}

/* número principal grande, blanco */
.stat-value {
  display: block;
  font-size: 2.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

/* línea coral debajo del número */
.stat-value::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin: 0.35rem auto 0;
  background: linear-gradient(90deg, var(--color-coral), rgba(234,79,73,0));
  opacity: 0.9;
}

/* rating (tercera métrica) */
.rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  margin-top: 0.15rem;
}

.rating-score {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
}

.rating-stars {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: #ffffff;
}

.rating-note {
  margin-top: 0.2rem;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.stat-item:hover .stat-value::after {
  width: 60px;
  box-shadow: 0 0 12px rgba(234, 79, 73, 0.65);
  transition: all 0.2s ease;
}

/* =========================
   SERVICES
   ========================= */
#services {
  position: relative;
  overflow: hidden;
  background-image: url("../img/services-bg.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  padding: 3rem 0 3rem;
  min-height: 460px;
}

/* capa de viñeta */
#services::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.10) 0%,
    rgba(0, 0, 0, 0.35) 55%,
    rgba(0, 0, 0, 0.75) 100%
  );
  pointer-events: none;
  z-index: 0;
}

#services .container {
  position: relative;
  z-index: 1;
}

/* parallax solo en desktop */
@media (min-width: 992px) {
  #services {
    background-attachment: fixed;
  }
}

@media (max-width: 991px) {
  #services {
    background-attachment: scroll;
    background-position: center top;
    min-height: auto;
  }
}

/* cards de servicios */
#services .cards {
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 900px) {
  #services .cards {
    grid-template-columns: repeat(3, minmax(260px, 1fr));
  }
}

#services .card {
  background: var(--card-bg);
  border-radius: 1.6rem;
  padding: 1.9rem 1.6rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  position: relative;
  overflow: hidden;
}

/* línea coral lateral */
#services .card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border-left: 3px solid var(--color-coral);
  opacity: 0.9;
  pointer-events: none;
}

#services .card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-coral);
}


#services .card p {
  color: var(--text-muted);
}

#services .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.65);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* =========================
    FORMULARIOS
   ========================= */
.form {
  background: var(--card-bg);
  border-radius: 1.5rem;
  padding: 1.8rem 1.5rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border-radius: 0.9rem;
  border: 1px solid rgba(234, 234, 234, 0.25);
  background: rgba(34, 43, 84, 0.95);
  color: var(--text);
  padding: 0.7rem 0.9rem;
  font-family: inherit;
  font-size: 0.9rem;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary-soft);
}



/* =========================
   Botón flotante para volver arriba 
   ========================= */
.scroll-top {
  position: fixed;
  right: 1.8rem;
  bottom: 1.8rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--color-coral);
  background: radial-gradient(circle at top, var(--primary-soft), #0b1027);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.2s ease;
  z-index: 1000;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75);
}


/* =========================
   FOOTER
   ========================= */
.footer {
  background: var(--color-coral);
  color: #020617;
  padding: 0.75rem 0 0.9rem;
  font-size: 0.8rem;
}

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* IZQUIERDA: correo + redes en columna */
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
}

.footer-email {
  font-weight: 500;
}

/* CENTRO: ocupa espacio y centra texto */
.footer-copy {
  flex: 1;
  text-align: center;
  margin: 0;
}

/* DERECHA: solo equilibra el layout */
.footer-spacer {
  width: 60px; 
}

/* Enlaces */
.footer a {
  color: #020617;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.15s ease;
}

.footer a:hover {
  opacity: 1;
}

/* Redes con círculo blanco */
.footer-social {
  display: flex;
  gap: 0.5rem;
}

.footer-social a {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.footer-social a:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.24);
  opacity: 0.95;
}

.footer-social img {
  width: 16px;
  height: 16px;
  display: block;
}

/* Móvil: todo centrado en columna */
@media (max-width: 768px) {
  .footer-bar {
    flex-direction: column;
    align-items: center;
  }

  .footer-contact {
    align-items: center;
  }

  .footer-spacer {
    display: none;
  }
}



/* =========================
   LANGUAGE SWITCHER
   ========================= */

.lang-switcher {
  position: fixed;
  top: 1.5rem;
  right: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  z-index: 1200;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* enlaces ES / EN */
.lang-option {
  position: relative;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;

  color: rgba(255, 255, 255, 0.75);
  padding: 0.12rem 0.2rem;

  transition: color 0.2s ease;
}

/* barrita inferior al hacer hover / activo */
.lang-option::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.2rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffffff34, var(--color-coral));
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lang-option:hover {
  color: #ffffff;
}

.lang-option:hover::after {
  opacity: 0.85;
  transform: scaleX(1);
}

/* idioma activo */
.lang-option.is-active {
  color: #ffffff;
}

.lang-option.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

/* línea fina entre ES y EN */
.lang-separator {
  width: 1px;
  height: 0.9rem;
  background: rgba(255, 255, 255, 0.14);
}

.lang-switcher.is-hidden {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

/* en móvil lo hacemos un poco más pequeño */
@media (max-width: 768px) {
  .lang-switcher {
    top: 1rem;
    right: 1rem;
    left: auto;         
    transform: none;  
  }


  .lang-option {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }
}

/* =========================
   CONTACT & SUPPORT LAYOUT
   ========================= */

   /* CONTACT DETAILS (lado izquierdo). */

.contact-details {
  margin-top: 1.8rem;
  display: grid;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-item a {
  color: inherit;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Iconitos redondos */
.contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(234, 79, 73, 0.12);
  font-size: 1rem;
}


.contact-details {
  margin-top: 1.8rem;
  display: grid;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-item a {
  color: inherit;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Contenedor redondo del icono */
.contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(234, 79, 73, 0.12);
}

/* La imagen del icono dentro */
.contact-icon img {
  width: 16px;      
  height: 16px;
  object-fit: contain;
  display: block;
}


/* Secciones a pantalla completa*/
/* Contact + Support full-screen layout */
#contact.section-full,
#support.section-full {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
}

#contact.section-full .container,
#support.section-full .container {
  width: 100%;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

/* Fondo de Contact */
#contact.section-full {
  background: #0b1120; 
}


/* Grid: texto izquierda, formulario derecha */
.contact-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

/* Columna de texto */
.contact-copy h2 {
  font-size: 2.3rem;
  margin-bottom: 1.2rem;
}

.contact-copy p {
  max-width: 420px;
}

/*  CARD ÚNICO PARA FORMULARIOS */


.contact-card {
  background: transparent;
  border-radius: 0;
  border: none;
  box-shadow: none;
  padding: 0;
}

.contact-card .form {
  background: var(--card-bg);
  border-radius: 1.6rem;
  padding: 1.8rem 1.6rem 1.1rem; 
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* Inputs y textarea*/
.contact-card .form input,
.contact-card .form textarea,
.contact-card .form select {
  padding: 0.8rem 1rem;
}

.contact-card .form textarea {
  min-height: 100px;  
}


/* Solo botón de la sección Contact */
#contact .btn-primary {
  font-size: 1.05rem;
  text-transform: none;
  letter-spacing: 0.03em;
}

.form-status {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.status-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.status-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}



#support.section-full.section-alt {
  background:
    
    radial-gradient(
      circle at top,
      rgba(253, 253, 253, 0.046),
      transparent 40%
    ),
    linear-gradient(
      to bottom,
      #0b1120 0%,   
      #05081885 45%,  
      #00000029 80%  
    );
}

#contact,
#support {
  margin: 0;
}

#support h2 {
  margin-top: 0;
}





/* RESPONSIVE (MÓVIL) */
@media (max-width: 768px) {
  #contact.section-full,
  #tickets.section-full {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-card .form {
    padding: 1.6rem 1.4rem;
    border-radius: 1.4rem;
  }

  .contact-copy h2 {
    font-size: 1.9rem;
  }
}

/* =========================
   Btn - Founder
   ========================= */
.btn-founder{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;

  margin-top: 1.4rem;
  padding: 0.6rem 1.1rem;

  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;

  color: #fff;
  background: linear-gradient(
    135deg,
    rgba(234, 78, 73, 0.312),
    rgba(234,79,73,0.75)
  );

  border-radius: 999px;
  box-shadow:
    0 6px 20px rgba(234,79,73,0.25),
    inset 0 0 0 1px rgba(255,255,255,0.15);

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    filter .2s ease;
}

/* hover */
.btn-founder:hover{
  transform: translateY(-2px);
  box-shadow:
    0 12px 32px rgba(234,79,73,0.35),
    inset 0 0 0 1px rgba(255,255,255,0.25);
  filter: brightness(1.05);
}

/* active  */
.btn-founder:active{
  transform: translateY(0);
  box-shadow:
    0 6px 18px rgba(234,79,73,0.25);
}

/* accesibilidad */
.btn-founder:focus-visible{
  outline: none;
  box-shadow:
    0 0 0 3px rgba(234,79,73,0.35),
    0 12px 32px rgba(234,79,73,0.35);
}



/* Honeypot anti-spam (invisible para personas) */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* =========================
   MOCKUPS: navegador + teléfono
   ========================= */
.mock-browser {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.03);
}

.mock-browser__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: #1e293b;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.mock-browser__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mock-browser__bar span:nth-child(1) { background: #ff5f57; }
.mock-browser__bar span:nth-child(2) { background: #febc2e; }
.mock-browser__bar span:nth-child(3) { background: #28c840; }

.mock-browser__bar em {
  margin-left: 10px;
  padding: 2px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  font-style: normal;
  font-size: 0.72rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-browser img {
  display: block;
  width: 100%;
  height: auto;
}

.mock-zoom {
  display: block;
  cursor: zoom-in;
}

.mock-zoom img {
  transition: transform 0.4s ease;
}

.mock-zoom:hover img {
  transform: scale(1.015);
}

.mock-phone {
  margin: 0;
  width: 200px;
  padding: 6px;
  border-radius: 30px;
  background: #0b1120;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.75);
}

.mock-phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

@media (max-width: 520px) {
  .mock-browser__bar em {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mock-zoom img {
    transition: none;
  }
}

/* =========================
   HERO: fondo más oscuro detrás del texto, segundo botón y animación de entrada
   ========================= */
/* sombra suave detrás del texto para que se lea mejor sobre la ilustración */
.hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 52%, rgba(2, 6, 23, 0.62), transparent 75%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.15), rgba(2, 6, 23, 0.35));
}

.hero h1 {
  text-shadow: 0 2px 18px rgba(2, 6, 23, 0.6);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.btn-hero-alt {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(6px);
}

.btn-hero-alt span {
  margin-left: 0.4rem;
  color: var(--color-coral);
  transition: transform 0.2s ease;
}

.btn-hero-alt:hover {
  border-color: var(--color-coral);
  background: rgba(234, 79, 73, 0.14);
}

.btn-hero-alt:hover span {
  transform: translateX(3px);
}

/* entrada: logo → título → botones */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

@keyframes heroLogoIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: none; }
}

.hero-logo {
  animation: heroLogoIn 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero h1 {
  animation: heroIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.45s both;
}

.hero-actions {
  animation: heroIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.8s both;
}

@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: min(320px, 100%);
    margin-left: auto;
    margin-right: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo,
  .hero h1,
  .hero-actions {
    animation: none;
  }
}


/* Menú lateral: sección actual con aro coral y brillo; el ícono queda intacto */
.side-nav a.is-active {
  background: rgba(15, 23, 42, 0.9);
  border: 2px solid var(--color-coral);
  box-shadow: 0 0 0 4px rgba(234, 79, 73, 0.18), 0 0 18px rgba(234, 79, 73, 0.5);
  transform: scale(1.08);
}

.side-nav a.is-active i {
  opacity: 1;
}

/* rayita indicadora a la izquierda del círculo */
.side-nav a::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 4px;
  height: 0;
  border-radius: 4px;
  background: var(--color-coral);
  transform: translateY(-50%);
  transition: height 0.25s ease;
}

.side-nav a.is-active::before {
  height: 22px;
}

/* en la barra de abajo, la rayita va debajo del círculo */
@media (max-width: 1250px) {
  .side-nav a::before {
    left: 50%;
    top: auto;
    bottom: -5px;
    width: 0;
    height: 3px;
    transform: translateX(-50%);
    transition: width 0.25s ease;
  }

  .side-nav a.is-active::before {
    width: 16px;
    height: 3px;
  }

  .side-nav a.is-active {
    transform: none;
  }
}

@media (max-width: 400px) {
  .side-nav a {
    width: 40px;
    height: 40px;
  }
}

/* =========================
   SOBRE NOSOTROS (rediseño)
   ========================= */
#about .container > div:first-child {
  /* la entrada ahora la maneja [data-reveal] */
  opacity: 1;
  transform: none;
  animation: none;
}

.about-grid {
  align-items: center;
}

.about-loc {
  margin: -0.4rem 0 1.2rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55) !important;
}

#about .about-lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #e5e7eb;
}

#about .about-lead strong {
  color: #fff;
}

/* valores en fila */
.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.about-values li {
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(234, 79, 73, 0.45);
  background: rgba(234, 79, 73, 0.1);
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

/* gráfico: logo al centro y lo que hacemos alrededor */
.about-graphic {
  min-height: 360px;
  animation: none;
}

.about-core {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  /* sin tarjeta: solo un brillo coral detrás del logo */
  background: radial-gradient(circle, rgba(234, 79, 73, 0.28), rgba(234, 79, 73, 0.08) 45%, transparent 70%);
  animation: aboutCore 5s ease-in-out infinite;
}

.about-core img {
  width: 108px;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.5));
}

@keyframes aboutCore {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.orbit-tag {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.8rem;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
  animation: tagFloat 4s ease-in-out infinite;
}

.orbit-tag--1 { top: 8%;  left: 8%;  animation-delay: 0s; }
.orbit-tag--2 { top: 14%; right: 4%; animation-delay: 0.8s; }
.orbit-tag--3 { bottom: 16%; left: 2%; animation-delay: 1.6s; }
.orbit-tag--4 { bottom: 8%; right: 10%; animation-delay: 2.4s; }

/* H-TecTime con su azul */
.orbit-tag--ht {
  top: 50%;
  right: -2%;
  border-color: rgba(90, 162, 255, 0.6);
  background: rgba(34, 114, 255, 0.25);
  animation-delay: 1.2s;
}

.orbit-tag--ht svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #5aa2ff;
  stroke-width: 2;
  stroke-linecap: round;
}

@keyframes tagFloat {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -6px; }
}

/* misión, visión y CEO */
.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 1.2rem;
  margin-top: 2.6rem;
}

.about-card {
  position: relative;
  padding: 1.4rem 1.4rem 1.3rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
}

.about-card h3 {
  margin: 0 0 0.5rem;
  color: var(--color-coral);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#about .about-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
}

.about-card--ceo {
  border-color: rgba(234, 79, 73, 0.4);
  background: linear-gradient(160deg, rgba(234, 79, 73, 0.14), rgba(15, 23, 42, 0.8) 55%);
}

.about-card__quote-mark {
  position: absolute;
  top: -0.6rem;
  left: 1.1rem;
  color: var(--color-coral);
  font-family: Georgia, serif;
  font-size: 4.2rem;
  line-height: 1;
}

.about-card--ceo blockquote {
  margin: 0.8rem 0 0.9rem;
  color: #e5e7eb;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.6;
}

#about .about-card__who {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.about-card__who strong {
  color: #fff;
}

.about-card__link {
  display: inline-flex;
  gap: 0.35rem;
  margin-top: 0.8rem;
  color: var(--color-coral);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.about-card__link span {
  transition: transform 0.2s ease;
}

.about-card__link:hover span {
  transform: translateX(4px);
}

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

@media (max-width: 520px) {
  .about-graphic {
    min-height: 300px;
    transform: scale(0.9);
  }

  .orbit-tag {
    font-size: 0.72rem;
    padding: 0.32rem 0.7rem;
  }
}

/* entrada al bajar: texto → gráfico → tarjetas */
[data-reveal] .about-graphic,
[data-reveal] .about-card {
  opacity: 0;
  translate: 0 18px;
  transition: opacity 0.6s ease, translate 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-reveal].is-visible .about-copy > *,
[data-reveal].is-visible .about-graphic,
[data-reveal].is-visible .about-card {
  opacity: 1;
  translate: 0 0;
}

[data-reveal] .about-copy > * {
  opacity: 0;
  translate: 0 18px;
  transition: opacity 0.6s ease, translate 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-reveal].is-visible .about-copy > *:nth-child(2) { transition-delay: 0.08s; }
[data-reveal].is-visible .about-copy > *:nth-child(3) { transition-delay: 0.16s; }
[data-reveal].is-visible .about-copy > *:nth-child(4) { transition-delay: 0.24s; }
[data-reveal].is-visible .about-copy > *:nth-child(5) { transition-delay: 0.32s; }
[data-reveal].is-visible .about-copy > *:nth-child(6) { transition-delay: 0.4s; }
[data-reveal].is-visible .about-graphic { transition-delay: 0.35s; }
[data-reveal].is-visible .about-card:nth-child(1) { transition-delay: 0.55s; }
[data-reveal].is-visible .about-card:nth-child(2) { transition-delay: 0.7s; }
[data-reveal].is-visible .about-card:nth-child(3) { transition-delay: 0.85s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] .about-copy > *,
  [data-reveal] .about-graphic,
  [data-reveal] .about-card {
    opacity: 1;
    translate: none;
    transition: none;
  }

  .about-core,
  .orbit-tag,
  .orbit-1,
  .orbit-2 {
    animation: none;
  }
}


/* etiqueta H-TecTime del gráfico: es un enlace a htectime.com */
a.orbit-tag--ht {
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

a.orbit-tag--ht:hover {
  background: rgba(34, 114, 255, 0.55);
  border-color: #5aa2ff;
  box-shadow: 0 0 22px rgba(34, 114, 255, 0.55);
}

.orbit-tag__arrow {
  font-size: 0.75rem;
  color: #5aa2ff;
  transition: transform 0.2s ease, color 0.2s ease;
}

a.orbit-tag--ht:hover .orbit-tag__arrow {
  color: #fff;
  transform: translate(2px, -2px);
}


/* =========================
   H-TECTIME en la página de H Solutech: corto, en azul, lleva a htectime.com
   ========================= */
.ht-promo-grid {
  align-items: center;
}

.ht-promo-eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5aa2ff !important;
}

#htectime .htectime-copy > p:not(.ht-promo-eyebrow):not(.ht-promo-note) {
  font-size: 1.08rem;
  line-height: 1.65;
  color: #dbe3f0;
}

.ht-promo-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin: 1.2rem 0 1.8rem;
  padding: 0;
  list-style: none;
}

.ht-promo-list li {
  position: relative;
  padding-left: 1.4rem;
  color: #e5e7eb;
}

.ht-promo-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #5aa2ff;
  font-weight: 700;
}

/* botones en el azul de H-TecTime */
.btn-ht {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  border: 1px solid #2272ff;
  background: #2272ff;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(34, 114, 255, 0.35);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn-ht:hover {
  transform: translateY(-2px);
  background: #3a82ff;
  box-shadow: 0 18px 40px rgba(34, 114, 255, 0.45);
}

.btn-ht--ghost {
  background: transparent;
  border-color: rgba(90, 162, 255, 0.7);
  color: #fff;
  box-shadow: none;
}

.btn-ht--ghost span {
  color: #5aa2ff;
  transition: transform 0.2s ease;
}

.btn-ht--ghost:hover {
  background: rgba(34, 114, 255, 0.18);
  box-shadow: none;
}

.btn-ht--ghost:hover span {
  transform: translate(2px, -2px);
}

.ht-promo-note {
  margin: 0.9rem 0 0;
  font-size: 0.85rem;
  color: rgba(219, 227, 240, 0.7) !important;
}

/* tarjeta: logo, celular y tiendas */
.ht-promo-card {
  align-items: center;
  gap: 1.3rem;
  padding: 1.8rem 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(90, 162, 255, 0.3);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(11, 18, 38, 0.92));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  isolation: isolate;
  position: relative;
}

.ht-promo-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 30%;
  left: 50%;
  width: 280px;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(34, 114, 255, 0.35), transparent 65%);
}

.htectime-card.ht-promo-card .product-logo {
  max-width: 170px;
  margin: 0;
}

.ht-promo-card .mock-phone {
  width: 180px;
  padding: 5px;
  border-radius: 28px;
  transform: rotate(-3deg);
}

.mock-phone--slides {
  display: grid;
}

.mock-phone--slides img {
  grid-area: 1 / 1;
  border-radius: 22px;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.mock-phone--slides img.is-active {
  opacity: 1;
}

.ht-promo-stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1rem 0.45rem 0.7rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: #000;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.store-btn:hover {
  transform: translateY(-2px);
  border-color: #5aa2ff;
}

.store-btn img {
  width: 24px;
  height: 24px;
}

.store-btn span {
  display: flex;
  flex-direction: column;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.1;
}

.store-btn small {
  font-size: 0.62rem;
  font-weight: 400;
  opacity: 0.8;
}

/* entrada al bajar: texto → tarjeta */
[data-reveal] .htectime-copy,
[data-reveal] .ht-promo-card {
  opacity: 0;
  translate: 0 20px;
  transition: opacity 0.6s ease, translate 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-reveal].is-visible .htectime-copy,
[data-reveal].is-visible .ht-promo-card {
  opacity: 1;
  translate: 0 0;
}

[data-reveal].is-visible .ht-promo-card {
  transition-delay: 0.25s;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] .htectime-copy,
  [data-reveal] .ht-promo-card {
    opacity: 1;
    translate: none;
    transition: none;
  }

  .mock-phone--slides img {
    transition: none;
  }
}

/* H-TecTime: quién usa qué (panel web = administradores, app = empleados) */
.ht-roles {
  display: grid;
  gap: 0.7rem;
  margin: 1.2rem 0 1.8rem;
  padding: 0;
  list-style: none;
  max-width: 560px;
}

.ht-role {
  display: grid;
  gap: 0.15rem;
  padding: 0.8rem 1rem 0.8rem 1.1rem;
  border-left: 3px solid #2272ff;
  border-radius: 0 0.8rem 0.8rem 0;
  background: rgba(34, 114, 255, 0.12);
}

.ht-role--2 {
  border-left-color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
}

.ht-role__name {
  color: #cbd5e1;
  font-size: 0.95rem;
}

.ht-role__name strong {
  color: #fff;
}

.ht-role__desc {
  color: rgba(219, 227, 240, 0.75);
  font-size: 0.88rem;
}

/* tarjeta: panel web atrás, celular adelante */
.ht-promo-stage {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 0 0 2.2rem;
}

.ht-promo-web {
  position: relative;
  width: 88%;
}

.ht-promo-web img {
  display: block;
  width: 100%;
  height: auto;
}

.ht-promo-card .ht-promo-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 120px;
  padding: 4px;
  border-radius: 20px;
  transform: rotate(-3deg);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6);
}

.ht-promo-card .ht-promo-phone img {
  border-radius: 16px;
}

/* etiquetas "Panel web · Administradores" y "App · Empleados" */
.ht-promo-tag {
  position: absolute;
  z-index: 2;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.ht-promo-tag--web {
  left: 10px;
  bottom: -12px;
  background: #2272ff;
}

.ht-promo-tag--app {
  right: 6px;
  bottom: -14px;
  background: #0ea5e9;
}

.ht-promo-stores-label {
  margin: 0.4rem 0 -0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(219, 227, 240, 0.65) !important;
  text-align: center !important;
}

@media (max-width: 520px) {
  .ht-promo-card .ht-promo-phone {
    width: 96px;
  }
}


/* franja de datos reales de H-TecTime (4 columnas) */
.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1000px;
}

.stat-sub {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem 1rem;
  }

  .stat-value {
    font-size: 2.1rem;
  }
}

/* =========================
   SERVICIOS (rediseño): ícono, ejemplos, cotizar y "cómo trabajamos"
   ========================= */
#services h2 {
  margin-bottom: 0.4rem;
}

#services .services-sub {
  margin: 0 0 2rem;
  font-size: 1.05rem;
  color: #dbe3f0;
}

#services .service-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

#services .service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(234, 79, 73, 0.55);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.65), 0 0 24px rgba(234, 79, 73, 0.18);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(234, 79, 73, 0.35);
  background: rgba(234, 79, 73, 0.1);
}

.service-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--color-coral);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#services .card-example {
  margin: 0.6rem 0 0;
  font-size: 0.88rem;
}

.card-example a {
  color: #5aa2ff;
  font-weight: 600;
  text-decoration: none;
}

.card-example a:hover {
  text-decoration: underline;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.service-tags li {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #e5e7eb;
  font-size: 0.78rem;
}

.service-quote {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 1.2rem;
  color: var(--color-coral);
  font-weight: 600;
  text-decoration: none;
  align-self: flex-start;
}

.service-quote span {
  transition: transform 0.2s ease;
}

.service-quote:hover span {
  transform: translateX(4px);
}

/* cómo trabajamos */
.work {
  margin-top: 2.6rem;
  padding: 1.4rem 1.6rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(2, 6, 23, 0.6);
  backdrop-filter: blur(8px);
}

.work-title {
  margin: 0 0 1rem !important;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-coral) !important;
}

.work-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-step {
  position: relative;
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

/* flecha entre pasos */
.work-step + .work-step::before {
  content: "→";
  position: absolute;
  left: -1.15rem;
  top: 0.35rem;
  color: rgba(234, 79, 73, 0.8);
}

.work-step__num {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--color-coral);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.work-step strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
}

.work-step div span {
  display: block;
  margin-top: 0.2rem;
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.55;
}

@media (max-width: 860px) {
  .work-steps {
    grid-template-columns: 1fr;
  }

  .work-step + .work-step::before {
    display: none;
  }
}

/* entrada al bajar: tarjetas una tras otra, luego los pasos */
[data-reveal] .service-card,
[data-reveal] .work {
  opacity: 0;
  translate: 0 22px;
  transition: opacity 0.6s ease, translate 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

[data-reveal].is-visible .service-card,
[data-reveal].is-visible .work {
  opacity: 1;
  translate: 0 0;
}

[data-reveal].is-visible .service-card:nth-child(1) { transition-delay: 0.05s, 0.05s, 0s, 0s, 0s; }
[data-reveal].is-visible .service-card:nth-child(2) { transition-delay: 0.2s, 0.2s, 0s, 0s, 0s; }
[data-reveal].is-visible .service-card:nth-child(3) { transition-delay: 0.35s, 0.35s, 0s, 0s, 0s; }
[data-reveal].is-visible .work { transition-delay: 0.55s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] .service-card,
  [data-reveal] .work {
    opacity: 1;
    translate: none;
    transition: none;
  }
}


/* =========================
   SERVICIOS: más contraste para leer bien sobre la foto
   ========================= */
/* oscurece más la foto de fondo */
#services::before {
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.82)),
    radial-gradient(circle at center, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.6) 100%);
}

/* tarjetas casi sólidas: el fondo ya no se ve a través del texto */
#services .service-card {
  background: linear-gradient(180deg, #161d33, #10162a);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: none;
}

/* la línea coral lateral pasa a ser una franja arriba, más limpia */
#services .service-card::before {
  border-left: 0;
  border-top: 3px solid var(--color-coral);
  opacity: 1;
}

/* títulos en blanco (el coral queda para ícono, etiquetas y "Cotizar") */
#services .service-card h3 {
  color: #ffffff;
  font-size: 1.12rem;
  line-height: 1.35;
}

#services .service-card p {
  color: #cbd5e1;
  line-height: 1.6;
}

.service-tags li {
  border-color: rgba(234, 79, 73, 0.35);
  background: rgba(234, 79, 73, 0.08);
  color: #f1f5f9;
}

.service-quote {
  padding: 0.55rem 1.1rem;
  margin-top: auto;
  border-radius: 999px;
  border: 1px solid rgba(234, 79, 73, 0.55);
  transition: background 0.2s ease, color 0.2s ease;
}

/* "Cotizar" siempre abajo y alineado en las tres tarjetas */
.service-card .service-tags {
  margin-bottom: 1.3rem;
}

.service-quote:hover {
  background: var(--color-coral);
  color: #fff;
}

#services .service-card {
  padding-bottom: 1.6rem;
}

/* "Cómo trabajamos": caja sólida y números bien centrados */
.work {
  background: linear-gradient(180deg, #161d33, #10162a);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: none;
}

.work-step__num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0;
  border-radius: 10px;
  background: var(--color-coral);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

.work-step strong {
  font-size: 1rem;
}

.work-step + .work-step::before {
  top: 0.45rem;
}

/* =========================
   CONTACTO (rediseño): filas con flecha y formulario en tarjeta
   ========================= */
.c-grid {
  align-items: center;
}

.contact-copy p {
  color: #cbd5e1;
  font-size: 1.05rem;
}

.c-rows {
  margin-top: 1.6rem;
  max-width: 420px;
}

.c-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 2rem 0.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.c-row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.c-row__ic {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  border: 1px solid rgba(234, 79, 73, 0.3);
  background: rgba(234, 79, 73, 0.1);
}

.c-row svg,
.c-loc svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--color-coral);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.c-row small {
  flex: 0 0 5.2rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.c-row__val {
  font-size: 0.95rem;
}

.c-row::after {
  content: "→";
  position: absolute;
  right: 0.2rem;
  color: var(--color-coral);
  transition: transform 0.2s ease;
}

.c-row:hover {
  color: var(--color-coral);
}

.c-row:hover::after {
  transform: translateX(4px);
}

.c-loc {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.1rem !important;
  font-size: 0.85rem !important;
  color: var(--text-muted) !important;
}

/* tarjeta del formulario */
.c-card {
  position: relative;
  isolation: isolate;
}

.c-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 10% -10% auto auto;
  width: 420px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 79, 73, 0.2), transparent 65%);
  pointer-events: none;
}

.c-form {
  padding: 1.8rem 1.6rem 1.4rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(234, 79, 73, 0.3);
  background: linear-gradient(180deg, #161d33, #10162a);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.c-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 0.9rem;
}

.c-field {
  margin-bottom: 0.95rem;
}

.c-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #cbd5e1;
}

.c-opt {
  font-weight: 400;
  color: var(--text-muted);
}

.c-field input,
.c-field select,
.c-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.72rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(2, 6, 23, 0.7);
  color: #f9fafb;
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.c-field input::placeholder,
.c-field textarea::placeholder {
  color: #64748b;
}

.c-field select {
  appearance: none;
  padding-right: 2.2rem;
  background-image: linear-gradient(45deg, transparent 50%, #94a3b8 50%), linear-gradient(135deg, #94a3b8 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 52%, calc(100% - 0.8rem) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.c-field select option {
  background: #0b1226;
  color: #f9fafb;
}

.c-field input:hover,
.c-field select:hover,
.c-field textarea:hover {
  border-color: rgba(148, 163, 184, 0.5);
}

.c-field input:focus,
.c-field select:focus,
.c-field textarea:focus {
  outline: none;
  border-color: var(--color-coral);
  box-shadow: 0 0 0 3px rgba(234, 79, 73, 0.22);
}

.c-field textarea {
  resize: vertical;
  min-height: 100px;
}

.c-form .btn-primary {
  margin-top: 0.3rem;
}

.c-note {
  margin: 0.7rem 0 0 !important;
  text-align: center !important;
  font-size: 0.8rem !important;
  color: var(--text-muted) !important;
}

.c-form .form-status:empty {
  display: none;
}

@media (max-width: 520px) {
  .c-row2 {
    grid-template-columns: 1fr;
  }

  .c-form {
    padding: 1.4rem 1.1rem 1.1rem;
  }
}

/* entrada al bajar */
[data-reveal] .contact-copy,
[data-reveal] .c-card {
  opacity: 0;
  translate: 0 20px;
  transition: opacity 0.6s ease, translate 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-reveal].is-visible .contact-copy,
[data-reveal].is-visible .c-card {
  opacity: 1;
  translate: 0 0;
}

[data-reveal].is-visible .c-card {
  transition-delay: 0.2s;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] .contact-copy,
  [data-reveal] .c-card {
    opacity: 1;
    translate: none;
    transition: none;
  }
}

/* =========================
   SOPORTE TÉCNICO (rediseño): mismo formulario que Contacto + datos útiles
   ========================= */
.s-infos {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.6rem;
  max-width: 420px;
}

.s-info {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 !important;
  padding: 0.7rem 0.9rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.6);
  color: #e5e7eb !important;
  font-size: 0.92rem !important;
  text-decoration: none;
}

.s-info strong {
  color: #fff;
}

.s-info__ic {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(234, 79, 73, 0.3);
  background: rgba(234, 79, 73, 0.1);
}

.s-info__ic svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--color-coral);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

a.s-info {
  padding-right: 2.2rem;
  border-color: rgba(234, 79, 73, 0.35);
  transition: background 0.2s ease, border-color 0.2s ease;
}

a.s-info:hover {
  background: rgba(234, 79, 73, 0.12);
  border-color: var(--color-coral);
}

.s-info__arrow {
  position: absolute;
  right: 0.9rem;
  color: var(--color-coral);
  transition: transform 0.2s ease;
}

a.s-info:hover .s-info__arrow {
  transform: translateX(4px);
}

/* aviso de privacidad bajo los formularios y enlace del pie */
.c-legal {
  margin: 0.4rem 0 0 !important;
  text-align: center !important;
  font-size: 0.75rem !important;
  color: var(--text-muted) !important;
}

.c-legal a,
.footer-legal {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.c-legal a:hover,
.footer-legal:hover {
  color: var(--color-coral);
}

/* =========================
   PÁGINA 404 (las dos webs)
   ========================= */
.nf-body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 30%, rgba(234, 79, 73, 0.18), transparent 55%), #050816;
  color: #f5f5f5;
  font-family: "Poppins", system-ui, sans-serif;
}

.nf-body.nf-ht {
  background: radial-gradient(circle at 50% 30%, rgba(34, 114, 255, 0.25), transparent 55%), #050816;
}

.nf {
  max-width: 520px;
  padding: 2rem 1.5rem;
  text-align: center;
}

.nf-logo {
  width: 170px;
  height: auto;
  margin-bottom: 1.2rem;
}

.nf-code {
  margin: 0;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  color: #ea4f49;
}

.nf-ht .nf-code {
  color: #5aa2ff;
}

.nf h1 {
  margin: 0.6rem 0 0.4rem;
  font-size: 1.6rem;
}

.nf-text {
  margin: 0.3rem 0;
  color: #cbd5e1;
}

.nf-en {
  font-size: 0.88rem;
  color: #94a3b8;
}

.nf-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.nf-btn {
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: 1px solid #ea4f49;
  background: #ea4f49;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.nf-btn--ghost {
  background: transparent;
  color: #fff;
}

.nf-ht .nf-btn {
  border-color: #2272ff;
  background: #2272ff;
}

.nf-ht .nf-btn--ghost {
  background: transparent;
}
