:root {
  --orange: #ff701a;
  --orange-2: #ff8a2a;
  --ink: #111111;
  --graphite: #1e1e1e;
  --muted: #6f6f6f;
  --line: rgba(255, 255, 255, 0.12);
  --paper: #f7f7f5;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image: url("assets/texture_noise_horizontal.jpg");
  background-size: 460px auto;
  opacity: 0.05;
}

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

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

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

h1,
h2,
h3 {
  font-family: "Sora", "Inter", system-ui, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  font-size: clamp(2.35rem, 4.25vw, 4rem);
  line-height: 1;
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.18;
}

p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1rem;
  line-height: 1.72;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 20;
  width: min(1180px, calc(100% - 120px));
  min-height: 64px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: rgba(247, 247, 245, 0.92);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  min-width: 150px;
  height: 48px;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 8px;
  background: var(--white);
}

.brand img {
  width: 132px;
  height: 38px;
  object-fit: contain;
  object-position: center;
}

.main-nav,
.footer nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(17, 17, 17, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
}

.main-nav a,
.footer nav a {
  border-radius: 8px;
  padding: 10px 11px;
  transition: color 180ms ease;
}

.main-nav a:hover,
.footer nav a:hover {
  color: var(--orange);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

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

.btn-primary {
  color: var(--ink);
  border-color: var(--orange);
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  box-shadow: 0 16px 42px rgba(255, 106, 0, 0.28);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
}

.btn-small {
  min-height: 42px;
  padding-inline: 16px;
  font-size: 0.9rem;
  color: var(--ink);
  border-color: var(--orange);
  background: var(--orange);
}

.section-dark,
.section-light {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
}

.section-dark {
  background: radial-gradient(circle at 20% 5%, rgba(255, 106, 0, 0.17), transparent 34%), var(--ink);
}

.section-light {
  color: var(--ink);
  background: var(--paper);
}

.section-light p {
  color: rgba(17, 17, 17, 0.68);
}

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 46px;
}

.hero h1 {
  max-width: 600px;
  font-size: clamp(2.05rem, 3.45vw, 3.25rem);
  line-height: 1.04;
}

.hero-grid,
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.85fr);
  align-items: center;
  gap: 58px;
}

.eyebrow {
  display: none;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  content: "";
  background: currentColor;
}

.eyebrow.dark {
  color: #c54f00;
}

.hero-subtitle {
  max-width: 560px;
  font-size: 0.98rem;
  line-height: 1.6;
}

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

.hero-badges,
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-badges span,
.about-tags span,
.problem-cards span {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  padding: 9px 11px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.82rem;
  font-weight: 800;
}

.pill-grid span {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-media {
  position: relative;
}

.hero-media::before {
  display: none;
}

.video-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #080808;
  box-shadow: var(--shadow);
}

.hero-photo-frame {
  position: relative;
  overflow: visible;
  min-height: 520px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-photo-frame::after {
  display: none;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: contain;
  object-position: center bottom;
}

.hero-photo-badge {
  display: none;
}

.hero-photo-badge span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-photo-badge strong {
  color: var(--white);
  font-size: 1rem;
}

.stage-label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.46);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.play-open {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  border: 0;
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--orange);
  font-weight: 900;
  cursor: pointer;
}

.timeline-bars {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 74px;
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 0.9fr 1.5fr 0.5fr;
  gap: 6px;
}

.timeline-bars i {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.86);
}

.glow {
  position: absolute;
  pointer-events: none;
  opacity: 0.42;
  filter: blur(2px);
}

.glow-one {
  top: -220px;
  right: -190px;
  width: 560px;
}

.glow-two {
  left: -220px;
  bottom: 10%;
  width: 460px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.problem {
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 112, 26, 0.16), transparent 34%),
    linear-gradient(135deg, #15110f 0%, #111111 54%, #261407 100%);
}

.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: 54px;
}

.problem-grid h2 {
  max-width: 760px;
}

.problem-grid p {
  max-width: 700px;
}

.problem-cards {
  display: grid;
  gap: 12px;
}

.problem-cards span {
  min-height: 58px;
  display: flex;
  align-items: center;
  border-color: rgba(255, 112, 26, 0.18);
  background: rgba(255, 255, 255, 0.045);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
  text-align: center;
  margin-inline: auto;
}

.section-heading p {
  max-width: 650px;
  margin-inline: auto;
}

.section-heading.compact {
  max-width: 820px;
  text-align: center;
  margin-inline: auto;
}

.portfolio-list {
  display: block;
}

.portfolio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: 56px;
  width: min(100%, 980px);
  margin-inline: auto;
}

.portfolio-carousel {
  display: grid;
  grid-template-columns: 56px minmax(0, 390px) 56px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-width: 0;
}

