@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Syne:wght@500;600;700&display=swap");

:root {
  --bg: #edf3ff;
  --bg-soft: #e1ebff;
  --ink: #0b1324;
  --ink-soft: #26324c;
  --line: rgba(11, 19, 36, 0.18);
  --line-strong: rgba(11, 19, 36, 0.35);
  --panel: rgba(255, 255, 255, 0.68);
  --panel-strong: rgba(255, 255, 255, 0.86);
  --accent: #00ceff;
  --accent-deep: #3a62ff;
  --accent-vivid: #00a6ff;
  --success: #0c9a96;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 9px 24px rgba(20, 30, 54, 0.09);
  --shadow-hard: 0 20px 50px rgba(13, 23, 44, 0.2);
  --transition: 260ms cubic-bezier(0.22, 0.65, 0.2, 1);
}

@keyframes navEnter {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroPanelEnter {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes softFloat {
  0%,
  100% {
    transform: translateY(0) rotate(180deg);
  }
  50% {
    transform: translateY(-10px) rotate(180deg);
  }
}

@keyframes buttonShine {
  from {
    transform: translateX(-120%) skewX(-18deg);
  }
  to {
    transform: translateX(220%) skewX(-18deg);
  }
}

@keyframes revealSettle {
  0% {
    filter: blur(5px);
  }
  100% {
    filter: blur(0);
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0;
  position: relative;
  background:
    radial-gradient(circle at 5% 8%, rgba(0, 206, 255, 0.14), transparent 34%),
    radial-gradient(circle at 95% 22%, rgba(58, 98, 255, 0.12), transparent 40%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  overflow-x: hidden;
  overflow-y: auto;
}

body::before {
  content: none;
}

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

main {
  overflow-x: hidden;
}

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

img.is-fallback {
  width: 100%;
  min-height: 260px;
  border: 1px solid rgba(0, 166, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(0, 206, 255, 0.16), rgba(58, 98, 255, 0.1)),
    repeating-linear-gradient(
      90deg,
      rgba(19, 32, 58, 0.08) 0,
      rgba(19, 32, 58, 0.08) 1px,
      transparent 1px,
      transparent 26px
    );
}

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

.container {
  width: min(1240px, 100% - 2.7rem);
  margin-inline: auto;
}

.section {
  padding: 5.6rem 0;
  position: relative;
  overflow: visible;
  scroll-margin-top: 92px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.72;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition), backdrop-filter var(--transition);
  animation: navEnter 520ms ease both;
}

.site-header.scrolled,
.inner-header {
  background: rgba(237, 243, 255, 0.8);
  border-bottom-color: rgba(38, 50, 76, 0.22);
  backdrop-filter: none;
}

.nav {
  min-height: 4.85rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.logo {
  font-family: "Syne", sans-serif;
  font-size: 1.18rem;
  color: var(--ink);
  position: relative;
}

.logo::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.38rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  opacity: 0.42;
}

.home-page .site-header:not(.scrolled) .logo,
.home-page .site-header:not(.scrolled) .nav-links a,
.home-page .site-header:not(.scrolled) .nav-toggle {
  color: #ecf7ff;
}

.home-page .site-header:not(.scrolled) .nav-links.open a {
  color: #13203a;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.nav-links a {
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #13203a;
  border: 1px solid transparent;
  transition: transform var(--transition), border-color var(--transition), background var(--transition), color var(--transition);
}

.nav-links a:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 166, 255, 0.46);
  background: rgba(0, 206, 255, 0.11);
  color: #081225;
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 9px;
  border: 1px solid rgba(26, 39, 64, 0.28);
  background: rgba(255, 255, 255, 0.7);
  color: #13203a;
  align-items: center;
  justify-content: center;
}

.hero {
  position: relative;
  min-height: 95vh;
  display: grid;
  align-items: end;
  padding: 7rem 0 4.2rem;
}

.hero-media {
  position: absolute;
  inset: -5rem 0 0 0;
  background-image: url("https://images.unsplash.com/photo-1511818966892-d7d671e672a2?auto=format&fit=crop&w=1400&q=68");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(8, 15, 31, 0.86) 0%, rgba(8, 15, 31, 0.68) 47%, rgba(8, 15, 31, 0.3) 100%),
    radial-gradient(circle at 92% 8%, rgba(0, 206, 255, 0.22), transparent 28%);
}

