:root {
  --purple: #4d1275;
  --pink: #ff3d78;
  --ink: #111111;
  --muted: #66616b;
  --line: #e9e3ed;
  --soft: #f7f7f7;
  --white: #ffffff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--white);
}

.icon-sprite {
  display: none;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

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

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

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  left: 50%;
  max-width: min(1120px, calc(100% - 32px));
  padding: 12px 14px 12px 18px;
  position: fixed;
  top: 18px;
  transform: translateX(-50%);
  width: 100%;
  z-index: 10;
}

.brand {
  align-items: center;
  color: var(--purple);
  display: inline-flex;
  font-size: 17px;
  font-weight: 800;
  gap: 9px;
  letter-spacing: 0;
  min-width: max-content;
}

.brand-mark {
  align-items: center;
  background: var(--purple);
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  font-size: 15px;
  height: 30px;
  justify-content: center;
  outline: 4px solid rgba(255, 61, 120, 0.18);
  width: 30px;
}

.nav {
  align-items: center;
  color: #2a2530;
  display: flex;
  font-size: 14px;
  font-weight: 650;
  gap: 24px;
}

.nav a {
  opacity: 0.78;
}

.nav a:hover {
  opacity: 1;
}

.header-cta,
.button,
.whatsapp {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
}

.header-cta {
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
}

.hero {
  color: var(--white);
  min-height: 92vh;
  overflow: hidden;
  position: relative;
}

.hero-image,
.hero-overlay {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-image {
  object-fit: cover;
  transform: translate3d(0, var(--hero-shift, 0), 0) scale(1.04);
  transition: transform 120ms linear;
  will-change: transform;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 5, 12, 0.9) 0%, rgba(17, 8, 24, 0.72) 40%, rgba(17, 8, 24, 0.24) 72%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.58));
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  max-width: var(--max);
  min-height: 92vh;
  padding: 120px 24px 74px;
  position: relative;
}

.hero-content > * {
  animation: heroRise 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-content > *:nth-child(2) {
  animation-delay: 80ms;
}

.hero-content > *:nth-child(3) {
  animation-delay: 160ms;
}

.hero-content > *:nth-child(4) {
  animation-delay: 240ms;
}

.eyebrow {
  color: var(--pink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.eyebrow.color {
  color: var(--purple);
}

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

h1 {
  font-size: clamp(48px, 7vw, 92px);
  letter-spacing: 0;
  line-height: 0.96;
  margin-bottom: 26px;
  max-width: 900px;
}

h2 {
  font-size: clamp(34px, 5vw, 64px);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 0;
}

h3 {
  font-size: 22px;
  letter-spacing: 0;
  line-height: 1.08;
  margin-bottom: 10px;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.38;
  max-width: 720px;
}

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

.button {
  border: 0;
  cursor: pointer;
  font-size: 15px;
  transition: filter 180ms ease, transform 180ms ease, background 180ms ease;
}

.button.primary {
  background: var(--pink);
  color: var(--white);
}

.button.primary:hover,
.header-cta:hover {
  filter: brightness(0.94);
  transform: translateY(-1px);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: var(--white);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

section {
  padding: 96px 24px;
  scroll-margin-top: 104px;
}

.band {
  background: var(--soft);
}

.section-grid,
.media-copy,
.quote {
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin: 0 auto;
  max-width: var(--max);
}

.section-grid p,
.media-copy p,
.quote-copy p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.section-heading {
  margin: 0 auto 44px;
  max-width: var(--max);
}

.section-heading h2 {
  max-width: 860px;
}

.problem-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, 1fr);
  margin: 0 auto;
  max-width: var(--max);
}

.problem-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  font-size: 19px;
  font-weight: 800;
  gap: 42px;
  justify-content: space-between;
  min-height: 196px;
  padding: 22px;
  transition: border-color 220ms ease, transform 220ms ease;
}

.problem-grid article:hover {
  border-color: rgba(77, 18, 117, 0.28);
  transform: translateY(-3px);
}

.problem-grid svg {
  color: var(--purple);
  height: 34px;
  width: 34px;
}

.problem-grid span {
  color: var(--pink);
  font-size: 13px;
}

.media-copy {
  align-items: center;
}

.media-copy.reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.media-copy img {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.operations-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
}

.operations-panel article {
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 61, 120, 0.1), transparent 28%),
    var(--white);
  min-height: 258px;
  padding: 30px;
  position: relative;
}

.operations-panel svg {
  color: var(--purple);
  height: 44px;
  margin-bottom: 34px;
  width: 44px;
}

.operations-panel span {
  color: var(--pink);
  font-size: 12px;
  font-weight: 950;
  position: absolute;
  right: 26px;
  top: 26px;
}

.operations-panel h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.operations-panel p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
  margin: 0;
}

.metric-row {
  align-items: baseline;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
}

.metric-row strong {
  color: var(--purple);
  font-size: 36px;
  line-height: 1;
}

.benefit-strip {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.benefit-strip p {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: flex;
  font-size: 15px;
  font-weight: 850;
  gap: 10px;
  line-height: 1.2;
  margin: 0;
  padding: 14px;
}

.benefit-strip svg {
  color: var(--pink);
  flex: 0 0 auto;
  height: 22px;
  width: 22px;
}

.text-cta {
  color: var(--purple);
  display: inline-flex;
  font-size: 16px;
  font-weight: 900;
  margin-top: 28px;
}

.text-cta::after {
  content: "->";
  margin-left: 10px;
}

.inline-cta {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: var(--white);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 38px auto 0;
  max-width: var(--max);
  padding: 22px 24px;
}

.inline-cta.compact {
  margin-top: 28px;
}

.inline-cta p {
  font-size: 20px;
  font-weight: 850;
  line-height: 1.25;
  margin: 0;
}

.service-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  max-width: var(--max);
}

