@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@700;800;900&display=swap');

:root {
  --color-primary: #01A66A;
  --color-secondary: #00755D;
  --color-accent: #F1B84F;
  --color-light-green: #A0BD3D;
  --color-fill: #f0f7f5;
  --color-text: #00261e;
  --color-text-light: rgba(0, 38, 30, 0.7);
  --color-bg: #ffffff;
  --color-dark-bg: #00261e;
  --color-dark-fill: #00382d;
  --color-dark-card: #00483a;
  --color-error: #EB6460;
  --color-white: #ffffff;
  --font-family-primary: 'Montserrat', sans-serif;
  --font-family-secondary: 'Inter', sans-serif;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

  --max-width: 1440px;
}

/* Lenis smooth scroll */
html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* Base resets */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family-secondary);
  font-size: 62.5%;
  /* 1rem = 10px */
  scroll-behavior: smooth;
  background-color: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-family-secondary);
  font-size: 1.6rem;
  line-height: 1.5;
}

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

button {
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
}

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

.Container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2.4rem;
}

/* Typography & Headings */
h1,
h2,
h3,
h4 {
  font-family: var(--font-family-primary);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 {
  font-size: 4.8rem;
  font-weight: 700;
}

h2 {
  font-size: 3.2rem;
  font-weight: 600;
}

h3 {
  font-size: 2.4rem;
  font-weight: 500;
}

h4 {
  font-size: 1.8rem;
  font-weight: 500;
}

p {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-light);
}

h1 strong,
h2 strong,
h3 strong {
  color: var(--color-primary);
}

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

  h2 {
    font-size: 2.4rem;
  }

  h3 {
    font-size: 2.0rem;
  }

  h4 {
    font-size: 1.6rem;
  }

  p {
    font-size: 1.5rem;
  }
}

/* Buttons */
.CtaButton {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  height: 5.4rem;
  padding: 0 3.2rem;
  /* Increased padding for better pill balance */
  border-radius: 2.7rem;
  /* Fully rounded pill shape matching navigation curves */
  font-weight: 700;
  /* Bolder text weight for readability */
  font-size: 1.6rem;
  color: var(--color-text);
  background-color: var(--color-white);
  border: 1px solid rgba(0, 38, 30, 0.12);
  transition: transform var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  overflow: hidden;
  z-index: 1;
}

.CtaButton:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 38, 30, 0.15);
}

.CtaButton.-color-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  /* High contrast white text on green */
}

.CtaButton.-color-primary:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
}

.CtaButton.-color-accent {
  background-color: var(--color-light-green);
  /* Lime green default state */
  border-color: var(--color-light-green);
  color: var(--color-dark-bg);
  /* Dark green text for high readability and contrast */
}

.CtaButton.-color-accent:hover {
  background-color: #8ea932;
  /* Slightly darker lime green on hover for physical feedback */
  border-color: #8ea932;
  color: var(--color-dark-bg);
}

.SquareButton {
  display: inline-flex;
  width: 5.4rem;
  height: 5.4rem;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  /* Circle shape matching navigation and button curves */
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-text);
  transition: transform var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}

.SquareButton:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: scale(1.05);
}

.SquareButton.-size-lg {
  width: 7.2rem;
  height: 7.2rem;
  border-radius: 50%;
  /* Circle shape matching navigation and button curves */
}

.RoundButton {
  display: inline-flex;
  width: 5.4rem;
  height: 5.4rem;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: 1px solid rgba(4, 41, 64, 0.1);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.RoundButton:hover {
  transform: scale(1.05);
  background-color: var(--color-primary);
}

/* Header / Navbar */
.Navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 8rem;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-normal);
}

.Navbar.-scrolled {
  background-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.Navbar .strip {
  width: calc(100% - 3.2rem);
  max-width: var(--max-width);
  height: 6rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.88) 100%);
  /* Significantly whiter glass background */
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 3rem;
  /* rounded liquid glass corners */
  border: 1px solid rgba(255, 255, 255, 0.9);
  /* whiter reflective glass border edge */
  padding: 0 3.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.95),
    /* bevel light reflection */
    0 8px 32px rgba(0, 38, 30, 0.06);
  /* elegant drop shadow */
  transition: background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.Navbar.-scrolled .strip {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
  /* Almost pure white when scrolled */
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.95),
    0 12px 40px rgba(0, 38, 30, 0.12);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 900;
  font-size: 2rem;
  text-transform: uppercase;
}

.logo img {
  filter: drop-shadow(0 2px 6px rgba(0, 38, 30, 0.08));
}

.logo svg {
  width: 120px;
  height: 40px;
}

.navs {
  display: flex;
  align-items: center;
  gap: 2rem;
  /* Adjusted gap to account for link padding */
}

.nav-item-wrapper {
  position: relative;
}

.nav__toggle {
  font-size: 1.65rem;
  /* Slightly larger for balanced proportions */
  font-weight: 600;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.6rem;
  border-radius: 2rem;
  /* Pill shape container */
  transition: background-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.nav__toggle:hover {
  color: var(--color-primary);
  background-color: rgba(1, 166, 106, 0.06);
  /* Subtle hover pill indicator */
}

.nav__toggle.-active {
  color: var(--color-primary);
  background-color: rgba(1, 166, 106, 0.12);
  /* Selected active pill container */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.actions {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

/* Mobile Toggle Hamburger */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  width: 3rem;
  height: 3rem;
  justify-content: center;
  z-index: 110;
}

.mobile-nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* Hero Section */
.HeroSection {
  position: relative;
  height: 100vh;
  min-height: 65rem;
  background-color: var(--color-dark-bg);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.42);
  /* Darker black overlay for enhanced text readability */
  z-index: 2;
  pointer-events: none;
}

.HeroSection .content {
  position: relative;
  z-index: 4;
  text-align: center;
  width: 100%;
}

.HeroSection h1 {
  font-size: 7.2rem;
  max-width: 90rem;
  margin: 0 auto 2.4rem;
  text-wrap: balance;
  color: var(--color-white);
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
  /* Soft, blurred depth shadow */
}

.HeroSection h1 strong {
  color: var(--color-light-green);
  /* Changed to lime green for brand accent pop */
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
}

.HeroSection .text {
  font-size: 2rem;
  color: var(--color-white);
  max-width: 95rem;
  /* Increased to lay out perfectly in exactly two lines */
  margin: 0 auto 4rem;
  font-weight: 400;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  text-wrap: pretty;
  /* Prevents widow/orphan words in modern engines */
}

.ScrollButton {
  position: absolute;
  bottom: 4rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-text-light);
  cursor: pointer;
  z-index: 2;
  transition: color var(--transition-fast);
}

