/* style.css */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #ffffff;
  color: #222;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1250px;
  margin: auto;
}

/* ============================================================
   TOPBAR
   ============================================================ */

.topbar {
  background: #f5f0ff;
  padding: 10px 0;
  font-size: 13px;
  color: #666;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.top-right {
  display: flex;
  gap: 20px;
}

/* ============================================================
   NAVBAR
   ============================================================ */

.navbar {
  background: #fff;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo img {
  width: 130px;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.3s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: #85a84f;
}

.btn-purple {
  background: #c4a8ff;
  color: #fff;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.3s, transform 0.2s;
}

.btn-purple:hover {
  background: #b59af5;
  transform: translateY(-2px);
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 40px 20px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  text-decoration: none;
  color: #333;
  font-size: 20px;
  font-weight: 600;
  transition: color 0.3s;
}

.mobile-nav a:hover {
  color: #85a84f;
}

.mobile-nav .btn-purple {
  font-size: 15px;
  padding: 14px 32px;
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: #333;
  line-height: 1;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.18) 0%,
      rgba(0,0,0,0.52) 50%,
      rgba(0,0,0,0.72) 100%
    ),
    url('imagenes/portadanueva.jpeg') center/cover no-repeat;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  padding: 120px 0 80px;
  width: 100%;
}

.hero-text {
  max-width: 780px;
  margin: 0 auto;
}

.hero .subtitle {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.82);
  font-size: 11px;
  letter-spacing: 2px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 68px;
  line-height: 1.08;
  margin: 18px 0 20px;
  font-weight: 600;
  color: #fff;
}

.hero h1 span {
  color: #b8e05a;
}

.hero > .container > .hero-text > p {
  color: rgba(255,255,255,0.82);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-buttons .btn-outline {
  border: 2px solid rgba(255,255,255,0.7);
  color: #fff;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
}

.hero-buttons .btn-outline:hover {
  border-color: #b8e05a;
  color: #b8e05a;
  background: rgba(255,255,255,0.15);
}

.hero-image {
  display: none;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 60px;
  width: 100%;
  max-width: 900px;
}

.stat {
  text-align: center;
  padding: 18px 10px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 18px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
}

.stat h3 {
  color: #b8e05a;
  margin-bottom: 6px;
  font-size: 26px;
}

.stat p {
  margin: 0;
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  line-height: 1.4;
}
.btn-green {
  background: #88a84c;
  color: #fff !important;
  text-decoration: none;
  padding: 15px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  display: inline-block;
}

.btn-outline {
  border: 1px solid #ccc;
  color: #222 !important;
  text-decoration: none;
  padding: 15px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  display: inline-block;
  background: transparent;
}

.btn-outline:hover {
  border-color: #88a84c;
  color: #88a84c !important;
}

.btn-white {
  background: #fff;
  color: #333 !important;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  display: inline-block;
}

.btn-purple {
  background: #c4a8ff;
  color: #fff !important;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}

/* Botones dentro del hero: override para que sean blancos */
.hero .btn-outline {
  border: 2px solid rgba(255,255,255,0.7) !important;
  color: #fff !important;
  background: rgba(255,255,255,0.1) !important;
}

.hero .btn-outline:hover {
  border-color: #b8e05a !important;
  color: #b8e05a !important;
}
/* ============================================================
   STATS BAR
   ============================================================ */

.stats-bar {
  padding: 50px 0;
  background: linear-gradient(135deg, #c4a8ff, #d4bcff);
}

.stats-bar-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}

.stats-bar-item {
  text-align: center;
  padding: 10px 20px;
}

.stats-bar-item h3 {
  font-family: "Playfair Display", serif;
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 8px;
}

.stats-bar-item p {
  font-size: 14px;
  color: #ffffff;
  font-weight: 500;
}

.stats-bar-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.25);
}

/* ============================================================
   SECTION TITLES
   ============================================================ */

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title > span {
  display: inline-block;
  background: #f5f0ff;
  color: #b59af5;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
}

