:root {
  --bg: #f7f4ec;
  --surface: #ffffff;
  --surface-2: #edf5ed;
  --ink: #17342c;
  --muted: #66756f;
  --green: #0e4b3a;
  --green-2: #167454;
  --sage: #7c946b;
  --water: #169bc0;
  --sand: #d4a75f;
  --sand-soft: #f0dfbd;
  --danger: #b56b46;
  --shadow: 0 24px 80px rgba(16, 58, 45, 0.14);
  --shadow-soft: 0 14px 40px rgba(16, 58, 45, 0.1);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  height: 100%;
}
body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a {
  color: white;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}
.section {
  padding: 100px 0;
  position: relative;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 100;
  background: var(--green);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
}
.skip-link:focus {
  left: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 236, 0.82);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(14, 75, 58, 0.08);
}
.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(14, 75, 58, 0.12);
}
.brand strong {
  display: block;
  letter-spacing: -0.02em;
  font-size: 1.03rem;
}
.brand small {
  display: block;
  /* color: var(--muted); */
  font-size: 0.78rem;
  margin-top: -2px;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-menu a {
  padding: 10px 12px;
  color: white;
  font-weight: 650;
  font-size: 0.94rem;
  border-radius: 999px;
  transition: 0.2s ease;
}
.nav-menu a:hover {
  background: rgba(8, 245, 177, 0.08);
}
.nav-menu .nav-cta {
  background: var(--green);
  color: #e5d2ba;
  padding-inline: 18px;
}
.nav-menu .nav-cta:hover {
  background: var(--green-2);
}
.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span:not(.sr-only) {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 4px;
}

.hero {
  min-height: 780px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 92px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(8, 42, 33, 0.92),
      rgba(8, 42, 33, 0.62) 47%,
      rgba(8, 42, 33, 0.18)
    ),
    url("../img/hero.webp") center/cover no-repeat;
  transform: scale(1.02);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 160px;
  background: linear-gradient(180deg, rgba(247, 244, 236, 0), var(--bg));
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 64px;
  align-items: center;
}
.hero-copy {
  color: #fff;
}
.eyebrow {
  color: var(--sand);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin: 0 0 14px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
  max-width: 920px;
  margin-bottom: 24px;
}
.hero-text {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  max-width: 650px;
  margin-bottom: 34px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: linear-gradient(135deg, var(--sand), #f3cc83);
  color: #1d2d27;
  box-shadow: 0 18px 40px rgba(212, 167, 95, 0.25);
}
.btn-primary:hover {
  box-shadow: 0 24px 55px rgba(212, 167, 95, 0.35);
}
.btn-secondary {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.trust-row span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 0.9rem;
}

.hero-card {
  position: relative;
  min-height: 540px;
}
.hero-image-wrap {
  position: absolute;
  inset: 60px 0 0 70px;
  border-radius: 42px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(5, 30, 23, 0.32));
}
.glass {
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-soft);
}
.metric-card {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 10px;
  width: 210px;
  padding: 26px;
  border-radius: 28px;
}
.metric-number {
  display: block;
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  letter-spacing: -0.05em;
}
.metric-label {
  color: var(--muted);
  font-weight: 700;
}
.floating-note {
  position: absolute;
  right: 10px;
  bottom: 30px;
  z-index: 3;
  width: min(330px, 80%);
  padding: 20px;
  border-radius: 24px;
}
.floating-note strong {
  display: block;
  color: var(--green);
  margin-bottom: 4px;
}
.floating-note span {
  color: var(--muted);
}
.fluid-orb {
  position: absolute;
  z-index: 1;
  border-radius: 46% 54% 65% 35% / 44% 33% 67% 56%;
  filter: blur(1px);
  opacity: 0.6;
  animation: morph 12s ease-in-out infinite alternate;
}
.orb-a {
  width: 420px;
  height: 420px;
  right: 6%;
  top: 14%;
  background: radial-gradient(
    circle,
    rgba(22, 155, 192, 0.25),
    rgba(22, 155, 192, 0)
  );
}
.orb-b {
  width: 360px;
  height: 360px;
  left: 45%;
  bottom: 8%;
  background: radial-gradient(
    circle,
    rgba(212, 167, 95, 0.22),
    rgba(212, 167, 95, 0)
  );
  animation-delay: -4s;
}
@keyframes morph {
  to {
    border-radius: 58% 42% 36% 64% / 58% 60% 40% 42%;
    transform: translate3d(18px, -14px, 0) rotate(8deg);
  }
}