.ScrollButton:hover {
  color: var(--color-primary);
}

.ScrollButton .mouse {
  width: 3rem;
  height: 4.8rem;
  border: 2px solid currentColor;
  border-radius: 2rem;
  position: relative;
}

.ScrollButton .mouse::after {
  content: '';
  width: 0.6rem;
  height: 0.6rem;
  background-color: currentColor;
  border-radius: 50%;
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollMouse 1.5s infinite;
}

@keyframes scrollMouse {
  0% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    transform: translateX(-50%) translateY(1.5rem);
    opacity: 0;
  }
}

/* Solutions Cards Section */
.CardsSection {
  padding: 12rem 0;
  background-color: var(--color-bg);
}

.section-header {
  text-align: center;
  max-width: 75rem;
  margin: 0 auto 8rem;
}

.section-header h2 {
  font-size: 4.8rem;
  margin-bottom: 2rem;
}

.section-header p {
  font-size: 1.8rem;
  color: var(--color-text-light);
}

.CardsSection .items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.2rem;
}

.CardsSection .item {
  position: relative;
  aspect-ratio: 4 / 3.3;
  /* Shorter card height */
  border-radius: 2.4rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4rem;
  color: var(--color-white);
  z-index: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--color-dark-bg);
}

/* Premium Gradient Backdrop representing visuals */
.CardsSection .item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 38, 30, 0.3) 0%, rgba(0, 38, 30, 0.72) 100%);
  /* Lighter overlay to make background images more visible */
  z-index: -1;
  transition: opacity var(--transition-normal);
}

.CardsSection .item:nth-child(1) {
  background-image: url('../assets/RPET.webp');
}

.CardsSection .item:nth-child(2) {
  background-image: url('../assets/PEAD.jpeg');
}

.CardsSection .item:nth-child(3) {
  background-image: url('../assets/PP.webp');
}

.CardsSection .item:hover .SquareButton {
  background-color: var(--color-light-green);
  /* Uniform lime green hover color for all arrow buttons */
  border-color: var(--color-light-green);
  color: var(--color-white);
}

.CardsSection .item:hover::before {
  opacity: 0.55;
  /* Reveals the background image details clearly on hover */
}

.CardsSection .item__title h3 {
  font-size: 3.6rem;
  line-height: 1.1;
  color: var(--color-white);
}

.CardsSection .item__title h3 span {
  display: block;
}

.CardsSection .item__action {
  align-self: flex-end;
}

/* Showcase Section Header */
.ShowCaseHeaderSection {
  padding: 12rem 0 1rem;
  background-color: var(--color-fill);
}

.ShowCaseHeaderSection .header {
  text-align: center;
}

.ShowCaseHeaderSection .header h2 {
  font-size: 4.8rem;
  margin-bottom: 2.4rem;
  line-height: 1.1;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.ShowCaseHeaderSection .text {
  margin: 2.4rem auto 0;
  font-size: 1.6rem;
  line-height: 140%;
  letter-spacing: -.01em;
  text-align: center;
}

@media(min-width:768px) {
  .ShowCaseHeaderSection .text {
    max-width: 70rem;
    margin: 3.6rem auto 0;
    font-size: 1.8rem;
    line-height: 154%;
  }
}

.ShowCaseHeaderSection .actions {
  margin: 3rem 0 0;
  text-align: center;
}

@media(min-width:768px) {
  .ShowCaseHeaderSection .actions {
    margin: 4rem 0 0;
  }
}

.ShowCaseHeaderSection .CtaButtonGroup {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.ShowCaseHeaderSection .actions .action {
  display: inline-block;
}

/* Showcase Section Gallery Trigger */
.ShowCaseSection {
  background-color: var(--color-fill);
  overflow: hidden;
}

.ShowCaseSection .sticky-wrap {
  position: relative;
  width: 100%;
  height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

@media(min-width:768px) {
  .ShowCaseSection .sticky-wrap {
    height: 100vh;
  }
}

.ShowCaseSection .track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 22rem 20rem 20rem;
  grid-template-rows: 18rem 18rem;
  gap: 0.8rem;
  width: fit-content;
  padding: 0.5rem 1.6rem 2rem;
  overflow-x: visible;
  will-change: transform;
  scrollbar-width: none;
  /* Firefox */
}

.ShowCaseSection .track::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

@media(min-width:768px) {
  .ShowCaseSection .track {
    grid-auto-columns: 34rem 32rem 32rem;
    grid-template-rows: 26rem 26rem;
    gap: 1.2rem;
    padding: 0 10rem;
  }
}

.ShowCaseSection .panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.4rem;
  overflow: hidden;
  border-radius: 2.4rem;
  border-bottom: 1px rgba(255, 255, 255, .1) solid;
  user-select: none;
}

@media(min-width:768px) {
  .ShowCaseSection .panel {
    padding: 4rem;
  }
}

/* Maintain original distribution staggered card spans */
.ShowCaseSection .panel:nth-child(4n-3) {
  grid-row: 1/3;
}

.ShowCaseSection .panel:nth-child(8n-6) {
  grid-column: span 2;
}

.ShowCaseSection .panel:nth-child(8n-1) {
  grid-column: span 2;
}

/* Gallery image container */
.ShowCaseSection .item__bg {
  position: absolute;
  /* Extends slightly beyond the panel bounds to enable a soft, almost unnoticeable parallax */
  inset: -4%;
  width: 108%;
  height: 108%;
  z-index: -2;
  border-radius: inherit;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
}

/* Uniform dark green gradient overlay for text readability (only on cards with info panels) */
.ShowCaseSection .item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 38, 30, 0.75) 0%, rgba(0, 38, 30, 0.25) 50%, rgba(0, 38, 30, 0.05) 100%);
  z-index: -1;
  opacity: 0;
}

.ShowCaseSection .item.-has-info::before {
  opacity: 1;
}

