/* =================================================================
   SYNATIX Fisioterapia & Quiropraxia
   Sistema de diseño + componentes
   ================================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Paleta Aequilis */
  --teal: #006677;
  --teal-dark: #004F5C;
  --teal-light: #0089A0;
  --sage: #8FA39A;
  --sage-light: #B5C5BF;
  --sand: #EAE1D3;
  --sand-dark: #D9CDB6;
  --white: #F8F9F9;
  --charcoal: #3A3A3A;
  --charcoal-soft: #5A5A5A;
  --line: rgba(58, 58, 58, 0.12);
  --line-strong: rgba(58, 58, 58, 0.24);

  /* Tipografía */
  --font-display: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Espaciado (escala 4px) */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-6: 1.5rem;
  --s-8: 2rem;
  --s-10: 2.5rem;
  --s-12: 3rem;
  --s-16: 4rem;
  --s-20: 5rem;
  --s-24: 6rem;
  --s-32: 8rem;

  /* Radius */
  --radius-sm: 4px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 20px rgba(0, 102, 119, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 102, 119, 0.12);

  /* Layout */
  --container: 1200px;
  --container-narrow: 900px;
  --header-h: 72px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 200ms;
  --t-base: 300ms;
  --t-slow: 600ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--teal-dark); }
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; color: var(--charcoal); letter-spacing: -0.01em; }
p { color: var(--charcoal-soft); }

/* ---------- Utilidades ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--s-6); }
.container--narrow { max-width: var(--container-narrow); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--teal);
}

.section { padding-block: var(--s-24); }
.section--sand { background: var(--sand); }
.section--white { background: var(--white); }
.section--teal { background: var(--teal); color: var(--white); }
.section--teal h1, .section--teal h2, .section--teal h3 { color: var(--white); }
.section--teal p { color: rgba(248, 249, 249, 0.85); }

.section-head { max-width: 720px; margin-bottom: var(--s-12); }
.section-head__title { font-size: clamp(2rem, 4vw, 2.75rem); margin-block: var(--s-3) var(--s-4); }
.section-head__lead { font-size: 1.0625rem; color: var(--charcoal-soft); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 0.875rem 1.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--teal); color: var(--white); box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--teal-dark); color: var(--white); box-shadow: var(--shadow-lg); }

.btn--outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn--outline:hover { background: var(--teal); color: var(--white); }

.btn--ghost { background: transparent; color: var(--charcoal); }
.btn--ghost:hover { background: rgba(58, 58, 58, 0.06); color: var(--charcoal); }

.btn--lg { padding: 1.125rem 2.25rem; font-size: 1rem; }

.btn .icon { width: 1.1em; height: 1.1em; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(248, 249, 249, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), background var(--t-base);
}
.navbar.is-scrolled { border-bottom-color: var(--line); background: rgba(248, 249, 249, 0.92); }

.navbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  color: var(--charcoal);
}
.navbar__logo img { height: 44px; width: 44px; object-fit: contain; }
.navbar__logo:hover { color: var(--charcoal); }

.navbar__menu {
  display: none;
  gap: var(--s-8);
  align-items: center;
}
.navbar__menu a {
  position: relative;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--charcoal);
  padding-block: var(--s-2);
}
.navbar__menu a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--teal);
  transition: width var(--t-base) var(--ease-out);
}
.navbar__menu a:hover::after, .navbar__menu a.is-active::after { width: 100%; }
.navbar__menu a.is-active { color: var(--teal); }

.navbar__cta { display: flex; gap: var(--s-3); align-items: center; }
.navbar__cta .btn { padding: 0.625rem 1.25rem; font-size: 0.875rem; }

.navbar__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--t-fast);
}
.navbar__toggle:hover { background: rgba(0, 102, 119, 0.08); }
.navbar__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease-out), opacity var(--t-fast);
}
.navbar__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle.is-open span:nth-child(2) { opacity: 0; }
.navbar__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.navbar__drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  padding: var(--s-8) var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--t-base) var(--ease-out), opacity var(--t-base);
  z-index: 99;
}
.navbar__drawer.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.navbar__drawer a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  padding: var(--s-3) 0;
  color: var(--charcoal);
  border-bottom: 1px solid var(--line);
}
.navbar__drawer a.is-active { color: var(--teal); }
.navbar__drawer .btn { margin-top: var(--s-6); align-self: stretch; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + var(--s-24));
  padding-bottom: var(--s-24);
  background: var(--sand);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(0, 102, 119, 0.06), transparent 50%),
              radial-gradient(circle at 10% 90%, rgba(143, 163, 154, 0.18), transparent 45%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-12);
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-4);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--teal);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--teal);
  margin-bottom: var(--s-6);
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: var(--s-6);
}
.hero__title em {
  font-style: normal;
  color: var(--teal);
  position: relative;
  display: inline-block;
}
.hero__title em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0.1em;
  height: 0.18em;
  background: var(--sage);
  opacity: 0.4;
  z-index: -1;
}
.hero__subtitle {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: var(--charcoal-soft);
  max-width: 540px;
  margin-bottom: var(--s-8);
}
.hero__ctas { display: flex; gap: var(--s-4); flex-wrap: wrap; }

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
}
.hero__isotype {
  width: clamp(260px, 45vw, 480px);
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 102, 119, 0.18));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-16px) rotate(-2deg); }
}

@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1.2fr 1fr; }
}

/* ---------- Stat strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-6);
  padding: var(--s-8);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.stat {
  text-align: center;
  padding: var(--s-2);
}
.stat__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  color: var(--teal);
  line-height: 1;
  margin-bottom: var(--s-2);
}
.stat__label {
  font-size: 0.875rem;
  color: var(--charcoal-soft);
  letter-spacing: 0.02em;
}
@media (min-width: 768px) {
  .stat-strip { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Cards genéricas ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--s-8);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out), border-color var(--t-base);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

/* ---------- "Por qué SYNATIX" ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
}
.feature {
  text-align: left;
  padding: var(--s-8);
  background: var(--white);
  border-radius: var(--radius);
  border-top: 3px solid var(--teal);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--sand);
  border-radius: var(--radius);
  color: var(--teal);
  margin-bottom: var(--s-6);
}
.feature__icon svg { width: 28px; height: 28px; stroke-width: 1.75; }
.feature__title { font-size: 1.25rem; margin-bottom: var(--s-3); }
.feature__desc { font-size: 0.9375rem; color: var(--charcoal-soft); }
@media (min-width: 768px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Servicios ---------- */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--s-8);
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out), border-color var(--t-base);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--sage));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease-out);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: var(--sand);
  border-radius: var(--radius);
  color: var(--teal);
  margin-bottom: var(--s-6);
  transition: background var(--t-base), color var(--t-base);
}
.service-card:hover .service-card__icon { background: var(--teal); color: var(--white); }
.service-card__icon svg { width: 32px; height: 32px; stroke-width: 1.75; }
.service-card__title { font-size: 1.375rem; margin-bottom: var(--s-3); }
.service-card__desc { font-size: 0.9375rem; color: var(--charcoal-soft); margin-bottom: var(--s-6); flex: 1; }
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--teal);
  letter-spacing: 0.02em;
}
.service-card__link svg { width: 16px; height: 16px; transition: transform var(--t-fast); }
.service-card:hover .service-card__link svg { transform: translateX(4px); }

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

