/* ============================================================
   FUENTES LOCALES — Inter Tight
   ============================================================ */

@font-face {
  font-family: "InterTight";
  src: url("font/InterTight-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "InterTight";
  src: url("font/InterTight-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "InterTight";
  src: url("font/InterTight-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   VARIABLES
   ============================================================ */

:root {
  /* --- Colores primarios --- */
  --white-broken: #F7F7F5;
  --carbon:       #1A1A18;
  --orange:       #E85D1A;

  /* --- Colores secundarios --- */
  --orange-dark:  #C44D13;
  --orange-light: #FF8A4C;
  --graphite:     #3D3D3A;

  /* --- Texto sobre fondo claro --- */
  --text-body:      #1A1A18;
  --text-secondary: #5A5A56;

  /* --- Texto sobre fondo oscuro --- */
  --text-dark-secondary: #8C8C86;
  --text-dark-tertiary:  #AEAAA8;

  /* --- Superficies / bordes --- */
  --surface-card:     #FFFFFF;
  --border-card:      #E8E8E6;
  --border-dark:      #2E2E2C;
  --surface-graphite: #3D3D3A;
  --footer-bg:        #111110;
  --footer-text:      #6E6E68;

  /* --- Tipografía --- */
  --font-family: "InterTight", sans-serif;

  --fw-regular:   400;
  --fw-semibold:  600;
  --fw-extrabold: 800;

  /* --- Escala tipográfica --- */
  --text-xs:   11px;
  --text-sm:   13px;
  --text-base: 15px;
  --text-md:   16px;
  --text-lg:   18px;
  --text-xl:   22px;

  /* --- Leading y tracking --- */
  --leading-body:    1.65;
  --leading-tight:   1.15;
  --tracking-kicker: 0.12em;
  --tracking-h1:     -3px;
  --tracking-h2:     -1.5px;

  /* --- Espaciado de sección --- */
  --section-py-mobile:  48px;
  --section-py-desktop: 72px;

  /* --- Contenedor máximo --- */
  --container-max: 1296px;
  --container-px:  24px;

  /* --- Radios y sombras --- */
  --radius-card:       12px;
  --shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.08);

  /* --- Transiciones --- */
  --transition-base:   0.2s ease;
  --transition-reveal: 0.6s ease-out;

  /* --- Easings --- */
  --ease-out-expo:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart:    cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);

  /* --- Duraciones --- */
  --duration-fast:  200ms;
  --duration-mid:   400ms;
  --duration-slow:  700ms;
  --duration-xslow: 1100ms;
}

/* ============================================================
   RESET
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

::selection {
  background-color: #C44D13;
  color: #ffffff;
}

::-moz-selection {
  background-color: #C44D13;
  color: #ffffff;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

ul, ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

input, textarea, select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

/* ============================================================
   BASE — Body y tipografía
   ============================================================ */

body {
  font-family: var(--font-family);
  font-weight: var(--fw-regular);
  font-size: var(--text-md);
  line-height: var(--leading-body);
  color: var(--text-body);
  background-color: var(--white-broken);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Kicker — etiqueta de sección */
.kicker {
  display: block;
  font-weight: var(--fw-semibold);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-kicker);
  text-transform: uppercase;
  color: #7A7A76;
}

.kicker--light {
  color: rgba(255, 255, 255, 0.4);
}

/* Encabezados */
h1 {
  font-weight: var(--fw-extrabold);
  font-size: clamp(42px, 6vw, 77px);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-h1);
  color: var(--text-body);
}

h2 {
  font-weight: var(--fw-extrabold);
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-h2);
}

h3 {
  font-weight: var(--fw-semibold);
  font-size: var(--text-lg);
  line-height: var(--leading-tight);
}

p {
  font-weight: var(--fw-regular);
  font-size: var(--text-base);
  line-height: var(--leading-body);
}

/* ============================================================
   UTILIDADES
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

/* Zoom de imagen */
.img-zoom-wrapper {
  overflow: hidden;
}

.img-zoom-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center center;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

@media (hover: hover) {
  .img-zoom-wrapper:hover img {
    transform: scale(1.06);
  }
}

/* Banda de acento naranja */
.accent-band {
  height: 4px;
  background-color: var(--orange);
}

