:root {
  --bg: #f3f5f8;
  --surface: #ffffff;
  --surface-soft: #e8edf2;
  --ink: #16212d;
  --ink-muted: #4f6071;
  --brand: #0f2a45;
  --brand-soft: #1f4d73;
  --accent: #9fc2aa;
  --line: #d6dee6;
  --shadow: 0 20px 55px rgba(7, 20, 35, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: radial-gradient(1300px 700px at 120% -10%, #d9e4ee 0%, transparent 60%),
    radial-gradient(900px 450px at -20% 120%, #dce5dd 0%, transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

.morph-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
}

.morph {
  position: absolute;
  inset: -20% -20%;
  opacity: 0;
  transition: opacity 700ms ease;
}

.morph-a {
  background: radial-gradient(800px 420px at 20% 10%, rgba(90, 139, 178, 0.2), transparent 70%);
}

.morph-b {
  background: radial-gradient(860px 420px at 80% 8%, rgba(98, 157, 130, 0.18), transparent 70%);
}

.morph-c {
  background: radial-gradient(820px 420px at 52% 18%, rgba(79, 111, 157, 0.18), transparent 70%);
}

body[data-morph-phase="0"] .morph-a,
body[data-morph-phase="1"] .morph-b,
body[data-morph-phase="2"] .morph-c,
body[data-morph-phase="3"] .morph-a {
  opacity: 1;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(560px 240px at 50% -8%, rgba(76, 123, 163, 0.2), transparent 70%),
    radial-gradient(420px 200px at 88% 4%, rgba(94, 149, 124, 0.14), transparent 72%);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(185, 203, 218, 0.45);
  z-index: 30;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #1d4a70, #3f7198);
  transition: width 120ms linear;
}

h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
  line-height: 1.1;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.bg-orb {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(55px);
  opacity: 0.28;
  pointer-events: none;
  z-index: -1;
  animation: drift 12s ease-in-out infinite alternate;
}

.orb-1 {
  top: -120px;
  right: -120px;
  background: #81a3c3;
}

.orb-2 {
  bottom: -190px;
  left: -130px;
  background: #9bc0a7;
  animation-delay: 1.8s;
}

.topbar {
  width: min(1180px, 92vw);
  margin: 20px auto 0;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 14px;
  z-index: 10;
  box-shadow: 0 12px 34px rgba(15, 42, 69, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #cfd9e2;
  overflow: hidden;
}

.brand-mark img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  display: block;
}

.brand-text {
  font-weight: 800;
  font-family: "Sora", sans-serif;
}

.topnav {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  color: #354657;
}

.topnav a:hover {
  color: var(--brand);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  transition: 180ms transform ease, 180ms background-color ease, 180ms color ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand);
  color: #f8fbff;
}

.btn-primary:hover {
  background: var(--brand-soft);
}

.btn-ghost {
  border-color: #c7d3de;
  color: #2f4358;
  background: #f6f9fc;
}

.section {
  width: min(1180px, 92vw);
  margin: 58px auto;
  scroll-margin-top: 104px;
}

[data-scroll-section] {
  --section-progress: 0;
  position: relative;
}

[data-scroll-section]::before {
  content: "";
  position: absolute;
  inset: -10px -12px;
  border-radius: 28px;
  pointer-events: none;
  background: radial-gradient(
    420px 180px at calc(50% + (var(--section-progress) * 90px)) -6%,
    rgba(102, 149, 187, 0.2),
    transparent 68%
  );
  opacity: clamp(0.08, var(--section-progress), 0.65);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.hero-panel,
.hero-media {
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  will-change: transform;
}

.hero-panel {
  background: linear-gradient(160deg, #ffffff 0%, #edf3f8 100%);
  padding: 42px;
  animation: heroSlideUp 860ms cubic-bezier(0.22, 0.7, 0.16, 1) both;
}

.eyebrow {
  margin: 0 0 16px;
  letter-spacing: 0.11em;
  font-weight: 800;
  font-size: 0.78rem;
  color: #54708a;
}

.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.hero-title-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 0.18em 0.28em;
  max-width: 13ch;
}

.hero-word {
  opacity: 0.18;
  transform: translateY(14px) scale(0.98);
  filter: blur(1.6px);
  transition: opacity 280ms ease, transform 280ms ease, filter 280ms ease, color 280ms ease;
}

.hero-word.is-on {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.hero-word-accent {
  color: #335d86;
}

.hero h1 span {
  color: #3a6f5d;
}

.lead {
  margin: 0;
  max-width: 52ch;
  color: var(--ink-muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.stats article {
  background: #f6f9fc;
  border: 1px solid #d8e2ea;
  border-radius: 14px;
  padding: 14px;
  opacity: 0;
  transform: translateY(12px) scale(0.97);
  animation: statPop 620ms ease forwards;
}

.stats article:nth-child(1) {
  animation-delay: 140ms;
}

.stats article:nth-child(2) {
  animation-delay: 260ms;
}

.stats article:nth-child(3) {
  animation-delay: 380ms;
}

.stats strong {
  display: block;
  font-size: 1.35rem;
  color: var(--brand);
}

.stats span {
  display: block;
  color: #5b6c7d;
  font-size: 0.92rem;
}

.hero-media {
  overflow: hidden;
  position: relative;
  animation: heroSlideRight 940ms cubic-bezier(0.22, 0.7, 0.16, 1) both;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 480px;
  transform: scale(1.02);
  transition: transform 280ms ease;
  animation: kenBurns 13s ease-in-out infinite alternate;
}

[data-parallax-image] {
  transform: scale(1.06) translateY(calc(var(--img-shift, 0px) * 1px));
}

.media-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(15, 42, 69, 0.87);
  color: #ecf5ff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 0.9rem;
  font-weight: 700;
  animation: pulseBadge 2.6s ease-in-out infinite;
}

.section-head {
  margin-bottom: 18px;
  max-width: 74ch;
}

.section-head h2 {
  font-size: clamp(1.65rem, 3.4vw, 2.5rem);
}

.section-intro {
  margin: 10px 0 0;
  color: var(--ink-muted);
  max-width: 66ch;
}

.service-grid,
.team-grid {
  display: grid;
  gap: 14px;
  align-items: stretch;
}

.keynote-story {
  position: relative;
}

.story-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 16px;
  align-items: start;
}

.story-sticky {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(160deg, #ffffff 0%, #edf3f8 100%);
  box-shadow: 0 12px 30px rgba(10, 28, 46, 0.08);
  padding: 20px;
}

.story-chip {
  display: inline-flex;
  margin: 0 0 10px;
  border-radius: 999px;
  border: 1px solid #c8d6e3;
  background: #f7fbff;
  color: #30506b;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 6px 10px;
}

.story-sticky h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  margin-bottom: 9px;
}

.story-sticky p {
  margin: 0;
  color: #4e6072;
}

.story-visual {
  margin-top: 14px;
  border-radius: 14px;
  border: 1px solid #cddae6;
  background: #f8fbff;
  padding: 10px;
  display: grid;
  gap: 8px;
}

.story-visual span {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #315d83, #93b4cf);
  transform-origin: left center;
}

.story-visual[data-tone="b"] span {
  background: linear-gradient(90deg, #3b6f63, #9ec4b8);
}

.story-visual[data-tone="c"] span {
  background: linear-gradient(90deg, #355078, #7ea5c6);
}

.story-visual[data-tone="d"] span {
  background: linear-gradient(90deg, #1f4f73, #6f93b6);
}

.story-steps {
  display: grid;
  gap: 12px;
}

.story-step {
  min-height: 58vh;
  border: 1px solid #d6e0e8;
  border-radius: 16px;
  background: #f8fbff;
  padding: 24px;
  display: grid;
  align-content: center;
  opacity: 0.6;
  transform: scale(0.98);
  transition: opacity 280ms ease, transform 280ms ease, border-color 280ms ease;
}

.story-step.is-active {
  opacity: 1;
  transform: scale(1);
  border-color: #7da1bf;
}

.story-step h4 {
  margin: 0 0 8px;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
}

.story-step p {
  margin: 0;
  color: #516376;
  max-width: 58ch;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.team-card,
.cta {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 12px 28px rgba(10, 28, 46, 0.08);
}

.card,
.proof-card,
.team-card,
.faq-item,
.project-sample,
.quote-benefits,
.quote-form,
.products-teaser,
.cta,
.hero-panel,
.hero-media {
  transform: translateY(calc((1 - var(--scroll-fade, 1)) * 26px)) scale(calc(0.97 + (var(--scroll-fade, 1) * 0.03)));
  opacity: clamp(0.62, var(--scroll-fade, 1), 1);
  transition: transform 460ms cubic-bezier(0.22, 0.7, 0.16, 1), opacity 460ms ease;
}

.card,
.proof-card,
.team-card {
  transform-style: preserve-3d;
  transition: transform 360ms ease, box-shadow 360ms ease;
  display: grid;
  align-content: start;
  gap: 8px;
  height: 100%;
}

.card:hover,
.proof-card:hover,
.team-card:hover {
  box-shadow: 0 22px 40px rgba(9, 30, 48, 0.15);
}

.card h3,
.team-card h3 {
  font-size: 1.18rem;
  margin: 0;
}

.card p,
.team-card p,
.cta p {
  margin: 0;
  color: #4f6071;
}

.card {
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(15, 42, 69, 0.03), transparent 45%);
  pointer-events: none;
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  background: linear-gradient(140deg, #193a58, #355f81);
  color: #f6fbff;
  font-weight: 800;
}

.team-role {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #2c4a66;
}

/* Founder section robust sizing fallback to prevent oversized profile photos */
.team .team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.team .founder-card {
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(160deg, #ffffff 0%, #f6fafe 100%);
  border-color: #d4dfea;
}

.team .founder-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.team .founder-photo-wrap {
  width: 78px;
  height: 78px;
  border-radius: 16px;
  overflow: hidden;
  flex: 0 0 auto;
  border: 1px solid #cedae6;
  background: #eef4f9;
}

.team .founder-photo-wrap .founder-photo {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.team .founder-photo-wrap .founder-photo-michi {
  object-position: 50% 18% !important;
  transform: scale(3.1) translateY(6%);
  transform-origin: center top;
}

.team .founder-id {
  display: grid;
  gap: 2px;
}

.team .founder-id h3 {
  margin: 0;
}

.team .founder-focus {
  margin: 0;
  line-height: 1.55;
  max-width: 44ch;
}

@media (max-width: 1080px) {
  .team .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team .founder-card-highlight {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .team .team-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .team .founder-card {
    padding: 18px;
  }

  .team .founder-photo-wrap {
    width: 68px;
    height: 68px;
    border-radius: 14px;
  }
}

.cta {
  text-align: center;
  padding: 44px 24px;
  background: linear-gradient(160deg, #ffffff 0%, #eff4f8 100%);
}

.cta h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  margin-bottom: 12px;
}

.cta p {
  max-width: 62ch;
  margin: 0 auto 22px;
}

.cta .cta-actions {
  justify-content: center;
  margin-top: 8px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.proof-card,
.products-teaser,
.faq-item,
.products-hero,
.product-card,
.download-concept {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(10, 28, 46, 0.08);
}

.proof-card {
  padding: 22px;
}

.proof-card strong {
  display: block;
  margin-bottom: 8px;
  color: #1f3750;
}

.proof-card p {
  margin: 0;
  color: #556779;
}

.products-teaser {
  padding: 28px;
  background: linear-gradient(145deg, #fdfefe 0%, #eaf1f7 100%);
}

.products-teaser h2 {
  margin-bottom: 10px;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
}

.products-teaser p {
  margin: 0;
  color: #4f6071;
  max-width: 70ch;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 16px 18px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: #20374f;
}

.faq-item p {
  margin: 10px 0 0;
  color: #546677;
}

.products-hero {
  padding: 40px;
  background: linear-gradient(155deg, #ffffff 0%, #edf2f7 100%);
}

.products-hero-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: center;
}

.products-hero h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.8rem);
  margin-bottom: 12px;
  max-width: 14ch;
  line-height: 1.02;
}

.products-hero h1 span {
  color: #2b5a81;
}

.products-hero p {
  margin: 0;
  color: #4f6071;
  max-width: 54ch;
}

.hero-pills {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-pills span {
  border: 1px solid #ccd9e5;
  background: #f7fbff;
  color: #37546f;
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: 999px;
  padding: 7px 11px;
}

.hero-side-card {
  margin: 0;
  background: #f7fbff;
  border: 1px solid #d5e0ea;
  border-radius: 16px;
  padding: 18px;
}

.hero-side-card h3 {
  margin: 0 0 10px;
  font-size: 1.06rem;
  color: #1b3550;
}

.hero-side-card ul {
  margin: 0;
  padding-left: 18px;
  color: #4f6071;
  display: grid;
  gap: 8px;
}

.hero-side-card .btn {
  margin-top: 12px;
  width: 100%;
}

.product-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.filter-btn {
  border: 1px solid #c9d6e2;
  background: #f4f8fc;
  color: #30465c;
  font-weight: 700;
  border-radius: 999px;
  padding: 9px 14px;
  cursor: pointer;
}

.filter-btn.is-active {
  background: var(--brand);
  color: #f7fbff;
  border-color: var(--brand);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  padding: 22px;
}

.product-card h3 {
  margin: 12px 0 10px;
  font-size: 1.2rem;
}

.product-card p {
  margin: 0;
  color: #516375;
}

.product-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag {
  display: inline-flex;
  font-weight: 800;
  font-size: 0.76rem;
  padding: 6px 10px;
  border-radius: 999px;
}

.tag-paid {
  background: #dbe8f4;
  color: #1f4365;
}

.tag-free {
  background: #dceee3;
  color: #2f6247;
}

.tag-soon {
  background: #efe6d9;
  color: #735222;
}

.download-concept {
  padding: 26px;
  background: linear-gradient(150deg, #ffffff 0%, #edf2f8 100%);
}

.download-concept > p {
  margin: 0 0 14px;
  color: #4f6071;
  max-width: 75ch;
}

.download-tip {
  margin: 0 0 12px;
  color: #35526d;
  font-weight: 600;
}

.download-steps {
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.download-steps p {
  margin: 0;
  border: 1px solid #d8e2ea;
  border-radius: 12px;
  background: #f8fbff;
  padding: 11px;
}

.step-pill.is-active {
  border-color: #2f5f87;
  box-shadow: inset 0 0 0 1px #2f5f87;
  background: #eef6ff;
}

.step-pill.is-done {
  border-color: #2f6247;
  background: #eef9f2;
}

.download-steps strong {
  display: block;
  color: #193a58;
  font-size: 0.92rem;
}

.download-steps span {
  display: block;
  color: #5a6c7f;
  font-size: 0.84rem;
}

.download-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.download-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  color: #24394f;
}

.download-form .field-card {
  background: #f9fcff;
  border: 1px solid #d5e0ea;
  border-radius: 12px;
  padding: 10px;
}

.field-title {
  font-size: 0.95rem;
}

.download-form select {
  width: 100%;
  border: 1px solid #c8d5e1;
  border-radius: 10px;
  padding: 10px 11px;
  font: inherit;
  color: #334a61;
  background: #f8fbff;
}

.download-form button {
  grid-column: 1 / -1;
  width: 100%;
}

#download-submit:disabled {
  background: #8ca2b7;
  cursor: not-allowed;
  transform: none;
}

.download-summary {
  margin-top: 14px;
  margin-bottom: 0;
  border: 1px solid #d6e2ed;
  border-radius: 12px;
  background: #f2f8ff;
  padding: 12px;
  color: #204061;
}

.download-summary strong {
  display: block;
  margin-bottom: 4px;
}

.download-summary p {
  margin: 0;
  color: #4d667f;
}

.quote-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 14px;
  align-items: start;
}

.quote-showcase {
  display: grid;
  gap: 12px;
}

.project-gallery,
.quote-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(10, 28, 46, 0.08);
}

.project-gallery {
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
  height: fit-content;
}

.quote-benefits {
  margin: 0;
  background: linear-gradient(150deg, #ffffff 0%, #edf3f8 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(10, 28, 46, 0.08);
  padding: 18px;
}

.quote-benefits h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  color: #1d3650;
}

.benefit-list {
  margin: 0;
  padding-left: 20px;
  color: #4b5e71;
  display: grid;
  gap: 8px;
}

.quote-kpis {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.quote-kpis p {
  margin: 0;
  border: 1px solid #d8e2ea;
  border-radius: 12px;
  background: #f7fbff;
  padding: 10px;
}

.quote-kpis strong {
  display: block;
  color: #183754;
  font-size: 1rem;
}

.quote-kpis span {
  display: block;
  color: #5a6c7f;
  font-size: 0.82rem;
}

.project-sample {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #d7e1ea;
  background: #f9fbfd;
  align-self: start;
}

.project-sample img {
  width: 100%;
  height: 155px;
  object-fit: cover;
  display: block;
}

.project-sample p {
  margin: 0;
  padding: 10px;
  font-size: 0.9rem;
  color: #455a6f;
  font-weight: 600;
  min-height: 74px;
}

.quote-form {
  padding: 20px;
  display: grid;
  gap: 10px;
}

.quote-form label {
  display: grid;
  gap: 7px;
  font-weight: 700;
  color: #23384d;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid #c8d5e1;
  border-radius: 10px;
  padding: 10px 11px;
  font: inherit;
  color: #334a61;
  background: #f8fbff;
}

.quote-form textarea {
  resize: vertical;
  min-height: 92px;
}

.quote-hint {
  margin: 0;
  font-size: 0.9rem;
  color: #53667a;
}

.is-hidden {
  display: none;
}

.footer {
  width: min(1180px, 92vw);
  margin: 14px auto 40px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  background: #f8fbff;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand strong {
  display: block;
}

.footer-brand small {
  color: #657789;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  color: #44586b;
  font-weight: 600;
}

.footer-links a:hover {
  color: #0f2a45;
}

.copy {
  margin: 0;
  grid-column: 1 / -1;
  color: #66788a;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(28px, -22px) scale(1.08);
  }
}

@keyframes heroSlideUp {
  from {
    opacity: 0;
    transform: translateY(32px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroSlideRight {
  from {
    opacity: 0;
    transform: translateX(28px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes kenBurns {
  from {
    transform: scale(1.04) translateY(0);
  }
  to {
    transform: scale(1.1) translateY(-7px);
  }
}

@keyframes pulseBadge {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 0 0 0 rgba(86, 138, 179, 0.22);
  }
  50% {
    transform: translateY(-2px);
    box-shadow: 0 0 0 11px rgba(86, 138, 179, 0);
  }
}

@keyframes statPop {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-media img {
    min-height: 330px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .products-hero-grid {
    grid-template-columns: 1fr;
  }

  .story-layout {
    grid-template-columns: 1fr;
  }

  .story-sticky {
    position: static;
  }

  .story-step {
    min-height: 42vh;
  }

  .products-hero {
    padding: 30px;
  }

  .products-hero h1 {
    max-width: none;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .download-steps {
    grid-template-columns: 1fr;
  }

  .download-form {
    grid-template-columns: 1fr 1fr;
  }

  .quote-layout {
    grid-template-columns: 1fr;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }

  .quote-kpis {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar {
    padding: 13px 14px;
    border-radius: 14px;
  }

  .topnav {
    gap: 10px;
    font-size: 0.92rem;
  }

  .topnav a:not(.btn) {
    display: none;
  }

  .hero-panel {
    padding: 26px;
  }

  .hero-title-scroll {
    max-width: none;
  }

  .stats,
  .service-grid,
  .team-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .download-form {
    grid-template-columns: 1fr;
  }

  .cta .cta-actions .btn {
    width: 100%;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
