/* ===========================
   Estilos generales del sitio
   Archivo: styles.css
   =========================== */

:root{
  --brand-dark:#0b1220;
  --brand-dark-2:#101b33;
  --brand-accent:#ffb300; /* amarillo */
  --brand-gray:#f4f6fb;
  --text:#1f2937;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
}

/* Compensa el navbar fixed para que los anchors no queden tapados */
section[id], header[id]{
  scroll-margin-top: 90px;
}

/* ===========================
   Navbar
   =========================== */

.navbar{
  background: rgba(11,18,32,.92);
  backdrop-filter: blur(10px);
}

.navbar .nav-link{ color:#dbe3ff; }
.navbar .nav-link:hover{ color:#ffffff; }

.brand-dot{
  color: var(--brand-accent);
  margin-right: .35rem;
}

/* ===========================
   Botones
   =========================== */

.btn-accent{
  background: var(--brand-accent);
  border: none;
  color: #111827;
  font-weight: 700;
}

.btn-accent:hover{ filter: brightness(.95); }

.btn-outline-light:hover{ color:#0b1220; }

/* ===========================
   Utilidades de texto
   =========================== */

.text-accent{ color: var(--brand-accent); }

.text-hero-muted{
  color: rgba(255,255,255,.82);
}

/* ===========================
   Hero
   =========================== */

.hero{
  background:
    radial-gradient(80% 80% at 20% 20%, rgba(255,179,0,.18), transparent 60%),
    linear-gradient(180deg, var(--brand-dark), var(--brand-dark-2));
  color: white;
  padding-top: 6.5rem;
  padding-bottom: 7rem; /* 👈 más espacio para que la trustbar “caiga” encima */
  position: relative;
  overflow: hidden;
}

.hero-card{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 1.25rem;
  padding: 1.25rem;
}

.badge-soft{
  background: rgba(255,179,0,.16);
  color: #ffd27a;
  border: 1px solid rgba(255,179,0,.35);
  padding: .45rem .75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .85rem;
  display: inline-flex;
  gap: .5rem;
  align-items: center;
}

.hero-mini{
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.hero-mini-item{
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  padding: .45rem .7rem;
  border-radius: 999px;
  font-size: .9rem;
  color: rgba(255,255,255,.9);
}

.hero-divider{
  border-color: rgba(255,255,255,.18);
  margin: 1rem 0;
}

/* ===========================
   Barra de confianza (TRUSTBAR)
   =========================== */

.trustbar{
  margin-top: -3.5rem;   /* 👈 sube más para “tapar” el fondo oscuro del hero */
  background: #ffffff;   /* 👈 clave: elimina la franja oscura debajo */
  position: relative;
  z-index: 5;
  padding-bottom: 2rem;
}

.trust-card{
  background: white;
  border-radius: 1.25rem;
  border: 1px solid #e9ecf5;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  padding: 1rem 1.1rem;
  height: 100%;
  display: flex;
  gap: .75rem;
  align-items: center;
}

.trust-icon{
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255,179,0,.18);
  border: 1px solid rgba(255,179,0,.35);
  font-weight: 800;
}

/* ===========================
   Secciones
   =========================== */

.section{
  padding: 4rem 0;
}

.section-alt{
  background: var(--brand-gray);
}

.section-title{
  margin-bottom: 1.25rem;
}

/* ===========================
   Cards “soft” (Servicios / etc.)
   =========================== */

.soft-card{
  border: 1px solid #e9ecf5;
  border-radius: 1.25rem;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
  transition: transform .18s ease, box-shadow .18s ease;
}

.soft-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(0,0,0,.08);
}

.service-icon{
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255,179,0,.18);
  border: 1px solid rgba(255,179,0,.35);
  font-weight: 800;
  margin-bottom: .75rem;
}

/* ===========================
   Steps (Cómo trabajamos)
   =========================== */

.step-card{
  background: #ffffff;
  border: 1px solid #e9ecf5;
  border-radius: 1.25rem;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
  padding: 1.25rem;
  height: 100%;
}

.step-num{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  font-weight: 800;
  background: rgba(255,179,0,.18);
  border: 1px solid rgba(255,179,0,.35);
  margin-bottom: .75rem;
}

/* ===========================
   Galería (thumbs placeholder)
   =========================== */

.gallery-thumb{
  height: 220px;
  border-radius: 1.25rem;
  border: 1px solid #e9ecf5;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  background: linear-gradient(135deg, #e9ecf5, #f7f8fc);
  display: grid;
  place-items: center;
  color: #374151;
  font-weight: 700;
  text-align: center;
  padding: 1rem;
}

/* Si luego usás imágenes reales */
.gallery-img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 1.25rem;
  border: 1px solid #e9ecf5;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  transition: transform .18s ease;
}

.gallery-img:hover{
  transform: scale(1.01);
}

/* ===========================
   Testimonios
   =========================== */

.testimonial-card{
  background: #ffffff;
  border: 1px solid #e9ecf5;
  border-radius: 1.25rem;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
  padding: 1.25rem;
  height: 100%;
}

.stars{
  color: #f59e0b;
  letter-spacing: 1px;
}

/* ===========================
   Contacto
   =========================== */

.contact-card{
  background: #ffffff;
  border: 1px solid #e9ecf5;
  border-radius: 1.25rem;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
  padding: 1.25rem;
  height: 100%;
}

.form-hint{ opacity: .9; }

/* ===========================
   Footer
   =========================== */

.footer{
  background: var(--brand-dark);
  color: #dbe3ff;
  padding: 2.5rem 0;
}

.text-footer{ color: #dbe3ff; }

/* ===========================
   WhatsApp flotante
   =========================== */

.whatsapp-float{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  background: #25D366;
  color: #ffffff;
  font-weight: 800;
  padding: .85rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

.whatsapp-float:hover{
  filter: brightness(.95);
  color: #ffffff;
}

/* ===========================
   Responsive ajustes
   =========================== */

@media (max-width: 991.98px){
  .hero{ padding-top: 5.5rem; }
  .gallery-thumb, .gallery-img{ height: 200px; }
  .trustbar{ margin-top: -2.75rem; }
}

@media (max-width: 575.98px){
  .hero{
    padding-top: 5.25rem;
    padding-bottom: 6.25rem;
  }
  .gallery-thumb, .gallery-img{ height: 180px; }
  .trustbar{ margin-top: -2.25rem; }
}
