@font-face {
  font-family: "Velora";
  src: url("../fonts/velora/velora-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Velora";
  src: url("../fonts/velora/velora-medium.woff2") format("woff2");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Velora";
  src: url("../fonts/velora/velora-bold.woff2") format("woff2");
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Velora";
  src: url("../fonts/velora/velora-black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ebe6df;
  --paper: #f7f3ee;
  --paper-strong: #fdfbf8;
  --text: #2d2621;
  --muted: #847a70;
  --border: #d5cec4;
  --dark: #241d19;
  --dark-soft: rgba(36, 29, 25, 0.88);
  --shadow: 0 28px 70px rgba(35, 28, 24, 0.08);
  --container: 1360px;
  --serif: "Velora", "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "Velora", "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

.serif { font-family: var(--serif); }
.container {
  width: min(calc(100% - 80px), var(--container));
  margin: 0 auto;
}
.page-main { padding-top: 110px; }
.section { padding: 90px 0; }
.section-alt { background: rgba(255, 255, 255, 0.22); }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(139, 126, 114, 0.16);
}
.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-size: clamp(2.2rem, 2.1vw, 3rem);
  letter-spacing: 0.03em;
  font-weight: 700;
  line-height: 1;
}
.brand-image {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: clamp(170px, 17vw, 245px);
  height: auto;
  max-height: 46px;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 36px;
}
.nav-link {
  font-size: 0.94rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
}
.nav-link:hover,
.nav-link.is-active { color: var(--text); }

.hero-home,
.project-hero {
  position: relative;
  background-size: cover;
}

.hero-home {
  background-position: center center;
}

.project-hero {
  background-position: center center;
}

.hero-home {
  min-height: 100vh;
  padding-top: 92px;
  display: flex;
  align-items: stretch;
}

.hero-home::after,
.project-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(22, 17, 14, 0.12) 0%,
    rgba(22, 17, 14, 0.18) 38%,
    rgba(22, 17, 14, 0.30) 100%
  );
}

.hero-home-inner,
.project-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  width: 100%;
  min-height: calc(100vh - 92px);
}

.project-hero-inner {
  min-height: calc(86vh - 92px);
}

.hero-copy,
.project-hero-copy {
  color: #fff;
  padding: 0 0 84px;
}

.project-hero-copy {
  padding: 0 0 116px;
}

.hero-copy {
  max-width: 980px;
}

.hero-copy h1,
.project-hero-copy h1,
.page-hero h1,
.split-copy h1,
.split-copy h2,
.section-head h2,
.section-head h1,
.cta-panel h2,
.contact-copy h1,
.contact-copy h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 0.98;
  margin: 0;
}

.hero-copy h1 {
  max-width: 980px;
  font-size: clamp(3.4rem, 4.8vw, 5.9rem);
  margin-top: 20px;
  text-wrap: balance;
}

.project-hero {
  min-height: 86vh;
  padding-top: 92px;
}

.project-hero-copy h1 {
  font-size: clamp(4rem, 5vw, 5.8rem);
  margin-top: 16px;
}
.project-hero-subtitle {
  font-size: 1.12rem;
  line-height: 1.85;
  max-width: 650px;
  color: rgba(255, 255, 255, 0.88);
  margin: 18px 0 14px;
}
.project-hero-meta {
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}
.hero-actions,
.cta-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.hero-copy .eyebrow,
.project-hero-copy .eyebrow { color: rgba(255, 255, 255, 0.92); }
.eyebrow-dark { color: var(--muted); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.94rem;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.button:hover { transform: translateY(-1px); }
.button-dark {
  background: var(--dark);
  color: #fff;
}
.button-outline-light {
  border-color: rgba(255, 255, 255, 0.46);
  color: #fff;
  background: rgba(255, 255, 255, 0.02);
}
.button-ghost {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.3);
}
.full-width { width: 100%; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 36px;
}
.section-head.center {
  align-items: center;
  text-align: center;
  flex-direction: column;
}
.section-head h1,
.section-head h2,
.split-copy h1,
.split-copy h2,
.contact-copy h1,
.contact-copy h2,
.cta-panel h2 {
  font-size: clamp(3.1rem, 4.2vw, 5.05rem);
  color: var(--text);
}
.page-intro {
  max-width: 680px;
  margin: 18px auto 0;
  text-align: center;
  color: var(--muted);
  line-height: 1.85;
}

.section-promos { padding-top: 76px; }
.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px 36px;
}
.promo-card {
  background: transparent;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.promo-card-body {
  padding: 30px 34px 8px;
  background: var(--paper-strong);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.promo-card-body p {
  flex: 1;
}

.text-link,
.text-link-disabled {
  margin-top: auto;
  align-self: flex-start;
}
.promo-card-image {
  position: relative;
  overflow: hidden;
  display: block;
}
.promo-card-image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}
.status-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(49, 42, 38, 0.86);
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 14px 20px;
}
.promo-card-body {
  padding: 30px 34px 8px;
  background: var(--paper-strong);
}
.promo-card-body h3 {
  font-size: clamp(2.35rem, 2.6vw, 3.05rem);
  margin: 0 0 8px;
  font-weight: 500;
}
.promo-card-meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.promo-card-body p,
.split-copy p,
.contact-copy p,
.project-copy p,
.plan-card-body p,
.gallery-card figcaption,
.empty-state p {
  color: var(--muted);
  line-height: 1.9;
  font-size: 1.02rem;
}
.text-link {
  display: inline-flex;
  margin-top: 18px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(45, 38, 33, 0.54);
}

