/* Fuentes del cliente: Century Gothic (textos) y Neon 80s (marca) */
@font-face {
  font-family: "Century Gothic Web";
  src: url("../assets/fonts/century-gothic.ttf") format("truetype");
  font-weight: 100 500;
  font-display: swap;
}

@font-face {
  font-family: "Century Gothic Web";
  src: url("../assets/fonts/century-gothic-bold.ttf") format("truetype");
  font-weight: 600 900;
  font-display: swap;
}

@font-face {
  font-family: "Neon 80s";
  src: url("../assets/fonts/neon-80s.ttf") format("truetype");
  font-display: swap;
}

/* Terli DJ's — landing page styles */
/* Fuentes autoalojadas (antes venían de Google Fonts, que bloqueaba el render). */
:root {
  --bg: #0a0a0a;
  --bg-footer: #050505;
  --panel: #41436e;
  --header: #3a406e;
  --acc: #3a406e;
  --cta: #e4590f;
  --fg: #fefefe;
  --fg-muted: rgba(244, 241, 248, 0.72);
  --whatsapp: #25d366;
  --spotify: #1db954;
  --instagram: #e1306c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Century Gothic Web", "Century Gothic", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--acc);
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

input,
select,
button,
textarea {
  font: inherit;
  color: inherit;
}

::placeholder {
  color: rgba(244, 241, 248, 0.35);
}

.page {
  max-width: 100%;
  position: relative;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}

.section {
  padding: clamp(56px, 10vw, 120px) clamp(16px, 4vw, 48px);
}

.section--tight {
  padding: clamp(48px, 8vw, 96px) clamp(16px, 4vw, 48px);
}

.section--reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.section--reveal.is-visible {
  opacity: 1;
  transform: none;
}

.h2 {
  font-family: "Century Gothic Web", "Century Gothic", system-ui, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: clamp(30px, 6vw, 58px);
  line-height: 0.95;
  margin: 0;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acc);
}

@keyframes terliPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.82;
  }
}

@keyframes terliDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(0, -6%, 0) scale(1.06);
  }
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acc);
  animation: terliPulse 2.2s ease-in-out infinite;
}

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px clamp(16px, 4vw, 48px);
  background: var(--header);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transform: translateZ(0);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__logo img {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: none;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

.nav a {
  font-size: 14px;
  color: var(--fg);
  white-space: nowrap;
  transition: color 0.15s ease;
}

.nav a:hover {
  color: rgba(254, 254, 254, 0.7);
}

@media (min-width: 1180px) {
  .nav {
    display: flex;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  transition:
    filter 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}

.btn--acc {
  background: var(--acc);
  color: #050505;
}

.btn--acc:hover {
  filter: brightness(1.12);
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg);
  font-weight: 500;
  gap: 10px;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 14px;
  letter-spacing: 0.01em;
  background: #ffffff;
  color: var(--acc);
}

.btn--sm:hover {
  filter: brightness(0.95);
}

.btn--hero {
  min-height: 52px;
  padding: 0 26px;
}

.btn--ghost.btn--hero {
  padding: 0 24px;
}

.wa-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--whatsapp);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: min(92svh, 860px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 6vw, 72px) clamp(16px, 4vw, 48px) clamp(24px, 4vw, 48px);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  animation: terliDrift 18s ease-in-out infinite alternate;
}

.hero__bg .img-placeholder {
  height: 100%;
  border-radius: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

.hero__scrim,
.hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__scrim {
  background: linear-gradient(
    180deg,
    rgba(8, 7, 12, 0.55) 0%,
    rgba(8, 7, 12, 0.25) 35%,
    rgba(8, 7, 12, 0.88) 78%,
    #0a0a0a 100%
  );
}

.hero__glow {
  background: radial-gradient(70% 55% at 78% 18%, rgba(58, 64, 110, 0.5) 0%, transparent 70%);
}

.hero__content {
  position: relative;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(8, 7, 12, 0.4);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 241, 248, 0.75);
}

