/* Variables de Color */
:root {
  --eco-primary: #549744;
  --eco-secondary: #6ab359;
  --eco-dark: #3a6b2f;
  --eco-light: #e8f5e9;
  --text-dark: #2c3e50;
  --text-light: #6c757d;
}

/* Estilos Generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
}
html {
  scroll-behavior: smooth;
}

/* Navigation */
.navbar {
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  padding: 1rem 0;
}
.navbar.scrolled {
  background-color: rgba(0, 0, 0, 0.95);
  padding: 0.5rem 0;
}
.logo {
  height: 50px;
  width: auto;
}
.navbar-nav .nav-link {
  color: #fff !important;
  margin-left: 1.5rem;
  font-weight: 500;
  transition: color 0.3s ease;
}
.navbar-nav .nav-link:hover {
  color: var(--eco-primary) !important;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: -2;
  object-fit: cover;
}
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}
.hero-image{
  position: absolute;
  inset: 0;
  background-image: url("images/hero-image.webp"); /* tu imagen */
  background-size: cover;
  background-position: center;
  display: none;
  z-index: -2;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 80px;
}
.animate-fade-in {
  animation: fadeInUp 1.2s ease;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons */
.btn-eco {
  background-color: var(--eco-primary);
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 50px;
}
.btn-eco:hover {
  background-color: var(--eco-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(84, 151, 68, 0.3);
}
.btn-outline-eco {
  color: var(--eco-primary);
  border: 2px solid var(--eco-primary);
  background: #fff;
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 50px;
}
.btn-outline-eco:hover {
  background-color: var(--eco-primary);
  color: #fff;
  transform: translateY(-2px);
}

/* Service Cards */
.service-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}
.service-card.selected {
  border: 3px solid var(--eco-primary);
  transform: scale(1.02);
}

/* Service Selected Indicator */
.service-selected-indicator {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 35px;
  height: 35px;
  background-color: var(--eco-primary);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 10;
  animation: popIn 0.3s ease;
}
.service-card.selected .service-selected-indicator {
  display: flex;
}
@keyframes popIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Service Media */
.service-media {
  position: relative;
  height: 350px;
  overflow: hidden;
  background: transparent;
}

.zoom-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-image,
.service-card.selected .service-image {
  transform: scale(1.15);
}

/* Overlay Icon on image */
.service-icon.overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  width: 56px;
  height: 56px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--eco-primary);
  font-size: 22px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  z-index: 5;
  backdrop-filter: blur(2px);
}

/* Service Body */
.service-body {
  padding: 25px;
}
.service-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 15px;
}
.service-description {
  color: var(--text-light);
  margin-bottom: 20px;
}
.service-benefits {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}
.service-benefits li {
  padding: 8px 0;
  color: var(--text-dark);
  font-size: 14px;
  display: flex;
  align-items: center;
}
.service-benefits i {
  color: var(--eco-primary);
  margin-right: 10px;
  font-size: 16px;
}