/* Sistema reveal — IntersectionObserver agrega .visible */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--transition-reveal),
    transform var(--transition-reveal);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   BOTONES
   ============================================================ */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-family);
  font-weight: var(--fw-semibold);
  font-size: var(--text-base);
  line-height: 1;
  padding: 12px 24px;
  border-radius: 3px;
  white-space: nowrap;
  overflow: hidden;
  transition: all 700ms var(--ease-out-quart);
}

/* Primario */
.btn--primary {
  background-color: var(--orange);
  color: #ffffff;
  border: 2px solid var(--orange);
  box-shadow: inset 0 0 0 0 rgba(255, 255, 255, 0);
  transition:
    box-shadow   700ms var(--ease-out-expo),
    transform    700ms var(--ease-out-quart),
    border-color 700ms var(--ease-out-quart);
}

@media (hover: hover) {
  .btn--primary:hover {
    box-shadow: inset 0 0 0 80px rgba(255, 255, 255, 0.18);
    border-color: var(--orange);
    transform: translateY(-2px);
  }
}

.btn--primary:active {
  transform: translateY(0);
}

/* Outline */
.btn--outline {
  background-color: transparent;
  color: var(--carbon);
  border: 1.5px solid var(--carbon);
}

@media (hover: hover) {
  .btn--outline:hover {
    background-color: var(--carbon);
    color: #ffffff;
    transform: translateY(-2px);
  }
}

.btn--outline:active {
  transform: translateY(0);
}

/* Carbon → slide de texto + fondo naranja */
.btn--dark {
  background-color: var(--carbon);
  color: #ffffff;
  border: 2px solid var(--carbon);
  overflow: hidden;
  transition:
    background-color 700ms var(--ease-out-expo),
    border-color     700ms var(--ease-out-expo);
}

.btn--dark .btn__text {
  display: block;
  transition: transform 700ms var(--ease-out-expo);
  will-change: transform;
  pointer-events: none;
}

.btn--dark .btn__text + .btn__text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(110%);
}

@media (hover: hover) {
  .btn--dark:hover {
    background-color: var(--orange);
    border-color: var(--orange);
  }
  .btn--dark:hover .btn__text:first-child {
    transform: translateY(-350%);
  }
  .btn--dark:hover .btn__text + .btn__text {
    transform: translateY(0);
  }
}

.btn--dark:active {
  opacity: 0.9;
}

/* WhatsApp */
.btn--whatsapp {
  background-color: #25D366;
  color: #ffffff;
  border: 2px solid #25D366;
  align-self: flex-start;
}

@media (hover: hover) {
  .btn--whatsapp:hover {
    background-color: #1ebe5d;
    border-color: #1ebe5d;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  }
}

.btn--whatsapp:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.2);
}

.wa-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--white-broken);
  transition: box-shadow var(--transition-base),
              background-color var(--transition-base);
}

/* JS agrega .nav--scrolled al hacer scroll */
.nav--scrolled {
  box-shadow: 0 1px 16px rgba(0, 0, 0, 0.08);
  background-color: rgba(247, 247, 245, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 64px;
}

.nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav__logo-img {
  height: 41px;
  width: auto;
}

/* Links desktop — ocultos en mobile */
.nav__links {
  display: none;
  align-items: center;
}

.nav__link {
  font-weight: var(--fw-semibold);
  font-size: var(--text-sm);
  color: var(--carbon);
  transition: color var(--transition-base);
}

@media (hover: hover) {
  .nav__link:hover {
    color: var(--orange);
  }
}

.nav__cta {
  display: none;
  padding: 10px 20px;
  font-size: var(--text-sm);
}

/* Burger mobile */
.nav__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--carbon);
  border-radius: 3px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

/* Menú mobile */
.nav__mobile {
  background-color: var(--white-broken);
  border-top: 1px solid var(--border-card);
  padding: 24px var(--container-px) 32px;
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav__mobile-link {
  display: block;
  font-weight: var(--fw-semibold);
  font-size: var(--text-md);
  color: var(--carbon);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-card);
  transition: color var(--transition-base);
}

@media (hover: hover) {
  .nav__mobile-link:hover {
    color: var(--orange);
  }
}

.nav__mobile-cta {
  margin-top: 16px;
  width: 100%;
}

