/* ROCCO · estilos del sitio (sin librerías externas) */
:root {
  --tinta: #14110e;
  --cafe: #8b5a2b;
  --cafe-osc: #6d4520;
  --cafe-claro: #c9a678;
  --crema: #faf7f2;
  --gris: #6b7280;
  --borde: #e6e1d8;
  --blanco: #ffffff;
  --wa: #25d366;
  --sombra: 0 10px 30px rgba(20, 17, 14, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--tinta); background: var(--blanco);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--cafe-osc); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
.contenedor { width: min(1140px, 92%); margin: 0 auto; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .72em 1.25em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; text-decoration: none; cursor: pointer; transition: .18s; font-size: .95rem;
}
.btn-grande { padding: .95em 1.7em; font-size: 1.03rem; }
.btn-cafe { background: var(--cafe); color: #fff; }
.btn-cafe:hover { background: var(--cafe-osc); transform: translateY(-1px); }
.btn-wa { background: var(--wa); color: #06301a; }
.btn-wa:hover { filter: brightness(.95); }
.btn-borde { border-color: var(--tinta); color: var(--tinta); background: transparent; }
.btn-borde:hover { background: var(--tinta); color: #fff; }

/* ---------- encabezado ---------- */
.encabezado {
  position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--borde);
}
.encabezado .fila { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.marca img { display: block; }
.menu { display: flex; align-items: center; gap: 1.15rem; }
.menu a { text-decoration: none; color: var(--tinta); font-weight: 600; font-size: .95rem; }
.menu a:not(.btn):hover { color: var(--cafe); }
.menu .btn { padding: .6em 1.05em; border-radius: 10px; font-size: .9rem; }
.hamburguesa { display: none; background: none; border: 0; font-size: 1.7rem; cursor: pointer; color: var(--tinta); }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--crema) 0%, #fff 62%), var(--crema);
  padding: clamp(2.6rem, 7vw, 5rem) 0 clamp(2.2rem, 5vw, 4rem);
  border-bottom: 1px solid var(--borde);
}
.etiqueta {
  display: inline-block; background: var(--tinta); color: #fff; font-size: .76rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; padding: .45em 1em; border-radius: 999px; margin-bottom: 1rem;
}
.hero h1 { max-width: 20ch; }
.entrada { font-size: clamp(1.02rem, 1.5vw, 1.19rem); color: #3f3a34; max-width: 62ch; }
.acciones { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.8rem; }
.sellos { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; padding: 0; margin: 0; color: #4b453e; font-weight: 600; font-size: .95rem; }

/* ---------- secciones ---------- */
.seccion { padding: clamp(2.4rem, 5vw, 4rem) 0; }
.seccion.gris { background: var(--crema); border-top: 1px solid var(--borde); border-bottom: 1px solid var(--borde); }
.titulo { margin-bottom: .3em; }
.sub { color: var(--gris); max-width: 68ch; margin-bottom: 1.8rem; }
.reja { display: grid; gap: 1.1rem; }
.reja-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.reja-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.tarjeta, .mini {
  background: #fff; border: 1px solid var(--borde); border-radius: 16px; padding: 1.3rem 1.35rem;
  box-shadow: var(--sombra); position: relative; transition: .18s;
}
.tarjeta:hover, .mini:hover { transform: translateY(-3px); }
.tarjeta p, .mini p { margin: 0; color: #4b453e; font-size: .96rem; }
.tarjeta.oferta { border-color: var(--cafe-claro); }
.cinta {
  position: absolute; top: -12px; left: 18px; background: var(--cafe); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: .3em .8em; border-radius: 999px;
}
.mini h3 { display: flex; gap: .45em; }
.pasos article { background: #fff; border: 1px solid var(--borde); border-radius: 16px; padding: 1.3rem; box-shadow: var(--sombra); }
.paso {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--tinta); color: #fff; font-weight: 800; margin-bottom: .7rem;
}
.dos { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.2rem; align-items: start; }
.lista { list-style: none; padding: 0; margin: 0; }
.lista li { padding: .6rem 0 .6rem 1.7rem; position: relative; border-bottom: 1px dashed var(--borde); }
.lista li:before { content: "✔"; position: absolute; left: 0; color: var(--cafe); font-weight: 800; }
.panel-datos { display: grid; gap: .9rem; }
.panel-datos > div {
  background: var(--tinta); color: #fff; border-radius: 16px; padding: 1.1rem 1.25rem;
}
.panel-datos b { display: block; font-size: 1.25rem; }
.panel-datos span { color: #d8d2ca; font-size: .93rem; }
details { background: #fff; border: 1px solid var(--borde); border-radius: 12px; padding: .85rem 1.1rem; margin-bottom: .7rem; }
details summary { font-weight: 700; cursor: pointer; }
details p { margin: .7rem 0 0; color: #4b453e; }

/* ---------- cotizador ---------- */
.cotiza { background: var(--tinta); color: #fff; }
.cotiza .titulo, .cotiza .sub { color: #fff; }
.cotiza .sub { color: #cfc8c0; }
.cotiza .dato { margin: 0 0 .9rem; }
.cotiza .dato b { display: block; color: var(--cafe-claro); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }
.cotiza .dato a { color: #fff; font-size: 1.12rem; font-weight: 700; }
.formulario { background: #fff; color: var(--tinta); border-radius: 18px; padding: 1.5rem; box-shadow: 0 18px 50px rgba(0, 0, 0, .3); }
.campo { margin-bottom: .95rem; }
.fila2 { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
label { display: block; font-weight: 700; font-size: .87rem; margin-bottom: .35rem; }
input, select, textarea {
  width: 100%; padding: .7em .85em; border: 1.5px solid var(--borde); border-radius: 10px;
  font: inherit; font-size: .96rem; background: #fff; color: var(--tinta);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cafe); box-shadow: 0 0 0 3px rgba(139, 90, 43, .14); }
textarea { resize: vertical; }
.aviso-check { display: flex; gap: .55rem; align-items: flex-start; font-weight: 500; font-size: .88rem; margin: .6rem 0 1rem; }
.aviso-check input { width: auto; margin-top: .25rem; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.formulario .btn { width: 100%; }
.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; border-radius: 10px; padding: .75rem .9rem; font-size: .9rem; margin: .8rem 0 0; }
.exito { background: #fff; color: var(--tinta); border-radius: 18px; padding: 1.6rem; box-shadow: 0 18px 50px rgba(0, 0, 0, .3); }
.exito h3 { color: #15803d; }
.exito #folio { font-family: ui-monospace, monospace; }

/* ---------- pie ---------- */
.pie { background: var(--tinta); color: #cfc8c0; padding: 2.6rem 0 1.4rem; }
.pie .tres { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.6rem; }
.pie h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; }
.pie a { color: #fff; }
.pie p { font-size: .93rem; }
.legal { text-align: center; font-size: .82rem; color: #8a837b; margin: 1.6rem 0 0; border-top: 1px solid #2a251f; padding-top: 1.1rem; }

/* ---------- whatsapp flotante ---------- */
.wa-flotante {
  position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #06301a; display: grid; place-items: center; box-shadow: 0 12px 28px rgba(0, 0, 0, .25);
}
.wa-flotante:hover { filter: brightness(.95); }

/* ---------- móvil ---------- */
@media (max-width: 860px) {
  .hamburguesa { display: block; }
  .menu {
    position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column;
    align-items: stretch; gap: .2rem; padding: 1rem 6%; border-bottom: 1px solid var(--borde); display: none;
  }
  .menu.abierto { display: flex; }
  .menu a { padding: .6rem 0; }
  .menu .btn { padding: .8em 1em; }
  .dos { grid-template-columns: 1fr; }
  .fila2 { grid-template-columns: 1fr; }
  .sellos { gap: .4rem 1rem; font-size: .9rem; }
}
@media (max-width: 430px) {
  .acciones .btn { width: 100%; }
  .formulario { padding: 1.15rem; }
}
