@media (max-width: 900px) {
  .nav-actions {
    display: none !important;
  }
}
/* ===========================
   COLEC — Estilos Globales
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700&family=Fraunces:ital,wght@0,400;0,700;1,400&display=swap');

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

:root {
  --verde:       #1a6b3a;
  --verde-light: #237a44;
  --verde-dark:  #0f3d22;
  --verde-pale:  #e8f4ed;
  --naranja:     #e07b2a;
  --naranja-light: #f0955a;
  --gris-dark:   #1c1e1d;
  --gris-mid:    #3e4340;
  --gris-muted:  #6b7370;
  --gris-light:  #f4f6f4;
  --white:       #ffffff;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   22px;
  --shadow-sm:   0 2px 12px rgba(26,107,58,0.08);
  --shadow-md:   0 8px 32px rgba(26,107,58,0.12);
  --shadow-lg:   0 16px 56px rgba(26,107,58,0.16);
  --transition:  0.28s cubic-bezier(0.4,0,0.2,1);
}

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

body {
  font-family: 'Sora', sans-serif;
  background: var(--gris-light);
  color: var(--gris-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; }
ul { list-style: none; }

/* ===========================
   UTILIDADES
   =========================== */

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--naranja);
  display: block;
  margin-bottom: 0.5rem;
  text-align: center;
}

.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--gris-dark);
}

.section-sub {
  font-size: 1rem;
  color: var(--gris-muted);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3.5rem;
  line-height: 1.8;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  font-family: 'Sora', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--verde);
  color: var(--white);
  border-color: var(--verde);
}
.btn-primary:hover {
  background: var(--verde-dark);
  border-color: var(--verde-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.85);
}

.btn-naranja {
  background: var(--naranja);
  color: var(--white);
  border-color: var(--naranja);
}
.btn-naranja:hover {
  background: #c96e1e;
  border-color: #c96e1e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(224,123,42,0.3);
}

/* ===========================
   NAVBAR
   =========================== */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5vw;
  background: rgba(244,246,244,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(26,107,58,0.1);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-logo-icon {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.nav-logo-text {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--verde-dark);
  letter-spacing: -0.5px;
}

.nav-logo-text span {
  color: var(--naranja);
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gris-mid);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--verde);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--verde);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-wa {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--verde);
  background: var(--verde-pale);
  padding: 0.45rem 1rem;
  border-radius: 50px;
  transition: background var(--transition);
}

.nav-wa:hover {
  background: #d0e8d8;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gris-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===========================
   HERO CAROUSEL
   =========================== */

.carousel-section {
  margin-top: 68px;
  position: relative;
  height: 90vh;
  min-height: 540px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.77,0,0.18,1);
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 6s ease;
}

.slide.active .slide-bg {
  transform: scale(1);
}

.slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,40,20,0.82) 0%,
    rgba(15,61,34,0.55) 50%,
    rgba(10,40,20,0.25) 100%
  );
}

.slide-content {
  position: relative;
  z-index: 2;
  padding: 0 8vw;
  max-width: 700px;
}

.slide-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--naranja-light);
  display: block;
  margin-bottom: 1.2rem;
}

.slide-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 5.5vw, 4rem);
  color: var(--white);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 1.3rem;
}

.slide-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.80);
  max-width: 500px;
  line-height: 1.8;
  margin-bottom: 2.2rem;
}

.slide-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.carousel-controls {
  position: absolute;
  bottom: 2.5rem;
  left: 8vw;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.carousel-dot {
  width: 28px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: all 0.35s;
  padding: 0;
}

.carousel-dot.active {
  width: 52px;
  background: var(--naranja);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}

.carousel-arrow:hover {
  background: rgba(255,255,255,0.25);
}

.arr-prev { left: 2.5vw; }
.arr-next { right: 2.5vw; }

.carousel-counter {
  position: absolute;
  bottom: 2.5rem;
  right: 5vw;
  z-index: 10;
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
}

.carousel-counter strong {
  font-size: 1.6rem;
  color: var(--white);
}

/* ===========================
   QUIÉNES SOMOS
   =========================== */

.about-section {
  padding: 6rem 5vw;
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5vw;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text .section-title,
.about-text .section-eyebrow {
  text-align: left;
}

.about-text .section-sub {
  text-align: left;
  margin-left: 0;
}

.about-text p {
  font-size: 0.97rem;
  color: var(--gris-muted);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.about-highlight {
  display: flex;
  gap: 1.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.about-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--verde-pale);
  color: var(--verde-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 50px;
}

.about-image-wrap {
  position: relative;
}

.about-img-main {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  height: 460px;
  box-shadow: var(--shadow-lg);
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--verde);
  color: var(--white);
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.about-badge-num {
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}

.about-badge-num span {
  color: var(--naranja-light);
}

.about-badge-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 0.3rem;
}

/* ===========================
   SERVICIOS
   =========================== */

.services-section {
  padding: 6rem 5vw;
  background: var(--gris-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.6rem;
  border: 1.5px solid rgba(26,107,58,0.07);
  transition: all var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--verde), var(--naranja));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(26,107,58,0.15);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  display: block;
}

.service-card h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--verde-dark);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.7rem;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--gris-muted);
  line-height: 1.75;
}