.hero::before {
  content: none;
}

.hero::after {
  content: "NEXT-GEN WEB";
  position: absolute;
  right: 1.2rem;
  bottom: 2.5rem;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: rgba(182, 225, 255, 0.2);
  font-family: "Syne", sans-serif;
  font-size: clamp(1.8rem, 5vw, 4rem);
  line-height: 0.8;
  letter-spacing: 0;
  z-index: 1;
  animation: softFloat 7s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(840px, 100%);
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03)),
    rgba(11, 20, 38, 0.44);
  border: 1px solid rgba(184, 233, 255, 0.42);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.45rem 1.7rem;
  backdrop-filter: none;
  box-shadow: var(--shadow-hard);
  animation: heroPanelEnter 760ms cubic-bezier(0.2, 0.7, 0.2, 1) 120ms both;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-kicker {
  color: #d7efff;
  border: 1px solid rgba(146, 222, 255, 0.4);
  background: rgba(0, 206, 255, 0.12);
  padding: 0.3rem 0.67rem;
}

.hero h1 {
  margin-top: 1.05rem;
  color: #f6fbff;
  font-size: clamp(2.2rem, 4.5vw, 4.25rem);
  max-width: 16ch;
}

.hero-sub {
  margin-top: 1.2rem;
  color: rgba(221, 239, 255, 0.9);
  max-width: 60ch;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
}

.hero-actions {
  margin-top: 1.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.82rem;
}

.btn {
  appearance: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  padding: 0.78rem 1.2rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: transform var(--transition), filter var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.btn::after {
  content: "";
  position: absolute;
  inset: -30% auto -30% -40%;
  width: 36%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: translateX(-120%) skewX(-18deg);
  pointer-events: none;
}

.btn:hover::after {
  animation: buttonShine 720ms ease;
}

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

.btn-primary {
  color: #071124;
  background: linear-gradient(135deg, #6ce3ff 0%, #00c6ff 55%, #84cbff 100%);
  border: 1px solid rgba(205, 244, 255, 0.75);
  box-shadow: 0 10px 30px rgba(0, 198, 255, 0.28);
}

.btn-primary:hover {
  filter: brightness(1.04);
}

.btn-secondary {
  color: #ecf7ff;
  border: 1px solid rgba(221, 241, 255, 0.44);
  background: rgba(214, 240, 255, 0.12);
}

.btn-secondary:hover {
  background: rgba(214, 240, 255, 0.2);
}

.btn-outline {
  color: #0d1a35;
  border: 1px solid rgba(26, 42, 73, 0.4);
  background: rgba(255, 255, 255, 0.66);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.88);
}

.trust-list {
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.46rem;
}

.trust-list li {
  color: rgba(226, 241, 255, 0.92);
  font-size: 0.87rem;
}

.trust-list li::before {
  content: "◦";
  color: #8cdeff;
  margin-right: 0.5rem;
}

main > .section:nth-of-type(odd):not(.hero):not(.final-cta) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.2)),
    radial-gradient(circle at 90% 8%, rgba(0, 206, 255, 0.12), transparent 38%);
}

main > .section:nth-of-type(even):not(.hero):not(.final-cta) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(243, 249, 255, 0.45)),
    radial-gradient(circle at 0% 100%, rgba(58, 98, 255, 0.11), transparent 40%);
}

