/* =========================================================
   PROUESTA SITIO - style.css
   - Diseño moderno, ligero y profesional
   - Animaciones suaves (sin exagerar)
   - Responsive + accesible
   ========================================================= */

:root{
  --bg:#07111e;
  --panel:rgba(255,255,255,.06);
  --card:rgba(255,255,255,.075);
  --text:#f5f7ff;
  --muted:rgba(245,247,255,.72);
  --line:rgba(255,255,255,.12);
  --shadow:0 16px 60px rgba(0,0,0,.42);
  --shadow-soft:0 10px 28px rgba(0,0,0,.30);
  --radius:22px;
  --radius-sm:16px;
  --max:1120px;
  --pad:18px;

  --accent:#2b6cff;
  --accent2:#00d1b2;
  --g1: rgba(43,108,255,.22);
  --g2: rgba(0,209,178,.16);
  --ok:#2de3a6;
  --warn:#ffcd4a;
  --danger:#ff5b6a;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 600px at 20% 10%, var(--g1), transparent 60%),
    radial-gradient(900px 600px at 80% 20%, var(--g2), transparent 55%),
    linear-gradient(180deg, #06101c 0%, #07111e 40%, #050d17 100%);
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; height:auto; display:block; }
.container{ width:min(var(--max), calc(100% - 32px)); margin-inline:auto; }

.skip{
  position:absolute; left:-9999px; top:10px;
  padding:10px 14px; border-radius:12px;
  background:var(--text); color:#0b1220;
  z-index:999;
}
.skip:focus{ left:12px; }

header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(7,17,30,.82) 0%, rgba(7,17,30,.55) 100%);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.navbar{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:10px;
}
.brand img{ width:40px; height:40px; border-radius:14px; }
.brand .name{ font-weight:900; letter-spacing:.2px; }
.brand .tag{ display:block; font-size:12px; color:var(--muted); font-weight:700; margin-top:2px; }

.nav{
  display:flex; align-items:center; gap:14px;
}
.nav a{
  padding:10px 12px;
  border-radius:12px;
  color:rgba(245,247,255,.86);
  font-weight:700;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.nav a:hover{ background:rgba(255,255,255,.06); transform: translateY(-1px); }
.nav a.active{ background:rgba(43,108,255,.18); color:var(--text); }

.actions{ display:flex; align-items:center; gap:10px; }
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.06);
  color:var(--text);
  font-weight:900;
  letter-spacing:.2px;
  box-shadow: var(--shadow-soft);
  cursor:pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  user-select:none;
}
.btn:hover{ transform: translateY(-1px); background:rgba(255,255,255,.09); border-color:rgba(255,255,255,.18); }
.btn.primary{
  border-color: rgba(43,108,255,.55);
  background: linear-gradient(135deg, rgba(43,108,255,.95), rgba(0,209,178,.85));
  color:#08101c;
}
.btn.primary:hover{ box-shadow: 0 18px 60px rgba(43,108,255,.25); }
.btn.ghost{
  background:transparent;
  box-shadow:none;
}

.icon-btn{
  width:42px; height:42px;
  border-radius:16px;
  display:inline-grid; place-items:center;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.06);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.icon-btn:hover{ transform: translateY(-1px); background:rgba(255,255,255,.09); border-color:rgba(255,255,255,.18); }

.burger{ display:none; }

.hero{
  padding:28px 0 18px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  align-items:stretch;
}
.hero-card{
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  position:relative;
}
.map-banner{
  height: 420px;
  background:
    radial-gradient(900px 600px at 70% 15%, rgba(43,108,255,.25), transparent 60%),
    radial-gradient(700px 500px at 30% 70%, rgba(0,209,178,.18), transparent 60%),
    url("../img/slider/slide-1.svg");
  background-size: cover;
  background-position: center;
  filter:saturate(1.05) contrast(1.02);
}
.map-overlay{
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(7,17,30,.82) 0%, rgba(7,17,30,.28) 58%, rgba(7,17,30,0) 100%);
}
.hero-content{
  position:absolute; inset:0;
  display:flex; align-items:flex-end;
  padding: 28px;
}
.kicker{
  display:inline-flex; gap:10px; align-items:center;
  font-weight:900; color:rgba(245,247,255,.88);
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  padding:8px 12px;
}
.h1{
  margin:14px 0 10px;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height:1.05;
  letter-spacing:-.6px;
  font-weight:950;
}
.sub{
  margin:0 0 18px;
  color:rgba(245,247,255,.78);
  font-size: 16px;
  max-width: 52ch;
}
.hero-cta{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; }

.side{
  padding:18px;
}
.side .box{
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: var(--shadow-soft);
}
.side .box + .box{ margin-top:14px; }
.list{
  margin:12px 0 0; padding:0; list-style:none;
}
.list li{
  display:flex; gap:10px; align-items:flex-start;
  padding:10px 0;
  border-top:1px dashed rgba(255,255,255,.14);
  color:rgba(245,247,255,.80);
}
.list li:first-child{ border-top:none; padding-top:0; }
.badge{
  width:28px; height:28px; border-radius:12px;
  background:rgba(43,108,255,.18);
  border:1px solid rgba(43,108,255,.35);
  display:grid; place-items:center;
  flex:0 0 auto;
}

.section{ padding:34px 0; }
.section h2{
  margin:0 0 10px;
  font-size: 22px;
  letter-spacing:-.2px;
}
.section p.lead{ margin:0; color:var(--muted); max-width: 76ch; }