/* Variants */
.service-variants {
  margin-top: 15px;
  opacity: 1;
  transition: opacity 0.3s ease;
  animation: slideDown 0.3s ease;
}
.service-card .form-check {
  margin-bottom: 8px;
}
.form-select,
.form-control {
  border-radius: 10px;
  border: 2px solid #e0e0e0;
  padding: 10px;
  transition: border-color 0.3s ease;
}
.form-select:focus,
.form-control:focus {
  border-color: var(--eco-primary);
  box-shadow: 0 0 0 0.2rem rgba(84, 151, 68, 0.25);
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Selected Services */
.selected-services-card {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border: 2px solid #e0e0e0;
  transition: border-color 0.3s ease;
}
.selected-services-card.active {
  border-color: var(--eco-primary);
}
.selected-service-item {
  background: var(--eco-light);
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  position: relative;
}
.service-item-info {
  flex-grow: 1;
}
.service-item-name {
  font-weight: 600;
  color: var(--text-dark);
}
.service-item-variant {
  color: var(--text-light);
  font-size: 14px;
}
.service-item-price {
  font-weight: bold;
  color: var(--eco-primary);
  margin-left: 20px;
}
.quantity-controls {
  display: flex;
  align-items: center;
  margin-left: 20px;
}
.quantity-btn {
  width: 30px;
  height: 30px;
  border: none;
  background-color: var(--eco-primary);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.quantity-btn:hover {
  background-color: var(--eco-dark);
}
.quantity-display {
  margin: 0 15px;
  font-weight: bold;
  min-width: 20px;
  text-align: center;
}
.remove-service-btn {
    background-color: #dc3545;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    margin-left: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: absolute;
    right: -5px;
    top: -5px;
}
.remove-service-btn:hover {
  background-color: #c82333;
}

/* Budget & Direct Form */
.budget-form-card,
.direct-budget-card {
  background: #fff;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid #e0e0e0;
  transition: border-color 0.3s ease;
}
.budget-form-card.with-services,
.budget-form-card:has(input:focus),
.budget-form-card:has(textarea:focus),
.direct-budget-card:has(input:focus),
.direct-budget-card:has(textarea:focus) {
  border-color: var(--eco-primary);
}
.budget-detail-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
}
.budget-detail-item:last-child {
  border-bottom: none;
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--eco-primary);
  padding-top: 15px;
}

/* Feature / Testimonial */
.feature-card {
  padding: 30px;
  background: #fff;
  border-radius: 15px;
  transition: all 0.3s ease;
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--eco-primary), var(--eco-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #fff;
  font-size: 32px;
}
.testimonial-card {
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: transform 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-5px);
}
.testimonial-header {
  margin-bottom: 15px;
}
.text-eco {
  color: var(--eco-primary);
  font-weight: 500;
}
.testimonial-text {
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 15px;
  min-height: 60px;
}
.testimonial-rating {
  color: #ffc107;
}

/* Footer */
footer {
  background: linear-gradient(
    135deg,
    #f8fafb 0%,
    #e9f4ee 100%
  ); /* Gris muy claro + verde pálido */
  color: #2c3e50;
}

footer .social-links a {
  color: #2c3e50 !important;
}

footer p,
footer h5 {
  color: #2c3e50 !important;
}
.footer-logo {
  max-width: 150px;
  margin-bottom: 20px;
}
.social-links a {
  transition: transform 0.3s ease;
}
.social-links a:hover {
  transform: translateY(-5px);
}

/* Success Message */
.success-message {
  position: fixed;
  top: 100px;
  right: 20px;
  background: var(--eco-primary);
  color: #fff;
  padding: 20px 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  animation: slideIn 0.3s ease;
}
@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .service-card,
  .feature-card,
  .testimonial-card {
    margin-bottom: 20px;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: var(--eco-primary);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--eco-dark);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    overflow: visible;
}

.whatsapp-float:hover {
    background: #20bd5a;
    transform: scale(1.1);
}

.whatsapp-float:active {
    transform: scale(0.95);
}

/* Pulse effect ONLY DESKTOP */
.whatsapp-float::before {
    content: "";
    position: absolute;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    background: #25d366;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0%   { transform: scale(1); opacity: 1; }
    50%  { transform: scale(1.25); opacity: 0.45; }
    100% { transform: scale(1.45); opacity: 0; }
}

/* Oculto texto en desktop */
.whatsapp-float .wsp-text {
    display: none;
}

.logo-header {
  max-width: 80px;
}

.b2b-benefits {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
.b2b-benefits li {
  padding-left: 0;
  display: flex;
  align-items: center;
}

/* --- Botón Hamburguesa Flotante --- */
.hamburger-float {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #64AC54; /* Verde EcoImpeque */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1200;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25), 0 0 15px rgba(100,172,84,0.5);
    transition: all 0.3s ease;
}

.hamburger-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3), 0 0 20px rgba(100,172,84,0.6);
}