.carousel-device {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.portfolio-video-frame {
  position: relative;
  width: min(100%, 390px);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #050505;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.portfolio-video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-arrow {
  position: relative;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.carousel-arrow:hover {
  border-color: rgba(255, 112, 26, 0.72);
  background: rgba(255, 112, 26, 0.18);
  transform: translateY(-2px) scale(1.04);
}

.carousel-arrow::before {
  position: absolute;
  inset: 0;
  width: 14px;
  height: 14px;
  margin: auto;
  content: "";
  border-top: 3px solid var(--white);
  border-right: 3px solid var(--white);
}

.carousel-arrow-prev::before {
  transform: rotate(225deg);
}

.carousel-arrow-next::before {
  transform: rotate(45deg);
}

.video-controls {
  position: absolute;
  left: 50%;
  bottom: 8.5%;
  z-index: 4;
  width: calc(100% - 34px);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  padding: 8px;
  color: var(--ink);
  background: rgba(10, 10, 10, 0.74);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
}

.video-progress {
  width: 100%;
  height: 4px;
  margin: 0;
  accent-color: var(--orange);
  cursor: pointer;
}

.control-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin-top: 6px;
}

.video-control {
  min-width: 0;
  min-height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 0 5px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.67rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.video-control:hover,
.video-control[aria-pressed="true"] {
  color: var(--ink);
  border-color: var(--orange);
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
}

.portfolio-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 26px;
}

.portfolio-copy-panel {
  align-self: center;
}

.portfolio-counter {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid rgba(255, 112, 26, 0.42);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--orange);
  background: rgba(255, 112, 26, 0.1);
  font-weight: 900;
}

.portfolio-copy-panel h2 {
  max-width: 440px;
  margin: 18px 0 14px;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
}

.portfolio-copy-panel p {
  max-width: 420px;
}

.device-wrap {
  position: relative;
  justify-self: center;
  width: min(100%, 370px);
}

.device-wrap.horizontal {
  width: min(100%, 610px);
}

.device-screen {
  position: absolute;
  overflow: hidden;
  background: #050505;
}

.device-wrap.vertical .device-screen {
  top: 8.5%;
  left: 8.3%;
  width: 83.4%;
  height: 82.4%;
  border-radius: 10% / 5.8%;
}

.device-wrap.horizontal .device-screen {
  top: 6.9%;
  left: 9.8%;
  width: 80.4%;
  height: 70.4%;
  border-radius: 1.2% / 1.7%;
}

.device-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.device-wrap.horizontal .device-screen video {
  object-fit: cover;
}

.device-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  pointer-events: none;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.audience {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 106, 0, 0.16), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f7f7f5 48%, #ecece8 100%);
}

.audience .section-heading {
  position: relative;
}

.audience .section-heading::after {
  display: none;
}

.pill-grid span {
  color: #7a3200;
  border-color: rgba(255, 112, 26, 0.22);
  background: rgba(255, 112, 26, 0.1);
  box-shadow: 0 16px 42px rgba(255, 112, 26, 0.08);
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.pill-grid span.is-active {
  color: var(--ink);
  border-color: rgba(255, 112, 26, 0.86);
  background: linear-gradient(135deg, #ff701a, #ff9a45);
  box-shadow: 0 0 0 4px rgba(255, 112, 26, 0.12), 0 18px 46px rgba(255, 112, 26, 0.24);
  transform: translateY(-3px) scale(1.03);
  animation: pillBlink 820ms ease-in-out;
}

.steps,
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.steps article,
.price-grid article,
.faq-list details {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.service-train {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  padding: 16px 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 112, 26, 0.055));
}

.service-train::before,
.service-train::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 92px;
  content: "";
  pointer-events: none;
}

.service-train::before {
  left: 0;
  background: linear-gradient(90deg, var(--ink), transparent);
}

.service-train::after {
  right: 0;
  background: linear-gradient(270deg, var(--ink), transparent);
}

.service-track {
  display: flex;
  width: max-content;
  gap: 12px;
  padding-inline: 12px;
  animation: serviceTrain 36s linear infinite;
}

.service-track span {
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  padding: 13px 16px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.service-track span::before {
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 18px rgba(255, 112, 26, 0.55);
}

.service-track small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
  font-weight: 700;
}

.service-train:hover .service-track {
  animation-play-state: paused;
}

.steps article,
.price-grid article {
  border-color: rgba(17, 17, 17, 0.12);
  background: var(--white);
  padding: 24px;
}

.steps span {
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 900;
}

.steps h3,
.price-grid h3 {
  color: var(--ink);
}