.promo-card-image-disabled {
  position: relative;
  overflow: hidden;
  display: block;
  cursor: default;
}

.text-link-disabled {
  opacity: 0.68;
  border-bottom-style: dashed;
  cursor: default;
}

.split-section {
  display: grid;
  grid-template-columns: 0.98fr 1.02fr;
  gap: 72px;
  align-items: start;
}
.split-copy p + p { margin-top: 16px; }
.split-image img,
.project-location-image img {
  width: 100%;
  background: var(--paper-strong);
}
.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 56px;
}
.mini-stat-value {
  font-size: clamp(2.4rem, 2.8vw, 3.2rem);
  line-height: 0.95;
}
.mini-stat-label {
  margin-top: 8px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.95rem;
}

.section-cta { padding-top: 26px; }
.cta-panel {
  background: var(--paper-strong);
  border: 1px solid rgba(138, 127, 117, 0.16);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  padding: 44px 48px;
}
.cta-panel p { color: var(--muted); max-width: 660px; line-height: 1.85; }

.contact-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 64px;
  align-items: start;
}
.contact-layout-compact {
  grid-template-columns: 0.9fr 1.1fr;
}
.contact-lines {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}
.contact-line {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text);
  font-size: 1rem;
}
.contact-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(138, 127, 117, 0.14);
}
.contact-form {
  display: grid;
  gap: 28px;
}
.contact-form label {
  display: grid;
  gap: 12px;
}
.contact-form span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.9rem;
}
.contact-form input,
.contact-form textarea {
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  padding: 0 0 16px;
  color: var(--text);
  outline: none;
  border-radius: 0;
}
.contact-form textarea { resize: vertical; min-height: 120px; }

.facts-bar {
  background: var(--paper-strong);
  border-top: 1px solid rgba(138, 127, 117, 0.16);
  border-bottom: 1px solid rgba(138, 127, 117, 0.16);
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.metric-tile {
  padding: 30px 18px;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(138, 127, 117, 0.16);
}
.metric-tile:last-child { border-right: 0; }
.metric-tile-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
}
.metric-tile-value {
  margin-top: 14px;
  font-size: clamp(2rem, 2.2vw, 2.7rem);
  line-height: 0.95;
}

.project-intro-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 54px;
  align-items: start;
}
.project-side-card {
  background: var(--paper-strong);
  border: 1px solid rgba(138, 127, 117, 0.16);
  padding: 30px 34px;
}
.highlight-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 16px;
}
.highlight-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text);
  line-height: 1.8;
}
.highlight-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dark);
}


.project-intro-editorial {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 76px;
  align-items: start;
}

.project-intro-heading {
  max-width: 390px;
}

.project-intro-heading .eyebrow {
  margin-bottom: 18px;
}

.project-intro-heading h2 {
  margin: 0;
  font-size: clamp(2.45rem, 3vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.project-intro-copy {
  max-width: 720px;
  margin: 0;
}

.project-intro-copy p {
  color: var(--muted);
  line-height: 1.95;
  margin: 0 0 24px;
  text-align: left;
}

.project-intro-copy p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .project-intro-editorial {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .project-intro-heading {
    max-width: 720px;
  }

  .project-intro-heading h2 {
    max-width: 680px;
  }

  .project-intro-copy {
    max-width: 720px;
  }
}



.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.gallery-grid-full { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-card,
.plan-card {
  background: var(--paper-strong);
  border: 1px solid rgba(138, 127, 117, 0.16);
  overflow: hidden;
}
.gallery-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}
.gallery-card figcaption {
  padding: 18px 20px 22px;
  margin: 0;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.plan-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-bottom: 1px solid rgba(138, 127, 117, 0.16);
}
.plan-card-body { padding: 20px 24px 26px; }
.plan-card-body h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
  background: var(--paper-strong);
  border: 1px solid rgba(138, 127, 117, 0.16);
}
.units-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}
.units-table th,
.units-table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(138, 127, 117, 0.16);
  text-align: left;
}
.units-table th {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--muted);
}
.empty-state {
  background: var(--paper-strong);
  border: 1px solid rgba(138, 127, 117, 0.16);
  padding: 34px 36px;
}

.page-hero {
  padding: 44px 0 24px;
}
.page-hero.compact { padding-top: 32px; }

.site-footer {
  border-top: 1px solid rgba(138, 127, 117, 0.18);
  padding: 30px 0 36px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}
