/* ==========================================================================
   DRON COPILOTO by Desde el Aire - Stylesheet Principal
   Estilo: Dark Aviation / Tech Radar
   Paleta: #0B1836 (Navy), #101F45 (Card Navy), #2F7FE0 (Brand Accent)
   ========================================================================== */

:root {
  --navy: #0B1836;
  --navy-2: #101F45;
  --navy-3: #152A5C;
  --brand: #2F7FE0;
  --brand-hover: #4A90E8;
  --brand-glow: rgba(47, 127, 224, 0.4);
  --ink-soft: #9FB0CE;
  --white: #FFFFFF;
  --card-border: rgba(255, 255, 255, 0.08);
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--navy);
  background-image: 
    radial-gradient(circle at 18% 15%, rgba(47, 127, 224, 0.2), transparent 45%),
    radial-gradient(circle at 82% 85%, rgba(47, 127, 224, 0.15), transparent 50%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
  background-attachment: fixed;
  color: var(--white);
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
}

/* Grilla de radar aerodinámica */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 24, 54, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
}

.logo-badge {
  width: 42px;
  height: 42px;
  background: var(--brand);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px var(--brand-glow);
}

.brand-text h1 {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
}

.btn-panel {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand);
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  box-shadow: 0 6px 20px -4px var(--brand-glow);
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.btn-panel:hover {
  background: var(--brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -4px rgba(47, 127, 224, 0.6);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
}

.hero-title {
  font-family: var(--font-title);
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}

.hero-title span {
  color: var(--brand);
  background: linear-gradient(135deg, #60A5FA, var(--brand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-services-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: #60A5FA;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 auto 2.2rem;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #10B981;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-title);
  font-weight: 700;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px -4px rgba(16, 185, 129, 0.4);
  transition: transform 0.2s, background 0.2s;
}

.btn-primary:hover {
  background: #059669;
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--card-border);
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-title);
  font-weight: 600;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  transition: background 0.2s, border-color 0.2s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Metadata Badges under Hero */
.hero-meta {
  margin-top: 3.5rem;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--card-border);
  padding-top: 2rem;
}

.meta-item {
  text-align: center;
}

.meta-item .number {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand);
}

.meta-item .label {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* ==========================================================================
   PILARES DE SERVICIO (CARDS)
   ========================================================================== */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.8rem;
}

.card {
  background: rgba(16, 31, 69, 0.6);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 127, 224, 0.4);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.5);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(47, 127, 224, 0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  color: var(--brand);
}

.card h3 {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  color: var(--ink-soft);
}

.card-link {
  color: var(--brand);
  text-decoration: none;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s;
}

.card-link:hover {
  gap: 0.7rem;
}

/* ==========================================================================
   PROCESO DE REPARACIÓN (4 PASOS)
   ========================================================================== */
.process-box {
  background: rgba(16, 31, 69, 0.4);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 3rem 2rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.step-item {
  position: relative;
}

.step-num {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(47, 127, 224, 0.3);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.step-item h4 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.step-item p {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* ==========================================================================
   FOOTER & CONTACT
   ========================================================================== */
.footer {
  border-top: 1px solid var(--card-border);
  background: rgba(11, 24, 54, 0.95);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-col p, .footer-col li {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
}

.footer-col a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--brand);
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  border-top: 1px solid var(--card-border);
  padding-top: 1.5rem;
}

/* ==========================================================================
   PLANES (TARJETAS DE SUSCRIPCIÓN)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.8rem;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: rgba(16, 31, 69, 0.6);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 127, 224, 0.4);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.5);
}

.pricing-card.destacado {
  border-color: var(--brand);
  background: rgba(47, 127, 224, 0.08);
  box-shadow: 0 0 0 1px var(--brand), 0 20px 40px -12px var(--brand-glow);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: var(--white);
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-plan {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.pricing-subtitulo {
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin-bottom: 1.4rem;
}

.pricing-precio {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.3rem;
}

.pricing-precio .monto {
  font-family: var(--font-title);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
}

.pricing-precio .periodo {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.pricing-nota-precio {
  color: var(--ink-soft);
  font-size: 0.8rem;
  margin-bottom: 1.6rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 1.8rem;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features .check {
  color: #10B981;
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-tiers-mini {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  margin-bottom: 1.6rem;
  font-size: 0.82rem;
}

.pricing-tiers-mini div {
  display: flex;
  justify-content: space-between;
  color: var(--ink-soft);
  padding: 0.25rem 0;
}

.pricing-tiers-mini strong {
  color: var(--white);
}

.pricing-cta {
  text-align: center;
  width: 100%;
  justify-content: center;
}

/* Responsive queries */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-title { font-size: 2.2rem; }
  .hero-services-title { font-size: 1.1rem; }
  .hero-sub { font-size: 0.95rem; }
}
