/* ==========================================================================
   SXM Services LLC — static stylesheet
   Colours and radii are the exact tokens from the original src/styles.css
   ========================================================================== */

:root {
  --radius: 0.625rem;
  --background: oklch(1 0 0);
  --foreground: oklch(0.129 0.042 264.695);
  --primary: oklch(0.208 0.042 265.755);
  --primary-foreground: oklch(0.984 0.003 247.858);
  --muted: oklch(0.968 0.007 247.896);
  --muted-foreground: oklch(0.554 0.046 257.417);
  --border: oklch(0.929 0.013 255.508);
  --destructive: oklch(0.577 0.245 27.325);

  --primary-05: color-mix(in oklab, var(--primary) 5%, transparent);
  --primary-10: color-mix(in oklab, var(--primary) 10%, transparent);
  --primary-20: color-mix(in oklab, var(--primary) 20%, transparent);
  --muted-05: color-mix(in oklab, var(--muted) 40%, var(--background));
  --muted-10: color-mix(in oklab, var(--muted) 55%, var(--background));
  --muted-20: color-mix(in oklab, var(--muted) 75%, var(--background));

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-primary: 0 10px 15px -3px color-mix(in oklab, var(--primary) 20%, transparent);

  --wrap: 80rem;
  --nav-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; border-color: var(--border); }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
svg { display: block; flex-shrink: 0; }

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

/* ---------- layout helpers ---------------------------------------------- */

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
.wrap-narrow { max-width: 56rem; }
.wrap-prose { max-width: 48rem; }
.section { padding: 6rem 0; }
.section-tight { padding: 3rem 0; }
.page-top { padding-top: 8rem; padding-bottom: 6rem; }
.center { text-align: center; }
.muted { color: var(--muted-foreground); }
.accent { color: var(--primary); }
.stack > * + * { margin-top: 1.5rem; }

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

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-split { grid-template-columns: repeat(2, 1fr); gap: 4rem; align-items: center; }
}
@media (min-width: 1280px) {
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
}

/* ---------- type scale --------------------------------------------------- */

