/* ==========================================================================
   CONFIGURACIÓN DE VARIABLES Y PALETA DE COLORES NO CONVENCIONAL
   ========================================================================== */
:root {
  --color-bg-dark: #0C1813;       /* Verde bosque orgánico muy oscuro */
  --color-bg-light: #F4F6F2;      /* Crema arena suave texturizado */
  --color-text-dark: #1F2E26;     /* Carbono verdoso profundo */
  --color-text-light: #FAF9F6;    /* Blanco Alabastro suave */
  --color-primary: #D95A32;       /* Terracota / Óxido del desierto - Actúa como acento cálido */
  --color-accent: #10B981;        /* Verde Esmeralda vivo */
  --color-border: #E2E8F0;
  --font-primary: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Syne', sans-serif; /* Un font asimétrico y contemporáneo */
  --shadow-premium: 0 20px 40px rgba(12, 24, 19, 0.06);
}

/* ==========================================================================
   ESTILOS GENERALES Y ACCESIBILIDAD
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-primary);
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  font-size: 16px;
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  position: relative;
}

/* Enlace de accesibilidad para lectores de pantalla y navegación de teclado */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-text-light);
  padding: 12px 24px;
  z-index: 10000;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.3s ease;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--color-accent);
}

/* ==========================================================================
   ELEMENTO GRÁFICO DINÁMICO ÚNICO (CSS Blob Morphing)
   ========================================================================== */
.dynamic-shape {
  position: absolute;
  width: 450px;
  height: 450px;
  background: linear-gradient(135deg, rgba(217,90,50,0.12) 0%, rgba(16,185,129,0.08) 100%);
  border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
  animation: morphing 15s ease-in-out infinite alternate, rotateShape 28s linear infinite;
  z-index: -1;
  pointer-events: none;
  filter: blur(10px);
}

@keyframes morphing {
  0% { border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; }
  50% { border-radius: 70% 30% 52% 48% / 60% 40% 60% 40%; }
  100% { border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; }
}

@keyframes rotateShape {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   CABECERA Y BURGER MENU (Totalmente Responsivo)
   ========================================================================== */
.main-header {
  background: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(12, 24, 19, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  border-radius: 8px;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--color-bg-dark);
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: var(--color-text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.25s ease;
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

/* Burger Button */
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1100;
}

.burger span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--color-bg-dark);
  position: absolute;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.burger span:nth-child(1) { top: 0px; }
.burger span:nth-child(2) { top: 10px; }
.burger span:nth-child(3) { top: 20px; }

.burger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* ==========================================================================
   SECCIÓN HERO
   ========================================================================== */
.hero-section {
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background-color: rgba(217, 90, 34, 0.08);
  color: var(--color-primary);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(217, 90, 34, 0.2);
}

h1 {
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 1.15;
  color: var(--color-bg-dark);
  margin-bottom: 24px;
  font-weight: 500;
}

.hero-text-content p {
  font-size: 1.15rem;
  color: rgba(31, 46, 38, 0.85);
  margin-bottom: 40px;
  max-width: 620px;
}

/* Botones Premium */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  box-shadow: 0 4px 14px rgba(217, 90, 50, 0.3);
}

.btn-primary:hover {
  background-color: #be4821;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 90, 50, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-bg-dark);
  border: 2px solid var(--color-bg-dark);
  margin-left: 15px;
}

.btn-secondary:hover {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  transform: translateY(-2px);
}

.btn-block {
  display: flex;
  width: 100%;
}

.hero-buttons {
  display: flex;
  align-items: center;
}

.hero-image {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-premium);
  object-fit: cover;
  height: 480px;
}

/* ==========================================================================
   RANDOM SECTION 1 (Compromiso Verde & Características Rápidas)
   ========================================================================== */
.info-section {
  padding: 60px 24px;
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.info-card {
  background-color: rgba(255, 255, 255, 0.03);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
}

.info-icon {
  font-size: 2.2rem;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.info-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 16px;
  font-weight: 500;
}

.info-card p {
  color: rgba(250, 249, 246, 0.75);
  font-size: 0.95rem;
}

/* ==========================================================================
   SECCIÓN DE CARACTERÍSTICAS (ASIMÉTRICA)
   ========================================================================== */
.features-section {
  padding: 100px 24px;
}

.features-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.features-image-container {
  position: relative;
}

.features-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-premium);
  object-fit: cover;
  height: 400px;
}