.ShowCaseSection .item__info {
  position: relative;
  z-index: 2;
  padding: 3rem;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
  /* glassmorphism */
  backdrop-filter: blur(29.5px);
  -webkit-backdrop-filter: blur(29.5px);
  border-radius: 2.8rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 100%;
}

@media(min-width: 768px) {
  .ShowCaseSection .item__info {
    padding: 4rem;
  }
}

.ShowCaseSection .item__counter {
  font-feature-settings: "tnum";
  font-weight: 700;
  font-size: 3.2rem;
  letter-spacing: -.01em;
  line-height: 1;
  margin-bottom: 1rem;
}

@media(min-width: 768px) {
  .ShowCaseSection .item__counter {
    font-size: 4.8rem;
    letter-spacing: -.02em;
  }
}

.ShowCaseSection .item__counter::after {
  content: attr(data-unit);
  color: var(--color-light-green);
  /* default using lime green from palette */
}

/* Colorful counters for specific children to match brand identity */
.ShowCaseSection .item:nth-child(1) .item__counter::after {
  color: var(--color-accent);
  /* Golden yellow */
}

.ShowCaseSection .item:nth-child(5) .item__counter::after {
  color: var(--color-light-green);
  /* Lime green */
}

.ShowCaseSection .item:nth-child(9) .item__counter::after {
  color: var(--color-primary);
  /* Primary green */
}

.ShowCaseSection .item__caption {
  margin: .8rem 0 0;
  opacity: 0.9;
  font-size: 1.6rem;
  line-height: 1.4;
  letter-spacing: -.01em;
}

@media(min-width: 768px) {
  .ShowCaseSection .item__caption {
    margin: 1.6rem 0 0;
    font-size: 1.8rem;
  }
}

/* True Sweep Section - Industrial Processes Timeline */
.TrueSweepSection {
  padding: 8rem 0 12rem 0;
  background-color: var(--color-white);
  text-align: center;
}

.TrueSweepSection.-home-quality {
  padding-bottom: 2rem;
}

.TrueSweepSection .section-header {
  max-width: 85rem;
  margin-bottom: 6rem;
}

.TrueSweepSection.-home-quality .section-header {
  margin-bottom: 0;
}

.TrueSweepSection .section-header h2 {
  font-size: 4.2rem;
}

/* Timeline Components */
.timeline-wrapper {
  position: relative;
  margin-top: 6rem;
  text-align: left;
}

.timeline-track-container {
  position: relative;
  width: 100%;
  margin: 0 auto 6rem auto;
  padding: 3rem 0;
}

.timeline-track {
  position: absolute;
  top: 50%;
  left: calc(12.5% - 1.2rem);
  right: calc(12.5% - 1.2rem);
  height: 4px;
  background-color: #e0e6e4;
  transform: translateY(-50%);
  z-index: 1;
  border-radius: 2px;
}

.timeline-progress-segment {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  width: 0%;
  border-radius: 2px;
  z-index: 1;
}

.timeline-progress-segment[data-segment="1"] {
  background: linear-gradient(to right, var(--color-error), var(--color-accent));
}

.timeline-progress-segment[data-segment="2"] {
  background: linear-gradient(to right, var(--color-accent), var(--color-light-green));
}

.timeline-progress-segment[data-segment="3"] {
  background: linear-gradient(to right, var(--color-light-green), var(--color-primary));
}

.timeline-nodes {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3.2rem;
  z-index: 2;
  width: 100%;
}

.timeline-node {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 3px solid #e0e6e4;
  color: #8c9c98;
  font-family: var(--font-family-primary);
  font-size: 1.8rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  margin: 0 auto;
}

.timeline-node:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.timeline-node.active,
.timeline-node.completed {
  color: var(--color-white);
  transform: scale(1.1);
}

.timeline-node[data-step="1"].active,
.timeline-node[data-step="1"].completed {
  border-color: var(--color-error);
  background-color: var(--color-error);
  box-shadow: 0 0 15px rgba(235, 100, 96, 0.4);
}

.timeline-node[data-step="2"].active,
.timeline-node[data-step="2"].completed {
  border-color: var(--color-accent);
  background-color: var(--color-accent);
  box-shadow: 0 0 15px rgba(241, 184, 79, 0.4);
}

.timeline-node[data-step="3"].active,
.timeline-node[data-step="3"].completed {
  border-color: var(--color-light-green);
  background-color: var(--color-light-green);
  box-shadow: 0 0 15px rgba(160, 189, 61, 0.4);
}

.timeline-node[data-step="4"].active,
.timeline-node[data-step="4"].completed {
  border-color: var(--color-primary);
  background-color: var(--color-primary);
  box-shadow: 0 0 15px rgba(1, 166, 106, 0.4);
}

.timeline-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3.2rem;
  width: 100%;
}

.timeline-card {
  background-color: var(--color-secondary);
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 38, 30, 0.08);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 24rem;
  cursor: pointer;
  opacity: 0.5;
  transform: translateY(0);
}

.timeline-card:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.timeline-card.active {
  opacity: 1;
  transform: translateY(-8px);
  background-color: #005E4A;
  /* Highlighted card body background */
}

/* Card Active Shadows & Borders */
.card-header-bar {
  height: 6px;
  width: 100%;
  background-color: transparent;
  transition: background-color 0.4s ease;
}

.card-header-bar.color-1 {
  background-color: rgba(235, 100, 96, 0.2);
}

.card-header-bar.color-2 {
  background-color: rgba(241, 184, 79, 0.2);
}

.card-header-bar.color-3 {
  background-color: rgba(160, 189, 61, 0.2);
}

.card-header-bar.color-4 {
  background-color: rgba(1, 166, 106, 0.2);
}

.timeline-card.active .card-header-bar.color-1 {
  background-color: var(--color-error);
}

.timeline-card.active .card-header-bar.color-2 {
  background-color: var(--color-accent);
}

.timeline-card.active .card-header-bar.color-3 {
  background-color: var(--color-light-green);
}

.timeline-card.active .card-header-bar.color-4 {
  background-color: var(--color-primary);
}

.timeline-card.active[data-step="1"] {
  box-shadow: 0 15px 35px rgba(235, 100, 96, 0.2);
}