.footer-brand {
  font-size: 1.55rem;
  line-height: 1;

  letter-spacing: 0.05em;
}
.footer-copy,
.footer-contact {
  color: var(--muted);
  font-size: 0.94rem;
}
.footer-contact {
  display: grid;
  gap: 6px;
  text-align: right;
}

@media (max-width: 1280px) {
  .facts-grid,
  .mini-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts-grid .metric-tile:nth-child(3n) { border-right: 0; }
}

@media (max-width: 1080px) {
  .container { width: min(calc(100% - 48px), var(--container)); }
  .promo-grid,
  .split-section,
  .contact-layout,
  .project-intro-grid,
  .gallery-grid,
  .gallery-grid-full,
  .plan-grid,
  .cta-panel,
  .facts-grid,
  .mini-stats {
    grid-template-columns: 1fr;
  }
  .facts-grid .metric-tile { border-right: 0; border-bottom: 1px solid rgba(138, 127, 117, 0.16); }
  .facts-grid .metric-tile:last-child { border-bottom: 0; }
  .promo-card-image img { height: 400px; }
  .gallery-card img { height: 320px; }
  .plan-card img { height: 260px; }
  .footer-inner { flex-direction: column; }
  .footer-contact { text-align: left; }
}

@media (max-width: 760px) {
  .site-nav { gap: 18px 20px; justify-content: flex-end; }
  .nav-link { font-size: 0.8rem; }
  .brand { font-size: 1.9rem; }
  .brand-logo {
    width: clamp(135px, 38vw, 180px);
    max-height: 38px;
  }
  .header-inner { min-height: 84px; align-items: center; }
  .hero-home { min-height: 88vh; }
  .hero-copy { padding-bottom: 56px; }
  .hero-copy h1,
  .project-hero-copy h1,
  .section-head h1,
  .section-head h2,
  .split-copy h1,
  .split-copy h2,
  .contact-copy h1,
  .contact-copy h2,
  .cta-panel h2 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }
  .button { width: 100%; }
  .section { padding: 72px 0; }
  .promo-card-body { padding: 24px 0 0; background: transparent; }
  .promo-card-image img { height: 310px; }
  .status-badge { top: 14px; left: 14px; padding: 11px 14px; font-size: 0.76rem; }
  .gallery-card img,
  .plan-card img { height: 240px; }
}
.project-hero {
  position: relative;
  min-height: 86vh;
  padding-top: 92px;
}

.project-hero .container,
.project-hero-inner {
  position: relative;
  min-height: calc(86vh - 92px);
}

.project-hero-copy {
  position: absolute;
  left: 0;
  bottom: 110px;
  padding: 0;
  max-width: 760px;
  color: #fff;
}

.project-hero-meta {
  margin-top: 18px;
}

.project-hero-copy .hero-actions {
  margin-top: 28px;
}

.gallery-swap {
  cursor: pointer;
}

.gallery-swap .gallery-media {
  position: relative;
  overflow: hidden;
}

.gallery-swap .gallery-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

.gallery-swap .gallery-img-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-swap .vision-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 10px 14px;
  background: rgba(36, 29, 25, 0.72);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

@media (hover: hover) and (pointer: fine) {
  .gallery-swap:hover .gallery-img-hover {
    opacity: 1;
  }
}

.modal-open {
  overflow: hidden;
}

.compare-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
}

.compare-modal.is-open {
  display: block;
}

.compare-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 14, 12, 0.68);
  backdrop-filter: blur(4px);
}

.compare-dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 40px));
  margin: 40px auto;
  background: var(--paper-strong);
  border: 1px solid rgba(138, 127, 117, 0.18);
  box-shadow: var(--shadow);
  padding: 22px 22px 26px;
}

.compare-close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
}

.compare-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-right: 40px;
  margin-bottom: 18px;
}

.compare-title {
  font-size: 2rem;
  line-height: 1;
}

.compare-tabs {
  display: flex;
  gap: 10px;
}

.compare-tab {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  min-height: 44px;
  padding: 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  cursor: pointer;
}

.compare-tab.is-active {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

.compare-stage {
  position: relative;
  background: #f2ede6;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.compare-image {
  display: none;
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
}

.compare-image.is-active {
  display: block;
}

@media (max-width: 1080px) {
  .gallery-swap .gallery-img {
    height: 320px;
  }
}

@media (max-width: 760px) {
  .gallery-swap .gallery-img {
    height: 240px;
  }

  .compare-dialog {
    width: calc(100% - 20px);
    margin: 20px auto;
    padding: 16px 16px 20px;
  }

  .compare-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .compare-stage {
    min-height: 48vh;
  }

  .compare-image {
    max-height: 56vh;
  }
}

/* Monographic project variant */
.page-project-home .project-hero {
  min-height: 100vh;
}

.page-project-home .project-hero .container,
.page-project-home .project-hero-inner {
  min-height: calc(100vh - 92px);
}

#promocion,
#galeria,
#planos,
#ubicacion,
#disponibilidad,
#contacto {
  scroll-margin-top: 110px;
}

/* Units + map modules */
.units-panel {
  display: grid;
  gap: 18px;
}