.display {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.h1 { font-size: clamp(2.5rem, 5.5vw, 3.75rem); margin-bottom: 2rem; }
.h2 { font-size: clamp(2rem, 4vw, 3rem); }
.h3 { font-size: 1.875rem; }
.h4 { font-size: 1.25rem; }
.lead { font-size: 1.25rem; color: var(--muted-foreground); line-height: 1.65; }
.eyebrow {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}
.section-head { text-align: center; max-width: 48rem; margin: 0 auto 4rem; }

/* ---------- buttons ------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease,
    color 0.2s ease;
}
.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover { transform: scale(1.04); }
.btn-primary:active { transform: scale(0.97); }
.btn-outline {
  background-color: var(--background);
  border-color: var(--border);
  color: var(--foreground);
}
.btn-outline:hover { background-color: var(--muted); }
.btn-light {
  background-color: #fff;
  color: var(--primary);
  font-weight: 700;
  padding: 1.15rem 2.5rem;
  font-size: 1.075rem;
}
.btn-light:hover { transform: scale(1.04); }
.btn-lg { padding: 1.15rem 2.5rem; font-size: 1.075rem; font-weight: 700; }
.btn-block {
  width: 100%;
  border-radius: 0.75rem;
  padding: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
}
.btn-block-muted { background-color: var(--muted); color: var(--foreground); }
.btn-block-muted:hover { background-color: var(--primary); color: var(--primary-foreground); }
.btn-row { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .btn-row { flex-direction: row; } }

.link-accent {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 700;
}
.link-accent svg { transition: transform 0.2s ease; }
.link-accent:hover svg { transform: translateX(4px); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background-color: var(--primary-10);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.ping { position: relative; display: flex; height: 0.5rem; width: 0.5rem; }
.ping span:first-child {
  position: absolute;
  display: inline-flex;
  height: 100%;
  width: 100%;
  border-radius: 999px;
  background-color: var(--primary);
  opacity: 0.75;
  animation: ping 1.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.ping span:last-child {
  position: relative;
  display: inline-flex;
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 999px;
  background-color: var(--primary);
}
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }

/* ---------- navbar ------------------------------------------------------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 1rem 1.5rem;
  transition: background-color 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 0.75rem 1.5rem;
  background-color: color-mix(in oklab, var(--background) 80%, transparent);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-sub { color: var(--muted-foreground); font-weight: 400; }

.nav-links { display: none; }
@media (min-width: 1024px) {
  .nav-links { display: flex; align-items: center; gap: 1.5rem; }
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  white-space: nowrap;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a.active { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 1rem; margin-left: 1rem; }
.nav-phone { display: none; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 700; }
.nav-phone svg { color: var(--primary); }
.nav-phone:hover { color: var(--primary); }
@media (min-width: 1280px) { .nav-phone { display: flex; } }
.nav-cta {
  border-radius: 999px;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}
.nav-cta:hover { box-shadow: var(--shadow-primary); }
.nav-cta:active { transform: scale(0.96); }

.nav-toggle {
  display: inline-flex;
  padding: 0.5rem;
  background: none;
  border: 0;
  color: var(--foreground);
  cursor: pointer;
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 40;
  background-color: var(--background);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.mobile-menu.open { transform: translateX(0); }
@media (min-width: 1024px) { .mobile-menu { display: none; } }
.mobile-menu a { font-size: 1.5rem; font-weight: 600; }
.mobile-menu a.active { color: var(--primary); }
.mobile-menu .btn { margin-top: 1rem; }

/* ---------- hero --------------------------------------------------------- */

.hero { position: relative; padding: 8rem 0 5rem; }
@media (min-width: 768px) { .hero { padding: 12rem 0 8rem; } }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: repeat(2, 1fr); } }
.hero p.lead { max-width: 32rem; margin-bottom: 2.5rem; }
.hero-art { position: relative; display: none; }
@media (min-width: 1024px) { .hero-art { display: block; } }
.hero-art .frame {
  position: relative;
  z-index: 10;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-2xl);
}
.blob { position: absolute; border-radius: 999px; filter: blur(48px); }
.blob-tr { top: -1.5rem; right: -1.5rem; width: 8rem; height: 8rem; background-color: var(--primary-10); }
.blob-bl { bottom: -2.5rem; left: -2.5rem; width: 12rem; height: 12rem; background-color: var(--primary-05); }

/* ---------- trust bar ---------------------------------------------------- */

.trust {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background-color: var(--muted-05);
}
.trust-label {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}
.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  opacity: 0.7;
}
@media (min-width: 768px) { .trust-items { gap: 4rem; } }
.trust-items div { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; }
.trust-items svg { color: var(--primary); }

/* ---------- cards -------------------------------------------------------- */

.card {
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 2rem;
  background-color: var(--background);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.card:hover { transform: translateY(-0.5rem); box-shadow: var(--shadow-xl); }
.card h4 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.card-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 500;
}
.card-list li + li { margin-top: 0.75rem; }
.card-list svg { color: var(--primary); }
.card .link-accent { margin-top: 2rem; font-size: 0.875rem; }

.icon-tile {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background-color: var(--primary-10);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}
.icon-tile-lg { width: 5rem; height: 5rem; border-radius: 1rem; }

.soft-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background-color: var(--muted-10);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.soft-card:hover { background-color: var(--background); box-shadow: var(--shadow-xl); }
.soft-card h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.soft-card .tile-icon { color: var(--primary); margin-bottom: 1.5rem; }

/* ---------- why-choose list --------------------------------------------- */

.why-list li { display: flex; gap: 1rem; }
.why-list li + li { margin-top: 1.5rem; }
.why-dot {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background-color: var(--primary-10);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.25rem;
}
.why-list h4 { font-size: 1.125rem; margin-bottom: 0.25rem; }
.square-photo {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 1 / 1;
}
.square-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- process ------------------------------------------------------ */

.step {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background-color: var(--muted-10);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.step:hover { background-color: var(--background); box-shadow: var(--shadow-xl); }
.step-num {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary-20);
  transition: color 0.3s ease;
}
.step:hover .step-num { color: var(--primary); }
.step h4 { font-size: 1.25rem; margin: 1rem 0 0.75rem; }
.step p { font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.6; }

