/*
 Theme Name: Astra Child - La Previa
 Template: astra
 Version: 1.7
*/

/* =========================
   VARIABLES Y BASE
========================= */
:root {
  --lp-prim:#F2C94C;
  --lp-dark:#0b0b0b;
  --lp-light:#ffffff;
}

*, *::before, *::after { box-sizing:border-box; }

html {
  scrollbar-gutter: stable both-edges;
  scroll-behavior: smooth;
}

html, body {
  font-family: system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  background: var(--lp-dark);
  color: var(--lp-light);
  overflow-x: hidden;
  margin: 0;
}

/* =========================
   RESET ASTRA EN HOME
========================= */
.page-template-home-lp-standalone #page,
.page-template-home-lp-standalone .site,
.page-template-home-lp-standalone .site-content,
.page-template-home-lp-standalone .ast-container,
.page-template-home-lp-standalone .content-area,
.page-template-home-lp-standalone .site-main,
.page-template-home-lp-standalone .entry-content,
.page-template-home-lp-standalone .ast-article-single,
.page-template-home-lp-standalone .ast-plain-container,
.page-template-home-lp-standalone .ast-page-builder-template {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #0b0b0b !important;
  border: none !important;
}

/* Elimina padding interno oculto de Astra */
.page-template-home-lp-standalone .ast-container > *,
.page-template-home-lp-standalone .site-content > * {
  margin: 0 !important;
  padding: 0 !important;
}

/* =========================
   FULL BLEED
========================= */
.page-template-home-lp-standalone .lp-fullbleed {
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  overflow: hidden !important;
}
@supports (width: 100svw) {
  .page-template-home-lp-standalone .lp-fullbleed {
    width: 100svw !important;
    max-width: 100svw !important;
  }
}

/* =========================
   HEADER / NAV
========================= */
.page-template-home-lp-standalone .lp-header{
  position:fixed; inset:0 0 auto 0; height:64px;
  background:rgba(0,0,0,.85); backdrop-filter:saturate(120%) blur(8px);
  display:flex; align-items:center; z-index:10000;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.page-template-home-lp-standalone .lp-header .wrap{
  width:min(1200px,100%); margin:0 auto; padding:0 20px;
  display:flex; align-items:center; justify-content:space-between;
}
.page-template-home-lp-standalone .lp-brand{
  display:flex; align-items:center; gap:10px;
  text-decoration:none; color:#fff; font-weight:700;
}
.page-template-home-lp-standalone .lp-nav{ display:flex; gap:18px; align-items:center; }
.page-template-home-lp-standalone .lp-nav a{
  color:#d9dde2; text-decoration:none; font-weight:600; font-size:15px;
  padding:8px 10px; border-radius:8px;
}
.page-template-home-lp-standalone .lp-nav a:hover{
  color:#fff; background:rgba(255,255,255,.08);
}
.page-template-home-lp-standalone .lp-cta{
  background:var(--lp-prim); color:#111 !important;
  border-radius:999px; padding:10px 14px !important;
  font-weight:700;
}

/* Burger Menu */
.page-template-home-lp-standalone .lp-burger{
  display:none; width:36px; height:36px; align-items:center; justify-content:center;
  border:1px solid rgba(255,255,255,.2); border-radius:8px;
}
.page-template-home-lp-standalone .lp-burger span{
  display:block; width:18px; height:2px; background:#fff; position:relative;
}
.page-template-home-lp-standalone .lp-burger span::before,
.page-template-home-lp-standalone .lp-burger span::after{
  content:""; position:absolute; left:0; width:18px; height:2px; background:#fff;
}
.page-template-home-lp-standalone .lp-burger span::before{ top:-6px; }
.page-template-home-lp-standalone .lp-burger span::after{ top:6px; }

@media (max-width:890px){
  .page-template-home-lp-standalone .lp-nav{
    position:fixed; top:64px; right:12px; left:12px; background:#0d0d0d;
    border:1px solid rgba(255,255,255,.12); border-radius:12px; padding:10px;
    flex-direction:column; gap:6px; display:none;
  }
  .page-template-home-lp-standalone .lp-nav.show{ display:flex; }
  .page-template-home-lp-standalone .lp-burger{ display:flex; }
}

/* Admin bar (WP) – evita solape con header */
.admin-bar.page-template-home-lp-standalone .lp-header{ top:32px; }
@media (max-width:782px){
  .admin-bar.page-template-home-lp-standalone .lp-header{ top:46px; }
}

/* Anclas offset */
.page-template-home-lp-standalone section[id]{ scroll-margin-top:76px; }

/* =========================
   HERO
========================= */
.page-template-home-lp-standalone .hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  text-align: center;
  padding: 140px 16px;
}
.page-template-home-lp-standalone .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}
.page-template-home-lp-standalone .hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin-inline: auto;
}

