@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/instrument-serif.ttf") format("truetype");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/instrument-serif-italic.ttf") format("truetype");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/manrope-400.ttf") format("truetype");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/manrope-500.ttf") format("truetype");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/manrope-600.ttf") format("truetype");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/manrope-700.ttf") format("truetype");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/manrope-800.ttf") format("truetype");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/inter-700.woff2") format("woff2");
}
@font-face {
  font-family: "Inter Display";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("fonts/inter-display-black.woff2") format("woff2");
}

:root {
  --bg: #1a2236;
  --ink: #152033;
  --ink-soft: #2c3a55;
  --sage: #5a6d8f;
  --sage-soft: #dce3ef;
  --cream: #eef1f6;
  --paper: rgba(255, 255, 255, 0.9);
  --clay: #c45c32;
  --clay-deep: #a64b28;
  --text: #152033;
  --muted: #4a5670;
  --line: rgba(21, 32, 51, 0.12);
  --line-strong: rgba(21, 32, 51, 0.22);
  --white: #ffffff;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Manrope", system-ui, sans-serif;
  --shadow: 0 28px 70px -28px rgba(18, 26, 46, 0.45);
  --header: 76px;
  --mx: 50%;
  --my: 30%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: #1a2236;
}

html,
body {
  background-color: #1a2236;
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a,
button,
.btn,
.contact-btn,
.wa-fab {
  cursor: pointer;
}

body {
  overflow-x: hidden;
  position: relative;
  background: transparent;
}

.waves {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 165vh;
  z-index: 0;
  pointer-events: none;
  background: #1a2236 url("images/waves-bg.jpg") center top / cover no-repeat;
}
.waves::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 34, 54, 0.42) 0%,
    rgba(26, 34, 54, 0.48) 42%,
    rgba(26, 34, 54, 0.62) 62%,
    rgba(26, 34, 54, 0.88) 82%,
    #1a2236 94%,
    #1a2236 100%
  );
}

main,
footer {
  position: relative;
  z-index: 1;
}

::selection {
  background: #c45c32;
  color: #fff8f3;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #1a2236;
}
::-webkit-scrollbar-thumb {
  background: #55617e;
  border-radius: 99px;
}

.foot a {
  color: #f4f6fa;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

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

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

button {
  cursor: pointer;
  border: 0;
  background: none;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--ink);
  color: var(--cream);
  padding: 8px 12px;
  z-index: 80;
}
.skip:focus {
  top: 12px;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 90;
  background: var(--clay);
  pointer-events: none;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e8eef8;
  text-shadow: 0 1px 14px rgba(10, 14, 24, 0.45);
}

.kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.96;
}

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

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(238, 241, 246, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(238, 241, 246, 0.9);
}
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 15px;
}
.logo b {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
}
.mark {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--ink);
}
.nav a:hover::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-clay {
  background: var(--clay);
  color: #fff8f3;
}
.btn-clay:hover {
  background: var(--clay-deep);
}
.btn-ink {
  background: var(--ink);
  color: #f7f5f1;
}
.btn-ink:hover {
  background: #0c1411;
}
.btn-ghost {
  background: transparent;
  color: #f4f6fa;
  border: 1px solid rgba(244, 246, 250, 0.45);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}
.btn-light {
  background: var(--cream);
  color: var(--ink);
}
.btn-wa {
  background: #25d366;
  color: #fff;
}
.btn-wa:hover {
  background: #1ebe5a;
}
.header-cta {
  height: 40px;
  padding: 0 14px;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  place-items: center;
  gap: 5px;
  flex-direction: column;
}
.burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
}

