/* NOVARA · web v2 ------------------------------------------------------- */

@font-face { font-family: "Montserrat"; src: url("assets/Montserrat-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Lato"; src: url("assets/Lato-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }

:root {
  --ivory: #FBF9F6;
  --sand: #F3EEE8;
  --line: #E8E4E0;
  --ink: #302E2C;
  --ink-deep: #252321;
  --ink-muted: #5E5955;
  --accent: #866050;
  --accent-text: #6F4D3F; /* marrón de marca oscurecido para textos pequeños sobre fondos claros */
  --accent-soft: #CDAE9A;
  --on-dark: #FBF9F6;
  --on-dark-muted: #B8B0A9;
  --line-dark: rgba(251, 249, 246, .16);

  --head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --body: "Lato", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1320px;
  --section: clamp(88px, 11vw, 168px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 1px); }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 1.0625rem/1.65 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; margin: 0; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
figure { margin: 0; }
address { font-style: normal; }
::selection { background: var(--accent); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.section--dark :focus-visible, .hero :focus-visible, .footer :focus-visible { outline-color: var(--accent-soft); }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--dark { background: var(--ink); color: var(--on-dark); }

.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--ivory); padding: 12px 18px; font: 700 .8rem var(--head); }
.skip:focus { top: 16px; }

/* Tipografía ------------------------------------------------------------ */
.eyebrow { font: 700 .72rem/1.4 var(--head); letter-spacing: .18em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 1.4rem; }
.eyebrow--light, .section--dark .eyebrow { color: var(--accent-soft); }
.hero .eyebrow { color: var(--ivory); }
.display { font-size: clamp(2.3rem, 5.4vw, 4.9rem); line-height: 1.04; letter-spacing: -.03em; }
.display--light { color: var(--on-dark); }
.h2 { font-size: clamp(1.95rem, 3.6vw, 3.15rem); line-height: 1.1; letter-spacing: -.025em; margin-bottom: 1.6rem; }
.h3 { font-size: clamp(1.4rem, 2.3vw, 2rem); line-height: 1.18; margin-bottom: 1.1rem; }
h4 { font-size: 1.04rem; line-height: 1.35; letter-spacing: -.01em; margin-bottom: .6rem; }
.lead { font-size: clamp(1.12rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--ink); }
.section--dark .lead { color: var(--on-dark); }
.section--dark p { color: var(--on-dark-muted); }

/* número · línea · texto */
.section-tag { display: grid; grid-template-columns: auto 56px auto; justify-content: start; align-items: center; gap: 14px; font: 700 .7rem/1 var(--head); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: clamp(48px, 7vw, 96px); }
.section-tag span { color: var(--accent-text); }
.section-tag::after { content: ""; grid-column: 2; grid-row: 1; height: 1px; background: currentColor; opacity: .35; }
.section-tag--light { color: var(--on-dark-muted); }
.section-tag--light span { color: var(--accent-soft); }
.partner__hero .section-tag { color: var(--ivory); }

/* Botones y enlaces ----------------------------------------------------- */
.icon { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn { display: inline-flex; align-items: center; gap: 14px; padding: 17px 24px 17px 26px; background: var(--ink); color: var(--ivory); text-decoration: none; font: 700 .74rem/1.2 var(--head); letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--ink); transition: background .3s, color .3s, border-color .3s; }
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn:hover .icon, .link:hover .icon, .path:hover .icon { transform: translateX(5px); }
.btn--light { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn--light:hover { background: var(--accent); border-color: var(--accent); color: var(--ivory); }
.link { display: inline-flex; align-items: center; gap: 10px; font: 700 .74rem/1.2 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid currentColor; }

/* Imágenes -------------------------------------------------------------- */
.media { position: relative; overflow: hidden; background: var(--sand); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media figcaption, .hero__caption { position: absolute; left: 14px; bottom: 14px; margin: 0; padding: 5px 9px; background: rgba(31, 28, 26, .85); color: var(--ivory); font: 700 .62rem/1 var(--head); letter-spacing: .16em; text-transform: uppercase; backdrop-filter: blur(4px); }

/* Cabecera -------------------------------------------------------------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); color: var(--ivory); transition: background .4s, color .4s, transform .45s var(--ease), box-shadow .4s; }
.header__inner { height: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { position: relative; display: block; width: clamp(132px, 12vw, 164px); z-index: 2; }
.brand img { width: 100%; transition: opacity .35s; }
.brand__dark { position: absolute; inset: 0; opacity: 0; }
.header.is-solid { background: rgba(251, 249, 246, .92); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(1.4) blur(12px); }
.header.is-solid .brand__light { opacity: 0; }
.header.is-solid .brand__dark { opacity: 1; }
.header.is-hidden { transform: translateY(-100%); }

.nav ul { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav a { position: relative; text-decoration: none; font: 700 .7rem/1 var(--head); letter-spacing: .16em; text-transform: uppercase; padding-block: 10px; }
.nav a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:not(.nav__cta):hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.nav a[aria-current="true"] { color: var(--accent-text); }
.header:not(.is-solid) .nav a[aria-current="true"] { color: inherit; }
.nav__cta { border: 1px solid currentColor; padding: 12px 18px !important; transition: background .3s, color .3s, border-color .3s; }
.nav__cta:hover { background: var(--accent); border-color: var(--accent); color: var(--ivory); }
.nav__mobile-foot { display: none; }
.menu-toggle { display: none; }

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 12px; position: relative; z-index: 2; background: none; border: 0; color: inherit; padding: 10px 0; cursor: pointer; font: 700 .7rem/1 var(--head); letter-spacing: .18em; text-transform: uppercase; }
  .menu-toggle__bars { display: grid; gap: 6px; width: 24px; }
  .menu-toggle__bars span { height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
  .nav { position: fixed; inset: 0; background: var(--ink); color: var(--ivory); display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 24px) var(--gutter) 40px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
  .nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav a { font-size: clamp(1.6rem, 7vw, 2.3rem); letter-spacing: -.02em; text-transform: none; padding-block: 10px; display: block; }
  .nav a::after { display: none; }
  .nav a[aria-current="true"] { color: var(--accent-soft) !important; }
  .nav__cta { border: 0; padding: 10px 0 !important; color: var(--accent-soft); }
  .nav__cta:hover { background: none; }
  .nav__mobile-foot { display: grid; gap: 8px; margin-top: auto; padding-top: 32px; border-top: 1px solid var(--line-dark); }
  .nav__mobile-foot a { font: 400 1rem/1.4 var(--body); text-decoration: none; color: var(--on-dark-muted); }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .header { color: var(--ivory); background: transparent; box-shadow: none; backdrop-filter: none; transform: none; }
  .menu-open .header .brand__light { opacity: 1; }
  .menu-open .header .brand__dark { opacity: 0; }
  .menu-open .menu-toggle__bars span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-open .menu-toggle__bars span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .menu-open { overflow: hidden; }
}

/* Inicio ---------------------------------------------------------------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: var(--on-dark); background: var(--ink-deep); isolation: isolate; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; animation: hero-in 2.6s var(--ease) both; }
.hero__media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(31, 28, 26, .9) 0%, rgba(31, 28, 26, .8) 36%, rgba(31, 28, 26, .4) 60%, rgba(31, 28, 26, .08) 78%),
  linear-gradient(0deg, rgba(31, 28, 26, .9) 0%, rgba(31, 28, 26, .55) 22%, rgba(31, 28, 26, 0) 48%),
  linear-gradient(180deg, rgba(31, 28, 26, .7) 0%, rgba(31, 28, 26, 0) 24%); }
@keyframes hero-in { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__content { padding-top: calc(var(--header-h) + 64px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero__title { font-size: clamp(3.1rem, 9.4vw, 8.4rem); line-height: .94; letter-spacing: -.045em; margin-bottom: clamp(24px, 3vw, 36px); }
.hero__lead { max-width: 33rem; font-size: clamp(1.05rem, 1.45vw, 1.25rem); line-height: 1.55; color: rgba(251, 249, 246, .94); }
.hero__paths { display: grid; grid-template-columns: repeat(3, 1fr); padding-bottom: clamp(24px, 3.5vw, 44px); }
.path { position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "num who arrow" "num what arrow"; column-gap: 18px; row-gap: 4px; align-items: center; padding: 22px 22px 22px 0; text-decoration: none; border-top: 1px solid rgba(251, 249, 246, .3); transition: border-color .35s; }
.path + .path { padding-left: 22px; border-left: 1px solid rgba(251, 249, 246, .14); }
.path::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--ivory); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.path:hover::before, .path:focus-visible::before { transform: scaleX(1); }
.path__num { grid-area: num; align-self: start; font: 700 .7rem/1.6 var(--head); letter-spacing: .14em; color: var(--ivory); }
.path__who { grid-area: who; font: 700 1.12rem/1.2 var(--head); letter-spacing: -.01em; }
.path__what { grid-area: what; font-size: .9rem; color: rgba(251, 249, 246, .86); }
.path .icon { grid-area: arrow; }
.hero__caption { left: auto; right: var(--gutter); bottom: 10px; }

@media (max-width: 860px) {
  .hero__media img { object-position: 64% 50%; }
  .hero__media::after { background: linear-gradient(0deg, rgba(31, 28, 26, .92) 0%, rgba(31, 28, 26, .72) 55%, rgba(31, 28, 26, .6) 100%); }
  .hero__paths { grid-template-columns: 1fr; }
  .path, .path + .path { padding: 18px 0; border-left: 0; }
}

/* Nuestros proyectos ---------------------------------------------------- */
.projects { background: var(--ivory); }
.projects__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px; }
.projects__grid .section-tag { margin-bottom: 0; align-self: start; padding-top: 10px; }
.projects__body .display { max-width: 15ch; margin-bottom: clamp(40px, 5vw, 64px); }
.projects__body .display { background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 60%, var(--accent) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.projects__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.projects__cta p { margin: 0; color: var(--ink-muted); font-size: 1.1rem; }
@media (max-width: 860px) {
  .projects__grid { grid-template-columns: 1fr; gap: 0; }
  .projects__grid .section-tag { margin-bottom: 40px; padding-top: 0; }
}

/* Promotores ------------------------------------------------------------ */
.promoters { background: var(--ivory); padding-top: 0; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split__text .lead { margin-bottom: 2.2rem; color: var(--ink-muted); }
.split__media { aspect-ratio: 1491 / 1055; }

.why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); margin-top: clamp(96px, 12vw, 176px); }
.why__intro p:not(.eyebrow) { color: var(--ink-muted); }
.feature-list li { padding-block: 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 12px 40px; }
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list p { color: var(--ink-muted); margin: 0; }

.services { margin-top: clamp(96px, 12vw, 176px); }
.services__head { max-width: 40rem; margin-bottom: clamp(40px, 5vw, 64px); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.timeline li { position: relative; padding: 40px 28px 0 0; border-top: 1px solid var(--ink); }
.timeline li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.timeline__num { display: block; font: 700 2.6rem/1 var(--head); letter-spacing: -.04em; color: var(--line); -webkit-text-stroke: 1px var(--accent); color: transparent; margin-bottom: 22px; }
.timeline p { color: var(--ink-muted); font-size: 1rem; }

.benefits { margin-top: clamp(96px, 12vw, 176px); }
.benefits__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.benefit { background: var(--sand); padding: clamp(28px, 3vw, 40px); border-top: 2px solid var(--accent); }
.benefit h4 { font-size: 1.16rem; margin-bottom: 14px; }
.benefit p { color: var(--ink-muted); margin: 0; }

.cta-band { margin-top: clamp(64px, 8vw, 112px); display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 56px; background: var(--ink); color: var(--on-dark); padding: clamp(36px, 5.5vw, 72px); }
.cta-band > div { max-width: 40rem; }
.cta-band p:not(.eyebrow) { color: var(--on-dark-muted); }
.cta-band .btn { flex: none; }

@media (max-width: 960px) {
  .split, .why { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .benefits__grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .feature-list li { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; row-gap: 0; border-left: 1px solid var(--ink); margin-left: 4px; }
  .timeline li { border-top: 0; padding: 0 0 40px 28px; }
  .timeline li::before { top: 4px; left: -5px; }
  .timeline__num { font-size: 2rem; margin-bottom: 12px; }
  .cta-band .btn { width: 100%; justify-content: space-between; }
}

/* Inversores ------------------------------------------------------------ */
.investors__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.investors__head .h2 { margin: 0; font-size: clamp(2.1rem, 4.4vw, 3.9rem); line-height: 1.06; }
.investors__why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); margin-top: clamp(72px, 9vw, 128px); align-items: start; }
.media--tall { aspect-ratio: 930 / 922; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.feature-grid li { padding: 28px 0 32px; border-top: 1px solid var(--line-dark); }
.feature-grid p { font-size: 1rem; margin: 0; }

.process { margin-top: clamp(96px, 12vw, 160px); }
.process__head { max-width: 36rem; margin-bottom: clamp(40px, 5vw, 64px); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.steps li { padding: 36px 28px 40px; border-left: 1px solid var(--line-dark); transition: background .4s; }
.steps li:first-child { border-left: 0; padding-left: 0; }
.steps li:hover { background: rgba(251, 249, 246, .03); }
.steps__num { display: block; font: 700 3.4rem/1 var(--head); letter-spacing: -.05em; color: var(--accent-soft); margin-bottom: 28px; }
.steps p { font-size: 1rem; margin: 0; }

.investors__cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 56px; margin-top: clamp(72px, 9vw, 120px); }
.investors__cta > div { max-width: 42rem; }
.investors__cta .btn { flex: none; }
.disclaimer { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .82rem; line-height: 1.6; color: var(--on-dark-muted) !important; max-width: 52rem; }

@media (max-width: 960px) {
  .investors__head, .investors__why { grid-template-columns: 1fr; }
  .investors__why .media { max-width: 560px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .investors__cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li:first-child { border-left: 0; padding: 28px 0; }
  .steps li + li { border-top: 1px solid var(--line-dark); }
  .steps__num { font-size: 2.4rem; margin-bottom: 16px; }
  .investors__cta .btn { width: 100%; justify-content: space-between; }
}

/* Calidades ------------------------------------------------------------- */
.quality { background: var(--ivory); }
.quality__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.quality__media { aspect-ratio: 16 / 10; }
.quality__text p:not(.eyebrow) { color: var(--ink-muted); }
.pillars__title { margin-top: clamp(80px, 10vw, 136px); }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; }
.pillars li { padding-top: 28px; border-top: 1px solid var(--ink); }
.pillars span { display: block; font: 700 .78rem/1 var(--head); letter-spacing: .12em; color: var(--accent-text); margin-bottom: 20px; }
.pillars p { color: var(--ink-muted); font-size: 1rem; }
.downloads { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(40px, 6vw, 96px); align-items: center; margin-top: clamp(64px, 8vw, 104px); }
.downloads__contact p { color: var(--ink-muted); margin-bottom: 18px; }

/* Documentos descargables con portada */
.doc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); align-items: center; padding: clamp(18px, 2.2vw, 28px); background: var(--sand); text-decoration: none; transition: background .3s; }
.doc__cover { display: block; box-shadow: 0 22px 44px -22px rgba(48, 46, 44, .55), 0 2px 6px rgba(48, 46, 44, .12); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.doc__cover img { width: 100%; }
.doc:hover .doc__cover { transform: translateY(-6px); box-shadow: 0 30px 52px -24px rgba(48, 46, 44, .6), 0 2px 6px rgba(48, 46, 44, .12); }
.doc__body { display: grid; gap: 10px; justify-items: start; }
.doc__meta { font: 700 .66rem/1.3 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); }
.doc__title { font: 700 clamp(1.25rem, 1.8vw, 1.6rem)/1.2 var(--head); letter-spacing: -.02em; }
.doc__desc { color: var(--ink-muted); font-size: .98rem; line-height: 1.55; }
.doc__action { display: inline-flex; align-items: center; gap: 12px; margin-top: 10px; padding: 15px 20px 15px 22px; background: var(--ink); color: var(--ivory); font: 700 .72rem/1.2 var(--head); letter-spacing: .14em; text-transform: uppercase; transition: background .3s; }
.doc:hover .doc__action { background: var(--accent); }
.doc:hover .doc__action .icon { transform: translateY(3px); }
.doc--wide { margin-top: clamp(56px, 7vw, 88px); background: var(--ivory); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: clamp(20px, 3vw, 40px); }

@media (max-width: 960px) {
  .quality__grid, .downloads { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
}
@media (max-width: 600px) {
  .pillars { grid-template-columns: 1fr; gap: 32px; }
  .doc, .doc--wide { grid-template-columns: 1fr; }
  .doc__action { width: 100%; justify-content: space-between; }
}

/* Socio promotor -------------------------------------------------------- */
.partner { position: relative; background: var(--sand); }
.partner__media { position: relative; height: clamp(520px, 88vh, 880px); overflow: hidden; }
.partner__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.partner__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(31, 28, 26, .92) 0%, rgba(31, 28, 26, .72) 45%, rgba(31, 28, 26, .2) 100%); }
.partner__hero { position: absolute; left: 0; right: 0; top: clamp(520px, 88vh, 880px); transform: translateY(-100%); padding-bottom: clamp(48px, 6vw, 88px); }
.partner__hero .section-tag { margin-bottom: 32px; }
.partner__hero .display { max-width: 18ch; }
.partner__body { background: var(--sand); }
.partner__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.partner__grid .lead { color: var(--ink-muted); margin-bottom: 2.2rem; }

.deal { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; }
.deal__side { background: var(--ivory); padding: clamp(24px, 3vw, 36px); display: grid; align-content: start; gap: 8px; }
.deal__side strong, .deal__result strong { font: 700 1.2rem/1.25 var(--head); letter-spacing: -.01em; }
.deal__side p { margin: 0; font-size: .95rem; color: var(--ink-muted); }
.deal__side--accent { background: var(--accent); color: var(--ivory); }
.deal__side--accent p { color: var(--ivory); }
.deal__side--accent .deal__label { color: var(--ivory); }
.deal__label { font: 700 .64rem/1.3 var(--head); letter-spacing: .18em; text-transform: uppercase; color: var(--accent-text); }
.deal__plus { display: grid; place-items: center; width: 44px; font: 700 1.6rem/1 var(--head); color: var(--accent); }
.deal__result { grid-column: 1 / -1; margin-top: 12px; padding: clamp(24px, 3vw, 32px) clamp(24px, 3vw, 36px); background: var(--ink); color: var(--ivory); display: grid; gap: 8px; }
.deal__result .deal__label { color: var(--accent-soft); }

@media (max-width: 960px) {
  .partner__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .partner__media { height: 560px; }
  .partner__hero { top: 560px; }
  .deal { grid-template-columns: 1fr; }
  .deal__plus { width: auto; height: 40px; }
}

/* Contacto -------------------------------------------------------------- */
.contact { position: relative; background: var(--ink-deep); isolation: isolate; overflow: hidden; }
.contact__bg { position: absolute; inset: 0; z-index: -1; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 45%; }
.contact__bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(37, 35, 33, .66) 0%, rgba(37, 35, 33, .68) 32%, rgba(37, 35, 33, .88) 50%, rgba(37, 35, 33, .93) 70%),
  linear-gradient(180deg, rgba(37, 35, 33, .55) 0%, rgba(37, 35, 33, 0) 30%); }