/* =========================
   BOTONES
========================= */
.page-template-home-lp-standalone .lp-btn {
  display: inline-block;
  color: #111;
  background: var(--lp-prim);
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform .12s ease, filter .12s ease;
}
.page-template-home-lp-standalone .lp-btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.04);
}
.page-template-home-lp-standalone .btn {
  display:inline-block;
  border:1px solid rgba(255,255,255,.25);
  padding:10px 14px;
  border-radius:999px;
  text-decoration:none;
  color:#fff;
  transition: transform .12s ease;
}
.page-template-home-lp-standalone .btn:hover{ transform: translateY(-1px); }
.page-template-home-lp-standalone .btn--gold {
  border-color:var(--lp-prim);
  color:#111;
  background:var(--lp-prim);
  font-weight:800;
}

/* Accesibilidad: foco visible */
.page-template-home-lp-standalone a:focus-visible,
.page-template-home-lp-standalone button:focus-visible,
.page-template-home-lp-standalone input:focus-visible,
.page-template-home-lp-standalone select:focus-visible,
.page-template-home-lp-standalone textarea:focus-visible{
  outline:2px solid var(--lp-prim);
  outline-offset:2px;
  border-radius:6px;
}

/* =========================
   CONTENEDORES / SECCIONES
========================= */
.page-template-home-lp-standalone .container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}
.page-template-home-lp-standalone .section {
  padding: 64px 0;
}
.page-template-home-lp-standalone .section.dark {
  background: #111;
  color: #fff;
}
.page-template-home-lp-standalone .section h2 {
  color: #fff;
  text-align: center;
  margin: 0 0 24px;
}

/* =========================
   GRID Y CARDS
========================= */
.page-template-home-lp-standalone .grid-3 {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3,1fr);
}
.page-template-home-lp-standalone .card {
  background: #1b1b1b;
  color: #fff;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}

/* =========================
   SHOWS (Instagram)
========================= */
.page-template-home-lp-standalone .ig-grid {
  display:grid;
  gap:16px;
  grid-template-columns:repeat(3,1fr);
}
.page-template-home-lp-standalone .ig-grid blockquote { margin:0 !important; }
@media (max-width:1024px){
  .page-template-home-lp-standalone .ig-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:640px){
  .page-template-home-lp-standalone .ig-grid{ grid-template-columns:1fr; }
}

/* =========================
   GALERÍA
========================= */
.page-template-home-lp-standalone .galeria {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4,1fr);
}
.page-template-home-lp-standalone .galeria img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
}

/* =========================
   RESEÑAS
========================= */
.page-template-home-lp-standalone .reviews {
  display:grid;
  gap:16px;
  grid-template-columns:repeat(3,1fr);
}
.page-template-home-lp-standalone .review {
  background:#141414;
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  padding:14px;
}
.page-template-home-lp-standalone .stars {
  color:var(--lp-prim);
  letter-spacing:2px;
}
@media (max-width:900px){
  .page-template-home-lp-standalone .reviews{ grid-template-columns:1fr 1fr; }
}
@media (max-width:560px){
  .page-template-home-lp-standalone .reviews{ grid-template-columns:1fr; }
}

/* =========================
   FORMULARIOS (Reseñar / Cotizar)
========================= */
.page-template-home-lp-standalone .form-grid {
  display:grid;
  gap:12px;
  grid-template-columns:1fr 1fr;
}
@media (max-width:640px){
  .page-template-home-lp-standalone .form-grid{ grid-template-columns:1fr; }
}
.page-template-home-lp-standalone .fld {
  display:flex;
  flex-direction:column;
  gap:6px;
}
.page-template-home-lp-standalone .fld input,
.page-template-home-lp-standalone .fld select,
.page-template-home-lp-standalone .fld textarea {
  background:#0f0f10;
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
  padding:10px 12px;
  border-radius:10px;
  transition: border-color .12s ease, box-shadow .12s ease;
}
.page-template-home-lp-standalone .fld input:focus,
.page-template-home-lp-standalone .fld select:focus,
.page-template-home-lp-standalone .fld textarea:focus{
  border-color: var(--lp-prim);
  box-shadow: 0 0 0 2px rgba(242,201,76,.15);
}
.page-template-home-lp-standalone .actions {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

/* =========================
   VIDEO
========================= */
.page-template-home-lp-standalone .video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 12px;
}
.page-template-home-lp-standalone .video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================
   WHATSAPP FLOAT