.hero__title {
  font-family: "Century Gothic Web", "Century Gothic", system-ui, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.88;
  font-size: clamp(44px, 10.5vw, 116px);
  margin: 18px 0 0;
  text-wrap: balance;
}

.hero__title span {
  color: var(--acc);
}

.hero__lede {
  max-width: 34ch;
  margin: 20px 0 0;
  font-size: clamp(17px, 2.4vw, 24px);
  line-height: 1.45;
  color: rgba(244, 241, 248, 0.82);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-top: clamp(32px, 6vw, 56px);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.hero__stat {
  padding: 18px 4px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.4);
}

.hero__stat:last-child {
  border-right: none;
}

.hero__stat:not(:first-child) {
  padding-left: clamp(12px, 2vw, 20px);
}

.hero__stat-num,
.hero__stat-label {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero__stat-num {
  font-family: "Century Gothic Web", "Century Gothic", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1;
}

.hero__stat-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 241, 248, 0.5);
  margin-top: 6px;
}

/* ---------- Reels ---------- */

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.text-link {
  font-size: 14px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.reels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(10px, 1.6vw, 18px);
  margin-top: clamp(24px, 4vw, 40px);
}

.reel {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.reel__media {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}

.reel__mute {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(8, 7, 12, 0.55);
  backdrop-filter: blur(6px);
  color: var(--fg);
  font-size: 15px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.reel__mute:hover {
  background: rgba(8, 7, 12, 0.75);
}

.reel__tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  pointer-events: none;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(8, 7, 12, 0.6);
  backdrop-filter: blur(6px);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Placeholder image slots ---------- */

.img-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.05) 0 10px,
      rgba(255, 255, 255, 0.02) 10px 20px
    ),
    linear-gradient(160deg, rgba(58, 64, 110, 0.35), rgba(255, 255, 255, 0.03));
  border: 1px dashed rgba(255, 255, 255, 0.16);
}

.img-placeholder span {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(244, 241, 248, 0.5);
}

/* ---------- Servicios ---------- */

.servicios {
  background: linear-gradient(180deg, var(--bg) 0%, var(--panel) 40%, var(--panel) 100%);
}

.servicios .h2 {
  max-width: 14ch;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
  margin-top: clamp(28px, 4vw, 48px);
}

.card {
  position: relative;
  padding: 26px 22px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #000000;
  transition: border-color 0.15s ease;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.card--featured {
  border-color: rgba(154, 161, 224, 0.55);
  overflow: hidden;
}

.card--featured:hover {
  border-color: rgba(154, 161, 224, 0.55);
}

.card__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9aa1e0;
}

.card__art {
  display: block;
  height: 84px;
  width: auto;
  color: #ffffff;
}

.card h3 {
  font-family: "Century Gothic Web", "Century Gothic", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 22px;
  margin: 18px 0 10px;
}

.card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(244, 241, 248, 0.72);
  text-wrap: pretty;
}

/* ---------- Cómo trabajamos ---------- */

.como-trabajo {
  position: relative;
  overflow: hidden;
  background: var(--panel);
}

.como-trabajo__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.como-trabajo__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.08s linear;
}

.como-trabajo__video.is-active {
  opacity: 1;
}

.como-trabajo__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(30, 31, 58, 0.55) 0%, rgba(30, 31, 58, 0.72) 100%);
}

.como-trabajo .h2,
.como-trabajo__lede,
.step h3,
.step p,
.step__num {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.como-trabajo .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.como-trabajo__lede {
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(244, 241, 248, 0.7);
  max-width: 38ch;
  text-wrap: pretty;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tag {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
}

.tag--fill {
  background: rgba(255, 255, 255, 0.06);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.steps li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.step__num {
  font-family: "Century Gothic Web", "Century Gothic", system-ui, sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--acc);
  padding-top: 3px;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
}

.step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(244, 241, 248, 0.65);
}

/* ---------- Clientes (logo marquee) ---------- */

.clientes__eyebrow {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 241, 248, 0.5);
}

