:root {
  --ink: #14120f;
  --muted: #716a60;
  --paper: #fff8ea;
  --sand: #ead8b7;
  --amber: #ffb629;
  --orange: #ff6b2b;
  --olive: #5f6f3f;
  --green: #123f33;
  --cream: rgba(255, 248, 234, 0.78);
  --glass: rgba(255, 255, 255, 0.56);
  --line: rgba(20, 18, 15, 0.12);
  --shadow: 0 24px 80px rgba(41, 24, 5, 0.16);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Avenir Next", "Montserrat Alternates", "Trebuchet MS", sans-serif;
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 182, 41, 0.55), transparent 28rem),
    radial-gradient(circle at 85% 18%, rgba(18, 63, 51, 0.28), transparent 30rem),
    linear-gradient(135deg, #fff8ea 0%, #f3dfb8 43%, #e9c783 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 18, 15, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 18, 15, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 75%);
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  padding: 12px 14px 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 248, 234, 0.68);
  box-shadow: 0 18px 50px rgba(72, 46, 9, 0.12);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 248, 234, 0.9);
  box-shadow: 0 18px 50px rgba(72, 46, 9, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff8ea;
  background: linear-gradient(135deg, var(--green), var(--olive));
  box-shadow: inset 0 -8px 16px rgba(255, 255, 255, 0.16);
  font-size: 0.82rem;
}

.brand__text {
  font-size: 1.08rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 12px 16px;
  border-radius: 999px;
  color: rgba(20, 18, 15, 0.72);
  font-weight: 700;
  font-size: 0.94rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
  background: rgba(255, 182, 41, 0.24);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--paper);
  transition: transform 0.2s ease;
}

.nav-toggle.is-open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle.is-open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.75fr);
  gap: 44px;
  width: min(1180px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 150px 0 80px;
  align-items: center;
}

.hero__orb {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(3px);
  opacity: 0.75;
}

.hero__orb--one {
  top: 18%;
  right: 28%;
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  animation: floaty 8s ease-in-out infinite;
}

.hero__orb--two {
  right: -90px;
  bottom: 14%;
  width: 300px;
  height: 300px;
  border: 38px solid rgba(18, 63, 51, 0.22);
  animation: floaty 10s ease-in-out infinite reverse;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: -0.075em;
  line-height: 0.94;
}

h1 {
  max-width: 820px;
  margin-bottom: 28px;
  font-size: clamp(4rem, 10vw, 9rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.45rem, 5.6vw, 5.8rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  letter-spacing: -0.035em;
}

.hero__lead,
.section__head p,
.contact__panel > p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.58;
}

.hero__lead {
  max-width: 720px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 36px 0;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button--primary {
  color: #fff8ea;
  background: linear-gradient(135deg, var(--green), #0c2d25);
  box-shadow: 0 18px 36px rgba(18, 63, 51, 0.28);
}

.button--ghost {
  border: 1px solid rgba(20, 18, 15, 0.12);
  background: rgba(255, 255, 255, 0.45);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 700px;
}

.hero__stats div,
.hero-card,
.service-card,
.case-card,
.package-card,
.contact__panel,
.lead-form {
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero__stats div {
  padding: 18px;
  border-radius: 20px;
}

.hero__stats strong {
  display: block;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  letter-spacing: -0.05em;
}

.hero__stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-card {
  position: relative;
  display: grid;
  min-height: 610px;
  padding: 28px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -22% 18%;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 107, 43, 0.36);
  filter: blur(18px);
}

.hero-card__image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 430px;
  margin: -4px auto 18px;
  border-radius: 28px;
  object-fit: cover;
  object-position: center center;
  box-shadow: 0 30px 70px rgba(18, 63, 51, 0.28);
}

.machine {
  position: relative;
  width: min(260px, 78%);
  height: 410px;
  margin: 12px auto 0;
  border: 10px solid #171410;
  border-radius: 30px 30px 20px 20px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(160deg, #26483b 0%, #102d26 100%);
  box-shadow: 0 26px 58px rgba(16, 45, 38, 0.36);
}

.machine__top {
  position: absolute;
  top: 18px;
  left: 20px;
  right: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255, 248, 234, 0.22);
}

.machine__screen {
  position: absolute;
  top: 58px;
  left: 24px;
  display: grid;
  width: 92px;
  height: 86px;
  place-items: center;
  border-radius: 18px;
  color: var(--green);
  background: linear-gradient(135deg, #ffda71, #fff1bc);
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
}

.machine__shelves {
  position: absolute;
  right: 22px;
  bottom: 78px;
  left: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.machine__shelves span {
  height: 68px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.18)),
    linear-gradient(135deg, var(--amber), var(--orange));
}

.machine__shelves span:nth-child(2n) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.14)),
    linear-gradient(135deg, #95a85c, #315344);
}

.machine__pay {
  position: absolute;
  right: 24px;
  bottom: 26px;
  width: 70px;
  height: 36px;
  border-radius: 999px;
  background: #fff8ea;
}

.hero-card__info {
  position: relative;
  align-self: end;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 248, 234, 0.84);
}