main > .section[data-word]::after {
  content: attr(data-word);
  position: absolute;
  right: 1rem;
  top: 1.2rem;
  font-family: "Syne", sans-serif;
  font-size: clamp(3.4rem, 12vw, 10rem);
  line-height: 0.82;
  color: rgba(20, 34, 61, 0.06);
  pointer-events: none;
}

.section-kicker {
  color: #0e3055;
  border: 1px solid rgba(44, 67, 104, 0.3);
  background: rgba(255, 255, 255, 0.7);
  padding: 0.34rem 0.66rem;
  margin-bottom: 0.92rem;
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 3.15rem);
  max-width: 18ch;
  color: #081225;
}

.section-lead {
  margin-top: 1rem;
  max-width: 68ch;
}

.section-note {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #2f4465;
}

.card-grid {
  margin-top: 2.2rem;
  display: grid;
  gap: 1rem;
}

.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card {
  position: relative;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.95) 0%, rgba(239, 247, 255, 0.72) 100%);
  padding: 1.2rem;
  box-shadow: var(--shadow-soft);
  min-height: 100%;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  padding: 1px;
  background: linear-gradient(120deg, rgba(0, 206, 255, 0.6), rgba(58, 98, 255, 0.35), rgba(255, 255, 255, 0.2));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.56;
}

.card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 12px 30px rgba(19, 35, 63, 0.14);
  border-color: rgba(0, 166, 255, 0.56);
}

.card:hover i {
  transform: translateY(-2px) rotate(-6deg);
}

.card i {
  color: #007eb4;
  width: 1.08rem;
  height: 1.08rem;
  transition: transform var(--transition);
}

.card h3 {
  margin-top: 0.75rem;
  font-size: 1.22rem;
  color: #09172f;
}

.card p {
  margin-top: 0.48rem;
}

.three-col .card:nth-child(3n + 2) {
  margin-top: 1.1rem;
}

.three-col .card:nth-child(3n + 3) {
  margin-top: -0.25rem;
}

.page-link-card {
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.text-link {
  margin-top: 0.2rem;
  font-size: 0.89rem;
  font-weight: 700;
  color: #005c89;
}

.text-link:hover {
  color: #003f63;
}

.split {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 2rem;
  align-items: start;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.92rem;
}

.stat {
  border-radius: var(--radius-md);
  border: 1px solid var(--line-strong);
  background: var(--panel-strong);
  padding: 1.1rem;
  box-shadow: var(--shadow-soft);
}

.stat strong {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 3vw, 2.85rem);
  color: #051225;
}

.stat span {
  display: block;
  margin-top: 0.18rem;
  color: #304463;
  font-size: 0.88rem;
}

.portfolio-grid {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.portfolio-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(34, 54, 86, 0.2);
  background: var(--panel-strong);
  box-shadow: 0 9px 24px rgba(20, 30, 54, 0.1);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 166, 255, 0.46);
  box-shadow: 0 14px 32px rgba(20, 36, 67, 0.16);
}

.portfolio-card:nth-child(2) {
  margin-top: 1.45rem;
}

.portfolio-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  transition: transform 500ms ease;
}

.portfolio-card:hover img {
  transform: scale(1.04);
}

.portfolio-content {
  padding: 1.05rem;
}

.portfolio-content h3 {
  font-size: 1.24rem;
}

.portfolio-content p {
  margin-top: 0.42rem;
}

