/* Tensia IA - Estilos estáticos para hosting normal */

:root {
  --bg: #000000;
  --fg: #ffffff;
  --cyan: #00f0ff;
  --muted: #a0aec0;
  --muted-bright: #b8c4ce;
  --border: rgba(0, 240, 255, 0.1);
  --glass-bg: rgba(10, 10, 15, 0.6);
  --glass-border: rgba(0, 240, 255, 0.08);
  --destructive: #ff4444;
  --radius: 0.75rem;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-serif: 'Syne', system-ui, sans-serif;
  --max-w-7xl: 80rem;
  --max-w-3xl: 48rem;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gradient-text { animation: none; }
  .hero-cursor-glow { display: none; }
  .hero { animation: none; background-size: 100% 100%; background-position: 50% 50%; }
  .hero-bg { animation: none; }
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 1001;
}
.skip-link:focus,
.skip-link:focus-visible {
  left: 1rem;
  top: 1rem;
  padding: 0.5rem 1rem;
  background: var(--cyan);
  color: var(--bg);
  border-radius: var(--radius);
  font-weight: 600;
  outline: 2px solid var(--fg);
  outline-offset: 2px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s;
}
.header.scrolled {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0, 240, 255, 0.08);
}

.header-inner {
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--fg);
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
}
.logo-highlight { color: var(--cyan); }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}
.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-desktop a:hover { color: var(--cyan); }
.nav-desktop a:focus-visible,
.logo:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
  border-radius: var(--radius);
}
.nav-desktop .btn-nav {
  padding: 0.5rem 1.25rem;
  background: var(--cyan);
  color: #000;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: box-shadow 0.2s;
}
.nav-desktop .btn-nav:hover {
  color: #000;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}
.nav-desktop .btn-nav:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 50;
}
.menu-toggle span {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--fg);
  transition: all 0.3s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.menu-toggle:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
  border-radius: 4px;
}

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
}

/* Menú móvil */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
}
.menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.nav-mobile a {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--cyan); }
.nav-mobile a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
  border-radius: var(--radius);
}
.btn-mobile {
  margin-top: 1rem;
  padding: 0.75rem 2rem;
  background: var(--cyan);
  color: var(--bg);
  border-radius: var(--radius);
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
}
.btn-mobile:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .menu-overlay { display: none; }
}

/* Gradientes y utilidades */
.gradient-text {
  background: linear-gradient(135deg, #00f0ff, #7b2cbf, #00f0ff);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  transition: border-color 0.3s;
}
.glass:hover {
  border-color: rgba(0, 240, 255, 0.2);
}

.grid-bg {
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb {
  background: rgba(0, 240, 255, 0.2);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(0, 240, 255, 0.4); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 5rem;
  background: linear-gradient(120deg, #1a2030 0%, #232d42 25%, #1e2638 50%, #232d42 75%, #1a2030 100%);
  background-size: 400% 400%;
  animation: bg-drift 10s ease-in-out infinite;
}

@keyframes bg-drift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: grid-drift 6s linear infinite;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: grid-drift-reverse 8s linear infinite;
}

@keyframes grid-drift {
  0% { background-position: 0 0; }
  100% { background-position: 48px 48px; }
}

@keyframes grid-drift-reverse {
  0% { background-position: 64px 64px; }
  100% { background-position: 0 0; }
}

/* Círculo que sigue al cursor — único elemento interactivo, enfoque UX */
.hero-cursor-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  left: var(--cursor-x, 50%);
  top: var(--cursor-y, 50%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(0, 240, 255, 0.25) 0%,
    rgba(0, 240, 255, 0.08) 35%,
    transparent 55%
  );
  opacity: var(--cursor-opacity, 0);
  pointer-events: none;
  will-change: left, top, opacity;
  transition: opacity 0.4s ease;
}
.hero.has-mouse .hero-cursor-glow {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  width: 100%;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .hero-content { flex-direction: row; align-items: center; gap: 4rem; }
}

.hero-text {
  flex: 1;
  text-align: center;
  max-width: 42rem;
}
@media (min-width: 1024px) {
  .hero-text { text-align: left; margin: 0 auto 0 0; }
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}
@media (min-width: 1024px) {
  .hero-badges { justify-content: flex-start; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border: 1px solid rgba(0, 240, 255, 0.25);
  background: rgba(0, 240, 255, 0.08);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #7ee7f4;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse-glow 2s ease infinite;
}
.hero-badge-secondary {
  border-color: rgba(184, 196, 206, 0.35);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-bright);
}
.hero-badge-secondary .hero-badge-dot { display: none; }

.hero-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.75rem; } }

.hero-subtitle {
  margin-top: 0.75rem;
  font-size: 1rem;
  color: var(--muted-bright);
  line-height: 1.5;
}
@media (min-width: 640px) { .hero-subtitle { font-size: 1.125rem; } }