.price-grid article {
  position: relative;
  min-height: 305px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.price-grid article:hover {
  border-color: rgba(255, 112, 26, 0.72);
  box-shadow: 0 22px 60px rgba(255, 112, 26, 0.16);
  transform: translateY(-5px);
}

.price-grid .featured {
  border-color: rgba(255, 106, 0, 0.78);
  box-shadow: 0 18px 55px rgba(255, 106, 0, 0.16);
}

.price-grid strong {
  margin: 8px 0 12px;
  color: var(--ink);
  font-family: "Sora", "Inter", system-ui, sans-serif;
  font-size: 2.35rem;
}

.price-grid .btn {
  width: 100%;
  margin-top: auto;
}

.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  border-radius: 8px;
  padding: 7px 9px;
  color: var(--ink);
  background: var(--orange);
  font-size: 0.72rem;
  font-weight: 900;
}

.about-photo {
  position: relative;
  display: grid;
  place-items: end center;
  min-height: 600px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.about-photo::before {
  position: absolute;
  z-index: 0;
  width: min(92%, 500px);
  aspect-ratio: 1;
  bottom: 24px;
  left: 50%;
  content: "";
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 28%, rgba(255, 184, 99, 0.95), rgba(255, 106, 0, 0.9) 44%, rgba(204, 66, 0, 0.78) 70%, rgba(255, 106, 0, 0.08) 71%),
    var(--orange);
  box-shadow: 0 0 80px rgba(255, 106, 0, 0.34), 0 32px 90px rgba(0, 0, 0, 0.28);
  transform: translateX(-50%);
}

.about-photo::after {
  position: absolute;
  z-index: 0;
  width: min(70%, 390px);
  aspect-ratio: 1;
  bottom: 76px;
  left: 50%;
  content: "";
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transform: translateX(-50%);
}

.about-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 30px 42px rgba(0, 0, 0, 0.28));
}

.about h2 {
  max-width: 620px;
  font-size: clamp(1.8rem, 3.05vw, 3.1rem);
  line-height: 1.05;
}

.about-tags span {
  color: rgba(255, 255, 255, 0.82);
}

