:root {
  --cream: #161616;
  --sand: #1E1E1E;
  --ink: #E6E6E4;
  --ink-soft: rgba(230, 230, 228, 0.68);
  --border: rgba(230, 230, 228, 0.14);
  --gold: #A9782F;
  --card: #1F1F1F;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--cream);
  padding: 26px 0;
  transition: padding .5s var(--ease), background-color .3s var(--ease);
}

.site-header.is-scrolled {
  padding: 14px 0;
}

.site-header.is-over-hero {
  background: transparent;
}

.site-header.is-over-hero .nav-links a {
  color: #E6E6E4;
}

.site-header.is-over-hero .nav-toggle span {
  background: #E6E6E4;
}

.site-header.is-over-hero .nav-toggle:hover {
  background: rgba(230, 230, 228, .14);
}

.site-header.is-over-hero .brand-ring text {
  fill: #E6E6E4;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
}

.btn-cta { justify-self: end; }

.site-header.is-scrolled .header-inner {
  pointer-events: none;
}

.site-header.is-scrolled .brand {
  pointer-events: auto;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-toggle,
.nav-links,
.btn-cta {
  transition: transform .5s var(--ease), opacity .5s var(--ease);
}

.site-header.is-scrolled .nav-toggle {
  transform: translateX(50px) scale(.6);
  opacity: 0;
}

.site-header.is-scrolled .nav-links:first-of-type {
  transform: translateX(40px) scale(.6);
  opacity: 0;
}

.site-header.is-scrolled .nav-links:last-of-type {
  transform: translateX(-40px) scale(.6);
  opacity: 0;
}

.site-header.is-scrolled .btn-cta {
  transform: translateX(-50px) scale(.6);
  opacity: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
}

.nav-links a {
  font-family: 'Lexend Exa', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.44px;
  text-transform: uppercase;
  color: var(--ink);
  transition: color .3s var(--ease);
}

.brand {
  position: relative;
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  box-shadow: 0 0 0 rgba(17, 17, 17, 0);
  transform: scale(1);
  transition: transform .5s var(--ease), background-color .5s var(--ease),
              border-color .5s var(--ease), box-shadow .5s var(--ease);
}

.site-header.is-scrolled .brand {
  transform: scale(.86);
  background: #1A1A1A;
  border-color: var(--border);
  box-shadow: 0 12px 30px rgba(17, 17, 17, .08);
}

.brand-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: brand-spin 14s linear infinite;
}

@keyframes brand-spin {
  to { transform: rotate(360deg); }
}

.brand-ring text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 7.3px;
  font-weight: 700;
  letter-spacing: 1.5px;
  fill: var(--ink);
  transition: fill .3s var(--ease);
}

.brand-mark {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  z-index: 1;
}

.brand-left {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  font-family: 'Lexend Exa', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  transition: transform .5s var(--ease), opacity .5s var(--ease), color .3s var(--ease);
}

.brand-left-logo { height: 58px; width: auto; display: block; }

.site-header.is-over-hero .brand-left { color: #E6E6E4; }

.site-header.is-scrolled .brand-left { transform: translateX(50px) scale(.6); opacity: 0; }

.nav-toggle {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: none;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-toggle:hover { background: rgba(17, 17, 17, 0.06); }

.nav-toggle span {
  width: 16px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: background-color .3s var(--ease);
}

.btn-cta {
  --btn-dot: var(--gold);
  --btn-hover-text: var(--ink);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: var(--ink);
  color: var(--cream);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 11px 20px;
  border-radius: 12px;
  white-space: nowrap;
  transition: padding .45s var(--ease), font-size .45s var(--ease);
}

/* ---------- Interactive hover buttons: dot expands to fill, label slides to reveal arrow ---------- */
.btn-label {
  position: relative;
  z-index: 2;
  display: inline-block;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.btn-label-hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--btn-hover-text);
  transform: translateX(18px);
  opacity: 0;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
  pointer-events: none;
}

.btn-dot {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--btn-dot);
  z-index: 1;
  opacity: 0;
  transition: left .4s var(--ease), top .4s var(--ease), width .4s var(--ease),
              height .4s var(--ease), transform .4s var(--ease), border-radius .4s var(--ease),
              opacity .25s var(--ease);
}

.btn-cta:hover .btn-label,
.btn-line:hover .btn-label {
  transform: translateX(18px);
  opacity: 0;
}

.btn-cta:hover .btn-label-hover,
.btn-line:hover .btn-label-hover {
  transform: translateX(0);
  opacity: 1;
}

.btn-cta:hover .btn-dot,
.btn-line:hover .btn-dot {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  transform: none;
  border-radius: inherit;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 168px 24px 64px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-content { display: none; } /* el video ya trae su propia frase */

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 17, .38) 0%, rgba(17, 17, 17, .32) 45%, rgba(17, 17, 17, .58) 100%);
}

.hero-title {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 900px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  line-height: 1.18;
  letter-spacing: -.01em;
  color: #F3F3F2;
}

.hero-title[data-text-reveal] {
  background-repeat: no-repeat;
}

.hero-title em {
  font-style: normal;
  color: #E8B84B;
  -webkit-text-fill-color: #E8B84B;
  background: none;
}

@media (max-width: 720px) {
  .hero { min-height: 92vh; padding-top: 120px; }
}

/* ---------- Mobile nav (staggered menu: capas + panel + links con stagger, ver main.js) ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(17, 17, 17, .4);
  opacity: 0;
  visibility: hidden;
}

.mobile-nav.is-open { visibility: visible; }

.sm-prelayers,
.mobile-nav-panel {
  position: absolute;
  top: 20px; left: 20px; bottom: 20px;
  width: clamp(320px, 30vw, 420px);
  max-width: calc(100% - 40px);
  border-radius: 28px;
}
.sm-prelayers { pointer-events: none; }
.sm-prelayer { position: absolute; inset: 0; border-radius: inherit; }
.sm-prelayer:nth-child(1) { background: var(--gold); }
.sm-prelayer:nth-child(2) { background: var(--sand); }

.mobile-nav-panel {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  padding: 22px 20px 24px;
  box-shadow: 0 30px 70px rgba(17, 17, 17, .3);
}

.mobile-nav-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.mobile-nav-brand {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 16px;
}

.mobile-nav-photo {
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 22px;
  flex: 0 0 auto;
}

.mobile-nav-photo img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.mobile-nav-links a {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--border);
  font-family: 'Lexend Exa', sans-serif;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1.6px;
}

.mobile-nav-links a:last-child { border-bottom: none; }

.mobile-nav-arrow {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
}

.mobile-nav-cta {
  width: 100%;
  padding: 15px;
  font-size: 14px;
  margin-top: auto;
  flex: 0 0 auto;
}

/* ---------- Social fan: hub icon that opens into WhatsApp / Instagram on hover ---------- */
.social-fan {
  position: relative;
  width: 100%;
  height: 74px;
  margin-top: auto;
  display: flex;
  flex: 0 0 auto;
}

.social-btn {
  width: 48px;
  height: 48px;
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(17, 17, 17, .22);
  transition: transform .45s var(--ease), opacity .35s var(--ease);
}

.social-btn-whatsapp {
  z-index: 2;
  background: #25D366;
  transform: translate(-50%, -50%) rotate(90deg);
}

.social-btn-instagram {
  z-index: 3;
  background: #E1306C;
  transform: translate(-50%, -50%) rotate(-115deg);
}

.social-btn-hub {
  z-index: 4;
  background: #5C4A32;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.social-fan:hover .social-btn-whatsapp {
  transform: translate(-170%, -50%) rotate(-90deg);
}

