:root {
  --green-dark: #143625;
  --green-main: #2d6a4f;
  --green-light: #e8f5e9;
  --yellow-main: #f39c12;
  --yellow-light: #fff3e0;
  --bg-color: #faf9f6;
  --text-main: #1c2621;
  --text-muted: #5a6b61;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  overflow-x: hidden;
}

/* NAVBAR */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 5%;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: all 0.4s ease;
}
.navbar.scrolled {
  background: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(45, 106, 79, 0.1);
}

.brand-logo { height: 50px; width: auto; object-fit: contain; }
.nav-links { display: flex; gap: 20px; }
.nav-links a { text-decoration: none; color: var(--text-main); font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--green-main); }

.btn-whatsapp {
  background: var(--green-main); color: white; border: none;
  padding: 10px 24px; border-radius: 30px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 15px rgba(45, 106, 79, 0.3);
  transition: 0.3s;
}
.btn-whatsapp:hover { background: var(--green-dark); transform: scale(1.05); }

/* HERO SCROLLYTELLING */
.scroll-container {
  width: 100vw; height: 100vh; position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background-image: 
    linear-gradient(rgba(250, 249, 246, 0.1) 0%, rgba(250, 249, 246, 0.98) 100%),
    url('img/fondo1.jpg');
  background-size: cover; background-position: center; background-attachment: fixed;
}
.hero-intro { position: absolute; z-index: 10; text-align: center; max-width: 800px; padding: 0 20px; }
.badge { display: inline-block; background: var(--yellow-light); color: var(--yellow-main); padding: 8px 20px; border-radius: 30px; font-weight: 800; font-size: 0.9rem; margin-bottom: 20px; border: 1px solid rgba(243,156,18,0.2); }
.hero-intro h1 { font-size: 4.5rem; line-height: 1.05; color: var(--green-dark); font-weight: 900; margin-bottom: 15px; letter-spacing: -1.5px;}
.hero-intro p { font-size: 1.3rem; color: var(--text-muted); font-weight: 500; }

/* GALERÍA CARRUSEL (Estilo Limpio y Plano) */
.swiper { width: 100%; padding: 10px 0; position: relative; }
.swiper-slide { 
  width: 100%; /* Por defecto en móviles es 1 a la vez */
  height: 400px; 
}

/* En pantallas grandes, mostramos 3 tarjetas al mismo tiempo */
@media (min-width: 900px) {
  .swiper-slide { width: 32%; height: 350px; }
}

.slide-img-wrapper {
  width: 100%; height: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.slide-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }

/* Controles Minimalistas por fuera */
.swiper-button-next, .swiper-button-prev { 
  color: var(--green-dark) !important; 
  background: white; 
  width: 45px !important; 
  height: 45px !important; 
  border-radius: 50%; 
  box-shadow: 0 5px 15px rgba(0,0,0,0.15); 
  top: 45% !important;
}
.swiper-button-next { right: 0px !important; }
.swiper-button-prev { left: 0px !important; }
.swiper-button-next:after, .swiper-button-prev:after { font-size: 1.2rem !important; font-weight: bold; }

.swiper-pagination-bullet { background: rgba(0,0,0,0.2) !important; width: 10px; height: 10px; }
.swiper-pagination-bullet-active { background: var(--green-main) !important; transform: scale(1.2); }

/* SECCIONES: SPLIT LAYOUT (Proporción ajustada) */
.content-section { margin: 0 auto; padding: 100px 5%; }
.content-section.bg-alt { background: #f4f7f5; }

.split-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr; /* Le da más espacio a la imagen */
  gap: 70px;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
}
.split-layout.reverse { direction: rtl; }
.split-layout.reverse > * { direction: ltr; }

.section-badge { color: var(--green-main); font-weight: 800; text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 15px; }
.split-text h2 { font-size: 3rem; color: var(--green-dark); margin-bottom: 30px; letter-spacing: -1px; line-height: 1.1; }
.split-text p { font-size: 1.15rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 30px; }

.split-image { width: 100%; height: 550px; border-radius: 20px; overflow: hidden; box-shadow: 0 15px 35px rgba(0,0,0,0.08); }
.split-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.split-image:hover img { transform: scale(1.03); }

