/* ==========================================================================
   Qatalytic Digital Dental Lab — styles.css
   Premium healthcare / dental manufacturing UI
   Vanilla CSS · Variables · Grid · Flexbox · Responsive
   ========================================================================== */

/* Fonts loaded via <link> in HTML (preconnect + stylesheet) for better LCP */

/* --------------------------------------------------------------------------
   2. CSS Variables
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --brand-blue: #1e4f9c;
  --brand-blue-deep: #123a78;
  --brand-navy: #0b1f3a;
  --brand-cyan: #3db8e8;
  --brand-cyan-soft: #7dd3f0;

  /* Neutrals */
  --ink: #0e1620;
  --ink-muted: #5c6773;
  --line: #d7dde5;
  --surface: #f3f6f9;
  --surface-elevated: #ffffff;
  --white: #ffffff;

  /* Semantic */
  --focus: rgba(61, 184, 232, 0.42);
  --error: #a33b3b;
  --success: #1f6b4a;

  /* Typography */
  --font-display: "Fraunces", "Times New Roman", Georgia, serif;
  --font-sans: "Outfit", "Segoe UI", system-ui, sans-serif;

  --text-xs: 0.6875rem;
  --text-sm: 0.875rem;
  --text-base: 1.0625rem;
  --text-md: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 2.5rem;
  --text-4xl: clamp(2.35rem, 4.2vw, 3.65rem);

  --leading-tight: 1.12;
  --leading-snug: 1.32;
  --leading-normal: 1.65;
  --tracking-label: 0.12em;
  --tracking-tight: -0.03em;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6.5rem;
  --space-10: 8rem;

  --section-y: clamp(5rem, 9vw, 8rem);
  --container: 72.5rem;
  --container-narrow: 42rem;
  --gutter: clamp(1.25rem, 4vw, 3.25rem);

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 7px;
  --radius-md: 12px;
  --radius-lg: 18px;

  /* Shadows (navy-tinted) */
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.05), 0 1px 1px rgba(11, 31, 58, 0.03);
  --shadow-md: 0 10px 28px rgba(11, 31, 58, 0.09), 0 2px 6px rgba(11, 31, 58, 0.04);
  --shadow-lg: 0 20px 48px rgba(11, 31, 58, 0.14), 0 4px 12px rgba(11, 31, 58, 0.06);
  --shadow-glow: 0 8px 28px rgba(30, 79, 156, 0.28);
  --shadow-header: 0 1px 0 rgba(213, 220, 227, 0.85), 0 10px 30px rgba(11, 31, 58, 0.07);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --duration-fast: 160ms;
  --duration: 280ms;
  --duration-slow: 700ms;
  --duration-reveal: 800ms;

  /* Layout */
  --header-height: 4.75rem;
  --z-header: 100;
  --z-loader: 300;
  --z-skip: 400;
}

/* --------------------------------------------------------------------------
   3. Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: var(--leading-normal);
  color: var(--ink);
  background-color: var(--surface);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
}

body.is-loading {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: color var(--duration) var(--ease-out);
}

a:hover {
  color: var(--brand-blue-deep);
}

:focus-visible {
  outline: 2px solid var(--brand-cyan);
  outline-offset: 3px;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

address {
  font-style: normal;
}

table {
  border-collapse: collapse;
  width: 100%;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--leading-tight);
  color: var(--ink);
  letter-spacing: var(--tracking-tight);
  text-wrap: balance;
  font-optical-sizing: auto;
}

h1 {
  font-size: var(--text-4xl);
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.35rem);
}

h3 {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: var(--leading-snug);
}

p {
  max-width: 62ch;
}

p + p {
  margin-top: var(--space-4);
}

/* --------------------------------------------------------------------------
   4. Utilities
   -------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0;
  left: var(--gutter);
  z-index: var(--z-skip);
  padding: var(--space-3) var(--space-4);
  background: var(--brand-navy);
  color: var(--white);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transform: translateY(-120%);
  transition: transform var(--duration) var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   5. Layout
   -------------------------------------------------------------------------- */
.section {
  padding-block: var(--section-y);
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}

.hero,
.trust-bar,
.metrics {
  content-visibility: visible;
}