.section-title h2 {
  margin-top: 12px;
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
}

.section-title h2 span {
  display: inline;
  background: none;
  color: #88a84c;
  font-family: 'Playfair Display', serif;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: normal;
  text-transform: none;
  padding: 0;
  border-radius: 0;
}

.section-subtitle {
  margin-top: 12px;
  color: #666;
  font-size: 15px;
}

/* ============================================================
   PROBLEMS
   ============================================================ */

.problems {
  padding: 90px 0;
  background: #fafafa;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.problem-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.problem-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 20px;
}

.card-content h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.card-content p {
  color: #666;
  line-height: 1.7;
  font-size: 14px;
}

/* ============================================================
   SERVICES
   ============================================================ */

.services {
  padding: 90px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  height: 320px;
  cursor: pointer;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  display: block;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
  transition: opacity 0.3s;
}

.service-card:hover img {
  transform: scale(1.06);
}

/* ============================================================
   GALERÍA ANTES / DESPUÉS
   ============================================================ */

.gallery {
  padding: 90px 0;
  background: #fafafa;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.gallery-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.07);
}

.before-after {
  position: relative;
}

.before-after img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.ba-label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 1;
}

.ba-label.after-label {
  background: #88a84c;
}

.gallery-desc {
  padding: 14px 18px;
  font-size: 13px;
  color: #666;
  font-weight: 500;
}

/* ============================================================
   PROCESO
   ============================================================ */

.process {
  padding: 0;
}

.process-inner {
  background:
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
    url("imagenes/arbolesproceso.jpeg") center/cover no-repeat;
  padding: 90px 5%;
  text-align: center;
}

.process-header {
  margin-bottom: 60px;
}

.process-pill {
  display: inline-block;
  background: rgba(88,120,46,0.85);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 22px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.process-title {
  font-family: "Playfair Display", serif;
  font-size: 52px;
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
}

.process-title span {
  color: #a8c85a;
}

.process-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
}

