/* ====================================================================
   CADEL - D Y Z INDUMENTARIA
   Idea: la tela de trabajo. El inicio es lona color grafa con una
   etiqueta azul cosida (puntada naranja), como la de un pantalón Pampero.
   El resto es sobrio: azul de trabajo, blanco y el verde del logo.
   ==================================================================== */
:root {
  --lona: #C8B68E;
  --lona-oscura: #B3A077;
  --azul: #26405F;
  --azul-oscuro: #1C3049;
  --verde: #1B8A3D;
  --hilo: #E07B1E;
  --blanco: #FFFFFF;
  --crudo: #F4F1EA;
  --tinta: #1E2530;
  --gris: #59606B;
  --wa: #25D366;

  --fuente-display: "Zilla Slab", Georgia, serif;
  --fuente: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body { font-family: var(--fuente); background: var(--blanco); color: var(--tinta); line-height: 1.55; font-size: 1.0625rem; }
a { color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--hilo); outline-offset: 3px; }

.contenedor { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 1.1rem; }

.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0.7rem 1.3rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 3px;
}
.boton-wa { background: var(--wa); color: #0B2915; }
.boton-wa:hover { background: #1FB855; }
.boton-contorno { border-color: var(--blanco); color: var(--blanco); }
.boton-contorno:hover { background: rgba(255, 255, 255, 0.1); }
.boton-contorno-oscuro { border-color: var(--azul); color: var(--azul); margin-top: 0.8rem; }
.boton-contorno-oscuro:hover { background: var(--crudo); }
.boton-ancho { width: 100%; }

/* Cabecera */
.cabecera { background: var(--blanco); border-bottom: 1px solid #E4E0D6; }
.cabecera-fila { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.marca img { height: 50px; width: auto; }
.cabecera-tel { font-weight: 600; text-decoration: none; color: var(--azul); white-space: nowrap; }

/* ====================================================================
   LONA + ETIQUETA COSIDA
   ==================================================================== */
.inicio {
  padding: 2.2rem 0 3rem;
  /* Trama de lona: dos diagonales finas cruzadas */
  background-color: var(--lona);
  background-image:
    repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.05) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 5px);
}
.etiqueta-cosida {
  position: relative;
  max-width: 680px;
  background: var(--azul);
  color: var(--blanco);
  padding: 2rem 1.4rem 1.8rem;
  box-shadow: 0 2px 0 var(--azul-oscuro), 0 14px 30px rgba(30, 37, 48, 0.25);
}
/* La costura naranja, a unos milímetros del borde */
.etiqueta-cosida::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 2px dashed var(--hilo);
  pointer-events: none;
}
.etiqueta { font-family: var(--fuente-display); font-weight: 600; font-size: 1.1rem; color: #F3C79C; margin-bottom: 0.4rem; }
.inicio h1 {
  font-family: var(--fuente-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 10vw, 4.6rem);
  line-height: 0.98;
}
.bajada { max-width: 42ch; color: #D6DEE8; margin: 1rem 0 1.5rem; }
.acciones { position: relative; display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (min-width: 760px) {
  .inicio { padding: 4rem 0 4.5rem; }
  .etiqueta-cosida { padding: 3rem 3rem 2.6rem; transform: rotate(-1deg); }
}
@media (prefers-reduced-motion: reduce) { .etiqueta-cosida { transform: none; } }

/* ====================================================================
   PEDIDO PARA EMPRESAS
   ==================================================================== */
h2 { font-family: var(--fuente-display); font-weight: 700; font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1.05; color: var(--azul); }
.pedido { padding: 3.4rem 0; }
.pedido-grilla { display: grid; gap: 1.6rem; }
.pedido-bajada { color: var(--gris); max-width: 36ch; margin-top: 0.6rem; }
.pedido-form { display: grid; gap: 1.3rem; }
fieldset { border: 0; }
legend, .campo span { font-weight: 600; margin-bottom: 0.5rem; }
.opciones { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.opcion { position: relative; cursor: pointer; }
.opcion input { position: absolute; opacity: 0; }
.opcion span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 1rem;
  border: 1.5px solid #C9C4B8;
  border-radius: 3px;
  background: var(--crudo);
}
.opcion input:checked + span { background: var(--azul); border-color: var(--azul); color: var(--blanco); }
.opcion input:focus-visible + span { outline: 3px solid var(--hilo); outline-offset: 2px; }
.campo { display: grid; gap: 0.3rem; }
.campo input { font: inherit; min-height: 48px; padding: 0.5rem 0.8rem; border: 1.5px solid #C9C4B8; border-radius: 3px; width: 100%; }
@media (min-width: 900px) { .pedido { padding: 4.5rem 0; } .pedido-grilla { grid-template-columns: 1fr 1.5fr; gap: 4rem; } }

/* ====================================================================
   LÍNEAS + PAMPERO
   ==================================================================== */
.lineas { background: var(--crudo); padding: 3.4rem 0; }
.lineas-grilla { display: grid; gap: 2rem; }
.lineas h2 { margin-bottom: 1rem; }
.lineas-lista li { padding: 1rem 0; border-top: 2px dashed #D3CCBC; }
.lineas-lista h3 { font-family: var(--fuente-display); font-size: 1.35rem; color: var(--azul); }
.lineas-lista p { color: var(--gris); }
.pampero { align-self: start; background: var(--verde); color: var(--blanco); padding: 1.6rem; }
.pampero h3 { font-family: var(--fuente-display); font-size: 1.6rem; margin-bottom: 0.5rem; }
.pampero p { color: #DDF0E2; }
@media (min-width: 900px) { .lineas-grilla { grid-template-columns: 1.5fr 1fr; gap: 4rem; } .pampero { margin-top: 3.6rem; } }

/* ====================================================================
   UBICACIÓN Y PIE
   ==================================================================== */
.ubicacion { padding: 3.2rem 0; }
.ubicacion-fila { display: grid; gap: 1.6rem; align-items: center; }
.ubicacion h2 { margin-bottom: 0.6rem; }
.ubicacion p { color: var(--gris); margin-bottom: 0.4rem; }
.ubicacion p a { color: var(--tinta); text-underline-offset: 4px; }
#mapa-iframe { width: 100%; height: 300px; border: 0; background: var(--crudo); }
@media (min-width: 860px) { .ubicacion-fila { grid-template-columns: 1fr 1.3fr; gap: 3rem; } #mapa-iframe { height: 340px; } }

.pie { background: var(--azul-oscuro); color: #B8C4D3; padding: 2rem 0 6rem; font-size: 0.92rem; }
.pie p + p { margin-top: 0.3rem; }
.demo-aviso { font-style: italic; }
.credito a { color: var(--blanco); font-weight: 600; }

.flotante {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem;
  background: var(--wa);
  color: #0B2915;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.flotante span { display: none; }
@media (min-width: 640px) { .flotante { padding: 0.85rem 1.25rem; } .flotante span { display: inline; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
