/* =========================
   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: justify;
}

/* 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);
}

/* Oculto en móvil */
@media (max-width: 768px) {
  .side-nav {
    top: auto;
    bottom: 1.2rem;
    left: 50%;
    transform: translateX(-50%);  
    flex-direction: row;
    gap: 0.9rem;
  }

  .side-nav a {
    width: 44px;
    height: 44px;
  }

  /* 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.jpg");
  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.png");
  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);
  }
}

/* =========================
   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.png");
  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;
  }
}