/* ---------- pricing ------------------------------------------------------ */

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 2rem;
  background-color: var(--background);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.plan:hover { transform: translateY(-0.5rem); box-shadow: var(--shadow-2xl); }
.plan.popular {
  border-color: var(--primary);
  box-shadow: var(--shadow-xl);
  outline: 2px solid var(--primary-20);
  outline-offset: -1px;
  z-index: 10;
}
@media (min-width: 768px) { .plan.popular { transform: scale(1.04); } }
@media (min-width: 768px) { .plan.popular:hover { transform: scale(1.04) translateY(-0.5rem); } }
.plan-flag {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  white-space: nowrap;
  box-shadow: var(--shadow-lg);
}
.plan-name { font-size: 1.25rem; margin-bottom: 0.5rem; }
.plan-price { display: flex; align-items: baseline; gap: 0.35rem; margin-bottom: 1rem; }
.plan-price strong { font-size: 2.25rem; font-weight: 700; }
.plan-price span { font-size: 0.875rem; font-weight: 500; color: var(--muted-foreground); }
.plan-desc { font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.6; min-height: 40px; margin-bottom: 2rem; }
.plan-features { flex-grow: 1; margin-bottom: 2rem; }
.plan-features li { display: flex; align-items: flex-start; gap: 0.75rem; }
.plan-features li + li { margin-top: 1rem; }
.plan-features span { font-size: 0.875rem; font-weight: 500; line-height: 1.35; }
.tick {
  margin-top: 0.15rem;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background-color: var(--primary-10);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.teaser {
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 2.5rem;
  background-color: var(--background);
  transition: box-shadow 0.3s ease;
  position: relative;
}
.teaser:hover { box-shadow: var(--shadow-2xl); }
.teaser.popular { border-color: var(--primary); box-shadow: var(--shadow-xl); z-index: 10; }
@media (min-width: 768px) { .teaser.popular { transform: scale(1.04); } }
.teaser h4 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.teaser .price { font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; }
.teaser p { color: var(--muted-foreground); margin-bottom: 2rem; }

/* ---------- callout / CTA ------------------------------------------------ */

.cta-block {
  position: relative;
  overflow: hidden;
  max-width: 64rem;
  margin: 0 auto;
  border-radius: 3rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 3rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-2xl);
}
@media (min-width: 768px) { .cta-block { padding: 5rem; } }
.cta-block h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
.cta-block p { font-size: 1.125rem; opacity: 0.9; margin: 0 auto 2.5rem; max-width: 42rem; }
.cta-block .inner { position: relative; z-index: 10; }
.cta-blob-a { position: absolute; top: -5rem; right: -5rem; width: 20rem; height: 20rem; border-radius: 999px; background-color: rgb(255 255 255 / 0.1); filter: blur(48px); }
.cta-blob-b { position: absolute; bottom: -5rem; left: -5rem; width: 20rem; height: 20rem; border-radius: 999px; background-color: rgb(0 0 0 / 0.1); filter: blur(48px); }

.panel {
  border: 1px solid var(--border);
  border-radius: 3rem;
  background-color: var(--muted-20);
  padding: 3rem 1.5rem;
  text-align: center;
}
@media (min-width: 768px) { .panel { padding: 5rem; } }
.panel h2 { font-size: clamp(1.75rem, 3.5vw, 2.25rem); margin-bottom: 2rem; }
.panel > p { max-width: 42rem; margin: 0 auto 2.5rem; font-size: 1.125rem; color: var(--muted-foreground); }
.panel-contacts { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; }
@media (min-width: 640px) { .panel-contacts { flex-direction: row; } }
.panel-contacts div { display: flex; align-items: center; gap: 0.75rem; color: var(--primary); font-weight: 700; }

.quote-panel {
  max-width: 56rem;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 2.5rem;
  background-color: var(--primary-05);
  padding: 2.5rem;
  text-align: center;
}
.quote-panel > p { font-size: 1.125rem; font-weight: 500; line-height: 1.7; }
.quote-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
@media (min-width: 640px) { .quote-actions { flex-direction: row; } }
.phone-big { display: flex; align-items: center; gap: 0.75rem; font-weight: 700; font-size: 1.25rem; transition: color 0.2s ease; }
.phone-big:hover { color: var(--primary); }
.phone-big .icon-tile { width: 3rem; height: 3rem; margin-bottom: 0; border-radius: 1rem; }