.timeline-card.active[data-step="2"] {
  box-shadow: 0 15px 35px rgba(241, 184, 79, 0.2);
}

.timeline-card.active[data-step="3"] {
  box-shadow: 0 15px 35px rgba(160, 189, 61, 0.2);
}

.timeline-card.active[data-step="4"] {
  box-shadow: 0 15px 35px rgba(1, 166, 106, 0.2);
}

.card-content {
  padding: 3.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  height: 100%;
}

.mobile-step-badge {
  display: none;
  font-family: var(--font-family-primary);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 5rem;
  width: fit-content;
}

.mobile-step-badge.color-1 {
  background-color: rgba(235, 100, 96, 0.2);
  color: var(--color-error);
}

.mobile-step-badge.color-2 {
  background-color: rgba(241, 184, 79, 0.2);
  color: var(--color-accent);
}

.mobile-step-badge.color-3 {
  background-color: rgba(160, 189, 61, 0.2);
  color: var(--color-light-green);
}

.mobile-step-badge.color-4 {
  background-color: rgba(1, 166, 106, 0.2);
  color: var(--color-primary);
}

.card-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.3;
  margin-top: 0.5rem;
  text-transform: none;
}

.card-text {
  font-size: 1.4rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  text-wrap: pretty;
}

/* Responsive Timeline styling */
@media (max-width: 1024px) {
  .timeline-nodes {
    gap: 2rem;
  }

  .timeline-track {
    left: calc(12.5% - 0.75rem);
    right: calc(12.5% - 0.75rem);
  }

  .timeline-cards {
    gap: 2rem;
  }

  .card-content {
    padding: 2.4rem;
  }
}

@media (max-width: 768px) {
  .timeline-track-container {
    display: none;
  }

  .timeline-cards {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .timeline-card {
    opacity: 1;
    transform: none !important;
    box-shadow: 0 6px 20px rgba(0, 38, 30, 0.08) !important;
    cursor: default;
    height: auto !important;
  }

  .mobile-step-badge {
    display: inline-block;
  }
}

/* Covered Section */
.CoveredSection {
  padding: 12rem 0;
  background-color: var(--color-secondary);
  color: var(--color-white);
  overflow: hidden;
  position: relative;
}

.CoveredSection .grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}

.CoveredSection .map-side {
  position: relative;
  aspect-ratio: 4 / 3;
}

.CoveredSection .map-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.CoveredSection .facilities-box {
  position: absolute;
  bottom: 10%;
  right: 10%;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 3rem;
  border-radius: 2rem;
  text-align: center;
}

.CoveredSection .facilities-counter {
  font-size: 8rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
}

.CoveredSection .facilities-label {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.CoveredSection .text-side h2 {
  font-size: 4.8rem;
  margin-bottom: 2.4rem;
}

.CoveredSection .text-side p {
  font-size: 1.8rem;
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: 4rem;
}

/* Wide List Section */
.WideListSection {
  padding: 6rem 0 12rem 0;
  background-color: var(--color-white);
}

.WideListSection .section-header {
  margin-bottom: 6rem;
}

.WideListSection .list-wrapper {
  display: flex;
  flex-direction: column;
}

.WideListSection .item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 2rem;
  border-bottom: 1px solid rgba(4, 41, 64, 0.1);
  position: relative;
  transition: color var(--transition-fast), padding-left var(--transition-normal);
  z-index: 1;
}

.WideListSection .item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--color-secondary);
  z-index: -1;
  transition: height var(--transition-normal);
}

.WideListSection .item:hover {
  color: var(--color-white);
  padding-left: 4rem;
}

.WideListSection .item:hover::before {
  height: 100%;
}

.WideListSection .item__title {
  font-size: 3.2rem;
  font-weight: 700;
  text-transform: uppercase;
}

.WideListSection .item__arr {
  width: 5.4rem;
  height: 5.4rem;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.WideListSection .item:hover .item__arr {
  transform: translateX(1rem);
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-text);
}

.WideListSection .item__arr svg {
  width: 2.2rem;
  height: 2.2rem;
}

/* Latest Entries (News) Section */
.LatestEntriesSection {
  padding: 2rem 0 12rem 0;
  background-color: var(--color-white);
}

.LatestEntriesSection .grid-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 8rem;
}

.LatestEntriesSection .news-cards {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}

.LatestEntriesSection .news-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 4rem;
  padding: 3.2rem 0;
  border-bottom: 1px solid rgba(4, 41, 64, 0.1);
  transition: padding-left var(--transition-fast);
}

.LatestEntriesSection .news-card:hover {
  padding-left: 2rem;
}

.LatestEntriesSection .meta-group {
  min-width: 15rem;
}

.LatestEntriesSection .tag {
  display: inline-block;
  padding: 0.6rem 1.6rem;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  border: 1px solid rgba(4, 41, 64, 0.2);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.LatestEntriesSection .date {
  font-size: 1.4rem;
  color: var(--color-text-light);
}

.LatestEntriesSection .title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.3;
}

