:root {
  --ink: #07172f;
  --ink-soft: rgba(7, 23, 47, .72);
  --ink-muted: rgba(7, 23, 47, .58);
  --blue-top: #4a7fdc;
  --blue-mid: #1f4fbf;
  --blue-deep: #123a92;
  --blue-night: #07172f;
  --line: rgba(7, 23, 47, .12);
  --paper: #ffffff;
  --paper-soft: #f6f8fc;
  --gold: #c8a45d;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: Arial, Helvetica, sans-serif;
  --header-offset: clamp(128px, 14vh, 166px);
  --page-gutter: clamp(24px, 4vw, 64px);
  --site-width: 1120px;
  --h1-page: clamp(38px, 6.1vw, 94px);
  --h1-home: clamp(44px, 7.3vw, 116px);
  --h2-section: clamp(32px, 4vw, 64px);
  --body-large: clamp(19px, 1.35vw, 24px);
  --body: 16px;
  --label: 11px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-loaded .reveal {
  opacity: 1;
  transform: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 24px;
  left: 50%;
  width: min(1120px, calc(100% - 120px));
  min-height: 58px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(34px, 5vw, 76px);
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.80), rgba(255,255,255,.54));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.88), 0 18px 58px rgba(5,31,78,.14);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  justify-self: start;
}

.brand-plate--svg-img {
  display: inline-flex;
  width: 222px;
  height: 35px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.brand-plate--footer.brand-plate--svg-img {
  width: 178px;
  height: 28px;
}

.site-logo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  justify-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.8vw, 34px);
  min-height: 38px;
  padding: 0 clamp(24px, 2.5vw, 48px) 0 0;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(13px, .88vw, 16px);
  line-height: 1;
  letter-spacing: .045em;
  font-weight: 500;
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 6px;
  height: 1px;
  background: var(--blue-mid);
  transition: right .24s ease;
}

.site-nav a:hover::after {
  right: 0;
}

.nav-home-icon {
  display: block;
  width: 1.1em;
  height: 1.1em;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 36px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(7,23,47,.14);
  border-radius: 10px;
  background: rgba(255,255,255,.45);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--ink);
}

/* Verdico home hero metrics rail: production owner. */
.hero--home .hero-stats {
  margin-top: clamp(22px, 3.2vh, 34px);
  width: min(820px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: clamp(14px, 2.6vw, 34px);
  padding: 12px 0 11px;
  border-top: 1px solid rgba(235, 210, 150, 0.24);
  border-bottom: 1px solid rgba(235, 210, 150, 0.12);
  background: linear-gradient(
    90deg,
    rgba(3, 14, 32, 0) 0%,
    rgba(3, 14, 32, 0.24) 18%,
    rgba(3, 14, 32, 0.24) 82%,
    rgba(3, 14, 32, 0) 100%
  );
  pointer-events: none;
}

.hero--home .hero-stat {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  justify-content: center;
  column-gap: 9px;
}

.hero--home .hero-stat__value {
  display: block;
  white-space: nowrap;
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.35vw, 36px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.035em;
  color: #d2b05f;
  text-shadow: 0 10px 22px rgba(0, 0, 0, 0.32);
}

.hero--home .hero-stat__label {
  display: block;
  max-width: 142px;
  font-family: var(--font-sans);
  font-size: clamp(8.5px, 0.62vw, 9.5px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.115em;
  text-transform: uppercase;
  color: rgba(255, 244, 214, 0.72);
  text-shadow: 0 9px 20px rgba(0, 0, 0, 0.30);
}

@media (max-width: 760px) {
  .hero--home .hero-stats {
    margin-top: 20px;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 12px 0;
  }

  .hero--home .hero-stat {
    grid-template-columns: auto 1fr;
    justify-content: start;
  }

  .hero--home .hero-stat__value {
    font-size: 28px;
  }

  .hero--home .hero-stat__label {
    max-width: none;
    font-size: 9px;
  }
}

.hero {
  position: relative;
}

.hero--home,
.hero--page {
  min-height: 78vh;
  display: grid;
  align-items: center;
  padding: var(--header-offset) var(--page-gutter) clamp(72px, 10vh, 120px);
}

.hero--home {
  min-height: 92vh;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(4,20,52,.94), rgba(7,47,111,.72) 52%, rgba(14,67,145,.44)),
    radial-gradient(circle at 78% 38%, rgba(255,255,255,.20), transparent 34%),
    linear-gradient(180deg, var(--blue-top), var(--blue-mid) 50%, var(--blue-deep));
}

.hero--clean {
  background:
    radial-gradient(circle at 82% 22%, rgba(74,127,220,.16), transparent 34%),
    linear-gradient(180deg, #fff, #f6f8fc);
  color: var(--ink);
}

.hero--visual {
  overflow: hidden;
  color: #fff;
  background-color: var(--blue-night);
}

.hero--visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-image, linear-gradient(135deg, var(--blue-top), var(--blue-deep))) center / cover no-repeat;
  transform: scale(1.01);
}

