:root {
  --navy-950: #041326;
  --navy-900: #071b33;
  --navy-800: #0b2949;
  --navy-700: #123d67;
  --blue-500: #2d78c8;
  --sky-100: #e9f3fc;
  --green-600: #128c4d;
  --green-500: #18a760;
  --green-100: #ddf8e9;
  --white: #ffffff;
  --ink: #0b1d31;
  --muted: #5d6c7d;
  --line: #dce5ee;
  --surface: #f4f8fb;
  --surface-strong: #eaf1f7;
  --shadow-sm: 0 12px 30px rgba(5, 28, 51, 0.08);
  --shadow-lg: 0 30px 70px rgba(1, 15, 31, 0.2);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --container: 1180px;
  --header-height: 78px;
  --font-sans: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #6bb6ff;
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--navy-950);
  background: var(--white);
  border-radius: 8px;
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled,
.site-header.menu-active {
  background: rgba(4, 19, 38, 0.94);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 34px rgba(0, 0, 0, 0.17);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 11px;
  color: var(--white);
  font-weight: 760;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--navy-950);
  background: var(--white);
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-name {
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 29px;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.91rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: #52d18f;
  border-radius: 999px;
  content: "";
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
}

.main-nav a.active::after,
.main-nav a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  padding: 0 18px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 720;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.17);
  border-color: rgba(255, 255, 255, 0.38);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle span {
  width: 19px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  min-height: 820px;
  padding: 160px 0 44px;
  color: var(--white);
  background:
    radial-gradient(circle at 76% 39%, rgba(34, 122, 202, 0.18), transparent 31%),
    linear-gradient(135deg, var(--navy-950) 0%, #071b33 48%, #0b2847 100%);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 62px 62px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 90%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.hero-glow-one {
  top: 80px;
  right: -210px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.015), 0 0 0 150px rgba(255, 255, 255, 0.012);
}

.hero-glow-two {
  bottom: -210px;
  left: -150px;
  width: 390px;
  height: 390px;
  background: rgba(22, 167, 96, 0.05);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
  align-items: center;
  gap: clamp(54px, 7vw, 95px);
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #5bd596;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  background: #5bd596;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(91, 213, 150, 0.11);
}

.hero h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 4.75rem);
  font-weight: 760;
  letter-spacing: -0.06em;
  line-height: 0.99;
}

.hero-role {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 17px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.86rem;
  font-weight: 600;
}

.hero-role strong {
  color: var(--white);
  font-weight: 800;
}

.hero-role > span {
  color: #5bd596;
}

.hero h1 em {
  color: #78b8f5;
  font-style: normal;
}

.hero-lead {
  max-width: 620px;
  margin: 27px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.72;
}

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

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.96rem;
  font-weight: 760;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

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

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  box-shadow: 0 12px 28px rgba(13, 141, 74, 0.26);
}

.button-primary:hover {
  box-shadow: 0 16px 35px rgba(13, 141, 74, 0.36);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.34);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 23px;
  margin: 33px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.83rem;
  font-weight: 600;
  list-style: none;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust span {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: #6ce0a3;
  background: rgba(80, 209, 143, 0.12);
  border-radius: 50%;
  font-size: 0.69rem;
}

.hero-showcase {
  position: relative;
  display: flex;
  min-height: 535px;
  align-items: center;
  justify-content: center;
}

.showcase-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.orbit-one {
  width: 500px;
  height: 500px;
}

.orbit-two {
  width: 380px;
  height: 380px;
}

.browser-card {
  position: relative;
  z-index: 2;
  width: min(100%, 510px);
  color: var(--ink);
  background: var(--white);
  border: 7px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.4deg);
  overflow: hidden;
}

.browser-top {
  display: flex;
  height: 36px;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
  background: #edf2f6;
}

.browser-top > span {
  width: 6px;
  height: 6px;
  background: #9eabb7;
  border-radius: 50%;
}