.LatestEntriesSection .arrow {
  width: 5.4rem;
  height: 5.4rem;
  border-radius: 50%;
  border: 1px solid rgba(4, 41, 64, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.LatestEntriesSection .news-card:hover .arrow {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.LatestEntriesSection .arrow svg {
  width: 2.2rem;
  height: 2.2rem;
}

/* Commitment Cards Grid */
.commitment-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.2rem;
}

.commitment-card {
  background-color: #005c49; /* Rich premium forest green */
  border-radius: 2.4rem;
  padding: 3.6rem 3.2rem 8.5rem;
  min-height: 36rem; /* Ensures consistent card size and text clearance */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 12px 32px rgba(0, 38, 30, 0.1);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.commitment-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 38, 30, 0.2);
}

.commitment-card .card-pill {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.4rem 2rem;
  border-radius: 5rem;
  font-family: var(--font-family-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  text-align: center;
  margin-bottom: 3.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  letter-spacing: -0.01em;
}

.commitment-card .card-pill.-red {
  background-color: #EB6460; /* Coral Red */
}

.commitment-card .card-pill.-yellow {
  background-color: #F1B84F; /* Brand Yellow */
}

.commitment-card .card-pill.-green {
  background-color: #A0BD3D; /* Lime Green */
}

.commitment-card .card-body {
  font-family: var(--font-family-secondary);
  font-size: 1.5rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  text-align: left;
  margin: 0 0 auto 0; /* Align text block to top, push other contents down */
}

.commitment-card .card-leaf {
  position: absolute;
  bottom: -1.0rem;
  left: 50%;
  transform: translateX(-50%);
  width: 13.5rem; /* Smaller leaf matching the design reference */
  height: auto;
  opacity: 1; /* Solid bright green leaf as in reference */
  pointer-events: none;
}

@media (max-width: 1024px) {
  .commitment-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .commitment-cards {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }
  .commitment-card {
    padding: 3.2rem 2.4rem 9.0rem;
    min-height: auto;
  }
}

/* Partner Contact Section (Form Wizard) */
.PartnerContactSection {
  padding: 12rem 0;
  background-color: var(--color-fill);
}

.PartnerContactSection .form-wrapper {
  background-color: var(--color-white);
  border-radius: 2.4rem;
  padding: 8rem 6rem;
  max-width: 90rem;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.PartnerContactSection .form-wrapper::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.8rem;
  background: repeating-linear-gradient(135deg, var(--color-secondary) 0px, var(--color-secondary) 40px, var(--color-primary) 40px, var(--color-primary) 80px);
}

.PartnerContactSection .section-header {
  margin-bottom: 4rem;
}

/* Wizard Bullet Nav */
.WizardForm .navs {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 4rem;
}

.WizardForm .nav {
  width: 4rem;
  height: 0.6rem;
  border-radius: 3px;
  background-color: rgba(4, 41, 64, 0.1);
  transition: background-color var(--transition-fast);
}

.WizardForm .nav.-active {
  background-color: var(--color-primary);
}

/* Form Steps Slide Container */
.WizardForm .steps {
  position: relative;
  overflow: hidden;
  height: auto;
}

.WizardForm .step {
  display: none;
  animation: fadeIn 0.4s ease;
}

.WizardForm .step.-active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

.WizardForm .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.2rem;
  margin-bottom: 3.2rem;
}

.WizardForm .grid-full {
  grid-column: span 2;
}

.UnderlineInput {
  position: relative;
  display: block;
}

.UnderlineInput input,
.UnderlineInput textarea,
.UnderlineInput select {
  width: 100%;
  padding: 1.6rem 0;
  border: none;
  border-bottom: 1px solid rgba(4, 41, 64, 0.15);
  font-family: inherit;
  font-size: 1.8rem;
  color: var(--color-text);
  background: transparent;
  outline: none;
  transition: border-color var(--transition-fast);
}

.UnderlineInput select {
  appearance: none;
}

.UnderlineInput input:focus,
.UnderlineInput textarea:focus,
.UnderlineInput select:focus {
  border-bottom-color: var(--color-secondary);
}

/* Line-Focus Animation */
.UnderlineInput .line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--transition-normal);
}

.UnderlineInput input:focus~.line,
.UnderlineInput textarea:focus~.line,
.UnderlineInput select:focus~.line {
  transform: scaleX(1);
}

.UnderlineInput .required::after {
  content: '*';
  color: var(--color-error);
  position: absolute;
  top: 1.6rem;
  right: 0;
  font-size: 1.8rem;
}

.UnderlineInput textarea {
  height: 6rem;
  resize: none;
  transition: height var(--transition-normal);
}

.UnderlineInput textarea:focus {
  height: 12rem;
}

.WizardForm .submit {
  text-align: center;
  margin-top: 4rem;
}

.WizardForm .terms {
  font-size: 1.2rem;
  color: var(--color-text-light);
  margin-top: 2.4rem;
  text-align: center;
}

.WizardForm .terms a {
  color: var(--color-primary);
  font-weight: 600;
}

/* Footer Section (Reference-Style Centered Layout) */
.Footer {
  background-color: var(--color-dark-bg); /* Dark green background */
  color: var(--color-white);
  padding: 6rem 0 4rem;
  position: relative;
  z-index: 10;
  border-top: 8px solid var(--color-accent); /* Solid yellow strip at the top */
}

.footer-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 80rem;
  margin: 0 auto;
}

/* Logo */
.Footer .logo-wrap {
  margin-top: -3.5rem;
  margin-bottom: 1.5rem;
}

.Footer .footer-logo-img {
  height: 22.0rem;
  width: auto;
  display: block;
  margin: 0 auto;
  filter: url(#remove-white);
}

@media (max-width: 768px) {
  .Footer .footer-logo-img {
    height: 15.0rem;
  }
}

/* Navigation */
.Footer .footer-nav {
  margin-bottom: 3.2rem;
}

.Footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 2.4rem;
  list-style: none;
  flex-wrap: wrap;
  padding: 0;
}

.Footer .footer-links a {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  transition: color var(--transition-fast);
  display: inline-block;
}

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

/* Address */
.Footer .footer-address {
  font-style: normal;
  font-size: 1.5rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 3.2rem;
  white-space: nowrap; /* Forces layout in a single line on desktop/tablet */
}

@media (max-width: 768px) {
  .Footer .footer-address {
    white-space: normal; /* Wraps on mobile screens to prevent horizontal scroll */
    font-size: 1.3rem; /* Slightly smaller for readability on mobile */
  }
}

/* Bottom Copyright & Links */
.Footer .footer-bottom {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 3.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;
}

.Footer .footer-bottom p {
  color: var(--color-accent); /* Yellow */
  font-weight: 500;
}

.Footer .footer-bottom .bottom-links {
  display: flex;
  gap: 2rem;
}

.Footer .footer-bottom .bottom-links a {
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition-fast);
}

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

/* Socials */
.Footer .socials {
  display: flex;
  gap: 2.8rem;
  justify-content: center;
  align-items: center;
}

.Footer .socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.Footer .socials a:hover {
  color: var(--color-white);
  transform: scale(1.2);
}

.Footer .socials svg {
  width: 2.8rem;
  height: 2.8rem;
}

.Footer .bottom-links a {
  transition: color var(--transition-fast);
}

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

