/* ============================================================
   Abdelrahim AI Lab — stamped-document design system
   ============================================================ */

:root {
  /* Palette */
  --paper: #F7F3EB;
  --paper-2: #F0EADC;
  --ink: #15202C;
  --ink-dark: #0B1420;
  --slate: #4B5A70;
  --line: #E0D8C6;
  --teal: #0E8F6D;
  --teal-soft: #E6F7F2;
  --stamp: #C8922E;
  --stamp-soft: #E9C879;
  --mint: #2F9E6E;
  --mint-soft: #E2F1E9;
  --white: #FFFFFF;

  /* Type */
  --font-display: "Alexandria", "Segoe UI", sans-serif;
  --font-body: "Almarai", "Segoe UI", sans-serif;
  --font-mono: "Share Tech Mono", "Consolas", monospace;

  /* Rhythm */
  --container: 1120px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 14px;
  --shadow: 0 1px 2px rgba(27, 38, 52, 0.06), 0 8px 24px rgba(27, 38, 52, 0.07);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.25;
  margin: 0 0 0.5em;
  font-weight: 800;
}

h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); font-weight: 900; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.15rem; font-weight: 700; }

p { margin: 0 0 1em; }
a { color: var(--ink); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  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: -60px; inset-inline-start: 1rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--ink); color: var(--paper);
  border-radius: 8px;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0.75rem; }

/* ---------- Eyebrows / section heads ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--stamp);
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}
.eyebrow-light { color: var(--stamp-soft); }

.section-head { margin-bottom: 2.5rem; max-width: 34em; }
.section-lede { color: var(--slate); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: #26344A; box-shadow: 0 10px 28px rgba(27, 38, 52, 0.22); }

.btn-accent {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(14, 143, 109, 0.25);
}
.btn-accent:hover { background: #0A7A5E; box-shadow: 0 12px 28px rgba(14, 143, 109, 0.28); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
}
.btn-outline:hover { border-color: var(--ink); background: var(--paper-2); }

.btn-light {
  background: var(--paper);
  color: var(--ink);
}
.btn-light:hover { background: var(--white); box-shadow: var(--shadow); }

.btn-small { padding: 0.55rem 1.1rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(21, 32, 44, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.9rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  white-space: nowrap;
}

/* ---------- Logo shield mark ---------- */
.logo-mark { flex: none; }

.shield-path {
  stroke-dasharray: 140;
  stroke-dashoffset: 140;
  animation: draw-shield 0.8s var(--ease) 0.2s forwards;
}
.shield-fill {
  animation: fill-shield 0.4s var(--ease) 0.7s forwards;
}
.check-path {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: draw-check 0.4s var(--ease) 1.0s forwards;
}

@keyframes draw-shield {
  to { stroke-dashoffset: 0; }
}
@keyframes fill-shield {
  to { opacity: 1; }
}
@keyframes draw-check {
  to { stroke-dashoffset: 0; }
}

/* ---------- Animated wordmark text ---------- */
.wordmark-text {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
}
.wordmark-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--white);
  opacity: 0;
  animation: fade-slide-in 0.5s var(--ease) 0.4s forwards;
}

/* AI Lab — typewriter reveal + neon glow */
.wordmark-lab {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--teal);
  letter-spacing: 0.12em;
  position: relative;
  display: inline-block;
  /* typewriter: clip from right, expand left */
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2.5px solid var(--teal);
  opacity: 1;
  animation:
    lab-type 0.6s steps(7, end) 1.1s forwards,
    lab-glow 2s ease-in-out 1.8s infinite alternate,
    cursor-blink 0.6s step-end 1.1s 4;
}

@keyframes fade-slide-in {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes lab-type {
  from { width: 0; }
  to { width: 5.8em; }
}
@keyframes lab-glow {
  0% {
    text-shadow: 0 0 4px rgba(14, 143, 109, 0.3);
    filter: brightness(1);
  }
  100% {
    text-shadow: 0 0 12px rgba(14, 143, 109, 0.6), 0 0 24px rgba(14, 143, 109, 0.2);
    filter: brightness(1.15);
  }
}
@keyframes cursor-blink {
  50% { border-color: transparent; }
}

.site-nav { display: flex; gap: clamp(1rem, 2.5vw, 2rem); }
.site-nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  padding-block: 0.25rem;
  position: relative;
  transition: color 0.2s var(--ease);
}
.site-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -2px;
  height: 2px;
  background: var(--stamp);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(3rem, 8vw, 5.5rem) 4rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset-inline-start: -120px;
  inset-block-start: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 146, 46, 0.12), transparent 65%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}

.h1-accent { color: var(--stamp); }

.lede {
  font-size: 1.15rem;
  color: var(--slate);
  max-width: 32em;
  margin-block: 1.25rem 1.75rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 1.5rem; }

.hero-points {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.95rem;
  color: var(--slate);
}
.tick { color: var(--mint); font-weight: 700; }