.tags {
  margin-top: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.tags span {
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid rgba(43, 73, 108, 0.32);
  color: #184366;
  background: rgba(0, 206, 255, 0.14);
  padding: 0.2rem 0.58rem;
}

.timeline {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.86rem;
}

.timeline-step {
  border-radius: var(--radius-md);
  border: 1px solid rgba(33, 56, 92, 0.25);
  background: var(--panel-strong);
  box-shadow: var(--shadow-soft);
  padding: 1.05rem;
  min-height: 100%;
}

.timeline-step span {
  font-family: "Syne", sans-serif;
  font-size: 1.7rem;
  color: #0e6f99;
  line-height: 1;
}

.timeline-step h3 {
  margin-top: 0.45rem;
  font-size: 1.08rem;
}

.timeline-step p {
  margin-top: 0.3rem;
}

.quote-card h3 {
  margin-top: 1rem;
  font-size: 1.05rem;
}

.quote-card span {
  color: #375173;
  font-size: 0.84rem;
}

.pricing-grid .pricing-card {
  position: relative;
  overflow: hidden;
}

.pricing-card h3 {
  font-size: 1.38rem;
}

.pricing-card::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -26px;
  bottom: -54px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 206, 255, 0.28), rgba(0, 206, 255, 0));
  pointer-events: none;
}

.plan-type {
  margin-top: 0.22rem;
  font-size: 0.89rem;
}

.sur-devis {
  margin-top: 0.58rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #10233f;
}

.pricing-card ul {
  margin: 0.9rem 0 1.1rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.38rem;
}

.pricing-card li {
  color: #2d4261;
  font-size: 0.9rem;
}

.pricing-card li::before {
  content: "•";
  color: #0787ba;
  margin-right: 0.42rem;
}

.pricing-card .btn {
  width: 100%;
}

.pricing-card .btn-secondary {
  color: #0a2141;
  border-color: rgba(18, 50, 92, 0.35);
  background: rgba(0, 206, 255, 0.14);
}

.pricing-card .btn-secondary:hover {
  background: rgba(0, 206, 255, 0.22);
}

.featured {
  border-color: rgba(0, 166, 255, 0.5);
  box-shadow: 0 16px 36px rgba(20, 36, 67, 0.18);
}

.featured-badge {
  position: absolute;
  top: 0.92rem;
  right: 0.95rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #0a2c44;
  border: 1px solid rgba(0, 166, 255, 0.55);
  background: rgba(0, 206, 255, 0.26);
  border-radius: 999px;
  padding: 0.2rem 0.52rem;
}

.final-cta {
  background:
    linear-gradient(120deg, #071425 0%, #0a1f3c 48%, #0b2d56 100%);
  color: #f4fbff;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: -15% auto auto -8%;
  width: min(72vw, 860px);
  height: 240px;
  background:
    repeating-linear-gradient(
      -36deg,
      rgba(141, 230, 255, 0.2) 0,
      rgba(141, 230, 255, 0.2) 2px,
      transparent 2px,
      transparent 16px
    );
  opacity: 0.36;
}

.final-cta h2 {
  color: #f7fcff;
  max-width: 18ch;
}

.final-cta p {
  margin-top: 0.95rem;
  max-width: 68ch;
  color: rgba(225, 242, 255, 0.88);
}

.final-cta .btn-secondary {
  border-color: rgba(224, 244, 255, 0.45);
  background: rgba(226, 244, 255, 0.12);
}

.contact-wrap {
  align-items: stretch;
}

.contact-copy img,
.inner-hero-grid img {
  margin-top: 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(34, 54, 86, 0.26);
  box-shadow: 0 10px 26px rgba(20, 30, 54, 0.12);
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.contact-form {
  display: grid;
  gap: 0.5rem;
  align-content: start;
  border-radius: var(--radius-md);
  border: 1px solid rgba(34, 54, 86, 0.26);
  background: var(--panel-strong);
  box-shadow: 0 10px 26px rgba(20, 30, 54, 0.1);
  padding: 1.2rem;
}

.contact-form label {
  font-size: 0.83rem;
  font-weight: 700;
  color: #1a2d4b;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font: inherit;
  color: #0b1b33;
  border: 1px solid rgba(33, 53, 85, 0.34);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.84);
  padding: 0.66rem 0.7rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #0096cf;
  box-shadow: 0 0 0 3px rgba(0, 150, 207, 0.2);
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn {
  margin-top: 0.4rem;
  width: 100%;
}

.form-note {
  min-height: 1.4rem;
  margin-top: 0.2rem;
  font-size: 0.84rem;
}

.site-footer {
  border-top: 1px solid rgba(26, 41, 66, 0.23);
  background: rgba(255, 255, 255, 0.6);
  padding-top: 2.45rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer h3 {
  font-size: 1.02rem;
}

.site-footer p {
  margin-top: 0.75rem;
  max-width: 45ch;
}

.site-footer ul {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.34rem;
}

.footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid rgba(26, 41, 66, 0.23);
  padding: 1rem 0 1.5rem;
}

.footer-bottom p {
  font-size: 0.84rem;
}

.inner-hero {
  padding-top: 8.2rem;
  padding-bottom: 4.2rem;
}

.inner-hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: 1.4rem;
  align-items: center;
}

.inner-hero-grid h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  max-width: 17ch;
}