/* Responsiveness */
@media (max-width: 1024px) {
  html {
    font-size: 55%;
    /* Scaling sizes slightly on tablet */
  }

  .HeroSection h1 {
    font-size: 5.6rem;
  }

  .ShowCaseSection .grid-layout,
  .TrueSweepSection .verify-board,
  .CoveredSection .grid-layout,
  .LatestEntriesSection .grid-layout,
  .Footer .grid-layout {
    grid-template-columns: 1fr;
    gap: 6rem;
  }

  .Footer .logo svg {
    margin-bottom: 2rem;
  }

  .CardsSection .items {
    grid-template-columns: 1fr;
    gap: 3.2rem;
  }

  .CardsSection .item {
    aspect-ratio: 16/9;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 50%;
  }

  .Navbar .strip {
    padding: 0 1.6rem;
  }

  /* Mobile Backdrop Overlay */
  .Navbar::before {
    content: "";
    position: fixed;
    inset: 0;
    background-color: rgba(0, 20, 15, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    z-index: 99;
    transition: opacity 0.35s ease;
  }

  .Navbar.-menu-open::before {
    opacity: 1;
    pointer-events: all;
  }

  .navs {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 8.5rem;
    right: 1.6rem;
    left: auto;
    width: 26rem;
    height: auto;
    max-height: calc(100vh - 10rem);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 38, 30, 0.08);
    border-radius: 2.4rem;
    box-shadow: 0 20px 40px rgba(0, 38, 30, 0.12);
    padding: 3rem 2.4rem;
    gap: 2.4rem;
    align-items: flex-start;
    overflow-y: auto;
    z-index: 105;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9) translateY(-15px);
    transform-origin: top right;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease, visibility 0.3s ease;
  }

  .actions .-phone {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
    /* Show mobile hamburger */
  }

  /* Mobile Menu Open State */
  .Navbar.-menu-open .navs {
    visibility: visible;
    opacity: 1;
    pointer-events: all;
    transform: scale(1) translateY(0);
  }

  /* Reduce Card padding and size of Arrow buttons on mobile */
  .CardsSection .item {
    padding: 2.4rem;
    aspect-ratio: unset !important;
    height: auto;
    min-height: 22rem;
  }

  .CardsSection .item__title h3 {
    font-size: 2.0rem;
  }

  .SquareButton.-size-lg {
    width: 5.4rem;
    height: 5.4rem;
  }

  .SquareButton.-size-lg svg {
    width: 2.0rem;
    height: 2.0rem;
  }

  .Navbar.-menu-open .nav-item-wrapper {
    width: 100%;
  }

  .Navbar.-menu-open .nav__toggle {
    width: 100%;
    justify-content: space-between;
    font-size: 2rem;
  }

  .Navbar.-menu-open .nav__items {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    border: none;
    box-shadow: none;
    padding-left: 2rem;
    display: none;
  }

  .Navbar.-menu-open .nav-item-wrapper.-expanded .nav__items {
    display: block;
  }

  .HeroSection h1 {
    font-size: 4rem;
  }

  .ShowCaseSection .stats-grid {
    grid-template-columns: 1fr;
  }

  .TrueSweepSection .specs-grid {
    grid-template-columns: 1fr;
  }

  .WideListSection .item__title {
    font-size: 2.4rem;
  }

  .LatestEntriesSection .news-card {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .LatestEntriesSection .arrow {
    display: none;
  }

  .PartnerContactSection .form-wrapper {
    padding: 4rem 2.4rem;
  }

  .WizardForm .grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .WizardForm .grid-full {
    grid-column: span 1;
  }

  .Footer .nav-columns {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .Footer .bottom-row {
    flex-direction: column;
    gap: 2.4rem;
    text-align: center;
  }

  /* Scale down WhatsApp float widget on mobile */
  .whatsapp-float {
    width: 5.2rem;
    height: 5.2rem;
    bottom: 2.4rem;
    right: 2.4rem;
  }

  .whatsapp-float svg {
    width: 2.8rem;
    height: 2.8rem;
  }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 3.2rem;
  right: 3.2rem;
  background-color: #25d366;
  color: #ffffff;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  z-index: 999;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
  width: 3.2rem;
  height: 3.2rem;
  fill: currentColor;
}

/* Pulsing outer ring to draw attention */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  opacity: 0;
  animation: pulse-whatsapp 2s infinite;
  z-index: -1;
}

@keyframes pulse-whatsapp {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}


/* ==========================================================================
   Solutions / Materials Subpage Styles
   ========================================================================= */

.SolutionsSection {
  padding: 12rem 0 8rem 0;
  background-color: var(--color-white);
}

.SolutionsSection .section-header {
  max-width: 95rem;
}

.SolutionsSection .section-header p {
  max-width: 95rem;
  margin: 0 auto;
}

.SolutionsSection .items {
  display: flex;
  flex-direction: column;
}

.SolutionsSection .divider {
  height: 1px;
  background-color: var(--color-text);
  opacity: 0.1;
  width: 100%;
}

.WideEntry {
  position: relative;
  display: block;
  padding: 6rem 0;
  text-decoration: none;
  color: var(--color-text);
  transition: color var(--transition-normal);
  scroll-margin-top: 10rem;
}

.WideEntry::before {
  content: "";
  position: absolute;
  inset: -1px 0 0;
  transform: scaleY(0);
  transform-origin: top center;
  opacity: 0;
  background-color: var(--color-secondary);
  transition: transform var(--transition-normal), opacity var(--transition-normal);
  z-index: 1;
}

.WideEntry:hover::before {
  transform: scaleY(1);
  opacity: 1;
}

.WideEntry:hover {
  color: var(--color-white);
}

.WideEntry .Container {
  position: relative;
  z-index: 2;
}

.WideEntry .grid {
  display: grid;
  gap: 3.2rem;
  align-items: center;
}

@media(min-width: 768px) {
  .WideEntry .grid {
    grid-template-columns: 40rem 1fr auto;
    gap: 6rem;
  }
}

.WideEntry .thumbnail {
  aspect-ratio: 400 / 280;
  overflow: hidden;
  border-radius: 2.4rem;
  box-shadow: 0 10px 30px rgba(0, 38, 30, 0.08);
}

.WideEntry .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.WideEntry:hover .thumbnail img {
  transform: scale(1.05);
}

.WideEntry .title {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  font-family: var(--font-family-primary);
  text-transform: uppercase;
}

.WideEntry .text p {
  font-size: 1.6rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  color: var(--color-text-light);
}

