/* ============================================================
   EZARC — Design System
   Montserrat (display) + Inter (body)
   ============================================================ */

/* ── Design Tokens ── */
:root {
  --ez-red:        #FE0000;
  --ez-red-dark:   #D40000;
  --ez-black:      #000000;
  --ez-white:      #FFFFFF;
  --ez-gray:       #B4B4B4;
  --ez-gray-light: #EFEFEF;
  --ez-gray-soft:  #F6F6F6;
  --ez-ink:        #111111;
  --ez-muted:      #6B6B6B;

  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --fs-display: clamp(45px, 6.8vw, 106px);
  --fs-h1:      clamp(32px, 4.4vw, 67px);
  --fs-h2:      clamp(22px, 2.8vw, 42px);
  --fs-h3:      clamp(16px, 1.6vw, 22px);
  --fs-eyebrow: 12px;
  --fs-body:    17px;
  --fs-small:   14px;

  --container: 1280px;
  --gutter:    clamp(20px, 4vw, 64px);
  --section-y: clamp(80px, 10vw, 160px);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--ez-ink);
  background: var(--ez-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--ez-red); color: var(--ez-white); }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { padding: var(--section-y) 0; }

/* ── Typography Utilities ── */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ez-ink);
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.eyebrow.on-dark { color: var(--ez-white); }
.eyebrow.muted   { color: var(--ez-muted); }
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--ez-red);
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 10px;
  transform: translateY(-1px);
  flex-shrink: 0;
}

.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-display);
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-h1);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-h2);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h3);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
}
.lead {
  font-family: var(--font-body);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--ez-muted);
  max-width: min(56ch, 100%);
}
.section-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(80px, 11vw, 180px);
  line-height: 0.85;
  color: var(--ez-gray-light);
  letter-spacing: -0.04em;
  user-select: none;
}

/* ── Section Header ── */
.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 64px;
}
.section-head .left  { display: flex; flex-direction: column; gap: 14px; }
.section-head .right { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.num-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.num-tag .num {
  background: var(--ez-red);
  color: var(--ez-white);
  padding: 4px 10px;
  border-radius: 4px;
}
@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .h1 { font-size: clamp(28px, 7vw, 40px); }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn .arrow {
  display: inline-flex;
  width: 22px; height: 22px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: currentColor;
  transition: transform .2s ease;
  flex-shrink: 0;
}
.btn:hover .arrow { transform: translate(2px, 0); }
.btn .arrow svg { width: 12px; height: 12px; display: block; }

.btn-primary { background: var(--ez-red); color: var(--ez-white); }
.btn-primary .arrow { background: var(--ez-white); }
.btn-primary .arrow svg { color: var(--ez-red); }
.btn-primary:hover { background: var(--ez-red-dark); }

.btn-dark { background: var(--ez-black); color: var(--ez-white); }
.btn-dark .arrow { background: var(--ez-red); }
.btn-dark .arrow svg { color: var(--ez-white); }
.btn-dark:hover { background: #1a1a1a; }

.btn-outline {
  background: transparent;
  color: var(--ez-black);
  box-shadow: inset 0 0 0 1.5px var(--ez-black);
}
.btn-outline .arrow { background: var(--ez-black); }
.btn-outline .arrow svg { color: var(--ez-white); }
.btn-outline:hover { background: var(--ez-black); color: var(--ez-white); }
.btn-outline:hover .arrow { background: var(--ez-red); }

.btn-outline-white {
  background: transparent;
  color: var(--ez-white);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.5);
}
.btn-outline-white:hover { background: var(--ez-white); color: var(--ez-ink); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  background: var(--ez-black);
  color: var(--ez-white);
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background .2s ease;
}
.btn-whatsapp:hover { background: var(--ez-red); }
.btn-whatsapp svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── EZARC Logo ── */
.ezarc-logo {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  user-select: none;
}
.ezarc-logo .e {
  background: var(--ez-red);
  color: var(--ez-white);
  padding: 0.04em 0.12em 0.06em;
  margin-right: -0.02em;
  display: inline-block;
}
.ezarc-logo .rest { color: var(--ez-black); }
.ezarc-logo.on-dark .rest { color: var(--ez-white); }

.ez-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.04em;
  width: 40px; height: 40px;
  background: var(--ez-black);
  color: var(--ez-white);
  border-radius: 8px;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}