.hero--visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4,20,52,.92), rgba(7,39,91,.66) 48%, rgba(7,39,91,.32)),
    radial-gradient(circle at 22% 32%, rgba(255,255,255,.13), transparent 34%);
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.hero--with-video::before {
  opacity: .28;
}

.hero--home.hero--with-video::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4,20,52,.94), rgba(7,47,111,.72) 52%, rgba(14,67,145,.46)),
    radial-gradient(circle at 78% 38%, rgba(255,255,255,.15), transparent 34%);
  pointer-events: none;
}

.hero--home .hero-media {
  opacity: .48;
}

.hero--energy .hero-media {
  opacity: .56;
}

.hero--with-video .hero-content {
  position: relative;
  z-index: 2;
}

.hero--energy {
  --hero-image:
    radial-gradient(circle at 78% 30%, rgba(255,255,255,.22), transparent 26%),
    linear-gradient(135deg, #061938 0%, #113d8e 46%, #4a7fdc 100%);
}

.hero--realestate {
  --hero-image: url("../assets/images/real-estate-page.avif");
}

.hero-content {
  width: min(var(--site-width), 100%);
  margin: 0 auto;
}

.hero--visual .hero-content {
  position: relative;
  z-index: 1;
}

.hero-content--page {
  max-width: 980px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: var(--label);
  line-height: 1;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero--visual .eyebrow {
  color: rgba(255,255,255,.76);
}
.hero--home .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 26px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--h1-page);
  line-height: .98;
  letter-spacing: -.055em;
}

.hero--home h1 {
  max-width: 920px;
  font-size: var(--h1-home);
}

.hero--visual h1,
.hero--home h1 {
  color: #fff;
}

.hero-subtitle {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: var(--body-large);
  line-height: 1.55;
}

