/* RESET */
*,
*::before,
*::after{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Poppins",system-ui,sans-serif;
  background:#f5f7fb;
  color:#111827;
  line-height:1.6;
  overflow-x: hidden;
}

a{
  color:inherit;
  text-decoration:none;
}

img{
  max-width:100%;
  display:block;
}

/* LAYOUT */
.container{
  max-width:1120px;
  margin:0 auto;
  padding:0 16px;
}

/* HEADER - CORREGIDO */
.site-header{
  position:sticky;
  top:0;
  z-index:40;
  background:rgba(248,250,252,0.96);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(148,163,184,0.35);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px 0;
  min-height: 60px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
}

.brand-logo{
  width:100px;
  height:100px;
  object-fit:contain;
}

.brand-name{
  font-weight:600;
  letter-spacing:0.08em;
  text-transform:uppercase;
  font-size:0.9rem;
}

.nav-links{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:16px;
  font-size:0.9rem;
}

.nav-links a{
  position:relative;
  padding:6px 0;
  color:#4b5563;
  white-space: nowrap;
}

.nav-links a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-3px;
  width:0;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,#ec4899,#22c1c3);
  transition:width .18s ease;
}

.nav-links a:hover::after{
  width:100%;
}

.nav-links a.nav-cta{
  padding:0.6rem 1.6rem;
  border-radius:999px;
}

.nav-cta{
  padding:8px 18px;
  border-radius:999px;
  background:linear-gradient(135deg,#f78ad6,#35f0f0);
  color:#f9fafb;
  font-weight:600;
  box-shadow:0 14px 32px rgba(236,72,153,0.35);
}

/* NAV – mejora espacio del botón "Reservá fecha" */
.nav-primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Contenedor de los links del menú */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;          /* separa un poco cada link */
}

/* Botón "Reservá fecha" */
.nav-cta {
  margin-left: 2.5rem;  /* separa el botón del último link */
  padding: 0.45rem 1.7rem;
  flex-shrink: 0;       /* evita que se achique cuando hay poco espacio */
}

/* HERO - MEJORADO */
.hero{
  position:relative;
  min-height:85vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  border-radius:0 0 32px 32px;
  box-shadow:0 22px 48px rgba(15,23,42,0.35);
}

.hero-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:brightness(0.7) saturate(1.1);
  transform:scale(1.04);
  opacity:1;
  transition:opacity .6s ease-in-out;
}

/* estado intermedio para el fade */
.hero-bg.is-fading{
  opacity:0;
}


.hero-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at top left,rgba(15,23,42,0.82) 0,transparent 55%),
    linear-gradient(to top,rgba(15,23,42,0.95) 0,rgba(15,23,42,0.4) 50%,rgba(15,23,42,0.95) 100%);
}

.hero-inner{
  position:relative;
  z-index:1;
  padding:80px 16px;
  width: 100%;
}

.hero-content{
  max-width:640px;
  color:#f9fafb;
}

.hero-kicker{
  font-size:0.9rem;
  letter-spacing:0.18em;
  text-transform:uppercase;
  opacity:0.85;
  margin-bottom:12px;
}

.hero h1{
  font-size:clamp(2.2rem,3.6vw,3.3rem);
  line-height:1.1;
  margin-bottom:16px;
}

.hero h1 span{
  color:#fce7f3;
}

.hero-subtitle{
  max-width:480px;
  font-size:1.1rem;
  margin-bottom:24px;
  line-height: 1.5;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 24px;
  border-radius:999px;
  border:none;
  font-size:0.95rem;
  font-weight:600;
  cursor:pointer;
  transition:transform .15s ease,box-shadow .15s ease,filter .15s ease;
}

