/* =========================================================================
   salo.tech — landing page styles
   Plain CSS, no build step. Tokens first, then base, then components.
   ========================================================================= */

:root {
  /* brand */
  --indigo-50: #eef2ff;
  --indigo-100: #e0e7ff;
  --indigo-300: #a5b4fc;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;
  --indigo-700: #4338ca;

  /* neutrals */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-900: #0f172a;

  --bg: #ffffff;
  --text: var(--slate-900);
  --text-muted: var(--slate-600);

  --radius: 0.625rem;
  --radius-lg: 1.5rem;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / 0.06);
  --shadow-md: 0 10px 30px -12px rgb(15 23 42 / 0.18);

  --container: 80rem;
  --header-h: 4rem;

  /* Montserrat for headings + UI, Inter for body copy */
  --font-head: 'Montserrat', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica,
    Arial, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial,
    sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem; /* keep anchored sections clear of the sticky header */
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Headings + interface elements use Montserrat; body copy stays Lora */
h1,
h2,
h3,
.brand,
.nav__links a,
.nav__panel a,
.eyebrow,
.btn {
  font-family: var(--font-head);
}

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

[hidden] {
  display: none !important;
}

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

h1 {
  font-size: clamp(1.95rem, 1.2rem + 3.4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
  overflow-wrap: break-word;
}

:focus-visible {
  outline: 2px solid var(--indigo-600);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ----- layout ----- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 2rem;
  }
}

.section {
  padding-block: 6rem;
}

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

/* One continuous wash behind every section — white at the top, the tint rising
   from the bottom of the page. Sections keep transparent backgrounds so there
   are no seams between them. */
main {
  background: linear-gradient(180deg, #fff 0%, #fff 34%, var(--indigo-50) 100%);
}

/* ----- buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.btn--primary {
  background: var(--indigo-600);
  color: #fff;
}

.btn--primary:hover {
  background: var(--indigo-700);
}

.btn--outline {
  border-color: var(--slate-300);
  color: var(--slate-700);
}

.btn--outline:hover {
  border-color: var(--slate-400);
  background: var(--slate-50);
}

/* ----- header / nav ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--slate-100);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius);
  background: var(--indigo-600);
  color: #fff;
  font-weight: 800;
  font-size: 0.875rem;
}

.brand__name {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand__name span {
  color: var(--indigo-600);
}

.nav__links {
  display: none;
  gap: 2rem;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.nav__links a:hover {
  color: var(--text);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__cta {
  display: none;
}

.nav__toggle {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  background: transparent;
  border: 0;
  color: var(--slate-700);
}

.nav__toggle:hover {
  background: var(--slate-100);
}

/* mobile slide-in drawer */
.nav__backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgb(15 23 42 / 0.5);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.nav__backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.nav__drawer {
  position: fixed;
  inset-block: 0;
  left: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  width: min(78vw, 20rem);
  padding: 1.25rem 1.75rem 2rem;
  background: #fff;
  box-shadow: 0 0 60px -8px rgb(15 23 42 / 0.4);
  transform: translateX(-100%);
  visibility: hidden;
  transition:
    transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.32s;
}

.nav__drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

.nav__close {
  align-self: flex-start;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1.75rem;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--slate-700);
  cursor: pointer;
}

.nav__close:hover {
  background: var(--slate-100);
}

.nav__drawer-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__drawer-list a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 0;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.18s ease;
}

.nav__drawer-list a::before {
  content: '';
  flex: none;
  width: 1.25rem;
  height: 2px;
  background: var(--slate-300);
  transition:
    width 0.18s ease,
    background-color 0.18s ease;
}

.nav__drawer-list a:hover,
.nav__drawer-list a:focus-visible {
  color: var(--indigo-600);
  outline: none;
}

.nav__drawer-list a:hover::before,
.nav__drawer-list a:focus-visible::before {
  width: 2.5rem;
  background: var(--indigo-500);
}

.nav__drawer-cta {
  margin-top: auto;
  width: 100%;
}

body.nav-open {
  overflow: hidden;
}

@media (min-width: 768px) {
  .nav__links {
    display: flex;
  }
  .nav__cta {
    display: inline-flex;
  }
  .nav__toggle,
  .nav__backdrop,
  .nav__drawer {
    display: none;
  }
}

/* ----- hero ----- */
.hero {
  position: relative;
  overflow: hidden;
}

