:root {
  --green-950: #032316;
  --green-900: #073b25;
  --green-800: #0d5836;
  --green-700: #147246;
  --leaf-500: #6d8f45;
  --strawberry-700: #a8172a;
  --strawberry-500: #d73245;
  --gold-500: #b99755;
  --earth-700: #6f5633;
  --earth-200: #e9dcc2;
  --cream-100: #fbf7ef;
  --cream-200: #f3ead7;
  --white: #ffffff;
  --ink-900: #1e2923;
  --gray-700: #56635d;
  --gray-300: #d8ded7;
  --shadow: 0 22px 62px rgba(30, 41, 35, 0.14);
  --shadow-soft: 0 12px 32px rgba(30, 41, 35, 0.1);
  --radius: 8px;
  --container: 1180px;
  --font-heading: Georgia, "Times New Roman", serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink-900);
  background: var(--cream-100);
  font-family: var(--font-body);
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--strawberry-500);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  transform: translateY(-150%);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--green-900);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 2rem, 860px);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled,
.site-header.header-solid,
body.nav-open .site-header {
  color: var(--green-900);
  background: rgba(251, 247, 239, 0.96);
  border-bottom-color: rgba(7, 59, 37, 0.12);
  box-shadow: 0 12px 34px rgba(30, 41, 35, 0.12);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.site-header.is-scrolled .header-inner {
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.68rem;
  min-width: 0;
  margin-right: auto;
  font-weight: 900;
}

.site-logo {
  text-decoration: none;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo-mark img {
  display: block;
  width: auto;
  height: 60px;
  object-fit: contain;
  transition: height 180ms ease;
}

.site-header.is-scrolled .logo-mark img {
  height: 50px;
}

.brand-institutional {
  display: inline-block;
  max-width: 8.6rem;
  color: currentColor;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-header:not(.is-scrolled):not(.nav-open) .brand-institutional,
body.nav-open .brand-institutional {
  opacity: 0.86;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.08rem;
}

.main-nav a,
.nav-dropdown-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.45rem;
  border: 0;
  border-radius: var(--radius);
  padding: 0.54rem 0.5rem;
  background: transparent;
  color: inherit;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.main-nav a:hover,
.nav-dropdown-toggle:hover,
.main-nav a[aria-current="page"],
.nav-dropdown.is-current .nav-dropdown-toggle {
  background: rgba(255, 255, 255, 0.13);
}

.site-header.is-scrolled .main-nav a:hover,
.site-header.is-scrolled .nav-dropdown-toggle:hover,
.site-header.is-scrolled .main-nav a[aria-current="page"],
.site-header.is-scrolled .nav-dropdown.is-current .nav-dropdown-toggle,
body.nav-open .main-nav a:hover,
body.nav-open .nav-dropdown-toggle:hover,
body.nav-open .main-nav a[aria-current="page"],
body.nav-open .nav-dropdown.is-current .nav-dropdown-toggle {
  background: rgba(7, 59, 37, 0.08);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  margin-left: 0.42rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.nav-dropdown.is-open .nav-dropdown-toggle::after {
  transform: translateY(1px) rotate(225deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  z-index: 12;
  width: max-content;
  min-width: 250px;
  display: grid;
  gap: 0.18rem;
  padding: 0.5rem;
  border: 1px solid rgba(7, 59, 37, 0.12);
  border-radius: var(--radius);
  background: var(--cream-100);
  color: var(--green-900);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.dropdown-menu a {
  justify-content: flex-start;
  min-height: 2.55rem;
  padding: 0.7rem 0.78rem;
  color: var(--green-900);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: max-content;
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.8rem;
  min-height: 2.45rem;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 900;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.86rem 1.12rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary,
.header-cta {
  background: var(--green-900);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(7, 59, 37, 0.22);
}

.site-header:not(.is-scrolled) .header-cta {
  background: var(--white);
  color: var(--green-900);
}

.btn-primary:hover,
.header-cta:hover {
  background: var(--green-800);
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline {
  color: var(--green-900);
  border-color: rgba(7, 59, 37, 0.32);
  background: rgba(255, 255, 255, 0.55);
}

.btn-outline:hover {
  border-color: var(--green-900);
  background: rgba(7, 59, 37, 0.06);
}

.btn-light {
  color: var(--green-900);
  background: var(--white);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  color: var(--green-900);
  font-family: var(--font-heading);
  font-weight: 560;
  line-height: 1.04;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h1 {
  max-width: 880px;
  color: var(--white);
  font-size: 4.8rem;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 1.42rem;
}

p {
  margin: 0 0 1rem;
  color: var(--gray-700);
}

.section {
  padding: 6.4rem 0;
}

.section--white {
  background: var(--white);
}

.section--cream {
  background: var(--cream-100);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2.25rem;
}

.section-heading p {
  font-size: 1.04rem;
}

.section-actions {
  margin-top: 2rem;
}

.hero {
  position: relative;
  min-height: 70vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background: var(--green-950);
}

.hero--home {
  min-height: 91vh;
}

.hero--compact {
  min-height: 62vh;
}

.hero-media,
.hero-overlay,
.cta-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img,
.cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-media img {
  transform: translateY(var(--hero-drift, 0));
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 35, 22, 0.94) 0%, rgba(7, 59, 37, 0.76) 46%, rgba(7, 59, 37, 0.2) 100%),
    linear-gradient(180deg, rgba(3, 35, 22, 0.1), rgba(3, 35, 22, 0.38));
}

.hero-content {
  padding: 8.4rem 0 5.2rem;
}

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

.hero-copy p {
  max-width: 710px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  max-width: 100%;
  margin-bottom: 1rem;
  color: var(--gold-500);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: uppercase;
}

.section-kicker {
  color: var(--earth-700);
}

.section-heading--light .section-kicker,
.quality-band .section-kicker {
  color: var(--gold-500);
}

.hero-kicker::before,
.section-kicker::before {
  content: "";
  width: 2.2rem;
  height: 2px;
  background: var(--strawberry-500);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.division-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  max-width: 820px;
  margin-top: 2.2rem;
}

.division-rail a {
  display: inline-flex;
  align-items: center;
  min-height: 2.55rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 0.62rem 0.76rem;
  font-size: 0.84rem;
  font-weight: 850;
  backdrop-filter: blur(10px);
}

.value-grid-layout,
.split-premium {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 4rem;
  align-items: center;
}

.split-premium.reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.value-copy h2 {
  font-size: 2.55rem;
}

.value-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.value-cards article,
.feature-card,
.metric-card,
.contact-form,
.contact-card,
.legal-copy {
  border: 1px solid rgba(7, 59, 37, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.value-cards article {
  padding: 1.3rem;
}

.value-cards h3,
.metric-card h3 {
  font-size: 1.2rem;
}

.sectors-section {
  background: linear-gradient(180deg, var(--cream-100), var(--cream-200));
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.sector-card {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(7, 59, 37, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.sector-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 50, 69, 0.22);
  box-shadow: var(--shadow);
}

.sector-card figure,
.feature-card-image,
.premium-frame {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--green-900);
}

.sector-card figure {
  aspect-ratio: 16 / 11;
}

.sector-card--abstract {
  display: grid;
  grid-template-rows: auto 1fr;
  background:
    linear-gradient(155deg, rgba(251, 247, 239, 0.98), rgba(236, 221, 196, 0.9)),
    radial-gradient(circle at 18% 18%, rgba(201, 160, 87, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(7, 59, 37, 0.12), transparent 42%);
}

.sector-abstract {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 150px;
  overflow: hidden;
  border-bottom: 1px solid rgba(7, 59, 37, 0.1);
  background:
    linear-gradient(135deg, rgba(6, 63, 36, 0.94), rgba(51, 91, 62, 0.9)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 14px);
}

.sector-abstract::before,
.sector-abstract::after {
  content: "";
  position: absolute;
  inset: 1.1rem;
  border: 1px solid rgba(251, 247, 239, 0.2);
  border-radius: var(--radius);
}

.sector-abstract::after {
  inset: 2rem;
  border-color: rgba(201, 160, 87, 0.3);
}

.sector-abstract span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 4.3rem;
  height: 4.3rem;
  border: 1px solid rgba(251, 247, 239, 0.34);
  border-radius: 50%;
  background: rgba(251, 247, 239, 0.12);
  color: var(--cream-100);
  font-size: 1.25rem;
  font-weight: 900;
}

.sector-card img,
.feature-card-image img,
.premium-frame img,
.editorial-mosaic img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sector-card-body {
  padding: 1.1rem;
}

.sector-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  min-height: 2.2rem;
  margin-bottom: 0.85rem;
  border-radius: var(--radius);
  background: var(--green-900);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
}

.sector-card h3 {
  min-height: 3rem;
  font-size: 1.18rem;
}

.sector-card p {
  font-size: 0.92rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.2rem;
  color: var(--green-800);
  font-weight: 900;
}

.text-link::after {
  content: "";
  width: 0.44rem;
  height: 0.44rem;
  margin-left: 0.42rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.metrics-section {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88)),
    linear-gradient(135deg, var(--earth-200), var(--cream-100));
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.metric-card {
  min-height: 154px;
  padding: 1.15rem;
  background: linear-gradient(180deg, var(--white), rgba(243, 234, 215, 0.5));
}

.metric-card span {
  display: block;
  width: 2rem;
  height: 3px;
  margin-bottom: 1.2rem;
  background: var(--strawberry-500);
}

.vision-section,
.tech-list-section,
.division-base,
.sustainability-pillars,
.values-section {
  background: var(--cream-100);
}

.premium-frame {
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-grid.four-grid,
.feature-grid.tech-grid,
.feature-grid.values-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid.tech-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  display: grid;
  min-height: 100%;
  overflow: hidden;
}

.feature-card-image {
  aspect-ratio: 16 / 10;
}

.feature-card-body {
  padding: 1.25rem;
}

.card-index {
  display: inline-block;
  margin-bottom: 0.68rem;
  color: var(--strawberry-700);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mission-vision article {
  height: 100%;
  border-left: 4px solid var(--gold-500);
  padding-left: 1.4rem;
}

.styled-list {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.styled-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--gray-700);
  font-weight: 780;
}

.styled-list li::before {
  content: "";
  position: absolute;
  top: 0.72rem;
  left: 0;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--strawberry-500);
}

.final-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, var(--green-950), var(--green-800));
  color: var(--white);
  padding: 6.4rem 0;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(3, 35, 22, 0.94), rgba(7, 59, 37, 0.74));
}

.final-cta h2 {
  max-width: 760px;
  color: var(--white);
}

.final-cta p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 2rem;
  align-items: start;
}

.contact-form,
.contact-card {
  padding: 1.5rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--green-900);
  font-weight: 850;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid rgba(7, 59, 37, 0.22);
  border-radius: var(--radius);
  background: var(--cream-100);
  color: var(--ink-900);
  padding: 0.86rem;
}

.checkbox-field {
  grid-template-columns: auto 1fr;
  align-items: start;
  color: var(--gray-700) !important;
  font-weight: 650 !important;
}

.checkbox-field input {
  width: auto;
  margin-top: 0.36rem;
}

.contact-card dl {
  display: grid;
  gap: 1rem;
  margin: 1.4rem 0;
}

.contact-card dt {
  color: var(--green-900);
  font-weight: 900;
}

.contact-card dd {
  margin: 0;
  color: var(--gray-700);
  overflow-wrap: anywhere;
}

.form-status {
  color: var(--green-800);
  font-weight: 900;
}

.empty-state {
  max-width: 760px;
  border: 1px solid rgba(7, 59, 37, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--white), rgba(243, 234, 215, 0.45));
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.editorial-mosaic {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: 230px;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: var(--green-900);
  color: inherit;
  padding: 0;
  text-align: left;
  box-shadow: var(--shadow-soft);
}

.gallery-item img {
  transition: transform 420ms ease;
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.mosaic-large {
  grid-column: span 2;
  grid-row: span 2;
}

.mosaic-tall {
  grid-row: span 2;
}

.photo-caption {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  display: inline-flex;
  width: fit-content;
  max-width: calc(100% - 1.6rem);
  border-radius: var(--radius);
  background: rgba(3, 35, 22, 0.8);
  color: var(--white);
  padding: 0.42rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 850;
  backdrop-filter: blur(10px);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.filter-btn {
  border: 1px solid rgba(7, 59, 37, 0.24);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--green-900);
  padding: 0.58rem 0.85rem;
  font-weight: 850;
}

.filter-btn.is-active {
  background: var(--green-900);
  color: var(--white);
  border-color: var(--green-900);
}

.gallery-grid [hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  background: rgba(3, 35, 22, 0.92);
  padding: 2rem;
}

.lightbox.is-open {
  display: grid;
}

.lightbox figure {
  width: min(100%, 1040px);
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lightbox figcaption {
  margin-top: 0.8rem;
  color: var(--white);
  font-weight: 850;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--green-900);
  font-size: 1.55rem;
  line-height: 1;
}

.legal-copy {
  padding: 2rem;
}

.legal-copy h2 {
  margin-top: 2rem;
  font-size: 1.62rem;
}

.site-footer {
  background: var(--green-950);
  color: var(--white);
  padding: 4rem 0 1.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.82fr 0.9fr 0.92fr;
  gap: 2rem;
}

.site-footer h2,
.site-footer h3 {
  color: var(--cream-100);
  margin-bottom: 0.75rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.1rem;
}

.footer-logo img {
  display: block;
  width: 190px;
  height: auto;
  object-fit: contain;
}

.footer-brand-line {
  margin: 0 0 0.85rem;
  color: var(--gold-500) !important;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer h3 {
  font-size: 1.06rem;
}

.site-footer p,
.site-footer li {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-origin {
  color: var(--gold-500) !important;
  font-weight: 850;
}

.footer-legal-title {
  margin-top: 1.5rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2.5rem;
  padding-top: 1rem;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.88rem;
}

html.reveal-ready [data-reveal],
html.reveal-ready [data-reveal-group] > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 680ms ease, transform 680ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

html.reveal-ready [data-reveal].is-visible,
html.reveal-ready [data-reveal-group] > *.is-visible {
  opacity: 1;
  transform: translateY(0);
}

html.reveal-ready [data-hero-reveal] > * {
  opacity: 0;
  transform: translateY(18px);
  animation: heroReveal 760ms ease forwards;
}

html.reveal-ready [data-hero-reveal] > *:nth-child(2) {
  animation-delay: 90ms;
}

html.reveal-ready [data-hero-reveal] > *:nth-child(3) {
  animation-delay: 180ms;
}

html.reveal-ready [data-hero-reveal] > *:nth-child(4) {
  animation-delay: 270ms;
}

html.reveal-ready [data-hero-reveal] > *:nth-child(5) {
  animation-delay: 360ms;
}

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1280px) {
  .main-nav a,
  .nav-dropdown-toggle {
    font-size: 0.72rem;
    padding-inline: 0.4rem;
  }
}

@media (max-width: 1180px) {
  .brand-institutional {
    display: none;
  }

  .main-nav a,
  .nav-dropdown-toggle {
    font-size: 0.7rem;
    padding-inline: 0.36rem;
  }
}

@media (max-width: 1120px) {
  h1 {
    font-size: 3.55rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .sector-grid,
  .metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-grid.four-grid,
  .feature-grid.values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .brand-institutional {
    display: inline-block;
  }

  .header-inner {
    min-height: 68px;
  }

  .nav-toggle {
    display: inline-block;
    order: 3;
  }

  .nav-actions {
    order: 2;
    margin-left: auto;
  }

  .main-nav {
    position: fixed;
    inset: 68px 1rem auto;
    display: none;
    max-height: calc(100vh - 88px);
    overflow-y: auto;
    gap: 0.2rem;
    padding: 1rem;
    border: 1px solid rgba(7, 59, 37, 0.12);
    border-radius: var(--radius);
    background: rgba(251, 247, 239, 0.98);
    color: var(--green-900);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .main-nav a,
  .nav-dropdown-toggle {
    justify-content: space-between;
    width: 100%;
    min-height: 2.9rem;
    padding: 0.85rem;
    font-size: 0.95rem;
  }

  .nav-dropdown {
    display: grid;
  }

  .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    margin: 0.1rem 0 0.5rem;
    padding: 0.35rem;
    border-color: rgba(7, 59, 37, 0.1);
    box-shadow: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav-dropdown.is-open .dropdown-menu {
    display: grid;
  }

  .hero,
  .hero--home,
  .hero--compact {
    min-height: auto;
  }

  .hero-content {
    padding: 7rem 0 4rem;
  }

  .value-grid-layout,
  .split-premium,
  .split-premium.reverse,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .sector-grid,
  .metric-grid,
  .feature-grid,
  .feature-grid.tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 210px;
  }

  .mosaic-large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .mosaic-tall {
    grid-row: span 1;
  }
}

@media (max-width: 620px) {
  .container {
    width: calc(100% - 1.7rem);
    max-width: none;
    margin-inline: auto;
  }

  .header-inner {
    position: relative;
    min-width: 0;
    padding-right: 3.4rem;
  }

  .brand {
    min-width: 0;
    max-width: calc(100% - 56px);
    gap: 0.58rem;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    margin-left: auto;
    position: fixed;
    top: 12px;
    right: 0.85rem;
    left: auto;
    z-index: 120;
  }

  .logo-mark img {
    height: 48px;
  }

  .site-header.is-scrolled .logo-mark img {
    height: 44px;
  }

  .brand-institutional {
    max-width: 5.9rem;
    font-size: 0.6rem;
  }

  .hero-content {
    padding: 6.3rem 0 3.4rem;
  }

  .hero-copy,
  .hero-copy p {
    width: 100%;
    max-width: 22.5rem;
    min-width: 0;
  }

  h1,
  h2,
  h3 {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  h1 {
    font-size: 1.82rem;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  h2,
  .value-copy h2 {
    font-size: 1.82rem;
  }

  h3 {
    font-size: 1.22rem;
  }

  .hero-copy p {
    font-size: 0.96rem;
    line-height: 1.58;
  }

  .hero-kicker,
  .section-kicker {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    width: 100%;
    max-width: 22.5rem;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .hero-kicker::before,
  .section-kicker::before {
    width: 2rem;
  }

  .hero-actions .btn,
  .division-rail a {
    width: 100%;
  }

  .section {
    padding: 4.2rem 0;
  }

  .value-cards,
  .sector-grid,
  .metric-grid,
  .feature-grid,
  .feature-grid.tech-grid,
  .feature-grid.four-grid,
  .feature-grid.values-grid,
  .editorial-mosaic {
    grid-template-columns: 1fr;
  }

  .mosaic-large,
  .mosaic-tall {
    grid-column: auto;
    grid-row: auto;
  }

  .sector-card h3 {
    min-height: 0;
  }

  .contact-form,
  .contact-card,
  .feature-card-body,
  .empty-state,
  .legal-copy {
    padding: 1rem;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (max-width: 390px) {
  h1 {
    font-size: 1.68rem;
  }

  .logo-mark img {
    height: 42px;
  }

  .brand-institutional {
    display: inline-block;
    max-width: 5.4rem;
    font-size: 0.54rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  html.reveal-ready [data-reveal],
  html.reveal-ready [data-reveal-group] > *,
  html.reveal-ready [data-hero-reveal] > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
 * Componentes premium - Avalju / Finca Las Flores
 * ============================================================ */

/* Hero refinements -------------------------------------------------------- */
@keyframes heroZoom {
  from { scale: 1.08; }
  to { scale: 1; }
}

.hero-media img {
  animation: heroZoom 1500ms ease-out both;
}

.hero-signature {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.9rem;
  color: var(--gold-500);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.18rem;
}

.hero-signature::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: var(--strawberry-500);
}

/* Manifest band ----------------------------------------------------------- */
.manifest-band {
  background: var(--white);
  padding: 5.6rem 0;
  text-align: center;
}

.manifest-band .container::before {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin: 0 auto 1.9rem;
  background: var(--strawberry-500);
}

.manifest-quote {
  margin: 0 auto 1.3rem;
  color: var(--green-900);
  font-family: var(--font-heading);
  font-weight: 560;
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  line-height: 1.18;
}

.manifest-text {
  margin: 0 auto;
  max-width: 60ch;
  color: var(--gray-700);
  font-size: 1.06rem;
}

/* Image stack (split story) ---------------------------------------------- */
.image-stack {
  position: relative;
}

.image-stack-main {
  margin: 0;
}

.image-stack.has-stack {
  padding: 0 3rem 3.2rem 0;
}

.image-stack .image-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 4 / 3;
  margin: 0;
  border: 6px solid var(--cream-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Origin pillars / premium cards ----------------------------------------- */
.origin-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.premium-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(7, 59, 37, 0.1);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.premium-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 160, 87, 0.4);
  box-shadow: var(--shadow);
}

.premium-card-image {
  margin: 0;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--green-900);
}

.premium-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.premium-card:hover .premium-card-image img {
  transform: scale(1.05);
}

.premium-card-body {
  padding: 1.5rem;
}

.premium-card-body h3 {
  margin-bottom: 0.55rem;
  font-size: 1.32rem;
}

.premium-card-body p {
  margin: 0;
}

/* Human section ----------------------------------------------------------- */
.human-section {
  background: var(--cream-100);
}

.human-frame {
  aspect-ratio: 4 / 3;
}

.story-quote {
  margin: 1.6rem 0 0;
  padding: 0.2rem 0 0.2rem 1.3rem;
  border-left: 3px solid var(--strawberry-500);
  color: var(--green-900);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.36rem;
  line-height: 1.38;
}

/* Process river ----------------------------------------------------------- */
.process-river {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-step {
  position: relative;
  padding: 1.3rem 1.1rem;
  border: 1px solid rgba(7, 59, 37, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  background: var(--green-900);
  color: var(--white);
  font-weight: 900;
  font-size: 0.88rem;
}

.process-step h3 {
  margin-bottom: 0.35rem;
  font-size: 1.06rem;
}

.process-step p {
  margin: 0;
  font-size: 0.86rem;
}

/* Markets / B2B ----------------------------------------------------------- */
.market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.market-card {
  border: 1px solid rgba(7, 59, 37, 0.12);
  border-top: 4px solid var(--green-800);
  border-radius: var(--radius);
  background: var(--white);
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.market-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.market-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  min-height: 2.6rem;
  margin-bottom: 0.95rem;
  border-radius: var(--radius);
  background: var(--green-900);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
}

.market-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.market-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.18rem;
}

.market-card p {
  margin: 0;
  font-size: 0.94rem;
}

/* Quality band (dark) ----------------------------------------------------- */
.quality-band {
  background: linear-gradient(135deg, var(--green-950), var(--green-800));
  color: var(--white);
}

.section-heading--light h2 {
  color: var(--white);
}

.section-heading--light p {
  color: rgba(255, 255, 255, 0.82);
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.quality-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  padding: 1.4rem;
  transition: background 200ms ease, transform 200ms ease;
}

.quality-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.quality-card h3 {
  margin-bottom: 0.45rem;
  color: var(--cream-100);
  font-size: 1.12rem;
}

.quality-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

/* Editorial mosaic (home / finca) ---------------------------------------- */
.editorial-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2.5rem;
  margin-bottom: 2.2rem;
}

.editorial-text {
  max-width: 420px;
  margin: 0;
  font-size: 1.02rem;
}

.mosaic-tile {
  position: relative;
  margin: 0;
  min-height: 230px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--green-900);
  box-shadow: var(--shadow-soft);
}

.mosaic-tile img {
  transition: transform 600ms ease;
}

.mosaic-tile:hover img {
  transform: scale(1.05);
}

/* Values strip ------------------------------------------------------------ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.value-chip {
  border: 1px solid rgba(7, 59, 37, 0.12);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius);
  background: var(--white);
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
}

.value-chip h3 {
  margin: 0.3rem 0 0.4rem;
  font-size: 1.16rem;
}

.value-chip p {
  margin: 0;
  font-size: 0.93rem;
}

/* Footer additions -------------------------------------------------------- */
.footer-company {
  margin: 0 0 0.3rem;
  color: var(--cream-100) !important;
  font-family: var(--font-heading);
  font-size: 1.16rem;
  font-weight: 560;
}

.footer-origin {
  margin: 0 0 1.1rem;
  color: var(--gold-500) !important;
  font-weight: 700;
  font-size: 0.92rem;
}

.footer-signature {
  color: rgba(255, 255, 255, 0.82) !important;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.08rem;
}

.footer-contact {
  gap: 0.9rem;
}

.footer-contact li {
  display: grid;
  gap: 0.12rem;
}

.footer-contact-label {
  color: var(--gold-500);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Contact + legal --------------------------------------------------------- */
.contact-direct {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.contact-direct h2 {
  max-width: 15ch;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.social-link {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.45rem;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.social-link svg {
  width: 1.15rem;
  min-width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.14rem;
}

.contact-card .social-link {
  color: var(--green-800);
  font-weight: 800;
}

.site-footer .social-link {
  align-items: center;
}

.contact-note {
  margin: 1.2rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(7, 59, 37, 0.12);
  font-size: 0.9rem;
  color: var(--gray-700);
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-footnote {
  margin-top: 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(7, 59, 37, 0.12);
  color: var(--gray-700);
  font-size: 0.86rem;
  font-style: italic;
}

/* Responsive - new components -------------------------------------------- */
@media (max-width: 1120px) {
  .origin-pillars,
  .market-grid,
  .values-grid,
  .quality-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-river {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .image-stack.has-stack {
    padding: 0 2rem 2.6rem 0;
  }

  .image-stack .image-card {
    width: 52%;
  }

  .editorial-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 620px) {
  .origin-pillars,
  .market-grid,
  .values-grid,
  .quality-grid {
    grid-template-columns: 1fr;
  }

  .process-river {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .image-stack.has-stack {
    padding: 0;
  }

  .image-stack .image-card {
    display: none;
  }

  .manifest-band {
    padding: 3.6rem 0;
  }

  .story-quote {
    font-size: 1.16rem;
  }

  .contact-actions {
    display: grid;
  }

  .contact-actions .btn {
    width: 100%;
  }
}
