/* Tricot & Crochet — sitio público. Sin dependencias ni paso de build. */
:root {
  --crema: #f6f3ec;
  --papel: #ffffff;
  --borde: #e3ded1;
  --verde: #215e4e;
  --verde-oscuro: #1d3a32;
  --menta: #cdeeda;
  --terracota: #b0502f;
  --texto: #33413c;
  --suave: #6f7b73;
  --radio: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--crema);
  color: var(--texto);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--verde); }

.contenedor { width: min(1080px, 100% - 40px); margin-inline: auto; }

/* ---------- Encabezado ---------- */
.cabecera { padding: 18px 0; }
.cabecera .contenedor { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cabecera img { height: 46px; width: auto; }
.cabecera nav { display: flex; align-items: center; gap: 20px; font-weight: 600; font-size: 15px; }
.cabecera nav a { text-decoration: none; color: var(--suave); }
.cabecera nav a:hover { color: var(--verde); }
.idioma { border: 1px solid var(--borde); background: var(--papel); border-radius: 999px; padding: 6px 14px; }

/* ---------- Portada ---------- */
.portada { padding: 36px 0 72px; }
.portada .contenedor { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.etiqueta { display: inline-block; background: var(--menta); color: var(--verde-oscuro); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
h1 { font-size: clamp(36px, 5.4vw, 58px); line-height: 1.06; letter-spacing: -0.02em; color: var(--verde-oscuro); margin: 18px 0 16px; }
h1 em { font-style: normal; color: var(--terracota); }
.bajada { font-size: 19px; color: var(--suave); max-width: 34em; margin: 0 0 28px; }

.tiendas { display: flex; flex-wrap: wrap; gap: 12px; }
.tienda {
  display: flex; flex-direction: column; justify-content: center;
  min-width: 190px; padding: 12px 22px; border-radius: 14px;
  background: var(--verde-oscuro); color: #fff; text-decoration: none; line-height: 1.25;
}
.tienda small { font-size: 12px; opacity: 0.75; letter-spacing: 0.03em; }
.tienda strong { font-size: 19px; }
.tienda.pendiente { background: transparent; color: var(--verde-oscuro); border: 2px dashed #b9c2bb; cursor: default; }
.aviso { font-size: 14px; color: var(--suave); margin-top: 14px; }

/* ---------- Teléfonos ---------- */
.telefonos { position: relative; height: 560px; }
.telefono {
  position: absolute; width: 250px; border-radius: 38px; overflow: hidden;
  border: 9px solid #1c1f1e; background: #1c1f1e;
  box-shadow: 0 30px 60px -20px rgba(29, 58, 50, 0.45);
}
.telefono img { width: 100%; height: auto; border-radius: 28px; }
.telefono.a { left: 6%; top: 34px; transform: rotate(-5deg); }
.telefono.b { right: 4%; top: 0; transform: rotate(4deg); z-index: 2; }

/* ---------- Secciones ---------- */
section { padding: 64px 0; }
.blanca { background: var(--papel); border-block: 1px solid var(--borde); }
h2 { font-size: clamp(27px, 3.4vw, 38px); line-height: 1.15; letter-spacing: -0.015em; color: var(--verde-oscuro); margin: 0 0 12px; }
.intro { color: var(--suave); max-width: 40em; margin: 0 0 36px; font-size: 18px; }

.rejilla { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tarjeta { background: var(--crema); border: 1px solid var(--borde); border-radius: var(--radio); padding: 24px; }
.blanca .tarjeta { background: var(--crema); }
.tarjeta h3 { margin: 0 0 8px; font-size: 19px; color: var(--verde-oscuro); }
.tarjeta p { margin: 0; color: var(--suave); font-size: 16px; }
.punto { width: 40px; height: 40px; border-radius: 12px; background: var(--menta); display: grid; place-items: center; margin-bottom: 14px; font-size: 20px; }

.dos { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.dos .telefono { position: static; margin-inline: auto; transform: rotate(-2deg); }
.lista { list-style: none; padding: 0; margin: 20px 0 0; }
.lista li { padding-left: 30px; position: relative; margin-bottom: 12px; }
.lista li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 14px; border-radius: 4px; background: var(--terracota); }

.banderas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.bandera { background: var(--papel); border: 1px solid var(--borde); border-radius: 14px; padding: 12px 18px; font-size: 15px; }
.bandera b { display: block; color: var(--verde-oscuro); }

/* ---------- Texto largo (privacidad) ---------- */
.documento { width: min(760px, 100% - 40px); margin-inline: auto; padding: 24px 0 72px; }
.documento h1 { font-size: clamp(30px, 4.4vw, 42px); }
.documento h2 { font-size: 22px; margin-top: 36px; }
.documento p, .documento li { color: var(--texto); }
.documento .fecha { color: var(--suave); font-size: 15px; }
.documento table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 16px; }
.documento th, .documento td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--borde); }
.documento th { color: var(--verde-oscuro); }

/* ---------- Pie ---------- */
footer { padding: 36px 0 48px; color: var(--suave); font-size: 15px; }
footer .contenedor { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
footer a { color: var(--suave); }

@media (max-width: 860px) {
  .portada .contenedor, .dos { grid-template-columns: 1fr; }
  .rejilla { grid-template-columns: 1fr; }
  .telefonos { height: 470px; max-width: 420px; margin-inline: auto; width: 100%; }
  .telefono { width: 205px; }
  .cabecera nav a:not(.idioma) { display: none; }
  section { padding: 48px 0; }
}
