/* ============================================================
   VARIABLES — viven en /tokens.css (compartidas con /portal/)
============================================================ */
@import url("tokens.css");

/* ============================================================
   RESET / BASE
============================================================ */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

h1, h2, h3 {
  font-family: "Fraunces", serif;
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
h1 em, h2 em, h3 em { font-style: italic; font-weight: 600; }

p { margin: 0 0 14px; color: var(--text-muted); }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2.5px solid var(--lime);
  outline-offset: 2px;
}

.ico { width: 18px; height: 18px; flex-shrink: 0; }

/* ============================================================
   BOTONES
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  padding: 14px 26px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--lime { background: var(--lime); color: var(--black); }
.btn--lime:hover { background: var(--lime-dark); box-shadow: 0 10px 24px rgba(184, 255, 33, 0.35); }

.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.btn--outline-light:hover { background: var(--white); color: var(--black); border-color: var(--white); }

.btn--pill { background: var(--lime); color: var(--black); padding: 10px 22px; font-size: 0.88rem; }
.btn--pill:hover { background: var(--lime-dark); }

.btn--lg { padding: 16px 30px; font-size: 1rem; }
.btn--full { width: 100%; }
.btn--block { width: 100%; margin-top: 8px; }

/* ============================================================
   ELEMENTOS DE MARCA: dots, stickers, líneas
============================================================ */
.dot { font-family: "Fraunces", serif; }
.dot--red { color: var(--red); }
.dot--yellow { color: var(--yellow); }
.dot--green { color: var(--lime); }

.dash { display: inline-block; width: 30px; height: 5px; border-radius: 3px; }
.dash--red { background: var(--red); }
.dash--yellow { background: var(--yellow); margin-left: 4px; }

.sticker {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-radius: 50%;
  background: var(--lime);
  color: var(--black);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}
.sticker--eye {
  width: 84px; height: 84px;
  top: 20px; left: 20px;
  transform: rotate(-8deg);
  padding: 18px;
  z-index: 5;
}
.sticker--eye .eye-icon { width: 100%; height: 100%; color: var(--black); }
.sticker--tag {
  width: 100px; height: 100px;
  bottom: 16px; right: 16px;
  font-family: "Fraunces", serif;
  font-size: 0.88rem;
  line-height: 1.15;
  transform: rotate(6deg);
  border: 3px solid var(--black);
}

/* ============================================================
   HEADER
============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}
.header.is-scrolled,
.header--solido {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.header__brand { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.header__logo { height: 26px; width: auto; }
.header__logo--black { display: none; }
.header__brand-sub {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  align-self: flex-end;
  margin-bottom: 2px;
}

.header__nav { display: none; gap: 30px; }
.header__nav a {
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
  opacity: 0.85;
  position: relative;
  padding-bottom: 4px;
}
.header__nav a:hover { opacity: 1; }
.header__nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--lime);
  transition: right 0.2s ease;
}
.header__nav a:hover::after { right: 0; }

.header__actions { display: flex; align-items: center; gap: 14px; }
.header__actions .btn--pill { display: none; }

/* Botón "Acceso clientes" (portal) */
.btn--acceso {
  background: transparent;
  color: var(--white);
  border-color: var(--lime);
  padding: 10px 20px;
  font-size: 0.88rem;
}
.btn--acceso:hover { background: var(--lime); color: var(--black); }
.header__actions .btn--acceso { display: none; }
.mobile-menu .btn--acceso { color: var(--white); }
.mobile-menu .btn--acceso:hover { color: var(--black); }

/* Desktop chico (900–1199px): header más compacto para que entren los dos botones */
@media (min-width: 900px) and (max-width: 1199px) {
  .header__brand-sub { display: none; }
  .header__nav { gap: 18px; }
  .header__nav a { font-size: 0.86rem; white-space: nowrap; }
  .header__actions .btn--pill,
  .header__actions .btn--acceso { padding: 9px 15px; font-size: 0.82rem; }
}

.header__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0 4px;
  margin-right: -4px;
}
.header__burger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.header__burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.header__burger.is-open span:nth-child(2) { opacity: 0; }
.header__burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Menú móvil: panel desplegable debajo del header (no pantalla completa) */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  max-height: 70vh;
  max-height: 70dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--black);
  border-top: 1px solid var(--line-dark);
  border-radius: 0 0 20px 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 10px;
  padding: 6px 20px 18px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
  z-index: 400;
}
.mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s;
}
.mobile-menu a:not(.btn) {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  min-height: 48px;
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  border-bottom: 1px solid var(--line-dark);
}
.mobile-menu a:not(.btn):active,
.mobile-menu a:not(.btn):focus-visible { color: var(--lime); }
.mobile-menu .btn {
  margin-top: 16px;
  min-height: 48px;
  padding: 12px 14px;
  font-size: 0.92rem;
  width: 100%;
}
.mobile-menu .btn--pill { color: var(--black); }
/* En pantallas muy angostas los dos botones van a ancho completo */
@media (max-width: 340px) {
  .mobile-menu .btn { grid-column: 1 / -1; margin-top: 10px; }
}

.header.menu-abierto { background: var(--black); }

/* Fondo semitransparente detrás del menú (lo crea script.js) */
.mobile-menu-fondo {
  position: fixed;
  inset: 0;
  z-index: 450;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0s linear 0.22s;
}
.mobile-menu-fondo.is-open { opacity: 1; visibility: visible; transition: opacity 0.22s ease, visibility 0s; }