.WideEntry:hover .text p {
  color: rgba(255, 255, 255, 0.85);
}

.WideEntry .learn-arr {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.WideEntry:hover .learn-arr {
  transform: translateX(1rem);
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.WideEntry .learn-arr svg {
  width: 2.4rem;
  height: 2.4rem;
}

@media(max-width: 768px) {
  .WideEntry {
    padding: 4rem 0;
  }

  .WideEntry .title {
    font-size: 2.4rem;
    margin-bottom: 1rem;
  }

  .WideEntry .learn-arr {
    display: none;
  }
}

/* Materials Page Hero Customization */
.HeroSection.-materiales {
  background-color: var(--color-white);
  height: calc(100vh - 0.8rem);
  min-height: calc(65rem - 0.8rem);
}

.HeroSection.-materiales .content {
  position: relative;
  z-index: 3;
}

.HeroSection.-materiales h1 {
  color: var(--color-primary) !important;
  font-weight: 900;
  font-family: var(--font-family-primary);
  text-shadow: none;
}

@media(min-width: 768px) {
  .HeroSection.-materiales h1 {
    white-space: nowrap;
    max-width: none;
  }
}

/* Multi-color symmetric separator line matching the brand palette */
.color-separator {
  height: 0.8rem;
  width: 100%;
  background: linear-gradient(to right,
      var(--color-accent) 0%, var(--color-accent) 11.1%,
      var(--color-error) 11.1%, var(--color-error) 22.2%,
      var(--color-light-green) 22.2%, var(--color-light-green) 33.3%,
      var(--color-primary) 33.3%, var(--color-primary) 44.4%,
      var(--color-secondary) 44.4%, var(--color-secondary) 55.6%,
      var(--color-primary) 55.6%, var(--color-primary) 66.7%,
      var(--color-light-green) 66.7%, var(--color-light-green) 77.8%,
      var(--color-error) 77.8%, var(--color-error) 88.9%,
      var(--color-accent) 88.9%, var(--color-accent) 100%);
  position: relative;
  z-index: 10;
}

/* ==========================================================================
   Sostenibilidad Subpage Styles
   ========================================================================= */

.HeroSection.-sostenibilidad {
  background-color: var(--color-white);
  height: calc(100vh - 0.8rem);
  min-height: calc(65rem - 0.8rem);
}

.HeroSection.-sostenibilidad .content {
  position: relative;
  z-index: 3;
}

.HeroSection.-sostenibilidad h1 {
  color: var(--color-primary) !important;
  font-weight: 900;
  font-family: var(--font-family-primary);
  text-shadow: none;
  text-transform: uppercase;
  max-width: none;
}

.HeroSection.-sostenibilidad h1 span {
  display: block;
}

@media(min-width: 768px) {
  .HeroSection.-sostenibilidad h1 span {
    white-space: nowrap;
  }
}

/* Contact Page Hero Customization */
.HeroSection.-contacto {
  background-color: var(--color-white);
  height: calc(100vh - 0.8rem);
  min-height: calc(65rem - 0.8rem);
}

.HeroSection.-contacto .content {
  position: relative;
  z-index: 3;
}

.HeroSection.-contacto h1 {
  color: var(--color-primary) !important;
  font-weight: 900;
  font-family: var(--font-family-primary);
  text-shadow: none;
  text-transform: uppercase;
  max-width: none;
}

.HeroSection.-contacto h1 span {
  display: block;
}

@media(min-width: 768px) {
  .HeroSection.-contacto h1 span {
    white-space: nowrap;
  }
}

.IntroSection {
  padding: 10rem 0;
  background-color: var(--color-fill);
}

.IntroSection .section-header {
  max-width: 74rem;
  margin: 0 auto 6rem;
}

.IntroSection .section-header p {
  font-size: 2.0rem;
  line-height: 1.7;
  color: var(--color-text-light);
}

.IntroSection .grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media(min-width: 768px) {
  .IntroSection .grid-layout {
    grid-template-columns: repeat(3, 1fr);
    gap: 3.2rem;
  }
}

.CertificationsSection {
  padding: 12rem 0;
  background-color: var(--color-white);
}

.CertificationsSection .section-header {
  max-width: 100rem;
}

.CertificationsSection .section-header h2 {
  font-size: 3.6rem;
}

.CertificationsSection .grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media(min-width: 768px) {
  .CertificationsSection .grid-layout {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
  }
}

.cert-card {
  background-color: var(--color-fill);
  border-radius: 2.4rem;
  padding: 4rem;
  box-shadow: 0 10px 30px rgba(0, 38, 30, 0.03);
  border: 1px solid rgba(0, 38, 30, 0.05);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 38, 30, 0.08);
}

.cert-card h3 {
  font-size: 2.2rem;
  color: var(--color-secondary);
  margin-bottom: 1.6rem;
  text-transform: none;
  font-weight: 700;
}

.cert-card p {
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--color-text-light);
}

.allies-carousel {
  margin-bottom: 8rem;
  border-bottom: 1px solid rgba(0, 38, 30, 0.06);
  padding-bottom: 6rem;
  text-align: center;
}

.ticker-wrap {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  overflow: hidden;
  background-color: var(--color-white);
  padding: 1.6rem 0;
  position: relative;
}

.ticker-wrap::before,
.ticker-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  width: 8rem;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.ticker-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--color-white) 0%, rgba(255, 255, 255, 0) 100%);
}

.ticker-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--color-white) 0%, rgba(255, 255, 255, 0) 100%);
}

.ticker {
  display: flex;
  width: max-content;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 8rem;
  padding-right: 8rem;
  animation: ticker-slide 30s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 12.0rem;
}

.ticker__item img {
  height: 100%;
  width: auto;
  object-fit: contain;
  opacity: 1;
  transition: transform var(--transition-fast);
}

.ticker__item img:hover {
  transform: scale(1.05);
}

@keyframes ticker-slide {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-100%, 0, 0);
  }
}