.hero-card__info p {
  color: var(--muted);
  line-height: 1.5;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #36cc63;
  box-shadow: 0 0 0 7px rgba(54, 204, 99, 0.15);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

.section--compact {
  padding: 18px 0 52px;
}

.section__head {
  max-width: 820px;
  margin-bottom: 36px;
}

.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.logos span {
  padding: 12px 18px;
  border: 1px solid rgba(20, 18, 15, 0.1);
  border-radius: 999px;
  color: rgba(20, 18, 15, 0.72);
  background: rgba(255, 248, 234, 0.56);
  font-weight: 800;
}

.visual-story {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.85fr;
  gap: 18px;
  padding-top: 16px;
}

.image-tile {
  position: relative;
  min-height: 330px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 182, 41, 0.5), transparent 13rem),
    rgba(255, 248, 234, 0.58);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.image-tile img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.image-tile figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 20px;
  color: var(--paper);
  background: rgba(12, 45, 37, 0.78);
  box-shadow: 0 18px 46px rgba(8, 28, 24, 0.24);
  font-weight: 900;
  line-height: 1.25;
  backdrop-filter: blur(14px);
}

.image-tile--wide img {
  object-position: center bottom;
}

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

.service-card {
  position: relative;
  min-height: 260px;
  padding: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card img {
  display: block;
  width: 100%;
  height: 138px;
  margin-bottom: 22px;
  border-radius: 20px;
  object-fit: cover;
  background: rgba(255, 248, 234, 0.54);
}

.service-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 900;
}

.service-card p,
.timeline p,
.case-card span,
.package-card p,
.package-card li,
.form-note {
  color: var(--muted);
  line-height: 1.55;
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 44px;
  align-items: start;
}

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

.timeline__item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 248, 234, 0.52);
}

.timeline__item span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 18px;
  color: #fff8ea;
  background: var(--green);
  font-weight: 900;
}

.timeline__item h3,
.timeline__item p {
  margin-bottom: 4px;
}

.case-grid,
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-card {
  position: relative;
  min-height: 340px;
  padding: 28px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.case-card--accent {
  color: var(--paper);
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 182, 41, 0.7), transparent 12rem),
    linear-gradient(145deg, #143d32, #0a231d);
}

.case-card p {
  margin-bottom: 32px;
  color: currentColor;
  font-weight: 900;
  opacity: 0.78;
}

.case-card img {
  display: block;
  width: calc(100% + 16px);
  height: 190px;
  margin: -12px -8px 24px;
  border-radius: 26px;
  object-fit: cover;
  background: rgba(255, 248, 234, 0.44);
}

.case-card--accent img {
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.case-card h3 {
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
}

.case-card--accent span {
  color: rgba(255, 248, 234, 0.72);
}

.package-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 248, 234, 0.62);
}

.package-card--featured {
  color: var(--paper);
  background: linear-gradient(145deg, #ff6b2b, #c8411c);
}

.package-card--featured p,
.package-card--featured li {
  color: rgba(255, 248, 234, 0.78);
}

.package-card > span {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink);
  background: #ffda71;
  font-size: 0.76rem;
  font-weight: 900;
}

.package-card strong {
  display: block;
  margin: 28px 0 20px;
  font-size: 1.8rem;
  letter-spacing: -0.055em;
}

.package-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.package-card li {
  position: relative;
  padding-left: 24px;
}

.package-card li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  padding-bottom: 42px;
}

.contact__panel,
.lead-form {
  border-radius: var(--radius-xl);
  padding: clamp(26px, 4vw, 44px);
}

.contact__panel {
  color: var(--paper);
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 182, 41, 0.48), transparent 14rem),
    linear-gradient(145deg, #143f33, #081c18);
}

.contact__panel > p {
  color: rgba(255, 248, 234, 0.76);
}

.contact__details {
  display: grid;
  gap: 12px;
  margin-top: 34px;
  font-weight: 900;
}

.lead-form {
  display: grid;
  gap: 16px;
  background: rgba(255, 248, 234, 0.72);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: rgba(20, 18, 15, 0.72);
  font-weight: 900;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(20, 18, 15, 0.12);
  border-radius: 18px;
  padding: 16px 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: rgba(255, 107, 43, 0.6);
  box-shadow: 0 0 0 4px rgba(255, 107, 43, 0.12);
}

.lead-form .button {
  width: 100%;
}

.form-note {
  min-height: 24px;
  margin-bottom: 0;
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 42px;
  color: rgba(20, 18, 15, 0.58);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floaty {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(18px, -24px, 0) rotate(8deg);
  }
}

@media (max-width: 920px) {
  .site-header {
    top: 12px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: grid;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 26px;
    background: rgba(255, 248, 234, 0.95);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

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

  .hero,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 132px;
  }

  .hero-card {
    min-height: auto;
  }

  .visual-story {
    grid-template-columns: 1fr;
  }

  .image-tile,
  .image-tile img {
    min-height: 280px;
  }

  .services-grid,
  .case-grid,
  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero,
  .section,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: clamp(3.1rem, 16vw, 4.8rem);
  }

  .hero__stats,
  .services-grid,
  .case-grid,
  .package-grid {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .section--compact {
    padding-top: 0;
  }

  .service-card,
  .case-card {
    min-height: auto;
  }

  .case-card p {
    margin-bottom: 24px;
  }
}
