/* ============================================
   ECOBIOSFERA - ESTILOS PRINCIPALES
   ============================================ */
/* Fuentes cargadas desde index.html con preconnect para mejor performance */

/* ============ VARIABLES CSS ============ */
:root {
  /* Paleta original del brochure */
  --primary-dark: #0d2818;
  --primary-green: #1e5631;
  --highlight: #f39c12;
  --blue-1: #19367a;
  --blue-2: #0d91b4;
  --gradient-blue: linear-gradient(90deg, var(--blue-1) 0%, var(--blue-2) 100%);
  --lime-green: #a6d63a;
  --white: #ffffff;
  --light-bg: #f8f8f8;
  --text-dark: #07090c;
  --text-gray: #14171b;
  --black: #000000;

  /* Sombras */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

/* ============ RESET Y BASE ============ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(to right, var(--blue-1), var(--blue-2));
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============ UTILIDADES ============ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-gray);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ============ HEADER / NAVIGATION ============ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--light-bg);

  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar {
  padding: 1rem 0;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  color: var(--blue-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-1);
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a:focus {
  color: var(--blue-1);
  outline: none;
}

.nav-menu a:hover::after,
.nav-menu a:focus::after {
  width: 100%;
  background: var(--blue-1);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  gap: 4px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--blue-2);
  transition: var(--transition);
  border-radius: 2px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.menu-toggle:focus {
  outline: 2px solid var(--primary-dark);
  outline-offset: 2px;
}

/* ============ HERO SECTION ============ */
.hero {
  margin-top: 80px;
  padding: 0;
  position: relative;
  overflow: hidden;
  height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
}

.hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(
      180deg,
      rgba(13, 40, 24, 0.4) 0%,
      rgba(13, 40, 24, 0.83) 100%
    ),
    url(../assets/FotoCamion.jpg) lightgray 50% / cover no-repeat;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  height: 100%;
  padding-bottom: 0;
}

/* Desktop: Value banner positioned inside hero */
@media (min-width: 600px) {
  .value-banner {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
  }
}

.hero-content {
  text-align: center;
  max-width: fill-available;
  margin: 0 0;
  padding: 2rem 0 1rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-height: 0;
}

.badge {
  display: inline-block;
  background: var(--highlight);
  color: var(--black);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: fit-content;
  margin-inline: auto;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--white);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

/* Hero reveal al cargar (aparición escalonada) */
.hero-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

body.hero-loaded .hero-reveal {
  opacity: 1;
  transform: translateY(0);
}

.hero-reveal-0 {
  transition-delay: 0s;
}
.hero-reveal-1 {
  transition-delay: 0.25s;
}
.hero-reveal-2 {
  transition-delay: 0.5s;
}
.hero-reveal-3 {
  transition-delay: 0.75s;
}
.hero-reveal-4 {
  transition-delay: 1s;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--blue-2);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-2px);
  background: var(--blue-1);
  box-shadow: var(--shadow-lg);
  outline: none;
}

.btn-secondary {
  background: var(--white);
  color: var(--black);
  border: 2px solid var(--lime-green);
}

.btn-secondary:hover,
.btn-secondary:focus {
  transform: translateY(-2px);
  background: var(--lime-green);
  color: var(--primary-dark);
  outline: none;
}

.btn-large {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
}

/* ============ VALUE BANNER ============ */
.value-banner {
  background: linear-gradient(90deg, var(--blue-1) 0%, var(--blue-2) 100%);
  padding: 1.5rem 0;
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Desktop: Value banner positioned inside hero */
@media (min-width: 600px) {
  .value-banner {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
  }
}

/* Mobile: Value banner as separate section - hero must fill 100vh */
@media (max-width: 599px) {
  .hero {
    height: calc(100vh - 70px);
    margin-top: 70px;
    overflow: hidden;
    position: relative;
  }

  .hero .container {
    height: 100%;
    justify-content: center;
    padding-bottom: 0;
  }

  .hero-content {
    padding: 2rem 0;
  }

  .value-banner {
    position: static;
    margin-top: 0;
  }
}

.value-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
}

.value-icon {
  font-size: 2rem;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-item span {
  font-size: 1rem;
  font-weight: 600;
}

/* ============ ZONA DE COBERTURA (SEO local) ============ */
.coverage-section {
  padding: 4rem 0;
  background: var(--light-bg);
}

.coverage-section h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--black);
  margin-bottom: 1rem;
  font-weight: 700;
  text-align: center;
}