@media (min-width: 1024px) {
  .nav__inner {
    justify-content: center;
  }

  .nav__links {
    display: flex;
    gap: 36px;
    margin-left: 48px;
    margin-right: 40px;
  }

  .nav__cta {
    display: inline-flex;
    flex-shrink: 0;
  }

  .nav__burger {
    display: none;
  }
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  background-color: var(--white-broken);
  padding-top: 24px;
  padding-bottom: 48px;
  overflow: hidden;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  align-items: center;
}

.hero-kicker {
  display: none;
}

.hero__title        { order: 1; }
.hero__subtitle-strong { order: 2; }
.hero__actions      { order: 3; justify-content: center; }
.hero__image-outer  { order: 4; width: 100%; }
.hero__subtitle     { order: 5; }
.hero__wa-link      { order: 6; }

@media (max-width: 1023px) {
  h1 {
    font-size: 46px;
  }

  .hero__image-col {
    border-radius: 3px;
  }

  .hero__subtitle {
    font-size: 16px;
  }
}

.hero__title {
  color: var(--carbon);
}

.hero__subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 480px;
}

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

.hero__wa-link {
  font-family: var(--font-family);
  font-weight: var(--fw-regular);
  font-size: 14px;
  color: #C44D13;
  text-decoration: none;
  transition: opacity var(--duration-fast) var(--ease-out-quart);
}

@media (hover: hover) {
  .hero__wa-link:hover {
    opacity: 0.75;
  }
}

.hero__badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-family);
  font-weight: var(--fw-semibold);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-dark);
}

.hero__subtitle-strong {
  font-weight: var(--fw-semibold);
  font-size: 18px;
  color: var(--text-body);
  line-height: var(--leading-tight);
}

.hero__trust {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Columna imagen */
.hero__image-outer {
  position: relative;
  flex: 1;
}

.hero__image-col {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/5;
  width: 100%;
  max-height: 360px;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Badge sobre la imagen */
.hero__badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(26, 26, 24, 0.9);
  border-radius: 10px;
  padding: 12px 16px;
  line-height: 1.4;
}

.hero__badge-title {
  display: block;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.hero__badge-sub {
  display: block;
  color: var(--text-dark-tertiary);
  font-size: 11px;
}

/* Triggers flotantes — solo desktop */
.hero__trigger {
  display: none;
}

@media (min-width: 1024px) {
  .hero__trigger {
    display: inline-flex;
    align-items: center;
    position: absolute;
    font-family: var(--font-family);
    font-weight: var(--fw-semibold);
    font-size: 11px;
    color: #ffffff;
    background-color: rgba(26, 26, 24, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 9px 16px;
    border-radius: 3px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.55;
    filter: blur(1.5px);
    cursor: default;
    transition:
      opacity          300ms var(--ease-out-expo),
      background-color 300ms var(--ease-out-expo),
      filter           400ms var(--ease-out-expo);
    z-index: 10;
  }

  .hero__trigger:hover {
    opacity: 1;
    background-color: var(--orange);
    filter: blur(0);
  }

  .hero__trigger--tl {
    top: 11%;
    left: 0;
    transform: translateX(-70%);
  }

  .hero__trigger--mr {
    top: 44%;
    right: 0;
    transform: translateX(70%);
  }

  .hero__trigger--bl {
    bottom: 22%;
    left: 0;
    transform: translateX(-70%);
  }
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 56px;
    padding-bottom: 72px;
  }

  .hero__inner {
    display: grid;
    grid-template-columns: 44% 1fr;
    column-gap: 64px;
    row-gap: 24px;
    align-items: start;
    text-align: left;
  }

  .hero-kicker,
  .hero__title,
  .hero__subtitle-strong,
  .hero__subtitle,
  .hero__actions,
  .hero__wa-link {
    grid-column: 1;
  }

  .hero-kicker {
    display: block;
  }

  .hero__actions {
    justify-content: flex-start;
  }

  .hero__image-outer {
    grid-column: 2;
    grid-row: 1 / span 10;
    flex: unset;
  }

  .hero__image-col {
    max-height: none;
    height: 560px;
    aspect-ratio: unset;
  }
}

/* ============================================================
   TRUST STRIP
   ============================================================ */

.trust-strip {
  background-color: var(--white-broken);
  padding: 20px 0;
}

.trust-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.trust__label {
  font-size: var(--text-sm);
  color: var(--text-dark-tertiary);
  white-space: nowrap;
}

.trust__logo {
  height: 64px;
  width: auto;
  flex-shrink: 0;
  opacity: 0.75;
  transition: opacity 500ms var(--ease-out-quart);
}

@media (hover: hover) {
  .trust__logo:hover {
    opacity: 1;
  }
}

.trust__logo--sm {
  height: 24px;
}

.trust__logo--lg {
  height: 70px;
}

@media (max-width: 767px) {
  .trust-strip__inner {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-inline: 24px;
    scrollbar-width: none;
  }

  .trust-strip__inner::-webkit-scrollbar {
    display: none;
  }
}

/* ============================================================
   CÓMO FUNCIONA
   ============================================================ */

.how {
  background-color: var(--carbon);
  padding-block: var(--section-py-mobile);
}

.how__inner {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.how__header {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

@media (min-width: 1024px) {
  .how__header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
  }
}

.how__cta-wrap {
  text-align: center;
}

.how__title {
  color: #ffffff;
}

.how__subtitle {
  color: var(--text-dark-secondary);
}

/* Pasos — mobile: 2 columnas */
.how__steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 32px;
}

.how__step-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.how__step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
}

.how__step-number {
  font-weight: var(--fw-extrabold);
  font-size: 48px;
  line-height: 1;
  letter-spacing: -2px;
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--duration-mid) var(--ease-out-quart);
}