.btn-primary{
  background:linear-gradient(135deg,#e96fc4,#35f0f0);
  color:#0b1120;
  box-shadow:0 18px 44px rgba(15,23,42,0.7);
}

.btn-primary:hover{
  transform:translateY(-2px);
  filter:brightness(1.05);
}

.btn-secondary{
  border:1px solid rgba(248,250,252,0.7);
  background:rgba(15,23,42,0.35);
  color:#fbf9fa;
}

.btn-secondary:hover{
  background:rgb(230, 156, 44);
}

.btn.full{
  width:100%;
}

/* SECTIONS - MEJORADO */
.section{
  padding:80px 0;
}

.section-alt{
  background:#eef2ff;
}

.section-title{
  text-align:center;
  font-size:2.2rem;
  margin-bottom:24px;
}

.section-lead{
  font-size:1.1rem;
  color:#4b5563;
  max-width:640px;
  margin:0 auto 24px;
  line-height: 1.6;
}

.section-lead.center{
  text-align:center;
}

/* TWO COLUMN - CORREGIDO */
.two-column{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}

.text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.image-block img{
  border-radius:24px;
  box-shadow:0 18px 40px rgba(15,23,42,0.45);
  width: 100%;
  height: auto;
}

/* LISTAS */
.feature-list{
  list-style:none;
  margin-top:20px;
}

.feature-list li{
  position:relative;
  padding-left:26px;
  margin-bottom:10px;
  color:#4b5563;
  font-size:1rem;
  line-height: 1.5;
}

.feature-list li::before{
  content:"•";
  position:absolute;
  left:8px;
  top:0;
  color:#ec4899;
  font-size: 1.2rem;
}

/* IDEAL PARA - CORREGIDO */
.ideal-grid{
  margin-top:32px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:20px;
}

.ideal-card{
  padding:20px 16px;
  border-radius:18px;
  background:#f9fafb;
  border:1px solid rgba(148,163,184,0.4);
  box-shadow:0 14px 30px rgba(15,23,42,0.12);
  text-align:center;
  font-size:1rem;
  color:#4b5563;
  transition:transform .15s ease,box-shadow .15s ease;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ideal-card:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 40px rgba(15,23,42,0.2);
}

/* GALERIA - MEJORADO */
.section-subtitle{
  margin-top:40px;
  margin-bottom:16px;
  font-size:1.3rem;
  color:#4b5563;
  text-align: center;
}

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:18px;
  margin-bottom: 30px;
}

.gallery-grid img{
  border-radius:18px;
  box-shadow:0 16px 38px rgba(15,23,42,0.25);
  object-fit:cover;
  width: 100%;
  height: 220px;
  transition:transform .18s ease,filter .18s ease;
}

.gallery-grid img:hover{
  transform:translateY(-3px) scale(1.02);
  filter:brightness(1.03);
}

/* COMO FUNCIONA - CORREGIDO */
.steps-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:24px;
  margin-top:24px;
}

.step-card{
  padding:24px 20px 20px;
  border-radius:18px;
  background:#ffffff;
  border:1px solid rgba(148,163,184,0.35);
  box-shadow:0 18px 40px rgba(15,23,42,0.18);
  text-align: center;
}