.section__inner {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.section__inner--narrow {
  width: min(100% - (var(--gutter) * 2), var(--container-narrow));
}

.section__inner--split {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}

@media (min-width: 900px) {
  .section__inner--split {
    grid-template-columns: 1fr 1.15fr;
    gap: var(--space-8);
  }

  .section--materials .section__inner--split {
    grid-template-columns: 0.9fr 1.25fr;
    align-items: start;
  }

  .section--contact .section__inner--split {
    grid-template-columns: 0.9fr 1.2fr;
    align-items: stretch;
  }
}

.section__header {
  max-width: 40rem;
  margin-bottom: var(--space-7);
}

.section__header--inverse h2,
.section__header--inverse .section__intro {
  color: var(--white);
}

.section__header--inverse .section__label {
  color: var(--brand-cyan-soft);
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--brand-blue);
}

.section__label::before {
  content: "";
  display: block;
  width: 1.25rem;
  height: 1px;
  background: linear-gradient(90deg, var(--brand-cyan), var(--brand-blue));
}

.section__intro {
  margin-top: var(--space-4);
  color: var(--ink-muted);
  font-size: var(--text-md);
}

.section__copy p {
  color: var(--ink-muted);
}

.section__copy h2 {
  margin-bottom: var(--space-5);
}

.section__cta {
  margin-top: var(--space-7);
  text-align: center;
}

.section__figure {
  margin: 0;
}

.section__figure-media {
  min-height: clamp(20rem, 36vw, 28rem);
  border-radius: var(--radius-lg);
  background-color: var(--brand-navy);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transition: transform var(--duration-slow) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}

.section__figure-media img {
  width: 100%;
  height: 100%;
  min-height: clamp(20rem, 36vw, 28rem);
  object-fit: cover;
  object-position: center;
  display: block;
}

.section__figure-media::before {
  content: none;
}

.section__figure-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(11, 31, 58, 0.18), rgba(30, 79, 156, 0.12)),
    linear-gradient(180deg, transparent 55%, rgba(11, 31, 58, 0.22));
  pointer-events: none;
}

@media (hover: hover) {
  .section--about:hover .section__figure-media {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
  }
}

/* --------------------------------------------------------------------------
   6. Buttons & Links
   -------------------------------------------------------------------------- */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 2.875rem;
  padding: 0.8rem 1.65rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  transition:
    background-color var(--duration) var(--ease-out),
    color var(--duration) var(--ease-out),
    border-color var(--duration) var(--ease-out),
    box-shadow var(--duration) var(--ease-out),
    transform var(--duration-fast) var(--ease-out);
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.18) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.55s var(--ease-out);
  z-index: -1;
  pointer-events: none;
}

.button:hover::before {
  transform: translateX(120%);
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button--primary {
  background-color: var(--brand-blue);
  color: var(--white);
  box-shadow: var(--shadow-sm), 0 0 0 0 rgba(30, 79, 156, 0);
}

.button--primary:hover {
  background-color: var(--brand-blue-deep);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}

.button--secondary {
  background-color: transparent;
  color: var(--brand-blue);
  border-color: rgba(30, 79, 156, 0.55);
}

.button--secondary:hover {
  background-color: rgba(30, 79, 156, 0.07);
  color: var(--brand-blue-deep);
  border-color: var(--brand-blue-deep);
}

.button--ghost {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.button--ghost:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.button--inverse {
  background-color: var(--white);
  color: var(--brand-navy);
  box-shadow: var(--shadow-sm);
}

.button--inverse:hover {
  background-color: var(--white);
  color: var(--brand-navy);
  box-shadow: var(--shadow-md);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  margin-top: var(--space-5);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--brand-blue);
}

.text-link:hover {
  color: var(--brand-blue-deep);
}

.text-link span {
  transition: transform var(--duration) var(--ease-out);
}

.text-link:hover span {
  transform: translateX(4px);
  display: inline-block;
}

.text-link--inverse {
  color: rgba(255, 255, 255, 0.85);
}

.text-link--inverse:hover {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   7. Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition:
    box-shadow var(--duration) var(--ease-out),
    border-color var(--duration) var(--ease-out);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-header);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: min(100% - (var(--gutter) * 2), var(--container));
  height: 100%;
  margin-inline: auto;
}