/* ===========================
   MÉTRICAS
   =========================== */

.metrics-section {
  padding: 6rem 5vw;
  background: var(--verde-dark);
  position: relative;
  overflow: hidden;
}

.metrics-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(224,123,42,0.12), transparent 70%);
  pointer-events: none;
}

.metrics-section .section-title {
  color: var(--white);
}

.metrics-section .section-sub {
  color: rgba(255,255,255,0.5);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.metric-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
}

.metric-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}

.metric-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.metric-number {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.metric-number sup {
  font-size: 1.5rem;
  color: var(--naranja-light);
  vertical-align: top;
  margin-top: 0.4rem;
  display: inline-block;
}

.metric-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.metric-bar {
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}

.metric-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--naranja), var(--verde));
  width: 0;
  transition: width 1.4s cubic-bezier(0.4,0,0.2,1);
}

/* ===========================
   MISIÓN / VISIÓN / VALORES
   =========================== */

.values-section {
  padding: 6rem 5vw;
  background: var(--white);
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto 4rem;
}

.mvv-card {
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  border: 1.5px solid rgba(26,107,58,0.1);
  background: var(--gris-light);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.mvv-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--verde), var(--naranja));
}

.mvv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(26,107,58,0.2);
}

.mvv-icon {
  font-size: 2.2rem;
  margin-bottom: 1.3rem;
}

.mvv-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--verde-dark);
}

.mvv-card p {
  font-size: 0.92rem;
  color: var(--gris-muted);
  line-height: 1.8;
}

.valores-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  max-width: 700px;
  margin: 0 auto;
}

.valor-chip {
  background: var(--verde-pale);
  color: var(--verde-dark);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  letter-spacing: 0.5px;
  border: 1.5px solid rgba(26,107,58,0.15);
  transition: all var(--transition);
}

.valor-chip:hover {
  background: var(--verde);
  color: var(--white);
  border-color: var(--verde);
  transform: translateY(-2px);
}

/* ===========================
   COBERTURA
   =========================== */

.coverage-section {
  padding: 5rem 5vw;
  background: var(--verde-pale);
  text-align: center;
}

.coverage-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

.city-chip {
  background: var(--white);
  color: var(--verde-dark);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1.3rem;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

body.dark-mode .city-chip {
  color: var(--naranja-light);
}
/* ===========================
   CLIENTES
   =========================== */

.clients-section {
  padding: 5rem 5vw;
  background: var(--gris-light);
  overflow: hidden;
}

.clients-track-wrap {
  overflow: hidden;
  position: relative;
}

.clients-track-wrap::before,
.clients-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
}

.clients-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--gris-light), transparent);
}

.clients-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--gris-light), transparent);
}

.clients-track {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  animation: scrollClients 30s linear infinite;
  width: max-content;
}

.clients-track:hover {
  animation-play-state: paused;
}

@keyframes scrollClients {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.client-logo {
  width: 110px;
  height: 60px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.55);
  transition: all var(--transition);
  flex-shrink: 0;
}

.client-logo:hover {
  filter: grayscale(0%) opacity(1);
}

/* ===========================
   FORMULARIO
   =========================== */

.contact-section {
  padding: 6rem 5vw;
  background: var(--gris-dark);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(26,107,58,0.2), transparent 70%);
  pointer-events: none;
}

.contact-section .section-title {
  color: var(--white);
}

.contact-section .section-sub {
  color: rgba(255,255,255,0.5);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4vw;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.contact-info h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(26,107,58,0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item-text p:first-child {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--naranja-light);
  margin-bottom: 0.2rem;
}

.contact-item-text a,
.contact-item-text p:last-child {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}

.contact-item-text a:hover {
  color: var(--white);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  margin-bottom: 1.3rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gris-dark);
  display: block;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group label .req {
  color: var(--naranja);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid rgba(30,50,40,0.14);
  border-radius: var(--radius-sm);
  font-family: 'Sora', sans-serif;
  font-size: 0.92rem;
  color: var(--gris-dark);
  background: var(--gris-light);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--verde);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26,107,58,0.1);
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.08);
}

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