.alt-section {
  border-top: 1px solid rgba(26, 41, 66, 0.14);
  border-bottom: 1px solid rgba(26, 41, 66, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(236, 244, 255, 0.5)),
    radial-gradient(circle at 94% 24%, rgba(0, 206, 255, 0.13), transparent 37%);
}

.checklist {
  display: grid;
  gap: 0.55rem;
}

.checklist p {
  margin: 0;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(34, 54, 86, 0.25);
  background: rgba(255, 255, 255, 0.88);
  padding: 0.74rem 0.8rem;
  color: #243a59;
}

.checklist p::before {
  content: "•";
  color: #008ec2;
  margin-right: 0.5rem;
}

.step-list {
  margin-top: 2rem;
  display: grid;
  gap: 0.72rem;
}

.step-item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(34, 54, 86, 0.25);
  background: rgba(255, 255, 255, 0.88);
  padding: 1rem;
  box-shadow: 0 9px 22px rgba(20, 30, 54, 0.1);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}

.step-item span {
  font-family: "Syne", sans-serif;
  color: #0c739f;
  font-size: 1.8rem;
  line-height: 1;
}

.step-item h3 {
  font-size: 1.2rem;
}

.step-item p {
  margin-top: 0.28rem;
}

.faq-list {
  margin-top: 2rem;
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(34, 54, 86, 0.25);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 9px 22px rgba(20, 30, 54, 0.1);
  padding: 1rem;
}

.faq-item h3 {
  font-size: 1.18rem;
}

.faq-item p {
  margin-top: 0.42rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  animation: revealSettle 560ms ease both;
}

.card-grid .reveal:nth-child(2),
.portfolio-grid .reveal:nth-child(2),
.timeline .reveal:nth-child(2) {
  transition-delay: 80ms;
}

.card-grid .reveal:nth-child(3),
.portfolio-grid .reveal:nth-child(3),
.timeline .reveal:nth-child(3) {
  transition-delay: 150ms;
}

.card-grid .reveal:nth-child(4),
.timeline .reveal:nth-child(4) {
  transition-delay: 220ms;
}

.card-grid .reveal:nth-child(5),
.timeline .reveal:nth-child(5) {
  transition-delay: 290ms;
}

@media (max-width: 1160px) {
  .three-col,
  .portfolio-grid,
  .timeline,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-step:last-child {
    grid-column: 1 / -1;
  }

  .portfolio-card:nth-child(2),
  .three-col .card:nth-child(3n + 2),
  .three-col .card:nth-child(3n + 3) {
    margin-top: 0;
  }

  main > .section[data-word]::after {
    font-size: clamp(2.8rem, 11vw, 7rem);
  }
}