@media (prefers-reduced-motion: reduce) {
  .mobile-menu, .mobile-menu.is-open,
  .mobile-menu-fondo, .mobile-menu-fondo.is-open,
  .header__burger span { transition: none; transform: none; }
  .header__burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .header__burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* ============================================================
   HERO — texto + vista del Portal de clientes (HTML/CSS)
============================================================ */
.hero {
  position: relative;
  background: var(--black);
  padding: calc(var(--header-h) + 36px) 20px 64px;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  max-width: 1240px;
  margin: 0 auto;
}

.hero__text { min-width: 0; max-width: 620px; }

.hero__eyebrow {
  color: var(--lime);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.hero__title {
  font-family: "Fraunces", serif;
  font-weight: 900;
  color: var(--white);
  font-size: clamp(2.3rem, 8.4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.hero__sub {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 0 30px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 32px;
}

/* Prueba social — datos reales del portfolio (se actualizan a mano). */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hero__stat { display: flex; align-items: center; gap: 9px; }
.hero__stat .ico { width: 19px; height: 19px; color: rgba(255, 255, 255, 0.5); flex-shrink: 0; }
.hero__stat > div { display: flex; flex-direction: column; line-height: 1.25; }
.hero__stat-num { font-family: "Fraunces", serif; font-weight: 800; font-size: 1.5rem; color: var(--white); line-height: 1; }
.hero__stat-label { font-size: 0.7rem; color: rgba(255, 255, 255, 0.62); margin-top: 3px; }
.hero__stat-div { width: 1px; height: 32px; background: rgba(184, 255, 33, 0.4); }

@media (max-width: 480px) {
  .hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
  .hero__stat-div { display: none; }
}

/* --- Vista del panel ------------------------------------------------- */
.hero__panel { position: relative; min-width: 0; padding-bottom: 22px; }

.pv {
  background: #1A1A1A;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.4);
}
.pv__bar { display: flex; gap: 7px; padding: 12px 14px; background: #1A1A1A; }
.pv__dot { width: 11px; height: 11px; border-radius: 50%; }
.pv__dot--r { background: var(--red); }
.pv__dot--y { background: var(--yellow); }
.pv__dot--g { background: var(--lime); }

.pv__body { display: grid; grid-template-columns: 104px minmax(0, 1fr); }

.pv__side { background: var(--black); padding: 18px 10px; }
.pv__brand {
  display: block;
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--white);
  padding: 0 8px 16px;
}
.pv__nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pv__nav li {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  padding: 7px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.pv__nav li.is-active { background: var(--lime); color: var(--black); }

.pv__main { background: #F2F1EC; padding: 18px; min-width: 0; color: var(--text-dark); }

.pv__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.pv__hello { font-family: "Fraunces", serif; font-weight: 800; font-size: 1.3rem; line-height: 1.1; }
.pv__tag {
  background: var(--yellow);
  color: var(--black);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: 999px;
}

.pv__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.pv__kpi {
  background: var(--white);
  border-radius: 12px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.05);
}
.pv__kpi-num { font-family: "Fraunces", serif; font-weight: 800; font-size: 1.2rem; line-height: 1; }
.pv__kpi-label { font-size: 0.64rem; color: var(--text-muted); line-height: 1.25; }

.pv__next { background: var(--white); border-radius: 12px; padding: 12px; margin-bottom: 12px; }
.pv__next-title { display: block; font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 6px; }
.pv__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.pv__row:first-of-type { border-top: 0; }
.pv__badge {
  flex-shrink: 0;
  background: #DDF7E5;
  color: #13803A;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}

.pv__goal { background: var(--lime); border-radius: 12px; padding: 12px 14px; }
.pv__goal-label { display: block; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.pv__goal-text { font-family: "Fraunces", serif; font-weight: 800; font-size: 1.05rem; line-height: 1.2; }

.hero__panel-pill {
  position: absolute;
  left: 12px;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(247, 11, 43, 0.35);
  transition: transform 0.15s ease;
  z-index: 2;
}
.hero__panel-pill:hover { transform: translateY(-2px); }

@media (max-width: 420px) {
  .pv__body { grid-template-columns: minmax(0, 1fr); }
  .hero__eyebrow { font-size: 0.66rem; letter-spacing: 0.09em; }
  .pv__side { display: flex; align-items: center; gap: 8px; padding: 10px 12px; overflow: hidden; }
  .pv__brand { padding: 0; font-size: 0.95rem; }
  .pv__nav { display: flex; gap: 0; }
  .pv__nav li { padding: 4px 7px; font-size: 0.6rem; }
  .pv__main { padding: 14px; }
  .pv__kpi { padding: 10px 8px; }
  .pv__kpi-num { font-size: 1.05rem; }
}

/* --- Entrada --------------------------------------------------------- */
@keyframes hero-in-text { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes hero-in-panel { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }

.hero__text > * { animation: hero-in-text 0.7s cubic-bezier(.2, .7, .2, 1) both; }
.hero__text > :nth-child(2) { animation-delay: 0.08s; }
.hero__text > :nth-child(3) { animation-delay: 0.16s; }
.hero__text > :nth-child(4) { animation-delay: 0.24s; }
.hero__text > :nth-child(5) { animation-delay: 0.32s; }
.hero__panel { animation: hero-in-panel 0.9s cubic-bezier(.2, .7, .2, 1) 0.2s both; }

@media (prefers-reduced-motion: reduce) {
  .hero__text > *, .hero__panel { animation: none; }
}

/* ============================================================
   SECCIONES GENÉRICAS
============================================================ */
.section { padding: 70px 20px; max-width: 1240px; margin: 0 auto; }
.section--alt { background: var(--cream); max-width: none; }
.section--alt > * { max-width: 1240px; margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  margin-bottom: 10px;
  padding: 6px 14px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
}
.eyebrow--light { color: rgba(255, 255, 255, 0.7); border-color: rgba(255, 255, 255, 0.25); }

.section__title {
  font-size: clamp(1.7rem, 5vw, 2.5rem);
  color: var(--black);
  margin-bottom: 12px;
}
.section__subtitle {
  max-width: 560px;
  font-size: 1.02rem;
  margin-bottom: 40px;
}
#servicios .section__title { margin-bottom: 32px; }

/* ============================================================
   REVEAL
============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .floating-wa { animation: none !important; }
}


/* ============================================================
   MI HISTORIA
============================================================ */
.historia { background: var(--white); padding: 80px 20px; }
.historia__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: start;
}
.historia__media { position: relative; max-width: 420px; margin: 0 auto; }
.historia__photo { width: 100%; border-radius: var(--radius); }

.historia__title { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.historia__lead {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--black);
  margin-bottom: 18px;
}
.historia__content p { font-size: 1rem; }

.historia__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 30px 0;
  padding: 24px 0;
  border-top: 1.5px solid var(--line);
  border-bottom: 1.5px solid var(--line);
}
.stat__num {
  display: block;
  font-family: "Fraunces", serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--black);
}
.stat__label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.historia__quote {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 16px 24px;
  background: var(--cream);
  border-radius: var(--radius);
  border-left: 4px solid var(--lime);
  max-width: 720px;
}
.historia__quote-photo {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.historia__quote p {
  margin: 0;
  font-family: "Fraunces", serif;
  font-style: italic;
  color: var(--text-dark);
  font-size: clamp(1rem, 2.3vw, 1.05rem);
  line-height: 1.5;
}

.historia__story {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}
.historia__quote--story { align-items: center; }
.historia__quote-photo--lg { width: 64px; height: 64px; }
.historia__quote--alt { margin-left: 48px; }

.historia__story .historia__quote:nth-child(1) { transition-delay: 0s; }
.historia__story .historia__quote:nth-child(2) { transition-delay: 0.1s; }
.historia__story .historia__quote:nth-child(3) { transition-delay: 0.2s; }
.historia__story .historia__quote:nth-child(4) { transition-delay: 0.3s; }

/* ============================================================
   SERVICIOS
============================================================ */
.servicios-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.servicio-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.servicio-card:hover {
  transform: translateY(-4px);
  border-color: var(--lime);
  box-shadow: 0 16px 34px rgba(10, 10, 10, 0.3);
}
.servicio-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
.servicio-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.5) 45%, rgba(0, 0, 0, 0.05) 75%);
}
.servicio-card__body {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
}
.servicio-card h3 { font-size: 1rem; color: var(--white); margin-bottom: 4px; }
.servicio-card p { font-size: 0.82rem; color: rgba(255, 255, 255, 0.85); margin: 0; }

/* ============================================================
   CONTACTO
============================================================ */
.contacto { background: var(--black); padding: 80px 20px 70px; }
.contacto__inner { max-width: 600px; margin: 0 auto; text-align: center; }
.contacto__title { color: var(--white); font-size: clamp(1.8rem, 6vw, 2.6rem); }
.contacto__sub { color: rgba(255, 255, 255, 0.7); margin-bottom: 34px; }

.contacto__direct { display: flex; flex-direction: column; gap: 12px; }

.contacto__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 32px 0 26px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}
.contacto__divider::before, .contacto__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.form { text-align: left; display: flex; flex-direction: column; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr; gap: 16px; }
.form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}
.form input, .form select, .form textarea {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}
.form input::placeholder, .form textarea::placeholder { color: rgba(255, 255, 255, 0.4); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--lime); }
.form select option { color: var(--black); }
.form textarea { resize: vertical; }

