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

:root {
  --green: #43ad32;
  --green-dark: #2f8726;
  --black: #050505;
  --ink: #14181d;
  --muted: #5d6670;
  --light-blue: #e8f4ff;
  --white: #ffffff;
  --line: rgba(20, 24, 29, 0.12);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  min-height: 100vh;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(0,0,0,.88), rgba(0,0,0,.56)),
    radial-gradient(circle at top right, rgba(67,173,50,.5), transparent 35%),
    var(--black);
  overflow: hidden;
}

.navbar {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
}

.brand {
  width: 190px;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(0, 0, 0, .52);
  border: 1px solid rgba(255,255,255,.16);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,.86);
  transition: color .2s ease;
}

.nav-links a:hover {
  color: var(--green);
}

.nav-cta {
  background: var(--green);
  color: var(--white) !important;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(67,173,50,.32);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--green);
  padding: 12px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  background: var(--white);
  margin: 5px 0;
  border-radius: 2px;
}

.hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 95px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
  font-size: 13px;
}

h1, h2, h3 {
  margin-top: 0;
  line-height: 1.04;
}

h1, h2 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  letter-spacing: .01em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(48px, 7vw, 92px);
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(38px, 5vw, 64px);
  margin-bottom: 20px;
}

h3 {
  font-size: 22px;
}

.hero-text {
  max-width: 620px;
  font-size: 19px;
  color: rgba(255,255,255,.82);
  margin-bottom: 32px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

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

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 15px 32px rgba(67,173,50,.34);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.28);
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -24px -20px 70px 60px;
  background: var(--green);
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 74%);
  z-index: 0;
  opacity: .9;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  position: absolute;
  z-index: 3;
  left: -30px;
  bottom: 34px;
  width: min(360px, calc(100% - 24px));
  padding: 22px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-left: 8px solid var(--green);
  border-radius: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.hero-card strong,
.hero-card span {
  display: block;
}

.hero-card span {
  margin-top: 6px;
  color: var(--muted);
}

.strip {
  width: min(1180px, calc(100% - 40px));
  margin: -48px auto 0;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--light-blue);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(12, 30, 20, .12);
}

.strip div {
  padding: 26px 30px;
  border-right: 1px solid var(--line);
}

.strip div:last-child {
  border-right: 0;
}

.strip strong {
  display: block;
  font-size: 20px;
}

.strip span {
  color: var(--muted);
}

.section {
  padding: 100px 0;
}