.ez-mark .e { background: var(--ez-red); color: var(--ez-white); padding: 0 3px; margin-right: 1px; }

/* ── NAV LOGO IMAGE ── */
.nav-logo {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* ── Mascota card overlay ── */
.mascota-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 360px;
  margin: 0 auto;
}
.mascota-wrap img { display: block; width: 100%; }
.mascota-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px 20px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  text-align: center;
}
.mascota-label span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ez-white);
}

/* ── Social icon buttons ── */
.social-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.social-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.08);
  color: var(--ez-white);
  border: 1px solid rgba(255,255,255,0.15);
  transition: background .2s, border-color .2s;
}
.social-btn:hover { background: var(--ez-red); border-color: var(--ez-red); }
.social-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.social-btn--dark {
  background: var(--ez-gray-soft);
  color: var(--ez-ink);
  border: 1px solid rgba(0,0,0,0.1);
}
.social-btn--dark:hover { background: var(--ez-red); color: var(--ez-white); border-color: var(--ez-red); }

/* ── Cat tiles (non-clickable) ── */
.cat-tile {
  cursor: default;
}

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand .ezarc-logo { font-size: 26px; }
.nav-links {
  display: flex;
  gap: 38px;
  align-items: center;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ez-ink);
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--ez-red);
  transition: width .25s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--ez-red); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ez-black);
  color: var(--ez-white);
  align-items: center; justify-content: center;
  cursor: pointer;
  border: none;
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
}

/* ── SERVICE CARDS (shared) ── */
.svc-card {
  background: var(--ez-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform .25s ease, box-shadow .25s ease;
  border: 1px solid rgba(0,0,0,0.06);
}
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.18);
}
.svc-card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--ez-black);
  color: var(--ez-white);
  display: inline-flex;
  align-items: center; justify-content: center;
  flex-shrink: 0;
}
.svc-card .icon svg { width: 22px; height: 22px; color: var(--ez-red); }
.svc-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.svc-card ul {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 15px;
  color: var(--ez-muted);
}
.svc-card ul li { display: flex; align-items: start; gap: 10px; line-height: 1.45; }
.svc-card ul li::before {
  content: "";
  flex-shrink: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ez-red);
  margin-top: 8px;
}

/* ── CLINIC CARDS (shared) ── */
.clinic-card {
  background: #0F0F0F;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, border-color .25s ease;
}
.clinic-card:hover { transform: translateY(-4px); border-color: var(--ez-red); }
.clinic-card .img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #222, #0a0a0a);
  position: relative;
  overflow: hidden;
}
.clinic-card .img::after {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  opacity: 0.85;
  transition: transform .4s ease, opacity .4s ease;
}
.clinic-card:hover .img::after { transform: scale(1.06); opacity: 1; }
.clinic-card .body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.clinic-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ez-white);
}
.clinic-card p { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.5; margin: 0; }
.clinic-card .more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ez-red);
  padding-top: 12px;
}

/* ── CATEGORY TILE (shared) ── */
.cat-tile {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ez-black);
  cursor: pointer;
  display: block;
}
.cat-tile::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--bg);
  background-size: cover; background-position: center;
  opacity: 0.6;
  transition: opacity .3s ease, transform .4s ease;
}
.cat-tile:hover::before { opacity: 0.85; transform: scale(1.04); }
.cat-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 30%, rgba(0,0,0,0.85) 100%);
}
.cat-tile .label {
  position: absolute;
  left: 18px; right: 18px; bottom: 18px;
  color: var(--ez-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.cat-tile .label .arrow {
  width: 24px; height: 24px;
  background: var(--ez-red);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ── CONTACT FORM (shared) ── */
.contact-form {
  background: var(--ez-white);
  color: var(--ez-ink);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ez-ink);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 15px;
  padding: 14px 16px;
  border: 1.5px solid var(--ez-gray);
  border-radius: var(--radius-sm);
  background: var(--ez-white);
  color: var(--ez-ink);
  transition: border-color .2s ease;
  outline: none;
  -webkit-appearance: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--ez-red); box-shadow: 0 0 0 3px rgba(254,0,0,0.08); }
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

/* ── FOOTER ── */
.footer {
  background: var(--ez-black);
  color: var(--ez-white);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .ezarc-logo { font-size: 32px; display: inline-flex; }
.footer-brand p {
  margin: 18px 0 0;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  max-width: 36ch;
  line-height: 1.7;
}
.footer-col h5 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 18px;
  color: rgba(255,255,255,0.5);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.85); transition: color .2s ease; }