.form__error { display: none; color: var(--red); font-weight: 600; font-size: 0.76rem; }
.form label.has-error input,
.form label.has-error select,
.form label.has-error textarea { border-color: var(--red); }
.form label.has-error .form__error { display: block; }

/* ============================================================
   FOOTER
============================================================ */
.footer { background: var(--black-soft); color: rgba(255, 255, 255, 0.8); padding: 56px 20px 120px; }
.footer__inner { max-width: 1240px; margin: 0 auto; text-align: center; }
.footer__logo { height: 30px; margin: 0 auto 26px; }

.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 26px; }
.footer__nav { row-gap: 0; }
.footer__nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.88rem; font-weight: 600; color: rgba(255, 255, 255, 0.75); }
.footer__nav a:hover { color: var(--lime); }

.footer__socials { display: flex; justify-content: center; gap: 14px; margin-bottom: 24px; }
.footer__social-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
}
.footer__social-btn:hover { background: var(--lime); color: var(--black); transform: translateY(-2px); }

.footer__tagline { font-size: 0.88rem; color: rgba(255, 255, 255, 0.5); margin-bottom: 18px; }
.footer__copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
  max-width: 280px;
  margin: 0 auto;
}

/* ============================================================
   BOTÓN FLOTANTE WHATSAPP
============================================================ */
.floating-wa {
  position: fixed;
  bottom: 20px; right: 20px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  z-index: 300;
  animation: pulse 2.4s infinite;
}
.floating-wa .ico { width: 28px; height: 28px; }
.floating-wa:hover { background: var(--whatsapp-dark); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ============================================================
   WEBS QUE HICIMOS — capturas dentro de una ventana de navegador
============================================================ */
.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;
}

