:root {
  --indigo: #211c57;
  --indigo-deep: #16123d;
  --green: #66ab6a;
  --blk: #0c0b12;
  --dk: #181818;
  --wh: #ffffff;
  --paper: #f5f6f8;
  --paper-2: #eceef3;
  --ink: #211c57;
  --ink-muted: color-mix(in srgb, var(--indigo) 58%, #6b7080);
  --ft: "DM Sans", sans-serif;
  --fb: "DM Sans", sans-serif;
  --pill-pad-x: clamp(1rem, 2.4vw, 1.75rem);
  --pill-pad-y: 0.7rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--fb);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

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

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* ── Floating pill nav ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  justify-content: center;
  padding: 1.15rem clamp(0.85rem, 2.5vw, 1.75rem) 0;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  width: min(1120px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: var(--pill-pad-y) var(--pill-pad-x);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.nav-pill.is-scrolled {
  background: rgba(33, 28, 87, 1);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 48px rgba(0, 0, 0, 0.45);
}

.nlogo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-left: 0.35rem;
}

.nlogo img {
  height: 34px;
  width: auto;
  transition: opacity 0.2s, transform 0.25s;
}

.nlogo:hover img {
  opacity: 0.9;
  transform: scale(1.02);
}

.nmenu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nmenu > li {
  display: flex;
  align-items: center;
}

.nmenu > li:not(:last-child)::after {
  content: "";
  width: 1px;
  height: 0.85em;
  margin: 0 0.85rem;
  background: rgba(255, 255, 255, 0.28);
}

.nmenu > li > a {
  font-family: var(--fb);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
  padding: 0.35rem 0.1rem;
  transition: color 0.2s;
}

.nmenu > li > a:hover,
.nmenu > li > a.is-active {
  color: var(--green);
}

.burg {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 999px;
  flex-shrink: 0;
}

.burg span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.burg.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.burg.is-open span:nth-child(2) {
  opacity: 0;
}

.burg.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Hero ── */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: var(--blk);
  display: flex;
  align-items: flex-end;
}

.hvf {
  position: absolute;
  inset: 0;
}

.hvf video,
.hvf img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(0.95);
  transition: filter 0.9s ease;
}

#hero.is-loaded .hvf video {
  filter: brightness(0.62) saturate(1);
}

.h-ov {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 11, 18, 0.38) 0%, rgba(12, 11, 18, 0.12) 40%, rgba(12, 11, 18, 0.55) 78%, rgba(12, 11, 18, 0.78) 100%),
    linear-gradient(90deg, rgba(12, 11, 18, 0.35) 0%, transparent 55%);
  pointer-events: none;
}

.hcont {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 4rem));
  margin: 0 auto 0 clamp(1.25rem, 5vw, 5.5rem);
  padding: 0 0 calc(clamp(3.5rem, 8vh, 5.5rem) + 3.25rem);
  text-align: left;
}