/* ---------- Equipo ---------- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
}
.team-card {
  text-align: center;
  padding: var(--s-8) var(--s-6);
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-card__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto var(--s-6);
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--teal), var(--sage));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow);
}
.team-card__name { font-size: 1.125rem; margin-bottom: var(--s-1); }
.team-card__role { font-size: 0.875rem; color: var(--teal); font-weight: 500; margin-bottom: var(--s-3); }
.team-card__col { font-size: 0.8125rem; color: var(--charcoal-soft); }

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

/* ---------- CTA final ---------- */
.cta-block {
  position: relative;
  padding: var(--s-16) var(--s-8);
  background: var(--teal);
  color: var(--white);
  border-radius: var(--radius-lg);
  text-align: center;
  overflow: hidden;
  margin-block: var(--s-12);
}
.cta-block::before, .cta-block::after {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(248, 249, 249, 0.06);
  pointer-events: none;
}
.cta-block::before { top: -60px; left: -40px; }
.cta-block::after { bottom: -80px; right: -40px; background: rgba(143, 163, 154, 0.2); }
.cta-block > * { position: relative; }
.cta-block__title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); color: var(--white); margin-bottom: var(--s-4); }
.cta-block__lead { color: rgba(248, 249, 249, 0.85); max-width: 580px; margin: 0 auto var(--s-8); }
.cta-block .btn--outline { color: var(--white); border-color: var(--white); }
.cta-block .btn--outline:hover { background: var(--white); color: var(--teal); }
.cta-block .btn--primary { background: var(--white); color: var(--teal); }
.cta-block .btn--primary:hover { background: var(--sand); color: var(--teal-dark); }