.strip {
  padding: 48px 0;
  margin-top: -58px;
  z-index: 4;
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.strip article {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(14, 75, 58, 0.08);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}
.icon-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--green);
  font-weight: 900;
  margin-bottom: 14px;
}
.strip h2 {
  margin-bottom: 6px;
  font-size: 1.35rem;
}
.strip p {
  color: var(--muted);
  margin: 0;
}

.split-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.section-copy h2,
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
  margin-bottom: 18px;
}
.section-copy p,
.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}
.section-head {
  max-width: 810px;
  margin-bottom: 42px;
}
.pill-list,
.sector-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.pill-list span,
.sector-list span {
  background: #fff;
  border: 1px solid rgba(14, 75, 58, 0.08);
  border-radius: 999px;
  padding: 10px 14px;
  color: #315249;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(16, 58, 45, 0.05);
}
.mission-panel {
  display: grid;
  gap: 18px;
}
.mission-panel article {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.92),
    rgba(237, 245, 237, 0.92)
  );
  border: 1px solid rgba(14, 75, 58, 0.08);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-soft);
}
.mission-panel h3 {
  color: var(--green);
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.mission-panel p {
  color: var(--muted);
  margin: 0;
}

.services {
  background: #fff;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: center;
  padding: 18px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(14, 75, 58, 0.08);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.service-card img {
  height: 320px;
  width: 100%;
  object-fit: cover;
  border-radius: 24px;
}
.accent-card {
  background: linear-gradient(135deg, #eef8f4, #fff5df);
}
.card-kicker {
  color: var(--water);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
}
.service-card h3,
.mini-card h3 {
  font-size: 1.45rem;
  line-height: 1.15;
  margin: 8px 0 10px;
  letter-spacing: -0.03em;
}
.service-card p,
.mini-card p {
  color: var(--muted);
  margin: 0;
}
.mini-card {
  min-height: 260px;
  background: var(--surface);
  padding: 28px;
  border: 1px solid rgba(14, 75, 58, 0.08);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 28px rgba(16, 58, 45, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.mini-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}
.mini-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--surface-2);
  color: var(--green);
  font-weight: 900;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.water-section {
  background:
    radial-gradient(
      circle at 20% 15%,
      rgba(22, 155, 192, 0.13),
      transparent 32%
    ),
    linear-gradient(135deg, #0e4b3a, #11332d);
  color: #fff;
  overflow: hidden;
}
.water-section .section-copy p {
  color: rgba(255, 255, 255, 0.76);
}
.water-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}
.water-visual {
  min-height: 410px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 42px;
  overflow: hidden;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.2);
}
.water-visual svg {
  width: 100%;
  height: 100%;
  min-height: 410px;
}
.water-visual circle {
  fill: rgba(212, 167, 95, 0.2);
  stroke: rgba(255, 255, 255, 0.22);
}
.wave {
  fill: none;
  stroke-width: 18;
  stroke-linecap: round;
  stroke-dasharray: 950;
  stroke-dashoffset: 950;
  animation: drawWave 6s ease-in-out infinite alternate;
}
.wave-one {
  stroke: rgba(22, 155, 192, 0.78);
}
.wave-two {
  stroke: rgba(212, 167, 95, 0.72);
  animation-delay: 0.8s;
}
.wave-three {
  stroke: rgba(255, 255, 255, 0.44);
  animation-delay: 1.2s;
}
@keyframes drawWave {
  to {
    stroke-dashoffset: 0;
  }
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 13px;
}
.check-list li {
  position: relative;
  padding-left: 32px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 650;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1b3b31;
  background: var(--sand);
  font-size: 0.82rem;
  font-weight: 900;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.project-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(14, 75, 58, 0.08);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.project-card img {
  height: 220px;
  width: 100%;
  object-fit: cover;
}
.project-card div {
  padding: 24px;
}
.project-card h3 {
  font-size: 1.15rem;
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.project-card p {
  color: var(--muted);
  margin-bottom: 18px;
}
dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
}
dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
dd {
  margin: 0;
  font-weight: 800;
  color: var(--green);
}

.method {
  background: linear-gradient(180deg, var(--bg), #fff);
}
.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  padding: 0;
  margin: 0;
  gap: 14px;
  counter-reset: step;
}
.timeline li {
  background: #fff;
  border: 1px solid rgba(14, 75, 58, 0.08);
  border-radius: 24px;
  padding: 24px 18px;
  min-height: 250px;
  box-shadow: 0 12px 28px rgba(16, 58, 45, 0.06);
  position: relative;
  overflow: hidden;
}
.timeline li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--green), var(--sand));
}
.timeline span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  color: var(--green);
  font-weight: 900;
  margin-bottom: 20px;
}
.timeline h3 {
  font-size: 1rem;
  line-height: 1.18;
  margin-bottom: 10px;
}
.timeline p {
  color: var(--muted);
  margin: 0;
  font-size: 0.94rem;
}

