/* Paleta y lenguaje editorial tomados del sitio de Vistalago. */
@font-face {
  font-family: Montserrat;
  src: url("assets/fonts/Montserrat-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #eeeade;
  --ink: #293025;
  --gold: #dcc18e;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
.masthead { height: 156px; display: grid; place-items: center; }
/* Se conserva el JPG original: el contenedor recorta solo el margen blanco. */
.brand { position: relative; width: 390px; height: 122px; overflow: hidden; }
.brand img { position: absolute; width: 390px; height: auto; left: 0; top: 50%; transform: translateY(-50%); mix-blend-mode: multiply; }
.project { position: relative; isolation: isolate; min-height: 580px; height: calc(100svh - 156px); color: #fff; overflow: hidden; }
.project-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; z-index: -2; }
.project::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17,27,17,.48), rgba(17,27,17,.03) 52%, rgba(17,27,17,.8)), linear-gradient(90deg, rgba(17,27,17,.25), transparent 75%); }
.project-content { min-height: inherit; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 32px; padding: 64px 6% 75px; text-align: center; }
h1, p { margin: 0; }
h1 { font: 600 clamp(64px, 9vw, 140px)/1.1 Montserrat, Arial, sans-serif; letter-spacing: -.055em; }
.project-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; padding: 20px 27px; border: 1px solid rgba(255,255,255,.75); border-radius: 40px; color: #fff; text-decoration: none; font: 500 11px/1.5 Montserrat, Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; transition: background .2s, color .2s; }
.project-link svg { width: 22px; height: 22px; flex: 0 0 auto; stroke: currentColor; stroke-width: 1.4; }
.project-link:hover { background: var(--paper); color: var(--ink); }
.project-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 6px; }
.image-note { position: absolute; bottom: 20px; right: max(6%, 90px); font: 400 8px/1.5 Montserrat, Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.floating-whatsapp { position: fixed; z-index: 21; right: calc(18px + env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; box-shadow: 0 8px 26px #111a1166; display: flex; align-items: center; justify-content: center; }
.whatsapp-icon { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.whatsapp-icon path + path { fill: currentColor; stroke: none; }
.floating-whatsapp:hover { background: #1EBE5D; }
.floating-whatsapp:focus-visible { outline: 3px solid var(--gold); outline-offset: 6px; }
@media (min-width: 1800px) { .project-content { padding-top: 80px; } }
@media (max-width: 600px) {
  .masthead { height: 124px; }
  .brand { width: 310px; height: 104px; }
  .brand img { width: 310px; }
  .project { height: calc(100svh - 124px); min-height: 560px; }
  .project-image { object-position: 58% center; }
  .project-content { padding: 43px 7% 62px; }
  h1 { font-size: clamp(52px, 14vw, 80px); }
  .project-link { width: 100%; max-width: 350px; padding: 18px 22px; font-size: 10px; gap: 16px; }
  .image-note { right: 82px; bottom: 18px; font-size: 7px; }
  .floating-whatsapp { right: calc(12px + env(safe-area-inset-right)); bottom: calc(12px + env(safe-area-inset-bottom)); }
  .floating-whatsapp .whatsapp-icon { width: 27px; height: 27px; }
}
@media (prefers-reduced-motion: reduce) { .project-link { transition: none; } }
