@charset "UTF-8";

/* ============ THEME ============ */
:root{
  --vega-dark:#0f172a;
  --vega-gray:#64748b;
  --vega-accent:#22c55e;
  --vega-amber:#ffc107;

  /* 👇 IMPORTANT: navbar height (must match body padding-top) */
  --nav-h: 72px;
}

/* ============ BASE ============ */
html{ scroll-behavior:smooth; }

body{
  padding-top: var(--nav-h); /* ✅ evita que el navbar tape contenido */
  background:#fff;
}

section{ scroll-margin-top: calc(var(--nav-h) + 12px); }

/* ============ NAVBAR "GLASS" ============ */
.navbar{
  min-height: var(--nav-h); /* ✅ iguala altura real del nav */
}

.navbar-glass{
  background: rgba(15, 18, 22, .78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.navbar .navbar-brand{
  letter-spacing: .5px;
}

.navbar .nav-link{
  color: rgba(255,255,255,.78) !important;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus{
  color: #fff !important;
}

.navbar-toggler{
  border-color: rgba(255,255,255,.20);
}

/* ============ HERO PREMIUM ============ */
.hero-premium{
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: url("../images/back.jpg") center center / cover no-repeat;
  filter: saturate(1.10) contrast(1.03);
  margin-top: 0; /* ✅ evita separaciones raras */
}

.hero-premium::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.50) 0%,
    rgba(0,0,0,0.22) 48%,
    rgba(0,0,0,0.06) 82%
  );
  z-index:1;
}

.hero-premium__content{
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 32px 0; /* el “espacio arriba” va aquí, no en body */
}

.hero-pill{
  display:inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  font-size: 14px;
}

.hero-title{
  color:#f8fafc;
  font-weight: 800;
  letter-spacing: -0.6px;
  line-height: 1.08;
}

.hero-title span{
  color: var(--vega-amber);
  text-shadow: 0 0 25px rgba(255,193,7,0.55);
}

.hero-subtitle{
  color:#e2e8f0;
  font-size: 1.15rem;
  max-width: 560px;
}

.hero-mini-card{
  border-radius: 18px;
  padding: 16px 18px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 35px rgba(0,0,0,.35);
  transition: all .3s ease;
}

.hero-mini-card:hover{
  transform: translateY(-4px);
  background: rgba(255,255,255,.18);
}

.hero-mini-card strong{
  font-size: 1.05rem;
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
}

.hero-mini-card small{
  color: #e2e8f0;
  font-size: .9rem;
}


.hero-side-card{
  border-radius: 22px;
  padding: 22px;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 25px 70px rgba(0,0,0,.55);
  backdrop-filter: blur(12px);
}

.hero-side-card h5{
  font-weight: 800;
  font-size: 1.15rem;
}

.hero-side-card p{
  color: #e2e8f0;
}
.hero-side-card .btn-warning{
  font-size: 1.05rem;
  padding: 12px 22px;
  box-shadow: 0 12px 30px rgba(255,193,7,.45);
}

.hero-side-card .hero-desc{
  font-size: 1.05rem;
  line-height: 1.6;
  color: #f1f5f9;
  margin-top: 12px;
}


/* ============ CARDS / SECTIONS ============ */
.trust-card{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  padding: 14px 16px;
  backdrop-filter: blur(8px);
}
.trust-title{ font-weight: 800; }
.trust-sub{ font-size: 13px; opacity: .85; }

.service-card{
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 10px 30px rgba(2,6,23,.06);
  background: #fff;
}
.service-img{
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* ============ GALLERY ============ */
.gallery-card{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 10px 30px rgba(2,6,23,.06);
}
.gallery-img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.gallery-label{
  position:absolute;
  left:12px; bottom:12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(2,6,23,.75);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

/* ============ WHATSAPP FLOAT ============ */
.wa-float{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  background: var(--vega-accent);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(34,197,94,.35);
  font-weight: 800;
}
.wa-float:hover{ filter: brightness(0.98); color:#fff; }
.wa-icon{
  display:grid;
  place-items:center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255,255,255,.20);
}

/* ============ CAROUSEL INDICATORS ============ */
.carousel-indicators [data-bs-target]{
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* ============ BEFORE / AFTER (SLIDER REAL) ============ */
/* Contenedor del compare */
.ba-compare{
  position: relative;
  width: 100%;
  height: 460px;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
}

/* imágenes */
.ba-compare img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

/* capa "después" recortada */
.ba-overlay{
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
}

/* divisor vertical */
.ba-divider{
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255,255,255,.95);
  transform: translateX(-1px);
  z-index: 4;
}

/* “handle” */
.ba-handle{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
  z-index: 5;
}

.ba-handle::before,
.ba-handle::after{
  content:"";
  position:absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid #111;
  border-right: 2px solid #111;
  transform: translateY(-50%) rotate(45deg);
}
.ba-handle::before{
  left: 12px;
  transform: translateY(-50%) rotate(225deg);
}
.ba-handle::after{
  right: 12px;
}

/* tags */
.ba-tag{
  position: absolute;
  top: 14px;
  padding: 6px 14px;
  font-size: .85rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(0,0,0,.60);
  z-index: 6;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.ba-left{ left: 14px; }
.ba-right{
  right: 14px;
  background: rgba(25,135,84,.85);
}

/* range invisible encima */
.ba-range{
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 10;
  touch-action: none;
}

/* caption del slide */
.ba-caption{
  margin-top: 12px;
  padding: 0;
  color: inherit;
  background: transparent;
}

@media (max-width: 768px){
  :root{ --nav-h: 64px; } /* nav un poco más chico en móvil */
  body{ padding-top: var(--nav-h); }
  .ba-compare{ height: 320px; }
  .hero-subtitle{ font-size: 1.05rem; }
}

/* ============ REVIEWS ============ */
.review-card{
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 12px 30px rgba(2,6,23,.06);
  padding: 18px;
  background: #fff;
}
.review-stars{
  letter-spacing: 2px;
  color: #f59e0b;
  font-weight: 900;
  font-size: 14px;
  line-height: 1;
}

.map-card img{ display:block; }


.btn-warning{
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 16px;
  box-shadow: 0 10px 25px rgba(255,193,7,.35);
}

.hero-phone{
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  margin: 6px 0 12px 0;
}


.wa-icon i{
  font-size: 24px;   /* tamaño más grande */
}