.stat-subpage-card {
  background-color: var(--color-white);
  border-radius: 2.4rem;
  padding: 4rem 2.4rem;
  box-shadow: 0 12px 35px rgba(0, 38, 30, 0.05); /* Soft, subtle dark green/black shadow */
  border: 1px solid rgba(241, 184, 79, 0.15); /* subtle gold accent border all around */
  border-top: 5px solid var(--color-accent); /* solid gold accent top border for extreme visibility */
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

@media(max-width: 1024px) {
  .stat-subpage-card {
    padding: 3rem 1.6rem;
  }
}

.stat-subpage-card:hover {
  transform: translateY(-6px); /* slightly more lift */
  box-shadow: 0 20px 45px rgba(0, 38, 30, 0.1); /* shadow colored with gold accent glow */
  border-color: rgba(241, 184, 79, 0.4);
}

.stat-subpage-card .stat-number-wrapper {
  margin-bottom: 1.6rem;
  display: flex;
  justify-content: center;
  align-items: baseline;
}

.stat-subpage-card .stat-card-title {
  font-family: var(--font-family-primary);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.1;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.8rem;
  flex-wrap: wrap;
  width: 100%;
}

.stat-subpage-card .stat-value {
  font-family: inherit;
  font-size: 4.8rem; /* Large numbers */
  font-weight: 900;
  color: inherit;
  line-height: 1;
}

.stat-subpage-card .stat-value::before {
  content: attr(data-prefix);
  color: inherit;
  margin-right: 0.2rem;
}

.stat-subpage-card .stat-value::after {
  content: attr(data-unit);
  color: inherit;
}

.stat-subpage-card .stat-label {
  font-family: inherit;
  font-size: 2.4rem; /* Smaller text label sizes */
  font-weight: 700;
  color: inherit;
  line-height: 1;
}

@media(max-width: 1024px) {
  .stat-subpage-card .stat-value {
    font-size: 3.6rem;
  }
  .stat-subpage-card .stat-label {
    font-size: 1.8rem;
  }
}

.stat-subpage-card p {
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--color-text-light);
  margin: 0;
  text-wrap: pretty;
}

@media(min-width: 768px) and (max-width: 1024px) {
  .stat-subpage-card p {
    min-height: 7.2rem; /* Exactly 3 lines of text on tablet */
  }
}

@media(min-width: 1025px) {
  .stat-subpage-card p {
    min-height: 4.8rem; /* Exactly 2 lines of text on desktop */
  }
}

/* ==========================================================================
   Contacto Subpage Styles
   ========================================================================= */

.ContactSection {
  padding: 12rem 0;
  background-color: var(--color-fill);
}

.ContactSection .grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6rem;
}

@media(min-width: 992px) {
  .ContactSection .grid-layout {
    grid-template-columns: 1fr 1.2fr;
    gap: 8rem;
    align-items: start;
  }
}

/* Contact Details Info Card (Left Column) */
.contact-info-card {
  background-color: var(--color-white);
  border-radius: 2.4rem;
  padding: 6rem 4.8rem;
  box-shadow: 0 20px 50px rgba(0, 38, 30, 0.05); /* Soft dark green shadow */
  border: 1px solid rgba(0, 38, 30, 0.05);
  border-top: 5px solid var(--color-primary); /* Primary green top accent flag for brand contrast */
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

@media(max-width: 768px) {
  .contact-info-card {
    padding: 4rem 2.4rem;
  }
}

.contact-info-card .card-header h2 {
  font-size: 4.0rem;
  color: var(--color-text);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.contact-info-card .card-header p {
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--color-text-light);
  margin: 0;
}

.contact-info-card .channels {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}

.contact-info-card .channel-item {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.contact-info-card .icon-wrap {
  display: flex;
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 50%;
  background-color: rgba(1, 166, 106, 0.08); /* Very light primary green tint */
  color: var(--color-primary);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-card .icon-wrap svg {
  width: 2rem;
  height: 2rem;
  stroke-width: 2;
}

.contact-info-card .detail h4 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 0.4rem;
  text-transform: none;
}

.contact-info-card .detail p {
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--color-text-light);
  margin: 0;
}

.contact-info-card .detail a {
  color: inherit;
  transition: color var(--transition-fast);
  font-weight: 600;
}

.contact-info-card .detail a:hover {
  color: var(--color-primary);
}

.contact-info-card .map-container {
  width: 100%;
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 38, 30, 0.06);
  aspect-ratio: 16 / 9;
}

.contact-info-card .map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.ContactSection .form-wrapper .section-header h2 {
  font-size: 4.0rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.ContactSection .form-wrapper .section-header p {
  max-width: 48rem;
  line-height: 1.6;
  text-align: center;
  margin: 0 auto;
}

/* Premium custom select dropdown (B2B UI) */
.ContactSection .premium-select {
  width: 100%;
  height: 5.9rem; /* Exactly matches input field height for vertical pixel alignment */
  padding: 0 4rem 0 1.6rem;
  border: 1px solid rgba(4, 41, 64, 0.15);
  border-radius: 1.2rem;
  background-color: var(--color-white);
  font-family: var(--font-family-secondary);
  font-size: 1.8rem;
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
  appearance: none; /* remove native arrow style */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2300261e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.6rem center;
  background-size: 2rem;
}

.ContactSection .premium-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(1, 166, 106, 0.1);
}

/* Align right card padding with left card padding to ensure top-boundary and title alignment */
.ContactSection .form-wrapper {
  padding: 6rem 4.8rem;
}

@media(max-width: 768px) {
  .ContactSection .form-wrapper {
    padding: 4rem 2.4rem;
  }
}

/* FAQ Accordion Styling */
.faq-item {
  border-bottom: 1px solid rgba(4, 41, 64, 0.12);
}

.faq-item:first-child {
  border-top: 1px solid rgba(4, 41, 64, 0.12);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 2rem;
  font-family: var(--font-family-primary);
  font-size: 2.2rem; /* Lower font size, styled as subtitle */
  font-weight: 600;
  text-align: left;
  color: var(--color-text);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-icon {
  width: 3.2rem;
  height: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(4, 41, 64, 0.15);
  color: var(--color-text-light);
  transition: all var(--transition-fast);
}

.faq-question:hover .faq-icon {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.faq-icon svg {
  width: 1.6rem;
  height: 1.6rem;
  fill: currentColor;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.-active .faq-icon {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.faq-item.-active .faq-icon svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
  padding: 0 2rem 3rem 2rem;
}

.faq-answer p {
  font-family: var(--font-family-secondary);
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--color-text-light);
  margin: 0;
}