.webs { background: var(--black); color: var(--white); padding: 80px 20px 90px; }
.webs__inner { max-width: 1240px; margin: 0 auto; }

.webs__title {
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 12px;
}
.webs__sub { color: rgba(255, 255, 255, 0.72); font-size: 1.05rem; max-width: 520px; margin: 0 0 44px; }

.webs__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.webs__grid + .webs__grid { margin-top: 32px; }

.web-card { min-width: 0; display: flex; flex-direction: column; gap: 16px; }

.web-card__window {
  background: #1A1A1A;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.web-card:hover .web-card__window { transform: translateY(-4px); box-shadow: 0 28px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(184, 255, 33, 0.25); }

.web-card__bar { display: flex; align-items: center; gap: 7px; padding: 10px 12px; }
.web-card__bar .pv__dot { flex-shrink: 0; }
.web-card__url {
  flex: 1;
  min-width: 0;
  margin-left: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.web-card__shot { aspect-ratio: 16 / 10; overflow: hidden; background: #222; }
.web-card__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  transition: object-position 5s cubic-bezier(.45, .05, .35, 1);
}
/* Al pasar el mouse la captura "baja", como si navegaras la web. */
.web-card:hover .web-card__shot img,
.web-card:focus-within .web-card__shot img { object-position: 50% 100%; transition-duration: 6s; }

.web-card__info { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.web-card__name { font-family: "Fraunces", serif; font-weight: 800; font-size: 1.2rem; color: var(--white); margin: 0 0 4px; }
.web-card__rubro { margin: 0; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }
.web-card--lg .web-card__name { font-size: 1.45rem; }

.web-card__link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--lime);
  border: 1.5px solid rgba(184, 255, 33, 0.45);
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.web-card__link:hover,
.web-card__link:focus-visible { background: var(--lime); color: var(--black); border-color: var(--lime); }

.webs__cta { display: flex; justify-content: center; margin-top: 56px; }

@media (min-width: 640px) {
  .webs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
}
@media (min-width: 900px) {
  .webs { padding: 110px 40px 120px; }
  .webs__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .webs__grid--lg { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
  .webs__grid + .webs__grid { margin-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .web-card__shot img,
  .web-card:hover .web-card__shot img,
  .web-card:focus-within .web-card__shot img { transition: none; object-position: 50% 0; }
  .web-card__window, .web-card:hover .web-card__window { transition: none; transform: none; }
}

/* ============================================================
   RESPONSIVE — TABLET (>=640px)
============================================================ */
@media (min-width: 640px) {
  .servicios-grid { grid-template-columns: repeat(2, 1fr); }
  .historia__stats { grid-template-columns: repeat(3, 1fr); }
  .form__row { grid-template-columns: 1fr 1fr; }
  .hero__actions { flex-direction: row; align-items: center; }
  .contacto__direct { flex-direction: row; justify-content: center; }
}

/* ============================================================
   RESPONSIVE — DESKTOP (>=900px)
============================================================ */
@media (min-width: 900px) {
  :root { --header-h: 88px; }

  .header__nav { display: flex; }
  .header__actions .btn--pill { display: inline-flex; }
  .header__actions .btn--acceso { display: inline-flex; }
  .header__actions { gap: 10px; }
  .header__burger { display: none; }
  .mobile-menu, .mobile-menu-fondo { display: none; }
  .header__logo { height: 30px; }

  .hero { padding: calc(var(--header-h) + 56px) 40px 90px; }
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
    min-height: calc(100vh - var(--header-h) - 146px);
  }
  .hero__text { max-width: none; }
  .hero__actions { flex-direction: row; align-items: center; }
  .pv { transform: rotate(-1.5deg); }
  .hero__panel-pill { left: -14px; bottom: -4px; }

  .servicios-grid { grid-template-columns: repeat(3, 1fr); }

  .historia__inner { grid-template-columns: 0.85fr 1.15fr; gap: 70px; }
  .historia__media { max-width: none; }
  .historia__quote { align-items: flex-start; }
}

/* ============================================================
   RESPONSIVE — DESKTOP GRANDE (>=1200px)
============================================================ */
@media (min-width: 1200px) {
  .hero__title { font-size: 4rem; }
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 72px; }
  .section__title { font-size: 2.7rem; }
}

/* ============================================================
   PÁGINA /clientes — GRILLA DE PROYECTOS
============================================================ */
.clientes-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--black);
  border-bottom: 2px solid var(--lime);
  min-height: 44px;
  padding-bottom: 2px;
  margin-bottom: 36px;
}
.clientes-cta-link:hover { color: var(--lime-dark); }