.social-fan:hover .social-btn-instagram {
  transform: translate(70%, -50%) rotate(90deg);
}

.social-fan:hover .social-btn-hub {
  transform: translate(-50%, -50%) rotate(0deg);
}

.social-fan:hover .social-btn-hub svg {
  animation: social-hub-spin 4s linear infinite;
}

.social-touch {
  position: relative;
  z-index: 5;
  height: 100%;
  flex: 1;
  cursor: pointer;
}

.social-fan:hover .social-touch {
  z-index: 1;
}

.social-touch.left:hover ~ .social-btn-whatsapp {
  transform: translate(-170%, -50%) rotate(-90deg) scale(1.08);
}

.social-touch.right:hover ~ .social-btn-instagram {
  transform: translate(70%, -50%) rotate(90deg) scale(1.08);
}

.social-touch.middle:hover ~ .social-btn-hub {
  transform: translate(-50%, -50%) rotate(0deg) scale(1.08);
}

@keyframes social-hub-spin {
  to { transform: rotate(360deg); }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

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

/* ---------- Gallery reveal: items assemble from left/right on scroll, undo on scroll away ---------- */
.gallery-reveal-item {
  opacity: 0;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.gallery-reveal-item:nth-child(odd) {
  transform: translateX(-70px);
}

.gallery-reveal-item:nth-child(even) {
  transform: translateX(70px);
}

.gallery-reveal-item.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Shared section rhythm ---------- */
section:not(.hero) {
  padding: 96px 0;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

h2 {
  font-family: 'Lexend Exa', sans-serif;
  font-weight: 300;
  font-size: clamp(1.05rem, 2.1vw, 1.75rem);
  line-height: 1.5;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin: 0 0 40px;
  max-width: 900px;
}

h3:not(.gift-title) { font-family: 'Lexend Exa', sans-serif; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}

/* ---------- Photo marquee: every real project photo, always scrolling ---------- */
.photo-marquee-section {
  padding: 88px 0 64px;
  text-align: center;
  background: #2A2A2A;
}

.photo-marquee-section h2 {
  margin: 0 auto 36px;
  text-align: center;
}

.photo-marquee {
  width: 100%;
  overflow: hidden;
}

.photo-marquee-track {
  display: flex;
  width: max-content;
  animation: photo-marquee-scroll 60s linear infinite;
}

.photo-marquee-track img {
  height: 320px;
  width: 230px;
  object-fit: cover;
  margin-right: 14px;
  border-radius: 16px;
  flex-shrink: 0;
}

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

.photo-marquee-cta { display: flex; justify-content: center; margin-top: 30px; }
.photo-marquee-cta .btn-cta { text-transform: none; letter-spacing: .02em; font-size: 14px; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  background: #0E0E0E;
  padding: 22px 0;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  animation: marquee-scroll 32s linear infinite;
}

.marquee-track span {
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 17px;
  color: #E6E6E4;
  text-transform: uppercase;
  letter-spacing: .02em;
  padding-right: 8px;
}

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

/* ---------- Hero manifesto (overlaid on the hero photo, below the title) ---------- */
.hero-manifesto {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 36px auto 0;
}

.manifesto-lead {
  font-size: 14px;
  color: rgba(243, 243, 242, .78);
  margin: 0 0 18px;
}

.manifesto-quote {
  margin: 0 0 18px;
}

.manifesto-quote p {
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  line-height: 1.36;
  margin: 0;
  color: #F3F3F2;
}

.manifesto-quote em {
  font-style: normal;
  color: var(--gold);
}

.manifesto-sign {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(243, 243, 242, .68);
  margin: 0;
}

/* ---------- Word reveal: words slide in alternating from left/right ---------- */
.word-reveal-item {
  display: inline-block;
  opacity: 0;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.word-reveal-item.is-visible {
  opacity: 1;
  transform: translateX(0) !important;
}

/* ---------- Servicios ---------- */
.servicios-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}

.servicio-card {
  background: var(--card);
  border-radius: 28px;
  padding: 40px;
  border: 1px solid transparent;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}

.servicio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px -26px rgba(17, 17, 17, .35);
  border-color: var(--gold);
  animation: levitate 2.6s var(--ease) infinite;
}

@keyframes levitate {
  0%, 100% { transform: translateY(-10px); }
  50% { transform: translateY(-16px); }
}

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

.servicio-primary { padding-bottom: 56px; }

.servicio-num {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 18px;
}

.servicio-card h3 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  margin: 0 0 14px;
}

.servicio-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 24px;
  max-width: 46ch;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tag-list li {
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

/* ---------- Medidas ---------- */
.medidas {
  background: var(--sand);
}

.medidas .section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.medidas-text h2 { margin-bottom: 18px; }

.medidas-text p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 42ch;
  margin: 0 0 28px;
}

.btn-cta-dark {
  display: inline-block;
  padding: 13px 24px;
}

.medidas-figure {
  position: relative;
}

.medidas-figure img {
  width: 100%;
  border-radius: 24px;
  display: block;
}

.medidas-annotate {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.medidas-line {
  fill: none;
  stroke: #F3F3F2;
  stroke-width: 5.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .55));
}

.medidas-label {
  position: absolute;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 30px;
  color: #F3F3F2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .55);
  pointer-events: none;
  white-space: nowrap;
}

.medidas-char {
  opacity: 0;
  transition: opacity .1s linear;
}

.medidas-char.is-visible {
  opacity: 1;
}

.medidas-label-ancho {
  left: 32%;
  top: 74%;
}

.medidas-label-alto {
  left: 60%;
  top: 36%;
  transform: translate(-50%, -50%) rotate(-90deg);
}

.medidas-figure {
  cursor: pointer;
}

/* ---------- Lona bagun ---------- */
.bagun {
  max-width: none;
  background: #0E0E0E;
  color: #E6E6E4;
  padding: 96px 0;
}

.bagun-head {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.bagun .eyebrow { color: var(--gold); }
.bagun h2 { color: #E6E6E4; }

.bagun-gallery {
  display: flex;
  gap: 10px;
  height: 440px;
  max-width: 1200px;
  margin: 16px auto 0;
  padding: 8px 40px 28px;
}

.bagun-item {
  position: relative;
  flex: 1 1 0%;
  min-width: 60px;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #0E0E0E;
  box-shadow: 0 30px 60px -26px rgba(0, 0, 0, .5);
  transition: flex-grow .5s var(--ease);
}

.bagun-item:hover,
.bagun-item:focus-within {
  flex-grow: 4;
}

.bagun-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 760px) {
  .bagun-gallery {
    height: 320px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .bagun-gallery::-webkit-scrollbar { display: none; }
  .bagun-item {
    flex: 0 0 78%;
    scroll-snap-align: center;
  }
  .bagun-item:hover,
  .bagun-item:focus-within {
    flex-grow: 0;
  }
}

.music-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px auto 0;
  padding: 11px 20px;
  border-radius: 12px;
  border: 1px solid rgba(230, 230, 228, .25);
  background: transparent;
  color: #E6E6E4;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  width: max-content;
}

.music-toggle:hover { background: rgba(230, 230, 228, .08); }

/* ---------- Reels ---------- */
.reels-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 280px));
  justify-content: center;
  gap: 24px;
}

.reels h2, .reels-hint { text-align: center; margin-left: auto; margin-right: auto; }

.reel-card {
  position: relative;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  cursor: pointer;
  background: #0E0E0E;
}

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

