/* ============================================================
   RESET & BASE
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --c-void:    #000000;
  --c-deep:    #020d10;
  --c-teal:    #0d7a7a;
  --c-teal-lo: rgba(13,122,122,0.18);
  --c-teal-md: rgba(13,122,122,0.45);
  --c-teal-hi: rgba(13,220,220,0.85);
  --c-cyan:    #17e8e8;
  --c-ice:     #a8f0f0;
  --c-steel:   #b0ccd0;
  --c-glass:   rgba(2,20,24,0.72);
  --c-glass2:  rgba(2,20,24,0.88);
  --c-border:  rgba(23,232,232,0.22);
  --c-border2: rgba(23,232,232,0.55);
  --font-hud:  'Orbitron', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
  --ease-hud:  cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--c-void);
  color: var(--c-steel);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
 /* overflow-x: hidden;*/
  min-height: 100vh;
  width: 100%;
}

/* ============================================================
   LOADING SCREEN
   ============================================================ */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--c-void);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 8vw;
  overflow: hidden;
  transition: opacity 0.8s var(--ease-hud), visibility 0.8s;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

/* Atmospheric background on loader */
#loader::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 65% 40%, rgba(13,80,70,0.35) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 70%, rgba(13,50,50,0.25) 0%, transparent 60%);
  animation: loaderAtmo 6s ease-in-out infinite alternate;
}
@keyframes loaderAtmo {
  from { opacity: 0.6; transform: scale(1); }
  to   { opacity: 1;   transform: scale(1.04); }
}

.loader-logo {
  position: relative;
  z-index: 2;
  margin-bottom: 3rem;
}
.loader-logo h1 {
  font-family: var(--font-hud);
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #fff;
  text-shadow:
    0 0 30px var(--c-cyan),
    0 0 80px rgba(23,232,232,0.3);
  line-height: 1;
}
.loader-logo .subtitle {
  font-family: var(--font-hud);
  font-size: clamp(0.6rem, 1.8vw, 0.85rem);
  letter-spacing: 0.45em;
  color: var(--c-teal-hi);
  margin-top: 0.4rem;
  text-transform: uppercase;
}

.loader-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 1.8rem;
  border: 1px solid var(--c-teal-hi);
  border-left: 3px solid var(--c-cyan);
  background: rgba(13,122,122,0.25);
  color: var(--c-ice);
  font-family: var(--font-hud);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s, box-shadow 0.25s;
  animation: loaderBtnPulse 2.5s ease-in-out infinite;
}
.loader-btn::before,
.loader-btn::after {
  content: '–';
  color: var(--c-cyan);
  opacity: 0.8;
}
.loader-btn:hover {
  background: rgba(23,232,232,0.18);
  box-shadow: 0 0 24px rgba(23,232,232,0.35);
}
@keyframes loaderBtnPulse {
  0%,100% { box-shadow: 0 0 8px rgba(23,232,232,0.2); }
  50%      { box-shadow: 0 0 22px rgba(23,232,232,0.5); }
}

/* corner decoration loader */
.loader-corner {
  position: absolute;
  bottom: 1.8rem;
  right: 2.5rem;
  width: 28px;
  height: 28px;
  z-index: 2;
}
.loader-corner::before,
.loader-corner::after {
  content: '';
  position: absolute;
  background: var(--c-cyan);
}
.loader-corner::before { width: 28px; height: 2px; bottom: 0; right: 0; }
.loader-corner::after  { width: 2px; height: 28px; bottom: 0; right: 0; }

/* diamond */
.loader-diamond {
  position: absolute;
  bottom: 2.6rem;
  right: 3.8rem;
  width: 18px;
  height: 18px;
  background: var(--c-cyan);
  transform: rotate(45deg);
  box-shadow: 0 0 14px var(--c-cyan);
  z-index: 2;
}

.loader-status {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--c-teal-hi);
  opacity: 0.7;
  z-index: 2;
  white-space: nowrap;
}

/* scan line on loader */
.loader-scan {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-cyan), transparent);
  opacity: 0.4;
  animation: scanMove 3s linear infinite;
  z-index: 2;
}

@keyframes scanMove {
  from { top: 0; }
  to   { top: 100%; }
}

/* ============================================================
   PARALLAX BACKGROUND LAYERS
   ============================================================ */
#scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.layer {
  position: absolute;
  inset: -5%;
  min-width: 200%;
  min-height: 200%;
  margin: -50%;
  will-change: transform;
  transition: transform 0.12s linear;
}