.hero-desc {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}
.hero-desc p {
  margin-top: 0.5rem;
}
.hero-desc p:first-child { margin-top: 0; }
@media (min-width: 1024px) { .hero-desc { margin-left: 0; margin-right: 0; } }

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
@media (min-width: 1024px) { .hero-actions { justify-content: flex-start; } }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.875rem 1.75rem;
  background: var(--cyan);
  color: var(--bg);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}
.btn-primary:hover {
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}
.btn-primary:active { transform: scale(0.98); }
.btn-primary:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.875rem 1.75rem;
  border: 1px solid rgba(0, 240, 255, 0.2);
  color: var(--fg);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}
.btn-secondary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.hero-scroll-hint {
  margin-top: 3rem;
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-bright);
}
@media (min-width: 1024px) { .hero-scroll-hint { display: flex; } }

.scroll-indicator {
  display: inline-block;
  width: 12px;
  height: 20px;
  border: 1px solid rgba(160, 174, 192, 0.3);
  border-radius: 9999px;
  padding: 2px;
}
.scroll-indicator span {
  display: block;
  width: 100%;
  height: 6px;
  background: var(--cyan);
  border-radius: 9999px;
  animation: pulse-glow 2s ease infinite;
}

.hero-image { flex: 1; min-width: 0; }
.hero-img-wrap {
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 0 60px rgba(0, 240, 255, 0.08);
  max-width: 100%;
}
.hero-img-wrap img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 1023px) {
  .hero-img-wrap {
    max-height: 50vh;
  }
  .hero-img-wrap img {
    max-height: 50vh;
    object-fit: cover;
    object-position: center top;
  }
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay { transition-delay: 0.2s; }

/* Sections */
.section {
  position: relative;
  padding: 6rem 0;
}
@media (min-width: 1024px) { .section { padding: 8rem 0; } }

.container {
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
}
@media (min-width: 640px) { .section-title { font-size: 2.25rem; } }

.section-desc {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

/* Features grid */
.features-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }

.feature-card {
  overflow: hidden;
  border-radius: 1rem;
  transition: all 0.5s;
}
.feature-card:hover .feature-image img {
  transform: scale(1.05);
}

.feature-image {
  position: relative;
  height: 12rem;
  overflow: hidden;
}
.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0a0a0f, transparent, transparent);
}

.feature-content {
  padding: 1.5rem;
}
.feature-content h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
}
.feature-content p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Demo */
.demo-wrap {
  margin-top: 3rem;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 0 80px rgba(0, 240, 255, 0.06);
}
.demo-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Demo dashboard UI (textos corregidos) */
.demo-dashboard-ui {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  background: rgba(15, 18, 22, 0.95);
  border-radius: 1rem;
}
@media (min-width: 768px) {
  .demo-dashboard-ui { flex-direction: row; min-height: 480px; }
}
@media (min-width: 1024px) {
  .demo-dashboard-ui { min-height: 520px; }
}

.demo-sidebar {
  width: 100%;
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 240, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
}
@media (min-width: 768px) {
  .demo-sidebar {
    width: 160px;
    min-width: 160px;
    border-bottom: none;
    border-right: 1px solid rgba(0, 240, 255, 0.1);
  }
}

.demo-sidebar-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.demo-icon { opacity: 0.9; }

.demo-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
@media (min-width: 768px) {
  .demo-nav { flex-direction: column; }
}
.demo-nav a {
  font-size: 0.7rem;
  color: var(--muted-bright);
  text-decoration: none;
}
.demo-nav a:hover { color: var(--cyan); }
.demo-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  color: var(--muted-bright);
}
.demo-avatar {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
}

.demo-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(0, 240, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}
.demo-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
}
@media (min-width: 640px) { .demo-title { font-size: 1.125rem; } }
.demo-header-actions {
  font-size: 0.7rem;
  color: var(--muted-bright);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.demo-content {
  flex: 1;
  padding: 1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
}
@media (min-width: 640px) {
  .demo-content {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
  }
}
@media (min-width: 1024px) {
  .demo-content {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto 1fr auto;
  }
}

.demo-panel-title {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.demo-face-panel {
  grid-column: 1;
  grid-row: 1;
}
@media (min-width: 1024px) { .demo-face-panel { grid-row: 1 / 3; } }

.demo-face-placeholder {
  aspect-ratio: 4/3;
  max-height: 200px;
  background: rgba(0, 240, 255, 0.06);
  border: 1px dashed rgba(0, 240, 255, 0.2);
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.demo-face-icon { font-size: 2.5rem; opacity: 0.6; }
.demo-face-label {
  font-size: 0.7rem;
  color: var(--muted);
}

.demo-gauges {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
@media (min-width: 640px) { .demo-gauges { grid-column: 2 / -1; } }
@media (min-width: 1024px) { .demo-gauges { grid-column: 2 / -1; grid-row: 1; } }

.demo-gauge {
  flex: 1;
  min-width: 80px;
  text-align: center;
}
.demo-gauge-circle {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.25rem;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--cyan);
}
.demo-gauge-label {
  font-size: 0.65rem;
  color: var(--muted);
}

.demo-chart-panel {
  grid-column: 1 / -1;
}
@media (min-width: 640px) { .demo-chart-panel { grid-column: span 1; } }
.demo-chart-bar,
.demo-chart-area {
  height: 60px;
  border-radius: 0.5rem;
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.15) 0%, rgba(0, 240, 255, 0.02) 100%);
  border: 1px solid rgba(0, 240, 255, 0.1);
}
.demo-chart-area {
  background: linear-gradient(180deg, rgba(0, 240, 255, 0.12) 0%, transparent 100%);
}

.demo-bottom-panel {
  grid-column: 1 / -1;
  grid-row: auto;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(0, 240, 255, 0.08);
}
.demo-metrics-row {
  display: flex;
  gap: 1rem;
  font-size: 0.7rem;
  color: var(--muted);
}

/* Steps */
.steps-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 640px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
}