.section-pretitle {
  display: block;
  text-transform: uppercase;
  color: var(--color-accent);
  font-size: 0.85rem;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 12px;
}

.features-content h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--color-bg-dark);
}

.features-content p {
  color: rgba(31, 46, 38, 0.8);
  margin-bottom: 30px;
  font-size: 1.05rem;
}

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

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 1rem;
}

.features-list li i {
  color: var(--color-primary);
  font-size: 1.25rem;
  margin-top: 3px;
}

/* ==========================================================================
   SECCIÓN DE PRECIOS
   ========================================================================== */
.pricing-section {
  padding: 100px 24px;
  background-color: rgba(20, 31, 25, 0.02);
}

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

.section-header {
  margin-bottom: 60px;
}

.section-header p {
  max-width: 600px;
  margin: 16px auto 0;
  color: rgba(31, 46, 38, 0.8);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  background: var(--color-text-light);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid rgba(12, 24, 19, 0.06);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
}

/* Estilo destacado */
.pricing-card.featured {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  border: 2px solid var(--color-primary);
  transform: scale(1.03);
}

.pricing-card.featured .card-header h3 {
  color: var(--color-text-light);
}

.pricing-card.featured .card-header .price {
  color: var(--color-text-light);
}

.pricing-card.featured .card-body p {
  color: rgba(250, 249, 246, 0.75);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-5px);
}

.badge-popular {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-primary);
  color: var(--color-text-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-header {
  margin-bottom: 30px;
}

.card-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-bg-dark);
  margin-bottom: 12px;
}

.price {
  font-size: 2.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-bg-dark);
  line-height: 1;
}

.price span {
  font-size: 0.9rem;
  font-family: var(--font-primary);
  font-weight: 400;
  color: rgba(31, 46, 38, 0.6);
  margin-left: 4px;
}

.pricing-card.featured .price span {
  color: rgba(250, 249, 246, 0.6);
}

.card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-body p {
  color: rgba(31, 46, 38, 0.75);
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.card-body ul {
  list-style: none;
  margin-bottom: 40px;
}

.card-body ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.card-body ul li i {
  color: var(--color-accent);
}

.card-body .btn {
  margin-top: auto;
}

/* ==========================================================================
   FORMULARIO DE CAPTURA DE LEADS
   ========================================================================== */
.form-section {
  padding: 100px 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.form-info-content h2 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1.15;
  color: var(--color-bg-dark);
  margin-bottom: 24px;
}

.form-info-content p {
  font-size: 1.1rem;
  color: rgba(31, 46, 38, 0.8);
  margin-bottom: 40px;
}

.direct-contact-items p {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.direct-contact-items p i {
  color: var(--color-primary);
}

/* Card del formulario */
.form-container-card {
  background: var(--color-text-light);
  padding: 50px;
  border-radius: 16px;
  box-shadow: var(--shadow-premium);
  border: 1px solid rgba(12, 24, 19, 0.05);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-bg-dark);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background-color: #FAF9F6;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  transition: all 0.25s ease;
  color: var(--color-text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(217, 90, 50, 0.1);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 4px;
  cursor: pointer;
  accent-color: var(--color-primary);
}

.checkbox-group label {
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(31, 46, 38, 0.85);
  line-height: 1.4;
}

.checkbox-group label a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ==========================================================================
   RANDOM SECTION 2: CERTIFICACIONES
   ========================================================================== */
.certification-section {
  padding: 80px 24px;
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
}

.certification-section h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.max-width-600 {
  max-width: 700px;
  margin: 0 auto;
  color: rgba(250, 249, 246, 0.8);
  font-size: 1.05rem;
}

/* ==========================================================================
   SECCIONES SECUNDARIAS (Páginas About, Services, FAQ, Contact)
   ========================================================================== */
.about-hero-section,
.services-hero,
.faq-hero,
.contact-hero {
  padding: 80px 24px 40px;
  background-color: rgba(20, 31, 25, 0.03);
  border-bottom: 1px solid rgba(12, 24, 19, 0.05);
}

.about-hero-section h1,
.services-hero h1,
.faq-hero h1,
.contact-hero h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--color-bg-dark);
  margin-bottom: 16px;
}