.hh1 {
  font-family: var(--ft);
  font-size: clamp(2.35rem, 5.4vw, 4.35rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--green);
  text-wrap: balance;
  opacity: 0;
  transform: translateY(22px);
  animation: hero-in 0.95s 0.25s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.hsubt {
  margin-top: 1.15rem;
  max-width: 38ch;
  font-family: var(--fb);
  font-size: clamp(0.95rem, 1.35vw, 1.125rem);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
  opacity: 0;
  transform: translateY(18px);
  animation: hero-in 0.95s 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes hero-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mouse scroll cue — bottom right, above WhatsApp and marquee */
.hscroll {
  position: absolute;
  bottom: calc(52px + 24px + 56px + 14px);
  right: calc(24px + (56px - 22px) / 2);
  left: auto;
  z-index: 4;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s;
}

.hscroll:hover {
  color: var(--green);
}

.smouse {
  width: 22px;
  height: 34px;
  border: 1.5px solid currentColor;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
  opacity: 0.9;
}

.smouse-wheel {
  width: 3px;
  height: 7px;
  border-radius: 2px;
  background: currentColor;
  animation: mouse-wheel 1.8s ease-in-out infinite;
}

@keyframes mouse-wheel {
  0% {
    transform: translateY(0);
    opacity: 0.9;
  }
  70% {
    transform: translateY(10px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* ── Hero marquee ── */
.hero-marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-x 32s linear infinite;
}

.hero-marquee-group {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0.95rem 0;
  white-space: nowrap;
}

.hero-marquee-group span {
  font-family: var(--fb);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
  padding: 0 0.15rem;
}

.hero-marquee-group .dot {
  color: var(--green);
  padding: 0 1.15rem;
  font-weight: 700;
}

@keyframes marquee-x {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

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

/* ── Fade in up (secciones) ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* ── Quiénes somos ── */
.about {
  background: var(--wh);
  padding: clamp(4.5rem, 9vw, 7.5rem) clamp(1.25rem, 4vw, 3.5rem);
}

.about-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--green) 18%, #fff);
  color: color-mix(in srgb, var(--green) 55%, var(--indigo));
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 1.35rem;
}

.about-title {
  font-family: var(--ft);
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 14ch;
  text-wrap: balance;
}

.about-title em {
  font-style: italic;
  font-weight: 600;
  color: color-mix(in srgb, var(--indigo) 78%, var(--green));
}

.about-body {
  margin-top: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 48ch;
}

.about-body p {
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.about-features {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-features li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1rem;
  align-items: flex-start;
}

.about-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, color-mix(in srgb, var(--green) 78%, #fff), var(--green));
  color: #fff;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--green) 28%, transparent);
}

.about-icon svg {
  width: 24px;
  height: 24px;
}

.about-features strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.about-features p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

.about-media {
  min-width: 0;
}

.about-figure {
  position: relative;
  margin: 0;
  border-radius: clamp(1.75rem, 3vw, 2.75rem);
  overflow: hidden;
  isolation: isolate;
  background: var(--paper-2);
  aspect-ratio: 4 / 3.2;
}

.about-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-chips {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  z-index: 2;
  max-width: calc(100% - 2.2rem);
}

.about-chip {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: min(100%, 240px);
  padding: 0.7rem 0.75rem 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.about-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.about-check svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 980px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-title {
    max-width: 18ch;
  }

  .about-figure {
    aspect-ratio: 4 / 3;
    max-width: 560px;
    margin-inline: auto;
  }
}

@media (max-width: 600px) {
  .about-features li {
    grid-template-columns: 46px 1fr;
    gap: 0.85rem;
  }

  .about-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }

  .about-chip {
    min-width: 0;
    font-size: 0.75rem;
  }
}

/* ── Servicios (paneles expandibles) ── */
.services {
  background: var(--paper);
  padding: clamp(4.5rem, 9vw, 7.5rem) clamp(1.25rem, 4vw, 3.5rem);
}

.services-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.services-head {
  max-width: 42rem;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.services-title {
  font-family: var(--ft);
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}

.services-title em {
  font-style: italic;
  font-weight: 600;
  color: color-mix(in srgb, var(--indigo) 78%, var(--green));
}

.services-lead {
  margin: 1rem auto 0;
  max-width: 48ch;
  color: var(--ink-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.services-head .about-badge {
  margin-left: auto;
  margin-right: auto;
}

.services-panels {
  display: flex;
  gap: 0.65rem;
  min-height: min(68vh, 620px);
  height: 620px;
}

.svc {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  border-radius: 1.5rem;
  overflow: hidden;
  background: var(--indigo-deep);
  transition: flex 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  isolation: isolate;
}

.svc.is-active {
  flex: 3.4 1 0;
}

.svc-tab {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1.25rem;
  color: #fff;
  text-align: left;
  cursor: pointer;
  background: linear-gradient(180deg, transparent 35%, rgba(12, 11, 18, 0.72) 100%);
  transition: opacity 0.35s ease;
}

.svc.is-active .svc-tab {
  opacity: 0;
  pointer-events: none;
}

.svc-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--green);
}

.svc-name {
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  font-weight: 700;
  line-height: 1.2;
  writing-mode: horizontal-tb;
}

.svc-body {
  position: absolute;
  inset: 0;
}

.svc-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  filter: brightness(0.45) saturate(0.85);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
}

.svc.is-active .svc-img {
  transform: scale(1);
  filter: brightness(0.72) saturate(1);
}

.svc-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(12, 11, 18, 0.82) 55%, rgba(12, 11, 18, 0.92) 100%);
  color: #fff;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.svc.is-active .svc-copy {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.svc-copy h3 {
  font-family: var(--ft);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}

.svc-copy p {
  max-width: 36ch;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1rem;
}

.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  border-bottom: 1.5px solid var(--green);
  padding-bottom: 0.15rem;
  transition: color 0.2s, gap 0.2s;
}