.service-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  position: relative;
  transform: translateY(0);
  transition: border-color 260ms ease, transform 260ms ease;
}

.service-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transform: scale(1);
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.service-card div {
  padding: 24px;
  position: relative;
}

.service-card:hover {
  border-color: rgba(77, 18, 117, 0.3);
  transform: translateY(-6px);
}

.service-card:hover img {
  transform: scale(1.045);
}

.service-icon {
  align-items: center;
  background: var(--purple);
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  height: 48px;
  justify-content: center;
  margin: -50px 0 18px;
  outline: 8px solid var(--white);
  position: relative;
  width: 48px;
  z-index: 1;
}

.service-icon svg {
  height: 25px;
  width: 25px;
}

.service-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
  margin-bottom: 0;
}

.capabilities {
  display: grid;
  gap: 12px;
}

.capabilities p {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: flex;
  font-size: 18px;
  font-weight: 800;
  gap: 12px;
  margin: 0;
  padding: 20px;
}

.capabilities svg {
  color: var(--purple);
  flex: 0 0 auto;
  height: 26px;
  width: 26px;
}

.eco-list {
  display: grid;
  gap: 10px;
  margin: 26px 0 28px;
}

.eco-list p {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: flex;
  font-size: 16px;
  font-weight: 800;
  gap: 12px;
  margin: 0;
  padding: 14px 16px;
}

.eco-list svg {
  color: #4d8f35;
  flex: 0 0 auto;
  height: 22px;
  width: 22px;
}

.quote {
  background: var(--purple);
  border-radius: 0;
  color: var(--white);
  max-width: none;
  padding: 82px max(24px, calc((100vw - var(--max)) / 2));
}

.quote h2 {
  max-width: 700px;
}

.quote-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.quote .eyebrow {
  color: var(--white);
}

.whatsapp {
  background: var(--white);
  color: var(--purple);
  margin-top: 8px;
}

.lead-form {
  background: var(--white);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  padding: 24px;
}

label {
  color: #302735;
  display: grid;
  font-size: 13px;
  font-weight: 850;
  gap: 8px;
}

input,
textarea {
  border: 1px solid #ddd5e4;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  padding: 12px 14px;
  width: 100%;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--purple);
  outline: 3px solid rgba(77, 18, 117, 0.14);
}

footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  padding: 34px 24px;
}

footer p {
  color: var(--muted);
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 760ms cubic-bezier(0.16, 1, 0.3, 1), transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal .service-card,
.reveal .problem-grid article,
.reveal .capabilities p,
.reveal .eco-list p {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1), border-color 220ms ease;
}

.reveal.in-view .service-card,
.reveal.in-view .problem-grid article,
.reveal.in-view .capabilities p,
.reveal.in-view .eco-list p {
  opacity: 1;
  transform: translateY(0);
}

.reveal.in-view .service-card:nth-child(2),
.reveal.in-view .problem-grid article:nth-child(2),
.reveal.in-view .capabilities p:nth-child(2),
.reveal.in-view .eco-list p:nth-child(2) {
  transition-delay: 80ms;
}

.reveal.in-view .service-card:nth-child(3),
.reveal.in-view .problem-grid article:nth-child(3),
.reveal.in-view .capabilities p:nth-child(3),
.reveal.in-view .eco-list p:nth-child(3) {
  transition-delay: 140ms;
}

.reveal.in-view .service-card:nth-child(4),
.reveal.in-view .problem-grid article:nth-child(4),
.reveal.in-view .capabilities p:nth-child(4),
.reveal.in-view .eco-list p:nth-child(4) {
  transition-delay: 200ms;
}

.reveal.in-view .service-card:nth-child(5),
.reveal.in-view .problem-grid article:nth-child(5) {
  transition-delay: 260ms;
}

.reveal.in-view .service-card:nth-child(6) {
  transition-delay: 320ms;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .site-header {
    border-radius: 18px;
    flex-wrap: wrap;
  }

  .nav {
    display: none;
  }

  .header-cta {
    min-height: 40px;
    padding-inline: 14px;
  }

  .hero,
  .hero-content {
    min-height: 760px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(10, 4, 14, 0.82), rgba(10, 4, 14, 0.72));
  }

  .section-grid,
  .media-copy,
  .media-copy.reverse,
  .quote {
    grid-template-columns: 1fr;
  }

  .operations-panel {
    grid-template-columns: 1fr;
  }

  .operations-panel article {
    min-height: 210px;
  }

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

  .inline-cta .button {
    width: 100%;
  }

  .problem-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .problem-grid article {
    gap: 28px;
    min-height: 132px;
  }

  .benefit-strip {
    grid-template-columns: 1fr;
  }

  section {
    padding: 72px 20px;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 15px;
  }

  .header-cta {
    width: 100%;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 36px;
  }

  .hero-actions .button {
    width: 100%;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .hero-image,
  .service-card,
  .service-card img,
  .reveal,
  .reveal .service-card,
  .reveal .problem-grid article,
  .reveal .capabilities p,
  .reveal .eco-list p {
    transform: none !important;
  }
}