.section-grid {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

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

.image-stack {
  position: relative;
  min-height: 560px;
}

.main-img {
  width: 88%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.floating-img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 45%;
  border: 10px solid var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.section-copy p {
  color: var(--muted);
  font-size: 17px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.stats div {
  background: var(--black);
  color: var(--white);
  padding: 22px;
  border-radius: 18px;
}

.stats strong {
  display: block;
  color: var(--green);
  font-size: 30px;
  line-height: 1;
  font-family: "Barlow Condensed", Impact, sans-serif;
}

.stats span {
  color: rgba(255,255,255,.72);
}

.services-section {
  background:
    linear-gradient(120deg, var(--light-blue) 0%, var(--light-blue) 62%, var(--black) 62%, var(--black) 100%);
}

.section-heading {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto 42px;
  text-align: center;
}

.service-grid {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  min-height: 270px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 38px rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.06);
}

.service-card.featured {
  grid-column: span 2;
  background: var(--green);
  color: var(--white);
}

.service-number {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  background: var(--black);
  color: var(--white);
  border-radius: 14px;
  font-weight: 900;
  margin-bottom: 20px;
}

.featured .service-number {
  background: var(--white);
  color: var(--green);
}

.service-card p {
  color: var(--muted);
}

.featured p {
  color: rgba(255,255,255,.88);
}

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

.founder-card {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 38px;
  align-items: stretch;
  background: linear-gradient(135deg, rgba(67,173,50,.2), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 32px;
  overflow: hidden;
}

.founder-copy {
  padding: clamp(32px, 6vw, 70px);
}

.founder-copy p {
  color: rgba(255,255,255,.78);
}

.founder-card img {
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

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

.projects-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 30px;
  display: grid;
  grid-template-columns: 1fr .82fr;
  gap: 32px;
  align-items: center;
}

.projects-hero img {
  height: 520px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.projects-copy {
  padding: 44px;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  border-top: 8px solid var(--green);
}

.projects-copy p:not(.eyebrow) {
  color: rgba(255,255,255,.75);
}

.project-list {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.project-list article {
  background: var(--light-blue);
  border-radius: var(--radius);
  padding: 34px;
  border: 1px solid var(--line);
}

.project-list h3 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  color: var(--green);
  text-transform: uppercase;
  font-size: 34px;
}

.project-list li {
  margin: 8px 0;
}

.advantages-section {
  position: relative;
  color: var(--white);
  overflow: hidden;
}

.advantage-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--black);
}

.advantage-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .28;
}

.advantage-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.advantages-grid article {
  padding: 26px;
  min-height: 260px;
  background: rgba(0,0,0,.72);
  border: 1px solid rgba(67,173,50,.72);
  border-radius: 20px;
  backdrop-filter: blur(3px);
}

.advantages-grid h3 {
  color: var(--green);
}

.advantages-grid p {
  color: rgba(255,255,255,.78);
}

.process-section {
  background: var(--light-blue);
}

.process {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.process div {
  position: relative;
  background: var(--white);
  padding: 28px 20px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 12px 26px rgba(0,0,0,.06);
}

.process span {
  display: block;
  color: var(--green);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 46px;
  line-height: 1;
  margin-bottom: 10px;
}

.cta-section {
  padding: 90px 0;
  background:
    linear-gradient(135deg, rgba(0,0,0,.84), rgba(0,0,0,.65)),
    var(--black);
  color: var(--white);
  display: grid;
  grid-template-columns: minmax(20px, 1fr) minmax(0, 560px) minmax(0, 560px) minmax(20px, 1fr);
  gap: 40px;
  align-items: center;
}

.cta-copy {
  grid-column: 2;
}

.cta-copy p:not(.eyebrow) {
  color: rgba(255,255,255,.76);
  font-size: 18px;
}

.contact-card {
  grid-column: 3;
  background: var(--light-blue);
  color: var(--ink);
  padding: 34px;
  border-radius: var(--radius);
  border-left: 8px solid var(--green);
  box-shadow: var(--shadow);
}

.contact-card h3 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  text-transform: uppercase;
  font-size: 38px;
  color: var(--green);
}

.contact-card p {
  margin: 12px 0;
}

.contact-card a {
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
}

.footer {
  background: #000;
  color: rgba(255,255,255,.7);
  padding: 34px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  text-align: center;
}

.footer img {
  width: 150px;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
}

.footer a {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 86px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--black);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
    overflow: hidden;
    max-height: 0;
    transition: max-height .3s ease;
  }

  .nav-links.open {
    max-height: 420px;
  }

  .nav-links a {
    width: 100%;
    padding: 17px 22px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .nav-cta {
    border-radius: 0;
  }

  .hero,
  .section-grid,
  .projects-hero,
  .founder-card {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-visual img {
    min-height: 360px;
  }

  .strip,
  .service-grid,
  .project-list,
  .advantages-grid,
  .process {
    grid-template-columns: 1fr;
  }

  .strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-card.featured {
    grid-column: auto;
  }

  .image-stack {
    min-height: auto;
  }

  .main-img {
    width: 100%;
    height: 360px;
  }

  .floating-img {
    position: relative;
    width: 72%;
    margin: -70px auto 0;
  }

  .projects-hero img {
    height: 360px;
  }

  .advantages-grid article {
    min-height: auto;
  }

  .cta-section {
    grid-template-columns: 20px 1fr 20px;
  }

  .cta-copy,
  .contact-card {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .navbar,
  .hero,
  .strip,
  .section-grid,
  .service-grid,
  .founder-card,
  .projects-hero,
  .project-list,
  .advantage-content,
  .process,
  .section-heading {
    width: min(100% - 28px, 1180px);
  }

  .brand {
    width: 154px;
  }

  .section {
    padding: 70px 0;
  }

  .hero-card {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: -42px;
    width: calc(100% - 28px);
    margin-left: auto;
    margin-right: auto;
    z-index: 4;
  }

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

  .projects-copy,
  .contact-card {
    padding: 28px;
  }
}



/* ===== Mobile navigation fix + premium motion effects ===== */

/* Prevent the closed mobile menu from drawing a horizontal border line through the logo area */
@media (max-width: 980px) {
  .navbar {
    align-items: center;
  }

  .brand {
    position: relative;
    z-index: 30;
  }

  .menu-toggle {
    position: relative;
    z-index: 35;
    box-shadow: 0 12px 28px rgba(67, 173, 50, 0.38);
  }

  .nav-links {
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    max-height: 0;
    padding: 0;
    border: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    background: rgba(5, 5, 5, 0.96);
    box-shadow: none;
  }

  .nav-links.open {
    max-height: 460px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    border: 1px solid rgba(67, 173, 50, 0.45);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  }

  .nav-links a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }
}

/* Make the hero feel more alive without slowing the website down */
.site-header {
  position: relative;
  isolation: isolate;
}

.site-header::before,
.site-header::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.38;
  z-index: -1;
  pointer-events: none;
}

.site-header::before {
  width: 340px;
  height: 340px;
  left: -140px;
  top: 18%;
  background: radial-gradient(circle, rgba(67, 173, 50, 0.75), transparent 68%);
  animation: floatGlow 8s ease-in-out infinite alternate;
}