@media (max-width: 960px) {
  /* en vertical la foto queda como cabecera de la sección y se funde con el fondo */
  .contact__bg { bottom: auto; height: min(640px, 110vw + 220px); }
  .contact__bg img { object-position: 35% 50%; }
  .contact__bg::after { background: linear-gradient(180deg, rgba(37, 35, 33, .66) 0%, rgba(37, 35, 33, .74) 45%, var(--ink-deep) 100%); }
}
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 112px); }
.contact__info .display { font-size: clamp(2.3rem, 4.6vw, 4.1rem); margin-bottom: clamp(40px, 5vw, 64px); }
.contact__list { margin: 0; display: grid; gap: 28px; }
.contact__list div { display: grid; gap: 6px; }
.contact__list dt { font: 700 .66rem/1 var(--head); letter-spacing: .18em; text-transform: uppercase; color: var(--accent-soft); }
.contact__list dd { margin: 0; color: var(--on-dark-muted); }
/* sobre la foto de la oficina, textos pequeños en marfil para que la foto pueda verse más */
.contact .section-tag, .contact .section-tag span, .contact__list dt, .contact__list dd { color: var(--ivory); }
.contact__list a { font: 700 clamp(1.15rem, 1.8vw, 1.5rem)/1.3 var(--head); letter-spacing: -.01em; color: var(--on-dark); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); overflow-wrap: anywhere; }
.contact__list a:hover { background-size: 100% 1px; }