.units-table-wrap {
  border: 1px solid rgba(138, 127, 117, 0.22);
  box-shadow: 0 24px 60px rgba(35, 28, 24, 0.05);
}

.units-table {
  min-width: 980px;
}

.units-table tbody tr {
  transition: background-color 0.2s ease;
}

.units-table tbody tr:hover {
  background: rgba(235, 230, 223, 0.38);
}

.units-table th,
.units-table td {
  vertical-align: middle;
}

.units-table th:last-child,
.units-table td:last-child {
  text-align: right;
}

.unit-name {
  font-weight: 700;
  color: var(--text);
}

.unit-storage {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(138, 127, 117, 0.24);
  background: rgba(255, 255, 255, 0.36);
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}

.unit-download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(45, 38, 33, 0.42);
  background: rgba(255, 255, 255, 0.32);
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.unit-download-link:hover {
  transform: translateY(-1px);
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}

.unit-download-disabled {
  color: var(--muted);
  opacity: 0.7;
}

.units-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

.location-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 60px;
  align-items: center;
}

.location-copy h2 {
  font-family: var(--serif);
  font-size: clamp(3.1rem, 4.2vw, 5.05rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 0;
}

.location-copy p {
  color: var(--muted);
  line-height: 1.9;
  font-size: 1.02rem;
}

.location-copy p:first-of-type {
  margin-top: 26px;
}

.location-address {
  margin-top: 28px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.location-button {
  margin-top: 28px;
}

.location-map-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 460px;
  border: 1px solid rgba(138, 127, 117, 0.18);
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.location-map-card img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.76) contrast(0.96) brightness(1.03);
  transform: scale(1.02);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.location-map-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36, 29, 25, 0.00), rgba(36, 29, 25, 0.18));
  pointer-events: none;
}

.location-map-card:hover img {
  transform: scale(1.055);
  filter: saturate(0.86) contrast(1) brightness(1.02);
}

.location-map-overlay {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  background: rgba(253, 251, 248, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(45, 38, 33, 0.24);
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
}

@media (max-width: 1080px) {
  .location-layout {
    grid-template-columns: 1fr;
  }

  .location-map-card,
  .location-map-card img {
    min-height: 360px;
    height: 360px;
  }
}

@media (max-width: 760px) {
  .units-table {
    min-width: 860px;
  }

  .unit-download-link {
    padding: 0 12px;
  }

  .location-map-card,
  .location-map-card img {
    min-height: 300px;
    height: 300px;
  }

  .location-map-overlay {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
}


@media (max-width: 760px) {
  .project-inline-highlights {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* =========================================================
   Investor overview — same SIGNATTURA monographic language
   Demo/static data, prepared for JSON replacement
========================================================= */

.investor-page {
  background: var(--bg);
}

.investor-hero {
  padding: 92px 0 70px;
  background:
    radial-gradient(circle at 85% 20%, rgba(36, 29, 25, 0.08), transparent 34%),
    linear-gradient(180deg, var(--paper-strong), var(--bg));
  border-bottom: 1px solid rgba(139, 126, 114, 0.18);
}

.investor-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.65fr);
  gap: 54px;
  align-items: end;
}

.investor-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 18px 0 20px;
  font-size: clamp(3.1rem, 5.2vw, 6.6rem);
  max-width: 980px;
  text-wrap: balance;
}

.investor-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.85;
  margin: 0;
}

.investor-hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.investor-hero-panel,
.investor-card,
.investor-report-card,
.investor-status-card,
.investor-summary-card,
.investor-doc-card {
  background: rgba(247, 243, 238, 0.86);
  border: 1px solid rgba(139, 126, 114, 0.22);
  box-shadow: 0 22px 60px rgba(35, 28, 24, 0.06);
}

.investor-hero-panel {
  padding: 34px 34px 38px;
  position: relative;
  overflow: hidden;
}

.investor-hero-panel::after {
  content: "S";
  position: absolute;
  right: -12px;
  bottom: -54px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15rem;
  line-height: 1;
  color: rgba(36, 29, 25, 0.035);
  pointer-events: none;
}

.investor-panel-label,
.investor-kpi-label,
.investor-card-head span,
.investor-soft-label,
.investor-doc-category,
.investor-status-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.investor-panel-date {
  font-size: 2.2rem;
  color: var(--text);
  margin: 12px 0 12px;
}

.investor-facts {
  border-top: 1px solid rgba(139, 126, 114, 0.16);
  border-bottom: 1px solid rgba(139, 126, 114, 0.16);
  background: rgba(255, 255, 255, 0.22);
}

.investor-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.investor-kpi-card {
  padding: 28px 22px 30px;
  border-right: 1px solid rgba(139, 126, 114, 0.16);
}

.investor-kpi-card:last-child {
  border-right: 0;
}

.investor-kpi-value {
  font-size: clamp(2rem, 2.8vw, 3.2rem);
  line-height: 1;
  color: var(--text);
  margin-top: 10px;
}

.investor-kpi-note {
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.84rem;
  margin-top: 12px;
}

.investor-status-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.investor-status-card {
  padding: 28px 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  min-height: 220px;
}