.reel-sound {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(17, 17, 17, .55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.reel-card figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}

.reels-hint {
  margin: 20px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ---------- Clientes / banner gallery ---------- */
.clientes {
  background: #0E0E0E;
  color: #E6E6E4;
}

.clientes h2 { color: #E6E6E4; }

.banner-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  grid-auto-flow: dense;
  gap: 16px;
  margin-bottom: 48px;
}

.banner-item {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
}

.banner-wide { grid-column: span 2; }

.banner-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}

.banner-item:hover img { transform: scale(1.06); }

.banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .72) 100%);
  opacity: 0;
  transition: opacity .3s var(--ease);
}

.banner-item:hover .banner-overlay { opacity: 1; }

.banner-overlay p {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  transform: translateY(6px);
  transition: transform .3s var(--ease);
}

.banner-item:hover .banner-overlay p { transform: translateY(0); }

.banner-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(10, 9, 6, .92);
  opacity: 0;
  transition: opacity .3s var(--ease);
}

.banner-modal.is-open {
  display: flex;
  opacity: 1;
}

.banner-modal img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.banner-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(230, 230, 228, .25);
  background: transparent;
  color: #E6E6E4;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.banner-modal-close:hover { background: rgba(230, 230, 228, .1); }

.testimonial {
  max-width: 560px;
  margin: 0;
}

.testimonial p {
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.4;
  margin: 0 0 14px;
  color: #E6E6E4;
}

.testimonial cite {
  font-style: normal;
  font-size: 13px;
  color: rgba(230, 230, 228, .68);
}

/* ---------- Antes y despues ---------- */
.antes-despues {
  text-align: center;
}

.antes-despues h2 {
  margin: 0 auto 8px;
}

.antes-despues-sub {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 36px;
}

.compare-slider {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  box-shadow: 0 30px 60px -26px rgba(17, 17, 17, .35);
}

.compare-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.compare-before-wrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
}

.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, .35);
  transform: translateX(-50%);
  pointer-events: none;
}

.compare-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}

.compare-label {
  position: absolute;
  bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(17, 17, 17, .55);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  pointer-events: none;
}

.compare-label-before { left: 16px; }
.compare-label-after { right: 16px; }

/* ---------- Proceso ---------- */
.proceso-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.proceso-list li {
  background: var(--card);
  border-radius: 20px;
  border: 1px solid transparent;
  padding: 24px 22px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}

.proceso-list li:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px -26px rgba(17, 17, 17, .35);
  border-color: var(--gold);
  animation: levitate 2.6s var(--ease) infinite;
}

@media (prefers-reduced-motion: reduce) {
  .proceso-list li:hover { animation: none; }
}

.proceso-num {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 14px;
}

.proceso-list h3 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  margin: 0 0 8px;
}

.proceso-list p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- CTA final ---------- */
.cta-final {
  background: #0E0E0E;
  color: #E6E6E4;
}

.cta-final .section-inner {
  text-align: center;
  max-width: 720px;
}

.cta-final h2 { color: #E6E6E4; }

.cta-final-sub {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(230, 230, 228, .68);
  max-width: 46ch;
  margin: 0 auto 36px;
}

.cta-final-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-final .btn-cta {
  background: var(--cream);
  color: var(--ink);
}

.btn-line {
  --btn-dot: var(--ink);
  --btn-hover-text: var(--cream);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
}

.cta-final .btn-line {
  --btn-dot: #E6E6E4;
  --btn-hover-text: var(--ink);
  color: #E6E6E4;
  border-color: rgba(230, 230, 228, .3);
}

/* ---------- Footer ---------- */
.site-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 40px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 16px;
}

.footer-brand img { border-radius: 50%; }

.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.footer-note {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin: 0;
  width: 100%;
  text-align: left;
}

@media (max-width: 900px) {
  .servicios-grid { grid-template-columns: 1fr; }
  .medidas .section-inner { grid-template-columns: 1fr; gap: 32px; }
  .reels-grid { grid-template-columns: 1fr 1fr; }
  .banner-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .proceso-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .header-inner { padding: 20px 20px; }
  .nav-links { display: none; }
  .site-header.is-scrolled .header-inner { margin-top: 10px; padding: 8px 14px; }
  .hero { padding-top: 140px; }
  section:not(.hero) { padding: 64px 0; }
  .section-inner { padding: 0 24px; }
  .reels-grid { grid-template-columns: 1fr; }
  .banner-gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .banner-wide { grid-column: span 1; }
  .proceso-list { grid-template-columns: 1fr; }
  .photo-marquee-track img { height: 220px; width: 160px; }
  .footer-note { text-align: center; }
  .site-footer { justify-content: center; text-align: center; }
}

