:root {
  --ink: #20201e;
  --muted: #4e4d49;
  --paper: #ffffff;
  --soft: #f7f7f5;
  --green: #069a75;
  --forest: #2d5a3d;
  --forest-dark: #1a3d2a;
  --coral: #f27b55;
  --line: #111111;
  --radius: 24px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
}

body.is-loaded {
  overflow: auto;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--paper);
  transition: opacity 600ms ease, visibility 600ms ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  display: grid;
  place-items: center;
  gap: 24px;
}

.loader-logo {
  width: clamp(140px, 18vw, 220px);
  height: auto;
  object-fit: contain;
}

.loader-pulse {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--forest);
  animation: loaderPulse 1.4s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(0.6); opacity: 0.4; }
  50% { transform: scale(1); opacity: 1; }
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 44px;
  min-height: 78px;
  padding: 0 clamp(26px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: clamp(124px, 11vw, 174px);
  height: auto;
  object-fit: contain;
}

.nav-links,
.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 48px);
  color: #080808;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  justify-self: center;
}

.header-actions {
  justify-self: end;
}

.quote-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 25px;
  border: 2px solid var(--line);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: clamp(690px, 54vw, 830px);
  display: grid;
  place-items: start center;
  overflow: hidden;
  padding: clamp(74px, 9vw, 132px) 24px 0;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.95) 0 22%, rgba(255, 255, 255, 0) 46%),
    linear-gradient(#fff, #fff);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(650px, 100%);
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(50px, 5vw, 76px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero-logo {
  width: clamp(140px, 16vw, 220px);
  height: auto;
  margin: 0 auto 28px;
  object-fit: contain;
}

.hero p {
  width: min(470px, 100%);
  margin: 34px auto 30px;
  color: var(--ink);
  font-size: clamp(20px, 2.1vw, 25px);
  line-height: 1.45;
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 58px;
  padding: 0 12px 0 31px;
  border: 0;
  border-radius: 999px;
  background: var(--forest);
  color: white;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.primary-cta:hover {
  transform: translateY(-2px);
  background: var(--forest-dark);
}

.primary-cta span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: white;
  color: var(--forest);
  font-size: 25px;
  line-height: 1;
}

.hero-art {
  position: absolute;
  left: 50%;
  bottom: clamp(-170px, -9vw, -92px);
  width: max(1380px, 100vw);
  max-width: none;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 60%, #ffffff 100%);
  z-index: 1;
  pointer-events: none;
}

.difference,
.portfolio,
.faq,
.split-section,
.contact {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.difference {
  padding: 84px 0 82px;
  text-align: center;
}

.difference h2,
.section-heading h2,
.split-section h2,
.contact h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 58px;
}

.card {
  min-height: 385px;
  padding: 44px 34px 38px;
  border-radius: var(--radius);
  background: var(--soft);
  text-align: center;
}

.card img {
  width: 82px;
  height: 82px;
  margin: 0 auto 48px;
  border-radius: 18px;
  object-fit: cover;
}

.card h3,
.portfolio-grid h3,
.timeline h3 {
  margin: 0;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.22;
}

.card p {
  margin: 24px auto 0;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.42;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 64px;
  align-items: start;
  padding: 74px 0;
  border-top: 2px solid var(--line);
}

.kicker {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline article {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 8px 22px;
  padding: 24px;
  border: 2px solid var(--line);
  border-radius: 22px;
  background: #fff8f1;
  box-shadow: 6px 6px 0 var(--line);
}

.timeline span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--coral);
  color: white;
  font-weight: 900;
}

.timeline p,
.portfolio-grid p,
.contact p,
.faq-item p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.portfolio {
  padding: 80px 0;
}

.section-heading {
  text-align: center;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 48px;
}

.portfolio-grid article {
  min-height: 250px;
  padding: 30px;
  border: 2px solid var(--line);
  border-radius: 26px;
  background: #f4fbf8;
}

.portfolio-grid article:nth-child(2) {
  background: #fff4ec;
}

.portfolio-grid article:nth-child(3) {
  background: #eef7ff;
}

.portfolio-grid article:nth-child(4) {
  background: #f8f7ed;
}

.portfolio-grid article:nth-child(5) {
  background: #fff8f1;
}

.portfolio-grid article:nth-child(6) {
  background: #f2f3ff;
}

.portfolio-grid span {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-grid h3 {
  font-size: 34px;
}

.faq {
  padding: 76px 0;
}

.accordion {
  display: grid;
  gap: 14px;
  margin-top: 46px;
}

.faq-item {
  border: 2px solid var(--line);
  border-radius: 24px;
  background: white;
  overflow: hidden;
}

.faq-item button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  padding: 26px 30px;
  cursor: pointer;
  color: var(--ink);
  font-size: 24px;
  font-weight: 650;
  text-align: left;
}

.faq-item button span {
  font-size: 32px;
  transition: transform 180ms ease;
}

.faq-item p {
  display: none;
  max-width: 850px;
  margin: 0;
  padding: 0 30px 28px;
  font-size: 20px;
}

.faq-item.is-open {
  background: var(--soft);
}

.faq-item.is-open p {
  display: block;
}

.faq-item.is-open button span {
  transform: rotate(45deg);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  gap: 54px;
  align-items: center;
  margin-bottom: 70px;
  padding: 46px;
  border: 2px solid var(--line);
  border-radius: 30px;
  background: #f6f6ee;
  box-shadow: 8px 8px 0 var(--line);
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  min-height: 54px;
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 16px;
  padding: 14px 17px;
  background: white;
  color: var(--ink);
  outline: none;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus {
  box-shadow: 0 0 0 4px rgba(45, 90, 61, 0.18);
}

.contact-form .primary-cta {
  justify-self: start;
  margin-top: 6px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-size: 15px;
  font-weight: 800;
}

.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.wa-float:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.cards .card:nth-child(1).reveal { transition-delay: 0ms; }
.cards .card:nth-child(2).reveal { transition-delay: 100ms; }
.cards .card:nth-child(3).reveal { transition-delay: 200ms; }

.timeline article:nth-child(1).reveal { transition-delay: 0ms; }
.timeline article:nth-child(2).reveal { transition-delay: 100ms; }
.timeline article:nth-child(3).reveal { transition-delay: 200ms; }
.timeline article:nth-child(4).reveal { transition-delay: 300ms; }

.portfolio-grid article:nth-child(1).reveal { transition-delay: 0ms; }
.portfolio-grid article:nth-child(2).reveal { transition-delay: 80ms; }
.portfolio-grid article:nth-child(3).reveal { transition-delay: 160ms; }
.portfolio-grid article:nth-child(4).reveal { transition-delay: 240ms; }
.portfolio-grid article:nth-child(5).reveal { transition-delay: 320ms; }
.portfolio-grid article:nth-child(6).reveal { transition-delay: 400ms; }

.faq-item:nth-child(1).reveal { transition-delay: 0ms; }
.faq-item:nth-child(2).reveal { transition-delay: 100ms; }
.faq-item:nth-child(3).reveal { transition-delay: 200ms; }

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 18px;
  }

  .menu-toggle {
    display: grid;
    gap: 6px;
    width: 46px;
    height: 46px;
    place-content: center;
    border: 2px solid var(--line);
    border-radius: 999px;
    background: white;
  }

  .menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--line);
  }

  .nav-links,
  .header-actions {
    display: none;
  }

  .site-header.is-open .nav-links,
  .site-header.is-open .header-actions {
    position: absolute;
    left: 18px;
    right: 18px;
    display: grid;
    gap: 0;
    padding: 14px;
    border: 2px solid var(--line);
    background: white;
  }

  .site-header.is-open .nav-links {
    top: 78px;
    border-radius: 22px 22px 0 0;
  }

  .site-header.is-open .header-actions {
    top: 238px;
    border-top: 0;
    border-radius: 0 0 22px 22px;
  }

  .site-header.is-open a {
    padding: 14px;
  }

  .quote-link {
    justify-content: center;
  }

  .hero {
    min-height: 760px;
    padding-top: 58px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-art {
    width: max(1120px, 166vw);
    bottom: -120px;
  }

  .cards,
  .portfolio-grid,
  .split-section,
  .contact {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 70px;
    padding: 0 18px;
    width: 100%;
  }

  .menu-toggle {
    position: relative;
    top: auto;
    left: auto;
    z-index: 40;
  }

  .hero {
    min-height: 660px;
    padding: 48px 18px 0;
  }

  .hero-copy {
    width: min(330px, calc(100vw - 42px));
    margin-left: 0;
    margin-right: 0;
  }

  .hero h1 {
    width: min(100%, 300px);
    margin-left: auto;
    margin-right: auto;
    font-size: 29px;
    line-height: 1.1;
  }

  .hero p {
    width: min(100%, 276px);
    margin-left: auto;
    margin-right: auto;
    margin-top: 22px;
    font-size: 18px;
  }

  .primary-cta {
    width: min(100%, 268px);
    min-height: 54px;
    padding-left: 20px;
    font-size: 14px;
  }

  .hero-art {
    width: 800px;
    left: 50%;
    bottom: -86px;
  }

  .difference {
    padding-top: 58px;
  }

  .difference,
  .portfolio,
  .faq,
  .split-section,
  .contact {
    width: min(354px, calc(100vw - 36px));
    margin-left: 18px;
    margin-right: 0;
  }

  .difference h2,
  .section-heading h2,
  .split-section h2,
  .contact h2 {
    max-width: 100%;
    font-size: 34px;
  }

  .card {
    padding: 34px 24px;
  }

  .card p {
    font-size: 20px;
  }

  .split-section,
  .portfolio,
  .faq {
    padding: 54px 0;
  }

  .timeline article {
    grid-template-columns: 1fr;
    box-shadow: 4px 4px 0 var(--line);
  }

  .timeline span {
    grid-row: auto;
  }

  .portfolio-grid h3 {
    font-size: 28px;
  }

  .faq-item button {
    padding: 22px;
    font-size: 20px;
  }

  .faq-item p {
    padding: 0 22px 24px;
    font-size: 17px;
  }

  .contact {
    padding: 28px;
    box-shadow: 4px 4px 0 var(--line);
  }
}