/* Hero */
.hero {
  padding: 42px 0 28px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  margin: 16px 0 18px;
  font-size: clamp(48px, 6.4vw, 88px);
  color: #ffffff;
  text-shadow: 0 2px 28px rgba(8, 12, 22, 0.55);
}
.hero h1 em {
  font-style: italic;
  color: #f7f9fc;
}
.lead {
  font-size: 17.5px;
  color: #f2f5fa;
  max-width: 480px;
  margin-bottom: 28px;
  text-shadow: 0 1px 18px rgba(8, 12, 22, 0.55);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.compare {
  --pos: 52%;
  position: relative;
  margin: 18px 0 0;
  width: min(360px, 94%);
  height: 210px;
  border-radius: 16px;
  overflow: hidden;
  background: #0e1422;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.14);
  user-select: none;
  touch-action: none;
}
.compare-after,
.compare-before {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: top center;
  display: block;
  pointer-events: none;
}
.compare-before-wrap {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--pos);
  overflow: hidden;
}
.compare-before {
  width: 360px;
  max-width: none;
}
.compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 3;
}
.compare-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  background: #fff;
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(16, 22, 38, 0.2);
}
.compare-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 20px -8px rgba(8, 12, 22, 0.7);
}
.compare-knob::before,
.compare-knob::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border: 5px solid transparent;
}
.compare-knob::before {
  right: 16px;
  border-right-color: #1a2236;
  transform: translateY(-50%);
}
.compare-knob::after {
  left: 16px;
  border-left-color: #1a2236;
  transform: translateY(-50%);
}
.compare-tag {
  position: absolute;
  bottom: 10px;
  z-index: 2;
  pointer-events: none;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(16, 22, 38, 0.62);
  padding: 4px 8px;
  border-radius: 999px;
}
.compare-tag-before { left: 10px; }
.compare-tag-after { right: 10px; }
.fine {
  font-size: 12.5px;
  color: #e4eaf3;
  text-shadow: 0 1px 12px rgba(10, 14, 24, 0.4);
}
.fine a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.stage {
  position: relative;
  height: 560px;
  perspective: 1100px;
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out;
}
.device {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}
.device:hover {
  transform: translateY(-6px) rotate(0deg) !important;
  z-index: 5;
}
.device-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  background: #dce3ef;
  border-bottom: 1px solid var(--line);
}
.device-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d7cfc2;
}
.device-bar i:nth-child(1) {
  background: #c98a72;
}
.device-bar i:nth-child(2) {
  background: #c9b072;
}
.device-bar i:nth-child(3) {
  background: #8aa88f;
}
.device-bar p {
  margin-left: 8px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
}
.device-screen {
  display: block;
  position: relative;
  height: 250px;
  overflow: hidden;
}
.device-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.8s;
}
.device:hover .device-screen img {
  transform: scale(1.1);
}
.device-ui {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 16px 14px;
  background: linear-gradient(to top, rgba(18, 34, 28, 0.72), transparent);
  color: var(--cream);
}
.device-ui span {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.8;
}
.device-ui strong {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.05;
  margin-top: 4px;
}
.d1 {
  width: 58%;
  top: 8px;
  left: 0;
  transform: rotate(-3.5deg);
  z-index: 3;
  animation: float 7s ease-in-out infinite;
}
.d2 {
  width: 50%;
  top: 34px;
  right: 0;
  transform: rotate(4deg);
  z-index: 2;
  animation: float 8.2s ease-in-out infinite 0.4s;
}
.d3 {
  width: 46%;
  bottom: 18px;
  left: 8%;
  transform: rotate(2deg);
  z-index: 1;
  animation: float 6.6s ease-in-out infinite 0.8s;
}
.d4 {
  width: 44%;
  bottom: 0;
  right: 6%;
  transform: rotate(-2.5deg);
  z-index: 4;
  animation: float 7.4s ease-in-out infinite 0.2s;
}
@keyframes float {
  50% {
    translate: 0 -8px;
  }
}
.d3 .device-screen,
.d4 .device-screen {
  height: 180px;
}

/* Ribbon */
.ribbon {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 14px 0;
  margin-top: 18px;
}
.ribbon-track {
  display: flex;
  gap: 42px;
  width: max-content;
  animation: slide 28s linear infinite;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d7deea;
}
.ribbon-track span {
  display: inline-flex;
  align-items: center;
  gap: 42px;
}
.ribbon-track span::after {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(244, 246, 250, 0.7);
  flex: 0 0 3px;
}
@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