/* Layer 0 – base ambient glow */
.layer-0 {
  background:
    radial-gradient(ellipse 70% 55% at 30% 50%, rgba(2, 136, 136, 0.4) 0%, transparent 65%),
    radial-gradient(ellipse 50% 45% at 75% 60%, rgba(1, 86, 99, 0.3) 0%, transparent 60%);
}

/* Layer 1 – grid lines */
.layer-1 {
  background-image:
    linear-gradient(rgba(44, 253, 253, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 249, 249, 0.1) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Layer 2 – diagonal accent lines */
.layer-2 {
  background-image:
    repeating-linear-gradient(
      135deg,
      transparent,
      transparent 120px,
      rgba(23,232,232,0.03) 120px,
      rgba(23,232,232,0.03) 121px
    );
}

/* Layer 3 – large arc decorations */
.layer-3::before,
.layer-3::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(23,232,232,0.07);
}
.layer-3::before {
  width: 80vmax; height: 80vmax;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.layer-3::after {
  width: 50vmax; height: 50vmax;
  top: 60%; left: 65%;
  transform: translate(-50%, -50%);
}

/* Layer 4 – corner brackets (purely decorative, fixed) */
.layer-4::before {
  content: '';
  position: absolute;
  top: 2rem; left: 2rem;
  width: 60px; height: 60px;
  border-top: 2px solid var(--c-border);
  border-left: 2px solid var(--c-border);
}
.layer-4::after {
  content: '';
  position: absolute;
  bottom: 2rem; right: 2rem;
  width: 60px; height: 60px;
  border-bottom: 2px solid var(--c-border);
  border-right: 2px solid var(--c-border);
}

/* ============================================================
   MAIN LAYOUT
   ============================================================ */
#app {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  width: 100%;
  max-width: 100vw !important;
  opacity: 0;
  transition: opacity 0.8s ease;
  padding: 150px 0px 150px 0px;
  gap:0px;
}
#app.visible { opacity: 1; }

/* Header bar */


#site-header {
  width: 100%;
  min-width: 100vw !important;
  position: fixed;
  top: -53px;
  z-index: 100;
  display: flex;
  flex-direction:column;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0.6rem 0rem 0.6rem;
  background: var(--c-glass2);
  border-bottom: 1px solid var(--c-border);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 16px rgba(0, 0, 0, 1);
}

#site-header:hover{top:0;}

.subheader{
  min-width: 100vw !important;
  position: relative;
  height: 40px;;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px 0px 20px;
  background: var(--c-glass2);
  border-bottom: 1px solid var(--c-border);
  backdrop-filter: blur(12px);
}

.header-logo {
  font-family: var(--font-hud);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: var(--c-cyan);
  text-shadow: 0 0 14px rgba(23,232,232,0.5);
  text-decoration: none;
}

.body-logo {
  position:realtive;
  text-decoration: none;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 2vw auto;
  box-shadow: 0 0 16px rgba(0, 0, 0, 1);
  animation: giroContinuo 15s infinite linear;
}

@keyframes giroContinuo {
  0% {
    width: 100px;
    transform: rotateY(0deg); /* Orientación normal */
  }
  40% {
    width: 0px;
    transform: rotateY(0deg); /* Se reduce a 0 */
  }
  /* Justo en el punto 0, se invierte horizontalmente */
  41% {
    width: 0px;
    transform: rotateY(180deg); /* Invertido horizontalmente (espejo) */
  }

  70% {
    width: 100px;
    transform: rotateY(180deg); /* Recupera los 100px viéndose al contrario */
  }
  85% {
    width: 0px;
    transform: rotateY(180deg); /* Se reduce a 0 invertido */
  }
  /* Justo en el punto 0, regresa a la orientación original */
  86% {
    width: 0px;
    transform: rotateY(0deg); /* Regresa al frente */
  }
  100% {
    width: 100px;
    transform: rotateY(0deg); /* Recupera los 100px original */
  }
}

@media (min-width: 1024px) {
 .body-logo {
    margin-top: 0px;
     margin-bottom: -55px;
  }
}

.subheader-logo span {
  font-weight: 300;
  color: var(--c-steel);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  display: block;
  margin-top: -2px;
}
.header-nav {
  display: flex;
  gap: 1.4rem;
  align-items: center;
}
.header-nav a {
  font-family: var(--font-hud);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-steel);
  text-decoration: none;
  transition: color 0.2s;
}