.hero--visual .hero-subtitle,
.hero--home .hero-subtitle {
  color: rgba(255,255,255,.88);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.btn--light {
  color: var(--ink);
  background: rgba(255,255,255,.88);
}

.btn--ghost {
  color: #fff;
  background: rgba(255,255,255,.08);
}

.section {
  padding: clamp(76px, 9vw, 132px) var(--page-gutter);
}

.section--white {
  background: #fff;
}

.section--cool {
  background:
    radial-gradient(circle at 82% 20%, rgba(74,127,220,.12), transparent 30%),
    linear-gradient(180deg, #f8faff, #fff);
}

.section-inner,
.text-columns,
.card-grid,
.footer-inner,
.footer-bottom {
  width: min(var(--site-width), 100%);
  margin: 0 auto;
}

.text-columns {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(42px, 6vw, 92px);
  align-items: start;
}

.text-columns h2,
.section-title {
  margin: 0;
  font-weight: 400;
  font-size: var(--h2-section);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.text-columns p,
.editorial-copy p {
  margin-bottom: 24px;
  color: var(--ink-soft);
  font-size: var(--body-large);
  line-height: 1.58;
}

.text-columns p:last-child,
.editorial-copy p:last-child {
  margin-bottom: 0;
}

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

.insight-card {
  min-height: 238px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.74);
  box-shadow: 0 18px 54px rgba(7,23,47,.08);
}

.insight-card h3 {
  margin-bottom: 16px;
  font-weight: 400;
  font-size: clamp(25px, 2vw, 34px);
  line-height: 1.1;
  letter-spacing: -.03em;
}

.insight-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.58;
}

.principles-panel {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(300px, .75fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
  width: min(var(--site-width), 100%);
  margin: 0 auto;
}

.principles-panel img {
  width: 100%;
  display: block;
  border-radius: 22px;
  box-shadow: 0 24px 74px rgba(7,23,47,.16);
}

.quote-large {
  margin: 0 0 30px;
  font-style: italic;
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.18;
  letter-spacing: -.035em;
  color: var(--ink);
}

.principle-list {
  display: grid;
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.principle-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.45;
}

.principle-list span {
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.contact-panel {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(7,23,47,.10);
}

.contact-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.contact-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.contact-row strong {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-row a,
.contact-row span {
  color: var(--ink);
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.2;
}

.site-footer {
  padding: 42px var(--page-gutter) 20px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.04) 32%, rgba(0,0,0,.06)),
    linear-gradient(180deg, var(--blue-top), var(--blue-mid) 52%, var(--blue-deep));
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 38px;
  align-items: start;
}

.footer-brand p {
  max-width: 410px;
  margin: 14px 0 0;
  color: rgba(255,255,255,.86);
  font-size: 13px;
  line-height: 1.55;
}

.footer-col h3 {
  margin-bottom: 10px;
  color: rgba(255,255,255,.72);
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: .20em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  margin: 7px 0;
  color: rgba(255,255,255,.92);
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.20);
  color: rgba(255,255,255,.74);
  font-size: 11px;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .55s ease, transform .55s ease;
}

@media (max-width: 980px) {
  :root {
    --header-offset: 116px;
  }

  .site-header {
    top: 12px;
    left: 12px;
    right: 12px;
    width: auto;
    transform: none;
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 18px;
  }

  .brand-plate--svg-img {
    width: 182px;
    height: 29px;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    left: 12px;
    right: 12px;
    display: grid;
    gap: 0;
    padding: 12px 18px;
    border: 1px solid rgba(255,255,255,.58);
    border-radius: 14px;
    background: rgba(255,255,255,.90);
    box-shadow: 0 18px 58px rgba(5,31,78,.14);
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .22s ease, transform .22s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    min-height: 44px;
    padding: 0 8px;
    border-bottom: 1px solid rgba(7, 23, 47, 0.06);
  }

  .site-nav a:last-child {
    border-bottom: none;
  }

  .hero--home,
  .hero--page {
    min-height: 72vh;
  }

  .text-columns,
  .principles-panel,
  .contact-row {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .site-nav {
    transition: none;
  }
}

/* Verdico media runtime fix: video must be the moving hero layer, not a poster/background substitute. */
.hero--with-video {
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  background: #07172f;
}

.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  z-index: 0;
}

.hero-media img,
.hero-media picture,
.hero-media .poster,
.hero-media .hero-poster {
  display: none;
}

.hero--with-video .hero-content,
.hero--with-video .hero-inner {
  position: relative;
  z-index: 2;
}

.hero--with-video::before {
  z-index: 1;
  pointer-events: none;
}

/* Verdico video clarity pass: preserve text contrast while letting the moving video breathe. */
.hero--with-video .hero-media video,
.hero-media video.hero-video {
  opacity: 1;
  filter: saturate(1.14) contrast(1.08) brightness(1.1);
}

.hero--with-video::before {
  background:
    linear-gradient(
      90deg,
      rgba(4, 17, 39, 0.58) 0%,
      rgba(4, 17, 39, 0.34) 38%,
      rgba(4, 17, 39, 0.14) 72%,
      rgba(4, 17, 39, 0.08) 100%
    );
}

.hero--with-video::after,
.hero--home.hero--with-video::after {
  background:
    radial-gradient(circle at 72% 30%, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(
      180deg,
      rgba(6, 22, 48, 0.18) 0%,
      rgba(6, 22, 48, 0.08) 48%,
      rgba(6, 22, 48, 0.26) 100%
    );
  opacity: 1;
  pointer-events: none;
}


/* Verdico Principles hero video: watch background behind title only. */
.hero--principles-video {
  color: #ffffff;
  background: #07172f;
}

.hero--principles-video .hero-content {
  position: relative;
  z-index: 2;
}

.hero--principles-video .eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.hero--principles-video h1 {
  color: #ffffff;
  text-shadow: 0 22px 72px rgba(0, 0, 0, 0.38);
}

.hero--principles-video::before {
  background:
    linear-gradient(
      90deg,
      rgba(4, 17, 39, 0.74) 0%,
      rgba(4, 17, 39, 0.5) 42%,
      rgba(4, 17, 39, 0.2) 76%,
      rgba(4, 17, 39, 0.1) 100%
    );
}

.hero--principles-video::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 28%, rgba(255, 255, 255, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(6, 22, 48, 0.12) 0%, rgba(6, 22, 48, 0.04) 48%, rgba(6, 22, 48, 0.28) 100%);
}

/* Verdico Principles body layout: readable letter composition under video hero. */
.principles-letter-section {
  padding-top: clamp(88px, 10vw, 140px);
  padding-bottom: clamp(96px, 12vw, 160px);
}

.principles-letter {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 0.62fr) minmax(520px, 1fr);
  gap: clamp(56px, 7vw, 104px);
  align-items: start;
}

