/* Estilos locales con diseño gamer moderno */
:root {
  --bg: #090b12;
  --surface: #121826;
  --surface-alt: #151c2f;
  --text: #eef4ff;
  --muted: #94a2bb;
  --highlight: #63b8ff;
  --highlight-strong: #34a3ff;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top left, rgba(99, 184, 255, 0.16), transparent 22%),
    radial-gradient(circle at bottom right, rgba(76, 212, 191, 0.12), transparent 24%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 45%);
  pointer-events: none;
}

img {
  max-width: 100%;
  display: block;
}

.page-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  background: rgba(7, 12, 24, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.main-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--highlight);
}

.hero {
  position: relative;
  padding: 5rem 0 3rem;
}

.hero::after {
  content: '';
  position: absolute;
  inset: -20% 0 0;
  background: radial-gradient(circle at top left, rgba(99, 184, 255, 0.12), transparent 18%),
    radial-gradient(circle at bottom right, rgba(60, 176, 255, 0.1), transparent 22%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.9fr);
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--highlight);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.8rem;
}

.hero-copy h1 {
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  line-height: 1.02;
  margin: 0 0 1.25rem;
  letter-spacing: -0.04em;
}

.hero-copy p {
  max-width: 650px;
  color: var(--muted);
  margin: 0 0 2rem;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 1rem 1.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--highlight), #2b8bff);
  color: #fff;
  border: 1px solid transparent;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  color: #c7d0e6;
  border: 1px solid rgba(99, 184, 255, 0.28);
  background: rgba(255, 255, 255, 0.03);
}

.btn-secondary:hover {
  border-color: var(--highlight);
}

.hero-panel {
  position: relative;
}

.panel-card {
  background: linear-gradient(180deg, rgba(15, 21, 40, 0.96), rgba(18, 24, 42, 0.98));
  border: 1px solid rgba(99, 184, 255, 0.18);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.18);
}

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

.panel-card p {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.panel-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.95rem;
}

.panel-card ul li {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: #dbe5ff;
}

.section-header {
  max-width: 720px;
}

.section-tag {
  display: inline-flex;
  margin-bottom: 0.75rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(99, 184, 255, 0.13);
  color: var(--highlight);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.services,
.process,
.contact-form {
  padding: 4rem 0;
}

.services h2,
.process h2,
.contact-form h2,
.section-header h2 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(2rem, 3vw, 3rem);
}

.services p,
.process p,
.contact-form p {
  color: var(--muted);
  margin: 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.card {
  background: rgba(20, 28, 48, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 2rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.18);
}

.card-glow {
  border-color: rgba(99, 184, 255, 0.24);
}

.card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(99, 184, 255, 0.12);
  color: var(--highlight);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

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

.card p {
  margin: 0;
  color: var(--muted);
  flex: 1;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.process-step {
  background: rgba(18, 24, 40, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  padding: 1.75rem;
  position: relative;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.16);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(99, 184, 255, 0.14);
  color: var(--highlight);
  font-weight: 700;
  margin-bottom: 1rem;
}

.process-step h3 {
  margin: 0 0 0.75rem;
}

.process-step p {
  margin: 0;
  color: var(--muted);
}

.form-panel {
  background: rgba(18, 24, 40, 0.94);
  border: 1px solid rgba(99, 184, 255, 0.12);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
  margin-top: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  color: #d8e1ff;
  font-size: 0.95rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(99, 184, 255, 0.45);
  box-shadow: 0 0 0 6px rgba(99, 184, 255, 0.1);
}

input.invalid,
select.invalid,
textarea.invalid {
  border-color: #ff6f6f;
}

.full-width {
  width: 100%;
}

textarea {
  resize: vertical;
  min-height: 140px;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.4rem 0;
  background: rgba(7, 12, 24, 0.98);
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
}

.form-error {
  color: #ff8c8c;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4rem;
  }
}

@media (max-width: 720px) {
  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding: 3.5rem 0;
  }

  .hero-copy h1 {
    font-size: 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