.step-number{
  width:36px;
  height:36px;
  border-radius:999px;
  background:linear-gradient(135deg,#ec4899,#22c1c3);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#0b1120;
  font-size:1rem;
  font-weight:700;
  margin:0 auto 12px;
}

.step-card h3{
  font-size:1.2rem;
  margin-bottom:10px;
}

.step-card p{
  font-size:1rem;
  color:#4b5563;
  line-height: 1.5;
}

/* TESTIMONIOS - CORREGIDO */
.testimonials{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:24px;
  margin-top:24px;
}

.test-card{
  padding:24px 22px 20px;
  border-radius:18px;
  background:#ffffff;
  border:1px solid rgba(148,163,184,0.4);
  box-shadow:0 18px 40px rgba(15,23,42,0.18);
  text-align: center;
}

.test-meta{
  margin-top:12px;
  font-size:0.95rem;
  color:#6b7280;
  font-style: italic;
}

/* FORMULARIO - CORREGIDO */
.quote-form{
  max-width:520px;
  margin:0 auto;
  margin-top:20px;
  padding:28px 24px 26px;
  border-radius:22px;
  background:#ffffff;
  border:1px solid rgba(148,163,184,0.4);
  box-shadow:0 18px 40px rgba(15,23,42,0.18);
  display:grid;
  gap:18px;
}

.field{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.field label{
  font-size:0.95rem;
  color:#6b7280;
  font-weight: 500;
}

.field input,
.field select{
  border-radius:12px;
  border:1px solid rgba(148,163,184,0.8);
  padding:12px 14px;
  font-size:1rem;
  font-family:inherit;
  background:#f9fafb;
  outline:none;
  transition:border-color .15s ease,box-shadow .15s ease,transform .1s ease;
}

.field input:focus,
.field select:focus{
  border-color:#ec4899;
  box-shadow:0 0 0 2px rgba(236,72,153,0.35);
  transform:translateY(-1px);
}

/* FOOTER - CORREGIDO */
.site-footer{
  background:#020617;
  color:#e5e7eb;
  padding:40px 0 30px;
  margin-top:60px;
}

.footer-inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:14px;
}

.footer-logo{
  height:120px;
  margin-bottom:8px;
}

.footer-text{
  font-size:1rem;
  color:#cbd5f5;
  max-width: 400px;
}

.footer-social{
  display:flex;
  gap:16px;
  margin:12px 0 10px;
}

.footer-social a{
  width:38px;
  height:38px;
  border-radius:999px;
  background:#0b1120;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(148,163,184,0.6);
  transition:transform .15s ease,background .15s ease,border-color .15s ease;
}

.footer-social img{
  width:22px;
  height:22px;
  /* iconos blancos */
  filter: invert(1) brightness(1.5);
  transition: filter .15s ease, opacity .15s ease;
}

.footer-social a:hover{
  transform:translateY(-2px);
  background:#111827;
  border-color:#e5e7eb;
}

/* iconos un poco menos blancos en hover */
.footer-social a:hover img{
  filter: invert(1) brightness(1.1);
}

.footer-copy{
  font-size:0.85rem;
  color:#6b7280;
  margin-top: 10px;
}

/* WHATSAPP FLOAT */
.wa-float{
  position:fixed;
  right:20px;
  bottom:20px;
  width:60px;
  height:60px;
  border-radius:999px;
  background:linear-gradient(135deg,#25D366,#128C7E);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 18px 40px rgba(0,0,0,0.55);
  z-index:50;
}

.wa-float img{
  width:32px;
  height:32px;
}

/* RESPONSIVE - MEJORADO */
@media (max-width:900px){
  .two-column{
    grid-template-columns:1fr;
    gap: 40px;
  }
  
  .text-block {
    order: 1;
  }
  
  .image-block {
    order: 2;
  }
}

@media (max-width:768px){
  .hero{
    min-height:80vh;
    border-radius:0 0 24px 24px;
  }
  
  .hero-inner{
    padding:60px 16px 50px;
  }
  
  .hero h1{
    font-size:2rem;
  }
  
  .header-inner{
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  
  .nav-links{
    gap: 12px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
}

@media (max-width:640px){
  .header-inner{
    flex-direction: column;
    gap: 12px;
    padding: 16px 0;
  }
  
  .nav-links{
    justify-content: center;
    width: 100%;
  }
  
  .hero-actions{
    flex-direction:column;
    align-items:stretch;
    gap: 12px;
  }
  
  .ideal-grid{
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
  }
  
  .gallery-grid{
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
  }
  
  .steps-grid{
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width:480px){
  .hero{
    min-height:75vh;
  }
  
  .hero-inner{
    padding:50px 16px 40px;
  }
  
  .hero h1{
    font-size:1.8rem;
  }
  
  .hero-subtitle{
    font-size:1rem;
  }
  
  .nav-links{
    font-size: 0.85rem;
    gap: 10px;
  }
  
  .nav-cta{
    padding: 6px 14px;
    font-size: 0.85rem;
  }
  
  .section-title{
    font-size:1.6rem;
  }
  
  .section-lead{
    font-size:1rem;
  }
  
  .testimonials{
    grid-template-columns:1fr;
  }
}

/* NAV responsive – botón "Reservá fecha" */
@media (max-width: 768px) {
  .nav-primary {
    flex-direction: column;
    gap: 0.75rem;
  }

  .nav-links {
    gap: 1.2rem;
  }

  .nav-cta {
    margin-left: 0;
    align-self: flex-start;
  }
  @media (max-width: 768px){
  .site-header{
    position: static;
  }
}
.go-top{
  position:fixed;
  left:16px;         /* 👈 antes estaba right */
  right:auto;        /* por si hubiera herencia */
  bottom:16px;
  width:42px;
  height:42px;
  border-radius:999px;
  background:linear-gradient(135deg,#ec4899,#22c1c3);
  color:#0b1120;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.4rem;
  font-weight:700;
  box-shadow:0 12px 28px rgba(15,23,42,0.45);
  text-decoration:none;
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease, transform .2s ease;
  transform:translateY(10px);
  z-index:60;
}


/* Solo mostrar en mobile */
@media (max-width: 768px){
  .go-top.is-visible{
    opacity:1;
    pointer-events:auto;
    transform:translateY(0);
  }
}

}
