/* =====================================================================
   StartColor — hoja de estilos única.
   Paleta tomada del logo. Sin dependencias, sin preprocesadores.
   ===================================================================== */

:root {
  --sc-ink: #141414;
  --sc-ink-soft: #2b2f36;
  --sc-paper: #fafbfc;
  --sc-paper-dim: #f1f3f6;
  --sc-slate: #5b6470;
  --sc-slate-soft: #8a919b;
  --sc-line: #e4e7eb;

  --sc-cyan: #059dd4;
  --sc-teal: #057892;
  --sc-magenta: #f7077b;
  --sc-magenta-dark: #ad194b;
  --sc-orange: #fc690a;
  --sc-orange-dark: #f54210;
  --sc-wa: #25d366;

  --sc-font-display: "Sora", "Segoe UI", sans-serif;
  --sc-font-body: "Inter", "Segoe UI", sans-serif;

  --sc-radius: 16px;
  --sc-radius-lg: 22px;
  --sc-wrap: 1120px;
  --sc-header-h: 72px;

  --sc-shadow-sm: 0 2px 10px -6px rgba(20, 20, 20, 0.28);
  --sc-shadow: 0 18px 40px -28px rgba(20, 20, 20, 0.45);
  --sc-shadow-lg: 0 30px 60px -30px rgba(20, 20, 20, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--sc-header-h) + 16px);
}

body {
  margin: 0;
  background: var(--sc-paper);
  color: var(--sc-ink);
  font-family: var(--sc-font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--sc-font-display);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--sc-cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--sc-magenta);
  color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--sc-ink);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: 0 0 10px 0;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
}

.wrap {
  width: 100%;
  max-width: var(--sc-wrap);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------------------------------------------------------------- Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.62rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sc-font-body);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

.btn .ico {
  width: 19px;
  height: 19px;
  flex: none;
}

.btn--wa {
  background: var(--sc-wa);
  color: #fff;
  box-shadow: 0 10px 24px -14px rgba(37, 211, 102, 0.9);
}
.btn--wa:hover {
  background: #1fbb5b;
  box-shadow: 0 16px 30px -14px rgba(37, 211, 102, 0.9);
}

.btn--dark {
  background: var(--sc-ink);
  color: #fff;
  box-shadow: var(--sc-shadow-sm);
}
.btn--dark:hover {
  background: #000;
}

.btn--ghost {
  background: transparent;
  color: var(--sc-ink);
  border-color: var(--sc-line);
}
.btn--ghost:hover {
  border-color: var(--sc-ink);
  background: #fff;
}

/* ---------------------------------------------------------------- Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 251, 252, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-stuck {
  border-bottom-color: var(--sc-line);
  box-shadow: 0 6px 24px -20px rgba(20, 20, 20, 0.6);
}

.header-inner {
  height: var(--sc-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex: none;
}

.brand-mark {
  width: 34px;
  height: auto;
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--sc-font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}

/* Es una frase, no una etiqueta: va en caja baja y sin tracking abierto,
   que a 51 caracteres desbordaría el encabezado. */
.brand-tag {
  font-size: 0.68rem;
  letter-spacing: 0.005em;
  color: var(--sc-slate-soft);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a:not(.btn) {
  position: relative;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--sc-slate);
  padding: 0.25rem 0;
  transition: color 0.18s ease;
}

.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--sc-cyan), var(--sc-magenta));
  transition: right 0.25s ease;
}

.site-nav a:not(.btn):hover {
  color: var(--sc-ink);
}
.site-nav a:not(.btn):hover::after {
  right: 0;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--sc-line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  position: relative;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--sc-ink);
  transform: translateX(-50%);
  transition: transform 0.22s ease, opacity 0.18s ease;
}

.nav-toggle-bars {
  top: 50%;
  margin-top: -1px;
}
.nav-toggle-bars::before {
  content: "";
  top: -6px;
}
.nav-toggle-bars::after {
  content: "";
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: translateX(-50%) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: translateX(-50%) rotate(-45deg);
}