.marquee {
  margin-top: clamp(24px, 4vw, 36px);
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
  animation-play-state: paused;
}

.marquee__track.is-ready {
  animation-play-state: running;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.client-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(160px, 22vw, 230px);
  height: clamp(96px, 13vw, 130px);
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 24px;
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}

/* ---------- Testimonios ---------- */

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
  margin-top: clamp(28px, 4vw, 48px);
}

.testimonial {
  margin: 0;
  padding: 28px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial__quote-mark {
  font-family: "Century Gothic Web", "Century Gothic", system-ui, sans-serif;
  font-weight: 800;
  font-size: 40px;
  line-height: 0.6;
  color: var(--acc);
}

.testimonial blockquote {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  text-wrap: pretty;
}

.testimonial figcaption {
  margin-top: auto;
  font-size: 13px;
  color: rgba(244, 241, 248, 0.55);
}

.testimonial figcaption strong {
  display: block;
  color: var(--fg);
  font-size: 15px;
  font-weight: 600;
}

/* ---------- Zona de cobertura ---------- */

.zona {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(60% 100% at 50% 0%, rgba(58, 64, 110, 0.25) 0%, transparent 70%);
}

.zona .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.zona__title {
  font-family: "Century Gothic Web", "Century Gothic", system-ui, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 0.98;
  margin: 12px 0 0;
  letter-spacing: -0.01em;
}

.zona__lede {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(244, 241, 248, 0.7);
  max-width: 40ch;
  text-wrap: pretty;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

/* ---------- Cotizar ---------- */

.cotizar {
  background: var(--panel);
}

.cotizar .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.urgency-banner {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(58, 64, 110, 0.3);
  border: 1px solid rgba(58, 64, 110, 0.6);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 18px;
}

.urgency-banner {
  background: rgba(228, 89, 15, 0.14);
  border-color: rgba(228, 89, 15, 0.55);
}

.urgency-banner .pulse-dot {
  animation-duration: 1.8s;
  background: var(--cta);
}

.cotizar .container > div:first-child {
  container-type: inline-size;
}

.cotizar__title {
  font-family: "Century Gothic Web", "Century Gothic", system-ui, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-size: clamp(2.25rem, 14.5cqi, 4.768rem);
  line-height: 0.9;
  margin: 0;
  letter-spacing: -0.03em;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
}

.cotizar__lede {
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(244, 241, 248, 0.75);
  max-width: 38ch;
  text-wrap: pretty;
}

.cotizar__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  background: #000000;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.cotizar__phone:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.form-panel {
  padding: clamp(20px, 3vw, 32px);
  border-radius: 24px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 241, 248, 0.55);
}

.field input,
.field select {
  min-height: 50px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--fg);
  outline: none;
  appearance: none;
}

/* Native dropdown list: dark panel with light text (otherwise it inherits
   the white text onto a white popup). */
.field select {
  color-scheme: dark;
}

.field select option {
  background: #141414;
  color: #ffffff;
}

.field input:focus,
.field select:focus {
  border-color: var(--acc);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}

.form__submit {
  min-height: 54px;
  margin-top: 6px;
  background: var(--cta);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(228, 89, 15, 0.35);
}

.form__submit:hover {
  filter: brightness(1.08);
}

.btn--orange {
  background: var(--cta);
  border-color: var(--cta);
  color: #ffffff;
}

.btn--orange:hover {
  box-shadow: 0 6px 20px rgba(228, 89, 15, 0.35);
  background: var(--cta);
  filter: brightness(1.08);
}

.form__note {
  margin: 0;
  font-size: 12px;
  color: rgba(244, 241, 248, 0.45);
  text-align: center;
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 0;
}

