/* ==========================================================
   Baires Servicios – Landing Marca Blanca (mobile-first)
   Notas:
   - Comentarios en español para mantenimiento rápido.
   - Usamos 'clamp' para tipografías fluidas y paddings responsivos.
   - Breakpoints: 64rem (~1024px), 48rem (~768px), 30rem (~480px).
   ========================================================== */

/* Variables */
:root{
  --bg:#0B132B;
  --bg-2:#1C2541;
  --muted:#3A506B;
  --text:#111827;
  --text-muted:#6B7280;
  --light:#F5F7FA;
  --white:#ffffff;
  --accent:#FF9900; /* color institucional (naranja) */
  --success:#16A34A;
  --shadow:0 10px 30px rgba(0,0,0,.08);
  --radius:18px;

  /* Tipos fluidos (mejor lectura en mobile) */
  --fs-h1: clamp(1.8rem, 3.5vw + 1rem, 3rem);
  --fs-h2: clamp(1.4rem, 2.2vw + 1rem, 2.2rem);
  --fs-h3: clamp(1.1rem, 1.3vw + .8rem, 1.35rem);
  --fs-body: clamp(0.95rem, .5vw + .8rem, 1.05rem);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: 'Inter',system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,'Helvetica Neue',Arial,sans-serif;
  color:var(--text);
  background:var(--light);
  font-size: var(--fs-body);
  line-height:1.55;
}

/* Accesibilidad: enlace para saltar al contenido */
.skip{
  position:absolute; left:-9999px; top:-9999px;
}
.skip:focus{left:10px; top:10px; background:#fff; padding:8px 12px; border-radius:8px; z-index:999}

/* ============ CABECERA ============ */
.header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.95);
  backdrop-filter:saturate(180%) blur(6px);
  border-bottom:1px solid #e5e7eb;
}
.nav{
  max-width:1200px; margin:auto; display:flex; align-items:center; justify-content:space-between;
  padding:12px 16px;
}
.brand{display:flex; gap:10px; align-items:center; text-decoration:none; color:var(--bg); font-weight:800; letter-spacing:.2px}
.brand .dot{height:10px;width:10px;border-radius:999px;background:var(--accent)}
.brand .brand-text{white-space:nowrap;}