/* ---------- services overview ------------------------------------------- */

.service-block {
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 2.5rem;
  background-color: var(--background);
  transition: box-shadow 0.3s ease;
}
.service-block:hover { box-shadow: var(--shadow-2xl); }
.service-block h3 { font-size: 1.875rem; margin-bottom: 1.5rem; }
.service-block > p { color: var(--muted-foreground); font-size: 1.125rem; line-height: 1.7; margin-bottom: 2rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.75rem; }
.feature-list li + li { margin-top: 1rem; }
.feature-list svg { color: var(--primary); margin-top: 0.25rem; }
.feature-list span { font-weight: 500; }
.service-block .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2.5rem; }
.actions .secondary { font-weight: 700; color: var(--muted-foreground); transition: color 0.2s ease; }
.actions .secondary:hover { color: var(--primary); }

.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stat {
  background-color: rgb(255 255 255 / 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  backdrop-filter: blur(4px);
}
.stat h4 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.stat p { font-size: 0.8rem; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.05em; }

.split-cta {
  border-radius: 3rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 3rem 1.5rem;
}
@media (min-width: 768px) { .split-cta { padding: 5rem; } }
.split-cta h2 { font-size: clamp(1.75rem, 3.5vw, 2.25rem); margin-bottom: 1.5rem; }
.split-cta p { font-size: 1.125rem; opacity: 0.9; line-height: 1.7; margin-bottom: 2rem; }

/* ---------- portfolio ---------------------------------------------------- */

.project {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 2rem;
  background-color: var(--background);
  transition: box-shadow 0.5s ease;
}
.project:hover { box-shadow: var(--shadow-2xl); }
.project-photo { aspect-ratio: 4 / 3; overflow: hidden; }
.project-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.project:hover .project-photo img { transform: scale(1.1); }
.project-body { padding: 2rem; }
.project-cat { font-size: 0.75rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.project-body h3 { font-size: 1.5rem; margin-bottom: 1.5rem; transition: color 0.2s ease; }
.project:hover .project-body h3 { color: var(--primary); }
.project-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 700; opacity: 0; transition: opacity 0.3s ease; }
.project:hover .project-link, .project:focus-within .project-link { opacity: 1; }
@media (hover: none) { .project-link { opacity: 1; } }

/* ---------- FAQ ---------------------------------------------------------- */

.faq { border: 1px solid var(--border); border-radius: 1rem; background-color: var(--background); }
.faq + .faq { margin-top: 1rem; }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { color: var(--muted-foreground); transition: transform 0.2s ease, color 0.2s ease; }
.faq[open] summary svg { transform: rotate(90deg); color: var(--primary); }
.faq summary:hover svg { color: var(--primary); }
.faq p { padding: 0 1.5rem 1.5rem; color: var(--muted-foreground); line-height: 1.7; }

/* ---------- contact form ------------------------------------------------- */

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-item + .contact-item { margin-top: 2rem; }
.contact-item .tile {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 1rem;
  background-color: var(--primary-10);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-item h4 { font-size: 1.125rem; }
.map { margin-top: 3rem; border: 1px solid var(--border); border-radius: 1.5rem; overflow: hidden; height: 300px; }
.map iframe { width: 100%; height: 100%; border: 0; }

.form-card {
  border: 1px solid var(--border);
  border-radius: 2.5rem;
  background-color: var(--muted-05);
  padding: 2rem;
}
@media (min-width: 768px) { .form-card { padding: 3rem; } }
.field + .field, .field-row + .field, .field + .field-row, .field-row + .field-row { margin-top: 1.5rem; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .field-row { grid-template-columns: repeat(2, 1fr); } }
.field label { display: block; font-size: 0.875rem; font-weight: 700; margin-bottom: 0.5rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--background);
  color: var(--foreground);
  font: inherit;
  font-size: 0.95rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.field textarea { resize: none; min-height: 7rem; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 1.1rem; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary);
}
.field .error { display: none; margin-top: 0.4rem; font-size: 0.75rem; font-weight: 500; color: var(--destructive); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--destructive); }
.field.invalid input:focus, .field.invalid select:focus, .field.invalid textarea:focus { box-shadow: 0 0 0 2px var(--destructive); }
.field.invalid .error { display: block; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-error {
  display: none;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--destructive);
  background-color: color-mix(in oklab, var(--destructive) 10%, transparent);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
}
.form-error.show { display: block; }