.hamburger-float i {
    font-size: 26px;
    color: white;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

/* Estado cuando se convierte en X */
.hamburger-active i {
    transform: rotate(0deg);
}

/* Hace que el ícono se transforme de barras → X */
.hamburger-active i::before {
    content: "\f00d"; /* icono FontAwesome: X */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #fff;
}


/* Ocultar hamburguesa en desktop */
@media (min-width: 992px) {
  .hamburger-float {
    display: none;
  }
}

/* --- Offcanvas Mobile --- */
.mobile-offcanvas {
  background: white;
  backdrop-filter: blur(12px);
  padding-top: 20px;
}

.offcanvas-logo {
  width: 120px;
  margin: 0 auto 20px auto;
}

.offcanvas-nav {
  list-style: none;
  padding: 0;
}

.offcanvas-nav li {
  margin: 12px 0;
}

.offcanvas-nav li a {
  color: var(--eco-primary);
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
  display: block;
  width: 100%;
  padding: 10px 0;
  transition: color 0.2s ease;
}

.offcanvas-nav li a:hover {
  color: var(--eco-primary);
}
.testimonial-swiper {
  padding-top: 20px;
}
.testimonial-swiper .swiper-slide {
    display: flex;
    justify-content: center;
}

.testimonial-card {
    width: 100%;
    max-width: 350px;
}

/* Espacio extra para la paginación */
.testimonial-swiper .swiper-pagination {
    margin-top: 20px !important;  
    position: relative !important;
}

.testimonial-title{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.testimonial-location{
  display: inline-flex;
  align-items: center;
  gap: 5px;

  font-size: 12px;
  font-weight: 600;

  color: #6c757d;
  background: rgba(108,117,125,0.08);

  padding: 4px 8px;
  border-radius: 999px;
}

.testimonial-location i{
  font-size: 11px;
  opacity: 0.8;
}

/* Color de los bullets */
.swiper-pagination-bullet {
    border: 1px solid #64AC54;
    background: white !important;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    border: 1px solid #64AC54;
    background: #64AC54 !important;
    opacity: 1;
}

/* =========================
   IG Banner (alto contraste)
========================= */
.ig-banner{
  background: transparent;
}

.ig-banner__card{
  background: transparent;
  box-shadow: none;
  border: none;
  padding: 0;
}

.ig-banner__top{
  position: relative;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin-bottom: 10px;
}

/* Perfil clickeable (icono + handle) */
.ig-banner__profile{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  transition: transform .15s ease, background .15s ease, opacity .15s ease;
}

.ig-banner__profile:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.08);
}

.ig-banner__profile:active{
  transform: translateY(0px);
  opacity: 0.95;
}

/* Ícono IG grande con gradiente original */
.ig-banner__igmark{
  width: 46px;
  height: 46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 30%, #feda75 0%, #fa7e1e 30%, #d62976 55%, #962fbf 75%, #4f5bd5 100%);
  box-shadow: 0 12px 22px rgba(0,0,0,0.22);
}

.ig-banner__igmark i{
  font-size: 26px;
  color: #fff;
}

.ig-banner__handle{
  position: relative;
  font-weight: 800;
  background: rgba(255,255,255,0.12);
  padding: 8px 12px;
  border-radius: 999px;
}

.ig-banner__title{
  position: relative;
  font-weight: 900;
  margin: 8px 0 6px;
}

.ig-banner__text{
  position: relative;
  margin: 0 auto;
  max-width: 720px;
  opacity: 0.92;
}

/* CTA centrado, blanco con contraste + pequeño acento IG */
.ig-banner__cta-wrap{
  position: relative;
  margin-top: 18px;
  display:flex;
  justify-content:center;
}

.ig-banner__cta{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;

  background: #fff;
  color: #1a1a1a;
  box-shadow: 0 16px 30px rgba(0,0,0,0.18);
  transform: translateY(0);
  transition: transform .18s ease, box-shadow .18s ease;
}