.menu{display:flex; align-items:center; gap:12px}
.menu a{padding:8px 10px; text-decoration:none; color:#334155; font-weight:600}
.cta{background:var(--bg); color:var(--white)!important; padding:10px 14px; border-radius:999px; text-decoration:none; font-weight:700}
.cta:hover{background:var(--bg-2)}

/* Botón hamburguesa para móviles */
.hamburger{
  display:none; background:transparent; border:0; padding:8px; cursor:pointer;
}
.hamburger .bar{display:block; width:24px; height:2px; background:#111827; margin:5px 0; border-radius:2px}

/* ----- Móvil: el menú se convierte en panel desplegable ----- */
@media (max-width: 64rem){
  .hamburger{display:block}
  .menu{position:fixed; inset:60px 12px auto 12px; background:#fff; border:1px solid #e5e7eb; box-shadow:var(--shadow);
        border-radius:14px; padding:10px; display:none; flex-direction:column; align-items:stretch; z-index:60}
  .menu a{padding:12px 10px}
  .menu.open{display:flex}
}

/* ============ HERO ============ */
.hero{
  background:linear-gradient(135deg,var(--bg),var(--bg-2));
  color:var(--white);
  padding: clamp(48px, 8vw, 90px) 16px;
}
.hero-grid{max-width:1200px; margin:auto; display:grid; grid-template-columns: 1fr; gap:18px; align-items:center}
/* Desktop: 2 columnas */
@media (min-width: 64rem){
  .hero-grid{grid-template-columns: 1.2fr .8fr; gap:30px;}
}
.hero h1{font-size:var(--fs-h1); line-height:1.15; margin:0 0 10px}
.hero p{opacity:.95}
.badges{display:flex; gap:10px; flex-wrap:wrap; margin-top:12px}
.badge{background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.25); padding:8px 12px; border-radius:999px; font-size:0.9em; display:flex; gap:8px; align-items:center}
.actions{margin-top:18px; display:flex; gap:10px; flex-wrap:wrap}

.hero-card{
  background:var(--white); color:var(--text);
  border-radius:var(--radius); box-shadow:var(--shadow);
  padding:16px;
  transform:none;
}
.stat{display:flex; gap:12px; align-items:center; margin:6px 0}
.stat b{font-size:1.1rem}

/* Botones */
.btn{
  background:var(--accent); color:#111827; font-weight:800; text-decoration:none;
  padding:12px 14px; border-radius:12px; display:inline-flex; align-items:center; gap:10px; border:0; cursor:pointer
}
.btn:hover{filter:brightness(.95)}
.btn.secondary{background:var(--white); border:1px solid #e5e7eb}

/* Secciones / Contenedor */
.section{padding: clamp(48px, 7vw, 70px) 16px}
.container{max-width:1200px; margin:auto}

.section-title{font-size:var(--fs-h2); margin:0 0 6px}
.kicker{color:var(--accent); font-weight:800; letter-spacing:.4px; text-transform:uppercase; font-size:.85rem}

/* ============ GRID DE SERVICIOS ============ */
.grid{
  display:grid;
  grid-template-columns: 1fr; /* móvil: 1 columna */
  gap:16px;
}
@media (min-width: 48rem){
  .grid{grid-template-columns: repeat(2, minmax(0,1fr)); gap:18px;}
}
@media (min-width: 64rem){
  .grid{grid-template-columns: repeat(3, minmax(0,1fr)); gap:22px;}
}

.card{
  background:var(--white);
  border:1px solid #eef2f7;
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow);
  transition:transform .2s ease, box-shadow .2s ease, opacity .5s ease, translate .5s ease;
  opacity:0; translate:0 10px;
}
.card.show{opacity:1; translate:0 0}
.card:hover{transform:translateY(-4px); box-shadow:0 14px 40px rgba(0,0,0,.08)}
.card .icon{
  height:42px; width:42px; border-radius:12px; display:grid; place-items:center;
  background:rgba(255,153,0,.12); color:var(--accent); font-size:20px; margin-bottom:10px
}
.card h3{margin:4px 0 6px; font-size:var(--fs-h3)}
.card p{margin:0; color:var(--text-muted)}

/* ============ DIFERENCIALES ============ */
.split{display:grid; grid-template-columns: 1fr; gap:18px; align-items:center}
@media (min-width: 64rem){
  .split{grid-template-columns:1.1fr .9fr; gap:28px;}
}
.list{display:grid; gap:12px}
.list .item{display:flex; gap:10px; align-items:flex-start}
.list .item i{color:var(--success); margin-top:3px}

/* CTA stripe */
.stripe{background:var(--bg); color:var(--white); border-radius:20px; padding:18px; display:flex; flex-direction:column; align-items:flex-start; gap:10px}
@media (min-width: 48rem){
  .stripe{flex-direction:row; align-items:center; justify-content:space-between; padding:22px}
}
.stripe-title{margin:6px 0 6px}
.stripe-sub{margin:0; color:#d1d5db}

/* Cómo funciona */
.soft-bg{background:linear-gradient(0deg,#fff, #f7fafc)}
.steps{display:grid; grid-template-columns: 1fr; gap:14px}
@media (min-width: 48rem){ .steps{grid-template-columns:repeat(3,1fr); gap:18px} }
.step{background:var(--white); border:1px solid #eef2f7; border-radius:var(--radius); padding:18px; box-shadow:var(--shadow)}
.step h4{margin:8px 0}

/* Formulario */
.form{
  background:var(--white); border:1px solid #eef2f7; border-radius:var(--radius); padding:18px; box-shadow:var(--shadow);
}
.form .row{display:grid; grid-template-columns:1fr; gap:12px}
@media (min-width: 48rem){ .form .row{grid-template-columns:1fr 1fr; gap:14px} }
.form label{display:block; font-weight:600; margin:10px 0 6px}
.form input,.form select,.form textarea{
  width:100%; padding:12px 14px; border:1px solid #e5e7eb; border-radius:10px; outline:none;
}
.form textarea{min-height:120px; resize:vertical}
.chips{display:flex; flex-wrap:wrap; gap:10px; margin:6px 0 12px}
.chip{border:1px solid #e5e7eb;padding:8px 12px;border-radius:999px;cursor:pointer; user-select:none}
.chip input{display:none}
.chip.on, .chip:has(input:checked){background:#111827; color:#fff; border-color:#111827}
.actions-inline{display:flex; gap:12px; align-items:center; flex-wrap:wrap}
.help{font-size:.9em; color:#64748b}
.notice{background:#fff7ed; border:1px solid #fed7aa; padding:10px 12px; border-radius:10px; font-size:.95em}
.divider{border:none;height:1px;background:#eee;margin:16px 0}

/* Footer */
.footer{padding:40px 16px; color:#475569}
.cols{display:grid; grid-template-columns: 1fr; gap:16px}
@media (min-width: 48rem){ .cols{grid-template-columns:2fr 1fr 1fr; gap:22px} }
.social a{margin-right:10px; color:#475569; text-decoration:none}
.list-flat{list-style:none;padding:0;margin:8px 0;line-height:1.9}

/* WhatsApp flotante */
.whatsapp{
  position:fixed; right:16px; bottom:16px; background:#25D366; color:#fff; height:54px; width:54px; border-radius:999px; display:grid; place-items:center; box-shadow:var(--shadow); z-index:60
}

/* Preferencia de usuario: reducir movimiento -> desactivar animaciones */
@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto}
  .card{transition:none; opacity:1; translate:0 0}
}

/* Pequeños helpers */
.accent{color:var(--accent)}
img{max-width:100%; height:auto;}