/* ---------- Seal stamp ---------- */
.seal {
  width: 48px; height: 48px;
  position: absolute;
  inset-block-start: -0.8rem;
  inset-inline-start: -0.8rem;
  z-index: 2;
  opacity: 0;
}
.seal-circle { fill: rgba(247, 243, 235, 0.92); stroke: var(--stamp); stroke-width: 2.5; }
.seal-text {
  font-family: var(--font-mono);
  font-size: 8.5px;
  fill: var(--stamp);
  letter-spacing: 0.06em;
}
.seal-check { font-size: 34px; fill: var(--stamp); }

.seal-hero.is-stamped {
  opacity: 1;
  animation: stamp-in 0.55s var(--ease) 0.35s both;
}
@keyframes stamp-in {
  0%   { opacity: 0; transform: scale(1.6) rotate(-14deg); }
  55%  { opacity: 1; transform: scale(0.92) rotate(-10deg); }
  75%  { transform: scale(1.06) rotate(-9deg); }
  100% { opacity: 1; transform: scale(1) rotate(-9deg); }
}

/* ---------- Verification card ---------- */
.verify-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.75rem 1.75rem;
}
.verify-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.verify-photo {
  width: 88px;
  height: 88px;
  flex: none;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 4px 24px rgba(14, 143, 109, 0.22);
  border: 3px solid var(--teal);
}
.avatar {
  width: 62px; height: 62px;
  flex: none;
  border-radius: 50%;
  background: var(--ink);
  color: var(--stamp-soft);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.8rem;
  display: grid;
  place-items: center;
  border: 2px solid var(--stamp);
}
.verify-name { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; margin: 0; }
.verify-role { margin: 0.1rem 0 0; color: var(--slate); font-size: 0.95rem; }

.verify-cred { margin: 0 0 1.25rem; border-top: 1px dashed var(--line); padding-top: 1rem; }
.verify-cred div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.35rem;
  font-size: 0.95rem;
}
.verify-cred dt { color: var(--slate); }
.verify-cred dd { margin: 0; font-weight: 700; }

.verify-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.9rem;
  background: var(--paper-2);
  border-radius: 10px;
}
.verify-stat { text-align: center; }
.verify-stat strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.35rem;
  color: var(--ink);
  line-height: 1.1;
}
.verify-stat span { font-size: 0.78rem; color: var(--slate); }

/* ---------- Stats band ---------- */
.stats {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(2rem, 5vw, 3.25rem);
  border-block: 1px solid rgba(247, 243, 235, 0.12);
}
.stats-row {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat dt {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  color: var(--stamp-soft);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-unit { font-size: 0.6em; color: var(--stamp); }
.stat dd { margin: 0; color: rgba(247, 243, 235, 0.75); font-size: 0.95rem; }

/* ---------- Founder ---------- */
.founder { padding-block: clamp(3rem, 7vw, 5rem); }
.founder-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.founder-body { color: var(--slate); max-width: 42em; }
.founder-checks { display: flex; flex-direction: column; gap: 0.35rem; margin-top: 0.5rem; }
.check-item { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; color: var(--ink); }
.founder-marks {
  list-style: none;
  margin: 0; padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.founder-marks li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  font-weight: 700;
  border-bottom: 1px dashed var(--line);
}
.founder-marks li:last-child { border-bottom: none; }

/* ---------- Services ---------- */
.services {
  padding-block: clamp(3rem, 7vw, 5rem);
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--stamp-soft);
}
.service-name { margin-bottom: 0.4rem; }
.service-desc { color: var(--slate); font-size: 0.95rem; flex: 1; }
.service-price {
  font-size: 0.95rem;
  margin: 0.75rem 0 1rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--line);
}
.service-price strong { font-family: var(--font-mono); font-size: 1.15rem; color: var(--ink); }

/* ---------- Proof / galleries ---------- */
.proof { padding-block: clamp(3rem, 7vw, 5rem); }
.gallery { margin-bottom: 2.75rem; }
.gallery-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  overflow: hidden;
}

/* Gallery title h3 text — slide in from right + stamp glow */
.gallery-title h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  opacity: 0;
  animation: title-slide 0.5s var(--ease) 0.1s forwards;
}
.gallery:nth-of-type(2) .gallery-title h3 {
  animation-delay: 0.1s;
}

@keyframes title-slide {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
.gallery-count {
  font-family: var(--font-mono);
  color: var(--stamp);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  opacity: 0;
  animation: gallery-num-pop 0.4s var(--ease) forwards;
}
.gallery:nth-of-type(1) .gallery-count { animation-delay: 0.2s; }
.gallery:nth-of-type(2) .gallery-count { animation-delay: 0.2s; }

/* Gallery title text — underline draw-in + glow */
.gallery-title::after {
  content: "";
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, var(--stamp), transparent);
  transform: scaleX(0);
  transform-origin: right;
  animation: line-draw 0.6s var(--ease) 0.3s forwards;
}
.gallery:nth-of-type(2) .gallery-title::after {
  transform-origin: left;
  animation: line-draw-rev 0.6s var(--ease) 0.3s forwards;
}