.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.site-logo img {
  width: auto;
  height: 2.75rem;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--radius-sm);
}

.nav-toggle:hover {
  background-color: var(--surface);
}

.nav-toggle__bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  background-color: var(--brand-navy);
  border-radius: 1px;
  transition:
    transform var(--duration) var(--ease-out),
    opacity var(--duration) var(--ease-out);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.primary-nav__list a {
  position: relative;
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-muted);
}

.primary-nav__list a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.15rem;
  width: 0;
  height: 2px;
  background-color: var(--brand-blue);
  transition:
    width var(--duration) var(--ease-out),
    left var(--duration) var(--ease-out);
}

.primary-nav__list a:hover,
.primary-nav__list a:focus-visible {
  color: var(--ink);
}

.primary-nav__list a:hover::after,
.primary-nav__list a:focus-visible::after {
  left: 0.75rem;
  width: calc(100% - 1.5rem);
}

@media (max-width: 999px) {
  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-4);
    padding: var(--space-5) var(--gutter) var(--space-6);
    background-color: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-0.5rem);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity var(--duration) var(--ease-out),
      transform var(--duration) var(--ease-out),
      visibility var(--duration);
  }

  .primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .primary-nav__list a {
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--line);
    font-size: var(--text-base);
  }

  .primary-nav__list a::after {
    display: none;
  }

  .primary-nav .button {
    width: 100%;
    margin-top: var(--space-2);
  }
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100vh - var(--header-height));
  min-height: max(42rem, calc(100svh - var(--header-height)));
  overflow: hidden;
  color: var(--white);
  background-color: var(--brand-navy);
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform: scale(1.02);
  animation: hero-media-settle var(--duration-slow) var(--ease-out) both;
  background-color: var(--brand-navy);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(11, 31, 58, 0.88) 0%, rgba(11, 31, 58, 0.72) 40%, rgba(11, 31, 58, 0.42) 70%, rgba(18, 58, 120, 0.28) 100%),
    linear-gradient(180deg, rgba(11, 31, 58, 0.25) 0%, transparent 35%, rgba(11, 31, 58, 0.35) 100%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - (var(--gutter) * 2), var(--container));
  max-width: 40rem;
  margin-inline: auto;
  padding-block: var(--space-8);
  margin-left: max(var(--gutter), calc((100% - var(--container)) / 2));
  animation: hero-content-enter var(--duration-slow) var(--ease-out) both;
}

.hero__eyebrow {
  margin-bottom: var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--brand-cyan-soft);
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-5);
  text-wrap: balance;
}

.hero__lead {
  color: rgba(255, 255, 255, 0.86);
  font-size: var(--text-md);
  margin-bottom: var(--space-6);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
}

.hero__tagline em {
  font-style: italic;
  font-weight: 500;
}

@keyframes hero-content-enter {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-media-settle {
  from {
    opacity: 0.6;
    transform: scale(1.06);
  }
  to {
    opacity: 1;
    transform: scale(1.02);
  }
}

/* --------------------------------------------------------------------------
   9. Trust Bar
   -------------------------------------------------------------------------- */
.trust-bar {
  background-color: var(--surface);
  border-block: 1px solid var(--line);
  padding-block: var(--space-5);
}

.trust-bar__inner {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.trust-bar__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-4) var(--space-7);
}

.trust-bar__list li {
  position: relative;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
  transition: color var(--duration) var(--ease-out);
}

.trust-bar__list li:hover {
  color: var(--brand-blue);
}

@media (min-width: 768px) {
  .trust-bar__list li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: calc(var(--space-7) / -2);
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--line);
    transform: translate(50%, -50%);
  }
}

/* --------------------------------------------------------------------------
   10. About
   -------------------------------------------------------------------------- */
.section--about {
  background-color: var(--white);
}

.section--about .text-link {
  margin-top: var(--space-5);
}

/* --------------------------------------------------------------------------
   11. Services
   -------------------------------------------------------------------------- */
.section--services {
  background-color: var(--surface);
}