/* ---------- Botones flotantes (Instagram / WhatsApp), siempre visibles abajo a la derecha ---------- */
.float-social {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 22px rgba(17, 17, 17, .3);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.float-btn:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 12px 28px rgba(17, 17, 17, .38); }
.float-btn-whatsapp { background: #25D366; }
.float-btn-instagram { background: #E1306C; }

@media (max-width: 720px) {
  .float-social { right: 14px; bottom: 14px; }
  .float-btn { width: 52px; height: 52px; }
}

.float-social.is-swapping .float-btn { transition: none; }

/* ---------- Ventanita flotante del 10% (abajo a la izquierda): titular + botón; al tocarlo se despliegan los campos y los textos legales.
   Al cerrarla queda el cuadradito (.promo-mini), que solo desaparece cuando la persona se registra. ---------- */
.promo-win { position: fixed; left: 20px; bottom: 20px; z-index: 90; width: min(360px, calc(100vw - 92px)); color: #F3F3F2; }
.promo-win.is-hidden { display: none; }
.promo-card {
  position: relative;
  max-height: calc(100svh - 40px);
  overflow-y: auto;
  padding: 16px 16px 14px;
  border: 1px solid rgba(230, 230, 228, .2);
  border-radius: 18px;
  background: linear-gradient(rgba(60, 44, 24, .55), rgba(24, 20, 14, .94)), #1b1814;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .5);
}
.promo-close {
  position: absolute;
  top: 8px; right: 8px;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  border: 0; padding: 0;
  color: #F3F3F2;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(17, 17, 17, .45);
}
.promo-head { display: flex; align-items: center; gap: 12px; padding-right: 26px; }
.promo-win .promo-num { font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 46px; line-height: 1; color: var(--gold); flex: 0 0 auto; animation: promo-pulse 2.4s ease-in-out infinite; }
.promo-win .promo-text { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.3; }
.promo-win .registro-form { padding: 0; background: none; border: 0; border-radius: 0; gap: 10px; margin-top: 12px; }
.promo-fields { display: none; flex-direction: column; gap: 10px; }
.promo-win.is-open .promo-fields { display: flex; }
.promo-win .registro-form label { font-size: 12.5px; gap: 4px; }
.promo-win .registro-form input[type="text"],
.promo-win .registro-form input[type="email"],
.promo-win .registro-form input[type="tel"] { padding: 9px 11px; font-size: 14px; border-radius: 9px; }
.promo-win .registro-form .registro-check { font-size: 11.5px; gap: 8px; }
.promo-win .registro-submit { padding: 11px; font-size: 14px; border-radius: 10px; }
.promo-win .registro-msg { font-size: 13px; }
.promo-win .registro-msg:empty { display: none; }
.promo-win .registro-msg.is-error { color: #F0A596; }
.promo-win .registro-msg.is-ok { color: #B7DB9B; }
.promo-win .registro-legal { max-height: 96px; overflow-y: auto; font-size: 10.5px; line-height: 1.45; color: rgba(243, 243, 242, .65); padding-right: 4px; }
.promo-win.is-registered .promo-fields, .promo-win.is-registered .registro-submit { display: none; }
.promo-win.is-registered .promo-head { margin-bottom: 2px; }

/* cuadradito: lo que queda al cerrar la ventana */
.promo-mini { display: none; }
.promo-win.is-mini { width: auto; }
.promo-win.is-mini .promo-card { display: none; }
.promo-win.is-mini .promo-mini {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  width: 92px; height: 92px;
  border: 1px solid rgba(230, 230, 228, .25);
  border-radius: 18px;
  cursor: pointer;
  color: #F3F3F2;
  background: linear-gradient(rgba(60, 44, 24, .55), rgba(24, 20, 14, .94)), url("../assets/banner/banner-7.jpg") center / cover;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .45);
  animation: promo-bob 3.2s ease-in-out infinite;
}
.promo-mini-num { font-family: 'Fredoka', sans-serif; font-weight: 700; font-size: 38px; line-height: 1; color: var(--gold); }
.promo-mini-txt { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
@keyframes promo-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@keyframes promo-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) {
  .promo-win .promo-num, .promo-win.is-mini .promo-mini { animation: none; }
}
@media (max-width: 720px) {
  .promo-win { left: 14px; bottom: 14px; }
  .promo-win.is-mini .promo-mini { width: 74px; height: 74px; border-radius: 15px; }
  .promo-mini-num { font-size: 30px; }
  .promo-mini-txt { font-size: 9.5px; }
}

/* ---------- Formulario de registro ---------- */
.registro { padding: 88px 0; background: var(--sand); }
.registro-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.registro-big {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: clamp(90px, 14vw, 170px);
  line-height: .9;
  color: var(--gold);
}
.registro-copy h2 { margin: 8px 0 12px; }
.registro-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
}
.registro-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.registro-form input[type="text"],
.registro-form input[type="email"],
.registro-form input[type="tel"] {
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #1A1A1A;
  font: inherit;
  font-weight: 400;
  color: var(--ink);
}
.registro-form input:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.registro-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.registro-form .registro-check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; line-height: 1.4; }
.registro-check input { margin-top: 3px; flex: 0 0 auto; accent-color: var(--gold); }
.registro-submit {
  padding: 15px;
  border: 0;
  border-radius: 14px;
  background: var(--ink);
  color: var(--cream);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background .25s var(--ease);
}
.registro-submit:hover { background: var(--gold); }
.registro-submit:disabled { opacity: .6; cursor: wait; }
.registro-msg { margin: 0; min-height: 1.3em; font-size: 14px; font-weight: 600; }
.registro-msg.is-error { color: #9A3B2B; }
.registro-msg.is-ok { color: #4F6B2E; }
.registro-legal { margin: 0; font-size: 11.5px; line-height: 1.5; color: var(--ink-soft); }

@media (max-width: 860px) {
  .registro { padding: 64px 0; }
  .registro-inner { grid-template-columns: 1fr; gap: 28px; }
  .registro-form { padding: 22px; }
}

/* ---------- Popup de regalo (cupón 10%), al tocar el banner ---------- */
.gift-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(17, 17, 17, .62);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility 0s linear .3s;
}
.gift-modal.is-open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }

.gift-wrap {
  position: relative;
  width: min(380px, 100%);
  text-align: center;
  transform: scale(.85) translateY(20px);
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1);
}
.gift-modal.is-open .gift-wrap { transform: none; }

.gift-close {
  position: absolute;
  top: -34px; right: -6px;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(230, 230, 228, .6);
  background: transparent;
  color: #E6E6E4;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.gift-title {
  margin: 0 0 30px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  color: #F3DDB4;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .4);
}

.gift-spark { position: absolute; color: #F3DDB4; font-size: 18px; animation: gift-twinkle 1.8s ease-in-out infinite; }
.gift-spark-l { left: 70px; top: 92px; }
.gift-spark-r { right: 70px; top: 100px; font-size: 14px; animation-delay: .6s; }
@keyframes gift-twinkle { 0%, 100% { opacity: .3; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.2); } }

.gift-bow { position: relative; z-index: 3; margin-bottom: -22px; animation: gift-bow-bounce 2.4s ease-in-out infinite; }
@keyframes gift-bow-bounce { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-5px) rotate(-2deg); } }

.gift-box {
  position: relative;
  padding: 34px 14px 14px;
  border: 1.5px solid #E9D2A4;
  border-radius: 22px;
  background: linear-gradient(180deg, #D9A65C 0%, #A9782F 45%, #4A3620 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}

.gift-card {
  padding: 22px 14px 18px;
  border-radius: 22px 22px 40px 40px;
  background: radial-gradient(120% 90% at 50% 100%, #FFF6E3 0%, #F3F3F2 60%);
}

.gift-ticket {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 10px 12px;
  background: linear-gradient(135deg, #FBF1DD, #E6C89A);
  border-radius: 14px;
  -webkit-mask: radial-gradient(circle 11px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 11px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 11px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 11px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
}
.gift-off {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 58px;
  line-height: 1;
  color: #4A3010;
  animation: promo-pulse 2s ease-in-out infinite;
}
.gift-off-sub { margin-top: 4px; font-size: 13px; font-weight: 600; color: #6B5230; }
.gift-note { margin: 14px 0 0; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--ink-soft); }

.gift-claim {
  position: relative;
  overflow: hidden;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  border-radius: 999px;
  border: 1.5px solid #F3DDB4;
  background: linear-gradient(180deg, #E9B871, #C98F45);
  color: #111111;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 18px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
}
.gift-claim::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -50%;
  width: 30%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: skewX(-20deg);
  animation: promo-shine 2.6s ease-in-out infinite;
}
.gift-hand {
  position: absolute;
  right: 10px;
  bottom: -14px;
  transform: rotate(-20deg);
  animation: gift-tap 1.2s ease-in-out infinite;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .3));
}
@keyframes gift-tap { 0%, 100% { translate: 0 0; } 50% { translate: -6px -8px; } }

@media (prefers-reduced-motion: reduce) {
  .gift-wrap, .gift-bow, .gift-spark, .gift-off, .gift-claim::after, .gift-hand { animation: none; transition: none; }
}

/* Arreglo celular (2026-09-28): el efecto de armado de la galería de banners mueve las fotos hacia los costados y deja partes fuera de pantalla;
   el navegador del teléfono lo toma como una página más ancha (436 px en vez de 390) y la achica, y todo se ve descentrado.
   Se recorta lo que se sale por los costados (overflow-x: clip no crea scroll ni afecta el sticky). En escritorio el efecto se ve igual. */
.clientes { overflow-x: clip; }
html { overflow-x: clip; }

/* Celular (pedido de Roman): el 2026-09-28 el logo estaba a la izquierda y la hamburguesa al centro; el 2026-10-10 lo volvió a cambiar:
   la HAMBURGUESA va a la IZQUIERDA y el logo con el anillo que gira en el MEDIO. CONSULTAR sigue a la derecha. Solo en pantallas de teléfono; en escritorio no cambia nada. */
/* Escritorio (2026-10-10): sin hamburguesa; a la izquierda "idea tu casa" con el logo, el menú simétrico (3 + logo + 3) y CONSULTAR a la derecha. */
@media (min-width: 1700px) {
  .nav-toggle { display: none; }
  .nav-links { gap: 16px; }
  .nav-center { gap: 16px; }
}
/* con mucho ancho el menú se reparte parejo a los dos lados del logo redondo, que queda clavado en el centro (3 ítems a cada lado, columnas laterales iguales);
   más angosto queda agrupado en el medio */
@media (min-width: 1700px) {
  .header-inner {
    max-width: none;
    padding: 0 clamp(40px, 3.4vw, 72px);
    grid-template-columns: clamp(110px, 8vw, 180px) minmax(0, 1fr) auto minmax(0, 1fr) clamp(110px, 8vw, 180px);
  }
  .nav-center { display: contents; }
  .brand-left { grid-column: 1; }
  .nav-center .nav-links:first-of-type { grid-column: 2; }
  .brand { grid-column: 3; margin: 0 clamp(8px, 1vw, 24px); }
  .nav-center .nav-links:last-of-type { grid-column: 4; }
  .btn-cta { grid-column: 5; }
  .nav-links { gap: 14px; justify-content: space-evenly; }
  .brand-left-logo { height: clamp(58px, 3.84vw, 77px); }
}
@media (max-width: 1699px) {
  .brand-left { display: none; }
  .nav-links { display: none; }
  .header-inner { padding: 20px 20px; }
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; }
  .nav-toggle { order: 1; justify-self: start; }
  .nav-center { order: 2; justify-self: center; }
  .btn-cta { order: 3; justify-self: end; }
}

/* Roman, 2026-10-09: la "×" de cerrar (banner del 10% y popup de regalo) salía descentrada porque el carácter × tiene sus propios márgenes en la tipografía.
   Ahora la X se dibuja con dos rayitas centradas en el círculo (no depende de la fuente). */
.promo-close, .gift-close { font-size: 0; line-height: 0; }
.promo-close::before, .promo-close::after,
.gift-close::before, .gift-close::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 2px;
  border-radius: 1px;
  background: currentColor;
}
.promo-close::before, .gift-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.promo-close::after, .gift-close::after { transform: translate(-50%, -50%) rotate(-45deg); }


/* ---------- Menú desplegable de Colchonetas (2026-10-10, estilo Pergiro): panel blanco a lo ancho bajo el header ---------- */
.nav-links a.has-mega { display: inline-flex; align-items: center; gap: 7px; }
.nav-links a.has-mega svg { transition: transform .3s var(--ease); }
.site-header.mega-open .has-mega svg { transform: rotate(180deg); }

.mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #171717;
  box-shadow: 0 24px 40px rgba(17, 17, 17, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}

.site-header.mega-open .mega { opacity: 1; visibility: visible; transform: none; }

.mega-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 36px 40px 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
}