.investor-status-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  margin-top: 5px;
  background: #8a7f74;
  box-shadow: 0 0 0 5px rgba(138, 127, 116, 0.12);
}

.investor-status-card.is-verde .investor-status-dot {
  background: #6b8f73;
  box-shadow: 0 0 0 5px rgba(107, 143, 115, 0.12);
}

.investor-status-card.is-ambar .investor-status-dot,
.investor-status-card.is-ámbar .investor-status-dot {
  background: #b99865;
  box-shadow: 0 0 0 5px rgba(185, 152, 101, 0.14);
}

.investor-status-card.is-rojo .investor-status-dot {
  background: #9f5c4c;
  box-shadow: 0 0 0 5px rgba(159, 92, 76, 0.12);
}

.investor-status-card h3 {
  margin: 8px 0 12px;
  font-size: 1.45rem;
  font-weight: 500;
}

.investor-status-card p,
.investor-summary-card p,
.investor-doc-card p,
.investor-timeline-body p,
.investor-progress-row p,
.investor-disclaimer {
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
  font-size: 0.92rem;
}

.investor-month-tabs,
.investor-scenario-tabs,
.investor-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.investor-month-tab,
.investor-scenario-tab,
.investor-filter {
  border: 1px solid rgba(139, 126, 114, 0.26);
  background: transparent;
  color: var(--muted);
  padding: 10px 14px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.investor-month-tab:hover,
.investor-scenario-tab:hover,
.investor-filter:hover,
.investor-month-tab.is-active,
.investor-scenario-tab.is-active,
.investor-filter.is-active {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--paper-strong);
}

.investor-report-card {
  padding: 34px;
}

.investor-report-quote {
  font-size: clamp(1.8rem, 3vw, 3.15rem);
  line-height: 1.12;
  color: var(--text);
  max-width: 1050px;
  margin-bottom: 34px;
}

.investor-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.investor-summary-card {
  padding: 26px 24px;
  box-shadow: none;
}

.investor-grid-2,
.investor-scenario-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.investor-scenario-layout {
  grid-template-columns: 1fr 1fr;
}

.investor-card {
  padding: 30px;
}

.investor-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  border-bottom: 1px solid rgba(139, 126, 114, 0.18);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.investor-card-head h3 {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 500;
}

.investor-chart-box {
  height: 320px;
  position: relative;
}

.section-head-compact {
  margin-bottom: 24px;
}

.investor-progress-row {
  padding: 18px 0;
  border-bottom: 1px solid rgba(139, 126, 114, 0.16);
}

.investor-progress-row:first-child {
  padding-top: 0;
}

.investor-progress-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.investor-progress-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 10px;
}

.investor-progress-head strong {
  font-size: 1.35rem;
  font-weight: 500;
}

.investor-progress-head span {
  color: var(--muted);
  font-size: 0.82rem;
}

.investor-progress-track {
  height: 3px;
  background: rgba(139, 126, 114, 0.2);
  margin-bottom: 10px;
  overflow: hidden;
}

.investor-progress-fill {
  height: 100%;
  background: var(--dark);
}

.investor-timeline {
  padding: 18px 30px;
}

.investor-timeline-item {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(139, 126, 114, 0.16);
}

.investor-timeline-item:last-child {
  border-bottom: 0;
}

.investor-timeline-date {
  color: var(--text);
  font-size: 1.1rem;
}

.investor-timeline-body {
  border-left: 1px solid rgba(139, 126, 114, 0.26);
  padding-left: 22px;
}

.investor-timeline-item.is-active .investor-timeline-body {
  border-left-color: var(--dark);
  border-left-width: 2px;
  padding-left: 21px;
}

.investor-timeline-body h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 500;
}

.investor-timeline-body span {
  display: inline-block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.investor-range-label {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.investor-range-label strong {
  font-size: 1.85rem;
  color: var(--text);
  letter-spacing: normal;
  text-transform: none;
}

.investor-range {
  width: 100%;
  appearance: none;
  height: 3px;
  background: rgba(139, 126, 114, 0.26);
  outline: none;
  margin: 8px 0 34px;
}

.investor-range::-webkit-slider-thumb {
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--dark);
  border: 4px solid var(--paper-strong);
  box-shadow: 0 0 0 1px rgba(36, 29, 25, 0.3);
  cursor: pointer;
}

.investor-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--dark);
  border: 4px solid var(--paper-strong);
  box-shadow: 0 0 0 1px rgba(36, 29, 25, 0.3);
  cursor: pointer;
}

.investor-calc-results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 26px;
}

.investor-calc-results div,
.investor-waterfall-step {
  padding: 20px;
  background: rgba(255, 255, 255, 0.32);
  border: 1px solid rgba(139, 126, 114, 0.16);
}

.investor-calc-results span,
.investor-waterfall-step span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
}

.investor-calc-results strong,
.investor-waterfall-step strong {
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--text);
}

.investor-waterfall {
  display: grid;
  gap: 14px;
}

.investor-waterfall-step p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.9rem;
}