.form-success__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--acc);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.form-success h3 {
  margin: 0;
  font-family: "Century Gothic Web", "Century Gothic", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 22px;
}

.form-success p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(244, 241, 248, 0.7);
}

.form-success .btn {
  min-height: 48px;
  padding: 0 22px;
}

.form-panel.is-sent .form {
  display: none;
}

.form-panel.is-sent .form-success {
  display: flex;
}

/* ---------- Instagram ---------- */

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
  margin-top: 28px;
}

.instagram-grid .reel {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
}

/* ---------- Footer ---------- */

.footer {
  padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 48px) 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--bg-footer);
}

.footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.footer__logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.footer__about {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(244, 241, 248, 0.5);
  max-width: 30ch;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}

.footer__col span.label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 241, 248, 0.4);
}

.footer__col a,
.footer__col span.value {
  color: rgba(244, 241, 248, 0.8);
}

.footer__col a:hover {
  color: var(--acc);
}

.footer__bottom {
  max-width: 1180px;
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 12px;
  color: rgba(244, 241, 248, 0.35);
}

/* ---------- Floating social buttons ---------- */

.float-stack {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.float-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  opacity: 0.8;
  transition:
    filter 0.15s ease,
    opacity 0.15s ease;
}

.float-btn svg {
  width: 24px;
  height: 24px;
}

.float-btn:hover {
  filter: brightness(1.08);
  opacity: 1;
}

@media (max-width: 480px) {
  .float-stack {
    gap: 8px;
  }

  .float-btn {
    width: 34px;
    height: 34px;
  }

  .float-btn svg {
    width: 18px;
    height: 18px;
  }

  .back-to-top {
    width: 34px;
    height: 34px;
  }

  .back-to-top svg {
    width: 16px;
    height: 16px;
  }
}

.float-btn--spotify,
.float-btn--instagram,
.float-btn--whatsapp {
  background: var(--acc);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.back-to-top {
  position: fixed;
  left: 50%;
  bottom: clamp(14px, 3vw, 28px);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  opacity: 0;
  transform: translateX(-50%) translateY(16px) scale(0.9);
  pointer-events: none;
  transition:
    opacity 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.back-to-top.is-visible {
  opacity: 0.85;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: auto;
}

.back-to-top.is-visible:hover {
  opacity: 1;
  transform: translateX(-50%) translateY(-3px) scale(1);
}

.back-to-top svg {
  animation: backToTopBounce 2.2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes backToTopBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-2px);
  }
  50% {
    transform: translateY(-5px);
  }
  75% {
    transform: translateY(-2px);
  }
}

/* ---------- Escala tipográfica (major third 1.25) ----------
   Base p = 16px. Cada paso = anterior × 1.25.
   Para revertir: git checkout punto-guardado-pre-tipografia -- css/style.css
   (o borrar este bloque). */

:root {
  --fs-p: 1rem; /* 16px */
  --fs-h6: 1.25rem; /* 20px */
  --fs-h5: 1.5625rem; /* 25px */
  --fs-h4: 1.953rem; /* 31px */
  --fs-h3: 2.441rem; /* 39px */
  --fs-h2: 3.052rem; /* 49px */
  --fs-h1: 3.815rem; /* 61px */
  --fs-display: 5.96rem; /* 95px — hero, dos pasos sobre h1 */

  /* letter-spacing */
  --ls-h6: -0.005em;
  --ls-h5: -0.0075em;
  --ls-h4: -0.01em;
  --ls-h3: -0.015em;
  --ls-h2: -0.0175em;
  --ls-h1: -0.02em;

  /* line-height */
  --lh-p: 1.5;
  --lh-h6: 1.4;
  --lh-h4: 1.3;
  --lh-h3: 1.2;
  --lh-h2: 1.1;
  --lh-h1: 1;
}

html {
  font-size: 16px;
}

body {
  font-size: var(--fs-p);
  line-height: var(--lh-p);
}