.mega-title, .mega-list a, .mega-card span, .mega-more {
  font-family: 'Lexend Exa', sans-serif;
  color: var(--ink);
}

.mega-title { margin: 0 0 18px; font-size: 13px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; }
.mega-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mega-list a { font-size: 11px; font-weight: 300; letter-spacing: 2px; text-transform: uppercase; transition: color .3s var(--ease); }
.mega-list a:hover { color: var(--gold); }

.mega-cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.mega-card { display: block; text-align: center; }
.mega-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; display: block; transition: transform .4s var(--ease); }
.mega-card:hover img { transform: scale(1.03); }
.mega-note { margin: 0; text-align: center; font-family: 'Lexend Exa', sans-serif; font-size: 11px; font-weight: 300; letter-spacing: 1.4px; line-height: 1.8; color: var(--ink); opacity: .8; }
.mega-card span { display: block; margin-top: 12px; font-size: 11px; font-style: italic; font-weight: 300; letter-spacing: 1.5px; }

.mega-more { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; white-space: nowrap; }
.mega-more-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }

/* celular: dentro de la hamburguesa es un acordeón, sin fotos */
.mobile-nav-links .mobile-sub-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 2px; border: none; border-bottom: 1px solid var(--border); background: none; cursor: pointer; text-align: left;
  font-family: 'Lexend Exa', sans-serif; font-size: 12px; font-weight: 400; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ink); overflow: hidden;
}
.mobile-sub-toggle .mobile-nav-arrow { transition: transform .3s var(--ease); }
.mobile-sub-toggle[aria-expanded="true"] .mobile-nav-arrow { transform: rotate(90deg); }
.mobile-sub { display: none; flex-direction: column; padding-left: 14px; }
.mobile-sub.is-open { display: flex; }
.mobile-nav-links .mobile-sub a { font-size: 10.5px; padding: 11px 2px; color: var(--ink-soft); }

@media (max-width: 1699px) { .mega { display: none; } }


/* Celular (2026-10-10): el video del hero es horizontal y con cover se cortaba la frase de los costados. Acá se muestra entero (achicado al ancho de la pantalla)
   sobre una franja oscura, debajo del header. */
@media (max-width: 720px) {
  .hero { min-height: 0; padding: 112px 0 0; display: block; background: #0E0E0E; }
  .hero-media { position: relative; inset: auto; }
  .hero-media video { height: auto; aspect-ratio: 1914 / 1080; object-fit: contain; }
}


/* ---------- Sector "Deco Outdoor" (2026-10-10, estilo Pergiro con la paleta oscura): fondo oscuro con líneas verticales, palabra gigante tenue,
   título con letras muy abiertas y 4 columnas; al pasar el mouse aparece la foto detrás y el contenido baja un poco. En celular: carril que se desliza. ---------- */
.sector {
  --sector-gold: #CDAA55;
  position: relative;
  overflow: hidden;
  background: #0E0E0E;
  color: #E6E6E4;
  padding: 70px 0 110px;
  /* líneas verticales finas, 6 columnas */
  background-image: repeating-linear-gradient(90deg, rgba(230, 230, 228, .07) 0 1px, transparent 1px calc(100% / 6));
}
section.sector { padding: 70px 0 110px; }

.sector-word {
  position: absolute;
  left: 50%;
  top: 150px;
  transform: translateX(-50%);
  font-family: 'Lexend Exa', sans-serif;
  font-size: clamp(120px, 22vw, 380px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: .02em;
  color: rgba(230, 230, 228, .045);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.sector-inner { position: relative; max-width: 1280px; margin: 0 auto; padding: 0 40px; }

.sector-tick { display: block; width: 1px; height: 60px; background: #E6E6E4; margin: 0 auto 28px; }

.sector-title {
  margin: 0 auto 90px;
  text-align: center;
  font-family: 'Lexend Exa', sans-serif;
  font-size: clamp(26px, 4.2vw, 58px);
  font-weight: 300;
  letter-spacing: .5em;
  padding-left: .5em;
  line-height: 1.2;
  text-transform: uppercase;
  color: #E6E6E4;
}

.sector-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; align-items: start; }

.sector-col { position: relative; min-height: 430px; padding: 34px 30px; outline: none; overflow: hidden; }

.sector-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .5s var(--ease), transform .8s var(--ease);
}

.sector-col::after {                       /* oscurece la foto para que el texto se lea */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 21, 19, .15), rgba(22, 21, 19, .78));
  opacity: 0;
  transition: opacity .5s var(--ease);
}

.sector-body { position: relative; z-index: 1; transition: transform .5s var(--ease); }

.sector-icon { display: block; color: var(--sector-gold); margin-bottom: 22px; }

.sector-col h3 {
  margin: 0 0 14px;
  font-family: 'Lexend Exa', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #E6E6E4;
}

.sector-col p {
  margin: 0;
  font-family: 'Lexend Exa', sans-serif;
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.85;
  letter-spacing: .6px;
  color: rgba(230, 230, 228, .9);
}

.sector-col:hover .sector-photo, .sector-col:focus-visible .sector-photo, .sector-col.is-active .sector-photo { opacity: 1; transform: none; }
.sector-col:hover::after, .sector-col:focus-visible::after, .sector-col.is-active::after { opacity: 1; }
.sector-col:hover .sector-body, .sector-col:focus-visible .sector-body, .sector-col.is-active .sector-body { transform: translateY(58px); }