.proyectos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.proyecto-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid transparent;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.proyecto-card:hover, .proyecto-card:focus-visible {
  transform: translateY(-6px);
  border-color: var(--lime);
  box-shadow: 0 22px 46px rgba(10, 10, 10, 0.18);
}
.proyecto-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--black);
  overflow: hidden;
}
.proyecto-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.proyecto-card:hover .proyecto-card__media img { transform: scale(1.05); }
.proyecto-card__body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.proyecto-card__rubro {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.proyecto-card__nombre { font-family: "Fraunces", serif; font-size: 1.35rem; color: var(--black); margin: 0; }
.proyecto-card__desc { font-size: 0.92rem; color: var(--text-muted); margin: 0; }
.proyecto-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.proyecto-card__tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--text-dark);
}
.proyecto-card__cta {
  margin-top: auto;
  padding-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--black);
  font-size: 0.9rem;
}
.proyecto-card:hover .proyecto-card__cta { color: var(--lime-dark); }

/* ============================================================
   PORTFOLIO — intro con métricas + categorías por rubro
   (sección "Marcas con las que construimos"). Debajo va el panel
   de clientes por rubro (ver PANEL DE CLIENTES POR RUBRO).
============================================================ */
.portfolio-intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px 40px;
  margin-bottom: 56px;
}
.portfolio-intro__texto { flex: 1 1 380px; }
.portfolio-intro .section__subtitle { margin-bottom: 0; }

.portfolio-stats {
  flex: 1 1 380px;
  max-width: 440px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 36px;
  padding: 26px 30px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
}
.portfolio-stats__item { display: flex; flex-direction: column; gap: 6px; }
.portfolio-stats__item .ico { width: 20px; height: 20px; color: var(--text-muted); }
.portfolio-stats__numero { font-family: "Fraunces", serif; font-weight: 800; font-size: 1.9rem; color: var(--black); line-height: 1; }
.portfolio-stats__label { font-size: 0.8rem; color: var(--text-muted); }
@media (max-width: 420px) {
  .portfolio-stats { grid-template-columns: 1fr 1fr; gap: 18px 20px; padding: 22px; }
}

/* ============================================================
   PANEL DE CLIENTES POR RUBRO (home #clientes y /clientes/)
   Lo arma script.js → iniciarPanelClientes(). Pastillas de filtro
   + grilla de tarjetas claras. Mismo panel en las dos páginas.
============================================================ */
.rubros {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.rubro-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 9px 8px 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--text-dark);
  font: 600 0.88rem/1.2 "Inter", sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.rubro-pill:hover { border-color: var(--black); }
.rubro-pill:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }
.rubro-pill[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: var(--white); }
.rubro-pill__n {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: #F2F1EC;
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.rubro-pill[aria-pressed="true"] .rubro-pill__n { background: var(--lime); color: var(--black); }

.clientes-panel__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.clientes-panel__grid.is-cambiando { opacity: 0; transform: translateY(6px); }
.cliente-tarjeta[hidden] { display: none; }

.cliente-tarjeta__caja {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 22px 18px 18px;
  background: #F2F1EC;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--text-dark);
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.cliente-tarjeta__caja:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.04), 0 12px 28px rgba(10, 10, 10, 0.08);
}
a.cliente-tarjeta__caja:hover { border-color: rgba(10, 10, 10, 0.35); }
a.cliente-tarjeta__caja:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }

.cliente-tarjeta__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 84px;
  margin-bottom: 18px;
}
.cliente-tarjeta__logo img { max-width: 80%; max-height: 100%; object-fit: contain; }
/* Logos blancos (pensados para fondo negro) se pintan en tinta oscura */
.cliente-tarjeta__logo img.es-tinta { filter: brightness(0); opacity: 0.86; }

.cliente-tarjeta__nombre { font-weight: 700; font-size: 0.92rem; line-height: 1.25; }
.cliente-tarjeta__rubro { margin-top: 3px; font-size: 0.76rem; color: var(--text-muted); }

/* Flechita en las tarjetas que tienen página propia */
.cliente-tarjeta__ir {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  transition: background-color 0.2s ease;
}
.cliente-tarjeta__ir svg { width: 14px; height: 14px; }
a.cliente-tarjeta__caja:hover .cliente-tarjeta__ir,
a.cliente-tarjeta__caja:focus-visible .cliente-tarjeta__ir { background: var(--lime); }

