/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #1a1a1a; }
::-webkit-scrollbar-thumb { background: #258e55; border-radius: 3px; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}
.container--wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #1a1a1a;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: 88px;
  display: flex;
  align-items: center;
}

.navbar-inner {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo { flex-shrink: 0; }
.nav-logo img { height: 52px; width: auto; }

.nav-links { display: none; align-items: center; }
@media (min-width: 1280px) { .nav-links { display: flex; } }

.nav-link {
  position: relative;
  padding: 4px 11px;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.13px;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-link:hover { color: rgba(255,255,255,0.9); }
.nav-link.active { color: #258e55; font-weight: 400; }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 11px;
  width: 33px; height: 1.5px;
  background: #258e55;
  border-radius: 1px;
}

.nav-right { display: none; align-items: center; gap: 16px; flex-shrink: 0; }
@media (min-width: 1024px) { .nav-right { display: flex; } }

.nav-tel {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
}
.nav-tel svg { display: block; }
.nav-wa svg { display: block; }

.btn-cotizar {
  display: inline-flex;
  align-items: center;
  background: #258e55;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  letter-spacing: 0.28px;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn-cotizar:hover { background: #1c7343; }

.nav-mobile-btn {
  display: flex;
  color: white;
  padding: 4px;
}
@media (min-width: 1280px) { .nav-mobile-btn { display: none; } }

.nav-mobile-menu {
  display: none;
  background: #1a1a1a;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1rem;
  flex-direction: column;
  gap: 2px;
  position: absolute;
  top: 88px; left: 0; right: 0;
  z-index: 99;
}
.nav-mobile-menu.open { display: flex; }

.nav-mobile-link {
  text-align: left;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  border-radius: 6px;
  transition: all 0.2s;
  display: block;
}
.nav-mobile-link.active { color: #258e55; background: rgba(37,142,85,0.08); }

/* ============================================================
   PAGE WRAPPER
   ============================================================ */
.page-wrap { padding-top: 88px; }

/* ============================================================
   PAGE HEADER  (#1a1a1a dark)
   ============================================================ */
.page-header {
  background: #1a1a1a;
  padding: 96px 0;
}

.page-header-label {
  font-size: 13px;
  font-weight: 500;
  color: #258e55;
  letter-spacing: 1.56px;
  text-transform: uppercase;
  margin-bottom: 11px;
}

.page-header-h1 {
  font-size: clamp(36px, 5vw, 67px);
  font-weight: 300;
  color: #f7f7f7;
  line-height: 1.08;
  margin-bottom: 16px;
}
.page-header-h1 span { font-weight: 400; color: #e8e8e8; }

.page-header-sub {
  font-size: 17px;
  font-weight: 300;
  color: rgba(247,247,247,0.65);
  line-height: 1.75;
  max-width: 560px;
}

/* ============================================================
   PROCESS STEPS  (#f7f7f7)
   ============================================================ */
.process-section {
  background: #f7f7f7;
  padding: 80px 0;
}

.section-label {
  font-size: 12px;
  font-weight: 500;
  color: #258e55;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 11px;
}

.section-h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  color: #1a1a1a;
  line-height: 1.15;
  max-width: 600px;
}

.process-steps {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
}

.process-step {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.step-timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.step-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid #258e55;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #258e55;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-line {
  width: 2px;
  flex: 1;
  background: rgba(0,0,0,0.1);
  margin: 8px 0;
  min-height: 40px;
}

.step-body {
  flex: 1;
  padding-bottom: 40px;
  min-width: 0;
}

.step-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  margin-bottom: 8px;
}

.step-title {
  font-size: 19px;
  font-weight: 300;
  color: #1a1a1a;
  line-height: 1.25;
}

.step-tag {
  flex-shrink: 0;
  background: #e8e8e8;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: #666;
  white-space: nowrap;
}

.step-desc {
  font-size: 14px;
  font-weight: 300;
  color: #666;
  line-height: 1.75;
  max-width: 560px;
}

/* Last step has no line below */
.process-step:last-child .step-timeline { align-self: flex-start; }
.process-step:last-child .step-body { padding-bottom: 0; }

/* ============================================================
   SOLUCIONES CAROUSEL  (#1a1a1a dark)
   ============================================================ */
.soluciones-carousel-section {
  background: #1a1a1a;
  padding: 80px 0;
}

.carousel-section-label {
  font-size: 12px;
  font-weight: 500;
  color: #258e55;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.carousel-section-h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  color: #f7f7f7;
  line-height: 1.15;
  margin-bottom: 24px;
}

.sol-carousel {
  position: relative;
  height: 548px;
  border-radius: 12px;
  overflow: hidden;
}

.sol-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.sol-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.sol-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sol-slide-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.2) 50%,
    rgba(0,0,0,0) 100%
  );
  pointer-events: none;
}

.sol-slide-info {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 32px;
}