.form { display: grid; gap: 28px; align-content: start; padding-top: 8px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.field { display: grid; gap: 10px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font: 700 .66rem/1.3 var(--head); letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-muted); padding: 0; }
.field legend { margin-bottom: 14px; }
.field small { font: inherit; letter-spacing: .1em; text-transform: none; }
.field input, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(251, 249, 246, .3); color: var(--on-dark); font: 400 1.1rem/1.5 var(--body); padding: 8px 0 12px; border-radius: 0; transition: border-color .3s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(184, 176, 169, .85); opacity: 1; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent-soft); }
.field input:focus-visible, .field textarea:focus-visible { box-shadow: 0 1px 0 var(--accent-soft); }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: #E59C86; }
.field__error { font-size: .85rem; color: #F0B4A2; min-height: 0; }
.field__error:empty { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: block; padding: 10px 16px; border: 1px solid rgba(251, 249, 246, .26); font: 400 .92rem/1.2 var(--body); letter-spacing: 0; text-transform: none; color: #D9D2CB; background: rgba(37, 35, 33, .6); transition: background .25s, color .25s, border-color .25s; }
.chips label:hover span { border-color: var(--on-dark); color: var(--on-dark); }
.chips input:checked + span { background: var(--ivory); border-color: var(--ivory); color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--accent-soft); outline-offset: 3px; }

.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; padding-top: 8px; }
.form__note { font-size: .82rem; line-height: 1.55; color: var(--on-dark-muted) !important; max-width: 30rem; margin: 0; }
.form__note a { color: var(--on-dark); }
.form__foot .btn { flex: none; }
.form__status { margin: 0; color: var(--accent-soft) !important; font-size: .95rem; }
.form__status:empty { display: none; }