@media (max-width: 900px) {
  .sector { padding: 50px 0 70px; }
  .sector-word { top: 120px; }
  .sector-inner { padding: 0; }
  .sector-title { margin-bottom: 40px; letter-spacing: .35em; padding-left: .35em; }
  .sector-cols {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding: 0 20px 6px;
    scrollbar-width: none;
  }
  .sector-cols::-webkit-scrollbar { display: none; }
  .sector-col { flex: 0 0 78%; scroll-snap-align: center; min-height: 400px; border: 1px solid rgba(230, 230, 228, .1); }
  .sector-col:hover .sector-body { transform: none; }
  .sector-col.is-active .sector-body { transform: translateY(40px); }
}


/* ---------- Botones (2026-10-10): transparentes, cuadrados, con línea fina (blanca sobre fondo oscuro, negra sobre fondo claro).
   Al pasar el mouse, dos tramos de línea recorren el borde (conic-gradient animado, recortado para que solo se vea el borde). ---------- */
@property --btn-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

.btn-cta, .btn-line, .registro-submit {
  --line: var(--ink);
  position: relative;
  overflow: visible;
  background: transparent;
  color: var(--line);
  border: 0;
  border-radius: 0;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--line) 55%, transparent);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .3s var(--ease);
}

.btn-cta::before, .btn-line::before, .registro-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  background: conic-gradient(from var(--btn-a), var(--line) 0 11%, transparent 11% 50%, var(--line) 50% 61%, transparent 61% 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}

.btn-cta:hover::before, .btn-line:hover::before, .registro-submit:hover::before, .registro-submit:focus-visible::before {
  opacity: 1;
  animation: btn-run 2.2s linear infinite;
}

@keyframes btn-run { to { --btn-a: 360deg; } }

/* sin el relleno con punto ni el cambio de texto del botón anterior */
.btn-dot, .btn-label-hover { display: none; }
.btn-cta:hover .btn-label, .btn-line:hover .btn-label { transform: none; opacity: 1; }
.registro-submit:hover { background: transparent; }

/* línea blanca sobre fondos oscuros */
.site-header.is-over-hero .btn-cta, .cta-final .btn-cta, .cta-final .btn-line { --line: #fff; background: transparent; color: #fff; }
.cta-final .btn-line { border: 0; }

@media (prefers-reduced-motion: reduce) { .btn-cta:hover::before, .btn-line:hover::before, .registro-submit:hover::before { animation: none; } }


@media (max-width: 720px) { h2 { letter-spacing: .14em; font-size: clamp(.95rem, 4.4vw, 1.2rem); } }

/* ---------- Sección de medidas (2026-10-10): sillón sin fondo con las líneas de medida que se dibujan una tras otra (ciclo de 10 s, en bucle) ---------- */
.medidas-anim { cursor: default; }
.sofa-anim { position: relative; width: 100%; max-width: 640px; margin: 0 auto; aspect-ratio: 1000 / 670; transform-origin: 50% 60%; animation: sofaDrift 10s ease-in-out infinite; }
.sofa-anim img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; border-radius: 0; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .45)); }
.sofa-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: sofaFade 10s linear infinite; filter: drop-shadow(0 0 4px rgba(255, 255, 255, .35)); }
.sofa-svg .ln { stroke-dasharray: 1; stroke-dashoffset: 1; }
.sofa-svg .tk, .sofa-svg .lb text { opacity: 0; }
@keyframes sofaDrift { 0%, 100% { transform: scale(1) translateY(0); } 50% { transform: scale(1.045) translateY(-6px); } }
@keyframes sofaFade { 0% { opacity: 0; } 3%, 88% { opacity: 1; } 94%, 100% { opacity: 0; } }
@keyframes d1 { 0%, 10% { stroke-dashoffset: 1; } 22%, 100% { stroke-dashoffset: 0; } }
@keyframes a1 { 0%, 10% { opacity: 0; } 10.6%, 100% { opacity: 1; } }
@keyframes b1 { 0%, 21.4% { opacity: 0; } 22%, 100% { opacity: 1; } }
@keyframes l1 { 0%, 17% { opacity: 0; } 23%, 100% { opacity: 1; } }
.sofa-svg .ln1 { animation: d1 10s linear infinite; }
.sofa-svg .ta1 { animation: a1 10s linear infinite; }
.sofa-svg .tb1 { animation: b1 10s linear infinite; }
.sofa-svg .lb1 { animation: l1 10s linear infinite; }
@keyframes d2 { 0%, 24% { stroke-dashoffset: 1; } 34%, 100% { stroke-dashoffset: 0; } }
@keyframes a2 { 0%, 24% { opacity: 0; } 24.6%, 100% { opacity: 1; } }
@keyframes b2 { 0%, 33.4% { opacity: 0; } 34%, 100% { opacity: 1; } }
@keyframes l2 { 0%, 29% { opacity: 0; } 35%, 100% { opacity: 1; } }
.sofa-svg .ln2 { animation: d2 10s linear infinite; }
.sofa-svg .ta2 { animation: a2 10s linear infinite; }
.sofa-svg .tb2 { animation: b2 10s linear infinite; }
.sofa-svg .lb2 { animation: l2 10s linear infinite; }
@keyframes d3 { 0%, 37% { stroke-dashoffset: 1; } 47%, 100% { stroke-dashoffset: 0; } }
@keyframes a3 { 0%, 37% { opacity: 0; } 37.6%, 100% { opacity: 1; } }
@keyframes b3 { 0%, 46.4% { opacity: 0; } 47%, 100% { opacity: 1; } }
@keyframes l3 { 0%, 42% { opacity: 0; } 48%, 100% { opacity: 1; } }
.sofa-svg .ln3 { animation: d3 10s linear infinite; }
.sofa-svg .ta3 { animation: a3 10s linear infinite; }
.sofa-svg .tb3 { animation: b3 10s linear infinite; }
.sofa-svg .lb3 { animation: l3 10s linear infinite; }
@keyframes d4 { 0%, 50% { stroke-dashoffset: 1; } 62%, 100% { stroke-dashoffset: 0; } }
@keyframes a4 { 0%, 50% { opacity: 0; } 50.6%, 100% { opacity: 1; } }
@keyframes b4 { 0%, 61.4% { opacity: 0; } 62%, 100% { opacity: 1; } }
@keyframes l4 { 0%, 57% { opacity: 0; } 63%, 100% { opacity: 1; } }
.sofa-svg .ln4 { animation: d4 10s linear infinite; }
.sofa-svg .ta4 { animation: a4 10s linear infinite; }
.sofa-svg .tb4 { animation: b4 10s linear infinite; }
.sofa-svg .lb4 { animation: l4 10s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  .sofa-anim, .sofa-svg, .sofa-svg .ln, .sofa-svg .tk, .sofa-svg .lb text { animation: none !important; }
  .sofa-svg .ln { stroke-dashoffset: 0; } .sofa-svg .tk, .sofa-svg .lb text { opacity: 1; }
}
@media (max-width: 860px) { .sofa-anim { max-width: 100%; } }