.site-header::after {
  width: 420px;
  height: 420px;
  right: -190px;
  bottom: 2%;
  background: radial-gradient(circle, rgba(67, 173, 50, 0.55), transparent 70%);
  animation: floatGlow 10s ease-in-out infinite alternate-reverse;
}

.hero-copy,
.hero-visual,
.strip,
.section-heading,
.section-copy,
.service-card,
.founder-card,
.projects-hero,
.project-list article,
.advantages-grid article,
.process div,
.contact-card {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.hero-copy.reveal-in,
.hero-visual.reveal-in,
.strip.reveal-in,
.section-heading.reveal-in,
.section-copy.reveal-in,
.service-card.reveal-in,
.founder-card.reveal-in,
.projects-hero.reveal-in,
.project-list article.reveal-in,
.advantages-grid article.reveal-in,
.process div.reveal-in,
.contact-card.reveal-in {
  opacity: 1;
  transform: translateY(0);
}

.hero-visual img,
.main-img,
.projects-hero img,
.founder-card img {
  transition: transform 0.65s ease, filter 0.65s ease;
}

.hero-visual:hover img,
.image-stack:hover .main-img,
.projects-hero:hover img,
.founder-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.05);
}

.service-card,
.project-list article,
.advantages-grid article,
.process div,
.contact-card {
  transition-property: opacity, transform, box-shadow, border-color;
}

.service-card:hover,
.project-list article:hover,
.advantages-grid article:hover,
.process div:hover,
.contact-card:hover {
  transform: translateY(-9px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
}

.btn,
.nav-cta,
.menu-toggle {
  position: relative;
  overflow: hidden;
}

.btn::after,
.nav-cta::after,
.menu-toggle::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  transform: translateX(-120%) rotate(18deg);
  transition: transform .75s ease;
}

.btn:hover::after,
.nav-cta:hover::after,
.menu-toggle:hover::after {
  transform: translateX(120%) rotate(18deg);
}

.hero-card {
  animation: softPulse 3.5s ease-in-out infinite;
}

.service-number {
  animation: badgeFloat 3.8s ease-in-out infinite;
}

.process div::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(67, 173, 50, 0);
  transition: border-color .3s ease;
}

.process div:hover::after {
  border-color: rgba(67, 173, 50, .8);
}

@keyframes floatGlow {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(45px, -35px, 0) scale(1.08);
  }
}

@keyframes softPulse {
  0%, 100% {
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  }
  50% {
    box-shadow: 0 24px 68px rgba(67, 173, 50, 0.28);
  }
}

@keyframes badgeFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Respect people who prefer less movement */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .hero-copy,
  .hero-visual,
  .strip,
  .section-heading,
  .section-copy,
  .service-card,
  .founder-card,
  .projects-hero,
  .project-list article,
  .advantages-grid article,
  .process div,
  .contact-card {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Smaller phones: keep logo and menu clean with no visual crossing line */
@media (max-width: 640px) {
  .navbar {
    padding-top: 22px;
    padding-bottom: 10px;
  }

  .brand {
    background: rgba(0, 0, 0, 0.72);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  }

  .menu-toggle {
    width: 58px;
    height: 58px;
    border-radius: 16px;
  }

  .site-header::before {
    top: 8%;
  }
}



/* ===== DEFINITIVE MOBILE LINE FIX ===== */
@media (max-width: 980px) {
  .navbar {
    position: relative;
    z-index: 100;
    isolation: isolate;
  }

  .brand {
    position: relative;
    z-index: 120;
  }

  .menu-toggle {
    position: relative;
    z-index: 130;
  }

  .nav-links {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    transform: none !important;
  }

  .nav-links.open {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    top: calc(100% + 12px) !important;
    left: 0 !important;
    right: 0 !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border: 1px solid rgba(67, 173, 50, 0.55) !important;
    border-radius: 18px !important;
    background: rgba(5, 5, 5, 0.98) !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.62) !important;
    animation: menuDrop 0.35s ease both;
  }

  .nav-links.open a {
    width: 100%;
    padding: 17px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links.open a:last-child {
    border-bottom: 0;
  }
}

/* ===== STRONGER SCROLL ANIMATIONS ===== */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-zoom,
.reveal-blur,
.reveal-word {
  opacity: 0;
  will-change: transform, opacity, filter;
}

.reveal-up {
  transform: translate3d(0, 58px, 0);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.18,.8,.2,1);
}

.reveal-left {
  transform: translate3d(-70px, 0, 0);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.18,.8,.2,1);
}

.reveal-right {
  transform: translate3d(70px, 0, 0);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.18,.8,.2,1);
}