/* Sections */
.section {
  padding: 96px 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 40px;
}
.section-head h2 {
  font-size: clamp(36px, 5vw, 60px);
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(10, 14, 24, 0.4);
}
.section-head p {
  max-width: 320px;
  color: #e8eef6;
  font-size: 15px;
  text-shadow: 0 1px 14px rgba(10, 14, 24, 0.4);
}

.problem {
  background: var(--ink);
  color: var(--cream);
  border-radius: 0;
}
.problem .section-head h2,
.problem .kicker {
  color: #d7e4dc;
}
.problem .section-head h2 {
  color: var(--cream);
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.card {
  background: rgba(255, 253, 249, 0.04);
  border: 1px solid rgba(243, 238, 228, 0.1);
  border-radius: 18px;
  padding: 28px;
}
.card h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  margin: 10px 0 12px;
}
.card p {
  color: rgba(243, 238, 228, 0.72);
  font-size: 15px;
}
.num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c98a72;
}

.offer .offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.offer .offer-3 {
  grid-template-columns: repeat(3, 1fr);
}
.offer-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 22px 26px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.offer-item .ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--sage-soft);
  color: var(--ink);
  display: grid;
  place-items: center;
  margin-bottom: 28px;
}
.offer-item h3 {
  font-size: 20px;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.offer-item p {
  color: var(--muted);
  font-size: 14px;
}

/* Work */
.work-list {
  display: grid;
  gap: 22px;
}
.project {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  min-height: 360px;
}
.project:nth-child(even) {
  grid-template-columns: 0.8fr 1.4fr;
}
.project:nth-child(even) .project-media {
  order: 2;
}
.project-media {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}
.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.8s;
}
.project:hover .project-media img {
  transform: scale(1.05);
}
.project-body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tag {
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}
.project-body h3 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 44px);
  line-height: 0.95;
  margin: 12px 0 14px;
  color: var(--ink);
}
.project-body p {
  color: var(--muted);
  font-size: 15px;
}
.sample-note {
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
}