.svc-link::after {
  content: "→";
  color: var(--green);
  transition: transform 0.2s;
}

.svc-link:hover {
  color: var(--green);
  gap: 0.65rem;
}

.svc-link:hover::after {
  transform: translateX(3px);
}

@media (max-width: 900px) {
  .services-panels {
    flex-direction: column;
    height: auto;
    min-height: 0;
    gap: 1rem;
  }

  .svc,
  .svc.is-active {
    flex: none;
    min-height: 0;
    height: auto;
  }

  .svc-tab {
    display: none;
  }

  .svc-body {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
  }

  .svc-img {
    position: relative;
    inset: auto;
    width: 100%;
    height: 240px;
    transform: none;
    filter: brightness(0.78) saturate(1);
  }

  .svc.is-active .svc-img {
    transform: none;
    filter: brightness(0.78) saturate(1);
  }

  .svc-copy {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    padding: 1.15rem 1.15rem 1.35rem;
    background: linear-gradient(180deg, rgba(22, 18, 61, 0.92) 0%, rgba(12, 11, 18, 0.98) 100%);
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }

  .svc.is-active .svc-copy {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

@media (max-width: 600px) {
  .svc-img {
    height: 210px;
  }

  .svc-copy {
    padding: 1rem 1.1rem 1.25rem;
  }
}

/* ── Stands bento ── */
.stands {
  background: #211c57;
  padding: clamp(4.5rem, 9vw, 7.5rem) clamp(1.25rem, 4vw, 3.5rem);
}

.stands-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.stands-head {
  max-width: 40rem;
  margin: 0 0 clamp(2rem, 4vw, 3rem) auto;
  text-align: right;
}

.stands-head .about-badge {
  background: color-mix(in srgb, var(--green) 22%, transparent);
  color: #dff5e1;
  margin-left: auto;
}

.stands-title {
  font-family: var(--ft);
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
  margin-left: auto;
}

.stands-lead {
  margin: 1rem 0 0 auto;
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  line-height: 1.65;
}

.bento {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.25fr;
  grid-template-rows: minmax(240px, 1fr) minmax(240px, 1fr);
  gap: 0.85rem;
  min-height: 620px;
}

.bento-card {
  position: relative;
  border-radius: 1.75rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 240px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.3s ease;
  border: 1px solid transparent;
}

.bento-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.bento-card--tall {
  grid-area: 1 / 1 / 3 / 2;
}

.bento-card--mid-top {
  grid-area: 1 / 2 / 2 / 3;
}

.bento-card--wide {
  grid-area: 1 / 3 / 2 / 4;
}

.bento-card--mid-bot {
  grid-area: 2 / 2 / 3 / 3;
}

.bento-card--bot-right,
.bento-card--glow {
  grid-area: 2 / 3 / 3 / 4;
}

.bento-card--dark {
  background: var(--indigo-deep);
  color: #fff;
}

.bento-card--light {
  background: color-mix(in srgb, #fff 94%, var(--green));
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.12);
  padding: 1.15rem;
}

.bento-card--light:hover {
  border-color: color-mix(in srgb, var(--green) 55%, transparent);
  background: #fff;
}

.bento-card--glow::after {
  content: "";
  position: absolute;
  right: -20%;
  bottom: -30%;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--green) 28%, transparent), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.bento-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
  filter: brightness(0.72);
}