/* Techy blue half-circle halftone, full-bleed behind the hero: bold at the
   left & right edges, dissolving to nothing across the middle. Content sits
   above it (.hero__grid has z-index 1). */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  /* stretched to hero width, tiled downward so the half-circles keep their shape */
  background: url('../assets/halftone.svg') top center / 100% auto repeat-y;
  opacity: 0.26;
  pointer-events: none;
  z-index: 0;
  /* soften the very top and bottom edges */
  -webkit-mask: linear-gradient(to bottom, transparent, #000 7%, #000 90%, transparent);
  mask: linear-gradient(to bottom, transparent, #000 7%, #000 90%, transparent);
}

/* Single-column layout (< 768px): the full-bleed field would run down behind the
   stacked copy, so confine it to the head's box — the dots stop where the 3D
   object stops. They also get squeezed into slim vertical marks by the narrow screen. */
@media (max-width: 767px) {
  .hero::before {
    display: none;
  }

  .hero__stage {
    isolation: isolate;
  }

  .hero__stage::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    /* break out of the container's side padding so the dots reach the screen edge
       (kept vertically bound to the head's box); .hero's overflow:hidden clips any spill */
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    z-index: 0;
    background: url('../assets/halftone.svg') top center / 100% 150px repeat-y;
    opacity: 0.4;
    pointer-events: none;
    -webkit-mask: linear-gradient(to bottom, transparent, #000 10%, #000 78%, transparent);
    mask: linear-gradient(to bottom, transparent, #000 10%, #000 78%, transparent);
  }

  #head-canvas,
  .hero__fallback {
    z-index: 1;
  }
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding-block: 3.5rem;
}

@media (min-width: 768px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    padding-block: 5rem;
  }
}

@media (min-width: 1024px) {
  .hero__grid {
    padding-block: 6rem;
  }
}

.hero__stage {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  /* transparent: the head floats over the page, and the edge halftone shows
     through behind it instead of being clipped by a white panel */
  background: transparent;
}

#head-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab; /* drag affordance — change to `pointer` for the plain hand cursor */
  touch-action: none; /* let touch drags rotate the head instead of scrolling the page */
}

#head-canvas.is-dragging {
  cursor: grabbing;
}

.hero__fallback {
  position: absolute;
  inset-inline: 0;
  bottom: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--slate-400);
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--indigo-600);
}

.hero__copy h1 {
  margin-top: 1rem;
}

.hero__lead {
  margin-top: 1.25rem;
  max-width: 32rem;
  color: var(--text-muted);
}

.hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ----- animated marker highlight -----
   <span class="highlight" data-highlight="dolor sit">dolor sit</span>
   JS (js/highlight.js) adds .is-lit when it scrolls into view. */
.highlight {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  border-radius: 3px;
}

.highlight::before {
  content: attr(data-highlight);
  position: absolute;
  inset: 0;
  width: 0; /* animates to 100% */
  overflow: hidden;
  white-space: nowrap;
  color: #fff;
  background: #6366f1;
  border-radius: inherit;
  pointer-events: none;
  transition: width 2.5s cubic-bezier(0.22, 1, 0.36, 1) 0.5s;
  /* sweep left -> right. For right -> left: set `right: 0; left: auto;` here */
}

.highlight.is-lit::before {
  width: 100%;
}

/* ----- clients logo marquee ----- */
.clients {
  padding-block: 3.5rem;
  overflow: hidden;
}

.clients__label {
  text-align: center;
  margin-bottom: 2rem;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-400);
}