.step-num {
  font-size: 0.75rem;
  font-family: monospace;
  font-weight: 700;
  color: rgba(0, 240, 255, 0.4);
}

.step-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 240, 255, 0.05);
  border-radius: 0.75rem;
  border: 1px solid rgba(0, 240, 255, 0.15);
}

.step-card h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
}
.step-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Privacy */
.privacy-card {
  overflow: hidden;
  border-radius: 1rem;
}

.privacy-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
}
@media (min-width: 1024px) {
  .privacy-inner {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
    padding: 3rem;
  }
}

.privacy-image {
  position: relative;
  width: 100%;
  height: 16rem;
  overflow: hidden;
  border-radius: 0.75rem;
}
@media (min-width: 1024px) {
  .privacy-image {
    width: 50%;
    height: 20rem;
  }
}
.privacy-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.privacy-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10, 10, 15, 0.5), transparent);
}

.privacy-content { flex: 1; }
.privacy-desc {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.6;
}

.privacy-list {
  margin-top: 2rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.privacy-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

.privacy-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 240, 255, 0.05);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 240, 255, 0.15);
}
.privacy-icon svg { width: 20px; height: 20px; }

/* Contact */
.section-contact { padding-top: 6rem; padding-bottom: 8rem; }
@media (min-width: 1024px) { .section-contact { padding-top: 8rem; padding-bottom: 8rem; } }

.contact-container {
  max-width: var(--max-w-3xl);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-form {
  padding: 2rem;
  border-radius: 1rem;
}
/* Honeypot: oculto para usuarios, los bots lo rellenan y FormSubmit lo detecta */
.contact-form .honeypot {
  position: absolute;
  left: -9999px;
}

.form-antispam input {
  max-width: 12rem;
}
@media (min-width: 1024px) { .contact-form { padding: 2.5rem; } }

.form-row {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.form-row .form-group { margin-top: 0; }

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg);
}
.required { color: var(--cyan); }

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  background: rgba(0, 240, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--fg);
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(160, 174, 192, 0.5);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(0, 240, 255, 0.3);
}
.form-group textarea {
  resize: none;
  min-height: 8rem;
}

.btn-submit {
  margin-top: 2rem;
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: var(--cyan);
  color: var(--bg);
  border: none;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: box-shadow 0.2s, opacity 0.2s;
}
.btn-submit:hover {
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}
.btn-submit:active { transform: scale(0.98); }
.btn-submit:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
}
.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-status {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.875rem;
}
.form-status.success { color: var(--cyan); }
.form-status.error { color: var(--destructive); }

/* CTA section */
.section-cta { position: relative; }

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 240, 255, 0.2) 0%, transparent 70%);
  opacity: 0.1;
  pointer-events: none;
}

.section-cta .contact-container {
  position: relative;
  z-index: 10;
  text-align: center;
}

.section-title-large { font-size: 2.125rem; }
@media (min-width: 1024px) { .section-title-large { font-size: 3rem; } }

.section-cta .section-desc { margin-top: 1.5rem; }

.btn-cta {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 2rem;
  background: var(--cyan);
  color: var(--bg);
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}
.btn-cta:hover {
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.35);
}
.btn-cta:active { transform: scale(0.98); }
.btn-cta:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(0, 240, 255, 0.06);
  padding: 3rem 0;
}

.footer-inner {
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
@media (min-width: 640px) { .footer-brand { align-items: flex-start; } }

.footer-brand .logo { font-size: 1.125rem; }
.footer-brand p {
  font-size: 0.75rem;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.footer-nav a {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--cyan); }
.footer-nav a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}
.footer-nav a[href*="admin"] { color: var(--cyan); }
.footer-nav a[href*="admin"]:hover { color: var(--fg); }

.footer-bottom {
  max-width: var(--max-w-7xl);
  margin: 2rem auto 0;
  padding: 0 1.5rem;
  border-top: 1px solid rgba(0, 240, 255, 0.06);
  padding-top: 1.5rem;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: var(--muted);
}