a {
  font-family: var(--font-hud);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-steel);
  text-decoration: none;
  transition: color 0.2s;
}

.header-nav a:hover { color: var(--c-cyan); }

a:hover { color: var(--c-cyan); }

.icon-menu{
  position:relative;
  display:flex;
  align-items: center;
  justify-content: center;
  right: 1vw;
  margin-top:-10px;
  width: 40px;
  height: 40px;
  transform: rotate(180deg);
 /* transform: translateY(70px);*/
  background: var(--c-glass2);
  border: 1px solid var(--c-border);
  backdrop-filter: blur(12px);
}

/* Main two-column layout */
#main-layout {
  display: grid;
  grid-template-columns: 1fr;
  height:auto;
  min-height: calc(100vh - 54px);
  padding: 0px;
  margin:0px;
  gap: 1rem;
}

@media (min-width: 1024px) {
  #main-layout {
    grid-template-columns: 55% 45%;
  }
}

/* ============================================================
   LEFT PANEL — iframe + carrusel
   ============================================================ */
#panel-left {
  display: flex;
  flex-direction: column;
  margin:5%;
  padding: 5%;
  gap: 1rem;
  height: auto;
  min-height: 50vh;
  
  max-width: 90vw;
  width: 90%;
  min-width: 40vw;
  position: relative;
}


.caj{
  background-color: rgba(23, 232, 232, 0.2);
  position: absolute;
  top: 0;
  left: 0;
  width: 94%;
  min-height: 92%;
  margin:4% 3% 4% 3%;
  border: solid 0.5px;
  border-color: var(--c-cyan);
  box-shadow: 0 0 16px rgba(23,232,232,0.3);
  filter: drop-shadow(0 0 16px rgba(23, 232, 232, 0.2)); 
  z-index: 2;
}

.poligontop{
  height:30px;
  margin-top: -30px;
  left:15px;
  position: absolute;
  top:0;
  color: rgb(23, 232, 232);
}
.poligonbottom{
  position: absolute;
  height:30px;
  margin-bottom: -30px;;
  bottom:0;
  right:15px;
  color: rgb(23, 232, 232);
}

.hud-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 104%;
  height: 111%;
  margin:-6% -1% -5% -3%;
}

@keyframes moverContenedor {
  to {
    transform: translateY(5%); 
  }
}

.contenedor {
  animation: moverContenedor linear;
  animation-timeline: scroll();
}

#buscar{
  transform: translateX(-5%)
}

#buscar:hover{
  transform: translateX(0%)
}


/* iframe container */
.iframe-shell {
  position: relative;
  flex: 1;
  width: 80%;
  height: 340px;
  min-height: 40vh;
  max-height:50vh;
  background: var(--c-glass);
  border: 1px solid var(--c-border);
  overflow: hidden;
  margin: auto;
  z-index: 10;
}



@media (min-width: 720px) {
  .iframe-shell {
      width: 90%;    
      min-height: 60vh;
      max-height:80vw;
      margin:auto;
  }
}

#site-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: none;
  transform-origin: scale(0.1),
             translate(-25vw, -25vh);
}

/* HUD corner brackets on iframe */
.iframe-shell::before,
.iframe-shell::after {
  content: '';
  position: absolute;
  z-index: 5;
  width: 22px; height: 22px;
  pointer-events: none;
}
.iframe-shell::before {
  top: 0; left: 0;
  border-top: 2px solid var(--c-cyan);
  border-left: 2px solid var(--c-cyan);
}
.iframe-shell::after {
  bottom: 0; right: 0;
  border-bottom: 2px solid var(--c-cyan);
  border-right: 2px solid var(--c-cyan);
}

.iframe-corner-tr,
.iframe-corner-bl {
  position: absolute;
  z-index: 5;
  width: 22px; height: 22px;
  pointer-events: none;
}
.iframe-corner-tr {
  top: 0; right: 0;
  border-top: 2px solid var(--c-teal);
  border-right: 2px solid var(--c-teal);
}
.iframe-corner-bl {
  bottom: 0; left: 0;
  border-bottom: 2px solid var(--c-teal);
  border-left: 2px solid var(--c-teal);
}

.iframe-label {
  position: absolute;
  top: 0; left: 28px;
  z-index: 5;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  color: var(--c-teal-hi);
  background: var(--c-glass2);
  padding: 2px 10px;
  border-bottom: 1px solid var(--c-border);
  border-right: 1px solid var(--c-border);
  pointer-events: none;
}