.performance {
  background: #fff;
}
.performance-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.kpi {
  background: linear-gradient(135deg, #f7f4ec, #eef8f4);
  border: 1px solid rgba(14, 75, 58, 0.08);
  border-radius: var(--radius-md);
  padding: 30px;
  min-height: 150px;
  box-shadow: 0 10px 25px rgba(16, 58, 45, 0.05);
}
.kpi strong {
  display: block;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--green);
  margin-bottom: 10px;
}
.kpi span {
  color: var(--muted);
  font-weight: 800;
}

.sectors {
  background: radial-gradient(
    circle at 80% 18%,
    rgba(212, 167, 95, 0.18),
    transparent 30%
  );
}
.sector-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.sector-mosaic img {
  height: 210px;
  width: 100%;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  border: 8px solid #fff;
}
.sector-mosaic img:nth-child(2),
.sector-mosaic img:nth-child(3) {
  transform: translateY(22px);
}

.compliance {
  background: #fff;
}
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.info-card {
  background: var(--bg);
  border: 1px solid rgba(14, 75, 58, 0.08);
  border-radius: var(--radius-md);
  padding: 28px;
  min-height: 245px;
  box-shadow: 0 10px 28px rgba(16, 58, 45, 0.05);
}
.info-card h3 {
  color: var(--green);
  margin-bottom: 12px;
}
.info-card p {
  color: var(--muted);
  margin: 0;
}
.info-card strong {
  color: var(--ink);
}

.contact {
  background: linear-gradient(135deg, #0e4b3a, #1e644c);
  color: #fff;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  right: -120px;
  top: -160px;
  background: radial-gradient(
    circle,
    rgba(212, 167, 95, 0.25),
    transparent 66%
  );
}
.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: stretch;
}
.contact-card,
.quote-form {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(16px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.18);
}
.contact-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}
.contact-card p {
  color: rgba(255, 255, 255, 0.78);
}
.contact-lines {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}
.contact-lines a,
.contact-lines span {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.quote-form {
  display: grid;
  gap: 16px;
}
.quote-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 750;
}
.quote-form input,
.quote-form textarea,
.quote-form select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  padding: 14px 15px;
  border-radius: 16px;
  outline: none;
}
.quote-form input:focus,
.quote-form textarea:focus,
.quote-form select:focus {
  border-color: var(--sand);
  box-shadow: 0 0 0 4px rgba(212, 167, 95, 0.18);
}
.btn-whatsapp {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}
.form-note {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
  margin: 0;
}