@keyframes gallery-num-pop {
  0% { opacity: 0; transform: scale(0.5) rotate(-10deg); }
  60% { opacity: 1; transform: scale(1.15) rotate(2deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes line-draw {
  from { transform: scaleX(0); transform-origin: right; }
  to { transform: scaleX(1); transform-origin: right; }
}
@keyframes line-draw-rev {
  from { transform: scaleX(0); transform-origin: left; }
  to { transform: scaleX(1); transform-origin: left; }
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.proof-slot {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--white);
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0.9rem;
  transition: border-color 0.2s var(--ease);
}
.proof-slot:hover { border-color: var(--stamp-soft); }

.tag {
  position: absolute;
  inset-block-start: 0.7rem;
  inset-inline-end: 0.7rem;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  border: 1px solid;
  background: var(--paper);
}
.tag-gold { color: var(--stamp); border-color: var(--stamp-soft); }
.tag-mint { color: var(--mint); border-color: var(--mint); background: var(--mint-soft); }
.tag-ink  { color: var(--ink);  border-color: var(--ink);  background: var(--paper-2); }

.slot-blur {
  position: absolute;
  inset: 0;
  padding: 1.4rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  filter: blur(3.5px);
  opacity: 0.55;
  user-select: none;
}
.blur-bar {
  height: 11px;
  border-radius: 6px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.blur-bar.b1 { width: 70%; }
.blur-bar.b2 { width: 90%; }
.blur-bar.b3 { width: 55%; }
.blur-star {
  color: var(--stamp);
  font-size: 1.1rem;
  letter-spacing: 0.2em;
}
.tx-amount {
  height: 20px;
  width: 45%;
  background: var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  color: var(--slate);
  font-size: 0.7rem;
}

.slot-note {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  color: var(--slate);
  background: rgba(247, 243, 235, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.5rem;
  margin: 0;
}

.privacy-note {
  margin-top: 2rem;
  text-align: center;
  color: var(--slate);
  font-size: 0.95rem;
  border: 1px dashed var(--line);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  background: var(--paper-2);
}

/* ---------- Photo proof slots ---------- */
.proof-slot--photo {
  padding: 0;
  border-style: solid;
  border-color: var(--line);
  background: var(--white);
}
.proof-slot--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
.proof-slot--photo .tag {
  z-index: 2;
}

/* Reviews grid — 5 columns for 10 items */
.gallery-grid--reviews {
  grid-template-columns: repeat(5, 1fr);
}

/* ---------- Guarantees ---------- */
.guarantees { padding-block: clamp(3rem, 7vw, 5rem); background: var(--paper-2); border-block: 1px solid var(--line); }
.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.guarantee-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.guarantee-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.guarantee-icon {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 1px solid var(--line);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.guarantee-card h3 { margin-bottom: 0.5rem; }
.guarantee-card p { color: var(--slate); font-size: 0.93rem; margin: 0; }

/* ---------- Community ---------- */
.community { padding-block: clamp(3rem, 7vw, 5rem); }

/* ---------- Final CTA ---------- */
.final-cta {
  padding-block: clamp(2.5rem, 6vw, 4rem);
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.final-cta-text { max-width: 38em; }
.final-cta-text h2 { color: var(--stamp-soft); margin-bottom: 0.4rem; }
.final-cta-text p { color: rgba(247, 243, 235, 0.75); margin: 0; }
.final-cta-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.community-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  background: var(--ink);
  color: var(--paper);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(2rem, 5vw, 3.25rem);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.community-card::after {
  content: "";
  position: absolute;
  inset-inline-end: -80px;
  inset-block-end: -80px;
  width: 240px; height: 240px;
  border-radius: 50%;
  border: 1.5px dashed rgba(233, 200, 121, 0.4);
}
.community-body { max-width: 34em; position: relative; z-index: 1; }
.community-body p:last-of-type { color: rgba(247, 243, 235, 0.75); margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding-block: 3rem 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-brand p { color: var(--slate); font-size: 0.95rem; margin: 0.75rem 0 0; max-width: 24em; }
.footer-brand .wordmark-name { color: var(--ink); }
.footer-brand .wordmark-lab { color: var(--teal); }
.footer-heading {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-nav a, .footer-contact a {
  text-decoration: none;
  color: var(--slate);
  font-size: 0.95rem;
  width: fit-content;
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--slate);
}
.footer-note { margin: 0; }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Focus visible ---------- */
:focus-visible {
  outline: 3px solid var(--stamp);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid--reviews { grid-template-columns: repeat(3, 1fr); }
  .guarantees-grid { grid-template-columns: repeat(2, 1fr); }
  .founder-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .site-nav { display: none; }
  .header-inner { justify-content: space-between; }
  .services-grid, .gallery-grid, .gallery-grid--reviews, .guarantees-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-points { flex-direction: column; gap: 0.4rem; }
  .community-card { flex-direction: column; align-items: flex-start; }
}

/* ---------- Print ---------- */
@media print {
  body { background: #fff; }
  .site-header, .btn, .seal { display: none; }
  .verify-card { box-shadow: none; }
  [data-reveal] { opacity: 1; transform: none; }
}