/* Approach / roadmap */
.approach {
  background: transparent;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.roadmap {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 10px;
  align-items: stretch;
}
.road-step {
  background: var(--paper);
  border-radius: 22px;
  padding: 26px 24px 28px;
  border: 1px solid var(--line);
  min-height: 230px;
}
.road-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 40px;
  color: var(--sage);
  display: block;
  line-height: 1;
  margin-bottom: 22px;
}
.road-step h3 {
  font-size: 22px;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.road-step p {
  color: var(--muted);
  font-size: 14.5px;
}
.road-arrow {
  display: grid;
  place-items: center;
  color: var(--sage);
  align-self: center;
}
.road-arrow svg {
  width: 40px;
  height: 22px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.about-panel {
  background: var(--ink);
  color: var(--cream);
  border-radius: 28px;
  padding: 40px 36px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.about-panel h2 {
  font-size: clamp(36px, 4vw, 52px);
  color: var(--cream);
}
.about-copy p {
  font-size: 17px;
  color: #d5dbe6;
  margin-bottom: 16px;
  max-width: 520px;
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}
.fact {
  border-top: 1px solid rgba(244, 246, 250, 0.22);
  padding-top: 12px;
}
.fact b {
  display: block;
  font-size: 15px;
  color: #f4f6fa;
}
.fact span {
  font-size: 13px;
  color: #c8d0de;
}

/* Contact */
.contact {
  padding-bottom: 120px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.contact h2 {
  font-size: clamp(40px, 5vw, 64px);
  margin: 12px 0 16px;
  color: #f4f6fa;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
}
.field {
  margin-bottom: 14px;
}
.field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--muted);
}
.field input,
.field textarea {
  width: 100%;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(61, 107, 87, 0.12);
}
.field textarea {
  min-height: 96px;
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-note {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 10px;
}
.direct {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
  max-width: 100%;
}
.contact-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  min-height: 72px;
  background: var(--ink);
  color: #f7f5f1;
}
.contact-txt {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.contact-txt b {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 245, 241, 0.7);
}
.contact-txt small {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: #f7f5f1;
  white-space: normal;
  word-break: break-word;
}
.contact-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
}
.contact-ico svg {
  width: 22px;
  height: 22px;
}
.contact-btn-wa .contact-ico {
  background: #25d366;
  color: #fff;
}
.contact-btn-mail .contact-ico {
  background: #fff;
  color: #16211c;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #c8d0de;
}

.wa-fab {
  position: fixed;
  right: 16px;
  bottom: 88px;
  z-index: 80;
  height: 52px;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 16px 40px -16px rgba(18, 140, 60, 0.7);
}
.wa-fab::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 1.5px solid rgba(37, 211, 102, 0.55);
  animation: pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes pulse {
  70%,
  100% {
    transform: scale(1.12);
    opacity: 0;
  }
}
.wa-fab svg {
  width: 22px;
  height: 22px;
}

.mobile-nav {
  display: none;
}

.nav a.is-on::after {
  width: 100%;
}

/* Packages */
.pkg-hero {
  padding: 42px 0 8px;
}
.pkg-hero h1 {
  margin: 16px 0 18px;
  font-size: clamp(48px, 6.4vw, 88px);
  color: #ffffff;
  text-shadow: 0 2px 28px rgba(8, 12, 22, 0.55);
}
.pkg-hero h1 em {
  font-style: italic;
  color: #f7f9fc;
}
.pkg-hero .lead {
  margin-bottom: 22px;
}
.pkg-launch {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 720px;
  background: #fff7e8;
  border: 1.5px dashed #e0b04a;
  color: #8a6100;
  padding: 14px 20px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}
.pkg-launch-ico {
  flex: 0 0 auto;
  line-height: 1.3;
}
.pkg-launch b,
.pkg-launch strong {
  color: #9a6a00;
  font-weight: 800;
}
.pkg-section {
  padding-top: 40px;
}
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.pkg-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 24px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pkg-card.is-hot {
  border-color: var(--clay);
  box-shadow: var(--shadow);
}
.pkg-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--clay);
  color: #fff8f3;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.pkg-plan {
  font-family: "Inter", var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8b97a8;
  margin-bottom: 8px;
}
.pkg-card.is-hot .pkg-plan {
  color: #0b8a70;
}
.pkg-was {
  font-family: "Inter", var(--sans);
  font-size: 14px;
  color: #a8b2c0;
  text-decoration: line-through;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.pkg-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0 0 8px;
}
.pkg-price {
  font-family: "Inter Display", "Inter", var(--sans);
  font-weight: 900;
  font-size: 42px;
  line-height: 1;
  color: #152033;
  letter-spacing: -0.035em;
  margin: 0;
}
.pkg-save {
  display: inline-flex;
  align-items: center;
  background: #ddf4ee;
  color: #0b7a66;
  font-family: "Inter", var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
.pkg-once {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}
.pkg-tagline {
  font-size: 14.5px;
  color: var(--muted);
  min-height: 44px;
  margin-bottom: 18px;
}
.pkg-feat {
  list-style: none;
  flex: 1;
  margin-bottom: 22px;
}
.pkg-feat li {
  position: relative;
  padding: 8px 0 8px 26px;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px dashed var(--line);
}
.pkg-feat li:last-child {
  border-bottom: 0;
}
.pkg-feat li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sage-soft);
  box-shadow: inset 0 0 0 4px var(--sage-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23152033' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 9px;
  background-repeat: no-repeat;
  background-position: center;
}
.pkg-card .btn {
  width: 100%;
}
.pkg-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}
.pkg-trust li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.pkg-addons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pkg-addon {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 26px;
}
.pkg-addon h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 6px;
}
.pkg-addon-price {
  font-family: "Inter Display", "Inter", var(--sans);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--clay);
  margin-bottom: 10px;
}
.pkg-addon p:last-child {
  color: var(--muted);
  font-size: 15px;
}
.pkg-faq {
  max-width: 760px;
}
.pkg-faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 10px;
}
.pkg-faq summary {
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.pkg-faq summary::-webkit-details-marker {
  display: none;
}
.pkg-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 22px;
  color: var(--clay);
  font-weight: 700;
}
.pkg-faq details[open] summary::after {
  content: "–";
}
.pkg-faq details p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}
.pkg-final {
  text-align: left;
  max-width: 640px;
}
.pkg-final h2 {
  font-size: clamp(40px, 5vw, 64px);
  margin: 12px 0 16px;
  color: #f4f6fa;
}
.pkg-final .btn {
  margin-top: 8px;
}