.footer-col a:hover { color: var(--ez-red); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  transition: background .2s ease;
}
.footer-social a:hover { background: var(--ez-red); }
.footer-social svg { width: 16px; height: 16px; color: var(--ez-white); }

/* ── FAB ── */
.fab {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--ez-red);
  color: var(--ez-white);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(254,0,0,0.5);
  z-index: 100;
  transition: transform .2s ease, box-shadow .2s ease;
}
.fab:hover { transform: scale(1.06); box-shadow: 0 16px 36px -8px rgba(254,0,0,0.6); }
.fab svg { width: 26px; height: 26px; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--ez-white);
  padding: 120px 0 72px;
  border-bottom: 1px solid var(--ez-gray-light);
}
.page-hero .eyebrow { margin-bottom: 22px; }
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-h1);
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--ez-ink);
  margin: 0 0 22px;
  max-width: 18ch;
}
.page-hero h1 .accent {
  display: inline-block;
  background: var(--ez-red);
  color: var(--ez-white);
  padding: 0.02em 0.18em 0.06em;
  margin: 0 0.04em;
  transform: skew(-2deg);
}
.page-hero .lead { color: var(--ez-muted); }
.page-hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: end;
}
@media (max-width: 860px) {
  .page-hero-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ── REVEAL ANIMATION ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s ease, transform .8s ease;
  }
  .reveal.in { opacity: 1; transform: none; }
  .reveal-d1 { transition-delay: 0.1s; }
  .reveal-d2 { transition-delay: 0.2s; }
  .reveal-d3 { transition-delay: 0.3s; }
  .reveal-d4 { transition-delay: 0.4s; }
}

/* ── MARQUEE ── */
.hero-marquee {
  background: var(--ez-black);
  color: var(--ez-white);
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.marquee-track {
  display: flex;
  gap: 48px;
  padding: 22px 0;
  white-space: nowrap;
  animation: marquee 36s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 48px;
}
.marquee-track .sep {
  width: 8px; height: 8px;
  background: var(--ez-red);
  display: inline-block;
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* Fade-word (visible solo en móvil) */
.hero-fade-words { display: none; }

@keyframes fade-word {
  0%, 100% { opacity: 0; }
  4%        { opacity: 1; }
  13%       { opacity: 1; }
  17%       { opacity: 0; }
}

@media (max-width: 768px) {
  .marquee-track { display: none; }
  .hero-fade-words {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 22px 16px;
    position: relative;
    min-height: 64px;
  }
  .hero-fade-word {
    position: absolute;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ez-white);
    opacity: 0;
    animation: fade-word 12s ease-in-out infinite;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .hero-fade-word::after {
    content: '';
    width: 8px; height: 8px;
    background: var(--ez-red);
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
  }
}

/* ── PROJECT CARD (galería) ── */
.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--ez-black);
  aspect-ratio: 4/3;
  cursor: pointer;
}
.project-card-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.6s ease;
}
.project-card:hover .project-card-bg { transform: scale(1.06); }
.project-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px 24px;
}
.project-card-cat {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ez-red);
  margin-bottom: 5px;
}
.project-card-title { color: var(--ez-white); font-family: var(--font-display); font-size: 16px; font-weight: 700; line-height: 1.2; }
.project-card-loc   { color: rgba(255,255,255,0.5); font-size: 13px; margin-top: 4px; }

/* ── FILTER TABS ── */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-tab {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--ez-gray-light);
  color: var(--ez-muted);
  background: transparent;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.filter-tab:hover { border-color: var(--ez-ink); color: var(--ez-ink); }
.filter-tab.active { background: var(--ez-black); color: var(--ez-white); border-color: var(--ez-black); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: calc(var(--section-y) * 0.7) 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 100px 0 56px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .nav-cta .btn-whatsapp { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .marquee-track, *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