.principles-letter__intro {
  position: sticky;
  top: 132px;
}

.principles-letter__intro h2 {
  margin: 16px 0 0;
  max-width: 340px;
  font-family: var(--font-serif);
  font-size: clamp(34px, 3.2vw, 52px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.principles-letter__body {
  max-width: 660px;
  color: rgba(9, 24, 48, 0.82);
  font-size: clamp(17px, 1.15vw, 20px);
  line-height: 1.66;
}

.principles-letter__body p {
  margin: 0 0 22px;
}

.principles-letter__body strong {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 860px) {
  .principles-letter {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .principles-letter__intro {
    position: static;
  }

  .principles-letter__intro h2,
  .principles-letter__body,
  .contact-latin__translation {
    max-width: none;
  }
}

/* Verdico Principles numbered list. */
.principles-list {
  list-style: none;
  margin: 34px 0 34px;
  padding: 0;
  display: grid;
  gap: 18px;
}

.principles-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: start;
}

.principles-list__number {
  display: block;
  min-width: 20px;
  color: #2f5fd7;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.principles-list strong {
  display: block;
  margin: 2px 0 4px;
  color: var(--ink);
  font-size: 1.02em;
}

.principles-list p {
  margin: 0;
}

@media (max-width: 640px) {
  .principles-list li {
    grid-template-columns: 28px 1fr;
    gap: 12px;
  }

  .principles-list__number {
    display: block;
    min-width: 20px;
    color: #2f5fd7;
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.02em;
  }
}

.hero--home .hero-stats {
  margin-top: clamp(24px, 3.6vh, 36px);
  width: min(880px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: clamp(16px, 3vw, 38px);
  padding: 13px 0 12px;
  border-top: 1px solid rgba(235, 210, 150, 0.24);
  border-bottom: 1px solid rgba(235, 210, 150, 0.13);
  background:
    linear-gradient(90deg, rgba(3, 14, 32, 0) 0%, rgba(3, 14, 32, 0.24) 18%, rgba(3, 14, 32, 0.24) 82%, rgba(3, 14, 32, 0) 100%);
  pointer-events: none;
}

.hero--home .hero-stat {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  justify-content: center;
  column-gap: 10px;
  color: rgba(255, 247, 223, 0.82);
}

.hero--home .hero-stat__value {
  display: block;
  white-space: nowrap;
  font-family: var(--font-serif);
  font-size: clamp(28px, 2.7vw, 40px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: #d7b45f;
  text-shadow: 0 12px 24px rgba(0, 0, 0, 0.32);
}

.hero--home .hero-stat__label {
  display: block;
  max-width: 150px;
  font-family: var(--font-sans);
  font-size: clamp(9px, 0.68vw, 10px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 244, 214, 0.72);
  text-shadow: 0 10px 22px rgba(0, 0, 0, 0.30);
}

@media (max-width: 760px) {
  .hero--home .hero-stats {
    margin-top: 20px;
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 12px 0;
  }

  .hero--home .hero-stat {
    grid-template-columns: auto 1fr;
    justify-content: start;
  }

  .hero--home .hero-stat__value {
    font-size: 29px;
  }

  .hero--home .hero-stat__label {
    max-width: none;
    font-size: 9px;
  }
}

/* Verdico footer LinkedIn soft reveal: production owner. */
.footer-linkedin {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  width: max-content;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1;
  opacity: 0.9;
  transform: translateY(0);
  transition:
    opacity 620ms ease,
    transform 760ms cubic-bezier(.2, .78, .22, 1);
}

.footer-linkedin__symbol {
  display: inline-grid !important;
  place-items: center;
  width: 10px !important;
  height: 10px !important;
  min-width: 10px !important;
  max-width: 10px !important;
  min-height: 10px !important;
  max-height: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.94);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 6.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  text-transform: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transform: translateY(0.5px);
  transition:
    opacity 560ms ease 90ms,
    clip-path 760ms cubic-bezier(.2, .78, .22, 1) 90ms,
    transform 760ms cubic-bezier(.2, .78, .22, 1) 90ms;
}

.footer-linkedin__text {
  display: inline-block;
  opacity: 0.9;
  transform: translateX(0);
  transition:
    opacity 560ms ease 160ms,
    transform 680ms cubic-bezier(.2, .78, .22, 1) 160ms;
}

.js .footer-linkedin {
  opacity: 0;
  transform: translateY(5px);
}

.js .footer-linkedin .footer-linkedin__symbol {
  opacity: 0;
  clip-path: inset(100% 0 0 0);
  transform: translateY(3px);
}

.js .footer-linkedin .footer-linkedin__text {
  opacity: 0;
  transform: translateX(-2px);
}

.js .footer-linkedin.is-visible {
  opacity: 0.9;
  transform: translateY(0);
}

.js .footer-linkedin.is-visible .footer-linkedin__symbol {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transform: translateY(0.5px);
}

.js .footer-linkedin.is-visible .footer-linkedin__text {
  opacity: 0.9;
  transform: translateX(0);
}

.footer-linkedin:hover,
.footer-linkedin:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

.footer-linkedin:hover .footer-linkedin__text,
.footer-linkedin:focus-visible .footer-linkedin__text {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .footer-linkedin,
  .footer-linkedin__symbol,
  .footer-linkedin__text,
  .js .footer-linkedin,
  .js .footer-linkedin .footer-linkedin__symbol,
  .js .footer-linkedin .footer-linkedin__text {
    transition: none;
    transform: none;
    clip-path: none;
    opacity: 1;
  }
}

/* Verdico Energy page — thunder hero, infra lanes, operating-footprint map. */
.hero--energy .hero-media {
  opacity: .78;
}

.hero--energy .hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero--energy.hero--with-video::after {
  background:
    linear-gradient(90deg, rgba(4,16,38,.62) 0%, rgba(6,26,58,.32) 52%, rgba(6,26,58,.14) 100%),
    radial-gradient(circle at 78% 36%, rgba(255,255,255,.10), transparent 38%);
}

.energy-infra-section {
  background:
    radial-gradient(circle at 12% -10%, rgba(74,127,220,.10), transparent 38%),
    radial-gradient(circle at 92% 110%, rgba(200,164,93,.07), transparent 42%),
    linear-gradient(180deg, #f7f9fd 0%, #ffffff 100%);
}

.energy-infra-inner {
  width: min(var(--site-width), 100%);
  margin: 0 auto;
}

.energy-infra-header {
  max-width: 760px;
  margin-bottom: clamp(36px, 4vw, 56px);
}

.energy-infra-header h2 {
  margin: 0;
  font-weight: 400;
  font-size: var(--h2-section);
  line-height: 1.06;
  letter-spacing: -.04em;
}

.energy-infra-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 22px);
}

.energy-infra-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(26px, 2.4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(246,248,252,.86));
  box-shadow: 0 22px 56px rgba(7,23,47,.08);
  transition: transform .42s cubic-bezier(.2,.78,.22,1), box-shadow .42s ease, border-color .42s ease;
}

.energy-infra-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(26px, 2.4vw, 34px);
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(200,164,93,0));
  opacity: .85;
}