.footer {
  padding: 36px 0;
  background: #082a21;
  color: rgba(255, 255, 255, 0.82);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 26px;
  align-items: center;
}
.footer .brand strong {
  color: #fff;
}
.footer .brand small {
  color: rgba(255, 255, 255, 0.62);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}
.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  .hero-grid,
  .split-grid,
  .water-grid,
  .performance-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
    padding: 120px 0 80px;
  }
  .hero-card {
    min-height: 460px;
    max-width: 640px;
  }
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline {
    grid-template-columns: repeat(3, 1fr);
  }
  .compliance-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .container {
    width: min(100% - 28px, var(--container));
  }
  .section {
    padding: 72px 0;
  }
  .nav-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    inset: 78px 14px auto 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(3, 207, 34, 0.568);
    backdrop-filter: blur(20px);
    padding: 14px;
    border: 1px solid rgba(14, 75, 58, 0.1);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }
  .nav-menu.is-open {
    display: flex;
  }
  .nav-menu a {
    color: var(--ink);
  }
  .nav-menu .nav-cta {
    color: #fff;
    text-align: center;
  }
  .hero-copy {
    color: #fff;
  }
  h1 {
    font-size: clamp(2.5rem, 14vw, 4.3rem);
  }
  .hero-card {
    min-height: 390px;
  }
  .hero-image-wrap {
    inset: 60px 0 0 20px;
    border-radius: 30px;
  }
  .metric-card {
    width: 170px;
    padding: 20px;
  }
  .metric-number {
    font-size: 2.45rem;
  }
  .floating-note {
    right: 0;
    bottom: 0;
  }
  .strip {
    margin-top: 0;
    padding: 24px 0;
  }
  .strip-grid,
  .service-grid,
  .timeline,
  .kpi-grid,
  .compliance-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    grid-template-columns: 1fr;
    grid-column: span 1;
  }
  .service-card img {
    height: 240px;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .sector-mosaic img:nth-child(2),
  .sector-mosaic img:nth-child(3) {
    transform: none;
  }
  .sector-mosaic {
    gap: 10px;
  }
  .sector-mosaic img {
    height: 150px;
    border-width: 5px;
    border-radius: 18px;
  }
}

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

/* Floating Tooltip Styles */
.custom-tooltip {
  background-color: #333333;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: inherit;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
  max-width: 250px;
  line-height: 1.4;
  transition: opacity 0.15s ease;
}

/* Base container style */
.mission-panel.reveal {
  padding: 30px;
  border-radius: 24px;
  background-color: rgba(255, 255, 255, 0.6);
  border: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Active styles applied by JavaScript on hover */
.mission-panel.reveal.panel-active {
  background-color: #ffffff;
  border-color: rgba(0, 123, 255, 0.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  transform: scale(1.01);
}

.mission-panel.reveal.panel-active h3 {
  color: #007bff;
  transition: color 0.3s ease;
}

/* Base card style inside the panel */
.interactive-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.interactive-card.card-active {
  border-color: rgba(0, 123, 255, 0.15);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04);
  transform: translateY(-3px);
}
.interactive-card.card-active h3 {
  color: #007bff;
  transition: color 0.2s ease;
}

.interactive-card.expanded-card {
  background-color: #fafafa;
}

/* Show More Button Design */
.toggle-text-btn {
  background: none;
  border: none;
  color: #007bff;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  margin-top: 10px;
  padding: 0;
  display: block;
}
.toggle-text-btn:hover {
  text-decoration: underline;
  color: #0056b3;
}

/* Fixed Navigation Colors */
.site-header {
  background-color: var(
    --green
  ); /* Matches your beautiful theme green variable */
}

.nav-menu a {
  color: #e5d2ba;
}

.nav-menu a:hover {
  color: #cc2323; /* Turns clean white on hover instead of generic blue */
  background: rgba(255, 255, 255, 0.1);
}

/* --- Six clear steps STYLES & LAYOUT (FIXED) --- */
/* Target only the timeline section container so it doesn't break the Header container */
.method .container {
  max-width: 1300px;
  margin: 60px auto;
  padding: 0 30px;
}

#method-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #111827;
  margin-top: 0;
  margin-bottom: 60px;
  letter-spacing: -0.5px;
}

