﻿:root {
  --bg-primary: #0d0e12;
  --bg-secondary: #151821;
  --bg-card: #1c202b;
  --accent: #e05a47;
  --accent-hover: #f1705e;
  --text-main: #f3f4f6;
  --text-secondary: #9ca3af;
  --border-color: rgba(255, 255, 255, 0.08);
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  letter-spacing: -0.5px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: #fff;
  padding: 8px;
  z-index: 100;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* Efecto gráfico único de fondo */
.ambient-glow {
  position: fixed;
  top: -10%;
  right: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(224, 90, 71, 0.12) 0%, rgba(21, 24, 33, 0) 70%);
  z-index: -1;
  filter: blur(90px);
  pointer-events: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* Header & Nav */
header {
  border-bottom: 1px solid var(--border-color);
  background-color: rgba(13, 14, 18, 0.95);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  color: #fff;
  text-decoration: none;
}
.logo img {
  width: 32px;
  height: 32px;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--accent);
}
.burger-menu {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 6rem 0 4rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-content h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.hero-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
.btn-primary {
  display: inline-block;
  background-color: var(--accent);
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background-color: var(--accent-hover);
}
.hero-image img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Statistics */
.stats {
  background: var(--bg-secondary);
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item h3 {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.stat-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Social Proof & Testimonials */
.social-proof {
  padding: 4rem 0;
}
.partners-logos {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  opacity: 0.6;
  margin-bottom: 4rem;
}
.partners-logos i {
  font-size: 2.5rem;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.testimonial-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}
.testimonial-card p {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}
.testimonial-card h4 {
  color: var(--accent);
}

/* Features (Asymmetric layout) */
.features {
  padding: 5rem 0;
  background: var(--bg-secondary);
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}
.features-image img {
  width: 100%;
  border-radius: 8px;
}
.features-content ul {
  list-style: none;
  margin-top: 1.5rem;
}
.features-content li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2rem;
  color: var(--text-secondary);
}
.features-content li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* Services */
.services-section {
  padding: 5rem 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s;
}
.service-card:hover {
  transform: translateY(-5px);
}
.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.service-card-body {
  padding: 1.5rem;
}
.service-card-body h3 {
  margin-bottom: 0.5rem;
}
.service-card-body p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* Pricing Section */
.pricing {
  padding: 5rem 0;
  background: var(--bg-secondary);
}
.pricing-header {
  text-align: center;
  margin-bottom: 3rem;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.pricing-card.popular {
  border-color: var(--accent);
  box-shadow: 0 0 25px rgba(224, 90, 71, 0.15);
}
.badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent);
  color: #fff;
  padding: 0.2rem 0.8rem;
  font-size: 0.75rem;
  border-radius: 12px;
  font-weight: bold;
}
.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.price {
  font-size: 2.5rem;
  color: #fff;
  font-weight: bold;
  margin-bottom: 1.5rem;
}
.pricing-card ul {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}
.pricing-card li {
  margin-bottom: 0.8rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.pricing-card li i {
  color: var(--accent);
  margin-right: 0.5rem;
}

/* FAQ Accordion (Pure CSS details summary) */
.faq-section {
  padding: 5rem 0;
}
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}
details {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 1rem;
  padding: 1.2rem;
  transition: border-color 0.3s;
}
details[open] {
  border-color: var(--accent);
}
summary {
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  cursor: pointer;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: '+';
  color: var(--accent);
  font-size: 1.5rem;
  transition: transform 0.3s;
}
details[open] summary::after {
  transform: rotate(45deg);
}
.faq-content {
  margin-top: 1rem;
  color: var(--text-secondary);
}

/* Form Section */
.form-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}
.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 3rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.8rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-main);
  font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.form-checkbox input {
  width: auto;
  margin-top: 0.3rem;
}
.form-checkbox label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.form-checkbox a {
  color: var(--accent);
}

/* Trust Layer (Placa de Confianza antes del footer) */
.trust-layer {
  background: #10121a;
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.trust-layer h3 {
  color: var(--text-main);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.trust-layer p {
  margin-bottom: 1rem;
}
.trust-links {
  margin-top: 1rem;
}
.trust-links a {
  color: var(--accent);
  text-decoration: none;
  margin: 0 0.5rem;
}

/* Footer */
footer {
  background: var(--bg-primary);
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.legal-footer-text {
  font-size: 0.75rem;
  margin-top: 1rem;
  opacity: 0.7;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-card);
  border-top: 2px solid var(--accent);
  padding: 1.5rem 0;
  z-index: 100;
  display: none;
}
.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.cookie-text {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.cookie-text a {
  color: var(--accent);
}
.cookie-buttons {
  display: flex;
  gap: 1rem;
}
.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.05);
}

/* Map Iframe Style */
.map-container {
  margin-top: 2rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .hero, .features-grid, .pricing-grid, .services-grid, .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .burger-menu {
    display: block;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-primary);
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-links.active {
    display: flex;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
}