.reveal-zoom {
  transform: scale(0.88) translate3d(0, 34px, 0);
  transition: opacity 0.95s ease, transform 0.95s cubic-bezier(.18,.8,.2,1);
}

.reveal-blur {
  transform: translate3d(0, 40px, 0);
  filter: blur(10px);
  transition: opacity 1s ease, transform 1s cubic-bezier(.18,.8,.2,1), filter 1s ease;
}

.reveal-word {
  display: inline-block;
  transform: translate3d(0, 105%, 0);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.18,.8,.2,1);
}

.reveal-in {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
  filter: blur(0) !important;
}

/* Image shine sweep */
.image-stack,
.hero-visual,
.projects-hero,
.founder-card {
  overflow: hidden;
}

.image-stack::after,
.hero-visual::after,
.projects-hero::after,
.founder-card::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -80%;
  width: 45%;
  height: 140%;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,.20), transparent);
  transform: rotate(12deg);
  transition: left 1.1s ease;
  pointer-events: none;
  z-index: 5;
}

.image-stack:hover::after,
.hero-visual:hover::after,
.projects-hero:hover::after,
.founder-card:hover::after {
  left: 130%;
}

.hero-copy h1 {
  overflow: hidden;
}

.hero-copy h1 .reveal-word,
.section-heading h2 .reveal-word,
.section-copy h2 .reveal-word,
.projects-copy h2 .reveal-word,
.cta-copy h2 .reveal-word {
  margin-right: .12em;
}

/* Floating green accents */
.hero-actions,
.stats div,
.service-card,
.project-list article,
.advantages-grid article,
.process div {
  position: relative;
}

.service-card::before,
.project-list article::before,
.advantages-grid article::before,
.process div::before {
  content: "";
  position: absolute;
  inset: auto 22px 0 22px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .45s ease;
}

.service-card:hover::before,
.project-list article:hover::before,
.advantages-grid article:hover::before,
.process div:hover::before {
  transform: scaleX(1);
}

@keyframes menuDrop {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up,
  .reveal-left,
  .reveal-right,
  .reveal-zoom,
  .reveal-blur,
  .reveal-word {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}



/* ===== FINAL HERO CARD LAYERING FIX ===== */
.hero-visual {
  position: relative !important;
  overflow: visible !important;
  z-index: 1 !important;
}

.hero-visual::before {
  z-index: 0 !important;
  pointer-events: none !important;
}

.hero-visual img {
  position: relative !important;
  z-index: 1 !important;
  isolation: isolate;
}

.hero-card {
  position: absolute !important;
  z-index: 30 !important;
  right: 28px !important;
  left: auto !important;
  bottom: 36px !important;
  width: min(390px, calc(100% - 56px)) !important;
  background: #ffffff !important;
  color: var(--ink) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateZ(0) !important;
}

/* The hover shine must stay behind the safety card */
.hero-visual::after {
  z-index: 2 !important;
  pointer-events: none !important;
}

/* Keep the card readable even when scroll animations run */
.hero-card.reveal-up,
.hero-card.reveal-left,
.hero-card.reveal-right,
.hero-card.reveal-zoom,
.hero-card.reveal-blur {
  opacity: 1 !important;
  filter: none !important;
}

@media (max-width: 980px) {
  .hero-visual {
    overflow: visible !important;
  }

  .hero-card {
    position: relative !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 30 !important;
    width: calc(100% - 28px) !important;
    margin: -52px auto 0 !important;
    background: #ffffff !important;
  }
}



/* ===== CONTACT FORM ===== */
.form-divider {
  height: 1px;
  width: 100%;
  margin: 28px 0 24px;
  background: linear-gradient(90deg, transparent, rgba(67, 173, 50, .75), transparent);
}

.form-title {
  margin-bottom: 18px;
  font-family: "Barlow Condensed", Impact, sans-serif;
  text-transform: uppercase;
  font-size: 34px;
  color: var(--green);
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  font-weight: 800;
  color: var(--ink);
  margin-top: 4px;
}

.contact-form label span {
  color: var(--green);
  margin-left: 3px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(20, 24, 29, .16);
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
  background: #ffffff;
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(67, 173, 50, .16);
  transform: translateY(-1px);
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.hidden-field {
  display: none !important;
}

.form-button {
  width: 100%;
  border: 0;
  cursor: pointer;
  margin-top: 8px;
}

.form-note {
  margin: 4px 0 0 !important;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 640px) {
  .form-title {
    font-size: 30px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 13px 14px;
  }
}



/* ===== CONTACT FORM STATUS ===== */
.form-status {
  min-height: 22px;
  margin: 10px 0 0 !important;
  font-weight: 800;
}

.form-status.success {
  color: var(--green-dark);
}

.form-status.error {
  color: #b00020;
}

.form-button.is-loading {
  opacity: .75;
  cursor: wait;
}
