:root {
  --amarillo: #E9C83A;
  --tinta: #161616;
  --papel: #F4F1EC;
  --gris: #9C9C9C;
  --condensada: 'Archivo', 'Arial Narrow', sans-serif;
  --serif: 'Libre Caslon Display', Georgia, serif;
  --texto: 'Schibsted Grotesk', system-ui, sans-serif;
  --margen: clamp(16px, 3.4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--tinta); color: var(--tinta); font-family: var(--texto); -webkit-font-smoothing: antialiased; }
a { color: inherit; }

/* Portada */
.portada { background: var(--amarillo); min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.cabecera { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px var(--margen); }
.logo, .pie__logo { font-family: var(--condensada); font-stretch: 62%; font-weight: 900; text-transform: uppercase; line-height: 0.85; text-decoration: none; }
.logo { font-size: 30px; }
.menu { display: flex; gap: 44px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.menu a { text-decoration: none; }
.menu a:hover, .menu a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.boton-caja { background: var(--tinta); color: var(--amarillo); padding: 8px 12px; font-family: var(--condensada); font-stretch: 62%; font-weight: 900; font-size: 20px; text-transform: uppercase; text-decoration: none; }
.boton-caja:hover { background: #000; }

.portada__cuerpo { flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: 40px var(--margen) 48px; }
.titular { margin: 0; max-width: 1250px; font-family: var(--condensada); font-stretch: 62%; font-weight: 900; font-size: clamp(64px, 10.5vw, 158px); line-height: 0.86; letter-spacing: -0.01em; text-transform: uppercase; }
.serif { font-family: var(--serif); font-weight: 400; text-transform: none; letter-spacing: -0.02em; }
.servicios { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 40px; font-family: var(--condensada); font-stretch: 62%; font-weight: 600; font-size: 22px; text-transform: uppercase; }

/* Frase */
.frase { padding: clamp(96px, 14vw, 180px) var(--margen); display: flex; justify-content: center; }
.frase p { margin: 0; max-width: 760px; text-align: center; font-size: clamp(21px, 2.2vw, 26px); line-height: 1.4; color: var(--amarillo); }

/* Qué hacemos */
.que { background: var(--papel); padding: clamp(80px, 11vw, 140px) var(--margen); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px 24px; }
.palabras { grid-column: span 7; margin: 0; display: flex; flex-direction: column; font-family: var(--condensada); font-stretch: 62%; font-weight: 900; font-size: clamp(64px, 8vw, 120px); line-height: 0.88; text-transform: uppercase; }
.contorno { color: transparent; -webkit-text-stroke: 1.5px var(--tinta); }
.que__texto { grid-column: span 5; align-self: center; display: flex; flex-direction: column; gap: 18px; font-size: 19px; line-height: 1.5; }
.que__texto p { margin: 0; }

/* Hablemos */
.hablemos { background: var(--amarillo); padding: clamp(80px, 10vw, 120px) var(--margen) clamp(96px, 11vw, 140px); }
.hablemos a { font-family: var(--serif); font-size: clamp(64px, 9vw, 140px); line-height: 1; text-decoration: none; }
.hablemos a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 12px; }

/* Pie */
.pie { color: var(--papel); padding: 56px var(--margen); display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.pie__logo { font-size: 44px; }
.pie__datos { display: flex; flex-wrap: wrap; gap: 24px 56px; font-size: 15px; line-height: 1.7; }
.pie__datos div { display: flex; flex-direction: column; }
.pie__datos a { text-decoration: none; }
.pie__datos a:hover { text-decoration: underline; }
.pie__etiqueta { color: var(--gris); }

a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

@media (max-width: 760px) {
  .cabecera { flex-wrap: wrap; padding-top: 20px; }
  .menu { order: 3; width: 100%; gap: 24px; }
  .que { grid-template-columns: 1fr; }
  .palabras, .que__texto { grid-column: auto; }
  .servicios { font-size: 18px; }
}

/* Páginas legales */
.legal { background: var(--papel); min-height: 100vh; padding: 40px var(--margen) 80px; }
.legal__cuerpo { max-width: 720px; margin: 48px auto 0; font-size: 17px; line-height: 1.6; }
.legal h1 { font-family: var(--condensada); font-stretch: 62%; font-weight: 900; font-size: 56px; line-height: 0.9; text-transform: uppercase; margin: 0 0 32px; }
.legal h2 { font-family: var(--condensada); font-stretch: 75%; font-weight: 800; font-size: 24px; text-transform: uppercase; margin: 40px 0 8px; }