.iframe-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: rgba(23,232,232,0.3);
}
.iframe-placeholder .crosshair {
  position: relative;
  width: 50px; height: 50px;
}
.iframe-placeholder .crosshair::before,
.iframe-placeholder .crosshair::after {
  content: '';
  position: absolute;
  background: rgba(23,232,232,0.3);
}
.iframe-placeholder .crosshair::before { width: 100%; height: 1px; top:50%; left:0; }
.iframe-placeholder .crosshair::after  { width: 1px; height:100%; left:50%; top:0; }
.iframe-placeholder p {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ============================================================
   CARRUSEL
   ============================================================ */
.carousel-shell {
  position: relative;
  background: var(--c-glass);
  border: 1px solid var(--c-border);
  padding: 0.8rem 0;
  width: 110%;
  margin: 1.5% -5% 0 -5%;
  z-index: 10;
}
.carousel-header {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--c-teal-hi);
  padding: 0 1rem 0.6rem;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 5px;
  margin-top: -10px;
  text-transform: uppercase;
}

.carousel-wrapper {
  position: relative;
  overflow: clip; 
}

.carousel-track {
  display: flex;
  gap: 0.75rem;
  padding: 0 2.5rem;
  cursor: grab;
  user-select: none;
  overflow-x: scroll;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }

.carousel-item {
  flex: 0 0 calc(33.333% - 0.5rem);
  min-width: 120px;
  max-width: 30%;
  position: relative;
  border: 1px solid var(--c-border);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  aspect-ratio: 16/10;
  background: #020d10;
}
.carousel-item:hover,
.carousel-item.active {
  border-color: var(--c-cyan);
  box-shadow: 0 0 16px rgba(23,232,232,0.3);
}
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}
.carousel-item .item-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 3px 6px;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--c-ice);
  background: rgba(0,0,0,0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.carousel-item.no-img {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(23,232,232,0.2);
  font-family: var(--font-mono);
  font-size: 0.6rem;
}

/* arrow buttons */
.carousel-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 10;
  background: rgba(2,20,24,0.85);
  border: 1px solid var(--c-border2);
  color: var(--c-cyan);
  width: 30px; height: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background 0.2s, box-shadow 0.2s;
}
.carousel-btn:hover {
  background: rgba(23,232,232,0.12);
  box-shadow: 0 0 10px rgba(23,232,232,0.3);
}
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

/* empty state */
.carousel-empty {
  padding: 1.5rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(23,232,232,0.3);
  letter-spacing: 0.15em;
}

/* ============================================================
   RIGHT PANEL — info + form
   ============================================================ */
#panel-right {
  padding: 5%;
  display: flex;
  margin:2.5%;
  flex-direction: column;
  gap: 5%;
 /* overflow-y: auto;*/
  width: 90%;
  max-width: 90vw;
  height: auto;
  min-height: 50vh;
 /* max-height: 100vh;*/
}

@media (min-width: 1024px) {
  #panel-right {
    border-left: 1px solid var(--c-border);
    /*max-height: calc(100vh - 54px);*/
    position: sticky;
    top: 54px;
  }
}

/* HUD section blocks */
.hud-block {
  position: relative;
  background: var(--c-glass);
  border: 1px solid var(--c-border);
  padding: 1.2rem 1.4rem;
  backdrop-filter: blur(8px);
  max-width: 100%;
  min-width: 100%;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.733);
  margin:0 auto;
}
.hud-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--c-cyan);
}
.hud-block-title {
  font-family: var(--font-hud);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  color: var(--c-cyan);
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--c-border);
}

.hero{
  max-width: 100vw;
}

/* Hero inside right panel */
.hero-title {
  font-family: var(--font-hud);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-shadow: 0 0 20px rgba(23,232,232,0.25);
  margin-bottom: 0.4rem;
}
.hero-title span { color: var(--c-cyan); }
.hero-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--c-teal-hi);
  margin-bottom: 1rem;
}
.hero-body {
  font-size: 0.9rem;
  color: var(--c-steel);
  line-height: 1.65;
}
.hero-body strong { color: var(--c-ice); font-weight: 600; }