@media (max-width: 900px) {
  .nav {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: inline-flex;
    order: 3;
  }

  .nav .btn {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 1.2rem;
    right: 1.2rem;
    display: grid;
    gap: 0.38rem;
    justify-content: start;
    background: rgba(237, 243, 255, 0.96);
    border: 1px solid rgba(33, 53, 85, 0.25);
    border-radius: var(--radius-sm);
    padding: 0.78rem;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
  }

  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .hero {
    min-height: 88vh;
    padding-top: 6.4rem;
  }

  .hero::after {
    right: 0.45rem;
    font-size: clamp(1.45rem, 8vw, 2.8rem);
  }

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

@media (max-width: 760px) {
  .section {
    padding: 4.45rem 0;
  }

  .split,
  .three-col,
  .two-col,
  .portfolio-grid,
  .timeline,
  .stats-grid,
  .footer-grid,
  .inner-hero-grid {
    grid-template-columns: 1fr;
  }

  .timeline-step:last-child {
    grid-column: auto;
  }

  h2 {
    max-width: 100%;
  }

  .hero-content {
    padding: 1.3rem 1rem 1.35rem;
  }

  .hero h1 {
    max-width: 14ch;
  }

  .step-item {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .hero::before {
    display: none;
  }

  main > .section[data-word]::after {
    right: 0.45rem;
    top: 0.9rem;
    font-size: clamp(2rem, 14vw, 4rem);
  }
}

/* De-uniform layout pass, kept from the previous version */
#problem .card-grid {
  grid-template-columns: 1.12fr 0.88fr 1fr;
  align-items: start;
}

#problem .card:nth-child(1) {
  clip-path: polygon(0 0, 100% 0, 100% 85%, 90% 100%, 0 100%);
}

#problem .card:nth-child(2) {
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%, 0 14%);
  margin-top: 1.4rem;
}

#problem .card:nth-child(3) {
  clip-path: polygon(0 0, 92% 0, 100% 12%, 100% 100%, 0 100%);
  margin-top: -0.2rem;
}

#services .card-grid {
  align-items: start;
}

#services .card:nth-child(1),
#services .card:nth-child(4) {
  clip-path: polygon(0 0, 100% 0, 100% 88%, 93% 100%, 0 100%);
}

#services .card:nth-child(2),
#services .card:nth-child(5) {
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%, 0 16%);
  margin-top: 1.05rem;
}

#services .card:nth-child(3),
#services .card:nth-child(6) {
  clip-path: polygon(0 0, 92% 0, 100% 12%, 100% 100%, 0 100%);
  margin-top: -0.1rem;
}

#service-guide .card-grid {
  grid-template-columns: 1fr 1.15fr 0.85fr;
}

#service-guide .card:nth-child(2) {
  transform: translateY(1rem) scale(1.01);
}

#experience .split {
  grid-template-columns: 0.9fr 1.1fr;
}

#experience .stats-grid {
  grid-template-columns: 1fr 1fr;
}

#experience .stat:nth-child(1) {
  grid-column: 1 / 3;
}

#experience .stat:nth-child(2) {
  margin-top: 0.3rem;
}

#experience .stat:nth-child(3) {
  margin-top: -0.45rem;
}

#why-us .card-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

#why-us .card:nth-child(1) {
  grid-row: span 2;
  display: grid;
  align-content: center;
  padding-block: 1.5rem;
}

#why-us .card:nth-child(2) {
  clip-path: polygon(0 0, 100% 0, 100% 84%, 90% 100%, 0 100%);
}

#why-us .card:nth-child(3) {
  clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%, 0 14%);
}

#why-us .card:nth-child(4) {
  grid-column: 1 / 3;
  margin-top: 0.2rem;
}

#portfolio .portfolio-grid {
  grid-template-columns: 1.08fr 0.92fr 1fr;
}

#portfolio .portfolio-card:nth-child(1) {
  clip-path: polygon(0 0, 100% 0, 100% 95%, 94% 100%, 0 100%);
}

#portfolio .portfolio-card:nth-child(2) {
  margin-top: 2.1rem;
  clip-path: polygon(7% 0, 100% 0, 100% 100%, 0 100%, 0 11%);
}