.marquee {
  display: flex;
  width: 100%;
  overflow: hidden;
  /* fade both edges so logos slide in/out softly */
  -webkit-mask: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.marquee__track {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
  padding-right: clamp(2.5rem, 6vw, 5rem); /* keeps the spacing even across the loop seam */
  margin: 0;
  list-style: none;
  animation: marquee-scroll 40s linear infinite; /* duration overridden by js/marquee.js */
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__track img {
  height: 5.2rem; /* logo size — bump this to taste */
  width: auto;
  max-width: 220px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.marquee__track img:hover {
  transform: scale(1.06);
}

@keyframes marquee-scroll {
  to {
    transform: translateX(-100%);
  }
}

/* ----- features / how-it-works ----- */
.features__head {
  max-width: 40rem;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.features__head .eyebrow {
  display: block;
}

.features__head h2 {
  margin-top: 0.75rem;
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem 2rem;
}

@media (min-width: 768px) {
  .features__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  text-align: center;
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  border-radius: 999px;
  background: var(--indigo-600);
  color: #fff;
  box-shadow: 0 12px 28px -10px rgb(79 70 229 / 0.45);
}

.feature__icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.feature h3 {
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}

.feature p {
  max-width: 22rem;
  margin-inline: auto;
  color: var(--text-muted);
}

/* ----- solutions / services ----- */
.solutions {
  padding-block: clamp(4rem, 2rem + 6vw, 6rem);
}

.solutions__head {
  max-width: 46rem;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.solutions__head .eyebrow {
  display: block;
}

.solutions__head h2 {
  margin-top: 0.75rem;
  font-size: clamp(1.7rem, 1.1rem + 2.3vw, 2.6rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text);
}

.solutions__lead {
  margin-top: 1.25rem;
  color: var(--text-muted);
}

.solutions__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .solutions__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .solutions__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.solution {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 2.25rem 1.5rem;
  text-align: center;
  border: 1px solid var(--indigo-100);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.solution:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -20px rgb(79 70 229 / 0.35);
}

.solution__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  color: var(--indigo-500);
}

.solution__icon svg {
  width: 1.9rem;
  height: 1.9rem;
}

.solution h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.solution p {
  max-width: 20rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* accent the middle column on desktop, like the reference */
@media (min-width: 960px) {
  .solution:nth-child(3n + 2) {
    background: var(--indigo-500);
    border-color: var(--indigo-500);
    color: #fff;
    box-shadow: 0 22px 44px -22px rgb(79 70 229 / 0.5);
  }
  .solution:nth-child(3n + 2) .solution__icon {
    color: #fff;
  }
  .solution:nth-child(3n + 2) p {
    color: rgb(255 255 255 / 0.85);
  }
}

/* ----- portofolio / work ----- */
/* Carries the bottom-up tint that blends into the blue About block below. */
.work {
  padding-block: clamp(4rem, 2rem + 6vw, 6rem);
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 42%,
    var(--indigo-50) 84%,
    var(--indigo-100) 100%
  );
}

.work__eyebrow {
  display: block;
  text-align: center;
}

.work__heading {
  margin: 0.75rem auto 3rem;
  max-width: 40rem;
  text-align: center;
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text);
}

.work__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .work__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 3rem;
  }
}

.work__stage {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--indigo-100);
  box-shadow: 0 30px 60px -24px rgb(30 27 75 / 0.35);
}

.work__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.work__title {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.work__desc {
  margin-top: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.work__thumbs {
  display: flex;
  gap: 0.85rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.work__thumbs li {
  flex: 1 1 0;
  min-width: 0;
}

.work__thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 0.75rem;
  overflow: hidden;
  background: none;
  cursor: pointer;
  opacity: 0.55;
  transition:
    opacity 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.work__thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.work__thumb:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.work__thumb.is-active {
  opacity: 1;
  border-color: var(--indigo-500);
}

/* ----- about / founder ----- */
.about {
  background: #6366f1;
  color: #fff;
  padding-block: clamp(4rem, 2rem + 6vw, 6rem);
}

.about__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .about__grid {
    grid-template-columns: minmax(0, 34rem) minmax(0, 1fr);
    gap: 4rem;
  }
}

/* photo slideshow (auto crossfade, no controls) */
.about__media {
  position: relative;
  width: 100%;
  max-width: 34rem;
  margin-inline: auto;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgb(255 255 255 / 0.1);
  box-shadow: 0 30px 60px -22px rgb(30 27 75 / 0.5);
}

.about__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition:
    opacity 1.2s ease,
    transform 6s ease;
}

.about__media img.is-active {
  opacity: 1;
  transform: scale(1);
}

.about .eyebrow {
  display: block;
  color: #a5f3fc; /* cyan pop on the blue */
}

.about__body h2 {
  margin-top: 0.75rem;
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: #a5f3fc;
}

.about__role {
  margin-top: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.7);
}

.about__lead {
  margin-top: 1.5rem;
  max-width: 42rem;
  color: rgb(255 255 255 / 0.85);
}

.about__lead + .about__lead {
  margin-top: 1rem;
}

.about__lead strong {
  color: #fff;
  font-weight: 600;
}

/* ----- faq (accordion) ----- */
.faq {
  padding-block: clamp(4rem, 2rem + 6vw, 6rem);
  background: linear-gradient(180deg, var(--indigo-50) 0%, #fff 22%);
}

.faq__eyebrow {
  display: block;
  text-align: center;
}

.faq__title {
  margin: 0.75rem auto 3rem;
  max-width: 40rem;
  text-align: center;
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text);
}