.energy-infra-card:hover {
  transform: translateY(-2px);
  border-color: rgba(7,23,47,.18);
  box-shadow: 0 28px 64px rgba(7,23,47,.12);
}

.energy-infra-card__rubric {
  font-family: var(--font-sans);
  font-size: var(--label);
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}

.energy-infra-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(22px, 1.7vw, 28px);
  line-height: 1.18;
  letter-spacing: -.025em;
  color: var(--ink);
}

.energy-infra-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.55;
}

.energy-infra-card__meta {
  list-style: none;
  margin: auto 0 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(7,23,47,.08);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(7,23,47,.62);
}

.energy-infra-card__meta li {
  position: relative;
  padding-right: 14px;
}

.energy-infra-card__meta li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 3px;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .55;
}

.energy-map-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 18% 12%, rgba(74,127,220,.32), transparent 42%),
    radial-gradient(circle at 86% 88%, rgba(200,164,93,.10), transparent 44%),
    linear-gradient(180deg, #061731 0%, #07172f 60%, #04122a 100%);
}

.energy-map-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.05), transparent 60%);
  pointer-events: none;
}

.energy-map-inner {
  position: relative;
  width: min(var(--site-width), 100%);
  margin: 0 auto;
}

.energy-map-header {
  max-width: 760px;
  margin-bottom: clamp(28px, 3.4vw, 44px);
}

