/* Procochil · base común a todas las páginas */
:root {
  --azul: #14425B;
  --azul-hondo: #0B2A3B;
  --azul-noche: #071B26;
  --naranjo: #E08B36;
  --naranjo-hondo: #CD6E2B;
  --celeste: #BEE6F7;
  --hueso: #F6F1EA;
  --tinta: #10232E;
  --gris: #5C6B74;
  --linea: rgba(20, 66, 91, .14);
  --titular: "Barlow Condensed", "Arial Narrow", sans-serif;
  --texto: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ancho: 1180px;
  --margen: clamp(16px, 4vw, 48px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--hueso);
  color: var(--tinta);
  font-family: var(--texto);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titular); font-weight: 700; line-height: 1.02; margin: 0; letter-spacing: .005em; }

/* Barra superior */
.barra {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px var(--margen);
  background: linear-gradient(rgba(7, 27, 38, .55), rgba(7, 27, 38, 0));
  transition: background .35s ease, box-shadow .35s ease;
}
.barra--solida { background: rgba(246, 241, 234, .96); box-shadow: 0 1px 0 var(--linea); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.barra__marca { display: inline-flex; background: #fff; border-radius: 10px; padding: 6px 8px; box-shadow: 0 4px 18px rgba(0,0,0,.12); }
.barra__marca img { height: 44px; width: auto; }
.barra__nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.barra__nav > a:not(.boton) {
  color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: .04em; text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0,0,0,.35);
}
.barra--solida .barra__nav > a:not(.boton) { color: var(--azul); text-shadow: none; }
.barra__nav > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--naranjo); }

/* Botón */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  background: var(--naranjo); color: #fff; text-decoration: none;
  font-family: var(--titular); font-weight: 700; font-size: 22px; letter-spacing: .04em; text-transform: uppercase;
  padding: 16px 34px; border-radius: 4px;
  box-shadow: 0 10px 24px rgba(205, 110, 43, .35);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.boton::before {
  content: ""; width: 1.05em; height: 1.05em; flex: none;
  background: currentColor;
  -webkit-mask: url("../assets/marca/whatsapp.svg") center / contain no-repeat;
          mask: url("../assets/marca/whatsapp.svg") center / contain no-repeat;
}
.boton:hover { background: var(--naranjo-hondo); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(205, 110, 43, .45); }
.boton:focus-visible { outline: 3px solid var(--celeste); outline-offset: 3px; }
.boton--chico { font-size: 17px; padding: 10px 18px; box-shadow: none; }

/* Pie */
.pie {
  background: var(--azul-noche); color: rgba(255,255,255,.82);
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px;
  padding: 64px max(var(--margen), calc((100% - var(--ancho)) / 2)) 28px;
  font-size: 15px;
}
.pie h3 { color: #fff; font-size: 20px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }
.pie a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(224, 139, 54, .6); }
.pie a:hover { color: var(--naranjo); }
.pie p { margin: 0 0 12px; }
.pie__marca img { background: #fff; border-radius: 10px; padding: 10px; width: 136px; height: auto; margin-bottom: 16px; }
.pie__horario { color: rgba(255,255,255,.6); }
.pie__legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; margin-top: 12px; color: rgba(255,255,255,.45); font-size: 13px; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .barra__marca img { height: 36px; }
  .barra__nav > a:not(.boton):not([aria-current]) { font-size: 14px; }
  .barra__nav > a[href="./"], .barra__nav > a[href="../"] { display: none; }
  .boton--chico { font-size: 15px; padding: 9px 14px; }
  .pie { grid-template-columns: 1fr; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