.investor-units-panel {
  background: rgba(247, 243, 238, 0.86);
}

.investor-units-table .investor-unit-status {
  color: var(--text);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.investor-doc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.investor-doc-card {
  min-height: 160px;
  display: flex;
  justify-content: space-between;
  gap: 26px;
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.investor-doc-card:hover {
  border-color: var(--dark);
  transform: translateY(-2px);
}

.investor-doc-card h3 {
  margin: 8px 0 8px;
  font-size: 1.45rem;
  font-weight: 500;
}

.investor-doc-card > span {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--text);
  line-height: 1;
}

.investor-doc-card.is-hidden {
  display: none;
}

@media (max-width: 1120px) {
  .investor-kpi-grid { grid-template-columns: repeat(3, 1fr); }
  .investor-kpi-card:nth-child(3) { border-right: 0; }
  .investor-kpi-card:nth-child(-n+3) { border-bottom: 1px solid rgba(139, 126, 114, 0.16); }
  .investor-status-grid { grid-template-columns: repeat(2, 1fr); }
  .investor-grid-2,
  .investor-scenario-layout,
  .investor-hero-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .investor-hero { padding: 64px 0 44px; }
  .investor-kpi-grid,
  .investor-summary-grid,
  .investor-status-grid,
  .investor-doc-grid,
  .investor-calc-results { grid-template-columns: 1fr; }
  .investor-kpi-card { border-right: 0; border-bottom: 1px solid rgba(139, 126, 114, 0.16); }
  .investor-kpi-card:last-child { border-bottom: 0; }
  .investor-report-card,
  .investor-card,
  .investor-hero-panel { padding: 26px; }
  .investor-timeline-item { grid-template-columns: 1fr; gap: 8px; }
  .investor-card-head { flex-direction: column; align-items: flex-start; }
  .investor-month-tabs,
  .investor-scenario-tabs,
  .investor-filters { justify-content: flex-start; }
}

.investor-chart-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Investor monthly reporting archive */
.investor-month-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.investor-archive-link {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(139, 126, 114, 0.35);
  padding-bottom: 3px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.investor-archive-link:hover {
  color: var(--text);
  border-color: var(--text);
}

.investor-archive-hero {
  background: var(--paper);
}

.investor-report-archive-list {
  display: grid;
  gap: 22px;
}

.investor-report-archive-card {
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(139, 126, 114, 0.18);
  box-shadow: 0 24px 70px rgba(38, 31, 26, 0.06);
  padding: 38px;
}

.investor-report-archive-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.investor-report-archive-meta em {
  font-style: normal;
  color: var(--muted);
}

.investor-report-archive-card h2 {
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  line-height: 1.05;
  font-weight: 500;
  margin: 0 0 18px;
}

.investor-report-archive-quote {
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  line-height: 1.25;
  color: var(--text);
  margin: 0 0 28px;
  max-width: 1050px;
}

.investor-report-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  border-top: 1px solid rgba(139, 126, 114, 0.16);
  padding-top: 24px;
}

.investor-report-archive-grid p {
  color: var(--muted);
  line-height: 1.75;
  margin: 10px 0 0;
  font-size: 0.92rem;
}

@media (max-width: 760px) {
  .investor-month-actions { align-items: flex-start; }
  .investor-report-archive-card { padding: 26px; }
  .investor-report-archive-grid { grid-template-columns: 1fr; }
  .investor-report-archive-meta { flex-direction: column; }
}

/* ==========================================================
   SIGNATTURA Investor Portal — Level 2 backend/auth layer
   These styles support the Supabase-protected private shell.
   ========================================================== */
.investor-login-section {
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding: 88px 0;
  background: linear-gradient(135deg, rgba(247, 243, 238, 0.92), rgba(234, 226, 216, 0.68));
}

.investor-login-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  gap: 48px;
  align-items: center;
}

.investor-login-copy h1 {
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  line-height: 0.95;
  margin: 14px 0 18px;
}

.investor-login-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.investor-login-project-card,
.investor-state-card {
  border: 1px solid rgba(139, 126, 114, 0.24);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 20px 55px rgba(36, 29, 25, 0.08);
  border-radius: 28px;
  padding: 26px;
}

.investor-login-project-card {
  width: min(440px, 100%);
  margin: 28px 0 14px;
}

.investor-login-project-card span,
.investor-login-project-card em {
  display: block;
  color: var(--muted);
  font-style: normal;
  font-size: 0.9rem;
}

.investor-login-project-card strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 2rem;
  color: var(--ink);
}

.investor-login-security-note {
  font-size: 0.9rem !important;
}

.investor-login-card {
  display: grid;
  gap: 18px;
  padding: 34px;
  border-radius: 32px;
  background: #fffaf4;
  border: 1px solid rgba(139, 126, 114, 0.26);
  box-shadow: 0 28px 80px rgba(36, 29, 25, 0.12);
}

.investor-login-card h2 {
  margin: 6px 0 0;
  font-size: 2.2rem;
}

.investor-login-card label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