@media (hover: hover) {
  .how__step:hover .how__step-number {
    color: var(--orange);
  }
}

.how__step svg {
  stroke: rgba(255, 255, 255, 0.3);
  transition: stroke var(--duration-mid) var(--ease-out-quart);
}

.how__step.visible svg {
  stroke: var(--orange);
}

/* Animación de números — JS agrega .how--animate al section */
.how--animate .how__step-number {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 2400ms var(--ease-out-expo);
}

.how--animate .how__step-number.step-number--visible {
  clip-path: inset(0% 0 0 0);
}

.how__step-title {
  font-weight: var(--fw-semibold);
  font-size: var(--text-lg);
  color: #ffffff;
  line-height: var(--leading-tight);
}

.how__step-desc {
  color: var(--text-dark-secondary);
  font-size: var(--text-base);
}

@media (min-width: 1024px) {
  .how {
    padding-block: var(--section-py-desktop);
  }

  .how__steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .how__step {
    padding-top: 28px;
    padding-right: 32px;
    border-top: 2px solid var(--border-dark);
    border-left: none;
  }

  .how__step + .how__step {
    border-left: 1px solid var(--border-dark);
    padding-left: 32px;
    border-top: 2px solid var(--border-dark);
  }
}

.how__cta-btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-family);
  font-weight: var(--fw-semibold);
  font-size: var(--text-base);
  line-height: 1;
  background-color: var(--orange);
  color: #ffffff;
  border-radius: 3px;
  padding: 12px 24px;
  white-space: nowrap;
  transition: background-color var(--duration-fast) var(--ease-out-quart),
              transform       var(--duration-fast) var(--ease-out-quart);
}

@media (hover: hover) {
  .how__cta-btn:hover {
    background-color: var(--orange-dark);
    transform: translateY(-2px);
  }
}

.how__cta-btn:active {
  transform: translateY(0);
}

/* ============================================================
   GALERÍA VISUAL — marquee continuo
   ============================================================ */

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

.gallery-strip {
  background-color: var(--carbon);
  padding-block: var(--section-py-mobile);
  overflow-x: scroll;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  position: relative;
}

.gallery-strip::before,
.gallery-strip::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 8%;
  z-index: 2;
  pointer-events: none;
}

.gallery-strip::before {
  left: 0;
  background: linear-gradient(to right, rgba(26, 26, 24, 0.2), transparent);
}

.gallery-strip::after {
  right: 0;
  background: linear-gradient(to left, rgba(26, 26, 24, 0.2), transparent);
}

.gallery-strip::-webkit-scrollbar {
  display: none;
}

.gallery-strip.dragging {
  user-select: none;
  cursor: grabbing;
}