/* ---------- Footer ---------- */
.footer {
  background: var(--charcoal);
  color: rgba(248, 249, 249, 0.8);
  padding-block: var(--s-16) var(--s-8);
}
.footer a { color: rgba(248, 249, 249, 0.8); }
.footer a:hover { color: var(--white); }
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-10);
  margin-bottom: var(--s-12);
}
.footer__brand { max-width: 360px; }
.footer__brand .footer__logo { height: 64px; width: auto; margin-bottom: var(--s-4); }
.footer__brand p { color: rgba(248, 249, 249, 0.7); font-size: 0.9375rem; }
.footer__col h4 {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--s-4);
}
.footer__col ul li { margin-bottom: var(--s-2); font-size: 0.9375rem; }
.footer__col ul li a { display: inline-flex; align-items: center; gap: var(--s-2); }
.footer__col ul li a svg { width: 16px; height: 16px; }
.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding-top: var(--s-6);
  border-top: 1px solid rgba(248, 249, 249, 0.12);
  font-size: 0.8125rem;
  color: rgba(248, 249, 249, 0.6);
}
.footer__legal { display: flex; gap: var(--s-6); flex-wrap: wrap; }
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  right: var(--s-6);
  bottom: var(--s-6);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  z-index: 90;
  transition: transform var(--t-base) var(--ease-out);
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: pulse-ring 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.whatsapp-float:hover { transform: scale(1.08); color: var(--white); }
.whatsapp-float svg { width: 28px; height: 28px; position: relative; z-index: 1; }

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  100% { box-shadow: 0 0 0 22px rgba(37, 211, 102, 0); }
}

/* ---------- Page header (Nosotros) ---------- */
.page-header {
  padding-top: calc(var(--header-h) + var(--s-16));
  padding-bottom: var(--s-16);
  background: var(--sand);
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 30%, rgba(0, 102, 119, 0.08), transparent 50%);
}
.page-header > * { position: relative; }
.page-header__title { font-size: clamp(2.25rem, 5vw, 3.5rem); margin-block: var(--s-3) var(--s-4); max-width: 720px; }
.page-header__lead { font-size: 1.125rem; color: var(--charcoal-soft); max-width: 640px; }
.page-header__breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 0.8125rem;
  color: var(--charcoal-soft);
  margin-bottom: var(--s-4);
}
.page-header__breadcrumb a { color: var(--teal); }

/* ---------- Historia (Nosotros) ---------- */
.story {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-12);
  align-items: start;
}
.story__copy h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: var(--s-6); }
.story__copy p { font-size: 1.0625rem; color: var(--charcoal-soft); margin-bottom: var(--s-4); line-height: 1.7; }
.story__copy p strong { color: var(--charcoal); }
.story__visual { position: relative; }
.story__visual .img-placeholder { aspect-ratio: 4/5; }
@media (min-width: 1024px) {
  .story { grid-template-columns: 1.4fr 1fr; gap: var(--s-16); }
}

/* ---------- Valores ---------- */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
}
.value-card {
  padding: var(--s-8);
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  text-align: center;
  transition: transform var(--t-base) var(--ease-out), border-color var(--t-base);
}
.value-card:hover { transform: translateY(-4px); border-color: var(--teal); }
.value-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--s-4);
  display: grid;
  place-items: center;
  background: var(--sand);
  color: var(--teal);
  border-radius: 50%;
}
.value-card__icon svg { width: 28px; height: 28px; stroke-width: 1.75; }
.value-card__title { font-size: 1.25rem; margin-bottom: var(--s-3); color: var(--teal); }
.value-card__desc { font-size: 0.9375rem; color: var(--charcoal-soft); }
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Instalaciones (placeholders) ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Placeholder imagen ---------- */
.img-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  aspect-ratio: 4/3;
  background: var(--sand);
  border: 2px dashed var(--teal);
  border-radius: var(--radius);
  color: var(--charcoal-soft);
  text-align: center;
  padding: var(--s-6);
  overflow: hidden;
}
.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 16px,
    rgba(0, 102, 119, 0.04) 16px,
    rgba(0, 102, 119, 0.04) 32px
  );
  pointer-events: none;
}
.img-placeholder > * { position: relative; }
.img-placeholder svg.placeholder-icon {
  width: 40px; height: 40px;
  color: var(--teal);
  opacity: 0.7;
}
.img-placeholder__caption {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.img-placeholder__hint {
  font-family: 'SF Mono', Menlo, monospace;
  font-size: 0.6875rem;
  color: var(--teal);
  opacity: 0.7;
  word-break: break-all;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="100"] { transition-delay: 100ms; }
.reveal[data-delay="200"] { transition-delay: 200ms; }
.reveal[data-delay="300"] { transition-delay: 300ms; }
.reveal[data-delay="400"] { transition-delay: 400ms; }

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

/* ---------- Focus visible ---------- */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.btn:focus-visible, .navbar__toggle:focus-visible {
  outline-offset: 4px;
}