.browser-top > span:first-child { background: #e97a79; }
.browser-top > span:nth-child(2) { background: #e8b25f; }
.browser-top > span:nth-child(3) { background: #72be8a; }

.browser-address {
  width: 52%;
  margin-left: 14px;
  padding: 4px 12px;
  color: #8d99a5;
  background: var(--white);
  border-radius: 6px;
  font-size: 0.52rem;
}

.browser-content {
  min-height: 365px;
  padding: 20px 24px 23px;
  background: linear-gradient(145deg, #f8fbfd, #eef5fa);
}

.mock-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
}

.mock-logo {
  color: var(--navy-900);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.mock-links {
  display: flex;
  gap: 9px;
}

.mock-links i {
  width: 26px;
  height: 3px;
  background: #c3d0db;
  border-radius: 99px;
}

.mock-hero {
  position: relative;
  min-height: 185px;
  padding: 29px 25px;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 25%, rgba(91, 213, 150, 0.35), transparent 35%),
    linear-gradient(135deg, #0a2542, #0e416c);
  border-radius: 12px;
  overflow: hidden;
}

.mock-hero::after {
  position: absolute;
  top: -32px;
  right: -22px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(255, 255, 255, 0.03), 0 0 0 45px rgba(255, 255, 255, 0.02);
  content: "";
}

.mock-hero p {
  margin: 0 0 10px;
  color: #79e2ac;
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.mock-title span,
.mock-text span {
  display: block;
  border-radius: 99px;
}

.mock-title span {
  width: 62%;
  height: 8px;
  margin-top: 5px;
  background: rgba(255, 255, 255, 0.94);
}

.mock-title span:nth-child(2) { width: 47%; }
.mock-title span:nth-child(3) { width: 29%; }

.mock-text {
  margin-top: 15px;
}

.mock-text span {
  width: 51%;
  height: 3px;
  margin-top: 5px;
  background: rgba(255, 255, 255, 0.35);
}

.mock-text span:last-child { width: 39%; }

.mock-button {
  display: inline-flex;
  margin-top: 18px;
  padding: 7px 11px;
  color: var(--white);
  background: var(--green-500);
  border-radius: 5px;
  font-size: 0.48rem;
  font-weight: 750;
}

.mock-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 13px;
}

.mock-cards > div {
  min-height: 73px;
  padding: 11px;
  background: var(--white);
  border: 1px solid #e2ebf2;
  border-radius: 8px;
}

.mock-cards b {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-500);
  font-size: 0.49rem;
}

.mock-cards span,
.mock-cards small {
  display: block;
  height: 3px;
  margin-top: 5px;
  background: #aebcca;
  border-radius: 99px;
}

.mock-cards span { width: 72%; }
.mock-cards small { width: 47%; background: #d8e1e8; }

.metric-card {
  position: absolute;
  z-index: 3;
  display: flex;
  min-width: 147px;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 12px;
  box-shadow: 0 16px 34px rgba(0, 12, 25, 0.2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.metric-speed {
  top: 31px;
  right: -18px;
}

.metric-mobile {
  bottom: 27px;
  left: -31px;
}

.metric-icon {
  display: grid;
  width: 35px;
  height: 35px;
  flex: none;
  place-items: center;
  color: var(--green-600);
  background: var(--green-100);
  border-radius: 9px;
  font-size: 1rem;
  font-weight: 900;
}

.metric-card div {
  display: grid;
}

.metric-card strong {
  font-size: 0.75rem;
  line-height: 1.3;
}

.metric-card small {
  color: var(--muted);
  font-size: 0.6rem;
}

.hero-footnote {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 54px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-footnote i {
  width: 4px;
  height: 4px;
  background: #52d18f;
  border-radius: 50%;
}

.section {
  padding: clamp(80px, 10vw, 130px) 0;
}

.section-kicker {
  color: var(--blue-500);
}

.section-kicker::before {
  width: 27px;
  height: 2px;
  background: currentColor;
  content: "";
}

.section-kicker.light {
  color: #72dfa6;
}

.section-heading h2,
.why h2,
.contact h2 {
  max-width: 790px;
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 760;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 53px;
}

.section-heading-row > p {
  max-width: 410px;
  margin: 0 0 5px;
  color: var(--muted);
}

.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(60px, 9vw, 120px);
}

.about .section-heading {
  position: sticky;
  top: calc(var(--header-height) + 50px);
  align-self: start;
}

.about .section-heading h2 {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
}

.about-content > p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.03rem;
}

.about-content .about-intro {
  margin-bottom: 25px;
  color: var(--ink);
  font-size: clamp(1.1rem, 1.9vw, 1.35rem);
  line-height: 1.55;
}

.about-values {
  display: grid;
  gap: 0;
  margin-top: 38px;
  border-top: 1px solid var(--line);
}

.about-values article {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.about-values article > strong {
  color: var(--blue-500);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.about-values h3 {
  margin: -4px 0 3px;
  color: var(--navy-900);
  font-size: 1.03rem;
}

.about-values p {
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.services {
  background: var(--surface);
}

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

.service-card {
  position: relative;
  min-height: 340px;
  padding: 30px 26px;
  background: var(--white);
  border: 1px solid #e0e9f0;
  border-radius: var(--radius-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  border-color: #bcd1e2;
  box-shadow: var(--shadow-sm);
  transform: translateY(-7px);
}

.service-card.featured {
  color: var(--white);
  background: linear-gradient(150deg, #0a2441, #0e3b63);
  border-color: transparent;
}

.service-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 61px;
  place-items: center;
  color: var(--blue-500);
  background: var(--sky-100);
  border-radius: 13px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.service-card.featured .service-icon {
  color: #74dda6;
  background: rgba(73, 211, 138, 0.12);
}

.service-card > span {
  position: absolute;
  top: 30px;
  right: 28px;
  color: #9cafbf;
  font-size: 0.75rem;
  font-weight: 800;
}

.service-card.featured > span {
  color: rgba(255, 255, 255, 0.4);
}

.service-card h3 {
  margin: 0 0 12px;
  color: var(--navy-950);
  font-size: 1.23rem;
  letter-spacing: -0.025em;
  line-height: 1.28;
}

.service-card.featured h3 {
  color: var(--white);
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.65;
}

.service-card.featured p {
  color: rgba(255, 255, 255, 0.66);
}

.projects {
  background: var(--white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.project-link-card {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  color: inherit;
}

.project-link-card .project-preview {
  height: 100%;
  min-height: 390px;
}

.project-link-card .project-info {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: clamp(32px, 5vw, 58px);
}

.project-link-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue-500);
  font-size: 0.84rem;
  font-weight: 800;
}

.project-link-card:hover .project-link-label {
  color: var(--navy-800);
}

.prototype-card {
  grid-column: 1 / -1;
}

.prototype-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(20px, 3vw, 32px);
  background: linear-gradient(145deg, #e9eef3, #cfd9e2);
}

.prototype-gallery figure {
  position: relative;
  min-width: 0;
  margin: 0;
  background: var(--white);
  border: 1px solid rgba(7, 27, 51, 0.12);
  border-radius: 14px;
  box-shadow: 0 18px 36px rgba(7, 27, 51, 0.14);
  overflow: hidden;
}

.prototype-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 1100 / 777;
  object-fit: contain;
  background: #f8f4ec;
}

.prototype-gallery figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 9px;
  color: var(--white);
  background: rgba(4, 19, 38, 0.86);
  border-radius: 7px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.project-placeholder {
  grid-column: 1 / -1;
}

.project-card {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:not(.project-placeholder):hover {
  box-shadow: 0 24px 55px rgba(5, 28, 51, 0.1);
  transform: translateY(-6px);
}

.project-preview {
  position: relative;
  height: 330px;
  overflow: hidden;
}

.preview-pilgrimage {
  display: grid;
  padding: 34px 30px 0;
  place-items: end center;
  background:
    radial-gradient(circle at 18% 15%, rgba(255, 212, 129, 0.5), transparent 26%),
    linear-gradient(135deg, #d9e1c4, #77917a);
}

.preview-browser {
  width: 92%;
  height: 300px;
  background: var(--white);
  border: 6px solid rgba(255, 255, 255, 0.25);
  border-bottom: 0;
  border-radius: 15px 15px 0 0;
  box-shadow: 0 25px 50px rgba(17, 48, 34, 0.24);
  overflow: hidden;
  transform: perspective(800px) rotateX(3deg);
  transform-origin: bottom;
}

.preview-bar {
  display: flex;
  height: 22px;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  background: #eef2ef;
}

.preview-bar span {
  width: 5px;
  height: 5px;
  background: #a7b1aa;
  border-radius: 50%;
}

.pilgrimage-ui {
  min-height: 278px;
  background: #f8f5ea;
}

.pilgrimage-nav {
  display: flex;
  height: 36px;
  align-items: center;
  padding: 0 18px;
  gap: 13px;
  color: #516847;
  background: #fffdf6;
  font-size: 0.46rem;
  letter-spacing: 0.1em;
}

.pilgrimage-nav b {
  margin-right: auto;
}

.pilgrimage-nav i {
  width: 22px;
  height: 2px;
  background: #c0c8b9;
}

.pilgrimage-hero {
  position: relative;
  display: flex;
  min-height: 154px;
  justify-content: center;
  flex-direction: column;
  padding: 20px 37px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(27, 55, 38, 0.92), rgba(27, 55, 38, 0.28)),
    radial-gradient(circle at 75% 28%, #c8af79 0 11%, transparent 12%),
    linear-gradient(145deg, #688268, #a1aa7d);
}

.pilgrimage-hero small {
  color: #e1c27b;
  font-size: 0.45rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.pilgrimage-hero strong {
  margin: 7px 0 12px;
  font-family: Georgia, serif;
  font-size: 1.26rem;
  line-height: 1.08;
}

.pilgrimage-hero span {
  width: fit-content;
  padding: 5px 8px;
  background: #c99d45;
  border-radius: 3px;
  font-size: 0.4rem;
  font-weight: 700;
}

.pilgrimage-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  padding: 13px 19px;
}

.pilgrimage-bottom i {
  height: 50px;
  background: linear-gradient(150deg, #d9d3b8, #93a084);
  border-radius: 5px;
}

.preview-legal {
  display: grid;
  place-items: center;
  padding: 32px;
  background: linear-gradient(135deg, #e6dfd2, #c9baa5);
}

.legal-ui {
  position: relative;
  width: 93%;
  height: 272px;
  color: #f9f3e9;
  background:
    linear-gradient(105deg, rgba(21, 30, 41, 0.99) 0 62%, rgba(21, 30, 41, 0.22) 80%),
    linear-gradient(145deg, #7e7568, #b5a58e);
  border: 5px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  box-shadow: 0 25px 50px rgba(41, 32, 21, 0.23);
  overflow: hidden;
}

.legal-ui::after {
  position: absolute;
  right: -58px;
  bottom: -76px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(220, 193, 142, 0.25);
  border-radius: 50%;
  content: "";
}

.legal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-nav b {
  color: #d8bc89;
  font-family: Georgia, serif;
  font-size: 0.85rem;
}

.legal-nav div {
  display: flex;
  gap: 9px;
}

.legal-nav i {
  width: 23px;
  height: 2px;
  background: rgba(255, 255, 255, 0.38);
}

.legal-copy {
  padding: 35px 28px;
}

.legal-copy small {
  display: block;
  margin-bottom: 8px;
  color: #d2b579;
  font-size: 0.38rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.legal-copy strong {
  display: block;
  margin-bottom: 12px;
  font-family: Georgia, serif;
  font-size: 1.28rem;
  font-weight: 500;
  line-height: 1.1;
}

.legal-copy > span {
  display: block;
  width: 42%;
  height: 3px;
  margin-top: 5px;
  background: rgba(255, 255, 255, 0.28);
}

.legal-copy > span:nth-of-type(2) { width: 31%; }

.legal-copy .legal-button {
  display: inline-block;
  width: auto;
  height: auto;
  margin-top: 18px;
  padding: 6px 10px;
  color: #17212d;
  background: #d2b579;
  border-radius: 3px;
  font-size: 0.41rem;
  font-weight: 800;
}

.legal-seal {
  position: absolute;
  z-index: 2;
  right: 29px;
  bottom: 34px;
  display: grid;
  width: 72px;
  height: 72px;
  place-content: center;
  color: #d9bf8e;
  border: 1px solid rgba(217, 191, 142, 0.5);
  border-radius: 50%;
  font-size: 0.35rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-align: center;
}

.legal-seal b {
  font-family: Georgia, serif;
  font-size: 0.65rem;
}

.preview-startup {
  display: grid;
  place-items: center;
  padding: 32px;
  background: linear-gradient(135deg, #e5eaf0, #b9c7d2);
}

.startup-ui {
  display: grid;
  width: 94%;
  height: 272px;
  grid-template-columns: 45px 1fr;
  color: #0d243d;
  background: #f8fafc;
  border: 5px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  box-shadow: 0 25px 50px rgba(20, 44, 63, 0.2);
  overflow: hidden;
}

.startup-side {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  padding-top: 17px;
  color: var(--white);
  background: #0a2138;
}

.startup-side b {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  background: #f06f58;
  border-radius: 6px;
  font-size: 0.6rem;
}

.startup-side i {
  width: 14px;
  height: 3px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 99px;
}

.startup-main {
  position: relative;
  padding: 17px 22px;
}

.startup-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  color: #557088;
  font-size: 0.38rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.startup-top i {
  width: 19px;
  height: 19px;
  background: #dfe7ee;
  border-radius: 50%;
}

.startup-main > strong {
  display: block;
  color: #0a2138;
  font-size: 1.25rem;
  letter-spacing: -0.05em;
  line-height: 1.06;
}

.startup-flow {
  display: flex;
  align-items: center;
  margin-top: 27px;
}

.startup-flow span {
  width: 35px;
  height: 35px;
  background: #dde8f1;
  border: 7px solid #f6f9fb;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #b8cad9;
}

.startup-flow span:nth-of-type(2) { background: #f5ae9e; }
.startup-flow span:nth-of-type(3) { background: #bfe5cf; }

.startup-flow b {
  width: 28px;
  height: 1px;
  background: #a8bbc9;
}

.startup-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 20px;
}

.startup-stats i {
  height: 31px;
  background: #e8eef3;
  border-radius: 4px;
}

.project-info {
  padding: 28px 30px 32px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 13px;
}

.project-tags span {
  padding: 5px 9px;
  color: #476179;
  background: #edf4f9;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
}

.project-info h3 {
  margin: 0 0 9px;
  color: var(--navy-950);
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.project-info p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.93rem;
}

.project-info a,
.project-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue-500);
  font-size: 0.84rem;
  font-weight: 800;
}

.project-info a:hover {
  color: var(--navy-800);
}

.project-status {
  color: #667788;
}

.project-placeholder {
  display: flex;
  min-height: 220px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 36px;
  background: var(--surface);
  border-style: dashed;
  text-align: center;
}

.placeholder-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  place-items: center;
  color: var(--blue-500);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.45rem;
  box-shadow: var(--shadow-sm);
}

.project-placeholder p {
  max-width: 320px;
  margin: 0 0 14px;
  color: var(--navy-900);
  font-weight: 700;
}

.project-placeholder a {
  color: var(--blue-500);
  font-size: 0.86rem;
  font-weight: 800;
}

.why {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(circle at 9% 85%, rgba(27, 169, 99, 0.12), transparent 31%),
    linear-gradient(135deg, var(--navy-950), #0a2947);
  overflow: hidden;
}

.why::after {
  position: absolute;
  top: -230px;
  right: -140px;
  width: 550px;
  height: 550px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  box-shadow: 0 0 0 65px rgba(255, 255, 255, 0.015), 0 0 0 130px rgba(255, 255, 255, 0.01);
  content: "";
}

.why-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: start;
  gap: clamp(60px, 9vw, 120px);
}

.why h2 {
  color: var(--white);
  font-size: clamp(2.1rem, 3.8vw, 3.45rem);
}

.why-intro > p:not(.section-kicker) {
  max-width: 520px;
  margin: 24px 0 26px;
  color: rgba(255, 255, 255, 0.62);
}

.text-link-light {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #72dfa6;
  font-weight: 800;
}

.why-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.why-list article {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.why-list article > span {
  color: #72dfa6;
  font-size: 0.75rem;
  font-weight: 800;
}

.why-list h3 {
  margin: -5px 0 4px;
  color: var(--white);
  font-size: 1.11rem;
}

.why-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.91rem;
}

.contact {
  background: var(--surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(50px, 8vw, 105px);
}

.contact h2 {
  font-size: clamp(2.15rem, 3.8vw, 3.6rem);
}

.contact-copy > p:not(.section-kicker) {
  max-width: 520px;
  margin: 24px 0 0;
  color: var(--muted);
}

.contact-direct {
  display: grid;
  gap: 12px;
  margin-top: 38px;
}

.contact-direct > a {
  display: flex;
  max-width: 430px;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 13px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-direct > a:hover {
  border-color: #b7cbdc;
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.contact-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: none;
  place-items: center;
  color: var(--blue-500);
  background: var(--sky-100);
  border-radius: 10px;
}

.contact-icon.whatsapp-icon {
  color: var(--green-600);
  background: var(--green-100);
}

.contact-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.contact-icon.whatsapp-icon svg {
  fill: currentColor;
  stroke: none;
}

.contact-direct a > span:last-child {
  display: grid;
  min-width: 0;
}

.contact-direct small {
  color: var(--muted);
  font-size: 0.72rem;
}

.contact-direct strong {
  color: var(--navy-900);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.contact-form {
  display: grid;
  gap: 19px;
  padding: clamp(25px, 4vw, 38px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(5, 28, 51, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label:not(.consent) {
  display: grid;
  gap: 7px;
}

.contact-form label > span:first-child {
  color: var(--navy-900);
  font-size: 0.81rem;
  font-weight: 750;
}

.contact-form input:not([type="checkbox"]),
.contact-form textarea {
  width: 100%;
  color: var(--ink);
  background: #f9fbfc;
  border: 1px solid #d8e3eb;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form input:not([type="checkbox"]) {
  height: 50px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 135px;
  padding: 13px 14px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8c9bab;
}

.contact-form input:not([type="checkbox"]):focus,
.contact-form textarea:focus {
  background: var(--white);
  border-color: #4b91d2;
  box-shadow: 0 0 0 4px rgba(45, 120, 200, 0.1);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 0.76rem;
  cursor: pointer;
}

.consent input {
  width: 17px;
  height: 17px;
  flex: none;
  margin: 2px 0 0;
  accent-color: var(--green-600);
}

.submit-button {
  width: 100%;
  justify-content: space-between;
  padding-inline: 19px;
  border: 0;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.75;
  transform: none;
}

.form-note {
  margin: -5px 0 0;
  color: #738293;
  font-size: 0.73rem;
  text-align: center;
}

.hidden-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.site-footer {
  padding: 70px 0 24px;
  color: rgba(255, 255, 255, 0.65);
  background: #03101f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.55fr 0.85fr;
  gap: 60px;
  padding-bottom: 55px;
}

.footer-brand {
  margin-bottom: 18px;
}

.footer-grid > div:first-child p {
  max-width: 420px;
  margin: 0;
  font-size: 0.91rem;
}

.footer-nav,
.footer-contact {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  font-size: 0.86rem;
}

.footer-nav strong,
.footer-contact strong {
  margin-bottom: 7px;
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: #72dfa6;
}

.footer-contact a {
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.74rem;
}

.footer-bottom p {
  margin: 0;
}

.floating-whatsapp {
  position: fixed;
  z-index: 90;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(145deg, #24c56d, #10944f);
  border: 3px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  box-shadow: 0 12px 29px rgba(4, 93, 47, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp::before {
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(24, 167, 96, 0.24);
  border-radius: 50%;
  content: "";
  animation: pulse-ring 2.5s ease-out infinite;
}

.floating-whatsapp:hover {
  box-shadow: 0 16px 35px rgba(4, 93, 47, 0.46);
  transform: translateY(-4px) scale(1.04);
}

.floating-whatsapp svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

@keyframes pulse-ring {
  0% { opacity: 0.75; transform: scale(0.86); }
  70%, 100% { opacity: 0; transform: scale(1.2); }
}

.success-body {
  min-height: 100vh;
  color: var(--white);
  background: var(--navy-950);
}

.success-page {
  position: relative;
  display: grid;
  min-height: 100vh;
  padding: 32px 20px;
  place-items: center;
  background:
    radial-gradient(circle at 78% 23%, rgba(45, 120, 200, 0.24), transparent 30%),
    radial-gradient(circle at 17% 78%, rgba(24, 167, 96, 0.12), transparent 28%),
    linear-gradient(135deg, var(--navy-950), #0b2949);
  overflow: hidden;
}

.success-page::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 62px 62px;
  content: "";
  pointer-events: none;
}

.success-glow {
  position: absolute;
  top: -160px;
  right: -120px;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.014), 0 0 0 140px rgba(255, 255, 255, 0.01);
}

.success-card {
  position: relative;
  z-index: 2;
  width: min(100%, 680px);
  padding: clamp(32px, 6vw, 58px);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.success-brand {
  margin-bottom: clamp(42px, 7vw, 70px);
}

.success-icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin-bottom: 26px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(145deg, var(--green-500), var(--green-600));
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(18, 140, 77, 0.28);
}

.success-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.success-card h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.3rem, 7vw, 4.2rem);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.success-card > p:not(.section-kicker) {
  max-width: 550px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

@media (max-width: 520px) {
  .success-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

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

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

.services-grid .reveal:nth-child(2),
.projects-grid .reveal:nth-child(2),
.why-list .reveal:nth-child(2) { transition-delay: 0.08s; }

.services-grid .reveal:nth-child(3),
.projects-grid .reveal:nth-child(3),
.why-list .reveal:nth-child(3) { transition-delay: 0.16s; }

.services-grid .reveal:nth-child(4),
.projects-grid .reveal:nth-child(4),
.why-list .reveal:nth-child(4) { transition-delay: 0.24s; }

@media (max-width: 1080px) {
  .main-nav { gap: 20px; }
  .nav-cta { display: none; }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.85fr);
    gap: 45px;
  }

  .hero h1 { font-size: clamp(2.65rem, 5vw, 4.1rem); }
  .metric-speed { right: 0; }
  .metric-mobile { left: -5px; }

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

  .service-card {
    min-height: 290px;
  }

  .service-icon {
    margin-bottom: 42px;
  }
}

@media (max-width: 860px) {
  :root { --header-height: 70px; }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .menu-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: flex;
    height: calc(100dvh - var(--header-height));
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 0;
    padding: 30px 24px;
    background: rgba(4, 19, 38, 0.985);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0.25s ease;
  }

  .main-nav.open {
    transform: translateX(0);
    visibility: visible;
  }

  .main-nav a {
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.05rem;
  }

  .main-nav a::after { display: none; }

  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }

  .hero {
    min-height: auto;
    padding: 130px 0 38px;
  }

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

  .hero-copy {
    max-width: 700px;
  }

  .hero h1 { max-width: 700px; }

  .hero-showcase {
    width: min(100%, 620px);
    min-height: 515px;
    margin: 10px auto 0;
  }

  .metric-speed { right: 1%; }
  .metric-mobile { left: 2%; }

  .hero-footnote { margin-top: 15px; }

  .about-grid,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .about .section-heading {
    position: static;
  }

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

  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 19px;
  }

  .project-preview { height: 300px; }

  .project-link-card {
    grid-template-columns: 1fr;
  }

  .project-link-card .project-preview {
    min-height: 330px;
  }

  .why-intro > p:not(.section-kicker) { max-width: 630px; }
  .contact-copy > p:not(.section-kicker) { max-width: 650px; }

  .footer-grid {
    grid-template-columns: 1.5fr 0.65fr 1fr;
    gap: 35px;
  }
}

@media (max-width: 680px) {
  .hero {
    padding-top: 112px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.45rem);
    line-height: 1.02;
  }

  .hero-lead {
    margin-top: 21px;
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 27px;
  }

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

  .hero-trust {
    gap: 11px 20px;
    margin-top: 26px;
  }

  .hero-showcase {
    min-height: 430px;
    margin-top: 0;
  }

  .browser-card {
    width: 94%;
    border-width: 5px;
    border-radius: 16px;
  }

  .browser-content {
    min-height: 320px;
    padding: 15px;
  }

  .mock-hero { min-height: 160px; padding: 23px 19px; }
  .metric-card { min-width: 131px; padding: 9px 10px; }
  .metric-speed { top: 6px; right: -2px; }
  .metric-mobile { bottom: 3px; left: 0; }

  .orbit-one { width: 400px; height: 400px; }
  .orbit-two { width: 300px; height: 300px; }

  .hero-footnote {
    flex-wrap: wrap;
    gap: 9px 12px;
    font-size: 0.57rem;
  }

  .section { padding: 78px 0; }

  .section-heading h2,
  .why h2,
  .contact h2 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .section-heading-row { margin-bottom: 35px; }

  .services-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .prototype-gallery {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .service-card {
    min-height: auto;
    padding: 26px 24px 29px;
  }

  .service-icon { margin-bottom: 38px; }

  .project-preview { height: 270px; }

  .preview-pilgrimage,
  .preview-legal,
  .preview-startup {
    padding: 24px 18px 0;
  }

  .preview-legal,
  .preview-startup {
    padding-bottom: 24px;
  }

  .preview-browser { width: 96%; height: 250px; }
  .pilgrimage-hero { min-height: 137px; }
  .legal-ui, .startup-ui { width: 100%; height: 225px; }
  .legal-copy { padding: 22px; }
  .legal-seal { right: 18px; bottom: 25px; }
  .startup-main { padding: 15px 17px; }
  .startup-top { margin-bottom: 18px; }
  .startup-flow { margin-top: 19px; }
  .startup-stats { margin-top: 16px; }

  .project-info { padding: 24px; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}

@media (max-width: 430px) {
  .container { width: min(calc(100% - 26px), var(--container)); }

  .brand-name { font-size: 0.94rem; }
  .brand-mark { width: 37px; height: 37px; }

  .eyebrow { font-size: 0.69rem; letter-spacing: 0.1em; }

  .hero h1 { font-size: 2.38rem; }
  .hero-showcase { min-height: 370px; }
  .browser-top { height: 29px; }
  .browser-content { min-height: 274px; }
  .mock-hero { min-height: 137px; }
  .mock-cards > div { min-height: 57px; padding: 8px; }
  .mock-cards b { margin-bottom: 5px; }
  .metric-card { min-width: 120px; }
  .metric-icon { width: 31px; height: 31px; }
  .metric-card strong { font-size: 0.68rem; }

  .about-values article,
  .why-list article {
    grid-template-columns: 42px 1fr;
    gap: 11px;
  }

  .project-preview { height: 225px; }
  .preview-browser { height: 212px; }
  .pilgrimage-hero { min-height: 112px; padding: 16px 24px; }
  .pilgrimage-hero strong { font-size: 1rem; }
  .pilgrimage-bottom { padding: 9px 14px; }
  .pilgrimage-bottom i { height: 36px; }
  .legal-ui, .startup-ui { height: 185px; }
  .legal-nav { padding: 11px 16px; }
  .legal-copy { padding: 14px 16px; }
  .legal-copy strong { font-size: 1rem; }
  .legal-copy .legal-button { margin-top: 10px; }
  .legal-seal { right: 12px; bottom: 14px; width: 57px; height: 57px; }
  .startup-ui { grid-template-columns: 37px 1fr; }
  .startup-side { gap: 13px; padding-top: 12px; }
  .startup-main { padding: 11px 13px; }
  .startup-top { margin-bottom: 10px; }
  .startup-main > strong { font-size: 1rem; }
  .startup-flow { margin-top: 13px; }
  .startup-flow span { width: 27px; height: 27px; border-width: 5px; }
  .startup-flow b { width: 19px; }
  .startup-stats { display: none; }

  .contact-form { padding: 22px 17px; }
  .contact-direct strong { font-size: 0.82rem; }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid > div:first-child { grid-column: auto; }

  .floating-whatsapp {
    right: 15px;
    bottom: 15px;
    width: 54px;
    height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