.error-msg {
  font-size: 0.77rem;
  color: #c0392b;
  margin-top: 0.3rem;
  display: none;
}

.error-msg.visible {
  display: block;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 1.6rem;
}

.form-check input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  accent-color: var(--verde);
  cursor: pointer;
  flex-shrink: 0;
}

.form-check label {
  font-size: 0.83rem;
  color: var(--gris-muted);
  line-height: 1.6;
}

.form-check label a {
  color: var(--verde);
  font-weight: 600;
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 50px;
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  background: var(--verde);
  color: var(--white);
  letter-spacing: 0.5px;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.submit-btn:hover {
  background: var(--verde-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,107,58,0.35);
}

.submit-btn:active {
  transform: scale(0.98);
}

.submit-btn.loading {
  opacity: 0.7;
  pointer-events: none;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2.5rem 1rem;
}

.success-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.form-success h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.7rem;
  color: var(--verde-dark);
  margin-bottom: 0.6rem;
}

.form-success p {
  color: var(--gris-muted);
  font-size: 0.95rem;
}

/* ===========================
   FOOTER
   =========================== */

footer {
  background: #111714;
  color: rgba(255,255,255,0.45);
  padding: 3rem 5vw 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3vw;
  max-width: 1100px;
  margin: 0 auto 2.5rem;
}

.footer-brand .nav-logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.45);
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.2rem;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.6rem;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--naranja-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  font-size: 0.8rem;
}

.footer-bottom strong {
  color: var(--naranja-light);
}

/* ===========================
   WHATSAPP FAB
   =========================== */

.wa-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  font-size: 1.6rem;
  transition: all var(--transition);
  text-decoration: none;
}

.wa-fab:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
}

/* ===========================
   ANIMACIONES DE ENTRADA
   =========================== */