.service-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  position: relative;
  background-color: var(--surface-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-6) calc(var(--space-6) + 2px);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition:
    border-color var(--duration) var(--ease-out),
    box-shadow var(--duration) var(--ease-out),
    transform var(--duration) var(--ease-out);
}

.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--brand-cyan), var(--brand-blue));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--duration) var(--ease-out);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration) var(--ease-out);
}

.service-card:hover {
  border-color: rgba(30, 79, 156, 0.28);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.service-card:hover::before,
.service-card:hover::after {
  transform: scale(1);
}

.service-card__title {
  margin-bottom: var(--space-3);
  color: var(--ink);
  transition: color var(--duration) var(--ease-out);
}

.service-card:hover .service-card__title {
  color: var(--brand-blue-deep);
}

.service-card p {
  color: var(--ink-muted);
  font-size: var(--text-sm);
  max-width: none;
}

/* --------------------------------------------------------------------------
   12. Materials
   -------------------------------------------------------------------------- */
.section--materials {
  background-color: var(--white);
}

.materials-panel {
  background-color: var(--surface-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.materials-table th,
.materials-table td {
  padding: 1.15rem 1.25rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.materials-table thead th {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--ink-muted);
  background-color: var(--surface);
}

.materials-table tbody th {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
  width: 38%;
  border-left: 2px solid transparent;
  transition:
    background-color var(--duration) var(--ease-out),
    border-color var(--duration) var(--ease-out);
}

.materials-table tbody td {
  font-size: var(--text-sm);
  color: var(--ink-muted);
  transition: background-color var(--duration) var(--ease-out);
}

.materials-table tbody tr:last-child th,
.materials-table tbody tr:last-child td {
  border-bottom: none;
}

.materials-table tbody tr:hover th,
.materials-table tbody tr:hover td {
  background-color: var(--surface);
}

.materials-table tbody tr:hover th {
  border-left-color: var(--brand-blue);
}

/* --------------------------------------------------------------------------
   13. Workflow
   -------------------------------------------------------------------------- */
.section--workflow {
  background-color: var(--surface);
}

.workflow-steps {
  display: grid;
  gap: var(--space-5);
  counter-reset: none;
}

@media (min-width: 768px) {
  .workflow-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
}

@media (min-width: 1100px) {
  .workflow-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.workflow-steps__item {
  position: relative;
  padding: 0;
  border: none;
  background: transparent;
  list-style: none;
  perspective: 1400px;
  -webkit-perspective: 1400px;
}

/* Parent transform from .reveal flattens 3D — keep opacity only */
.workflow-steps__item.reveal,
.workflow-steps__item.reveal.is-visible {
  transform: none;
}

.workflow-steps__flip {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  min-height: 18rem;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 0.7s var(--ease-out);
  border-radius: var(--radius-md);
}

.workflow-steps__item:hover .workflow-steps__flip,
.workflow-steps__item:focus-within .workflow-steps__flip,
.workflow-steps__item.is-flipped .workflow-steps__flip {
  transform: rotateY(180deg);
}

.workflow-steps__face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.workflow-steps__face--front {
  background: var(--white);
  transform: rotateY(0deg);
  z-index: 2;
}

.workflow-steps__face--back {
  background: var(--white);
  transform: rotateY(180deg);
  z-index: 1;
  padding: var(--space-6);
  justify-content: center;
  gap: var(--space-4);
  border-top: 3px solid var(--brand-blue);
}

.workflow-steps__media {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  background: var(--surface);
}

.workflow-steps__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.workflow-steps__title {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin: 0;
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-sans);
  font-size: var(--text-md);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: var(--leading-snug);
  color: var(--ink);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.workflow-steps__number {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brand-blue);
  letter-spacing: 0.04em;
}

.workflow-steps__face--back .workflow-steps__number {
  display: block;
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 1.85rem);
  color: var(--brand-cyan);
}

.workflow-steps__face--back h3,
.workflow-steps__back-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: var(--leading-snug);
}

.workflow-steps__face--back p:not(.workflow-steps__back-title) {
  margin: 0;
  color: var(--ink-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  max-width: none;
}

@media (hover: none) {
  .workflow-steps__item {
    cursor: pointer;
  }
}

@media (min-width: 768px) {
  .workflow-steps__flip {
    aspect-ratio: 4 / 5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .workflow-steps__flip {
    aspect-ratio: auto;
    min-height: 0;
    transform: none !important;
    transition: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
  }

  .workflow-steps__face {
    position: relative;
    inset: auto;
    transform: none !important;
    backface-visibility: visible;
  }

  .workflow-steps__face--front .workflow-steps__media {
    aspect-ratio: 4 / 3;
  }
}

/* --------------------------------------------------------------------------
   14. Why Choose Us
   -------------------------------------------------------------------------- */
.section--why {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(61, 184, 232, 0.12), transparent 45%),
    linear-gradient(180deg, var(--brand-navy) 0%, #081628 100%);
  color: var(--white);
}

.why-grid {
  display: grid;
  gap: var(--space-6) var(--space-7);
}

@media (min-width: 700px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-grid li {
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.why-grid h3 {
  margin-bottom: var(--space-3);
  color: var(--white);
  transition: color var(--duration) var(--ease-out);
}

.why-grid p {
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--text-sm);
  max-width: none;
}

.why-grid li:hover h3 {
  color: var(--brand-cyan-soft);
}

.section--why .section__cta {
  text-align: left;
}

/* --------------------------------------------------------------------------
   15. FAQ
   -------------------------------------------------------------------------- */
.section--faq {
  background-color: var(--surface);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0 var(--space-5);
  box-shadow: var(--shadow-sm);
  transition:
    border-color var(--duration) var(--ease-out),
    box-shadow var(--duration) var(--ease-out);
}

.faq-item[open] {
  border-color: rgba(30, 79, 156, 0.35);
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 2rem 1.15rem 0;
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--ink);
  transition: color var(--duration) var(--ease-out);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--ink-muted);
  border-bottom: 2px solid var(--ink-muted);
  transform: translateY(-70%) rotate(45deg);
  transition:
    transform var(--duration) var(--ease-out),
    border-color var(--duration) var(--ease-out);
}

.faq-item[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
  border-color: var(--brand-blue);
}

.faq-item summary:hover {
  color: var(--brand-blue);
}

.faq-item p {
  padding-bottom: var(--space-5);
  color: var(--ink-muted);
  font-size: var(--text-sm);
  max-width: none;
}

/* --------------------------------------------------------------------------
   App promo (Google Play)
   -------------------------------------------------------------------------- */
.section--app {
  background-color: var(--white);
  padding-block: clamp(3.5rem, 6vw, 5rem);
}

.section__inner--app {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.app-promo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(30, 79, 156, 0.06), rgba(61, 184, 232, 0.08)),
    var(--surface);
  box-shadow: var(--shadow-sm);
}

.app-promo__copy {
  flex: 1 1 18rem;
  max-width: 40rem;
}

.app-promo__copy .section__label {
  margin-bottom: var(--space-3);
}

.app-promo__copy h2 {
  margin-bottom: var(--space-3);
}

.app-promo__copy p {
  color: var(--ink-muted);
  max-width: 48ch;
}

.app-promo__badge {
  display: inline-flex;
  flex-shrink: 0;
  line-height: 0;
  transition: transform var(--duration) var(--ease-out), opacity var(--duration) var(--ease-out);
}

.app-promo__badge:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.app-promo__badge img {
  width: 10.5rem;
  height: auto;
  display: block;
}

.app-promo__badge--compact img {
  width: 9.25rem;
}

.footer-app-link {
  display: inline-flex;
  margin-top: var(--space-2);
}

.footer-app-link img {
  width: 8.25rem;
  height: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   16. CTA Band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 5rem);
  background:
    linear-gradient(115deg, var(--brand-blue-deep) 0%, var(--brand-blue) 55%, #1a5fad 100%);
  color: var(--white);
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(61, 184, 232, 0.18) 100%);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  width: min(100% - (var(--gutter) * 2), 48rem);
  margin-inline: auto;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: var(--space-4);
  text-wrap: balance;
}