.typing-panel {
  min-height: 210px;
  display: grid;
  grid-template-columns: auto auto;
  align-content: center;
  justify-content: start;
  align-items: end;
  column-gap: 10px;
  row-gap: 12px;
  border: 1px solid rgba(255, 112, 26, 0.2);
  border-radius: 8px;
  padding: 32px;
  background:
    linear-gradient(135deg, rgba(255, 112, 26, 0.13), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.typing-kicker {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.typing-word {
  min-height: 1.1em;
  color: var(--orange);
  font-family: "Sora", "Inter", system-ui, sans-serif;
  font-size: clamp(2.1rem, 4.8vw, 4.3rem);
  line-height: 1;
}

.typing-caret {
  width: 3px;
  height: 42px;
  background: var(--orange);
  box-shadow: 0 0 18px rgba(255, 112, 26, 0.7);
  animation: caretBlink 760ms steps(2, start) infinite;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin-inline: auto;
}

.faq-list details {
  border-color: rgba(17, 17, 17, 0.12);
  background: var(--white);
  padding: 18px 20px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.faq-list details[open] {
  border-color: rgba(255, 112, 26, 0.38);
  box-shadow: 0 14px 42px rgba(17, 17, 17, 0.06);
}

.faq-list summary {
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.faq-list p {
  margin: 12px 0 0;
  animation: faqIn 220ms ease both;
}

.final-cta {
  text-align: center;
}

.final-cta .container {
  max-width: 900px;
}

.footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.74);
  background: #0b0b0b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr auto;
  align-items: center;
  gap: 22px;
}

.footer .brand {
  border-color: rgba(255, 255, 255, 0.08);
}

.footer nav {
  color: rgba(255, 255, 255, 0.78);
}

.footer p {
  margin: 0;
  font-size: 0.92rem;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  color: var(--white);
  background: transparent;
  box-shadow: 0 14px 38px rgba(32, 177, 90, 0.34);
  animation: whatsappPulse 3.6s ease-in-out infinite;
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-modal {
  width: min(1000px, calc(100% - 28px));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 16px;
  background: #090909;
}

.video-modal::backdrop {
  background: rgba(0, 0, 0, 0.78);
}

.video-modal video {
  width: 100%;
  max-height: 82svh;
  background: #000;
}

.modal-close {
  display: block;
  margin: 0 0 12px auto;
  border: 0;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--orange);
  font-weight: 900;
  cursor: pointer;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: none;
}

[data-reveal-group] > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal-group].visible > * {
  opacity: 1;
  transform: none;
}

[data-reveal-group].visible > *:nth-child(2) { transition-delay: 70ms; }
[data-reveal-group].visible > *:nth-child(3) { transition-delay: 140ms; }
[data-reveal-group].visible > *:nth-child(4) { transition-delay: 210ms; }
[data-reveal-group].visible > *:nth-child(5) { transition-delay: 280ms; }
[data-reveal-group].visible > *:nth-child(6) { transition-delay: 350ms; }
[data-reveal-group].visible > *:nth-child(7) { transition-delay: 420ms; }

@keyframes whatsappPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@keyframes serviceTrain {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes caretBlink {
  0%, 45% { opacity: 1; }
  46%, 100% { opacity: 0; }
}

@keyframes pillBlink {
  0%, 100% { filter: brightness(1); }
  45% { filter: brightness(0.76); }
  70% { filter: brightness(1.15); }
}

@keyframes faqIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .site-header {
    grid-template-columns: auto auto;
  }

  .hero-grid,
  .about-grid,
  .split,
  .problem-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 96px;
  }

  .hero-media {
    width: min(420px, 100%);
    margin-inline: auto;
  }

  .hero-photo-frame,
  .hero-photo-frame img {
    min-height: 500px;
  }

  .steps,
  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 640px) {
  h1 {
    font-size: clamp(1.78rem, 7.7vw, 2.2rem);
    line-height: 1.02;
    margin-bottom: 14px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(1.78rem, 7.7vw, 2.2rem);
    line-height: 1.04;
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    top: 10px;
    width: calc(100% - 18px);
    min-height: 64px;
    padding: 8px;
  }

  .site-header .btn-small {
    display: none;
  }

  .brand {
    width: 136px;
    min-width: 136px;
    height: 48px;
  }

  .brand img {
    width: 122px;
    height: 40px;
  }

  .section-dark,
  .section-light {
    padding: 76px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 86px;
    padding-bottom: 54px;
  }

  .hero-subtitle {
    font-size: 0.86rem;
    line-height: 1.52;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 14px;
  }

  .hero-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 10px;
    font-size: 0.86rem;
  }

  .hero-grid {
    gap: 18px;
  }

  .hero-media {
    order: -1;
    width: min(220px, 74%);
  }

  .hero-copy {
    order: 1;
  }

  .hero-photo-frame {
    aspect-ratio: 0.78;
    min-height: auto;
  }

  .hero-photo-frame img {
    height: 100%;
    min-height: auto;
  }

  .hero-photo-badge {
    display: none;
  }

  .device-wrap {
    width: min(100%, 320px);
  }

  .device-wrap.horizontal {
    width: 100%;
  }

  .steps,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-layout {
    grid-template-columns: 1fr;
    gap: 22px;
    width: 100%;
  }

  .portfolio-carousel {
    grid-template-columns: 42px minmax(0, 250px) 42px;
    gap: 8px;
    width: 100%;
  }

  .portfolio-video-frame {
    width: min(100%, 250px);
  }

  .carousel-arrow {
    width: 42px;
    height: 42px;
  }

  .carousel-arrow::before {
    width: 11px;
    height: 11px;
    border-width: 2px;
  }

  .video-controls {
    bottom: 8%;
    width: calc(100% - 24px);
    padding: 6px;
  }

  .control-row {
    gap: 4px;
    margin-top: 5px;
  }

  .video-control {
    min-height: 27px;
    padding-inline: 3px;
    font-size: 0.58rem;
  }

  .portfolio-actions .btn {
    flex: 1 1 132px;
    min-height: 38px;
    padding-inline: 8px;
    font-size: 0.72rem;
  }

  .portfolio-copy-panel {
    text-align: center;
  }

  .portfolio-counter {
    min-height: 32px;
    padding-inline: 12px;
    font-size: 0.86rem;
  }

  .portfolio-copy-panel h2 {
    margin: 14px auto 10px;
    font-size: clamp(1.45rem, 6.2vw, 1.85rem);
  }

  .portfolio-copy-panel p {
    max-width: 310px;
    margin-inline: auto;
    font-size: 0.8rem;
    line-height: 1.55;
  }

  .portfolio-actions {
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
  }

  .problem-grid {
    gap: 28px;
  }

  .hero-badges {
    margin-top: 16px;
  }

  .hero-badges span {
    font-size: 0.76rem;
    padding: 8px 10px;
  }

  .service-train {
    margin-inline: -14px;
  }

  .service-track span {
    padding: 11px 13px;
    font-size: 0.86rem;
  }

  .typing-panel {
    min-height: 170px;
    padding: 24px;
    justify-content: center;
    text-align: center;
  }

  .typing-word {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .typing-caret {
    height: 34px;
  }

  .about-photo {
    min-height: 470px;
  }

  .about-photo::before {
    width: min(96%, 380px);
    bottom: 12px;
  }

  .about-photo img {
    max-height: 470px;
  }

  .about h2 {
    font-size: clamp(1.65rem, 7vw, 2.05rem);
    line-height: 1.06;
  }

  .footer nav {
    flex-wrap: wrap;
  }
}