/* ---------- Tarjetas del proceso: al pasar el mouse, dos tramos de línea recorren el borde (igual que los botones) ---------- */
.proceso-list li { position: relative; }
.proceso-list li::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: conic-gradient(from var(--btn-a), var(--ink) 0 11%, transparent 11% 50%, var(--ink) 50% 61%, transparent 61% 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.proceso-list li:hover::before { opacity: 1; animation: btn-run 2.2s linear infinite; }
@media (prefers-reduced-motion: reduce) { .proceso-list li:hover::before { animation: none; } }


/* ---------- Almohadones (2026-10-10): reemplaza a "¿Conocías la lona bagún?". Mosaico de fotos de borde a borde: en cada tanda de 6 hay dos bloques
   (una foto grande de 2x2 y dos chicas apiladas), el segundo en espejo; las 2 últimas fotos ocupan media fila cada una. Separación fina entre fotos. ---------- */
section.almohadones { padding: 90px 0 0; background: #0E0E0E; }
.alm-head { max-width: 1200px; margin: 0 auto 44px; padding: 0 40px; }
.alm-head h2 { margin: 0; }
.alm-wrap { container-type: inline-size; --gap: 6px; --pad: 6px; padding: 0 var(--pad) var(--pad); }
.alm-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: calc((100cqw - 5 * var(--gap)) / 6);
  grid-auto-flow: dense;
  gap: var(--gap);
}
.alm-tile { position: relative; margin: 0; overflow: hidden; background: #1a1a1a; cursor: zoom-in; grid-column: auto; }
.alm-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease), filter .4s var(--ease); }
.alm-tile:hover img { transform: scale(1.06); filter: brightness(1.08); }
.alm-tile:nth-child(6n+1) { grid-column: 1; }
.alm-tile:nth-child(6n+2) { grid-column: 1; }
.alm-tile:nth-child(6n+3) { grid-column: 2 / span 2; grid-row: span 2; }
.alm-tile:nth-child(6n+4) { grid-column: 4 / span 2; grid-row: span 2; }
.alm-tile:nth-child(6n+5) { grid-column: 6; }
.alm-tile:nth-child(6n+6) { grid-column: 6; }
.alm-grid:not([data-fill]) .alm-tile:nth-last-child(-n+2) { grid-column: span 3; grid-row: span 2; }
@media (max-width: 900px) {
  section.almohadones { padding: 60px 0 0; }
  .alm-head { padding: 0 24px; margin-bottom: 28px; }
  .alm-wrap { --gap: 4px; --pad: 4px; }
  .alm-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: calc((100cqw - var(--gap)) / 2); }
  .alm-tile:nth-child(n) { grid-column: auto; grid-row: auto; }
  .alm-tile:nth-child(3n+1) { grid-column: 1 / span 2; grid-row: span 2; }
  .alm-tile:nth-last-child(-n+2) { grid-column: auto; grid-row: auto; }
}