@media (max-width: 960px) {
  .hero-grid,
  .problem-grid,
  .about-grid,
  .contact-grid,
  .project,
  .project:nth-child(even) {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 16px;
  }
  .project:nth-child(even) .project-media {
    order: 0;
  }
  .work-list {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .project-media {
    min-height: 118px;
  }
  .project-body {
    padding: 14px 12px 16px;
  }
  .project-body h3 {
    font-size: 20px;
    margin: 8px 0 6px;
  }
  .project-body p {
    font-size: 12.5px;
  }
  .sample-note {
    margin-top: 8px;
    font-size: 11px;
  }
  .project-body .btn {
    height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }
  .offer-grid,
  .offer .offer-3,
  .pkg-grid,
  .pkg-addons {
    grid-template-columns: 1fr;
  }
  .pkg-hero h1 {
    font-size: 46px;
  }
  .pkg-tagline {
    min-height: 0;
  }
  .roadmap {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .road-arrow {
    transform: rotate(90deg);
    height: 36px;
  }
  .road-step {
    min-height: 0;
  }
  .nav {
    display: none;
  }
  .header-cta {
    display: inline-flex;
    height: 36px;
    padding: 0 12px;
    font-size: 12px;
    min-width: 0;
  }
  .burger {
    display: flex;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    background: none;
    gap: 4px;
    padding: 6px 2px;
  }
  .stage {
    height: 420px;
    margin-top: 10px;
  }
  .section {
    padding: 72px 0;
  }
  .mobile-nav {
    display: none;
    position: fixed;
    inset: var(--header) 16px auto 16px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    z-index: 45;
    box-shadow: var(--shadow);
    flex-direction: column;
    gap: 14px;
  }
  .mobile-nav.open {
    display: flex;
  }
}

@media (max-width: 640px) {
  .waves::after {
    background: linear-gradient(
      180deg,
      rgba(26, 34, 54, 0.6) 0%,
      rgba(26, 34, 54, 0.64) 36%,
      rgba(26, 34, 54, 0.72) 58%,
      rgba(26, 34, 54, 0.9) 80%,
      #1a2236 94%,
      #1a2236 100%
    );
  }
  .wrap {
    width: min(1180px, calc(100% - 28px));
  }
  .compare {
    width: 100%;
    height: 188px;
  }
  .compare-after,
  .compare-before {
    height: 188px;
  }
  .hero {
    padding-top: 22px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .offer-grid,
  .offer .offer-3,
  .form-row,
  .facts {
    grid-template-columns: 1fr;
  }
  .stage {
    height: 340px;
  }
  .d1 {
    width: 72%;
    left: 4%;
  }
  .d2 {
    width: 58%;
    right: 2%;
    top: 70px;
  }
  .d3,
  .d4 {
    display: none;
  }
  .section-head {
    flex-direction: column;
    align-items: start;
  }
  .wa-fab span {
    display: none;
  }
  .wa-fab {
    width: 54px;
    padding: 0;
    justify-content: center;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s ease forwards;
}
.reveal:nth-child(2) { animation-delay: 0.08s; }
.reveal:nth-child(3) { animation-delay: 0.16s; }
@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

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