.coverage-section h2 span {
  background: linear-gradient(135deg, var(--blue-1) 0%, var(--blue-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.coverage-section .section-subtitle {
  margin-bottom: 1.5rem;
}

.coverage-list {
  list-style: none;
  max-width: 600px;
  margin: 0 auto 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.5rem 1.5rem;
  text-align: left;
}

.coverage-list li {
  padding: 0.35rem 0;
  color: var(--text-gray);
  font-size: 1rem;
}

.coverage-cta {
  text-align: center;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.coverage-section .btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

/* ============ FAQ SECTION (SEO / featured snippets) ============ */
.faq-section {
  padding: 4rem 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--light-bg) 100%);
}

.faq-section h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--black);
  margin-bottom: 1rem;
  font-weight: 700;
  text-align: center;
}

.faq-section h2 span {
  background: linear-gradient(135deg, var(--blue-1) 0%, var(--blue-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  padding: 0;
}

/* Tarjeta FAQ */
.faq-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition:
    box-shadow 0.35s ease,
    transform 0.35s ease;
  border: 1px solid rgba(25, 54, 122, 0.08);
}

.faq-card:hover {
  box-shadow:
    0 12px 40px rgba(25, 54, 122, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.faq-item.is-open .faq-card {
  box-shadow:
    0 14px 44px rgba(25, 54, 122, 0.15),
    0 6px 16px rgba(0, 0, 0, 0.08);
  border-color: rgba(13, 145, 180, 0.25);
}

/* Botón pregunta */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: linear-gradient(
    90deg,
    rgba(25, 54, 122, 0.04) 0%,
    rgba(13, 145, 180, 0.04) 100%
  );
}

.faq-question:focus-visible {
  outline: 2px solid var(--blue-2);
  outline-offset: 2px;
}

.faq-dt {
  margin: 0;
  font-weight: 700;
  color: var(--blue-1);
  font-size: 1.1rem;
  line-height: 1.4;
  flex: 1;
}

/* Icono + / − */
.faq-toggle {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-2);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-card:hover .faq-toggle {
  transform: scale(1.08);
}

.faq-icon-minus {
  display: none;
}

.faq-item.is-open .faq-icon-plus {
  display: none;
}

.faq-item.is-open .faq-icon-minus {
  display: block;
}

.faq-item.is-open .faq-toggle {
  transform: rotate(180deg);
  background: var(--blue-2);
}

/* Respuesta desplegable (totalmente oculta cuando está cerrada) */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer > dd {
  margin: 0;
  overflow: hidden;
  min-height: 0;
}

/* Cerrada: sin padding, borde ni fondo para que no se vea nada */
.faq-item:not(.is-open) .faq-answer dd {
  padding: 0;
  border: none;
  background: transparent;
}

.faq-answer dd {
  margin-left: 0;
  color: var(--text-gray);
  line-height: 1.75;
  font-size: 1rem;
  transition:
    padding 0.25s ease,
    border 0.25s ease;
}

.faq-item.is-open .faq-answer dd {
  padding: 1rem 1.5rem 1.35rem;
  border-top: 1px solid var(--light-bg);
  background: linear-gradient(
    180deg,
    rgba(248, 248, 248, 0.6) 0%,
    transparent 100%
  );
}

/* ============ ABOUT SECTION ============ */
.about-section {
  padding: 5rem 0;
  background: var(--white);
}

.about-section h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--black);
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-align: center;
}

.about-section h2 span {
  background: linear-gradient(135deg, var(--blue-1) 0%, var(--blue-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-description {
  font-size: 1.125rem;
  color: var(--text-gray);
  line-height: 1.8;
  max-width: fill-available;

  text-align: center;
}

.clients-section {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 2px solid var(--light-bg);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: center;
  justify-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.client-logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  width: 100%;
  max-width: 200px;
}

.client-logo-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.client-logo {
  width: 100%;
  max-width: 150px;
  height: 100px;
  object-fit: contain;
  background: var(--light-bg);
  border-radius: 8px;
  padding: 1rem;
}

.client-name {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 600;
  text-align: center;
}

/* ============ SERVICES SECTION ============ */
.services-section {
  padding: 5rem 0;
  background: var(--light-bg);
}

.services-section h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--black);
  margin-bottom: 1rem;
  font-weight: 700;
  text-align: center;
}

.services-section h2 span {
  color: var(--gradient-blue);
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-left: 5px solid var(--blue-2);
  display: flex;
  flex-direction: row;
  overflow: hidden;
}

.service-card.featured {
  border-left-color: var(--highlight);
  box-shadow: var(--shadow-md);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--blue-1);
}