/* h1 — título del hero */
.hero__title {
  font-size: clamp(2.75rem, 10.5vw, var(--fs-display));
  letter-spacing: var(--ls-h1);
  line-height: var(--lh-h1);
}

/* h2 — títulos de sección */
.h2,
.zona__title {
  font-size: clamp(1.875rem, 6vw, var(--fs-h2));
  letter-spacing: var(--ls-h2);
  line-height: var(--lh-h2);
}

/* números grandes de las estadísticas */
.hero__stat-num {
  font-size: clamp(1.563rem, 5vw, var(--fs-h3));
  letter-spacing: var(--ls-h3);
  line-height: var(--lh-h3);
}

/* h3 — títulos de tarjetas, pasos y confirmación */
.card h3,
.form-success h3,
.step h3 {
  font-size: var(--fs-h6);
  letter-spacing: var(--ls-h6);
  line-height: var(--lh-h6);
}

/* cita de testimonios */
.testimonial blockquote {
  font-size: var(--fs-h6);
  letter-spacing: var(--ls-h6);
  line-height: var(--lh-h6);
}

/* p — texto corrido */
.card p,
.step p,
.como-trabajo__lede,
.zona__lede,
.cotizar__lede,
.footer__about,
.form-success p {
  font-size: var(--fs-p);
  letter-spacing: normal;
  line-height: var(--lh-p);
}

/* bajada del hero (un paso arriba del párrafo) */
.hero__lede {
  font-size: clamp(var(--fs-p), 2.4vw, var(--fs-h6));
  letter-spacing: normal;
  line-height: var(--lh-p);
}

/* ---------- Ajustes para celular ---------- */
@media (max-width: 600px) {
  /* hero: las 3 cifras en una sola fila */
  .hero__stats {
    grid-template-columns: 0.85fr 1fr 1.35fr;
    margin-top: 28px;
  }

  .hero__stat {
    padding: 14px 0 0;
  }

  .hero__stat:not(:first-child) {
    padding-left: 10px;
  }

  .hero__stat-num {
    font-size: 20px;
    white-space: nowrap;
  }

  .hero__stat-label {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  /* reels: carrusel horizontal en vez de 4 videos apilados */
  .reels-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: calc(clamp(16px, 4vw, 48px) * -1);
    padding-inline: clamp(16px, 4vw, 48px);
  }

  .reels-grid::-webkit-scrollbar {
    display: none;
  }

  .reels-grid .reel {
    flex: 0 0 72%;
    scroll-snap-align: center;
  }

  /* flecha de volver arriba: a la izquierda, sin tapar el copyright */
  .back-to-top {
    left: 34px;
  }

  .footer__bottom {
    padding-left: 44px;
  }
}

/* ---------- Cómo trabajamos (celular): pasos en 2 columnas (01 02 / 03 04) ---------- */
@media (max-width: 600px) {
  .steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 clamp(16px, 4vw, 48px);
  }

  .step {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 0 24px;
  }

  .steps li:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .step h3 {
    font-size: 16px;
  }

  .step p {
    font-size: 13.5px;
    line-height: 1.5;
  }
}

.field-row {
  align-items: end;
}

/* ---------- Marca "TERLI DJ'S" en Neon 80s ---------- */
.hero__title,
.brand {
  font-family: "Neon 80s", "Century Gothic Web", sans-serif;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0.02em;
}

.hero__title {
  font-size: clamp(52px, 21vw, 170px);
  line-height: 1.05;
  text-transform: none;
  white-space: nowrap;
  text-shadow: 0 0 18px rgba(154, 161, 224, 0.55);
}

.hero__title span {
  color: #aab1ff;
}

.footer__bottom .brand {
  font-size: 15px;
}

@media (max-width: 600px) {
  /* que los botones flotantes no tapen la ultima cifra */
  .hero__stat:last-child .hero__stat-label {
    max-width: 11ch;
  }
}