.process-step {
  background: rgba(255,255,255,0.96);
  border-radius: 22px;
  padding: 36px 24px 32px;
  flex: 1;
  max-width: 240px;
  position: relative;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.process-num {
  position: absolute;
  top: -18px;
  left: 20px;
  width: 36px;
  height: 36px;
  background: #4a6b1e;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.process-icon-wrap {
  width: 90px;
  height: 90px;
  background: #e8f2d4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.process-icon-wrap svg {
  width: 48px;
  height: 48px;
}

.process-step h3 {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #2d4a0e;
  margin-bottom: 10px;
  line-height: 1.3;
}

.process-step p {
  font-size: 13px;
  color: #666;
  line-height: 1.65;
  margin: 0;
}

.process-arrow {
  color: #a8c85a;
  font-size: 28px;
  padding: 0 8px;
  margin-top: 80px;
  flex-shrink: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Responsive proceso */
@media (max-width: 1100px) {
  .process-title {
    font-size: 42px;
  }
  .process-step {
    max-width: 200px;
    padding: 32px 16px 28px;
  }
  .process-icon-wrap {
    width: 76px;
    height: 76px;
  }
  .process-icon-wrap svg {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 768px) {
  .process-inner {
    padding: 60px 5%;
  }
  .process-title {
    font-size: 32px;
  }
  .process-grid {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .process-step {
    max-width: 320px;
    width: 100%;
  }
  .process-arrow {
    transform: rotate(90deg);
    margin: 0;
    font-size: 24px;
  }
}

/* ============================================================
   TESTIMONIOS
   ============================================================ */

.testimonials {
  padding: 90px 0;
  background: #fafafa;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.testimonial-card {
  background: #fff;
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 4px solid #88a84c;
}

.stars {
  color: #f5a623;
  font-size: 18px;
  letter-spacing: 2px;
}

.testimonial-card p {
  color: #555;
  font-size: 14px;
  line-height: 1.75;
  flex: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.author-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #c4a8ff, #88a84c);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 14px;
  color: #222;
}

.testimonial-author span {
  font-size: 12px;
  color: #888;
}

/* ============================================================
   CTA
   ============================================================ */

.cta {
  padding: 70px 0;
  background: linear-gradient(135deg, #c4a8ff, #d4bcff);
  color: #fff;
}

.cta-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.cta h2 {
  font-size: 38px;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

.cta p {
  opacity: 0.9;
  font-size: 15px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.btn-white {
  background: #fff;
  color: #333;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  display: inline-block;
  transition: transform 0.2s;
}

.btn-white:hover {
  transform: translateY(-2px);
}

/* ============================================================
   FORMULARIO DE PRESUPUESTO
   ============================================================ */

.budget-form {
  padding: 90px 0;
  background:
    linear-gradient(rgba(0,0,0,0.52), rgba(0,0,0,0.52)),
    url('https://images.unsplash.com/photo-1585320806297-9794b3e4eeae?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat;
}

.budget-form .section-title > span {
  background: rgba(255,255,255,0.15);
  color: #d4f0a0;
}

.budget-form .section-title h2 {
  color: #fff;
}

.budget-form .section-title h2 span {
  color: #b8e05a;
}

.budget-form .section-subtitle {
  color: rgba(255,255,255,0.75);
}

.form-wrapper {
  max-width: 820px;
  margin: 0 auto;
}

.contact-form {
  background: #f9f7fc;
  border-radius: 28px;
  padding: 48px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.07);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full {
  margin-bottom: 20px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #444;
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid #e8e0f5;
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  color: #222;
  background: #fff;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #88a84c;
  box-shadow: 0 0 0 3px rgba(136,168,76,0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.btn-submit {
  width: 100%;
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
  margin-top: 6px;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(37,211,102,0.35);
}

.form-note {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: #888;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: #c4a8ff;
  color: #aaa;
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-logo {
  width: 120px;
  margin-bottom: 18px;
  filter: brightness(10);
  display: block;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.75;
  color: #f5f0ff;
  margin-bottom: 20px;
}

.footer-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.footer-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37,211,102,0.35);
}

.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  text-decoration: none;
  color: #f5f0ff;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-col ul a:hover {
  color: #88a84c;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #f5f0ff;
  line-height: 1.5;
}

.footer-contact li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #88a84c;
}

.footer-contact a {
  color: #f5f0ff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: #88a84c;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.25);
  padding: 20px 0;
}

.footer-bottom p {
  font-size: 13px;
  color: #f5f0ff;
  text-align: center;
}

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */

.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 62px;
  height: 62px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 6px 22px rgba(37,211,102,0.45);
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 12px 32px rgba(37,211,102,0.5);
}

.wa-tooltip {
  position: absolute;
  right: 70px;
  background: #222;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  padding: 6px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #222;
  border-right: 0;
}

.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
}

/* ============================================================
   RESPONSIVE — TABLET  (≤ 1100px)
   ============================================================ */

@media (max-width: 1100px) {

  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-image img {
    height: 480px;
    border-radius: 48px;
  }

  .features-grid,
  .cards-grid,
  .services-grid,
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-card:last-child {
    grid-column: span 2;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .section-title h2 {
    font-size: 36px;
  }

  .cta h2 {
    font-size: 32px;
  }

}

/* ============================================================
   RESPONSIVE — MOBILE  (≤ 768px)
   ============================================================ */

@media (max-width: 768px) {

  /* Topbar */
  .topbar-content {
    flex-direction: column;
    text-align: center;
    gap: 4px;
    font-size: 12px;
  }

  .top-right {
    gap: 12px;
  }

  /* Navbar */
  .nav-links,
  .btn-purple {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .logo img {
    width: 110px;
  }

  
  /* Hero con fondo */
  .hero {
    padding: 0;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    background:
      linear-gradient(
        to bottom,
        rgba(0,0,0,0.15) 0%,
        rgba(0,0,0,0.55) 55%,
        rgba(0,0,0,0.82) 100%
      ),
      url('imagenes/esenciaverdel.jpeg') center/cover no-repeat;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: 48px;
    padding-top: 120px;
    text-align: center;
  }
  /* Ocultar imagen suelta */
  .hero-image {
    display: none;
  }

  /* Badge más sutil */
  .hero .subtitle {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.75);
    font-size: 10px;
    letter-spacing: 1.5px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.2);
  }

  /* Título centrado y blanco */
  .hero-text {
    text-align: center;
    order: 1;
  }

   .hero h1 {
    font-size: 36px;
    line-height: 1.15;
    color: #fff;
    margin: 14px 0 16px;
  }

  .hero h1 span {
    color: #b8e05a;
  }

  .hero > .container > .hero-text > p {
    color: rgba(255,255,255,0.82);
    font-size: 14px;
    margin-bottom: 28px;
  }

  /* Botones apilados y bien visibles */
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .hero-buttons .btn-green {
    width: 100%;
    text-align: center;
    padding: 16px 20px;
  }

  /* Botón outline: fondo semi-transparente blanco para que se lea */
  .hero-buttons .btn-outline {
    width: 100%;
    text-align: center;
    padding: 16px 20px;
    border: 2px solid rgba(255,255,255,0.7);
    color: #fff;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
  }

  .hero-buttons .btn-outline:hover {
    border-color: #b8e05a;
    color: #b8e05a;
    background: rgba(255,255,255,0.15);
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 32px;
  }

  .stat {
    padding: 14px 8px;
  }

  .stat h3 {
    font-size: 20px;
  }

  /* Buttons */
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .btn-green,
  .btn-outline {
    text-align: center;
    padding: 14px 20px;
    font-size: 14px;
  }

  /* Features */
  .features {
    padding-bottom: 60px;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .feature-card {
    padding: 22px 16px;
  }

  .feature-card h3 {
    font-size: 15px;
  }

  /* Section titles */
  .section-title {
    margin-bottom: 36px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  /* Problems */
  .problems {
    padding: 60px 0;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .problem-card img {
    height: 200px;
  }

  /* Services */
  .services {
    padding: 60px 0;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .service-card {
    height: 200px;
    border-radius: 16px;
  }

  .service-card h3 {
    font-size: 16px;
    bottom: 14px;
    left: 14px;
  }

  /* Gallery */
  .gallery {
    padding: 60px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card:last-child {
    grid-column: auto;
  }

  /* Process */
  .process {
    padding: 60px 0;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  /* Testimonios */
  .testimonials {
    padding: 60px 0;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  /* CTA */
  .cta {
    padding: 50px 0;
  }

  .cta-content {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }

  .cta h2 {
    font-size: 28px;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .cta-buttons .btn-green,
  .cta-buttons .btn-white {
    text-align: center;
    padding: 15px 20px;
    width: 100%;
  }

  /* Formulario */
  .budget-form {
    padding: 60px 0;
  }

  .contact-form {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Footer */
  .footer {
    padding: 50px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: auto;
  }

  /* WhatsApp flotante */
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
  }

  .wa-tooltip {
    display: none;
  }

}

/* ============================================================
   RESPONSIVE — SMALL MOBILE  (≤ 420px)
   ============================================================ */


@media (max-width: 768px) {
  .stats-bar-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .stats-bar-divider {
    display: none;
  }
  .stats-bar-item {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .stats-bar-item h3 {
    font-size: 36px;
  }
}
@media (max-width: 420px) {

  .hero h1 {
    font-size: 29px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    height: 220px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title h2 {
    font-size: 25px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

}

/* ============================================================
   POR QUÉ ELEGIRNOS
   ============================================================ */

.why-us {
  padding: 90px 0;
  background: #fff;
}

.why-us-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.why-us-image {
  position: relative;
}

.why-us-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  display: block;
}

.why-us-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: #88a84c;
  color: #fff;
  border-radius: 20px;
  padding: 20px 28px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(136,168,76,0.35);
}

.badge-number {
  display: block;
  font-size: 38px;
  font-weight: 700;
  font-family: "Playfair Display", serif;
  line-height: 1;
}

.badge-text {
  display: block;
  font-size: 13px;
  font-weight: 500;
  opacity: 0.9;
  margin-top: 4px;
}

.why-us-intro {
  color: #555;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 32px;
}

.why-us-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 36px;
}

.why-us-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-icon {
  width: 32px;
  height: 32px;
  background: #eef4e0;
  color: #88a84c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-us-list li strong {
  display: block;
  font-size: 15px;
  color: #222;
  margin-bottom: 4px;
}

.why-us-list li p {
  font-size: 13px;
  color: #777;
  line-height: 1.6;
  margin: 0;
}

/* Service overlay (descripción sobre la imagen) */
.service-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 20px 22px;
  z-index: 1;
}

.service-overlay h3 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 6px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.service-overlay p {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

/* Responsive why-us */
@media (max-width: 1100px) {
  .why-us-content {
    gap: 48px;
  }
  .why-us-image img {
    height: 420px;
  }
}

@media (max-width: 768px) {
  .why-us {
    padding: 60px 0;
  }
  .why-us-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-us-image img {
    height: 300px;
    border-radius: 24px;
  }
  .why-us-badge {
    bottom: -18px;
    right: 16px;
    padding: 14px 20px;
  }
  .badge-number {
    font-size: 28px;
  }
}
/* CARRUSEL SERVICIOS */
.services-carousel-outer {
  overflow: hidden;
}

.services-track {
  display: flex;
  gap: 22px;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
  will-change: transform;
  cursor: grab;
  user-select: none;
}

.services-track.dragging {
  transition: none;
  cursor: grabbing;
}

.services-track.static {
  cursor: default;
}

.services-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.srv-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #88a84c;
  background: #fff;
  color: #88a84c;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;   /* ← evita el zoom por doble tap */
  transition: background 0.2s, color 0.2s;
}

.srv-btn:hover {
  background: #88a84c;
  color: #fff;
}

.srv-dots {
  display: flex;
  gap: 8px;
}

.srv-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.srv-dot.active {
  background: #88a84c;
  transform: scale(1.3);
}

/* Mobile: una tarjeta full width */
@media (max-width: 768px) {
  .services-track {
    gap: 0;
  }

  .services-track .service-card {
    flex: 0 0 100%;
    height: 420px;
    border-radius: 22px;
  }
}
/* ============================================================
   FAQ
   ============================================================ */

.faq {
  padding: 90px 0;
  background: #fff;
}

.faq-content {
  max-width: 860px;
  margin: 0 auto;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1.5px solid #ede5ff;
  border-radius: 20px;
  overflow: hidden;
}

.faq-item {
  border-bottom: 1.5px solid #ede5ff;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #222;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s, color 0.2s;
}

.faq-question:hover {
  background: #f8f4ff;
  color: #c4a8ff;
}

.faq-question.open {
  background: #f8f4ff;
  color: #c4a8ff;
}

.faq-icon {
  font-size: 24px;
  font-weight: 300;
  color: #c4a8ff;
  flex-shrink: 0;
  transition: transform 0.3s;
  line-height: 1;
}

.faq-question.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
}

.faq-answer.open {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 28px 22px;
  font-size: 14px;
  color: #666;
  line-height: 1.75;
  margin: 0;
}

@media (max-width: 768px) {
  .faq {
    padding: 60px 0;
  }
  .faq-question {
    font-size: 14px;
    padding: 18px 20px;
  }
  .faq-answer p {
    padding: 0 20px 18px;
  }
}