:root {
  --brand-red: #e30613;
  --brand-red-hot: #f81800;
  --brand-black: #0b0b0b;
  --brand-white: #ffffff;
  --bg: #f7f7f5;
  --bg-elevated: #ffffff;
  --bg-inverse: #121212;
  --line: #d6d6d2;
  --line-strong: #1a1a1a;
  --text: #141414;
  --text-muted: #5c5c5c;
  --text-on-red: #ffffff;
  --text-on-dark: #f5f5f5;
  --whatsapp: #128c7e;
  --focus: #e30613;
  --font-display: "Rubik", "Heebo", sans-serif;
  --font-body: "Heebo", "Rubik", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@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;
  }
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

img {
  max-width: 100%;
  display: block;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.font-display {
  font-family: var(--font-display);
}

.ltr-isolate {
  direction: ltr;
  unicode-bidi: isolate;
}

.container {
  width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg-elevated) 95%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--brand-black);
}

.brand-link img {
  width: 2.25rem;
  height: 2.25rem;
}

.nav-desktop {
  display: none;
  gap: 0.25rem;
  align-items: center;
}

.nav-desktop a {
  padding: 0.5rem 0.75rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-desktop a.active,
.nav-desktop a:hover {
  color: var(--brand-red);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menu-toggle {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-elevated);
  cursor: pointer;
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--line);
  padding: 0.75rem 0 1rem;
}

.nav-mobile.open {
  display: block;
}

.nav-mobile a {
  display: block;
  padding: 0.75rem 0.5rem;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
  .nav-mobile {
    display: none !important;
  }
}

.btn-primary,
.btn-secondary,
.btn-secondary-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none !important;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.btn-primary {
  background: var(--brand-red);
  color: var(--text-on-red);
}

.btn-primary:hover {
  background: var(--brand-red-hot);
}

.btn-primary.large {
  min-height: 56px;
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-secondary {
  background: transparent;
  color: var(--brand-white);
  border-color: var(--brand-white);
}

.btn-secondary:hover {
  background: var(--brand-white);
  color: var(--brand-black);
}

.btn-secondary-dark {
  background: transparent;
  color: var(--brand-black);
  border-color: var(--brand-black);
}

.btn-secondary-dark:hover {
  background: var(--brand-black);
  color: var(--brand-white);
}

.btn-compact {
  min-height: 44px;
  min-width: 44px;
  padding: 0.5rem 0.85rem;
  font-size: 0.9375rem;
}

.wa-fab {
  position: fixed;
  z-index: 40;
  inset-inline-start: max(1.25rem, env(safe-area-inset-left));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 6px;
  background: var(--brand-red);
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  text-decoration: none !important;
  transition: opacity 200ms ease, transform 200ms ease;
}

.wa-fab:hover {
  background: var(--brand-red-hot);
}

.wa-fab.is-hidden-for-dock,
body.keyboard-open .wa-fab {
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.5rem);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--brand-black);
  color: white;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-settle 850ms ease-out both;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.25));
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-block: 7rem 4rem;
  animation: rtl-enter 700ms ease-out both;
}

@media (min-width: 768px) {
  .hero-copy {
    justify-content: center;
    padding-block: 5rem;
  }
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  line-height: 1.05;
  margin: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 3.2vw, 1.85rem);
  margin: 0.75rem 0 0;
  max-width: 36rem;
}

.hero-support {
  max-width: 38ch;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.82);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

