/* =========================================================
   PUEDOREPARARLO — Stylesheet
   Aesthetic: retro-futurista, violeta profundo + cyan
   ========================================================= */

:root {
  --violet-deep: #2a1a5e;
  --violet-mid: #3d2580;
  --violet-light: #5a3fb0;
  --cyan: #3ad9e3;
  --cyan-bright: #5ef1fb;
  --cyan-soft: rgba(58, 217, 227, 0.15);
  --ink: #0e0824;
  --text: #e8e4ff;
  --text-dim: #b5aee0;
  --border: rgba(58, 217, 227, 0.25);
  --glow: 0 0 20px rgba(58, 217, 227, 0.4);
  --font-display: 'Share Tech Mono', monospace;
  --font-body: 'Syne', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse at top left, rgba(90, 63, 176, 0.35) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(58, 217, 227, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, #0e0824 0%, #1a0f3d 100%);
  background-attachment: fixed;
}

/* Grid texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(58, 217, 227, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 217, 227, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* =========================================================
   NAVBAR
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(14, 8, 36, 0.75);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.logo-icon {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 6px var(--cyan));
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width 0.3s;
  box-shadow: var(--glow);
}

.nav-links a:hover,
.nav-links a.active { color: var(--cyan); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--cyan);
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  border-radius: 4px;
  font-family: var(--font-display);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem 5rem;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-display);
  color: var(--cyan);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
  background: var(--cyan-soft);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  color: var(--cyan);
  text-shadow: 0 0 30px rgba(58, 217, 227, 0.5);
  margin-bottom: 1.2rem;
  letter-spacing: 0.02em;
}

.hero h1 span { color: var(--text); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.8rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s;
  border: 1px solid var(--cyan);
}

.btn-primary {
  background: var(--cyan);
  color: var(--ink);
  box-shadow: var(--glow);
}
.btn-primary:hover {
  background: var(--cyan-bright);
  box-shadow: 0 0 30px rgba(94, 241, 251, 0.7);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--cyan);
}
.btn-ghost:hover {
  background: var(--cyan-soft);
  transform: translateY(-2px);
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--cyan);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.section-sub {
  color: var(--text-dim);
  margin-bottom: 3rem;
  font-size: 1.05rem;
  max-width: 640px;
}

.section-head-tag {
  font-family: var(--font-display);
  color: var(--cyan);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  opacity: 0.7;
  margin-bottom: 1rem;
}

/* =========================================================
   SERVICES GRID
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  position: relative;
  padding: 2rem 1.8rem;
  background: rgba(61, 37, 128, 0.3);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: all 0.3s;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--cyan);
  transition: height 0.3s;
  box-shadow: var(--glow);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  background: rgba(61, 37, 128, 0.5);
}
.service-card:hover::before { height: 100%; }

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.2rem;
  color: var(--cyan);
  filter: drop-shadow(0 0 8px rgba(58, 217, 227, 0.4));
}

.service-card h3 {
  font-family: var(--font-display);
  color: var(--cyan);
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}

.service-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* =========================================================
   TRUST / STATS
   ========================================================= */
.trust-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 4rem 0;
}

.trust-item {
  text-align: center;
}

.trust-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--cyan);
  text-shadow: var(--glow);
  display: block;
}

.trust-label {
  color: var(--text-dim);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  margin-top: 0.3rem;
}

/* =========================================================
   ABOUT / WHY US
   ========================================================= */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.feature-list { list-style: none; }

.feature-list li {
  padding: 1rem 0 1rem 2.2rem;
  border-bottom: 1px dashed var(--border);
  position: relative;
  color: var(--text-dim);
}

.feature-list li::before {
  content: '▸';
  position: absolute;
  left: 0.5rem;
  color: var(--cyan);
  font-family: var(--font-display);
}

.feature-list li strong {
  color: var(--text);
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

/* =========================================================
   CTA BLOCK
   ========================================================= */
.cta-block {
  margin: 4rem auto;
  padding: 3rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(61, 37, 128, 0.5), rgba(58, 217, 227, 0.08));
  border: 1px solid var(--border);
  border-radius: 8px;
  max-width: 1200px;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, var(--cyan-soft) 0%, transparent 70%);
  opacity: 0.5;
}

.cta-block > * { position: relative; z-index: 1; }

.cta-block h2 {
  font-family: var(--font-display);
  color: var(--cyan);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}

.cta-block p {
  color: var(--text-dim);
  margin-bottom: 1.8rem;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  position: relative;
  z-index: 1;
  padding: 3rem 2rem 1.5rem;
  border-top: 1px solid var(--border);
  margin-top: 4rem;
  background: rgba(14, 8, 36, 0.6);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer h4 {
  font-family: var(--font-display);
  color: var(--cyan);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.footer p, .footer a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.9;
  display: block;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
}

/* =========================================================
   WHATSAPP FLOATING BUTTON
   ========================================================= */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.5);
  z-index: 99;
  animation: wa-pulse 2.5s infinite;
  transition: transform 0.25s;
}

.wa-float:hover { transform: scale(1.08); }

.wa-float svg { width: 30px; height: 30px; fill: white; }

@keyframes wa-pulse {
  0% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.5), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* =========================================================
   CONTACT FORM
   ========================================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.info-card {
  background: rgba(61, 37, 128, 0.25);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.8rem;
  margin-bottom: 1.2rem;
}

.info-card h4 {
  font-family: var(--font-display);
  color: var(--cyan);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.info-card p, .info-card a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.05rem;
}

.info-card a:hover { color: var(--cyan); }

.form {
  background: rgba(61, 37, 128, 0.25);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
}

.form label {
  display: block;
  font-family: var(--font-display);
  color: var(--cyan);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.form input, .form textarea, .form select {
  width: 100%;
  padding: 0.85rem 1rem;
  margin-bottom: 1.2rem;
  background: rgba(14, 8, 36, 0.6);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.2s;
}

.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-soft);
}

.form textarea {
  resize: vertical;
  min-height: 120px;
}

/* =========================================================
   FADE-IN ANIMATION
   ========================================================= */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease-out forwards;
}

.fade-up.d1 { animation-delay: 0.1s; }
.fade-up.d2 { animation-delay: 0.25s; }
.fade-up.d3 { animation-delay: 0.4s; }
.fade-up.d4 { animation-delay: 0.55s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(14, 8, 36, 0.98);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    gap: 1.2rem;
  }
  .nav-links.open { display: flex; }
  .two-col, .contact-layout, .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero { padding: 3rem 1.5rem 3rem; }
  .section { padding: 3rem 1.5rem; }
}