.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 900px) {
  .about-section {
    grid-template-columns: 1fr;
  }
  .about-image-wrap {
    order: -1;
  }
  .about-img-main {
    height: 320px;
  }
  .about-badge {
    bottom: 1rem;
    left: 1rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .contact-info h3 {
    grid-column: 1/-1;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    padding: 1.5rem 5vw;
    border-bottom: 1px solid rgba(26,107,58,0.1);
    gap: 1.2rem;
    box-shadow: var(--shadow-sm);
  }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.8rem 1.3rem; }
  .contact-info { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .arr-prev { left: 0.5rem; }
  .arr-next { right: 0.5rem; }
}
/* ===========================
   MODO OSCURO
   =========================== */

body {
  transition: background var(--transition), color var(--transition);
}

/* Botón modo oscuro */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1.5px solid rgba(26,107,58,0.18);
  background: var(--white);
  color: var(--verde-dark);
  font-family: 'Sora', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.theme-toggle:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.theme-toggle-icon {
  font-size: 1rem;
  line-height: 1;
}

.theme-toggle-text {
  line-height: 1;
}

/* Estado global oscuro */
body.dark-mode {
  background: #0f1412;
  color: #e8efe9;
}

/* Navbar */
body.dark-mode .navbar {
  background: rgba(15, 20, 18, 0.94);
  border-bottom-color: rgba(255,255,255,0.08);
}

body.dark-mode .navbar.scrolled {
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}

body.dark-mode .nav-logo-text {
  color: #e8efe9;
}

body.dark-mode .nav-links a {
  color: rgba(255,255,255,0.72);
}

body.dark-mode .nav-links a:hover {
  color: var(--naranja-light);
}

body.dark-mode .hamburger span {
  background: #e8efe9;
}

body.dark-mode .nav-wa {
  background: rgba(35,122,68,0.2);
  color: #9ee6b4;
}

body.dark-mode .nav-wa:hover {
  background: rgba(35,122,68,0.32);
}

body.dark-mode .theme-toggle {
  background: #18231d;
  color: #f4f6f4;
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 8px 28px rgba(0,0,0,0.28);
}

/* Títulos y textos generales */
body.dark-mode .section-title {
  color: #f3f7f4;
}

body.dark-mode .section-sub,
body.dark-mode .about-text p,
body.dark-mode .service-card p,
body.dark-mode .mvv-card p,
body.dark-mode .form-check label,
body.dark-mode .form-success p {
  color: rgba(255,255,255,0.68);
}

/* Secciones claras convertidas a oscuro */
body.dark-mode #nosotros,
body.dark-mode .about-section,
body.dark-mode .values-section,
body.dark-mode .services-section,
body.dark-mode .clients-section {
  background: #0f1412 !important;
}

body.dark-mode .coverage-section {
  background: #121c17;
}

/* Cards */
body.dark-mode .service-card,
body.dark-mode .mvv-card,
body.dark-mode .city-chip,
body.dark-mode .contact-form {
  background: #17211c;
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 14px 40px rgba(0,0,0,0.32);
}

body.dark-mode .service-card:hover,
body.dark-mode .mvv-card:hover {
  border-color: rgba(240,149,90,0.35);
  box-shadow: 0 18px 48px rgba(0,0,0,0.42);
}

/* Títulos dentro de cards */
body.dark-mode .service-card h3,
body.dark-mode .mvv-card h3,
body.dark-mode .form-success h3 {
  color: #9ee6b4;
}

/* Chips */
body.dark-mode .about-chip,
body.dark-mode .valor-chip {
  background: rgba(35,122,68,0.18);
  color: #b7f2c7;
  border-color: rgba(255,255,255,0.08);
}

body.dark-mode .valor-chip:hover {
  background: var(--verde);
  color: var(--white);
}

/* Clientes */
body.dark-mode .clients-track-wrap::before {
  background: linear-gradient(to right, #0f1412, transparent);
}

body.dark-mode .clients-track-wrap::after {
  background: linear-gradient(to left, #0f1412, transparent);
}

body.dark-mode .client-logo {
  filter: grayscale(100%) opacity(0.72);
}

body.dark-mode .client-logo:hover {
  filter: grayscale(0%) opacity(1);
}

/* Contacto */
body.dark-mode .contact-section {
  background: #0b100e;
}

body.dark-mode .contact-form {
  color: #e8efe9;
}

body.dark-mode .form-group label {
  color: #e8efe9;
}

body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
  background: #101815;
  color: #f3f7f4;
  border-color: rgba(255,255,255,0.12);
}

body.dark-mode .form-group input::placeholder,
body.dark-mode .form-group textarea::placeholder {
  color: rgba(255,255,255,0.38);
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group select:focus,
body.dark-mode .form-group textarea:focus {
  background: #121d18;
  border-color: var(--naranja-light);
  box-shadow: 0 0 0 3px rgba(240,149,90,0.14);
}

body.dark-mode .form-check label a {
  color: #9ee6b4;
}

/* Métricas: ya es una sección oscura, solo la refinamos */
body.dark-mode .metrics-section {
  background: #07100b;
}

body.dark-mode .metric-card {
  background: rgba(255,255,255,0.055);
  border-color: rgba(255,255,255,0.1);
}

/* Footer */
body.dark-mode footer {
  background: #070b09;
}

/* Botones */
body.dark-mode .btn-primary,
body.dark-mode .submit-btn {
  background: var(--naranja);
  border-color: var(--naranja);
  color: var(--white);
}

body.dark-mode .btn-primary:hover,
body.dark-mode .submit-btn:hover {
  background: #c96e1e;
  border-color: #c96e1e;
}

/* Mobile */
@media (max-width: 900px) {
  .theme-toggle {
    padding: 0.48rem 0.7rem;
    font-size: 0.78rem;
  }

  .theme-toggle-text {
    display: none;
  }

  body.dark-mode .nav-links {
    background: rgba(15,20,18,0.98);
    border-color: rgba(255,255,255,0.08);
  }
}

body.theme-changing,
body.theme-changing *,
body.theme-changing *::before,
body.theme-changing *::after {
  transition:
    background-color 0.45s ease,
    color 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.45s ease,
    filter 0.45s ease !important;
}

/* ===========================
   FIX RESPONSIVE:
   Theme button separado del hamburger
   =========================== */

@media (max-width: 640px) {
  /* Navbar más limpio en móvil */
  .navbar {
    padding: 0.65rem 1rem;
    gap: 0.75rem;
  }

  /* Evita que el logo empuje demasiado los botones */
  .nav-logo-icon {
    width: 74px;
    height: 74px;
  }

  .nav-logo-text {
    font-size: 1.15rem;
  }

  /* Botón hamburguesa como botón real */
  .hamburger {
    display: flex;
    width: 42px;
    height: 42px;
    min-width: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(26, 107, 58, 0.16);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 1002;
  }

  .hamburger span {
    width: 21px;
    background: var(--verde-dark);
  }

  /* Hamburguesa en modo oscuro */
  body.dark-mode .hamburger {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  }

  body.dark-mode .hamburger span {
    background: var(--naranja-light);
  }

  /* El botón de tema ya no va junto al hamburger en móvil */
  .theme-toggle {
    left: 1rem;
    bottom: 1rem;
    z-index: 1001;
    width: 43px;
    height: 43px;
    min-width: 43px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    background: var(--white);
    color: var(--verde-dark);
    border: 1px solid rgba(26, 107, 58, 0.18);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.18);
  }

  .theme-toggle:hover {
    transform: translateY(-2px) scale(1.03);
  }

  .theme-toggle-text {
    display: none !important;
  }

  .theme-toggle-icon {
    font-size: 1.2rem;
  }

  body.dark-mode .theme-toggle {
    background: #18231d;
    color: #f4f6f4;
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
  }

  /* Menú móvil bien alineado debajo del navbar */
  .nav-links.open {
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid rgba(26, 107, 58, 0.12);
  }

  body.dark-mode .nav-links.open {
    background: #0f1412;
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  body.dark-mode .nav-links.open a {
    color: rgba(255, 255, 255, 0.82);
  }

  body.dark-mode .nav-links.open a:hover {
    color: var(--naranja-light);
  }
}

/* ===========================
   FIX ABOUT BADGE MOBILE
   Centrar "6+ años de experiencia"
   =========================== */

@media (max-width: 900px) {
  .about-image-wrap {
    display: flex;
    justify-content: center;
  }

  .about-badge {
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    width: max-content;
    min-width: 180px;
  }
}

@media (max-width: 480px) {
  .about-badge {
    min-width: 165px;
    padding: 1rem 1.2rem;
  }

  .about-badge-num {
    font-size: 2rem;
  }

  .about-badge-label {
    font-size: 0.68rem;
  }
}

.maps-link {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  display: inline-block;
  transition: color var(--transition), transform var(--transition);
}

.maps-link:hover {
  color: var(--naranja-light);
  transform: translateX(3px);
}

body.dark-mode .maps-link {
  color: rgba(255,255,255,0.78);
}

body.dark-mode .maps-link:hover {
  color: var(--naranja-light);
}
/* ===========================
   FIX MOBILE CENTERING / OVERFLOW
   =========================== */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  position: relative;
}

section,
nav,
footer,
.carousel-section,
.carousel-track,
.slide {
  max-width: 100%;
}

.carousel-track,
.slide {
  width: 100%;
}

@media (max-width: 640px) {
  .navbar {
    width: 100%;
    max-width: 100%;
    justify-content: space-between;
    overflow: visible;
  }

  .nav-logo {
    min-width: 0;
    flex: 1 1 auto;
    max-width: calc(100% - 100px);
  }

  .nav-logo-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
  }

  .nav-logo-text {
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .theme-toggle {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  .hamburger {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  .slide-content,
  .about-section,
  .services-section,
  .metrics-section,
  .values-section,
  .coverage-section,
  .clients-section,
  .contact-section,
  footer {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .contact-form,
  .service-card,
  .mvv-card,
  .metric-card {
    max-width: 100%;
  }
}

/* ===========================
   FIX CONTENT / CARDS MOBILE OVERFLOW
   =========================== */
html,
body {
  overflow-x: hidden;
}

body > *,
section,
footer,
.navbar,
.carousel-section {
  max-width: 100vw;
}

.about-section,
.services-grid,
.metrics-grid,
.mvv-grid,
.coverage-cities,
.contact-grid,
.footer-grid,
.footer-bottom,
.valores-chips {
  width: 100%;
  max-width: min(100%, var(--content-max, 1200px));
  min-width: 0;
}

.service-card,
.metric-card,
.mvv-card,
.contact-form,
.contact-info,
.about-text,
.about-image-wrap,
.footer-brand,
.footer-col,
.contact-item,
.contact-item-text {
  min-width: 0;
  max-width: 100%;
}

.section-title,
.section-sub,
.slide-title,
.slide-desc,
.service-card h3,
.service-card p,
.mvv-card h3,
.mvv-card p,
.contact-item-text p,
.contact-item-text a,
.footer-brand p,
.footer-col a {
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (max-width: 640px) {
  .about-section,
  .services-section,
  .metrics-section,
  .values-section,
  .coverage-section,
  .clients-section,
  .contact-section,
  footer {
    overflow-x: hidden;
  }

  .services-grid,
  .metrics-grid,
  .mvv-grid,
  .contact-grid,
  .footer-grid,
  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .services-grid,
  .metrics-grid,
  .mvv-grid,
  .contact-grid,
  .footer-grid {
    margin-left: auto;
    margin-right: auto;
  }

  .service-card,
  .metric-card,
  .mvv-card,
  .contact-form {
    width: 100%;
  }

  .about-highlight,
  .valores-chips,
  .coverage-cities {
    max-width: 100%;
  }
}