.bento-card--tall:hover .bento-img,
.bento-card--wide:hover .bento-wide-media img {
  transform: scale(1.06);
  filter: brightness(0.82);
}

.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(12, 11, 18, 0.88) 100%);
  z-index: 1;
  pointer-events: none;
}

.bento-content {
  position: relative;
  z-index: 2;
  padding: 1.35rem;
}

.bento-card--light .bento-content {
  padding: 0.35rem 0.15rem 0.15rem;
  margin-top: auto;
}

.bento-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--green) 22%, transparent);
  color: #dff5e1;
  font-size: 0.68rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.bento-tag--ink {
  background: color-mix(in srgb, var(--green) 16%, #fff);
  color: color-mix(in srgb, var(--green) 40%, var(--indigo));
}

.bento-content h3 {
  font-family: var(--ft);
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.bento-content p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 34ch;
}

.bento-card--light .bento-content p {
  color: var(--ink-muted);
}

.bento-thumb {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 1.15rem;
  margin-bottom: 0.85rem;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.bento-card--light:hover .bento-thumb {
  transform: scale(1.03);
}

.bento-thumb--soft {
  height: 110px;
  opacity: 0.92;
}

.bento-wide-media {
  position: relative;
  margin: 1rem 1rem 0;
  border-radius: 1.15rem;
  overflow: hidden;
  height: 150px;
  flex-shrink: 0;
}

.bento-wide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
  filter: brightness(0.85);
}

.bento-chip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 2;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--green);
  color: var(--indigo-deep);
  font-size: 0.68rem;
  font-weight: 700;
}

.bento-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.bento-pills span {
  display: inline-flex;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--indigo) 10%, transparent);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink);
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.bento-card:hover .bento-pills span {
  border-color: color-mix(in srgb, var(--green) 45%, transparent);
}

.bento-card:hover .bento-pills span:nth-child(odd) {
  transform: translateY(-2px);
  color: color-mix(in srgb, var(--green) 35%, var(--indigo));
}

.bento-notes {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  position: relative;
  z-index: 1;
}

.bento-note {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  padding: 0.55rem 0.8rem;
  border-radius: 0.9rem;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--indigo) 8%, transparent);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--indigo) 8%, transparent);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  transition: transform 0.3s ease;
}

.bento-card:hover .bento-note:first-child {
  transform: translateX(4px);
}

.bento-card:hover .bento-note:last-child {
  transform: translateX(10px);
}

.bento-check {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-size: 0.65rem;
  flex-shrink: 0;
}

.stands-cta {
  margin-top: 1.75rem;
  display: flex;
  justify-content: center;
}

.stands-cta-link {
  color: #fff;
  border-bottom-color: var(--green);
}

.stands-cta-link:hover {
  color: var(--green);
}

.stands-cta-link::after {
  color: var(--green);
}

@media (max-width: 980px) {
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }

  .bento-card--tall,
  .bento-card--mid-top,
  .bento-card--wide,
  .bento-card--mid-bot,
  .bento-card--bot-right,
  .bento-card--glow {
    grid-area: auto;
  }

  .bento-card--tall {
    grid-column: 1 / -1;
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .bento {
    grid-template-columns: 1fr;
  }

  .bento-card--tall {
    min-height: 320px;
  }

  .bento-card:hover {
    transform: none;
  }
}

/* ── Proceso ── */
.process {
  background: var(--wh);
  padding: clamp(4.5rem, 9vw, 7.5rem) clamp(1.25rem, 4vw, 3.5rem);
}

