/* Páginas provisionales de repromaster.com. Mismos colores y letras que la web nueva
   (web/app/globals.css): turquesa de marca, Barlow para el texto y Barlow Condensed para los
   títulos, servidas desde la propia web (ninguna petición a Google desde el navegador). */

@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("fuentes/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("fuentes/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("fuentes/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("fuentes/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("fuentes/barlow-condensed-700.woff2") format("woff2"); }

:root {
  /* #3BA6AC solo como acento (2,90:1 contra blanco); #2C7B80 para texto y botones (4,94:1) */
  --turquesa: #3BA6AC;
  --turquesa-oscuro: #2C7B80;
  --turquesa-claro: #EAF5F6;
  --ink: #14171A;
  --muted: #5B5F66;
  --mist: #F5F6F6;
  --line: rgba(20, 23, 26, 0.10);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-x: none;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--turquesa-oscuro); text-underline-offset: 3px; transition: color .2s var(--ease); }
a:hover { color: var(--ink); }
a:focus-visible { outline: 2px solid var(--turquesa-oscuro); outline-offset: 3px; border-radius: 4px; }

.ancho { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .ancho { padding: 0 32px; } }

/* Cabecera */
.cabecera { border-bottom: 1px solid var(--line); }
.cabecera-fila { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 14px; }
.logo img { height: 40px; width: auto; }
@media (min-width: 768px) { .logo img { height: 46px; } }

.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 44px; padding: 0 20px; border-radius: 999px;
  background: var(--turquesa-oscuro); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 1rem; white-space: nowrap;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.boton:hover { background: var(--ink); color: #fff; }
.boton:active { transform: scale(.98); }
.boton-num { display: none; }
@media (min-width: 560px) { .boton-num { display: inline; } }

.menu { display: flex; flex-wrap: wrap; gap: 4px 22px; padding-bottom: 14px; }
.menu a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .98rem; padding: 4px 0; border-bottom: 2px solid transparent; transition: color .2s var(--ease), border-color .2s var(--ease); }
.menu a:hover { color: var(--ink); }
.menu a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--turquesa); }

/* Aviso de renovación */
.aviso { background: var(--turquesa-claro); border-bottom: 1px solid rgba(44, 123, 128, .18); }
.aviso-fila { display: flex; align-items: flex-start; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.aviso p { margin: 0; color: #1F4F52; font-size: 1rem; line-height: 1.55; }
.aviso-punto { flex: none; width: 9px; height: 9px; margin-top: .55em; border-radius: 50%; background: var(--turquesa-oscuro); }

/* Contenido */
.principal { display: grid; gap: 40px; padding-top: 48px; padding-bottom: 72px; }
@media (min-width: 900px) { .principal { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; padding-top: 72px; padding-bottom: 96px; align-items: start; } }

.texto { max-width: 680px; }
.texto h1 {
  font-family: "Barlow Condensed", system-ui, sans-serif; font-weight: 700;
  font-size: clamp(2.1rem, 6vw, 3.4rem); line-height: 1.04; letter-spacing: -0.02em;
  margin: 0 0 24px; text-wrap: balance;
}
.texto h2 { font-family: "Barlow Condensed", system-ui, sans-serif; font-weight: 600; font-size: 1.6rem; line-height: 1.15; margin: 40px 0 14px; }
.texto p { margin: 0 0 18px; color: #2B2F34; }

.servicios { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.servicios li { padding: 11px 0 11px 22px; border-bottom: 1px solid var(--line); position: relative; }
.servicios li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 8px; height: 8px; border-radius: 2px; background: var(--turquesa); }

/* Ficha de contacto */
.ficha { background: var(--mist); border-radius: 24px; padding: 28px 24px; }
@media (min-width: 900px) { .ficha { position: sticky; top: 24px; } }
.ficha h2 { font-family: "Barlow Condensed", system-ui, sans-serif; font-weight: 700; font-size: 1.7rem; line-height: 1.1; margin: 0 0 18px; }
.ficha-datos { list-style: none; margin: 0 0 22px; padding: 0; }
.ficha-datos li { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); }
.ficha-datos li:first-child { border-top: 0; padding-top: 0; }
.ficha-datos a { font-weight: 600; font-size: 1.1rem; text-decoration: none; word-break: break-word; }
.ficha-datos a:hover { text-decoration: underline; }
.ficha-etiqueta { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.boton-ancho { width: 100%; }

/* Pie */
.pie { border-top: 1px solid var(--line); }
.pie-fila { display: flex; flex-direction: column; gap: 6px; padding-top: 24px; padding-bottom: 32px; color: var(--muted); font-size: .92rem; }
.pie-fila p { margin: 0; }
.pie-fila a { color: inherit; }
@media (min-width: 768px) { .pie-fila { flex-direction: row; justify-content: space-between; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Pie: todas las páginas */
.pie-paginas { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 28px; padding-bottom: 20px;
  /* raya de abajo solo bajo el contenido, no bajo los márgenes laterales de .ancho */
  background: linear-gradient(var(--line), var(--line)) bottom center / calc(100% - 32px) 1px no-repeat; }
@media (min-width: 768px) { .pie-paginas { background-size: calc(100% - 64px) 1px; } }
.pie-paginas a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 4px 0; transition: color .2s var(--ease); }
.pie-paginas a:hover, .pie-paginas a[aria-current="page"] { color: var(--ink); }