#portfolio .portfolio-card:nth-child(3) {
  margin-top: -0.35rem;
  clip-path: polygon(0 0, 90% 0, 100% 11%, 100% 100%, 0 100%);
}

#portfolio .portfolio-card:nth-child(2) img,
#portfolio .portfolio-card:nth-child(3) img {
  aspect-ratio: 4 / 3;
}

#process .timeline {
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 0.95rem;
}

#process .timeline-step:nth-child(1) {
  grid-column: 1 / 3;
}

#process .timeline-step:nth-child(2) {
  grid-column: 3 / 6;
}

#process .timeline-step:nth-child(3) {
  grid-column: 6 / 8;
}

#process .timeline-step:nth-child(4) {
  grid-column: 8 / 11;
}

#process .timeline-step:nth-child(5) {
  grid-column: 2 / 10;
}

#testimonials .card-grid {
  grid-template-columns: 1fr 1fr 1fr;
}

#testimonials .quote-card:nth-child(2) {
  transform: translateY(1rem);
}

#testimonials .quote-card:nth-child(3) {
  transform: translateY(-0.3rem);
}

#packages .pricing-grid {
  grid-template-columns: 0.92fr 1.16fr 0.92fr;
}

#packages .pricing-card {
  min-height: 100%;
}

#packages .pricing-card.featured {
  transform: translateY(-0.6rem) scale(1.01);
}

#contact .split {
  grid-template-columns: 1.18fr 0.82fr;
}

#contact .contact-copy img {
  clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
}

#contact .contact-form {
  clip-path: polygon(7% 0, 100% 0, 100% 100%, 0 100%, 0 12%);
}

body:not(.home-page) .section:nth-of-type(odd) .card:nth-child(odd) {
  clip-path: polygon(0 0, 95% 0, 100% 10%, 100% 100%, 0 100%);
}

body:not(.home-page) .section:nth-of-type(even) .card:nth-child(even) {
  clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%, 0 12%);
}

body:not(.home-page) .step-item:nth-child(even),
body:not(.home-page) .faq-item:nth-child(even) {
  transform: translateX(0.9rem);
}

body:not(.home-page) .step-item:nth-child(odd),
body:not(.home-page) .faq-item:nth-child(odd) {
  transform: translateX(-0.45rem);
}

@media (max-width: 1160px) {
  #problem .card-grid,
  #service-guide .card-grid,
  #portfolio .portfolio-grid,
  #packages .pricing-grid,
  #why-us .card-grid,
  #contact .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #why-us .card:nth-child(1),
  #why-us .card:nth-child(4),
  #experience .stat:nth-child(1),
  #process .timeline-step:nth-child(5) {
    grid-column: 1 / -1;
  }

  #process .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #process .timeline-step:nth-child(1),
  #process .timeline-step:nth-child(2),
  #process .timeline-step:nth-child(3),
  #process .timeline-step:nth-child(4),
  #process .timeline-step:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  #problem .card-grid,
  #services .card-grid,
  #service-guide .card-grid,
  #why-us .card-grid,
  #portfolio .portfolio-grid,
  #testimonials .card-grid,
  #packages .pricing-grid,
  #contact .split,
  #process .timeline {
    grid-template-columns: 1fr;
  }

  #problem .card:nth-child(2),
  #services .card:nth-child(2),
  #services .card:nth-child(5),
  #portfolio .portfolio-card:nth-child(2),
  #testimonials .quote-card:nth-child(2),
  #packages .pricing-card.featured,
  body:not(.home-page) .step-item:nth-child(even),
  body:not(.home-page) .faq-item:nth-child(even),
  body:not(.home-page) .step-item:nth-child(odd),
  body:not(.home-page) .faq-item:nth-child(odd) {
    margin-top: 0;
    transform: none;
  }

  #problem .card,
  #services .card,
  #portfolio .portfolio-card,
  #contact .contact-form,
  body:not(.home-page) .section .card {
    clip-path: none;
  }
}

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