.service-image-wrapper {
  width: 200px;
  min-width: 200px;
  height: 100%;
  overflow: hidden;
  background: var(--light-bg);
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-image {
  transform: scale(1.05);
}

.service-content-wrapper {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-badge {
  display: inline-block;
  background: var(--highlight);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: flex-start;
}

.service-content-wrapper h3 {
  font-size: 1.5rem;
  color: var(--blue-1);
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-content-wrapper p {
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-link {
  color: var(--blue-2);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
}

.service-link:hover,
.service-link:focus {
  color: var(--blue-1);
  outline: none;
  text-decoration: underline;
}

/* ============ PROCESS SECTION ============ */
.process-section {
  padding: 5rem 0;
  background: var(--white);
}

.process-section h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--black);
  margin-bottom: 1rem;
  font-weight: 700;
  text-align: center;
}

.process-section h2 span {
  color: var(--gradient-blue);
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.process-step {
  text-align: center;
  padding: 2rem;
  background: var(--light-bg);
  border-radius: 16px;
  position: relative;
  transition: var(--transition);
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--accent-green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
}

.step-icon {
  font-size: 3rem;
  margin: 1rem 0;
}

.process-step h3 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 1rem;
}

.process-step p {
  font-size: 1rem;
  color: var(--text-gray);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.process-step ul {
  list-style: none;
  text-align: left;
  margin-top: 1rem;
}

.process-step ul li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-gray);
  font-size: 0.95rem;
}

.process-step ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: 700;
}

/* ============ WHY CHOOSE SECTION ============ */
.why-choose-section {
  padding: 5rem 0;
  background: var(--light-bg);
}

.why-choose-section h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--black);
  margin-bottom: 1rem;
  font-weight: 700;
  text-align: center;
}

.why-choose-section h2 span {
  color: var(--gradient-blue);
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.benefit-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

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

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.benefit-card h3 {
  font-size: 1.25rem;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 1rem;
}

.benefit-card p {
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.7;
}

/* ============ CTA SECTION ============ */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-green) 100%
  );
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.cta-section p {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
  line-height: 1.8;
}

/* ============ CONTACT SECTION ============ */
.contact-section {
  padding: 5rem 0;
  background: var(--white);
}

.contact-section h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--black);
  margin-bottom: 1rem;
  font-weight: 700;
  text-align: center;
}

.contact-section h2 span {
  color: var(--gradient-blue);
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  margin-top: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  padding: 1.5rem;
  background: var(--light-bg);
  border-radius: 12px;
}