/* ---------------------------------------------------------------- Hero */
.hero {
  position: relative;
  padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(3rem, 7vw, 5rem);
  overflow: hidden;
  background: radial-gradient(
      1000px 520px at 12% -10%,
      rgba(5, 157, 212, 0.13),
      transparent 62%
    ),
    radial-gradient(
      820px 440px at 92% 0%,
      rgba(247, 7, 123, 0.11),
      transparent 60%
    ),
    radial-gradient(
      760px 460px at 60% 110%,
      rgba(252, 105, 10, 0.1),
      transparent 62%
    ),
    var(--sc-paper);
}

#fx-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.95rem;
  border: 1px solid var(--sc-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--sc-slate);
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sc-orange);
  box-shadow: 0 0 0 4px rgba(252, 105, 10, 0.18);
}

.hero-title {
  margin: 1.4rem 0 0;
  font-size: clamp(2.1rem, 6.2vw, 3.9rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.grad {
  background: linear-gradient(
    100deg,
    var(--sc-cyan),
    var(--sc-magenta) 52%,
    var(--sc-orange)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 42rem;
  margin: 1.25rem auto 0;
  font-size: clamp(1rem, 2.1vw, 1.1rem);
  color: var(--sc-slate);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  list-style: none;
  margin: 2.75rem 0 0;
  padding: 0;
}

.hero-facts li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 12.5rem;
  flex: 1 1 12.5rem;
  max-width: 16rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--sc-line);
  border-radius: var(--sc-radius);
  background: rgba(255, 255, 255, 0.8);
  text-align: left;
}

.hero-facts strong {
  font-family: var(--sc-font-display);
  font-size: 1rem;
  font-weight: 700;
}

.hero-facts span {
  font-size: 0.84rem;
  color: var(--sc-slate);
}

/* ---------------------------------------------------------------- Cinta del hero */
.ribbon {
  position: relative;
  z-index: 1;
  margin-top: clamp(2.25rem, 5vw, 3.25rem);
  overflow: hidden;
  /* Se difumina en los extremos para que no corte en seco. */
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}

.ribbon-track {
  display: flex;
  gap: 0.85rem;
  width: max-content;
  animation: ribbon-scroll 55s linear infinite;
}

.ribbon:hover .ribbon-track {
  animation-play-state: paused;
}

.ribbon-track img {
  flex: none;
  width: clamp(112px, 15vw, 168px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  background: var(--sc-paper-dim);
  box-shadow: 0 12px 28px -22px rgba(20, 20, 20, 0.8);
}

@keyframes ribbon-scroll {
  from {
    transform: translateX(0);
  }
  to {
    /* La pista se duplica por JS, así que -50% cierra el bucle. */
    transform: translateX(-50%);
  }
}

/* ---------------------------------------------------------------- Secciones */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section--tint {
  background: var(--sc-paper-dim);
}

.section--dark {
  background: var(--sc-ink);
  color: #fff;
}

.section--dark .section-kicker {
  color: #9aa3b0;
}

.section--dark .section-title {
  color: #fff;
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sc-slate-soft);
  margin-bottom: 0.7rem;
}

.section-title {
  font-size: clamp(1.45rem, 4vw, 2.35rem);
  font-weight: 700;
  text-wrap: balance;
}

.section-lede {
  margin-top: 0.9rem;
  color: var(--sc-slate);
  font-size: 1.02rem;
}

/* ---------------------------------------------------------------- Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: 1.1rem;
}

.card {
  overflow: hidden;
  border: 1px solid var(--sc-line);
  border-radius: var(--sc-radius-lg);
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.card > :not(.card-photo) {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.card > h3 ~ p:last-child {
  margin-bottom: 1.6rem;
}

.card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--sc-shadow);
}

.card-photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sc-paper-dim);
}

.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover .card-photo img {
  transform: scale(1.05);
}

/* El ícono monta sobre el borde inferior de la foto. */
.card .card-icon {
  position: relative;
  margin-top: -23px;
  box-shadow: 0 8px 18px -10px rgba(20, 20, 20, 0.6);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  margin-bottom: 1rem;
  color: #fff;
}

.card-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-icon--cyan {
  background: linear-gradient(135deg, var(--sc-cyan), var(--sc-teal));
}
.card-icon--teal {
  background: linear-gradient(135deg, var(--sc-teal), #045b70);
}
.card-icon--magenta {
  background: linear-gradient(135deg, var(--sc-magenta), var(--sc-magenta-dark));
}
.card-icon--magenta-dark {
  background: linear-gradient(135deg, var(--sc-magenta-dark), #7d1237);
}
.card-icon--orange {
  background: linear-gradient(135deg, var(--sc-orange), var(--sc-orange-dark));
}
.card-icon--orange-dark {
  background: linear-gradient(135deg, var(--sc-orange-dark), #c22f08);
}

.card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--sc-slate);
  font-size: 0.95rem;
}

/* ---------------------------------------------------------------- Galería */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gallery-item.is-extra {
  display: none;
}

.gallery.is-expanded .gallery-item.is-extra {
  display: block;
}

.shot {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--sc-radius);
  overflow: hidden;
  background: var(--sc-line);
  cursor: zoom-in;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.shot img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.shot::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(to top, rgba(10, 10, 12, 0.78), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.shot-cap {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.8rem;
  z-index: 1;
  color: #fff;
  font-family: var(--sc-font-display);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.shot:hover,
.shot:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--sc-shadow);
}

.shot:hover img,
.shot:focus-visible img {
  transform: scale(1.06);
}

.shot:hover::after,
.shot:focus-visible::after {
  opacity: 1;
}

.shot:hover .shot-cap,
.shot:focus-visible .shot-cap {
  opacity: 1;
  transform: none;
}

.gallery-more {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}

/* En pantallas táctiles el hover no existe: el rótulo se deja fijo. */
@media (hover: none) {
  .shot::after,
  .shot-cap {
    opacity: 1;
    transform: none;
  }
}

/* ---------------------------------------------------------------- Visor de imágenes */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(12, 12, 14, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.lightbox[hidden] {
  display: none;
}

.lightbox.is-open {
  opacity: 1;
}

.lb-figure {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.lb-figure img {
  max-width: 100%;
  max-height: calc(100vh - 9rem);
  width: auto;
  border-radius: 10px;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9);
}

.lb-figure figcaption {
  color: #d3d8df;
  font-size: 0.92rem;
  text-align: center;
  max-width: 40rem;
}

.lb-btn {
  position: absolute;
  z-index: 1;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.lb-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lb-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lb-close {
  top: 1rem;
  right: 1rem;
}

.lb-prev {
  left: 1rem;
  top: 50%;
  margin-top: -23px;
}

.lb-next {
  right: 1rem;
  top: 50%;
  margin-top: -23px;
}

@media (max-width: 560px) {
  .lb-prev {
    left: 0.5rem;
  }
  .lb-next {
    right: 0.5rem;
  }
  .lb-figure img {
    max-height: calc(100vh - 11rem);
  }
}

/* ---------------------------------------------------------------- Proceso */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.5rem 1.4rem 1.5rem;
  border-radius: var(--sc-radius-lg);
  background: #fff;
  border: 1px solid var(--sc-line);
}

.step-n {
  display: block;
  font-family: var(--sc-font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 0.65rem;
  background: linear-gradient(90deg, var(--sc-cyan), var(--sc-magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.step p {
  color: var(--sc-slate);
  font-size: 0.93rem;
}

/* ---------------------------------------------------------------- B2B */
.b2b {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.ticks {
  list-style: none;
  margin: 1.6rem 0 2rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.ticks li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--sc-ink-soft);
  font-size: 0.98rem;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sc-cyan), var(--sc-teal));
}

.ticks li::after {
  content: "";
  position: absolute;
  left: 0.32rem;
  top: 0.72em;
  width: 0.4rem;
  height: 0.2rem;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.b2b-aside {
  overflow: hidden;
  border-radius: var(--sc-radius-lg);
  background: #fff;
  border: 1px solid var(--sc-line);
  box-shadow: var(--sc-shadow-lg);
}

.b2b-aside > :not(.aside-photo) {
  margin-left: 1.6rem;
  margin-right: 1.6rem;
}

.b2b-aside > :last-child {
  margin-bottom: 1.75rem;
}

.aside-photo {
  margin: 0 0 1.6rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sc-paper-dim);
}

.aside-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.aside-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sc-slate-soft);
  margin-bottom: 1rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1.3rem;
  padding: 0;
}

.chips li {
  padding: 0.42rem 0.85rem;
  border: 1px solid var(--sc-line);
  border-radius: 999px;
  background: var(--sc-paper);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--sc-ink-soft);
}

.aside-note {
  font-size: 0.88rem;
  color: var(--sc-slate);
  border-top: 1px solid var(--sc-line);
  padding-top: 1.1rem;
}

/* ---------------------------------------------------------------- Por qué */
.why {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 1.4rem 2rem;
}

.why-item {
  padding-top: 1.2rem;
  border-top: 2px solid rgba(255, 255, 255, 0.14);
}

.why-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.why-item p {
  color: #a8b0bc;
  font-size: 0.95rem;
}

/* ---------------------------------------------------------------- Nosotros */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

.about-copy p:not(.section-kicker) {
  color: var(--sc-slate);
  margin-top: 1rem;
}

.about-copy .section-title + p {
  margin-top: 1.3rem;
}

.about-copy strong {
  color: var(--sc-ink);
  font-weight: 600;
}

.about-photo {
  margin: 1.75rem 0 0;
  border-radius: var(--sc-radius-lg);
  overflow: hidden;
  background: var(--sc-paper-dim);
  aspect-ratio: 16 / 9;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-cards {
  display: grid;
  gap: 1rem;
}

.mv {
  padding: 1.4rem 1.4rem;
  border-radius: var(--sc-radius-lg);
  border: 1px solid var(--sc-line);
  background: #fff;
}

.mv p {
  color: var(--sc-slate);
  font-size: 0.95rem;
}

.mv-tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.24rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.mv-tag--cyan {
  background: linear-gradient(135deg, var(--sc-cyan), var(--sc-teal));
}
.mv-tag--magenta {
  background: linear-gradient(135deg, var(--sc-magenta), var(--sc-magenta-dark));
}
.mv-tag--orange {
  background: linear-gradient(135deg, var(--sc-orange), var(--sc-orange-dark));
}

.mv-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mv-values li {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--sc-paper-dim);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ---------------------------------------------------------------- Contacto */
.contact {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 1.1rem;
  border: 1px solid var(--sc-line);
  border-radius: var(--sc-radius);
  background: #fff;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
}

a.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--sc-shadow-sm);
}

.contact-btn--whatsapp:hover {
  border-color: var(--sc-wa);
}
.contact-btn--email:hover {
  border-color: var(--sc-cyan);
}

.contact-icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-btn--whatsapp .contact-icon {
  background: var(--sc-wa);
}
.contact-btn--email .contact-icon {
  background: linear-gradient(135deg, var(--sc-cyan), var(--sc-teal));
}
.contact-btn--place .contact-icon {
  background: linear-gradient(135deg, var(--sc-orange), var(--sc-orange-dark));
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.contact-label {
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--sc-slate-soft);
}

.contact-value {
  font-weight: 600;
  font-size: 0.97rem;
  overflow-wrap: anywhere;
}

/* ---------------------------------------------------------------- Formulario */
.quote {
  padding: 1.75rem 1.6rem;
  border-radius: var(--sc-radius-lg);
  background: #fff;
  border: 1px solid var(--sc-line);
  box-shadow: var(--sc-shadow-lg);
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 8rem;
  gap: 1rem;
}

.field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sc-ink-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--sc-line);
  border-radius: 12px;
  background: var(--sc-paper);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--sc-ink);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.field textarea {
  resize: vertical;
  min-height: 6rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  background: #fff;
  border-color: var(--sc-cyan);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--sc-slate-soft);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: var(--sc-magenta);
  background: #fff5f9;
}

.quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.3rem;
}

.quote-note {
  font-size: 0.8rem;
  color: var(--sc-slate-soft);
}

/* ---------------------------------------------------------------- Mapa */
.map-block {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.map-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.map-title {
  font-size: 1.15rem;
  font-weight: 700;
}

.map-address {
  margin-top: 0.25rem;
  color: var(--sc-slate);
  font-size: 0.95rem;
}

.map-frame {
  position: relative;
  border-radius: var(--sc-radius-lg);
  overflow: hidden;
  border: 1px solid var(--sc-line);
  background: var(--sc-paper-dim);
  box-shadow: var(--sc-shadow);
  aspect-ratio: 21 / 9;
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 700px) {
  .map-frame {
    aspect-ratio: 4 / 3;
  }
  .map-head .btn {
    width: 100%;
  }
}

/* ---------------------------------------------------------------- Footer */
.site-footer {
  background: var(--sc-ink);
  color: #c6ccd6;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-brand .brand-mark {
  width: 44px;
}

.footer-name {
  font-family: var(--sc-font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: #fff;
}

.footer-tag {
  font-size: 0.74rem;
  letter-spacing: 0.005em;
  line-height: 1.4;
  color: #8d95a1;
  max-width: 22rem;
}

.footer-nav {
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.footer-nav a,
.footer-meta a {
  color: #c6ccd6;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.18s ease;
}

.footer-nav a:hover,
.footer-meta a:hover {
  color: #fff;
}

.footer-meta {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  font-size: 0.92rem;
}

.footer-nit {
  color: #8d95a1;
  font-size: 0.82rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: #8d95a1;
}

/* ---------------------------------------------------------------- WhatsApp flotante */
.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 60;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--sc-line);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -14px rgba(20, 20, 20, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.9);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
}

.wa-float.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.wa-float:hover {
  transform: translateY(-3px) scale(1.04);
}

.wa-float svg {
  width: 30px;
  height: 30px;
  color: var(--sc-wa);
}

/* ---------------------------------------------------------------- Animaciones */
.reveal {
  opacity: 0;
  transform: translateY(12px);
}

.hero.is-ready .reveal {
  animation: reveal-in 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--d) * 110ms);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-in {
  opacity: 1;
  transform: none;
}