.cta-band p {
  margin-inline: auto;
  margin-bottom: var(--space-6);
  color: rgba(255, 255, 255, 0.85);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-4) var(--space-5);
}

/* --------------------------------------------------------------------------
   17. Contact & Map
   -------------------------------------------------------------------------- */
.section--contact {
  background-color: var(--white);
}

.contact-details {
  margin-top: var(--space-6);
  display: grid;
  gap: var(--space-5);
}

.contact-details p {
  max-width: none;
  color: var(--ink-muted);
  line-height: var(--leading-normal);
}

.contact-details a {
  font-weight: 500;
  word-break: break-word;
}

.contact-details__label {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--brand-blue);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.contact-map {
  position: relative;
  min-height: 22rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: var(--surface);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 22rem;
  border: 0;
}

@media (min-width: 900px) {
  .contact-map,
  .contact-map iframe {
    min-height: 100%;
    height: 100%;
  }
}

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--brand-navy);
  color: rgba(255, 255, 255, 0.72);
  padding-top: var(--space-8);
}

.site-footer__inner {
  display: grid;
  gap: var(--space-7);
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
  padding-bottom: var(--space-7);
}

@media (min-width: 700px) {
  .site-footer__inner {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.site-footer__brand > a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  color: var(--white);
}

.site-footer__brand > a:hover {
  color: var(--brand-cyan-soft);
}

.site-footer__brand img {
  width: 2.75rem;
  height: auto;
}

.site-footer__name {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--white);
}