.ig-banner__cta i{
  font-size: 20px;
  /* acento gradiente en el icono del botón */
  background: radial-gradient(circle at 30% 30%, #feda75 0%, #fa7e1e 30%, #d62976 55%, #962fbf 75%, #4f5bd5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ig-banner__cta:hover{
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(0,0,0,0.22);
}

.ig-banner__zones{
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.zone-badge{
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .2px;

  /* sutil, no grita */
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
}

.zone-badge:hover{
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.26);
}

.ig-banner-full{
  width: 100%;
  background: linear-gradient(
    135deg,
    #2f6f3a 0%,
    #3f8647 45%,
    #2c5f33 100%
  );
  padding: 64px 16px;
}

/* Contenedor centrado */
.ig-banner-inner{
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.hero-logo img {
    max-width: 100px;
    height: auto;
    background: white;
    border-radius: 50%;
}

/* ===== Swiper dentro de Servicios ===== */
.service-swiper {
  width: 100%;
  height: 100%;
}

.service-swiper .swiper-slide {
  width: 100%;
  height: 100%;
}

.service-swiper .service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Paginación visible (mobile y desktop) */
.service-media .service-swiper .swiper-pagination{
  opacity: 1;
  pointer-events: auto;
  bottom: 10px !important;
}

/* Si hay 1 slide, se oculta por JS */
.swiper-controls-hidden .swiper-pagination{
  display: none !important;
}

.service-media .swiper-pagination {
  height: auto;
  line-height: 0;
}
/* Base: nunca escales el contenedor del swiper */
.service-media,
.service-media .zoom-wrapper,
.service-media .service-swiper {
  transform: none !important;
}

/* Zoom suave solo en la imagen */
.service-media .swiper-slide .service-image{
  transform: scale(1);
  transition: transform 0.35s ease;
  transform-origin: center;
  will-change: transform;
}

/* Solo en dispositivos con hover (desktop) */
@media (hover: hover) and (pointer: fine){
  .service-card:hover .swiper-slide-active .service-image{
    transform: scale(1.08);
  }
}
/* Puntitos: visibles en mobile */
@media (hover: none) and (pointer: coarse) {
  .service-media .service-swiper .swiper-pagination {
    opacity: 1;
    pointer-events: auto;
  }
}

/* Opcional: baja un poco los puntitos para que no tapen la imagen */
@media (hover: none) and (pointer: coarse) {
  .service-media .service-swiper .swiper-pagination {
    bottom: 8px !important;
  }
}

/* Clase utilitaria para ocultar controles si hay 1 slide */
.swiper-controls-hidden .swiper-pagination {
  display: none !important;
}

/* FIX definitivo: eliminar hairline por fondo que se asoma con transforms de Swiper */
.service-media,
.service-media .zoom-wrapper,
.service-media .service-swiper,
.service-media .swiper-wrapper,
.service-media .swiper-slide {
  background: transparent !important;
}

/* Anti “seam” por subpíxeles (Swiper usa translate3d) */
.service-media .swiper-wrapper,
.service-media .swiper-slide,
.service-media img {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Asegura que no haya baseline/espacios raros */
.service-media img {
  display: block;
}

/* ----- */
/* =========================
   Floating Budget Button
========================= */
.budget-float{
  position: fixed;
  right: 30px;
  bottom: 110px; /* arriba del WhatsApp circular (desktop) */
  z-index: 1100;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  border: none;
  border-radius: 999px;
  padding: 12px 16px;

  background: white;
  color: var(--eco-primary);
  border: 2px solid var(--eco-primary);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.budget-float:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.budget-float:active{
  transform: translateY(0px);
  opacity: .95;
}

.budget-float i{
  font-size: 18px;
}

.budget-float strong{
  font-weight: 700; /* solo número y total en bold */
}

/* En mobile tu WhatsApp es barra full width abajo.
   Ponemos el presupuesto como "pill" arriba de esa barra. */
@media screen and (max-width: 768px){
  .budget-float{
    left: 15px;
    right: 15px;
    bottom: 78px; /* separación sobre WhatsApp (ajustable) */
    justify-content: center;
    border-radius: 14px;
  }
}

/* Modal look (opcional, mantiene tu estética) */
.budget-modal .modal-header{
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.budget-modal .modal-body{
  background: #fff;
}


/* Nota de precio base (EcoImpeque) */
.ei-quote-note{
  margin: 12px 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,.08);
  border-left: 4px solid rgba(0,0,0,.18);
  background: rgba(0,0,0,.025);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.35;
}

.ei-quote-note strong{ font-weight: 700; }


/* Responsive */
@media (max-width: 768px){
  .ig-banner__card{
    padding: 26px 18px;
  }
  .ig-banner__title{
    font-size: 22px;
  }

  .instagram-card { padding: 26px; }
  .instagram-grid { gap: 10px; }
}


/* Responsive */
@media (max-width: 991px) {
    nav.navbar {
        display: none !important;
    }
    .hero-content {
        padding-top: 40px;
    }
    .hero-video{
      display: none;
    }

    .hero-image{
      display: block;
    }
    .navbar .collapse {
        display: none !important;
    }
    .budget-form-card {
        padding: 25px;
    }
    .hero-section {
        height: 80vh;
        min-height: 480px;
    }
    .feature-card {
        padding: 7px;
    }
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 22px;
    }

}

/* CTA Mobile WhatsApp */
/* === WHATSAPP CTA MOBILE === */
@media screen and (max-width: 768px) {

    #btnWhatsappFlotante {
        position: fixed !important;
        bottom: 15px !important;
        left: 15px !important;
        right: 15px !important;

        width: auto !important;
        height: auto !important;

        padding: 14px 18px !important;
        border-radius: 12px !important;

        background: #25d366 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-direction: row !important;
        gap: 12px !important;

        color: white !important;
        font-size: 17px !important;
        font-weight: 600 !important;
        text-decoration: none !important;

        box-shadow: 0 6px 18px rgba(0,0,0,0.20) !important;
        z-index: 900;

        overflow: visible !important;

        /* Animación suave */
        opacity: 0;
        transition: opacity 0.25s ease-out !important;
    }

    #btnWhatsappFlotante i {
        font-size: 24px !important;
    }

    #btnWhatsappFlotante .wsp-text {
        display: inline-block !important;
        white-space: nowrap !important;  /* <<< evita líneas verticales */
    }

    /* Elimina el efecto pulse en mobile */
    #btnWhatsappFlotante::before {
        display: none !important;
    }

    .hide-hero-cta {
        display: none !important;
    }

  .btn-lg {
      padding: 12px 20px;
      font-size: 1.2rem;
  }
 

}

.hero-content {
    transition: opacity 0.15s linear;
}

@keyframes ecoShake {
  0% { transform: translate(0, 0); }
  4% { transform: translate(-2px, -2px); }
  8% { transform: translate(2px, 2px); }
  12% { transform: translate(-2px, 1.5px); }
  15% { transform: translate(2px, -1.5px); }
  18% { transform: translate(0, 0); }
  100% { transform: translate(0, 0); } /* quieto el resto del tiempo */
}

/* Glow suave normal (sin cambios) */
@keyframes ecoGlow {
  0% { box-shadow: 0 0 0 rgba(84,151,68,0.0); }
  50% { box-shadow: 0 0 12px rgba(84,151,68,0.55); }
  100% { box-shadow: 0 0 0 rgba(84,151,68,0.0); }
}

/* Glow continuo + shake rápido cada 4s */
.cta-attention {
    animation:
        ecoGlow 2.2s ease-in-out infinite,
        ecoShake 3s ease-in-out infinite; /* ciclo total = 4s */
}

/* Shake rápido para el botón flotante */
.whatsapp-shake {
    animation: ecoShake 4s ease-in-out infinite !important;
}