/* Domain showcase */
.domain-display {
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  color: var(--c-cyan);
  background: rgba(23,232,232,0.06);
  border: 1px solid rgba(23,232,232,0.2);
  padding: 0.7rem 1rem;
  letter-spacing: 0.12em;
  margin: 0.8rem 0;
  position: relative;
  overflow: hidden;
}
.domain-display::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--c-cyan);
  animation: blink 1.1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.domain-display .placeholder {
  color: rgba(23,232,232,0.4);
  font-style: italic;
}

/* ecosystem links */
.eco-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.8rem;
}
.eco-link {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: var(--c-teal-hi);
  text-decoration: none;
  border: 1px solid rgba(23,232,232,0.25);
  padding: 3px 10px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  text-transform: uppercase;
}
.eco-link:hover {
  border-color: var(--c-cyan);
  color: var(--c-cyan);
  background: rgba(23,232,232,0.06);
}

/* data rows */
.data-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(23,232,232,0.07);
  font-size: 0.85rem;
}
.data-row:last-child { border-bottom: none; }
.data-key {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: rgba(23,232,232,0.5);
  text-transform: uppercase;
}
.data-val {
  color: var(--c-ice);
  font-weight: 600;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.form-group {
  margin-bottom: 1rem;
}
.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: var(--c-teal-hi);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.form-input,
.form-textarea {
  width: 100%;
  background: rgba(23,232,232,0.04);
  border: 1px solid var(--c-border);
  color: var(--c-ice);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.55rem 0.85rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: none;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--c-cyan);
  box-shadow: 0 0 10px rgba(23,232,232,0.15);
}
.form-textarea { min-height: 90px; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--c-steel);
  cursor: pointer;
  margin-bottom: 1.2rem;
}
.form-check input[type="checkbox"] {
  appearance: none;
  width: 16px; height: 16px;
  min-width: 16px;
  border: 1px solid var(--c-border2);
  background: transparent;
  cursor: pointer;
  position: relative;
  margin-top: 2px;
  transition: border-color 0.2s;
}
.form-check input[type="checkbox"]:checked {
  border-color: var(--c-cyan);
  background: rgba(23,232,232,0.15);
}
.form-check input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-cyan);
  font-size: 11px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 1.6rem;
  background: rgba(13,122,122,0.3);
  border: 1px solid var(--c-teal-hi);
  color: var(--c-cyan);
  font-family: var(--font-hud);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, box-shadow 0.25s;
}
.btn-primary:hover {
  background: rgba(23,232,232,0.15);
  box-shadow: 0 0 18px rgba(23,232,232,0.3);
}
.btn-primary::before { content: '▶'; font-size: 0.55rem; }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 1.6rem;
  background: rgba(37,211,102,0.12);
  border: 1px solid rgba(37,211,102,0.5);
  color: #4fde90;
  font-family: var(--font-hud);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s, box-shadow 0.25s;
}
.btn-whatsapp:hover {
  background: rgba(37,211,102,0.22);
  box-shadow: 0 0 18px rgba(37,211,102,0.25);
}
.btn-whatsapp::before { content: '◆'; font-size: 0.55rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

/* ============================================================
   SCANLINE OVERLAY
   ============================================================ */
#scanlines {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.04) 2px,
    rgba(0,0,0,0.04) 4px
  );
}

/* ============================================================
   FOOTER
   ============================================================ */


#site-footer {
  width: 100%;
  min-width: 100vw !important;
  position: fixed;
  min-height:70px;
  bottom:-70px;
  z-index: 1;
  padding: 0px 20px 10px 20px;
  border-top: 1px solid var(--c-border);
  background: var(--c-glass2);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: rgba(23,232,232,0.35);
  text-transform: uppercase;
}
#site-footer:hover{bottom:0;}
#site-footer a { color: rgba(23,232,232,0.5); text-decoration: none; }
#site-footer a:hover { color: var(--c-cyan); }

.icon-footer{
  position:relative;
  display:flex;
  align-items: center;
  justify-content: center;
  right: 1vw;
  width: 40px;
  height: 40px;
  transform: rotate(90deg);
  transform: translateY(-80px);
  margin-bottom:-60px;
  background: var(--c-glass2);
  border-bottom: 1px solid var(--c-border);
  backdrop-filter: blur(12px);
}
/* ============================================================
   UTILITIES
   ============================================================ */
.text-cyan  { color: var(--c-cyan); }
.text-teal  { color: var(--c-teal-hi); }
.mt-sm { margin-top: 0.5rem; }
.mt-md { margin-top: 1rem; }

/* scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--c-teal); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.1ms !important; }
}