.investor-login-card input {
  width: 100%;
  border: 1px solid rgba(139, 126, 114, 0.32);
  border-radius: 999px;
  padding: 14px 18px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  outline: none;
}

.investor-login-card input:focus {
  border-color: rgba(36, 29, 25, 0.62);
  box-shadow: 0 0 0 4px rgba(36, 29, 25, 0.08);
}

.investor-form-message {
  min-height: 24px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.investor-form-message.is-error,
.investor-state-card.is-error p {
  color: #8a3b2e;
}

.investor-loading-section {
  background: var(--paper);
}

.investor-state-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.investor-state-card h2 {
  margin: 10px 0 8px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.investor-state-card p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.centered-actions {
  justify-content: center;
}

.investor-doc-button {
  appearance: none;
  border: 1px solid rgba(139, 126, 114, 0.2);
  cursor: pointer;
  text-align: left;
  font: inherit;
  width: 100%;
}

.investor-doc-button:disabled {
  opacity: 0.55;
  cursor: progress;
}

.investor-private-shell [hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .investor-login-grid {
    grid-template-columns: 1fr;
  }

  .investor-login-section {
    padding: 56px 0;
  }
}

/* Investor project phases — replaces monthly reporting when reporting.mode = project_phases */
.investor-summary-grid.investor-phase-grid {
  display: block;
}

.investor-phase-intro {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
  max-width: 760px;
  margin-bottom: 34px;
}

.investor-phase-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 18px;
  padding: 24px 0 4px;
}

.investor-phase-track::before {
  content: "";
  position: absolute;
  left: 3%;
  right: 3%;
  top: 44px;
  height: 2px;
  background: rgba(139, 126, 114, 0.24);
}

.investor-phase-step {
  position: relative;
  z-index: 1;
  padding-top: 34px;
}

.investor-phase-marker {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--paper-strong);
  border: 2px solid rgba(139, 126, 114, 0.38);
  box-shadow: 0 0 0 8px var(--paper-strong);
}

.investor-phase-step.is-done .investor-phase-marker {
  background: #6b8f73;
  border-color: #6b8f73;
}

.investor-phase-step.is-active .investor-phase-marker {
  border-color: var(--dark);
  background: var(--paper-strong);
  box-shadow: 0 0 0 8px var(--paper-strong), inset 0 0 0 6px var(--dark);
}

.investor-phase-date {
  color: var(--text);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.investor-phase-step h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  line-height: 1.05;
  font-weight: 500;
}

.investor-phase-step span {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.investor-phase-step p {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 760px) {
  .investor-phase-track {
    grid-template-columns: 1fr;
    padding-left: 26px;
  }
  .investor-phase-track::before {
    left: 12px;
    right: auto;
    top: 34px;
    bottom: 0;
    width: 2px;
    height: auto;
  }
  .investor-phase-step {
    padding-top: 0;
    padding-left: 22px;
  }
  .investor-phase-marker {
    left: -26px;
    top: 2px;
  }
}


/* --------------------------------------------------------------------------
   SIGNATTURA v05 — investor-only / blanco-negro / multi-proyecto
   -------------------------------------------------------------------------- */
body.page-investor-landing,
body.page-investor-login,
body.page-investor-overview,
body.page-investor-reporting {
  --bg: #ffffff;
  --paper: #ffffff;
  --paper-strong: #ffffff;
  --text: #050505;
  --muted: #737780;
  --border: #e5e5e5;
  --dark: #000000;
  --dark-soft: rgba(0, 0, 0, 0.84);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.07);
  background: #ffffff;
  color: #050505;
  font-family: var(--sans);
}

body.page-investor-landing .site-header,
body.page-investor-login .site-header,
body.page-investor-overview .site-header,
body.page-investor-reporting .site-header,
.site-header-investor {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #ececec;
  backdrop-filter: blur(14px);
}

body.page-investor-landing .header-inner,
body.page-investor-login .header-inner,
body.page-investor-overview .header-inner,
body.page-investor-reporting .header-inner {
  min-height: 86px;
}

body.page-investor-landing .brand-logo,
body.page-investor-login .brand-logo,
body.page-investor-overview .brand-logo,
body.page-investor-reporting .brand-logo {
  width: clamp(158px, 15vw, 220px);
  max-height: 42px;
}

body.page-investor-landing .nav-link,
body.page-investor-login .nav-link,
body.page-investor-overview .nav-link,
body.page-investor-reporting .nav-link {
  color: #050505;
  border: 1px solid #050505;
  border-radius: 999px;
  padding: 12px 22px;
  letter-spacing: 0.04em;
  font-size: 0.86rem;
}

body.page-investor-landing .nav-link:hover,
body.page-investor-login .nav-link:hover,
body.page-investor-overview .nav-link:hover,
body.page-investor-reporting .nav-link:hover {
  background: #050505;
  color: #ffffff;
}

.investor-only-main {
  padding-top: 86px;
}

.investor-only-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 86px);
  display: flex;
  align-items: center;
  padding: clamp(76px, 9vw, 150px) 0;
  background: #ffffff;
}