/* Horizontal Timeline Grid */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
}

.timeline li {
  position: relative;
  padding-top: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition:
    transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.4s ease;
  animation: fadeInUp 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: calc(var(--i) * 0.1s);
  opacity: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: #e5e7eb;
  transition:
    width 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    background-color 0.4s ease;
}

.step-num {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #6b7280;
  background: #f3f4f6;
  padding: 3px 9px;
  border-radius: 20px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.timeline li h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 12px 0;
  color: #111827;
  transition: color 0.3s ease;
}

.timeline li p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #4b5563;
  margin: 0;
  transition: color 0.3s ease;
}

/* Hover Micro-interactions */
.timeline li:hover {
  transform: translateY(-6px);
}

.timeline:hover li:not(:hover) {
  opacity: 0.6;
}

.timeline li:hover h3 {
  color: #000000;
}

.timeline li:hover .step-num {
  background: #111827;
  color: #ffffff;
}

.timeline li.step-1:hover::before {
  background: #059669;
  width: 100%;
}
.timeline li.step-2:hover::before {
  background: #2563eb;
  width: 100%;
}
.timeline li.step-3:hover::before {
  background: #0d9488;
  width: 100%;
}
.timeline li.step-4:hover::before {
  background: #7c3aed;
  width: 100%;
}
.timeline li.step-5:hover::before {
  background: #db2777;
  width: 100%;
}
.timeline li.step-6:hover::before {
  background: #ea580c;
  width: 100%;
}

/* --- RESPONSIVE TIMELINE GRID PARENT --- */
.timeline {
  display: grid !important;
  /* 3 clean, spaced out columns on computer screens */
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  padding: 0 !important;
  margin: 32px 0 !important;
  list-style: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* --- ALWAYS VISIBLE CARD ARCHITECTURE --- */
.timeline li[class^="step-"] {
  background: #ffffff !important;
  border: 1px solid rgba(44, 94, 67, 0.12) !important; /* Premium soft green tint */
  border-radius: 16px !important;
  padding: 28px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;

  /* Resetting animations that cause text hiding/distortion states */
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease !important;

  width: 100% !important;
  box-sizing: border-box !important;
}

/* Subtle, stable hover elevation */
.timeline li[class^="step-"]:hover {
  box-shadow: 0 12px 30px rgba(44, 94, 67, 0.06);
  border-color: rgba(44, 94, 67, 0.25) !important;
}

/* --- CARD INNER ELEMENT TYPOGRAPHY --- */
.step-header {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 14px !important;
  width: 100% !important;
}

.timeline li[class^="step-"] .step-num {
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: #2c5e43 !important; /* Premium Mid-Green Accent */
  background: rgba(44, 94, 67, 0.08) !important;
  padding: 4px 10px !important;
  border-radius: 30px !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}

.timeline li[class^="step-"] h3 {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}

/* --- SAFE TEXT WRAPPING ENGINE --- */
.timeline-text-flow {
  width: 100% !important;
  display: block !important;
}

.limit-text-timeline {
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
  color: #5a626a !important;
  margin: 0 !important;

  /* Stops text from wrapping vertically into narrow strips */
  display: block !important;
  width: 100% !important;
  white-space: normal !important;
  word-break: break-word !important;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES FOR EVERY DEVICE
   ========================================================================== */

/* Tablet View (Landscape and Portrait) */
@media screen and (max-width: 1024px) {
  .timeline {
    /* Shifts comfortably down to a 2-column layout */
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }
}

/* Smartphone/Mobile View */
@media screen and (max-width: 600px) {
  .timeline {
    /* 1 full-width stacked list column for optimal mobile scrolling */
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
  }

  .timeline li[class^="step-"] {
    padding: 20px !important; /* Slightly snugger spacing on tight mobile screens */
  }
}