.energy-map-header .eyebrow {
  color: rgba(255, 244, 214, 0.78);
}

.energy-map-header h2 {
  margin: 0 0 14px;
  font-weight: 400;
  font-size: var(--h2-section);
  line-height: 1.05;
  letter-spacing: -.04em;
  color: #fff;
}

.energy-map-header p {
  margin: 0;
  max-width: 640px;
  color: rgba(255,255,255,.78);
  font-size: var(--body-large);
  line-height: 1.55;
}

.energy-cobe-layout {
  display: flex;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}

.energy-cobe-stage {
  flex: 0 0 auto;
  width: clamp(260px, 44%, 500px);
}

.energy-cobe-canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  filter: drop-shadow(0 0 40px rgba(95, 143, 216, 0.18));
  cursor: grab;
  touch-action: none;
}

.energy-cobe-canvas:active {
  cursor: grabbing;
}

.energy-cobe-sidebar {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 28px);
}

.energy-cobe-sidebar .energy-market-list {
  margin: 0;
  justify-content: flex-start;
}

.energy-cobe-sidebar .energy-region-focus {
  margin: 0;
  max-width: none;
  text-align: left;
}

.energy-market-list {
  margin: clamp(24px, 2.8vw, 36px) auto 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  max-width: 100%;
}

.energy-market-pill {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.86);
  font-family: var(--font-sans);
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background .35s ease,
    border-color .35s ease,
    color .35s ease,
    transform .35s cubic-bezier(.2,.78,.22,1);
}

.energy-market-pill:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.22);
  color: #fff;
  transform: translateY(-1px);
}

.energy-market-pill:focus-visible {
  outline: 2px solid rgba(95, 143, 232, .55);
  outline-offset: 3px;
}

.energy-market-pill::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 10px;
  border-radius: 50%;
  background: #5f8fe8;
  box-shadow: 0 0 0 2px rgba(95, 143, 232, .20);
  transition: box-shadow .35s ease, background .35s ease;
}

.energy-market-pill[aria-pressed="true"] {
  background: rgba(95, 143, 232, .16);
  border-color: rgba(95, 143, 232, .50);
  color: #fff;
}

.energy-market-pill[aria-pressed="true"]::before {
  background: #8db1ff;
  box-shadow:
    0 0 0 3px rgba(95, 143, 232, .30),
    0 0 14px rgba(95, 143, 232, .55);
}

.energy-region-focus {
  margin: clamp(18px, 2vw, 26px) auto 0;
  padding: clamp(16px, 1.4vw, 20px) clamp(20px, 2vw, 28px);
  max-width: 720px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition:
    border-color .45s ease,
    background .45s ease;
}

.energy-region-focus__rubric {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(141, 177, 255, .82);
  transition: color .45s ease;
}

.energy-region-focus__name {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-serif);
  font-size: clamp(20px, 1.55vw, 26px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -.015em;
  color: #fff;
}

.energy-region-focus__body {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255,255,255,.72);
}

.energy-region-focus.is-active {
  border-color: rgba(95, 143, 232, .26);
  background: rgba(95, 143, 232, .06);
}