.gallery-track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
  animation: marquee 36s linear infinite;
}

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

.gallery-item {
  flex-shrink: 0;
  width: 260px;
  height: 280px;
  border-radius: 3px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 600ms var(--ease-out-expo);
}

@media (hover: hover) {
  .gallery-item:hover img {
    transform: scale(1.04);
  }
}

@media (min-width: 1024px) {
  .gallery-track {
    animation-duration: 28s;
  }

  .gallery-item {
    width: 380px;
    height: 420px;
  }
}

/* ============================================================
   SHOWCASE — lista interactiva
   ============================================================ */

.showcase {
  background-color: var(--carbon);
  padding-block: var(--section-py-mobile);
}

.showcase__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Columna izquierda */
.showcase__left {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

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

.showcase__title {
  color: #ffffff;
}

/* Lista */
.showcase__list {
  display: flex;
  flex-direction: column;
}

.showcase__item {
  border-top: 1px solid var(--border-dark);
  position: relative;
  transition: border-color var(--duration-fast) var(--ease-out-quart);
}

.showcase__item:last-child {
  border-bottom: 1px solid var(--border-dark);
}

.showcase__item::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--orange);
  transition: width 500ms var(--ease-out-expo);
}

.showcase__item--active::before {
  width: 100%;
}

.showcase__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.showcase__num {
  font-weight: var(--fw-extrabold);
  font-size: var(--text-sm);
  color: var(--text-dark-secondary);
  letter-spacing: 0.05em;
  flex-shrink: 0;
  transition: color 400ms var(--ease-out-quart);
}

.showcase__name {
  font-weight: var(--fw-semibold);
  font-size: var(--text-lg);
  color: var(--text-dark-secondary);
  line-height: var(--leading-tight);
  transition: color 400ms var(--ease-out-quart);
}

.showcase__item--active .showcase__num,
.showcase__item--active .showcase__name {
  color: #ffffff;
}

@media (hover: hover) {
  .showcase__item:not(.showcase__item--active):hover .showcase__name,
  .showcase__item:not(.showcase__item--active):hover .showcase__num {
    color: rgba(255, 255, 255, 0.6);
  }
}

/* Columna derecha — slides */
.showcase__right {
  position: relative;
}

.showcase__slides {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--graphite);
}

.showcase__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition:
    opacity  500ms var(--ease-out-expo),
    transform 500ms var(--ease-out-expo);
  pointer-events: none;
}

.showcase__slide--active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

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

.showcase__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 28px 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.showcase__slide-title {
  color: #ffffff;
  font-weight: var(--fw-semibold);
  font-size: var(--text-lg);
  line-height: var(--leading-tight);
}

.showcase__slide-desc {
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--text-sm);
  line-height: 1.55;
  max-width: 480px;
}

@media (min-width: 1024px) {
  .showcase {
    padding-block: var(--section-py-desktop);
  }

  .showcase__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 72px;
  }

  .showcase__left {
    flex: 0 0 360px;
    position: sticky;
    top: 88px;
  }

  .showcase__right {
    flex: 1;
  }

  .showcase__slides {
    aspect-ratio: 3 / 2;
  }
}

.showcase__cta-wrap {
  text-align: center;
  padding-top: 48px;
  padding-bottom: var(--section-py-mobile);
}

@media (min-width: 1024px) {
  .showcase__cta-wrap {
    padding-bottom: var(--section-py-desktop);
  }
}

/* ============================================================
   PRODUCTOS (id="servicios")
   ============================================================ */

.products {
  background-color: var(--white-broken);
  padding-block: var(--section-py-mobile);
}

.products__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.products__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 640px;
}

.products__title {
  color: var(--carbon);
}

.products__subtitle {
  color: var(--text-secondary);
}

/* Grid — 2 col mobile / 2 col tablet / 4 col desktop */
.products__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Card con imagen */
.product-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

@media (hover: hover) {
  .product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
  }
}

.product-card__img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background-color: #F0F0EE;
  overflow: hidden;
}

.product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background-color: var(--orange);
  color: #ffffff;
  font-family: var(--font-family);
  font-weight: var(--fw-semibold);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 3px;
  line-height: 1;
  white-space: nowrap;
}