.submit {
  width: 100%;
  margin-top: 1.5rem;
  border: 0;
  border-radius: 0.75rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font: inherit;
  font-weight: 700;
  padding: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-primary);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.submit:hover { transform: scale(1.015); }
.submit:active { transform: scale(0.985); }
.submit[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.spinner {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgb(255 255 255 / 0.3);
  border-top-color: #fff;
  border-radius: 999px;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.thanks { padding: 12rem 1.5rem 8rem; text-align: center; }
.thanks .badge {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 2rem;
  border-radius: 999px;
  background-color: var(--primary-10);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.thanks h1 { font-size: 2.25rem; margin-bottom: 1rem; }
.thanks p { font-size: 1.25rem; color: var(--muted-foreground); max-width: 28rem; margin: 0 auto 3rem; }
.thanks button { background: none; border: 0; font: inherit; font-weight: 700; color: var(--primary); text-decoration: underline; cursor: pointer; }
.thanks button:hover { text-decoration: none; }

/* ---------- legal pages -------------------------------------------------- */

.legal { padding: 10rem 0 6rem; }
.legal h1 { font-size: 2.25rem; margin-bottom: 2rem; }
.legal section { margin-bottom: 2.5rem; }
.legal h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.legal p { color: var(--muted-foreground); line-height: 1.7; }
.legal p + p { margin-top: 1rem; }
.legal ul { list-style: disc; padding-left: 1.5rem; color: var(--muted-foreground); }
.legal ul li + li { margin-top: 0.5rem; }
.legal .address {
  margin-top: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background-color: var(--muted-20);
}
.legal .address p:first-child { font-weight: 700; color: var(--foreground); }

/* ---------- footer ------------------------------------------------------- */

.footer { border-top: 1px solid var(--border); background-color: var(--muted-05); padding: 5rem 0 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 4rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1.5fr; gap: 4rem; } }
.footer h4 { font-size: 1.125rem; margin-bottom: 2rem; }
.footer-about { color: var(--muted-foreground); line-height: 1.7; margin: 1.5rem 0; max-width: 28rem; }
.footer-links li + li { margin-top: 1rem; }
.footer-links a { color: var(--muted-foreground); font-weight: 500; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--primary); }
.footer-contact li { display: flex; align-items: center; gap: 0.75rem; color: var(--muted-foreground); }
.footer-contact li + li { margin-top: 1.5rem; }
.footer-contact .tile {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
  background-color: var(--primary-10);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-contact a { display: flex; align-items: center; gap: 0.75rem; transition: color 0.2s ease; }
.footer-contact a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom p { font-size: 0.875rem; color: var(--muted-foreground); font-weight: 500; }
.footer-legal { display: flex; gap: 2rem; }
.footer-legal a { font-size: 0.875rem; color: var(--muted-foreground); font-weight: 500; transition: color 0.2s ease; }
.footer-legal a:hover { color: var(--primary); }

/* ---------- 404 ---------------------------------------------------------- */

.notfound { padding: 12rem 1.5rem 8rem; text-align: center; }
.notfound .code { font-size: 5rem; font-weight: 700; color: var(--primary-20); line-height: 1; }
.notfound h1 { font-size: 2.25rem; margin: 1.5rem 0 1rem; }
.notfound p { color: var(--muted-foreground); font-size: 1.125rem; margin-bottom: 2.5rem; }

/* ---------- reveal-on-scroll -------------------------------------------- */

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- progressive enhancement -------------------------------------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 0.75rem 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* Reveal animations only run when JavaScript is available, so content is
   never invisible if the script fails to load. */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(20px); }
.js .reveal.in { opacity: 1; transform: none; }