========================= */
.page-template-home-lp-standalone .whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
}
.page-template-home-lp-standalone .whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  font-weight: 700;
  text-decoration: none;
  font-size: 28px;
  line-height: 1;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width:1024px){
  .page-template-home-lp-standalone .galeria{ grid-template-columns:repeat(3,1fr); }
  .page-template-home-lp-standalone .grid-3{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:768px){
  .page-template-home-lp-standalone .hero{ padding:80px 12px; }
  .page-template-home-lp-standalone .grid-3{ grid-template-columns:1fr; }
  .page-template-home-lp-standalone .galeria{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:480px){
  .page-template-home-lp-standalone .galeria{ grid-template-columns:1fr; }
}
/* ===== Estilo premium / detalles finos ===== */

/* Títulos con subrayado dorado */
.page-template-home-lp-standalone .section h2{
  position:relative;
  letter-spacing:.2px;
}
.page-template-home-lp-standalone .section h2::after{
  content:""; display:block; margin:10px auto 0;
  width:72px; height:4px; border-radius:2px; background:var(--lp-prim);
}

/* Header con leve degradé y sombra sutil */
.page-template-home-lp-standalone .lp-header{
  background:linear-gradient(0deg, rgba(0,0,0,.82), rgba(0,0,0,.90));
  box-shadow:0 6px 24px rgba(0,0,0,.28);
}

/* Botones: realce en hover */
.page-template-home-lp-standalone .lp-btn,
.page-template-home-lp-standalone .btn--gold{
  box-shadow:0 8px 26px rgba(242,201,76,.18);
}
.page-template-home-lp-standalone .lp-btn:hover,
.page-template-home-lp-standalone .btn--gold:hover{
  box-shadow:0 10px 30px rgba(242,201,76,.26);
}

/* Cards y reseñas: elevación y borde translúcido */
.page-template-home-lp-standalone .card,
.page-template-home-lp-standalone .review{
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  border-color:rgba(255,255,255,.10);
  box-shadow:0 8px 24px rgba(0,0,0,.25);
}
.page-template-home-lp-standalone .card:hover,
.page-template-home-lp-standalone .review:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 36px rgba(0,0,0,.35);
  border-color:rgba(255,255,255,.16);
}

/* Galería: zoom suave al pasar */
.page-template-home-lp-standalone .galeria img{
  transition:transform .25s ease, box-shadow .25s ease;
}
.page-template-home-lp-standalone .galeria img:hover{
  transform:scale(1.02);
  box-shadow:0 12px 28px rgba(0,0,0,.35);
}

/* Instagram embeds: borde redondeado y sombra al contenedor */
.page-template-home-lp-standalone .ig-grid blockquote{
  border-radius:12px !important;
  overflow:hidden; background:#0f0f10 !important;
  border:1px solid rgba(255,255,255,.10) !important;
  box-shadow:0 10px 28px rgba(0,0,0,.35);
}

/* Inputs y selects: fondo “glass” leve */
.page-template-home-lp-standalone .fld input,
.page-template-home-lp-standalone .fld select,
.page-template-home-lp-standalone .fld textarea{
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  backdrop-filter:saturate(110%) blur(2px);
}

/* Separación extra del contenido bajo el header en la primera sección */
.page-template-home-lp-standalone .hero{ padding-top: 140px; }

/* CTA flotante de WhatsApp: pulido */
.page-template-home-lp-standalone .whatsapp-float a{
  transition:transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.page-template-home-lp-standalone .whatsapp-float a:hover{
  transform:translateY(-1px);
  filter:brightness(1.03);
  box-shadow:0 14px 36px rgba(0,0,0,.35);
}
/* ===== Tipografías ===== */
.page-template-home-lp-standalone body{ font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.page-template-home-lp-standalone h1,
.page-template-home-lp-standalone h2,
.page-template-home-lp-standalone h3{ font-family: Outfit, Inter, system-ui, sans-serif; }
.page-template-home-lp-standalone h1{ letter-spacing:.2px; }
.page-template-home-lp-standalone h2{ letter-spacing:.2px; }

/* ===== Animaciones reveal (usar clase .lp-reveal en bloques) ===== */
.page-template-home-lp-standalone .lp-reveal{
  opacity:0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease;
}
.page-template-home-lp-standalone .lp-reveal.in{
  opacity:1; transform: translateY(0);
}