.product-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

@media (hover: hover) {
  .product-card:hover .product-card__img-wrap img {
    transform: scale(1.04);
  }
}

.product-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-card__name {
  font-weight: var(--fw-semibold);
  font-size: var(--text-base);
  color: var(--carbon);
  line-height: var(--leading-tight);
}

.product-card__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
}

.product-card__link {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-secondary);
  margin-top: 4px;
  transition: color var(--transition-base);
  display: block;
}

@media (hover: hover) {
  .product-card__link:hover {
    color: var(--orange);
  }
}

/* Footer de sección */
.products__footer {
  text-align: center;
  font-size: var(--text-base);
  color: var(--text-secondary);
}

.products__footer-link {
  color: var(--text-secondary);
  font-weight: var(--fw-semibold);
  transition: color var(--transition-base);
}

.products__footer-link:hover {
  color: var(--orange);
}

@media (min-width: 768px) {
  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products {
    padding-block: var(--section-py-desktop);
  }

  .products__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================================
   CASOS DE USO
   ============================================================ */

.use-cases {
  background-color: var(--white-broken);
  padding-block: var(--section-py-mobile);
}

.use-cases__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

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

.use-cases__title {
  color: var(--carbon);
}

/* Grid — 1 col mobile / 2x2 desktop */
.use-cases__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

@media (min-width: 1024px) {
  .use-cases {
    padding-block: var(--section-py-desktop);
  }
}

/* Card */
.use-case-card {
  background-color: var(--surface-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition:
    border-color var(--duration-fast) var(--ease-out-quart),
    box-shadow var(--duration-fast) var(--ease-out-quart);
}

@media (hover: hover) {
  .use-case-card:hover {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(232, 93, 26, 0.08);
  }
}

.use-case-card__icon {
  width: 40px;
  height: 40px;
  color: var(--carbon);
  flex-shrink: 0;
}

.use-case-card__icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--carbon);
  transition: stroke 0.25s ease;
}

@media (hover: hover) {
  .use-case-card:hover .use-case-card__icon {
    color: var(--orange);
  }

  .use-case-card:hover .use-case-card__icon svg {
    stroke: var(--orange);
  }
}

.use-case-card__title {
  font-weight: var(--fw-semibold);
  font-size: 20px;
  color: var(--carbon);
  line-height: var(--leading-tight);
  margin-top: 2px;
}

.use-case-card__desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-body);
  flex: 1;
}

.use-case-card__link {
  font-weight: var(--fw-semibold);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: color var(--transition-base);
  align-self: flex-start;
  display: block;
  margin-top: 2px;
}

@media (hover: hover) {
  .use-case-card__link:hover {
    color: var(--orange);
    text-decoration: underline;
  }
}

.use-cases__cta-wrap {
  text-align: center;
  padding-top: 16px;
}

/* ============================================================
   POR QUÉ FIRULETE
   ============================================================ */

.why {
  /* Cada columna maneja su propio fondo */
}

/* Mobile: columnas apiladas */
.why__inner {
  display: flex;
  flex-direction: column;
}

/* Columna imagen */
.why__image-col {
  position: relative;
  height: 320px;
  flex-shrink: 0;
}

.why__image-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.why__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Columna texto */
.why__content-col {
  position: relative;
  background-color: var(--white-broken);
  padding: 48px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 480px;
}

.why__title {
  color: var(--carbon);
}

/* Lista de diferenciales — 1 col mobile / 2x2 desktop */
.why__differentials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 48px;
}

@media (min-width: 768px) {
  .why__differentials {
    grid-template-columns: repeat(2, 1fr);
  }
}

.why__differential {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-block: 32px;
}

/* Separadores como pseudo-elementos */
.why__differential::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--border-card);
}

.why__differential:first-child::before,
.why__differential:nth-child(2)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--border-card);
}

.why__diff-title {
  font-weight: var(--fw-semibold);
  font-size: 18px;
  color: var(--carbon);
  line-height: var(--leading-tight);
}

.why__differential:hover .why__diff-title {
  color: var(--orange-dark);
}

.why__diff-desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-body);
}

@media (min-width: 768px) {
  .why__inner {
    flex-direction: row;
    min-height: 85vh;
  }

  .why__image-col {
    flex: 0 0 50%;
    height: auto;
  }

  .why__content-col {
    flex: 0 0 50%;
    padding: 80px;
  }
}