/* Tarjeta oscura: logos que solo se leen sobre negro */
.cliente-tarjeta--oscura .cliente-tarjeta__caja { background: #0D0D0D; border-color: #0D0D0D; color: var(--white); }
.cliente-tarjeta--oscura .cliente-tarjeta__rubro { color: rgba(255, 255, 255, 0.6); }
.cliente-tarjeta--oscura .cliente-tarjeta__ir { background: rgba(255, 255, 255, 0.14); color: var(--white); }
.cliente-tarjeta--oscura a.cliente-tarjeta__caja:hover { border-color: var(--lime); }
.cliente-tarjeta--oscura a.cliente-tarjeta__caja:hover .cliente-tarjeta__ir { color: var(--black); }

@media (max-width: 700px) {
  /* Las pastillas se deslizan dentro de su fila; la página no se mueve */
  .rubros {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0 -20px 22px;
    padding: 3px 20px 6px;
    scroll-padding-inline: 20px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .rubros::-webkit-scrollbar { display: none; }
  .rubro-pill { flex-shrink: 0; }
  .clientes-panel__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cliente-tarjeta__caja { padding: 18px 14px 14px; border-radius: 16px; }
  .cliente-tarjeta__logo { height: 64px; margin-bottom: 14px; }
  .cliente-tarjeta__nombre { font-size: 0.86rem; }
}

@media (prefers-reduced-motion: reduce) {
  .clientes-panel__grid,
  .cliente-tarjeta__caja,
  .rubro-pill,
  .rubro-pill__n { transition: none; }
  .clientes-panel__grid.is-cambiando { opacity: 1; transform: none; }
  .cliente-tarjeta__caja:hover { transform: none; }
}

/* ============================================================
   PÁGINA INDIVIDUAL DE CLIENTE
============================================================ */
.cliente-back-bar { background: var(--black); padding-top: var(--header-h); }
.cliente-back-bar__inner { max-width: 1240px; margin: 0 auto; padding: 4px 20px; }
.clientes-listado { padding-top: calc(var(--header-h) + 30px); }
.cliente-back-bar a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 6px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 600;
}
.cliente-back-bar a:hover { color: var(--lime); }

.cliente-hero {
  background: var(--cliente-color, var(--black));
  color: var(--white);
  padding: 50px 20px 60px;
}
.cliente-hero__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}
.cliente-hero__logo { height: 42px; max-width: 220px; object-fit: contain; margin-bottom: 18px; }
.cliente-hero__logo-pendiente {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 14px;
  border: 1.5px dashed rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
}
.cliente-hero--claro .cliente-hero__logo-pendiente { border-color: var(--line); color: var(--text-muted); }
.cliente-hero__rubro {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--cliente-accent, var(--lime));
  margin-bottom: 10px;
}
.cliente-hero__categoria { color: rgba(255, 255, 255, 0.65); font-size: 0.85rem; margin-bottom: 16px; }
.cliente-hero__title {
  font-family: "Fraunces", serif;
  font-weight: 800;
  font-size: clamp(1.7rem, 6vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 16px;
}
.cliente-hero__desc { color: rgba(255, 255, 255, 0.78); font-size: 1rem; max-width: 540px; margin: 0; }
.cliente-hero__media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 560px;
}
.cliente-hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* Variante clara — fondo blanco / texto oscuro, acentos dorados solo en
   detalles puntuales (rubro, CTA), para clientes con identidad clara. */
.cliente-hero.cliente-hero--claro { color: var(--text-dark); border-bottom: 1px solid var(--line); }
.cliente-hero--claro .cliente-hero__categoria { color: var(--text-muted); }
.cliente-hero--claro .cliente-hero__desc { color: var(--text-muted); }
/* El logo del cliente viene en blanco (pensado para fondo oscuro);
   en la variante clara se invierte a negro para que siga siendo legible. */
.cliente-hero--claro .cliente-hero__logo { filter: invert(1) contrast(1.6); }
/* Si el logo real ya tiene tinta oscura o colores propios (no es un logo
   blanco pensado para invertirse), .cliente-hero--logo-sin-invertir anula
   el filtro para no arruinar sus colores originales. */
.cliente-hero--claro.cliente-hero--logo-sin-invertir .cliente-hero__logo { filter: none; }

.cliente-frase.cliente-frase--claro { color: var(--text-dark); }

.cliente-intro { max-width: 740px; margin: 0 auto; padding: 60px 20px 10px; }
.cliente-intro p { font-size: 1.02rem; color: var(--text-dark); }

.cliente-servicios { padding: 50px 20px; }
.cliente-servicios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
.cliente-servicio-tag {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 16px 12px;
  text-align: center;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--text-dark);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.cliente-servicio-tag:hover { border-color: var(--cliente-accent, var(--lime)); transform: translateY(-3px); }

.cliente-proyecto { max-width: 740px; margin: 0 auto; padding: 50px 20px; }
.cliente-proyecto p { font-size: 1.02rem; color: var(--text-dark); }
.cliente-proyecto__accent {
  border-left: 4px solid var(--cliente-accent, var(--lime));
  padding-left: 18px;
}

/* Uno o dos bloques editoriales cortos ("Humanizamos la marca", el punto
   fuerte de TikTok, etc.) — opt-in vía "bloquesDestacados". Reutiliza la
   misma tarjeta con borde de acento que .cliente-proyecto__accent. */
.cliente-proyecto--destacados { display: flex; flex-direction: column; gap: 28px; }
.cliente-destacado__titulo { font-family: "Fraunces", serif; font-size: 1.2rem; margin: 0 0 8px; color: var(--black); }

.cliente-galeria-wrap { padding: 10px 0 60px; }
.cliente-galeria {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.cliente-galeria__item {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: none;
  background: var(--black);
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
}
.cliente-galeria__item img,
.cliente-galeria__item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.cliente-galeria__item:hover img,
.cliente-galeria__item:hover video { transform: scale(1.05); }
.cliente-galeria__item--video { position: relative; }
.cliente-galeria__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.22);
  pointer-events: none;
}
.cliente-galeria__play svg { width: 50px; height: 50px; color: var(--white); filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5)); }

.cliente-frase { color: var(--white); text-align: center; padding: 70px 20px; background: var(--cliente-color, var(--black)); }
.cliente-frase blockquote {
  max-width: 760px;
  margin: 0 auto;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.25rem, 4.5vw, 2rem);
  line-height: 1.35;
}

/* Destacado con número/ícono (ej: "+500 mesas vendidas") — opt-in vía
   el campo "estadisticaDestacada" en data/clientes.json. */
