/* ==========================================================================
   Reinvisaged — site.css (v2, 23/11/2026)

   Identidad de la web anterior: azul marino #1a2b3c, naranja #e67e22, Poppins
   y el logo arena. Se añade el arena del logo (#b5a98a) como acento fino.
   Estructura: tokens · base · componentes · cabecera · hero · secciones ·
   proyectos · galería · contacto/formulario · pie · utilidades · responsive.
   ========================================================================== */

/* ----- Tokens ---------------------------------------------------------- */
:root {
    --navy: #1a2b3c;
    --navy-deep: #111b27;
    --navy-line: #2a3a4a;
    --orange: #e67e22;
    --orange-dark: #c96a14;
    --sand: #b5a98a;
    --sand-light: #ece7dc;

    --bg: #fdfdfd;
    --bg-tint: #f6f4ef;
    --text: #4f5661;
    --text-soft: #7a818c;
    --heading: #1a2b3c;
    --card: #ffffff;
    --line: #e4e1da;

    --radius: 8px;
    --radius-lg: 14px;
    --shadow: 0 10px 30px rgba(17, 27, 39, .08);
    --shadow-hover: 0 18px 44px rgba(17, 27, 39, .14);

    --header-h: 84px;
    --container: 1180px;
    --ease: cubic-bezier(.2, .7, .2, 1);

    --fs-kicker: .78rem;
    --fs-h1: clamp(2.6rem, 6vw, 4.6rem);
    --fs-h2: clamp(2rem, 3.6vw, 2.9rem);
    --fs-lead: clamp(1.02rem, 1.4vw, 1.15rem);
}

/* ----- Base ------------------------------------------------------------ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 10px); }

body {
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--heading); line-height: 1.15; font-weight: 600; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
    position: absolute; left: -9999px; top: 10px; z-index: 3000;
    background: var(--navy); color: #fff; padding: 8px 16px; border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { left: 10px; }

/* ----- Componentes ----------------------------------------------------- */
.kicker {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: var(--fs-kicker); font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
    color: var(--orange); margin-bottom: 18px;
}
.kicker::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.kicker--light { color: var(--sand-light); }

.section-title { font-size: var(--fs-h2); margin-bottom: 18px; letter-spacing: -.01em; }
.section-lead { font-size: var(--fs-lead); max-width: 640px; }

.btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--orange); color: #fff; border: 1px solid var(--orange);
    padding: 14px 30px; border-radius: 50px;
    font: 600 .95rem/1 'Poppins', sans-serif; letter-spacing: .02em; text-decoration: none; cursor: pointer;
    transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), color .3s var(--ease);
}
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-2px); }
.btn span { transition: transform .3s var(--ease); }
.btn:hover span { transform: translateX(3px); }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .7); }
.btn--ghost:hover { background: #fff; border-color: #fff; color: var(--navy); }
.btn--small { padding: 10px 22px; font-size: .85rem; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

.caption { font-size: .8rem; line-height: 1.5; color: var(--text-soft); }

/* ----- Cabecera -------------------------------------------------------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 1000;
    transition: background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header::before {   /* degradado para leer el menú sobre la foto */
    content: ''; position: absolute; inset: 0 0 -40px 0; pointer-events: none;
    background: linear-gradient(rgba(10, 18, 27, .55), rgba(10, 18, 27, 0));
    transition: opacity .4s var(--ease);
}
.site-header__inner {
    position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px;
    max-width: 1320px; margin: 0 auto; padding: 0 32px; height: var(--header-h);
}
.site-header__logo { display: block; }
.site-header__logo img { width: 190px; height: auto; transition: width .4s var(--ease); }
.logo--dark { display: none; }
.site-header.is-scrolled .logo--light { display: none; }
.site-header.is-scrolled .logo--dark { display: block; }
body.menu-open .site-header .logo--light { display: block; }
body.menu-open .site-header .logo--dark { display: none; }

.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav__list { display: flex; gap: 30px; list-style: none; }
.site-nav__link {
    position: relative; padding: 6px 0;
    font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: #fff; text-decoration: none; transition: color .3s var(--ease);
}
.site-nav__link::after {
    content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
    background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.site-nav__link:hover::after, .site-nav__link.is-active::after { transform: scaleX(1); }
.site-nav__mail { display: none; }
.lang-switch { display: flex; gap: 8px; font-size: .8rem; color: #fff; }
.lang-switch a { text-decoration: none; opacity: .75; }
.lang-switch a[aria-current] { opacity: 1; font-weight: 600; }

.site-header.is-scrolled { background: rgba(255, 255, 255, .97); box-shadow: 0 2px 18px rgba(17, 27, 39, .08); }
.site-header.is-scrolled::before { opacity: 0; }
.site-header.is-scrolled .site-header__logo img { width: 160px; }
.site-header.is-scrolled .site-nav__link,
.site-header.is-scrolled .lang-switch { color: var(--navy); }

.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: #fff; }
.menu-toggle__bars { display: grid; gap: 5px; width: 26px; }
.menu-toggle__bars span { display: block; height: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .3s; }
.site-header.is-scrolled .menu-toggle { color: var(--navy); }

/* ----- Hero ------------------------------------------------------------ */
.hero {
    position: relative; min-height: 100svh; display: flex; align-items: center;
    color: #fff; overflow: hidden; background: var(--navy-deep);
}
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: center 60%; transform: scale(1.04); animation: hero-zoom 14s var(--ease) forwards; }
@keyframes hero-zoom { to { transform: scale(1); } }
.hero__veil {
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 18, 27, .82) 0%, rgba(10, 18, 27, .55) 45%, rgba(10, 18, 27, .15) 100%),
        linear-gradient(0deg, rgba(10, 18, 27, .45), rgba(10, 18, 27, 0) 40%);
}
.hero__content { position: relative; padding-top: var(--header-h); padding-bottom: 60px; }
.hero__title { color: #fff; font-size: var(--fs-h1); font-weight: 700; letter-spacing: -.02em; max-width: 12ch; margin-bottom: 22px; }
.hero__tagline { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 560px; color: rgba(255, 255, 255, .9); margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__caption {
    position: absolute; right: 32px; bottom: 26px; font-size: .72rem; letter-spacing: .04em;
    color: rgba(255, 255, 255, .7);
}
.hero__scroll {
    position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px;
    border: 2px solid rgba(255, 255, 255, .6); border-radius: 14px;
}
.hero__scroll span {
    position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
    background: #fff; border-radius: 2px; animation: scroll-dot 1.8s var(--ease) infinite;
}
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ----- Secciones ------------------------------------------------------- */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--navy); color: #c9d2dc; }
.section--dark .section-title { color: #fff; }
.section-head { margin-bottom: 48px; }

/* About */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about__text p + p { margin-top: 1em; }
.about__note { padding-left: 16px; border-left: 2px solid var(--sand); font-size: .93rem; color: var(--text-soft); }
.about__media { position: relative; }
.about__media::before {   /* marco arena desplazado */
    content: ''; position: absolute; inset: 24px -24px -24px 24px; border: 1px solid var(--sand); border-radius: var(--radius-lg);
}
.about__media img { position: relative; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

.services {
    list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    margin-top: clamp(64px, 8vw, 96px); border-top: 1px solid var(--line);
}
.services__item { padding: 28px 24px 0 0; }
.services__item + .services__item { padding-left: 24px; border-left: 1px solid var(--line); }
.services__num { display: block; font-size: .8rem; font-weight: 600; color: var(--orange); letter-spacing: .1em; margin-bottom: 10px; }
.services__title { font-size: 1.05rem; margin-bottom: 6px; }
.services__item p { font-size: .9rem; color: var(--text-soft); line-height: 1.6; }

/* ----- Proyectos ------------------------------------------------------- */
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.project {
    background: var(--card); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
    display: flex; flex-direction: column;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.project__media { overflow: hidden; aspect-ratio: 16 / 10; background: var(--sand-light); }
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project:hover .project__media img { transform: scale(1.04); }
.project__body { padding: 30px 32px 32px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.project__status { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); }
.project__title { font-size: 1.55rem; }
.project__text { font-size: .95rem; }
.project .caption { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }

.project--feature { grid-column: 1 / -1; flex-direction: row; }
.project--feature .project__media { flex: 0 0 56%; aspect-ratio: auto; min-height: 380px; }
.project--feature .project__body { justify-content: center; padding: 44px 48px; }
.project--feature .project__title { font-size: 2rem; }
.project--feature:nth-of-type(2) { flex-direction: row-reverse; }   /* alterna el lado de la imagen */

.project--review {
    grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 28px;
    padding: 28px 36px; background: transparent; box-shadow: none;
    border: 1px dashed var(--sand); border-radius: var(--radius-lg);
}
.project--review:hover { transform: none; box-shadow: none; }
.project--review .project__status { flex: 0 0 auto; }
.project--review .project__text { font-size: 1rem; color: var(--heading); }

/* ----- Galería --------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.gallery__item { display: flex; flex-direction: column; gap: 12px; }
.gallery__item--wide { grid-column: 1 / -1; }
.gallery__media { overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.gallery__item--wide .gallery__media { aspect-ratio: auto; }
.gallery__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__item:hover .gallery__media img { transform: scale(1.04); }
/* Imagen entera, sin recorte (Scott, 25/11: «que se vea entera»). */
.gallery__media--full { aspect-ratio: auto; }
.gallery__media--full img { height: auto; object-fit: contain; }
.gallery__group { grid-column: 1 / -1; display: grid; gap: 20px; }
.gallery__group .caption { margin-top: -6px; }

/* ----- Contacto y formulario ------------------------------------------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact--solo { grid-template-columns: 1fr; }   /* sin formulario (producción, Fase 1) */
.contact--solo .contact__data { grid-template-columns: repeat(2, max-content); gap: 22px 64px; }
.section--dark .section-lead { color: #c9d2dc; }
.contact__data { margin-top: 36px; display: grid; gap: 22px; }
.contact__data dt { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--sand); }
.contact__data dd { font-size: 1.1rem; color: #fff; }
.contact__data a { color: #fff; text-decoration: none; border-bottom: 1px solid var(--orange); transition: color .3s; }
.contact__data a:hover { color: var(--orange); }

.contact__form { background: var(--card); color: var(--text); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: grid; gap: 6px; }
.field label { font-size: .82rem; font-weight: 600; color: var(--heading); }
.field label span { color: var(--orange); }
.field input, .field textarea {
    width: 100%; font: inherit; font-size: .95rem; color: var(--heading);
    background: #faf9f6; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px;
    transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(230, 126, 34, .15); }
.field.has-error input, .field.has-error textarea { border-color: #c0392b; }
.field__error { font-size: .78rem; color: #c0392b; min-height: 0; }
.field__error:empty { display: none; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 4px 12px; }
.field--check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--orange); }
.field--check label { font-weight: 400; font-size: .88rem; color: var(--text); }
.field--check label a { color: var(--orange); }
.field--check .field__error { grid-column: 2; }
.form__info { font-size: .76rem; line-height: 1.55; color: var(--text-soft); }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.form__req { font-size: .76rem; color: var(--text-soft); }
.form__alert { background: #fdecea; color: #8e2b20; border-radius: var(--radius); padding: 12px 14px; font-size: .88rem; }
.form-ok { text-align: center; padding: 28px 8px; }
.form-ok__title { font-size: 1.6rem; font-weight: 600; color: var(--heading); margin-bottom: 8px; }
[hidden] { display: none !important; }

/* ----- Pie ------------------------------------------------------------- */
.site-footer { background: var(--navy-deep); color: #9fabb8; font-size: .9rem; padding-top: 64px; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.site-footer__brand img { width: 180px; margin-bottom: 18px; }
.site-footer__brand p { max-width: 340px; line-height: 1.65; }
.site-footer__title { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--sand); margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #d4dbe3; text-decoration: none; transition: color .3s; }
.site-footer a:hover { color: var(--orange); }
.site-footer__bottom {
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    border-top: 1px solid var(--navy-line); padding-top: 24px; padding-bottom: 28px; font-size: .8rem;
}

/* ----- Animación de entrada (solo si hay JS: site.js añade .js) --------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ----- Responsive ------------------------------------------------------ */
@media (max-width: 1100px) {
    .site-nav { gap: 22px; }
    .site-nav__list { gap: 20px; }
    .services { grid-template-columns: repeat(2, 1fr); }
    .services__item:nth-child(3) { padding-left: 0; border-left: 0; }
    .services__item { padding-bottom: 24px; }
}

@media (max-width: 900px) {
    :root { --header-h: 70px; }
    .site-header__inner { padding: 0 20px; }
    .site-header__logo img, .site-header.is-scrolled .site-header__logo img { width: 150px; }
    .menu-toggle { display: block; position: relative; z-index: 2; }

    .site-nav {
        position: fixed; inset: 0; z-index: 1;
        flex-direction: column; justify-content: center; align-items: flex-start; gap: 28px;
        padding: calc(var(--header-h) + 20px) 32px 40px;
        background: var(--navy); visibility: hidden; opacity: 0;
        transition: opacity .35s var(--ease), visibility .35s;
    }
    .site-nav__list { flex-direction: column; gap: 6px; }
    .site-nav__link, .site-header.is-scrolled .site-nav__link { color: #fff; font-size: 1.7rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
    .site-nav__mail { display: block; color: var(--sand); text-decoration: none; }
    .lang-switch, .site-header.is-scrolled .lang-switch { color: #fff; }

    body.menu-open { overflow: hidden; }
    body.menu-open .site-nav { visibility: visible; opacity: 1; }
    body.menu-open .menu-toggle { color: #fff; }
    body.menu-open .menu-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    body.menu-open .menu-toggle__bars span:nth-child(2) { opacity: 0; }
    body.menu-open .menu-toggle__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    body.menu-open .site-header { background: transparent; box-shadow: none; }

    .about, .contact { grid-template-columns: 1fr; }
    .about__media { order: -1; margin-right: 24px; }

    .projects { grid-template-columns: 1fr; }
    .project--feature, .project--feature:nth-of-type(2) { flex-direction: column; }
    .project--feature .project__media { flex: none; min-height: 0; aspect-ratio: 16 / 10; }
    .project--feature .project__body { padding: 28px; }
    .project--feature .project__title { font-size: 1.6rem; }
    .project--review { flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; }

    .gallery { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    .container { padding: 0 20px; }
    .hero__content { padding-bottom: 90px; }
    .hero__actions .btn { width: 100%; justify-content: center; }
    .hero__caption { right: 20px; bottom: 18px; }
    .hero__scroll { display: none; }
    .services { grid-template-columns: 1fr; }
    .services__item, .services__item + .services__item { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
    .form__row { grid-template-columns: 1fr; }
    .form__foot .btn { width: 100%; justify-content: center; }
    .site-footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   v3 (26/11/2026) · Petición de Scott: proyectos primero, hero con el 3D de
   Mirador Majuelo, About y contacto al final.
   ========================================================================== */

/* Hero claro: el render de Mirador va sobre su propio gris (#d3cdcc, medido),
   con el texto a la izquierda. La cabecera es blanca desde el principio. */
.hero--light { background: #d3cdcc; color: var(--heading); min-height: 0; padding: calc(var(--header-h) + 48px) 0 72px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: center; }
.hero--light .hero__content { padding: 0; }
.hero--light .hero__title { color: var(--heading); }
.hero--light .hero__tagline { color: #3c4651; }
.hero__figure { margin: 0; }
.hero__figure img { width: 100%; height: auto; }
.hero--light .hero__caption { position: static; margin-top: 6px; text-align: right; color: #5d6670; }
.hero--light .hero__scroll { border-color: rgba(26, 43, 60, .45); }
.hero--light .hero__scroll span { background: var(--navy); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Proyecto principal: texto arriba y galería debajo (3D de la terraza + fotos actuales). */
.project--main { grid-column: 1 / -1; padding: clamp(28px, 4vw, 48px); gap: 28px; }
.project--main:hover { transform: none; }
.project--main .project__body { padding: 0; max-width: 760px; }
.project--main .project__title { font-size: clamp(1.9rem, 3vw, 2.4rem); }
.project__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.project__shot { margin: 0; display: grid; gap: 8px; align-content: start; }
.project__shot--wide { grid-column: 1 / -1; }
.project__shot-media { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--sand-light); }
.project__shot--wide .project__shot-media { aspect-ratio: auto; }
.project__shot-media img { width: 100%; height: 100%; object-fit: cover; }
.project__shot--wide .project__shot-media img { height: auto; }

/* Pete's Place – Cotobro: la foto aérea es vertical; se centra en la zona marcada. */
#project-petes-place .project__media img { object-position: 50% 45%; }

/* About sin foto: título a la izquierda, texto a la derecha. */
.about--text { grid-template-columns: .8fr 1.2fr; align-items: start; }
.about--text .about__head .section-title { margin-bottom: 0; }

@media (max-width: 900px) {
    .hero--light { padding: calc(var(--header-h) + 28px) 0 48px; }
    .hero__grid { grid-template-columns: 1fr; gap: 28px; }
    .hero__figure { order: -1; }
    .hero--light .hero__scroll { display: none; }
    .project__gallery { grid-template-columns: 1fr; }
    .about--text { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 560px) {
    .hero--light .hero__actions .btn { width: 100%; justify-content: center; }
    .project--main { padding: 22px; }
}
/* El render tiene un gris algo más claro en el centro que en los bordes: se
   funden sus bordes con el fondo para que no se vea el rectángulo. */
.hero__figure picture {
    -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%);
            mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%);
}
/* El rótulo naranja apenas contrasta sobre el gris: en el hero claro va en azul marino. */
.hero--light .kicker { color: var(--navy); }
.hero--light .kicker::before { background: var(--orange); }

/* Sin formulario (producción): los datos de contacto en dos columnas solo si
   caben; en móvil, una. (max-content desbordaba 156 px a 390 px.) */
.contact--solo .contact__data { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), max-content)); }
.contact--solo .contact__data dd { overflow-wrap: anywhere; }

/* Mirador: tres imágenes del estado actual (calle, patio y dron) en una fila. */
.project__gallery { grid-template-columns: repeat(3, 1fr); }
.project__shot--wide { grid-column: 1 / -1; }
#project-petes-place .project__media img { object-position: center; }
@media (max-width: 900px) { .project__gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .project__gallery { grid-template-columns: 1fr; } }

/* La <picture> debe ocupar todo el marco: si no, la imagen (height:100%) se
   queda en su alto natural y asoma una franja beige debajo. */
.project__media picture,
.project__shot-media picture { height: 100%; }
.project__shot--wide .project__shot-media picture { height: auto; }

/* La vista aérea es casi cuadrada (castillo y mar): la fila de tres usa esa
   proporción para no recortar el mar ni el castillo. */
.project__gallery .project__shot:not(.project__shot--wide) .project__shot-media { aspect-ratio: 8 / 7; }