.subtitle {
  font-size: 1.2rem;
  color: rgba(31, 46, 38, 0.8);
  max-width: 750px;
}

.text-center .subtitle {
  margin: 0 auto;
}

/* Página Nosotros */
.about-content-section {
  padding: 80px 24px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin: 30px 0 16px;
  color: var(--color-bg-dark);
}

.about-text h2:first-of-type {
  margin-top: 0;
}

.about-text p {
  color: rgba(31, 46, 38, 0.8);
  margin-bottom: 20px;
  font-size: 1rem;
}

.about-images {
  position: relative;
}

.about-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-premium);
}

.stat-box {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background-color: var(--color-primary);
  color: var(--color-text-light);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-premium);
  max-width: 220px;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-text {
  font-size: 0.85rem;
  font-weight: 600;
}

/* Página Servicios Detalle */
.services-detail-section {
  padding: 80px 24px;
}

.service-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 100px;
}

.service-detail-row:last-of-type {
  margin-bottom: 0;
}

.service-detail-row.reverse .service-detail-text {
  order: 2;
}

.service-detail-text h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-bg-dark);
  margin-bottom: 20px;
}

.service-detail-text p {
  color: rgba(31, 46, 38, 0.8);
  margin-bottom: 24px;
}

.service-detail-text ul {
  list-style: none;
}

.service-detail-text ul li {
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
  font-size: 0.95rem;
  color: var(--color-text-dark);
}

.service-detail-text ul li::before {
  content: "•";
  color: var(--color-primary);
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -4px;
}

.service-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-premium);
  height: 350px;
  object-fit: cover;
}

/* Página FAQ (Accordion nativo accesible) */
.faq-accordion-section {
  padding: 80px 24px;
}

.faq-accordion-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.faq-details {
  background-color: var(--color-text-light);
  border-radius: 8px;
  border: 1px solid var(--color-border);
  margin-bottom: 16px;
  padding: 10px 20px;
  transition: all 0.25s ease;
}

.faq-details[open] {
  border-color: var(--color-primary);
  box-shadow: 0 4px 15px rgba(217, 90, 50, 0.05);
}

.faq-summary {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-bg-dark);
  padding: 10px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--color-primary);
  transition: transform 0.25s ease;
}

.faq-details[open] .faq-summary::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-answer {
  padding: 10px 0 15px;
  border-top: 1px solid rgba(12, 24, 19, 0.05);
  color: rgba(31, 46, 38, 0.8);
  font-size: 0.95rem;
}

/* Página Contacto */
.contact-main-section {
  padding: 80px 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}

.office-card {
  background: var(--color-text-light);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  margin-bottom: 24px;
}

.office-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-bg-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.office-card h3 i {
  color: var(--color-primary);
}

.office-card p {
  font-size: 0.95rem;
  color: rgba(31, 46, 38, 0.8);
  line-height: 1.5;
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--color-border);
}

/* Páginas Legales Uniformes */
.legal-page-section {
  padding: 80px 24px;
}

.legal-container {
  max-width: 850px;
  margin: 0 auto;
  background-color: var(--color-text-light);
  padding: 60px;
  border-radius: 16px;
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--color-border);
}

.legal-container h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 16px;
  color: var(--color-bg-dark);
}

.legal-container h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 35px 0 16px;
  color: var(--color-bg-dark);
}

.legal-container p,
.legal-container li {
  font-size: 0.95rem;
  color: rgba(31, 46, 38, 0.85);
  margin-bottom: 16px;
}

.legal-container ul {
  list-style: square;
  padding-left: 20px;
  margin-bottom: 20px;
}

/* ==========================================================================
   SLAYER TRUST (CAPA DE CONFIANZA GENERAL)
   ========================================================================== */
.trust-layer {
  background-color: #E6EADF;
  border-top: 1px solid rgba(12, 24, 19, 0.08);
  padding: 50px 24px;
}

.trust-container {
  max-width: 1200px;
  margin: 0 auto;
}