@media (max-width: 960px) {
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .form__row { grid-template-columns: 1fr; }
  .form__foot { flex-direction: column; align-items: stretch; }
  .form__foot .btn { justify-content: space-between; }
}

/* Pie ------------------------------------------------------------------- */
.footer { background: #1D1B1A; color: var(--on-dark-muted); padding-top: clamp(64px, 8vw, 104px); font-size: .95rem; }
.footer a { text-decoration: none; transition: color .25s; }
.footer a:hover { color: var(--on-dark); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 48px; padding-bottom: clamp(56px, 7vw, 88px); }
.footer__brand { display: block; width: min(260px, 100%); }
.footer nav ul { display: grid; gap: 10px; }
.footer__contact { display: grid; gap: 10px; align-content: start; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 24px 32px; border-top: 1px solid rgba(251, 249, 246, .1); font-size: .82rem; }
.footer__top { display: inline-flex; align-items: center; gap: 8px; }
.icon--up { transform: rotate(180deg); width: 16px; height: 16px; }
@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* Animaciones de entrada ------------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-media { clip-path: inset(10% 0 0 0); transition: clip-path 1.3s var(--ease); }
.js .reveal-media img { transform: scale(1.12); transition: transform 1.8s var(--ease); }
.js .reveal-media.is-in { clip-path: inset(0 0 0 0); }
.js .reveal-media.is-in img { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .reveal-media, .js .reveal-media img { opacity: 1; transform: none; clip-path: none; }
}

/* Escritorio: titulares principales un 12,5 % más pequeños (móvil y tableta sin cambios) */
@media (min-width: 1025px) {
  .hero__title { font-size: clamp(3.1rem, 8.2vw, 7.35rem); }
  .display { font-size: clamp(2.3rem, 4.7vw, 4.3rem); }
  .h2 { font-size: clamp(1.95rem, 3.15vw, 2.75rem); }
  .h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); }
  .investors__head .h2 { font-size: clamp(2.1rem, 3.85vw, 3.4rem); }
  .contact__info .display { font-size: clamp(2.3rem, 4vw, 3.6rem); }
  /* «En breve os compartiremos…»: mitad del tamaño de titular grande */
  .projects__body .display { font-size: clamp(1.6rem, 2.35vw, 2.15rem); line-height: 1.2; max-width: 30ch; }
}

/* Formulario de producción y páginas legales */
.field .consent {display:flex;align-items:flex-start;gap:12px;color:var(--ivory);font:400 .94rem/1.5 var(--body);letter-spacing:0;text-transform:none}
.field .consent input {width:20px;height:20px;flex:0 0 20px;margin-top:2px;accent-color:var(--accent);appearance:auto}
.consent a{text-decoration:underline}.form-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.form button:disabled{opacity:.7;cursor:wait}.footer__legal{display:flex;gap:18px;flex-wrap:wrap}
.legal-header{padding:28px var(--gutter);border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:24px}.legal-header img{width:190px}
.legal-page{max-width:850px;margin:0 auto;padding:64px 24px 96px}.legal-page h1{font-size:clamp(2rem,5vw,3rem);margin-bottom:36px}.legal-page h2{font-size:1.3rem;margin:32px 0 16px}.legal-page p,.legal-page li{line-height:1.7;margin-bottom:14px}.legal-page ul{padding-left:24px}.legal-page a{text-decoration:underline}.legal-page nav{display:flex;gap:24px;flex-wrap:wrap;margin-top:40px}