@keyframes reveal-in {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 940px) {
  .b2b,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* La frase de marca solo cabe junto al menú horizontal en pantallas
   anchas. Por debajo se oculta: el nombre solo alcanza. */
@media (max-width: 1140px) {
  .site-header .brand-tag {
    display: none;
  }
}

/* El menú tiene seis entradas más el botón de WhatsApp; por debajo de
   este ancho ya no entra en una línea junto a la marca. */
@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: var(--sc-header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    background: var(--sc-paper);
    border-bottom: 1px solid transparent;
    transition: max-height 0.32s ease, padding 0.32s ease,
      border-color 0.32s ease;
  }

  .site-nav.is-open {
    max-height: 26rem;
    padding: 0.5rem 1.25rem 1.25rem;
    border-bottom-color: var(--sc-line);
    box-shadow: 0 20px 30px -26px rgba(20, 20, 20, 0.6);
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav li {
    border-bottom: 1px solid var(--sc-line);
  }

  .site-nav a:not(.btn) {
    display: block;
    padding: 0.85rem 0;
    font-size: 1rem;
    color: var(--sc-ink);
  }

  .site-nav a:not(.btn)::after {
    display: none;
  }

  .nav-cta {
    margin-top: 1rem;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .hero-facts li {
    min-width: 100%;
    max-width: none;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .quote-actions .btn {
    width: 100%;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .wa-float {
    width: 50px;
    height: 50px;
  }
}

/* ---------------------------------------------------------------- Movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero.is-ready .reveal {
    animation: none;
  }
  .btn:hover,
  .card:hover,
  a.contact-btn:hover,
  .wa-float:hover,
  .shot:hover,
  .shot:hover img,
  .card:hover .card-photo img {
    transform: none;
  }

  /* La cinta deja de moverse sola y se puede desplazar a mano. */
  .ribbon {
    overflow-x: auto;
  }
  .ribbon-track {
    animation: none;
  }
  .lightbox {
    transition: none;
  }
}

/* ---------------------------------------------------------------- Impresión */
@media print {
  .site-header,
  .wa-float,
  #fx-canvas,
  .quote,
  .nav-toggle,
  .ribbon,
  .lightbox,
  .gallery-more {
    display: none !important;
  }
  .gallery .gallery-item.is-extra {
    display: block;
  }
  body {
    background: #fff;
  }
  .reveal,
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}