.trust-container h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--color-bg-dark);
}

.trust-container p {
  font-size: 0.85rem;
  color: rgba(31, 46, 38, 0.8);
  line-height: 1.5;
  margin-bottom: 12px;
}

.trust-container p a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
}

.trust-disclaimer {
  border-left: 3px solid var(--color-primary);
  padding-left: 14px;
  font-style: italic;
  margin-top: 16px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: 60px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-container p {
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.footer-legal-text {
  font-size: 0.78rem;
  color: rgba(250, 249, 246, 0.55);
  max-width: 800px;
  margin: 0 auto 24px;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.8rem;
}

.footer-links a {
  color: rgba(250, 249, 246, 0.7);
  text-decoration: none;
  transition: color 0.25s ease;
}

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

/* ==========================================================================
   VISTA CENTRALIZADA (404 / THANK YOU)
   ========================================================================== */
.center-page-body {
  background-color: var(--color-bg-light);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.center-card-main {
  width: 100%;
  max-width: 550px;
}

.message-card {
  background: var(--color-text-light);
  padding: 50px 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--color-border);
  text-align: center;
}

.icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin-bottom: 30px;
}

.success-icon {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--color-accent);
}

.error-icon {
  background-color: rgba(217, 90, 50, 0.1);
  color: var(--color-primary);
}

.message-card h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--color-bg-dark);
  margin-bottom: 20px;
}

.message-card p {
  color: rgba(31, 46, 38, 0.8);
  margin-bottom: 16px;
  font-size: 1rem;
}

.action-buttons {
  margin-top: 35px;
}

/* ==========================================================================
   BANNER DE COOKIES
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(12, 24, 19, 0.98);
  border-top: 2px solid var(--color-primary);
  color: var(--color-text-light);
  padding: 24px;
  z-index: 9999;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.15);
  transition: transform 0.4s ease;
}

.cookie-banner.hidden {
  transform: translateY(100%);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cookie-content p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(250, 249, 246, 0.85);
}

.cookie-content p a {
  color: var(--color-accent);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 12px;
}

.cookie-btn {
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.cookie-btn.accept {
  background-color: var(--color-primary);
  color: var(--color-text-light);
}

.cookie-btn.accept:hover {
  background-color: #be4821;
}

.cookie-btn.reject {
  background-color: transparent;
  color: var(--color-text-light);
  border: 1px solid rgba(250, 249, 246, 0.3);
}

.cookie-btn.reject:hover {
  background-color: rgba(250, 249, 246, 0.1);
}

/* ==========================================================================
   MEDIA QUERIES (Mobile First - Adaptación de Layouts)
   ========================================================================== */
@media (max-width: 1024px) {
  h1 { font-size: 2.6rem; }
  .hero-container { gap: 40px; }
  .features-grid, .form-grid, .contact-grid { gap: 40px; }
}

@media (max-width: 768px) {
  /* Cabecera y Menú Móvil */
  .burger {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--color-bg-light);
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    gap: 40px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -5px 0 15px rgba(0,0,0,0.05);
  }
  
  .nav-menu.active {
    transform: translateX(0);
  }
  
  .nav-link {
    font-size: 1.25rem;
  }

  /* Grid a columna única */
  .hero-container,
  .info-grid,
  .features-grid,
  .pricing-grid,
  .form-grid,
  .service-detail-row,
  .contact-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-detail-row.reverse .service-detail-text {
    order: 0;
  }

  .hero-visual {
    order: 2;
  }

  .hero-image, .service-img, .features-img {
    height: 300px;
  }

  .stat-box {
    position: static;
    margin-top: 20px;
    max-width: 100%;
    text-align: center;
  }

  /* Márgenes y Paddin móviles */
  .hero-section, .about-content-section, .services-detail-section, .faq-accordion-section, .contact-main-section, .legal-page-section {
    padding: 60px 16px;
  }

  .features-section, .pricing-section, .form-section {
    padding: 60px 16px;
  }

  .legal-container {
    padding: 30px 20px;
  }

  .form-container-card {
    padding: 30px 20px;
  }

  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .cookie-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .cookie-actions {
    width: 100%;
    justify-content: center;
  }
}