/* ============================================================
   FAQ — accordion
   ============================================================ */

.faq {
  background-color: var(--white-broken);
  padding-block: var(--section-py-mobile);
}

.faq__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.faq__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 640px;
}

.faq__title {
  color: var(--carbon);
}

.faq__list {
  border-top: 1px solid var(--border-card);
}

.faq__item {
  border-bottom: 1px solid var(--border-card);
}

/* Botón pregunta */
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  text-align: left;
  font-family: var(--font-family);
  font-weight: var(--fw-semibold);
  font-size: var(--text-md);
  color: var(--carbon);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-base);
}

@media (hover: hover) {
  .faq__question:hover {
    color: var(--carbon);
  }
}

.faq__question[aria-expanded="true"] {
  color: var(--orange-dark);
}

/* Ícono +/− */
.faq__icon {
  flex-shrink: 0;
  font-size: 22px;
  font-weight: var(--fw-regular);
  color: var(--text-secondary);
  line-height: 1;
  transition:
    transform var(--duration-mid) var(--ease-out-expo),
    color var(--transition-base);
  user-select: none;
}

.faq__question[aria-expanded="true"] .faq__icon {
  transform: rotate(45deg);
  color: var(--orange);
}

/* Respuesta — accordion con max-height */
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-mid) var(--ease-out-quart);
}

.faq__answer p {
  padding-bottom: 24px;
  color: var(--text-secondary);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  max-width: 720px;
}

@media (min-width: 1024px) {
  .faq {
    padding-block: var(--section-py-desktop);
  }
}

/* ============================================================
   CONTACTO
   ============================================================ */

.contact {
  background-color: var(--carbon);
  padding-block: var(--section-py-mobile);
}

.contact__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.contact__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 640px;
}

.contact__title {
  color: #ffffff;
}

.contact__subtitle {
  color: var(--text-dark-secondary);
}

/* Cuerpo: columnas */
.contact__body {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.contact__divider {
  display: none;
}

/* Formulario */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-label {
  font-weight: var(--fw-semibold);
  font-size: var(--text-sm);
  color: #ffffff;
  letter-spacing: 0.02em;
}

.form-required {
  color: var(--text-dark-secondary);
}

.form-input {
  width: 100%;
  background-color: var(--graphite);
  border: 1px solid var(--border-dark);
  border-radius: 3px;
  padding: 12px 16px;
  font-family: var(--font-family);
  font-size: var(--text-base);
  color: #ffffff;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.form-input::placeholder {
  color: var(--text-dark-secondary);
}

.form-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232, 93, 26, 0.18);
  outline: none;
}

.form-input--error {
  border-color: #e05252;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  font-size: var(--text-xs);
  color: #e05252;
  min-height: 16px;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666660' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.form-select option {
  background-color: var(--graphite);
  color: #ffffff;
}

.contact-form__footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  margin-top: 4px;
}

.contact-form__note {
  font-size: var(--text-sm);
  color: var(--text-dark-secondary);
  line-height: 1.5;
}

.contact-form__warning {
  font-weight: var(--fw-semibold);
  font-size: var(--text-base);
  color: #fbbf24;
  padding: 12px 16px;
  background-color: rgba(251, 191, 36, 0.08);
  border-radius: 3px;
  border: 1px solid rgba(251, 191, 36, 0.25);
}

.contact-form__error {
  font-weight: var(--fw-semibold);
  font-size: var(--text-base);
  color: #f87171;
  padding: 12px 16px;
  background-color: rgba(248, 113, 113, 0.08);
  border-radius: 3px;
  border: 1px solid rgba(248, 113, 113, 0.2);
}

.contact-form__success {
  font-weight: var(--fw-semibold);
  font-size: var(--text-base);
  color: #4ade80;
  padding: 12px 16px;
  background-color: rgba(74, 222, 128, 0.08);
  border-radius: 3px;
  border: 1px solid rgba(74, 222, 128, 0.2);
}

/* WhatsApp col */
.contact__wa-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.contact__wa-label {
  font-weight: var(--fw-semibold);
  font-size: 18px;
  color: #ffffff;
}