.contact-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.contact-item h3 {
  font-size: 1.25rem;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.contact-item p {
  font-size: 1rem;
  color: var(--text-gray);
  margin-bottom: 0.5rem;
}

.contact-item a {
  color: var(--accent-green);
  text-decoration: none;
  transition: var(--transition);
}

.contact-item a:hover,
.contact-item a:focus {
  color: var(--primary-green);
  outline: none;
  text-decoration: underline;
}

.whatsapp-btn {
  display: inline-block;
  background: #25d366;
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  margin-top: 0.5rem;
  transition: var(--transition);
}

.whatsapp-btn:hover,
.whatsapp-btn:focus {
  background: #20ba5a;
  transform: translateY(-2px);
  outline: none;
}

.contact-form-wrapper {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 16px;
}

.contact-form-wrapper h3 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.form-subtitle {
  font-size: 0.95rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
  text-align: left;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.required {
  color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.25rem;
  width: auto;
  cursor: pointer;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
  font-size: 0.9rem;
}

/* ============ FOOTER ============ */
.footer {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-green) 100%
  );
  color: var(--white);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.footer-section p {
  opacity: 0.9;
  line-height: 1.7;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.9;
  transition: var(--transition);
}

.footer-section a:hover,
.footer-section a:focus {
  opacity: 1;
  color: var(--lime-green);
  outline: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  opacity: 0.9;
  font-size: 0.9rem;
}

.footer-bottom span {
  color: var(--lime-green);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.9;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover,
.footer-links a:focus {
  opacity: 1;
  color: var(--accent-green);
  outline: none;
}

/* ============ WHATSAPP FLOATING BUTTON ============ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition);
  text-decoration: none;
  color: var(--white);
}

.whatsapp-float:hover,
.whatsapp-float:focus {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
  outline: none;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

/* ============ RESPONSIVE DESIGN ============ */

/* Tablet */
@media (max-width: 968px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    order: -1;
  }

  .contact-info {
    order: 1;
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .client-logo-wrapper {
    max-width: 100%;
  }

  .client-logo {
    max-width: 120px;
    height: 80px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-steps,
  .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

/* Mobile */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--light-bg);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transform: translateX(-100%);
    transition: var(--transition);
    gap: 1rem;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-menu a {
    width: 100%;
    text-align: center;
    padding: 0.75rem;
  }

  .hero {
    margin-top: 70px;
    min-height: 500px;
  }

  .hero-content {
    padding: 3rem 0 4rem;
  }

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

  .btn {
    width: 100%;
  }

  .hero {
    height: calc(100vh - 70px);
    margin-top: 70px;
  }

  .hero-content {
    padding: 1.5rem 0 0.5rem;
  }

  .hero h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 8px;
  }

  .hero-description {
    font-size: clamp(0.9rem, 2vw, 1rem);
    margin-bottom: 1.5rem;
  }

  .value-banner {
    padding: 1rem 0;
  }

  .value-items {
    gap: 1rem;
  }

  .value-item span {
    font-size: 0.85rem;
  }

  .value-items {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .value-item {
    flex-direction: column;
  }

  .clients-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .client-logo-wrapper {
    max-width: 100%;
  }

  .clients-section {
    margin-top: 2rem;
    padding-top: 2rem;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }

  .process-steps,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    flex-direction: column;
  }

  .service-image-wrapper {
    width: 100%;
    min-width: 100%;
    height: 200px;
  }

  .hero {
    height: calc(100vh - 70px);
    margin-top: 70px;
    overflow: hidden;
  }

  .hero .container {
    height: 100%;
    justify-content: center;
  }

  .hero-content {
    padding: 2rem 0;
  }

  .logo-img {
    height: 50px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .service-card,
  .process-step,
  .benefit-card {
    padding: 1.5rem;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }
}

/* Print Styles */
@media print {
  .header,
  .menu-toggle,
  .hero-cta,
  .contact-form,
  .footer {
    display: none;
  }

  .hero {
    margin-top: 0;
    page-break-after: always;
  }

  body {
    background: white;
  }
}

/* ============ FORM ERRORS & SUCCESS ============ */
.error-message {
  color: #e74c3c;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  font-weight: 500;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error,
.checkbox-group input.error {
  border-color: #e74c3c;
}

.form-group input.error:focus,
.form-group select.error:focus,
.form-group textarea.error:focus {
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.success-message {
  background: linear-gradient(
    135deg,
    var(--accent-green) 0%,
    var(--bright-green) 100%
  );
  color: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  animation: slideIn 0.3s ease-out;
}

.success-message strong {
  display: block;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.success-message p {
  margin: 0;
  opacity: 0.95;
}

/* ============ MODAL ÉXITO FORMULARIO ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  animation: modalOverlayIn 0.25s ease-out;
}

.modal-overlay[aria-hidden="true"] {
  animation: modalOverlayOut 0.2s ease-in forwards;
}

.modal-success {
  background: var(--white);
  border-radius: 16px;
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  max-width: 420px;
  width: 100%;
  padding: 2rem;
  text-align: center;
  position: relative;
  animation: modalBoxIn 0.35s ease-out;
}

.modal-overlay[aria-hidden="true"] .modal-success {
  animation: modalBoxOut 0.2s ease-in forwards;
}

.modal-success__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(
    135deg,
    var(--primary-green) 0%,
    var(--lime-green) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  line-height: 1;
}

.modal-success__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.modal-success__text {
  color: var(--text-gray);
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.modal-success__btn {
  display: inline-block;
  background: var(--primary-green);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.modal-success__btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.modal-success__btn:focus {
  outline: 2px solid var(--primary-green);
  outline-offset: 2px;
}

@keyframes modalOverlayIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalOverlayOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes modalBoxIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes modalBoxOut {
  from {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  to {
    opacity: 0;
    transform: scale(0.95) translateY(5px);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============ SCROLL ANIMATIONS ============ */
.service-card,
.process-step,
.benefit-card {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.service-card.animate-in,
.process-step.animate-in,
.benefit-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* ============ ACCESSIBILITY ============ */
/* Focus visible for keyboard navigation */
*:focus-visible {
  outline: 2px solid var(--accent-green);
  outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-dark);
  color: var(--white);
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --text-gray: #000000;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