.site-footer__tagline {
  margin-bottom: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
}

.site-footer__brand p:last-child {
  font-size: var(--text-sm);
  max-width: 28ch;
}

.site-footer__heading {
  margin-bottom: var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--white);
}

.site-footer ul {
  display: grid;
  gap: var(--space-3);
}

.site-footer a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.82);
}

.site-footer a:hover {
  color: var(--white);
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: var(--space-5);
}

.site-footer__bottom p {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
  max-width: none;
}

/* --------------------------------------------------------------------------
   19. Animations
   -------------------------------------------------------------------------- */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(0.85rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition:
    opacity var(--duration-reveal) var(--ease-out),
    transform var(--duration-reveal) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card.reveal:nth-child(1) { --reveal-delay: 0ms; }
.service-card.reveal:nth-child(2) { --reveal-delay: 70ms; }
.service-card.reveal:nth-child(3) { --reveal-delay: 140ms; }
.service-card.reveal:nth-child(4) { --reveal-delay: 210ms; }

.workflow-steps__item.reveal:nth-child(1) { --reveal-delay: 0ms; }
.workflow-steps__item.reveal:nth-child(2) { --reveal-delay: 60ms; }
.workflow-steps__item.reveal:nth-child(3) { --reveal-delay: 120ms; }
.workflow-steps__item.reveal:nth-child(4) { --reveal-delay: 180ms; }
.workflow-steps__item.reveal:nth-child(5) { --reveal-delay: 240ms; }
.workflow-steps__item.reveal:nth-child(6) { --reveal-delay: 300ms; }

.metric.reveal:nth-child(1) { --reveal-delay: 0ms; }
.metric.reveal:nth-child(2) { --reveal-delay: 90ms; }
.metric.reveal:nth-child(3) { --reveal-delay: 180ms; }
.metric.reveal:nth-child(4) { --reveal-delay: 270ms; }

.why-grid li.reveal:nth-child(1) { --reveal-delay: 0ms; }
.why-grid li.reveal:nth-child(2) { --reveal-delay: 60ms; }
.why-grid li.reveal:nth-child(3) { --reveal-delay: 120ms; }
.why-grid li.reveal:nth-child(4) { --reveal-delay: 180ms; }
.why-grid li.reveal:nth-child(5) { --reveal-delay: 240ms; }
.why-grid li.reveal:nth-child(6) { --reveal-delay: 300ms; }

/* --------------------------------------------------------------------------
   20. Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero__media,
  .hero__content,
  .workflow-steps__item,
  .reveal,
  .page-loader__mark img,
  .page-loader__bar::after,
  .button::before {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  .service-card:hover,
  .button:hover,
  .back-to-top:hover,
  .why-grid li:hover {
    transform: none;
  }

  .button:active {
    transform: none;
  }

  body.is-loading {
    overflow: auto;
  }

  .page-loader {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   21. Responsive refinements
   -------------------------------------------------------------------------- */
@media (max-width: 639px) {
  .hero__content {
    max-width: none;
    margin-left: auto;
  }

  .form-checkboxes {
    grid-template-columns: 1fr;
  }

  .materials-table thead {
    display: none;
  }

  .materials-table tbody th,
  .materials-table tbody td {
    display: block;
    width: 100%;
    padding: 0.65rem 1.15rem;
  }

  .materials-table tbody th {
    padding-top: 1.15rem;
    border-bottom: none;
  }

  .materials-table tbody td {
    padding-bottom: 1.15rem;
  }

  .materials-table tbody tr {
    border-bottom: 1px solid var(--line);
  }

  .materials-table tbody tr:last-child {
    border-bottom: none;
  }
}

@media (min-width: 1000px) {
  .site-logo img {
    height: 3rem;
  }
}

/* --------------------------------------------------------------------------
   22. Scroll progress
   -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: calc(var(--z-header) + 5);
  width: 100%;
  height: 3px;
  pointer-events: none;
  background: rgba(213, 220, 227, 0.35);
  overflow: hidden;
}

.scroll-progress__fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
  box-shadow: 0 0 12px rgba(61, 184, 232, 0.45);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

/* --------------------------------------------------------------------------
   23. Metrics / counters
   -------------------------------------------------------------------------- */
.metrics {
  background-color: var(--white);
  border-bottom: 1px solid var(--line);
  padding-block: var(--space-7);
}

.metrics__inner {
  display: grid;
  gap: var(--space-5);
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .metrics__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
}

@media (min-width: 1000px) {
  .metrics__inner {
    grid-template-columns: repeat(4, 1fr);
  }
}

.metric {
  position: relative;
  text-align: center;
  padding: var(--space-5) var(--space-4);
  border-radius: var(--radius-md);
  transition: background-color var(--duration) var(--ease-out);
}

.metric:hover {
  background-color: rgba(30, 79, 156, 0.04);
}

.metric__value {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.2vw, 3rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: var(--tracking-tight);
  max-width: none;
  color: var(--brand-blue);
}

.metric__value [data-counter] {
  background: linear-gradient(135deg, var(--brand-blue) 0%, #2f8fd4 55%, var(--brand-cyan) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@supports not (background-clip: text) {
  .metric__value [data-counter] {
    color: var(--brand-blue);
    background: none;
  }
}

.metric__label {
  margin: var(--space-3) auto 0;
  max-width: 18ch;
  font-size: var(--text-sm);
  color: var(--ink-muted);
  letter-spacing: 0.01em;
}

/* --------------------------------------------------------------------------
   24. Form validation states
   -------------------------------------------------------------------------- */
.form-status {
  display: none;
  margin-bottom: var(--space-5);
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  max-width: none;
}

.form-status--error,
.form-status--success {
  display: block;
}

.form-status--error {
  background-color: rgba(163, 59, 59, 0.08);
  color: var(--error);
  border: 1px solid rgba(163, 59, 59, 0.25);
}

.form-status--success {
  background-color: rgba(31, 107, 74, 0.08);
  color: var(--success);
  border: 1px solid rgba(31, 107, 74, 0.25);
}

.form-error {
  min-height: 1.1em;
  margin: 0;
  font-size: var(--text-xs);
  color: var(--error);
  max-width: none;
}

.form-field input.is-invalid,
.form-field select.is-invalid,
.form-field textarea.is-invalid {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(163, 59, 59, 0.15);
}

/* --------------------------------------------------------------------------
   25. Back to top
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  right: var(--gutter);
  bottom: var(--gutter);
  z-index: var(--z-header);
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-sm);
  background-color: var(--brand-navy);
  color: var(--white);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.75rem) scale(0.96);
  pointer-events: none;
  transition:
    opacity var(--duration) var(--ease-out),
    visibility var(--duration),
    transform var(--duration) var(--ease-spring),
    background-color var(--duration) var(--ease-out),
    box-shadow var(--duration) var(--ease-out);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.back-to-top:hover {
  background-color: var(--brand-blue);
  color: var(--white);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px) scale(1);
}

.back-to-top span {
  font-size: 1.15rem;
  line-height: 1;
  transition: transform var(--duration) var(--ease-out);
}

.back-to-top:hover span {
  transform: translateY(-2px);
}

body.nav-open {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   26. Page loader
   -------------------------------------------------------------------------- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(30, 79, 156, 0.35), transparent 55%),
    var(--brand-navy);
  transition:
    opacity 0.55s var(--ease-out),
    visibility 0.55s;
}

.page-loader__mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

.page-loader__mark img {
  width: 3.25rem;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(61, 184, 232, 0.35));
  animation: loader-pulse 1.4s var(--ease-soft) infinite;
}

.page-loader__bar {
  display: block;
  width: 4.5rem;
  height: 2px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
  position: relative;
}

.page-loader__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
  transform-origin: left;
  animation: loader-bar 1.1s var(--ease-out) infinite;
}

body:not(.is-loading) .page-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes loader-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

@keyframes loader-bar {
  0% {
    transform: scaleX(0.15);
  }
  50% {
    transform: scaleX(0.75);
  }
  100% {
    transform: scaleX(1);
    opacity: 0.4;
  }
}

/* --------------------------------------------------------------------------
   27. Agency polish — visual consistency
   -------------------------------------------------------------------------- */
.site-logo img {
  max-width: min(200px, 52vw);
  height: auto;
  max-height: 2.85rem;
  transition: opacity var(--duration) var(--ease-out);
}

.site-logo:hover img {
  opacity: 0.92;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}

.hero__eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: linear-gradient(90deg, var(--brand-cyan), transparent);
}

.hero h1 {
  letter-spacing: var(--tracking-tight);
}

.hero__lead {
  line-height: var(--leading-normal);
  max-width: 36em;
}

.hero__actions {
  gap: var(--space-3) var(--space-4);
}

.hero__media {
  animation: hero-media-settle 1.1s var(--ease-out) both;
}

.hero__content {
  animation: hero-content-enter 0.9s var(--ease-out) 0.12s both;
}

.trust-bar {
  padding-block: var(--space-6);
  background: linear-gradient(180deg, var(--surface) 0%, #eef2f6 100%);
}

.metrics {
  padding-block: var(--space-8);
  background:
    linear-gradient(180deg, var(--white), var(--surface));
}

.faq-item {
  transition:
    border-color var(--duration) var(--ease-out),
    box-shadow var(--duration) var(--ease-out),
    transform var(--duration) var(--ease-out);
}

.faq-item[open] {
  transform: translateY(-1px);
}

.faq-item summary {
  letter-spacing: -0.01em;
}

.contact-map {
  transition: box-shadow var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}

.contact-map:hover {
  box-shadow: var(--shadow-lg);
}

.form-field input,
.form-field select,
.form-field textarea {
  transition:
    border-color var(--duration) var(--ease-out),
    box-shadow var(--duration) var(--ease-out),
    background-color var(--duration) var(--ease-out);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  background-color: #fbfdff;
}

.cta-band {
  overflow: hidden;
}

.cta-band__inner {
  animation: none;
}

.cta-band h2 {
  letter-spacing: var(--tracking-tight);
}

.why-grid li {
  transition: border-color var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}

.why-grid li:hover {
  border-top-color: rgba(125, 211, 240, 0.45);
  transform: translateY(-2px);
}

.materials-panel {
  transition: box-shadow var(--duration) var(--ease-out);
}

.materials-panel:hover {
  box-shadow: var(--shadow-md);
}

.site-header {
  transition:
    box-shadow var(--duration) var(--ease-out),
    border-color var(--duration) var(--ease-out),
    background-color var(--duration) var(--ease-out),
    height var(--duration) var(--ease-out);
}

.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.94);
}

.text-link {
  position: relative;
  transition: color var(--duration) var(--ease-out), letter-spacing var(--duration) var(--ease-out);
}

.text-link:hover {
  letter-spacing: 0.01em;
}

html {
  scroll-padding-top: calc(var(--header-height) + 0.75rem);
}

/* Print */
@media print {
  .site-header,
  .nav-toggle,
  .cta-band,
  .skip-link,
  .scroll-progress,
  .back-to-top,
  .page-loader {
    display: none !important;
  }

  body {
    background: white;
    color: black;
    overflow: visible !important;
  }

  a {
    color: black;
    text-decoration: underline;
  }
}