.contact__wa-hours {
  font-size: var(--text-sm);
  color: var(--text-dark-secondary);
}

.contact__wa-mail {
  font-size: var(--text-sm);
  color: var(--text-dark-secondary);
  transition: color var(--transition-base);
}

@media (hover: hover) {
  .contact__wa-mail:hover {
    color: var(--orange);
  }
}

@media (min-width: 1024px) {
  .contact {
    padding-block: var(--section-py-desktop);
  }

  .contact__body {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }

  .contact__form-col {
    flex: 1;
    padding-right: 56px;
  }

  .contact__divider {
    display: block;
    width: 1px;
    background-color: var(--border-dark);
    align-self: stretch;
    flex-shrink: 0;
  }

  .contact__wa-col {
    flex: 0 0 340px;
    padding-left: 56px;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background-color: var(--footer-bg);
  padding-block: 64px 32px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.footer__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer__cols {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
  }
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Logo */
.footer__logo-img {
  height: 28px;
  width: auto;
  opacity: 0.5;
  filter: grayscale(0.5);
  transition: opacity var(--transition-base), filter var(--transition-base);
}

@media (hover: hover) {
  .footer__logo:hover .footer__logo-img {
    opacity: 0.8;
    filter: grayscale(0);
  }
}

.footer__desc {
  font-size: var(--text-sm);
  color: var(--footer-text);
  line-height: var(--leading-body);
  max-width: 320px;
}

.footer__col-title {
  font-weight: var(--fw-semibold);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8C8C86;
}

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

.footer__link {
  font-size: var(--text-sm);
  color: var(--footer-text);
  transition: color var(--transition-base);
}

@media (hover: hover) {
  .footer__link:hover {
    color: var(--orange);
  }
}

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

.footer__hours {
  font-size: var(--text-sm);
  color: #7A7A74;
}

.footer__wa-icon {
  display: inline-flex;
  align-items: center;
}

/* Línea inferior */
.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid #1e1e1c;
  padding-top: 24px;
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer__copy {
  font-size: 12px;
  color: var(--footer-text);
}

.footer__privacy {
  font-size: 12px;
  color: #7A7A74;
  transition: color var(--transition-base);
}

@media (hover: hover) {
  .footer__privacy:hover {
    color: var(--orange);
  }
}

/* ============================================================
   BOTÓN FLOTANTE WHATSAPP
   ============================================================ */

.wa-float {
  position: fixed;
  bottom: 29px;
  right: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 12px;
}

.wa-float__btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.wa-float__btn svg {
  width: 28px;
  height: 28px;
}

@media (hover: hover) {
  .wa-float__btn:hover {
    transform: scale(1.08);
  }
}

.wa-float__tooltip {
  background-color: var(--carbon);
  color: #ffffff;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  font-family: var(--font-family);
}

@media (hover: hover) {
  .wa-float:hover .wa-float__tooltip {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .wa-float__tooltip {
    display: none;
  }
}

/* ============================================================
   ANIMACIONES DE ENTRADA
   ============================================================ */

/* Banda naranja — expand izquierda a derecha */
body.js-ready .accent-band {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 900ms var(--ease-out-expo);
}

body.js-ready .accent-band.band-visible {
  transform: scaleX(1);
}

/* Kickers — fade-in + slide desde izquierda */
body.js-ready .kicker {
  opacity: 0;
  transform: translateX(-16px);
  transition:
    opacity  500ms var(--ease-out-quart),
    transform 500ms var(--ease-out-quart);
}

body.js-ready .reveal.visible .kicker {
  opacity: 1;
  transform: translateX(0);
}

/* Título siguiente al kicker */
body.js-ready .reveal .kicker ~ h2 {
  opacity: 0;
  transition: opacity 500ms var(--ease-out-quart) 100ms;
}

body.js-ready .reveal.visible .kicker ~ h2 {
  opacity: 1;
}

/* Separadores "Por qué Firulete" — scaleX escalonado */
body.js-ready .why__differential::after,
body.js-ready .why__differential:first-child::before {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 2400ms var(--ease-out-quart);
}

body.js-ready .why__differential.line-visible::after,
body.js-ready .why__differential:first-child.line-visible::before {
  transform: scaleX(1);
}