.sol-slide-cat {
  font-size: 11px;
  font-weight: 600;
  color: #4ade80;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.sol-slide-title {
  font-size: 24px;
  font-weight: 300;
  color: white;
  line-height: 1.5;
  margin-bottom: 6px;
}

.sol-slide-desc {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  max-width: 420px;
}

/* Prev/Next buttons */
.sol-btn-prev,
.sol-btn-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s;
  z-index: 10;
}
.sol-carousel:hover .sol-btn-prev,
.sol-carousel:hover .sol-btn-next { opacity: 1; }
.sol-btn-prev:hover,
.sol-btn-next:hover { background: rgba(0,0,0,0.8); }
.sol-btn-prev { left: 16px; }
.sol-btn-next { right: 16px; }

/* Counter */
.sol-counter {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0,0,0,0.5);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 500;
  color: white;
  z-index: 10;
}

/* Dots */
.sol-dots {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  gap: 6px;
  z-index: 10;
}

.sol-dot {
  height: 6px;
  width: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.5);
  transition: all 0.3s;
  cursor: pointer;
}
.sol-dot.active { width: 20px; background: #258e55; }

/* ============================================================
   SUPER PLANO  (#f7f7f7)
   ============================================================ */
.superplano-section {
  background: #f7f7f7;
  padding: 80px 0;
}

.superplano-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) {
  .superplano-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; }
}

.superplano-img-wrap {
  border-radius: 12px;
  overflow: hidden;
  height: 480px;
}
.superplano-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.superplano-content { position: relative; }

.superplano-label {
  font-size: 13px;
  font-weight: 500;
  color: #258e55;
  letter-spacing: 1.56px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.superplano-h2 {
  font-size: clamp(28px, 3.5vw, 45px);
  font-weight: 300;
  color: #1a1a1a;
  line-height: 1.15;
  margin-bottom: 16px;
}

.superplano-desc {
  font-size: 15px;
  font-weight: 300;
  color: #555;
  line-height: 1.8;
  margin-bottom: 32px;
}

.superplano-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 40px;
}

.spec-card {
  background: white;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 10px;
  padding: 13px 17px;
}

.spec-label {
  font-size: 11px;
  font-weight: 400;
  color: #999;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.spec-value {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.5;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #258e55;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  transition: background 0.2s;
}
.btn-primary:hover { background: #1c7343; }
.btn-primary svg { display: block; flex-shrink: 0; }

/* ============================================================
   ANTES / DESPUÉS  (#e8e8e8)
   ============================================================ */
.antes-section {
  background: #e8e8e8;
  padding: 64px 0;
}

.antes-label {
  font-size: 13px;
  font-weight: 500;
  color: #258e55;
  letter-spacing: 1.56px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 8px;
}

.antes-h2 {
  font-size: clamp(28px, 3.5vw, 45px);
  font-weight: 300;
  color: #1a1a1a;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 40px;
}

.antes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 640px) {
  .antes-grid { grid-template-columns: 1fr; }
}

.antes-card {
  border-radius: 12px;
  overflow: hidden;
}

.antes-card-img {
  height: 320px;
  overflow: hidden;
}
.antes-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.antes-card-label {
  background: white;
  padding: 15px 16px 16px;
  font-size: 17.6px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.5;
}

/* ============================================================
   CTA SECTION  (#1a1a1a dark)
   ============================================================ */
.cta-section {
  background: #1a1a1a;
  padding: 80px 0;
  text-align: center;
}

.cta-label {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}

.cta-h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  color: #f7f7f7;
  line-height: 1.1;
  margin-bottom: 32px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #258e55;
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 600;
  color: white;
  letter-spacing: 0.32px;
  transition: background 0.2s;
}
.btn-cta:hover { background: #1c7343; }
.btn-cta svg { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #141414;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-logo {
  height: 52px;
  width: auto;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}

.footer-group-title {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.footer-link {
  display: block;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-link:hover { color: rgba(255,255,255,0.8); }

.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}
.footer-contact-row svg { flex-shrink: 0; }

.footer-address {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
  margin-top: 4px;
}

.footer-socials {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.social-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.social-btn:hover { background: rgba(255,255,255,0.15); }

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

.footer-copy {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.3);
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 24px;
  z-index: 50;
  background: #25d366;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { display: block; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .page-header { padding: 60px 0; }
  .process-section { padding: 60px 0; }
  .soluciones-carousel-section { padding: 60px 0; }
  .superplano-section { padding: 60px 0; }
  .antes-section { padding: 48px 0; }
  .cta-section { padding: 60px 0; }

  .step-header { flex-direction: column; gap: 8px; }
  .step-tag { align-self: flex-start; }

  .sol-carousel { height: 400px; }

  .superplano-img-wrap { height: 300px; }

  .antes-card-img { height: 220px; }
}

@media (max-width: 480px) {
  .sol-carousel { height: 320px; }
  .sol-slide-title { font-size: 20px; }
  .sol-slide-desc { display: none; }
}