.cliente-stat { padding: 10px 20px 10px; }
.cliente-stat__card {
  max-width: 420px;
  margin: 0 auto;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.cliente-stat__icono { font-size: 1.8rem; margin-bottom: 4px; }
.cliente-stat__numero { font-family: "Fraunces", serif; font-weight: 900; font-size: clamp(2.2rem, 8vw, 3rem); line-height: 1; color: var(--cliente-accent, var(--lime)); }
.cliente-stat__texto { font-size: 0.92rem; color: rgba(255, 255, 255, 0.78); }

/* Secuencia corta tipo "Idea → Diseño → Campaña" — opt-in vía el campo
   "procesoDestacado". Reutiliza la misma tarjeta .cliente-servicio-tag. */
.cliente-proceso { padding: 10px 20px 50px; max-width: 900px; margin: 0 auto; }
.cliente-proceso__fila { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.cliente-proceso__paso { flex: 0 1 auto; }
.cliente-proceso__flecha { color: var(--text-muted); font-size: 1.1rem; }
@media (max-width: 640px) {
  .cliente-proceso__fila { flex-direction: column; }
  .cliente-proceso__flecha { transform: rotate(90deg); }
}

/* Showcase "Desarrollo web" — opt-in vía el campo "sitioWeb". Mockup de
   navegador hecho solo con CSS (sin recursos extra) para mostrar la captura
   real del sitio dentro de un marco prolijo. */
.cliente-webdev { padding: 20px 20px 60px; background: var(--cream); }
.cliente-webdev__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
}
.cliente-webdev__texto h2 { font-family: "Fraunces", serif; font-size: 1.7rem; margin: 6px 0 14px; }
.cliente-webdev__texto p { color: var(--text-muted); margin-bottom: 20px; }
.browser-frame { border-radius: 14px; overflow: hidden; box-shadow: 0 24px 50px rgba(10, 10, 10, 0.16); background: var(--white); border: 1px solid var(--line); }
.browser-frame__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #E7E4DD; }
.browser-frame__dot { width: 9px; height: 9px; border-radius: 50%; background: #C7C3B8; }
.browser-frame__url {
  margin-left: 10px;
  flex: 1;
  background: var(--white);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 0.74rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.browser-frame img { display: block; width: 100%; height: auto; }
@media (min-width: 860px) {
  .cliente-webdev__inner { grid-template-columns: 0.85fr 1.15fr; gap: 50px; }
}

/* Decoración temática opcional en el hero (campo "decoracion": array de
   hasta 3 emojis/íconos relacionados al rubro del cliente). */
.cliente-hero { position: relative; overflow: hidden; }
.cliente-hero__decor { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.deco-icono { position: absolute; font-size: 3.2rem; opacity: 0.16; filter: grayscale(0.15); }
.deco-icono--1 { top: 8%; right: 6%; font-size: 4.5rem; transform: rotate(-12deg); }
.deco-icono--2 { bottom: 12%; right: 20%; }
.deco-icono--3 { top: 45%; right: -1%; font-size: 2.6rem; }
@media (max-width: 720px) { .deco-icono { display: none; } }

/* Tarjeta "seguinos en Instagram" — opt-in cuando el cliente tiene un
   instagram real cargado en data/clientes.json. */
.cliente-instagram { padding: 10px 20px 50px; }
.cliente-instagram__card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cliente-instagram__icono { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); display: flex; align-items: center; justify-content: center; }
.cliente-instagram__icono .ico { width: 22px; height: 22px; }
.cliente-instagram__card > div { flex: 1; min-width: 180px; }
.cliente-instagram__handle { font-family: "Fraunces", serif; font-weight: 700; font-size: 1.05rem; }
.cliente-instagram__texto { font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); }

.cliente-enfoque { max-width: 740px; margin: 0 auto; padding: 60px 20px; text-align: center; }
.cliente-enfoque p { font-size: 1.02rem; }

.cliente-nav-proyectos {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 20px 60px;
}
.cliente-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  flex: 1;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.cliente-nav-link:hover { border-color: var(--lime); transform: translateY(-3px); }
.cliente-nav-link small { text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.68rem; color: var(--text-muted); font-weight: 700; }
.cliente-nav-link span { font-family: "Fraunces", serif; font-size: 1.05rem; color: var(--black); }
.cliente-nav-link--next { text-align: right; align-items: flex-end; }
.cliente-nav-todos {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  color: var(--white);
  background: var(--black);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.cliente-nav-todos:hover { background: var(--black-soft); }

.cliente-cta { background: var(--black); color: var(--white); text-align: center; padding: 70px 20px; }
.cliente-cta h2 { font-size: clamp(1.5rem, 5vw, 2.1rem); }
.cliente-cta p { color: rgba(255, 255, 255, 0.7); margin-bottom: 26px; }
.cliente-cta__actions { display: flex; flex-direction: column; gap: 12px; max-width: 420px; margin: 0 auto; }

/* ============================================================
   LIGHTBOX DE GALERÍA (liviano, sin librerías)
============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 6, 6, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); }
.lightbox__close {
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__close:hover { background: var(--lime); color: var(--black); border-color: var(--lime); }

/* ============================================================
   404
============================================================ */
.error-page {
  min-height: 65vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 130px 20px 80px;
  background: var(--cream);
}
.error-page h1 { font-size: clamp(2rem, 8vw, 3.2rem); }
.error-page p { max-width: 460px; margin-bottom: 26px; }
.error-page__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ============================================================
   RESPONSIVE — clientes (tablet >=640px / desktop >=900px)
============================================================ */
@media (min-width: 640px) {
  .proyectos-grid { grid-template-columns: repeat(2, 1fr); }
  .cliente-galeria { grid-template-columns: repeat(2, 1fr); }
  .cliente-galeria.cliente-galeria--unica { grid-template-columns: 1fr; }
  .cliente-servicios-grid { grid-template-columns: repeat(3, 1fr); }
  .cliente-nav-proyectos { flex-direction: row; }
  .cliente-cta__actions { flex-direction: row; justify-content: center; max-width: none; }
}

@media (min-width: 900px) {
  .proyectos-grid { grid-template-columns: repeat(3, 1fr); }
  .cliente-galeria { grid-template-columns: repeat(3, 1fr); }
  .cliente-galeria.cliente-galeria--par { grid-template-columns: repeat(2, 1fr); max-width: 860px; }
  .cliente-galeria.cliente-galeria--unica { grid-template-columns: 1fr; max-width: 760px; }
  .cliente-hero__inner { grid-template-columns: 1fr 1fr; gap: 50px; }
}

/* ============================================================
   TUTORIALES
============================================================ */
.btn--yt { background: var(--red); color: var(--white); }
.btn--yt:hover { background: #d42820; box-shadow: 0 10px 24px rgba(247, 11, 43, 0.35); }

.tutoriales-hero {
  background: var(--black);
  padding: calc(var(--header-h) + 50px) 20px 70px;
  text-align: center;
}
.tutoriales-hero__inner { max-width: 680px; margin: 0 auto; }
.tutoriales-hero .hero__eyebrow-line { justify-content: center; }
.tutoriales-hero__title {
  font-family: "Fraunces", serif;
  font-weight: 900;
  color: var(--white);
  font-size: clamp(2.2rem, 8vw, 3.4rem);
  line-height: 1.1;
  margin: 18px 0 20px;
}
.tutoriales-hero__desc { color: rgba(255, 255, 255, 0.72); font-size: 1.05rem; max-width: 520px; margin: 0 auto 30px; }
.tutoriales-hero__actions { display: flex; flex-direction: column; gap: 12px; align-items: center; }

.tutoriales-videos-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.tutoriales-video-card {
  background: var(--black-soft);
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.tutoriales-video-card:hover {
  transform: translateY(-4px);
  border-color: var(--lime);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
}
.tutoriales-video-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--black);
}
.tutoriales-video-card__media iframe { width: 100%; height: 100%; border: 0; display: block; }
.tutoriales-video-card__proximamente {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.tutoriales-video-card__play {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--lime);
  display: flex; align-items: center; justify-content: center;
  color: var(--black);
}
.tutoriales-video-card__play svg { width: 20px; height: 20px; margin-left: 3px; }
.tutoriales-video-card__body { padding: 20px 22px 24px; }
.tutoriales-video-card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--black);
  background: var(--lime);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 10px;
}
.tutoriales-video-card h3 { font-size: 1.08rem; color: var(--white); margin-bottom: 8px; line-height: 1.3; }
.tutoriales-video-card p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.65); margin: 0; }