.process-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.process-head {
  max-width: 40rem;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.process-title {
  font-family: var(--ft);
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}

.process-title em {
  font-style: italic;
  font-weight: 600;
  color: color-mix(in srgb, var(--indigo) 78%, var(--green));
}

.process-lead {
  margin: 1rem auto 0;
  max-width: 46ch;
  color: var(--ink-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.process-head .about-badge {
  margin-left: auto;
  margin-right: auto;
}

.process-map {
  position: relative;
  padding: 0.5rem 0 1rem;
}

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: clamp(3.5rem, 7vw, 5.5rem) clamp(2rem, 5vw, 4rem);
  position: relative;
  z-index: 1;
}

.process-step--1 { grid-area: 1 / 1; }
.process-step--2 { grid-area: 1 / 2; }
.process-step--3 { grid-area: 2 / 2; }
.process-step--4 { grid-area: 2 / 1; }

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 280px;
  margin-inline: auto;
}

.process-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.process-icon {
  width: 148px;
  height: 148px;
  border-radius: 0;
  background: transparent;
  display: grid;
  place-items: center;
  box-shadow: none;
  border: none;
  margin-bottom: 1rem;
  transition: transform 0.35s ease;
}

.process-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.process-step.is-current .process-icon,
.process-step:hover .process-icon {
  border: none;
  box-shadow: none;
  transform: translateY(-4px) scale(1.04);
}

.process-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--green);
  margin-bottom: 0.35rem;
}

.process-step h3 {
  font-family: var(--ft);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.45rem;
}

.process-step p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

.process-note {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--indigo) 70%, var(--green));
}

.process-cta {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: center;
  align-items: center;
}

.process-cta-link {
  color: var(--ink);
  border-bottom-color: var(--green);
}

.process-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  background: var(--green);
  color: var(--wh);
  font-size: 0.88rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.process-cta-btn:hover {
  background: color-mix(in srgb, var(--green) 82%, #fff);
  transform: translateY(-2px);
}

@media (max-width: 760px) {
  .process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
  }

  .process-step--1,
  .process-step--2,
  .process-step--3,
  .process-step--4 {
    grid-area: unset;
  }

  .process-step {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 0.9rem 1rem;
    align-items: center;
    max-width: none;
    width: 100%;
    margin: 0;
    text-align: left;
    padding: 1rem;
    border-radius: 1.25rem;
    background: var(--paper);
    border: 1px solid color-mix(in srgb, var(--indigo) 8%, transparent);
  }

  .process-icon {
    width: 96px;
    height: 96px;
    margin-bottom: 0;
  }

  .process-copy {
    align-items: flex-start;
    text-align: left;
  }

  .process-step h3,
  .process-num,
  .process-step p {
    text-align: left;
  }
}

/* ── Galería (Swiper full-bleed) ── */
.gallery {
  background: var(--paper);
  padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  overflow: hidden;
}

.gallery-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
}

.gallery-head {
  max-width: 40rem;
  margin: 0 auto 0.5rem;
  text-align: center;
}

.gallery-head .about-badge {
  margin-left: auto;
  margin-right: auto;
}