@keyframes hero-settle {
  from {
    opacity: 0;
    transform: scale(1.06);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes rtl-enter {
  from {
    opacity: 0;
    transform: translateX(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes tile-in {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.surface-concrete {
  background-color: var(--bg);
  background-image: radial-gradient(ellipse at 20% 0%, rgba(0, 0, 0, 0.03), transparent 50%),
    linear-gradient(180deg, #f7f7f5 0%, #efefec 100%);
}

.section {
  padding-block: 4rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0;
}

.section-sub {
  color: var(--text-muted);
  margin-top: 0.5rem;
  max-width: 40rem;
}

.services-list {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  border-block: 1px solid var(--line);
}

.services-list li {
  display: grid;
  gap: 0.75rem;
  padding-block: 2rem;
  border-bottom: 1px solid var(--line);
}

.services-list li:last-child {
  border-bottom: 0;
}

@media (min-width: 768px) {
  .services-list li {
    grid-template-columns: minmax(0, 14rem) 1fr;
    gap: 2.5rem;
  }
}

.steps {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  display: flex;
  gap: 1rem;
  border-top: 2px solid var(--brand-black);
  padding-top: 1rem;
}

.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--brand-red);
}

.project-grid {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .project-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-tile {
  animation: tile-in 600ms ease-out both;
}

.project-tile a {
  text-decoration: none;
  color: inherit;
}

.project-thumb {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--line);
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.project-tile:hover .project-thumb img {
  transform: scale(1.03);
}

.project-meta {
  margin-top: 0.75rem;
}

.project-meta h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin: 0;
}

.project-meta p {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.trust-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.trust-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--line);
}

.trust-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faq-item {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

.faq-item dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
}

.faq-item dd {
  margin: 0.5rem 0 0;
  color: var(--text-muted);
  max-width: 42rem;
}

.cta-band {
  background: var(--bg-inverse);
  color: var(--text-on-dark);
  text-align: center;
  padding-block: 4rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 32rem;
  margin-inline: auto;
}

.page-hero {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--line);
  padding-block: 3rem;
}

.page-hero .eyebrow {
  color: var(--brand-red);
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0.5rem 0 0;
}

.filter-bar {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.filter-row {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  max-width: 100%;
  padding-bottom: 0.25rem;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.35rem 0.85rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
}

.filter-chip:hover {
  color: var(--text);
  text-decoration: none;
}

.filter-chip.active {
  color: var(--brand-red);
  border-bottom-color: var(--brand-red);
  font-weight: 600;
}

.filter-select {
  width: min(100%, 28rem);
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-elevated);
  font: inherit;
}

.empty-state {
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  padding: 3rem 1.5rem;
  text-align: center;
}

.detail-hero {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 280px;
  background: var(--brand-black);
  overflow: hidden;
}

@media (min-width: 768px) {
  .detail-hero {
    aspect-ratio: 21 / 9;
    min-height: 420px;
  }
}

.detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-body {
  background: var(--bg-elevated);
  padding-block: 3rem;
}

.prose {
  max-width: 42rem;
}

.prose p {
  margin-top: 0;
  margin-bottom: 1rem;
}

.image-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .image-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.image-grid li {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--line);
}

.image-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-tag {
  position: absolute;
  bottom: 0.5rem;
  inset-inline-start: 0.5rem;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 0.65rem;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
}

.blog-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.blog-card a {
  text-decoration: none;
  color: inherit;
}

.blog-card-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--line);
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.blog-card:hover .blog-card-thumb img {
  transform: scale(1.03);
}

.blog-card h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0.85rem 0 0.35rem;
}

.blog-card .meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-panel {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
  padding-block: 4rem;
}

.contact-secondary {
  text-align: start;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.5rem;
}

.prefill-box {
  background: var(--bg);
  padding: 1rem;
  border-radius: 4px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.about-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.about-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--line);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.license-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