.tutoriales-tips { background: var(--black-soft); }
.tutoriales-tips .section__title { color: var(--white); }
.tutoriales-tips .section__subtitle { color: rgba(255, 255, 255, 0.65); }
.tips-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.tip-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.tip-card:hover { transform: translateY(-4px); border-color: var(--lime); }
.tip-card__icon { font-size: 1.7rem; display: block; margin-bottom: 12px; }
.tip-card h3 { font-size: 1.02rem; color: var(--white); margin-bottom: 8px; }
.tip-card p { font-size: 0.88rem; color: rgba(255, 255, 255, 0.65); margin: 0; }

.truco-block {
  max-width: 860px;
  margin: 0 auto;
  background: var(--black-soft);
  border: 2px solid var(--lime);
  border-radius: var(--radius);
  padding: 36px 24px;
}
.truco-block__badge {
  display: inline-block;
  background: var(--lime);
  color: var(--black);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 16px;
}
.truco-block h2 { color: var(--white); font-size: clamp(1.4rem, 4vw, 1.9rem); margin-bottom: 10px; }
.truco-block > p { color: rgba(255, 255, 255, 0.65); margin-bottom: 28px; }
.truco-steps { display: grid; grid-template-columns: 1fr; gap: 18px; }
.truco-step { display: flex; gap: 14px; align-items: flex-start; }
.truco-step__num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--black);
  font-family: "Fraunces", serif;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
}
.truco-step h3 { color: var(--white); font-size: 0.98rem; margin-bottom: 4px; }
.truco-step p { color: rgba(255, 255, 255, 0.6); font-size: 0.88rem; margin: 0; }
.truco-step p em { color: rgba(255, 255, 255, 0.85); font-style: italic; }

@media (min-width: 640px) {
  .tutoriales-videos-grid { grid-template-columns: repeat(2, 1fr); }
  .tips-grid { grid-template-columns: repeat(2, 1fr); }
  .tutoriales-hero__actions { flex-direction: row; justify-content: center; }
  .truco-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .tutoriales-videos-grid { grid-template-columns: repeat(3, 1fr); }
  .tips-grid { grid-template-columns: repeat(3, 1fr); }
}