/* ---------- Colchonetas (2026-10-10): texto arriba con dos botones y, debajo, el mosaico de fotos de borde a borde (mismo que Almohadones) ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
section.colchonetas { padding-bottom: 0; }
.colchonetas .section-inner { grid-template-columns: 1fr; margin-bottom: 56px; }
.colchonetas .medidas-text { max-width: 640px; }


/* ---------- Respaldos (2026-10-10): reemplaza a "Dos maneras de empezar...". Header de pantalla completa con las dos fotos grandes y nítidas; los textos entran animados ---------- */
section.respaldos { position: relative; overflow: hidden; min-height: 100vh; box-sizing: border-box; padding: 150px 0 26px; display: flex; align-items: center; justify-content: center; background: #0E0E0E; }
.resp-bg { position: absolute; inset: 0; background: url('../assets/respaldos/fondo.jpg?v=1') center / cover no-repeat; transform: scale(1.06); transition: transform 14s linear; }
.resp-bg::after { content: ''; position: absolute; inset: 0; background: rgba(14, 14, 14, .45); }
.respaldos.is-in .resp-bg { transform: scale(1.16); }
.resp-inner { position: relative; z-index: 1; width: 100%; padding: 0 clamp(20px, 4vw, 80px); text-align: center; }
.resp-title { max-width: none; margin: 0 auto; color: #fff; font-size: clamp(18px, 2.3vw, 36px); letter-spacing: .2em; text-shadow: 0 2px 16px rgba(0, 0, 0, .4); }
.resp-title b { font-weight: 600; }
.resp-title .w, .resp-card figcaption .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; }
.resp-title .w > span, .resp-card figcaption .w > span { display: inline-block; transform: translateY(115%); opacity: 0; transition: transform .8s var(--ease), opacity .6s var(--ease); transition-delay: calc(var(--i) * .11s + .15s); }
.respaldos.is-in .w > span { transform: none; opacity: 1; }
.resp-line { display: block; width: min(46vw, 620px); height: 2px; margin: 16px auto 28px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease) .7s; }
.respaldos.is-in .resp-line { transform: scaleX(1); }
.resp-cards { display: flex; justify-content: center; gap: clamp(24px, 3.4vw, 70px); }
.resp-card { margin: 0; width: min(40vw, max(230px, calc(100vh - 470px)), 560px); opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d) * .22s + .9s); }
.respaldos.is-in .resp-card { opacity: 1; transform: none; }
.resp-photo { overflow: hidden; border-radius: 26px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .65); clip-path: inset(0 0 100% 0 round 26px); transition: clip-path 1.2s var(--ease); transition-delay: calc(var(--d) * .22s + 1s); }
.respaldos.is-in .resp-photo { clip-path: inset(0 0 0 0 round 26px); }
.resp-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.resp-card figcaption { margin-top: 18px; color: #fff; font-size: clamp(14px, 1.2vw, 21px); font-weight: 300; line-height: 1.5; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.resp-card figcaption b { font-weight: 700; }
.resp-logo { display: block; width: clamp(70px, 5vw, 92px); margin: 20px auto 0; filter: brightness(0) invert(1); opacity: 0; transition: opacity 1s var(--ease) 2.2s; }
.respaldos.is-in .resp-logo { opacity: .95; }
@media (prefers-reduced-motion: reduce) {
  .respaldos * { transition: none !important; }
  .resp-bg { transform: none; } .w > span, .resp-card, .resp-photo, .resp-line, .resp-logo { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
@media (max-width: 900px) {
  section.respaldos { padding: 90px 0 90px; min-height: 0; }
  .resp-cards { flex-direction: column; align-items: center; gap: 36px; }
  .resp-card { width: min(86vw, 520px); }
  .resp-title { font-size: clamp(16px, 5vw, 24px); letter-spacing: .14em; }
  .resp-line { margin: 18px auto 36px; }
}


/* ---------- Opiniones (carrusel estilo Pergiro). Tarjetas de EJEMPLO: no publicar hasta cargar comentarios reales ---------- */
section.opiniones { background: #000; text-align: center; padding: 80px 0 90px; overflow: hidden; }
.opi-title { margin: 0 auto; max-width: none; padding: 0 24px 14px; display: inline-block; border-bottom: 1px solid #fff; }
.opi-tri { display: block; margin: 56px auto 36px; overflow: visible; transform-origin: 50% 33.5%; } /* triángulo grande sin relleno (antes: línea + triángulo chico); gira media vuelta en cada cambio de tarjeta, ver main.js */
.opi-track { display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 70px calc(50% - 310px) 10px; margin-top: -30px; scrollbar-width: none; }
.opi-track::-webkit-scrollbar { display: none; }
.opi-card { position: relative; flex: 0 0 620px; max-width: 86vw; scroll-snap-align: center; background: #2a2a2a; border-radius: 10px; padding: 74px 40px 40px; opacity: .45; transform: scale(.92); transition: opacity .5s var(--ease), transform .5s var(--ease); color: #fff; }
.opi-card.is-on { opacity: 1; transform: none; }
.opi-avatar { position: absolute; left: 50%; top: -52px; transform: translateX(-50%); width: 104px; height: 104px; border-radius: 50%; background: #1b1b1b; border: 6px solid #fff; box-shadow: 0 0 0 10px #666; display: flex; align-items: center; justify-content: center; font-size: 40px; font-weight: 600; }
.opi-card p { margin: 0 0 24px; font-size: 15px; line-height: 1.75; }
.opi-card cite { font-style: normal; font-weight: 600; color: #b3a77a; font-size: 14px; }

.opi-stars { color: #d8b25a; letter-spacing: 3px; font-size: 16px; margin-bottom: 14px; }
.opi-card small { display: block; margin-top: 6px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.opi-card { min-height: 330px; }
@media (max-width: 720px) { .opi-track { padding-left: 7vw; padding-right: 7vw; } .opi-card { flex-basis: 86vw; padding: 70px 24px 32px; } }


/* ---------- Header del celular (2026-10-14): video vertical "Summer Outdoor" (antes: fotos que pasaban con fundido) ---------- */
.hero-mobile { display: none; }
@media (max-width: 720px) {
  .hero { min-height: 100svh; padding: 0; display: block; background: #0E0E0E; }
  .hero-media { position: absolute; inset: 0; }
  .hero-media video { display: none; }
  .hero-mobile { display: block; position: absolute; inset: 0; overflow: hidden; }
  .hero-mobile video { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .hero-scrim { background: linear-gradient(180deg, rgba(14, 14, 14, .5) 0%, rgba(14, 14, 14, 0) 22%); }
}

/* Celular y pantallas con hamburguesa (2026-10-10): header más arriba, pegado al borde superior */
@media (max-width: 1699px) {
  .site-header { padding: 4px 0; }
  .header-inner, .site-header.is-scrolled .header-inner { padding-top: 0; padding-bottom: 0; }
  .site-header .brand { width: 76px; height: 76px; }
}

/* ---------- Quiénes somos (2026-10-14): reusa .medidas (texto + foto) ---------- */
.quienes .medidas-text p { max-width: 54ch; }
.quienes .medidas-text .quienes-cierre { color: var(--ink); font-weight: 600; margin-bottom: 0; }
.quienes-figure { margin: 0; }
.quienes-figure img {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 24px;
  display: block;
}
@media (max-width: 720px) { .quienes-figure img { max-height: 460px; } }

/* Celular: al sacar las fotos marcadas (data-m-hide), si la ultima queda sola en su fila ocupa todo el ancho (2026-10-14) */
@media (max-width: 720px) { .alm-tile:last-child:nth-child(3n+1) { grid-column: 1 / span 2; grid-row: auto; } }

/* ---------- Colores (2026-10-14): elegir el color de la reposera con una "pasada" diagonal ---------- */
.colores { --p: 0; --bgcur: #5F5D5C; --next-bg: #5F5D5C; position: relative; overflow: hidden; background: var(--bgcur); color: var(--fg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: color .4s var(--ease), border-color .4s var(--ease); }
.colores[data-tone="blanco"]  { --fg: #17150F; --fg-soft: rgba(23, 21, 15, .72); --line: rgba(23, 21, 15, .2); }
.colores[data-tone="natural"] { --fg: #2A2118; --fg-soft: rgba(42, 33, 24, .72); --line: rgba(42, 33, 24, .22); }
.colores[data-tone="gris"]    { --fg: #F4F4F2; --fg-soft: rgba(244, 244, 242, .78); --line: rgba(244, 244, 242, .22); }
.colores[data-tone="negro"]   { --fg: #F4F4F2; --fg-soft: rgba(244, 244, 242, .74); --line: rgba(244, 244, 242, .2); }
.colores::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: var(--next-bg); opacity: 0; clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
.colores.is-wiping::before { opacity: 1; clip-path: polygon(0 0, calc(var(--p) * 160% - 30%) 0, calc(var(--p) * 160% - 60%) 100%, 0 100%); }
.colores > .section-inner { position: relative; z-index: 1; }
.colores h2, .colores .col-name { color: var(--fg); transition: color .4s var(--ease); }
.colores-inner { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "copy stage" "sw stage"; gap: 28px 64px; align-items: center; }
.colores-copy { grid-area: copy; align-self: end; }
.colores-copy h2 { margin-bottom: 16px; }
.colores-copy p:not(.eyebrow) { font-size: 15px; line-height: 1.65; color: var(--fg-soft); transition: color .4s var(--ease); max-width: 44ch; margin: 0; }
.colores-sw { grid-area: sw; align-self: start; }
.colores-stage { grid-area: stage; position: relative; width: 100%; max-width: 520px; justify-self: center; aspect-ratio: 3 / 4; border-radius: 24px; overflow: hidden; background: #1a1a1a; }
.colores-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-next { opacity: 0; clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
.colores-stage.is-wiping .cs-next { opacity: 1; clip-path: polygon(0 0, calc(var(--p) * 160% - 30%) 0, calc(var(--p) * 160% - 60%) 100%, 0 100%); }
.cs-sheen { position: absolute; top: -10%; bottom: -10%; left: 0; width: 22%; pointer-events: none; opacity: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); transform: translateX(calc(var(--p) * 727% - 255%)) skewX(-12.7deg); }
.colores-stage.is-wiping .cs-sheen { opacity: 1; }
.colores-swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 12px; max-width: 460px; }
.col-sw { background: none; border: 0; padding: 0; margin: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--fg); font: inherit; }
.col-dot { display: block; width: 68px; height: 68px; border-radius: 50%; background-size: cover; background-position: center; box-shadow: 0 0 0 2px transparent, 0 0 0 5px transparent; transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.col-sw:hover .col-dot { transform: scale(1.06); }
.col-sw.is-on .col-dot { box-shadow: 0 0 0 3px var(--bgcur), 0 0 0 5px var(--gold); }
.col-sw:focus-visible .col-dot { box-shadow: 0 0 0 3px var(--bgcur), 0 0 0 5px var(--fg); }
.col-name { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-align: center; line-height: 1.3; }
.colores-nota { font-size: 12px; color: var(--fg-soft); opacity: .8; margin: 22px 0 0; transition: color .4s var(--ease); }
@media (max-width: 860px) {
  .colores-inner { grid-template-columns: 1fr; grid-template-areas: "copy" "stage" "sw"; gap: 24px; }
  .colores-copy { align-self: auto; }
  .colores-swatches { margin: 0 auto; gap: 6px; max-width: 420px; }
  .col-name { font-size: 10.5px; letter-spacing: .06em; }
  .col-dot { width: 58px; height: 58px; }
  .colores-nota { text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .colores-stage.is-wiping .cs-sheen { display: none; } .colores, .colores h2, .colores .col-name { transition: none; } }

/* La columna "Colores" de Deco Outdoor lleva a la seccion #colores (2026-10-14) */
.sector-link { position: absolute; inset: 0; z-index: 4; }

/* Compu: al sacar fotos, el mosaico se completa segun cuantas quedan (2026-10-14). r5 = sobra 1 celda (23 fotos): la ultima ocupa 2 filas.
   r1 = sobra 1 foto sola (7 fotos): la ultima va a todo el ancho. En "Fotos de clientes" la ultima ocupa 2 columnas para no dejar hueco. */
@media (min-width: 901px) {
  .alm-grid[data-fill="r5"] .alm-tile:last-child { grid-row: span 2; }
  .alm-grid[data-fill="r1"] .alm-tile:last-child { grid-column: 1 / -1; grid-row: span 2; }
  .banner-gallery .banner-item:last-child { grid-column: span 2; }
}

/* Celular: las cuatro columnas de "Deco Outdoor" van una debajo de la otra (antes eran un carril que se deslizaba de costado) */
@media (max-width: 720px) {
  .sector-cols { flex-direction: column; overflow-x: visible; scroll-snap-type: none; gap: 12px; padding: 0 16px; }
  .sector-col { flex: 0 0 auto; width: 100%; min-height: 280px; }
}