.faq__list {
  max-width: 52rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq__item {
  border: 1px solid var(--indigo-100);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.faq__item.is-open {
  border-color: var(--indigo-300);
  box-shadow: 0 18px 40px -20px rgb(79 70 229 / 0.28);
}

.faq__q {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem 1.4rem;
  border: 0;
  background: transparent;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  color: var(--text);
  cursor: pointer;
}

.faq__item.is-open .faq__q {
  color: var(--indigo-600);
}

.faq__chevron {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  margin-left: auto;
  color: var(--indigo-500);
  transition: transform 0.25s ease;
}

.faq__item.is-open .faq__chevron {
  transform: rotate(180deg);
}

/* height animation without measuring: 0fr -> 1fr */
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.faq__item.is-open .faq__a {
  grid-template-rows: 1fr;
}

.faq__a-inner {
  overflow: hidden;
}

.faq__a p {
  margin: 0;
  padding: 0 1.4rem 1.35rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq__cta {
  margin-top: 2.75rem;
  text-align: center;
}

.faq__cta p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

/* ----- kontak ----- */
.contact {
  padding-block: clamp(4rem, 2rem + 6vw, 6rem);
  border-top: 1px solid var(--indigo-100);
}

.contact__eyebrow {
  display: block;
  text-align: center;
}

.contact__title {
  margin: 0.75rem auto 1rem;
  max-width: 40rem;
  text-align: center;
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text);
}

.contact__lead {
  max-width: 40rem;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact__grid {
  display: grid;
  gap: 2rem;
  max-width: 56rem;
  margin-inline: auto;
}

@media (min-width: 820px) {
  .contact__grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
  }
}

.contact__aside h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
}

.contact__aside > p {
  margin-top: 0.6rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact__wa {
  margin-top: 1.25rem;
  background: #25d366;
}

.contact__wa:hover {
  background: #1ebe5d;
}

.contact__note {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--slate-500);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem;
  border: 1px solid var(--indigo-100);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.contact__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact__field span {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-700);
}

.contact__field input,
.contact__field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: var(--text);
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.contact__field textarea {
  resize: vertical;
  min-height: 6.5rem;
}

.contact__field input:focus-visible,
.contact__field textarea:focus-visible {
  outline: none;
  border-color: var(--indigo-500);
  box-shadow: 0 0 0 3px rgb(99 102 241 / 0.2);
}

.contact__form .btn {
  align-self: flex-start;
  margin-top: 0.25rem;
}

/* honeypot — hidden from people, reachable by bots */
.contact__hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.contact__status {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact__status.is-ok {
  color: #15803d;
}

.contact__status.is-err {
  color: #b91c1c;
}

/* ----- footer ----- */
.site-footer {
  padding-block: clamp(3rem, 2rem + 4vw, 4.5rem) 2rem;
  background: var(--indigo-700);
  color: rgb(255 255 255 / 0.85);
}

.footer__top {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.75rem;
}

@media (min-width: 720px) {
  .footer__top {
    grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}

.footer__brand .brand__name {
  color: #fff;
}

.footer__brand .brand__name span {
  color: var(--indigo-300);
}

.footer__brand > p {
  margin-top: 0.85rem;
  max-width: 22rem;
  color: rgb(255 255 255 / 0.7);
  line-height: 1.6;
}

.footer__social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.1);
  color: #fff;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.footer__social a:hover {
  background: rgb(255 255 255 / 0.22);
  transform: translateY(-2px);
}

.footer__social svg {
  width: 1.1rem;
  height: 1.1rem;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer__heading {
  margin-bottom: 0.25rem;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--indigo-300);
}

.footer__col a,
.footer__contact {
  font-size: 0.92rem;
  color: rgb(255 255 255 / 0.75);
  transition: color 0.15s ease;
}

.footer__col a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgb(255 255 255 / 0.14);
  font-size: 0.8rem;
  color: rgb(255 255 255 / 0.55);
}

.footer__credit {
  font-style: italic;
}

/* ----- floating whatsapp button ----- */
.wa-fab {
  position: fixed;
  right: clamp(1rem, 2vw, 1.75rem);
  bottom: clamp(1rem, 2vw, 1.75rem);
  z-index: 60;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 30px -8px rgb(37 211 102 / 0.6);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.wa-fab::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #25d366;
  z-index: -1;
  animation: wa-pulse 2.4s ease-out infinite;
}

.wa-fab:hover {
  transform: scale(1.06);
  box-shadow: 0 16px 36px -8px rgb(37 211 102 / 0.7);
}

.wa-fab:focus-visible {
  outline: 3px solid var(--indigo-500);
  outline-offset: 3px;
}

.wa-fab__label {
  position: absolute;
  right: calc(100% + 0.75rem);
  top: 50%;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: var(--slate-900);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translate(0.5rem, -50%);
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}

.wa-fab:hover .wa-fab__label,
.wa-fab:focus-visible .wa-fab__label {
  opacity: 1;
  transform: translate(0, -50%);
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  70% {
    transform: scale(1.7);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@media print {
  .wa-fab {
    display: none;
  }
}

/* ----- motion preferences ----- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
  .highlight::before {
    transition: none;
  }
  .marquee__track {
    animation-play-state: paused;
  }
  .about__media img {
    transition: none;
  }
  .faq__a,
  .faq__chevron {
    transition: none;
  }
  .work__image,
  .work__thumb {
    transition: none;
  }
  .wa-fab::before {
    animation: none;
  }
  .nav__drawer,
  .nav__backdrop {
    transition: none;
  }
  .wa-fab__label {
    transition: none;
  }
}