.cards{
  margin-top:16px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.card{
  padding:16px;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.card:hover{ transform: translateY(-2px); background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); }
.card .title{ font-weight:950; margin:10px 0 6px; }
.card .desc{ color:var(--muted); margin:0; line-height:1.5; }
.card .mini{ margin-top:12px; display:flex; gap:10px; flex-wrap:wrap; }

.carousel{
  margin-top:16px;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
}
.carousel-track{
  display:flex;
  transition: transform .55s cubic-bezier(.2,.75,.2,1);
  will-change: transform;
}
.slide{
  min-width:100%;
  position:relative;
}
.slide img{ width:100%; height:420px; object-fit:cover; }
.slide .caption{
  position:absolute; left:18px; bottom:18px;
  padding:14px 14px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(7,17,30,.55);
  backdrop-filter: blur(10px);
  max-width:min(560px, calc(100% - 36px));
}
.slide .caption b{ display:block; font-size:18px; }
.slide .caption span{ display:block; color:rgba(245,247,255,.75); margin-top:4px; }
.carousel-controls{
  position:absolute; inset:auto 12px 12px auto;
  display:flex; gap:8px;
}
.dots{
  position:absolute; left:18px; bottom:18px;
  display:flex; gap:8px;
  transform: translateY(78px);
}
.dot{
  width:10px; height:10px; border-radius:999px;
  border:1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.10);
  cursor:pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.dot.active{ background: linear-gradient(135deg, rgba(43,108,255,.95), rgba(0,209,178,.85)); border-color: transparent; transform: scale(1.2); }

.reviews{
  margin-top:16px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
  align-items:stretch;
}
.review-card{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  box-shadow: var(--shadow-soft);
  padding:16px;
}
.review-top{ display:flex; gap:12px; align-items:center; }
.avatar{ width:54px; height:54px; border-radius:18px; overflow:hidden; border:1px solid rgba(255,255,255,.12); }
.stars{ color: rgba(255,205,74,.95); letter-spacing:2px; font-weight:900; }
.quote{ margin:12px 0 0; color:rgba(245,247,255,.82); line-height:1.6; }
.small{ color:var(--muted); font-size:13px; margin-top:8px; }

.cta-wide{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(135deg, rgba(43,108,255,.18), rgba(0,209,178,.12));
  box-shadow: var(--shadow);
  padding:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.cta-wide h3{ margin:0; font-size:18px; }
.cta-wide p{ margin:6px 0 0; color:var(--muted); }

footer{
  padding:26px 0 38px;
  border-top:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.12);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap:14px;
}
.footer-grid h4{ margin:0 0 8px; font-size:14px; letter-spacing:.2px; }
.footer-grid a{ color:rgba(245,247,255,.80); display:inline-block; padding:6px 0; }
.footer-grid a:hover{ color:var(--text); }
.footer-bottom{
  margin-top:16px;
  display:flex; gap:10px; justify-content:space-between; align-items:center;
  flex-wrap:wrap;
  color:rgba(245,247,255,.58);
  font-size:13px;
}

/* Floating actions */
.fab{
  position:fixed; right:16px; bottom:16px; z-index:60;
  display:flex; flex-direction:column; gap:10px;
}
.fab a, .fab button{
  width:52px; height:52px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
  box-shadow: var(--shadow-soft);
  display:grid; place-items:center;
  cursor:pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.fab a:hover, .fab button:hover{ transform: translateY(-2px); background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.20); }
.fab a[data-brand="whatsapp"]{ background: rgba(37,211,102,.16); border-color: rgba(37,211,102,.35); }
.fab a[data-brand="instagram"]{ background: rgba(255,95,166,.14); border-color: rgba(255,95,166,.30); }
.fab a[data-brand="facebook"]{ background: rgba(24,119,242,.14); border-color: rgba(24,119,242,.30); }

.chat{
  position:fixed; right:16px; bottom:86px; z-index:70;
  width:min(360px, calc(100% - 32px));
  border-radius: 22px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(7,17,30,.78);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  overflow:hidden;
  transform: translateY(10px);
  opacity:0;
  pointer-events:none;
  transition: opacity .18s ease, transform .18s ease;
}
.chat.open{
  opacity:1; transform: translateY(0);
  pointer-events:auto;
}
.chat-head{
  padding:14px 14px;
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.chat-head b{ font-weight:950; }
.chat-body{ padding:14px; }
.pills{ display:flex; gap:10px; flex-wrap:wrap; margin-top:10px; }
.pill{
  padding:10px 12px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(245,247,255,.86);
  font-weight:800;
  cursor:pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.pill:hover{ transform: translateY(-1px); background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.18); }
.note{ color:var(--muted); font-size:13px; line-height:1.5; margin:10px 0 0; }

hr.sep{
  border:none; border-top:1px solid rgba(255,255,255,.10);
  margin: 12px 0;
}

@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .map-banner{ height: 380px; }
  .cards{ grid-template-columns: 1fr; }
  .reviews{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .nav{ display:none; }
  .burger{ display:inline-grid; place-items:center; }
  .nav.mobile-open{
    display:flex;
    position:absolute; left:16px; right:16px; top:70px;
    flex-direction:column; gap:6px;
    padding:10px;
    border-radius: 18px;
    background: rgba(7,17,30,.92);
    border:1px solid rgba(255,255,255,.10);
    box-shadow: var(--shadow);
  }
}
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important; transition:none !important; animation:none !important; }
}