.investor-only-bg-word {
  position: absolute;
  inset: -12vw -6vw auto -6vw;
  font-family: var(--sans);
  font-size: clamp(7rem, 19vw, 22rem);
  font-weight: 900;
  letter-spacing: -0.11em;
  line-height: 0.8;
  color: rgba(0, 0, 0, 0.035);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

.investor-only-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: clamp(42px, 6vw, 92px);
  align-items: center;
}

.investor-only-copy h1 {
  font-size: clamp(4.2rem, 8vw, 10rem);
  line-height: 0.88;
  letter-spacing: -0.065em;
  font-weight: 900;
  text-transform: uppercase;
  max-width: 980px;
  margin: 28px 0 28px;
}

.investor-only-copy p {
  max-width: 760px;
  font-size: clamp(1.1rem, 1.45vw, 1.55rem);
  line-height: 1.58;
  color: #333333;
  margin: 0;
}

.investor-only-actions {
  margin-top: 42px;
}

.investor-only-panel,
.investor-login-card,
.investor-login-project-card,
.investor-state-card,
.investor-card,
.investor-kpi-card,
.investor-status-card,
.investor-report-card,
.investor-report-archive-card,
.units-panel {
  background: #ffffff;
  border: 1px solid #e7e7e7;
  box-shadow: none;
}

.investor-only-panel {
  padding: clamp(26px, 3vw, 44px);
  border-radius: 0;
}

.investor-only-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: baseline;
  border-bottom: 1px solid #e7e7e7;
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.investor-only-panel-head span,
.investor-login-project-card span,
.investor-login-card label span {
  color: #737780;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
}

.investor-only-panel-head strong {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.investor-landing-project-list {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.investor-landing-project {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid #eeeeee;
}

.investor-landing-project h3 {
  margin: 0 0 4px;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.investor-landing-project p,
.investor-only-panel > p {
  margin: 0;
  color: #707070;
  line-height: 1.55;
}

.investor-landing-project span {
  flex: 0 0 auto;
  border: 1px solid #111111;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.investor-landing-project.is-disabled {
  opacity: 0.52;
}

.investor-login-section {
  min-height: calc(100vh - 86px);
  display: flex;
  align-items: center;
  padding: clamp(72px, 8vw, 130px) 0;
  background: #ffffff;
}

.investor-login-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 520px);
  align-items: center;
}

.investor-login-copy h1 {
  font-size: clamp(3.6rem, 6.4vw, 7.8rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-weight: 900;
  text-transform: uppercase;
}

.investor-login-copy p {
  color: #333333;
  font-size: 1.08rem;
}

.investor-login-card,
.investor-login-project-card {
  border-radius: 0;
}

.investor-login-card input,
.investor-login-card select {
  width: 100%;
  border: 1px solid #d7d7d7;
  background: #ffffff;
  color: #050505;
  border-radius: 0;
  min-height: 54px;
  padding: 0 15px;
  outline: none;
}

.investor-login-card select:focus,
.investor-login-card input:focus {
  border-color: #050505;
}

.investor-login-card select option:disabled {
  color: #9b9b9b;
}

.button.button-dark,
body.page-investor-landing .button-dark,
body.page-investor-login .button-dark,
body.page-investor-overview .button-dark,
body.page-investor-reporting .button-dark {
  background: #050505;
  border-color: #050505;
  color: #ffffff;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

body.page-investor-landing .button-ghost,
body.page-investor-login .button-ghost,
body.page-investor-overview .button-ghost,
body.page-investor-reporting .button-ghost {
  border-color: #050505;
  color: #050505;
  border-radius: 999px;
  background: #ffffff;
}

body.page-investor-overview .investor-hero {
  background: #ffffff;
  border-bottom: 1px solid #eeeeee;
}

body.page-investor-overview .investor-hero h1,
body.page-investor-reporting .page-hero h1,
body.page-investor-overview .section-head h2,
body.page-investor-reporting .section-head h1,
body.page-investor-reporting .section-head h2 {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.045em;
}

body.page-investor-overview .section-alt,
body.page-investor-reporting .section-alt {
  background: #fafafa;
}

body.page-investor-overview .investor-soft-label,
body.page-investor-reporting .investor-soft-label,
body.page-investor-overview .eyebrow-dark,
body.page-investor-reporting .eyebrow-dark,
body.page-investor-login .eyebrow-dark,
body.page-investor-landing .eyebrow-dark {
  color: #737780;
}

@media (max-width: 980px) {
  .investor-only-layout,
  .investor-login-grid {
    grid-template-columns: 1fr;
  }
  .investor-only-copy h1,
  .investor-login-copy h1 {
    font-size: clamp(3.2rem, 16vw, 5.6rem);
  }
}

@media (max-width: 720px) {
  body.page-investor-landing .site-nav,
  body.page-investor-login .site-nav,
  body.page-investor-overview .site-nav,
  body.page-investor-reporting .site-nav {
    display: none;
  }
  .investor-only-hero,
  .investor-login-section {
    padding-top: 46px;
  }
}