@media (max-width: 980px) {
  .energy-infra-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .energy-map-header h2,
  .energy-infra-header h2 {
    font-size: clamp(32px, 7vw, 44px);
  }

  .energy-cobe-layout {
    flex-direction: column;
    align-items: stretch;
    gap: clamp(24px, 5vw, 40px);
  }

  .energy-cobe-stage {
    width: min(340px, 100%);
    margin: 0 auto;
  }

  .energy-cobe-sidebar .energy-market-list {
    justify-content: center;
  }

  .energy-cobe-sidebar .energy-region-focus {
    text-align: center;
  }

  .energy-market-pill {
    font-size: 10.5px;
    padding: 7px 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .energy-infra-card,
  .energy-infra-card:hover {
    transition: none;
    transform: none;
  }
}

/* Verdico Law page: image hero */
.hero--law {
  --hero-image: url("../assets/images/lawpage.avif");
}

.hero--law::before,
.hero--contact::before {
  animation: rs-drift 9s ease-out forwards;
}


/* Verdico Contact page: image hero with refined atmospheric overlay and elegant email reach. */
.hero--contact {
  --hero-image: url("../assets/images/contactpage.avif");
}

.hero--contact::after {
  background:
    linear-gradient(
      180deg,
      rgba(4, 17, 39, 0.46) 0%,
      rgba(4, 17, 39, 0.16) 44%,
      rgba(4, 17, 39, 0.62) 100%
    ),
    linear-gradient(
      90deg,
      rgba(4, 17, 39, 0.42) 0%,
      rgba(4, 17, 39, 0.10) 52%,
      rgba(4, 17, 39, 0.06) 100%
    ),
    radial-gradient(circle at 58% 36%, rgba(255, 255, 255, 0.07), transparent 38%);
}

/* =====================================================================
   Contact page: Latin proverb in sticky left rubric
   ===================================================================== */

.contact-latin__translation {
  margin: 8px 0 0;
  max-width: 280px;
  font-family: var(--font-serif);
  font-size: clamp(13px, 0.88vw, 15px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink-muted);
}

.contact-reach {
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid rgba(7, 23, 47, 0.10);
}

.contact-reach__email {
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.22vw, 20px);
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
  transition: color 0.22s ease;
}

.contact-reach__email:hover,
.contact-reach__email:focus-visible {
  color: var(--blue-mid);
}

.contact-icons {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
}

.contact-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.72;
  transition: opacity 0.22s ease;
}

.contact-icon-link:hover,
.contact-icon-link:focus-visible {
  opacity: 1;
}

.contact-icon-link img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

/* =====================================================================
   Verdico Real Estate hero slider: production owner.
   ===================================================================== */

/* Remove static ::before image — replaced by .hero-slider */
.hero--realestate {
  --hero-image: none;
}

/* Ensure the ::after dark-gradient veil sits above the slides */
.hero--realestate::after {
  z-index: 1;
}

/* Hero content floats above veil */
.hero--with-slider .hero-content {
  position: relative;
  z-index: 2;
}

/* Slider container — same footprint as .hero-media */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Individual slides */
.hero-slide {
  position: absolute;
  inset: 0;
  background: center / cover no-repeat;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
  will-change: opacity, transform;
  transform: scale(1.04);
}

.hero-slide.is-active {
  opacity: 1;
  animation: rs-drift 9s ease-out forwards;
}

@keyframes rs-drift {
  from { transform: scale(1.04); }
  to   { transform: scale(1.0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
    animation: none;
    transform: none;
  }
  .hero-slide.is-active {
    animation: none;
    transform: none;
  }
}

/* =====================================================================
   Footer legal links — three-link row in footer-bottom
   ===================================================================== */

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.footer-legal-links a + a::before {
  content: "·";
  margin: 0 9px;
  color: rgba(255,255,255,.32);
}

/* =====================================================================
   Legal / Policy pages — section sub-headings and date stamp
   ===================================================================== */

.legal-section-head {
  margin: 34px 0 8px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}

.legal-section-head:first-child {
  margin-top: 0;
}

.legal-date {
  display: block;
  margin-bottom: 32px;
  font-size: 11px;
  letter-spacing: .06em;
  color: rgba(9, 24, 48, 0.40);
}

/* =====================================================================
   Supplementary responsive breakpoints
   ===================================================================== */

/* Tablet portrait: footer 2-col (brand spans full width, link cols side by side) */
@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Large phone / phone landscape: single-column card grids */
@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .energy-infra-grid {
    grid-template-columns: 1fr;
  }
}

/* Small phone: footer fully stacked; h1 letter-spacing eased for narrow columns */
@media (max-width: 480px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  h1 {
    letter-spacing: -0.04em;
  }
}