@media (min-width: 640px) {
  .license-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.license-grid dt {
  color: var(--text-muted);
}

.license-grid dd {
  margin: 0.15rem 0 0;
  font-weight: 600;
}

.site-footer {
  background: var(--bg-inverse);
  color: var(--text-on-dark);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-block: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.site-footer a:hover {
  color: var(--brand-red-hot);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.sticky-wa {
  position: sticky;
  bottom: 0;
  z-index: 30;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-elevated) 95%, transparent);
  backdrop-filter: blur(8px);
  padding: 0.75rem;
}

@media (min-width: 768px) {
  .sticky-wa {
    display: none;
  }
}

.muted {
  color: var(--text-muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.cookie-notice {
  position: fixed;
  z-index: 60;
  inset-inline: 1rem;
  bottom: 1rem;
  max-width: 32rem;
  background: var(--bg-inverse);
  color: var(--text-on-dark);
  padding: 1rem 1.25rem;
  border-radius: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.cookie-notice p { margin: 0; flex: 1; font-size: .9rem; }
.cookie-notice a { color: #fff; text-decoration: underline; }

.admin-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .admin-shell { grid-template-columns: 14rem 1fr; }
}
.admin-nav {
  background: var(--bg-inverse);
  color: #fff;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.admin-nav a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  padding: .55rem .65rem;
  border-radius: 4px;
}
.admin-nav a:hover, .admin-nav a.active {
  background: rgba(255,255,255,.1);
  color: #fff;
  text-decoration: none;
}
.admin-main { padding: 1.5rem; background: var(--bg); }
.admin-stats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  margin-top: 1.5rem;
}
.admin-stats div {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 1rem;
  border-radius: 4px;
}
.admin-stats strong {
  display: block;
  font-size: 1.75rem;
  font-family: var(--font-display);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.25rem;
  font-size: .95rem;
  background: var(--bg-elevated);
}
.admin-table th, .admin-table td {
  border-bottom: 1px solid var(--line);
  padding: .65rem .5rem;
  text-align: start;
}
.admin-form {
  display: grid;
  gap: .85rem;
  max-width: 40rem;
  margin-top: 1rem;
}
button.linkish {
  background: none;
  border: 0;
  color: var(--brand-red);
  cursor: pointer;
  font: inherit;
  padding: 0;
  margin-inline-start: .5rem;
}
.contact-form label { display: block; font-weight: 500; }

/* —— Round 2: social icons —— */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 44px;
  min-height: 44px;
  color: var(--brand-black);
  border-radius: 4px;
  text-decoration: none !important;
  flex-shrink: 0;
}
.social-icon:hover { color: var(--brand-red); text-decoration: none; }
.social-icon-on-dark { color: var(--brand-white); }
.social-icon-on-dark:hover { color: #ffb3b8; }
.footer-social { display: flex; gap: 0.5rem; margin-top: 1rem; }
.nav-mobile-social {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 0.5rem 0;
  border-top: 1px solid var(--line);
  margin-top: 0.5rem;
}
.nav-mobile-social a { font-size: 0.95rem; color: var(--text-muted); }

/* —— Mobile nav backdrop + body lock —— */
.nav-mobile-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(0,0,0,.35);
}
.nav-mobile {
  position: relative;
  z-index: 46;
  background: var(--bg-elevated);
}
body.nav-open { overflow: hidden; }

/* —— Hero mobile scrim + type (appeal #4 / UI notes) —— */
@media (max-width: 430px) {
  .hero-brand {
    font-size: clamp(2.5rem, 12vw, 3.25rem);
  }
  .hero-title {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.35;
  }
  .hero-support {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255,255,255,.9);
    line-height: 1.5;
  }
  .hero-scrim {
    background: linear-gradient(
      to top,
      rgba(0,0,0,.88) 0%,
      rgba(0,0,0,.72) 28%,
      rgba(0,0,0,.45) 55%,
      rgba(0,0,0,.2) 78%,
      rgba(0,0,0,.08) 100%
    );
  }
  .hero-copy {
    padding-block: 5.5rem max(3.5rem, env(safe-area-inset-bottom));
    justify-content: flex-end;
  }
  .cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .cta-row .btn-primary,
  .cta-row .btn-secondary {
    width: 100%;
  }
}

/* —— Photo UI: kill card chrome on phone (appeal #5) —— */
@media (max-width: 639px) {
  .project-grid,
  .blog-grid {
    gap: 1.75rem;
  }
  .project-thumb,
  .blog-card-thumb {
    border-radius: 0;
    margin-inline: -1rem;
    width: calc(100% + 2rem);
  }
  .project-tile,
  .blog-card {
    background: transparent;
    box-shadow: none;
    border: 0;
  }
}

.project-tile,
.blog-card,
.proof-card {
  opacity: 0;
  transform: translateY(0.85rem);
  transition: opacity 500ms ease, transform 500ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.project-tile.is-revealed,
.blog-card.is-revealed,
.proof-card.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .project-tile,
  .blog-card,
  .proof-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* —— Social-proof strip (appeal #3) —— */
.proof-strip-wrap {
  padding-block: 1.75rem 2rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-elevated);
}
.proof-strip-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0 0 0.85rem;
}
.proof-strip {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.35rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.proof-card {
  flex: 0 0 72%;
  max-width: 16rem;
  scroll-snap-align: start;
  text-decoration: none !important;
  color: inherit;
}
@media (min-width: 640px) {
  .proof-card { flex-basis: 12rem; }
}
.proof-card-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--line);
  border-radius: 4px;
}
.proof-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.proof-card-cap {
  margin-top: 0.45rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.proof-card-cap span {
  display: block;
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.8rem;
}

/* —— Blog hub strip (appeal #8) + מהשטח teaser (#10) —— */
.hub-strip,
.mashatah-row {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 700px) {
  .hub-strip { grid-template-columns: repeat(2, 1fr); }
  .mashatah-row { grid-template-columns: repeat(3, 1fr); }
}
.hub-item a,
.mashatah-item a {
  display: grid;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}
@media (min-width: 480px) {
  .hub-item a {
    grid-template-columns: 7rem 1fr;
    align-items: start;
  }
}
.hub-thumb,
.mashatah-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--line);
  border-radius: 4px;
}
.hub-thumb img,
.mashatah-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hub-item h3,
.mashatah-item h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}
.hub-item p,
.mashatah-item p {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* —— Slim WA bar after scroll (appeal #7) —— */
.slim-wa-bar {
  position: fixed;
  z-index: 42;
  inset-inline: 0;
  bottom: 0;
  display: none;
  padding: 0.5rem 1rem calc(0.5rem + env(safe-area-inset-bottom));
  background: var(--brand-red);
  transform: translateY(110%);
  transition: transform 220ms ease;
}
.slim-wa-bar.is-visible {
  display: block;
  transform: translateY(0);
}
.slim-wa-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none !important;
}
@media (min-width: 768px) {
  .slim-wa-bar { display: none !important; }
}

/* —— Thumb dock on project/blog (appeal #1) —— */
.thumb-dock {
  position: fixed;
  z-index: 42;
  inset-inline: 0;
  bottom: 0;
  display: none;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg-elevated) 96%, transparent);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 220ms ease;
}
.thumb-dock.is-visible {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  transform: translateY(0);
}
.thumb-dock .btn-primary,
.thumb-dock .btn-secondary-dark {
  min-height: 48px;
  width: 100%;
  font-size: 0.95rem;
  padding-inline: 0.5rem;
}
@media (min-width: 768px) {
  .thumb-dock { display: none !important; }
}
.sticky-wa { display: none; } /* replaced by thumb-dock */