.gallery-title {
  font-family: var(--ft);
  font-size: clamp(2.15rem, 4.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}

.gallery-lead {
  margin: 1rem auto 0;
  max-width: 48ch;
  color: var(--ink-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.gallery-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 1.5rem;
  padding: 0.85rem 1.55rem;
  border-radius: 999px;
  background: var(--indigo);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.gallery-cta:hover {
  background: color-mix(in srgb, var(--indigo) 82%, var(--green));
  transform: translateY(-2px);
}

.gallery-stage {
  width: 100vw;
  max-width: 100vw;
  margin-top: clamp(2rem, 4vw, 3rem);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0.5rem 0 2.75rem;
}

.gallery-swiper {
  width: 100%;
  overflow: visible;
  padding: 0.35rem 0 2.5rem;
}

.gallery-swiper .swiper-slide {
  width: clamp(200px, 28vw, 320px);
  height: auto;
}

.gallery-card {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  margin: 0;
  border-radius: 1.35rem;
  overflow: hidden;
  background: color-mix(in srgb, var(--indigo) 10%, #fff);
  box-shadow: 0 14px 32px rgba(22, 18, 61, 0.14);
  cursor: zoom-in;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(22, 18, 61, 0.2);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-nav {
  --swiper-navigation-size: 18px;
  --swiper-navigation-color: #fff;
  width: 44px;
  height: 44px;
  margin-top: 0;
  top: 42%;
  background: #66ab6a;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 8px 20px rgba(102, 171, 106, 0.35);
}

.gallery-nav::after {
  font-size: 14px;
  font-weight: 700;
}

.gallery-swiper .swiper-button-prev {
  left: clamp(0.75rem, 2vw, 1.5rem);
}

.gallery-swiper .swiper-button-next {
  right: clamp(0.75rem, 2vw, 1.5rem);
}

.gallery-dots {
  bottom: 0.15rem !important;
  --swiper-pagination-color: var(--green);
  --swiper-pagination-bullet-inactive-color: color-mix(in srgb, var(--indigo) 35%, #fff);
  --swiper-pagination-bullet-inactive-opacity: 1;
}

.gallery-note {
  margin-top: 0.35rem;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--indigo) 55%, #6b7080);
}

@media (max-width: 760px) {
  .gallery-swiper .swiper-slide {
    width: min(78vw, 280px);
  }

  .gallery-card {
    border-radius: 1.15rem;
  }

  .gallery-nav {
    display: none;
  }

  .gallery-stage {
    padding-bottom: 2rem;
  }
}

/* ── Contacto ── */
.contact {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, color-mix(in srgb, var(--green) 14%, transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--green) 8%, #fff) 0%, var(--paper) 55%, var(--wh) 100%);
  padding: clamp(4.5rem, 9vw, 7.5rem) clamp(1.25rem, 4vw, 3.5rem);
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.contact-head {
  max-width: 42rem;
  margin: 0 auto 2.25rem;
  text-align: center;
}

.contact-head .about-badge {
  margin-left: auto;
  margin-right: auto;
}

.contact-title {
  font-family: var(--ft);
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}

.contact-lead {
  margin: 1rem auto 0;
  max-width: 48ch;
  color: var(--ink-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) 1.35fr;
  gap: 1.25rem;
  padding: 1.15rem;
  border-radius: 1.5rem;
  background: var(--wh);
  box-shadow:
    0 24px 60px rgba(22, 18, 61, 0.1),
    0 2px 0 rgba(255, 255, 255, 0.8) inset;
}

.contact-info {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 1.15rem;
  background: var(--indigo);
  color: #fff;
}

.contact-info::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -22%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--green) 55%, transparent) 0%, transparent 70%);
  pointer-events: none;
}

.contact-info-title {
  position: relative;
  z-index: 1;
  font-family: var(--ft);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.contact-info-text {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.contact-info-list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.85rem;
  align-items: start;
}

.contact-info-ic {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--green);
}

.contact-info-list a {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.contact-info-list a:hover {
  color: color-mix(in srgb, var(--green) 70%, #fff);
}

.contact-form {
  padding: clamp(1rem, 2.5vw, 1.75rem) clamp(0.75rem, 2vw, 1.5rem);
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem 1.5rem;
}

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

.contact-field--full {
  grid-column: 1 / -1;
}

.contact-field span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
}

.contact-field--message span {
  color: var(--green);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1.5px solid color-mix(in srgb, var(--indigo) 16%, transparent);
  border-radius: 0;
  background: transparent;
  padding: 0.45rem 0 0.55rem;
  color: var(--ink);
  font: inherit;
  font-size: 0.98rem;
  line-height: 1.4;
  outline: none;
  transition: border-color 0.2s ease;
  appearance: none;
}

.contact-field select {
  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 fill='%2366ab6a' d='M1.2 1.2 6 6l4.8-4.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.1rem center;
  padding-right: 1.25rem;
}

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

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: color-mix(in srgb, var(--indigo) 35%, #9aa0ad);
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-bottom-color: var(--green);
}

.contact-field.is-invalid input,
.contact-field.is-invalid select,
.contact-field.is-invalid textarea {
  border-bottom-color: #c44747;
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.75rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  background: var(--green);
  color: var(--wh);
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.contact-submit:hover:not(:disabled) {
  background: color-mix(in srgb, var(--green) 82%, #fff);
  transform: translateY(-2px);
}

.contact-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.contact-note {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.contact-status {
  margin-top: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}

.contact-status.is-ok {
  background: color-mix(in srgb, var(--green) 18%, #fff);
  color: color-mix(in srgb, var(--indigo) 80%, #1d5c2a);
}

.contact-status.is-error {
  background: color-mix(in srgb, #c44747 12%, #fff);
  color: #8d2f2f;
}

@media (max-width: 900px) {
  .contact-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 0.85rem;
  }

  .contact-form {
    padding: 0.85rem 0.35rem 0.5rem;
  }
}

/* ── Section stubs (light mode) ── */
.section-stub {
  min-height: 55vh;
  padding: 96px clamp(1.25rem, 4vw, 3.25rem);
  background: var(--wh);
  border-top: 1px solid color-mix(in srgb, var(--indigo) 8%, transparent);
}

.section-stub:nth-of-type(even) {
  background: var(--paper);
}

.section-stub h2 {
  font-family: var(--ft);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 0.95;
  max-width: 16ch;
  color: var(--ink);
}

.section-stub p {
  margin-top: 1rem;
  max-width: 42ch;
  color: var(--ink-muted);
  font-size: 1rem;
}

/* ── WhatsApp ── */
.wa-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 7000;
  display: inline-flex;
  align-items: center;
  height: 56px;
  background: #128c7e;
  color: #fff;
  border-radius: 32px;
  box-shadow: 0 8px 24px rgba(18, 140, 126, 0.45);
  overflow: hidden;
  transition: background 0.25s, box-shadow 0.25s, transform 0.2s;
}

.wa-fab-ic {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-fab-ic svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}

.wa-fab-lb {
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  overflow: hidden;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: max-width 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, padding 0.35s;
  padding-right: 0;
}

.wa-fab:hover {
  background: #0e6c60;
  transform: translateY(-2px);
}

.wa-fab:hover .wa-fab-lb {
  max-width: 260px;
  opacity: 1;
  padding-right: 22px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 980px) {
  .nmenu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: calc(100% + 0.65rem);
    left: 0;
    right: 0;
    padding: 0.85rem;
    border-radius: 1.25rem;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
    gap: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, -14px, 0);
    transition:
      opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.32s;
  }

  .burg {
    display: flex;
  }

  .nmenu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
  }

  .nmenu > li {
    display: block;
  }

  .nmenu > li:not(:last-child)::after {
    display: none;
  }

  .nmenu > li > a {
    display: block;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
  }

  .nmenu > li > a:hover,
  .nmenu > li > a.is-active {
    background: rgba(255, 255, 255, 0.06);
    color: var(--green);
  }

  .nav-pill {
    position: relative;
    border-radius: 1.35rem;
  }

  .hh1 {
    font-size: clamp(2.1rem, 8.5vw, 3rem);
  }

  .hscroll {
    left: 50%;
    right: auto;
    bottom: calc(52px + 14px);
    transform: translateX(-50%);
  }
}

@media (max-width: 600px) {
  .site-header {
    padding-top: 0.85rem;
  }

  .nlogo img {
    height: 28px;
  }

  #hero {
    min-height: 100svh;
  }

  .hcont {
    width: calc(100% - 2.5rem);
    margin: 0 1.25rem;
    padding: 0 0 calc(5.5rem + 3rem);
  }

  .hsubt {
    max-width: none;
  }

  .hscroll {
    left: 50%;
    right: auto;
    bottom: calc(52px + 14px);
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hh1,
  .hsubt {
    opacity: 1;
    transform: none;
  }

  .hero-marquee-track {
    animation: none !important;
    transform: none;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