.features-list { list-style: none; display: flex; flex-direction: column; gap: 15px; margin-bottom: 35px; }
.features-list li { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; font-weight: 500; }
.features-list i.green { color: var(--green-main); }
.features-list i.yellow { color: var(--yellow-main); }

.btn-cta-section { background: var(--green-main); color: white; border: none; padding: 16px 32px; border-radius: 30px; font-weight: 700; font-size: 1rem; cursor: pointer; transition: 0.3s; }
.btn-cta-section:hover { background: var(--green-dark); }

/* TARIFAS */
#tarifas { max-width: 1200px; }
#tarifas h2 { font-size: 3rem; color: var(--green-dark); margin-bottom: 20px; letter-spacing: -1px; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; max-width: 900px; margin: 0 auto; text-align: left; }
.pricing-card { padding: 40px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); display: flex; flex-direction: column; }
.pricing-card h3 { font-size: 1rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 15px; }
.price { font-size: 3.5rem; font-weight: 300; margin-bottom: 25px; letter-spacing: -2px; }
.price span { font-size: 1.2rem; font-weight: 500; letter-spacing: 0; }
.price-tiers { list-style: none; border-top: 1px solid rgba(0,0,0,0.1); padding-top: 20px; margin-bottom: 30px; flex-grow: 1; }
.price-tiers li { padding: 15px 0; border-bottom: 1px solid rgba(0,0,0,0.05); display: flex; justify-content: space-between; font-size: 1rem; }
.btn-price { padding: 15px; border-radius: 10px; font-weight: 700; font-size: 1rem; cursor: pointer; border: 2px solid #111; background: transparent; transition: 0.3s; }

.blue-card { background: #e3f2fd; color: #0d47a1; }
.blue-card .price-tiers { border-color: rgba(13,71,161,0.2); }
.blue-card .price-tiers li { border-color: rgba(13,71,161,0.1); }
.blue-btn { border-color: #0d47a1; color: #0d47a1; }
.blue-btn:hover { background: #0d47a1; color: white; }

.gold-card { background: #fdf5e6; color: #5d4037; }
.gold-card .price-tiers { border-color: rgba(93,64,55,0.2); }
.gold-card .price-tiers li { border-color: rgba(93,64,55,0.1); }
.gold-btn { border-color: #5d4037; color: #5d4037; }
.gold-btn:hover { background: #5d4037; color: white; }

/* MULTIMEDIA */
#recorrido h2 { font-size: 3rem; color: var(--green-dark); margin-bottom: 50px; letter-spacing: -1px; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 30px; max-width: 1100px; margin: 0 auto; }
.media-frame { width: 100%; height: 400px; border-radius: 20px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.media-frame iframe { width: 100%; height: 100%; object-fit: cover; }

/* UBICACIÓN Y CONTACTO */
#ubicacion { max-width: 1100px; }
#ubicacion h2 { font-size: 3rem; color: var(--green-dark); margin-bottom: 50px; letter-spacing: -1px; }
.location-container { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; text-align: left; }
.location-info { display: flex; flex-direction: column; justify-content: center; }
.location-info p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 30px; line-height: 1.6; }
.contact-item { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.icon-circle { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-circle.yellow { background: var(--yellow-light); color: var(--yellow-main); }
.icon-circle.green { background: var(--green-light); color: var(--green-main); }
.contact-item strong { display: block; font-size: 1.1rem; color: var(--green-dark); margin-bottom: 4px; }
.contact-item span { color: var(--text-muted); }
.location-map { height: 450px; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* FOOTER */
.footer-cta { background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-main) 100%); color: white; padding: 60px 20px; text-align: center; }
.footer-cta h2 { font-size: 2rem; margin-bottom: 10px; }
.footer-cta p { color: #d8f3dc; font-size: 1.1rem; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-intro h1 { font-size: 2.8rem; }
  .split-layout { grid-template-columns: 1fr; gap: 40px; }
  .split-layout.reverse { direction: ltr; }
  .split-image { height: 400px; }
  .location-container { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: 1fr; }
}