/* Filter empty coach */
.empty-coach {
  margin-top: 0.75rem;
  font-size: 0.95rem;
}
.empty-coach button,
.empty-coach a.link-clear {
  background: none;
  border: 0;
  color: var(--brand-red);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Related + gallery deep link on blog (#9) */
.post-footer-links {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.post-footer-links h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 1rem;
}
.related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.related-list a {
  font-weight: 600;
  color: var(--brand-red);
}
.gallery-deep {
  display: block;
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--bg);
  font-weight: 600;
  text-decoration: none !important;
}
.gallery-deep:hover { border-color: var(--brand-red); color: var(--brand-red); }

/* FAQ with blog links (#11) */
.faq-more {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-red);
}

/* Header spacing for social + WA */
.header-actions { gap: 0.35rem; }
@media (max-width: 380px) {
  .header-actions .wa-label { font-size: 0.8rem; }
  .header-actions .social-icon:not(:first-child) { display: none; }
}

/* Pad main when dock visible — body class set via JS optional */
body.has-bottom-dock main {
  padding-bottom: 5.5rem;
}

.filter-chip {
  min-height: 44px;
  font-size: 0.9375rem;
}

/* —— Videos —— */
.video-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}
.video-frame {
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  max-height: 70vh;
}
.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.video-caption {
  margin: 0.75rem 0 0;
  font-size: 1rem;
  line-height: 1.55;
  white-space: pre-line;
}
.video-card .meta { margin-top: 0.5rem; font-size: 0.875rem; }

/* —— Lightbox —— */
.lightbox-trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.lightbox-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0,0,0,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lightbox[hidden] { display: none !important; }
.lightbox img {
  max-width: min(96vw, 1200px);
  max-height: 90vh;
  object-fit: contain;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  min-width: 48px;
  min-height: 48px;
}
.lightbox-close { top: 0.75rem; inset-inline-end: 0.75rem; }
.lightbox-prev { inset-inline-start: 0.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { inset-inline-end: 0.5rem; top: 50%; transform: translateY(-50%); }

/* —— Testimonials —— */
.testimonial-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .testimonial-list { grid-template-columns: 1fr 1fr; }
}
.testimonial-list li {
  border-top: 2px solid var(--brand-black);
  padding-top: 1rem;
}
.testimonial-list blockquote {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  white-space: pre-line;
}
