/* ═══════════════════════════════════════════════
   Design Sale – Design Suites Bariloche
   estilos.css
═══════════════════════════════════════════════ */

/* ── VARIABLES ───────────────────────────────── */
:root {
  --black: #0a0a0a;
  --white: #f5f0eb;
  --red: #FE730E;
  --gold: #FE730E;
  --gold-light: #ff8f3e;
  --gray: #1e1e1e;
  --muted: #7a7060;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
}

/* ── HERO ─────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://designsuites.com/mailings/bariloche/blog/img/foto_01.jpg');
  background-size: cover;
  background-position: center 40%;
  filter: brightness(0.35) saturate(0.8);
  transform: scale(1.05);
  animation: zoomOut 12s ease forwards;
}

@keyframes zoomOut {
  from { transform: scale(1.08); }
  to   { transform: scale(1.00); }
}

/* grain overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  opacity: 0.25;
  mix-blend-mode: overlay;
}

/* ── NAV ─────────────────────────────────────── */
nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px;
  animation: fadeDown 0.8s ease both;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nav-logo img {
  height: 40px;
  filter: none;
}

.nav-cta {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--gold);
  padding: 10px 24px;
  text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--gold-light); }

/* ── HERO CENTER ─────────────────────────────── */
.hero-center {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  gap: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(254,115,14,0.5);
  background: rgba(0,0,0,0.45);
  padding: 6px 18px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(16px, 2.5vw, 26px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  animation: fadeUp 0.7s 0.3s ease both;
}
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.dates-band {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(14px, 3vw, 20px);
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: 12px;
  animation: fadeUp 0.7s 0.45s ease both;
}

.hero-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(42px, 8vw, 110px);
  line-height: 0.88;
  letter-spacing: -0.01em;
  color: var(--white);
  animation: fadeUp 0.8s 0.55s ease both;
}

.hero-headline em {
  font-style: normal;
  color: var(--red);
  display: block;
}

.hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 3vw, 30px);
  font-weight: 300;
  font-style: italic;
  color: rgba(245,240,235,0.75);
  margin-top: 20px;
  letter-spacing: 0.04em;
  animation: fadeUp 0.7s 0.7s ease both;
}

.hero-location {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  margin-top: 10px;
  animation: fadeUp 0.7s 0.8s ease both;
  text-shadow: 0 1px 8px rgba(0,0,0,0.9);
}

.hero-cta-wrap {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.7s 0.9s ease both;
}

/* ── BUTTONS ─────────────────────────────────── */
.btn-primary {
  background: var(--red);
  color: var(--white);
  padding: 16px 40px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: #d85e0a; transform: translateY(-1px); }

.btn-outline {
  border: 1px solid rgba(245,240,235,0.35);
  color: var(--white);
  padding: 16px 32px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  text-decoration: none;
  transition: border-color 0.2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ── KEYFRAMES ───────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── SCROLL HINT ─────────────────────────────── */
.scroll-hint {
  position: relative;
  z-index: 10;
  padding: 28px 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeUp 1s 1.2s ease both;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.4; }
  50% { opacity: 1; }
}
.scroll-hint span {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── PROMO BAR ───────────────────────────────── */
.promo-bar {
  background: var(--red);
  padding: 14px 24px;
  text-align: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(14px, 2.5vw, 20px);
  letter-spacing: 0.2em;
  color: var(--white);
  overflow: hidden;
}
.marquee-track {
  display: inline-flex;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 18s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── FEATURES ────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.feature-item {
  padding: 40px 36px;
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.3s;
  cursor: default;
}
.feature-item:last-child { border-right: none; }

.feature-item:hover {
  background: rgba(254,115,14,0.05);
}

.feature-item:hover .feature-icon {
  transform: translateY(-6px);
  color: var(--gold-light);
}

.feature-item:hover .feature-label {
  color: var(--gold-light);
  letter-spacing: 0.28em;
}

.feature-item:hover .feature-desc {
  color: rgba(245,240,235,1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 8px;
  transition: transform 0.35s ease, color 0.35s ease;
}
.feature-icon svg {
  width: 100%;
  height: 100%;
}
.feature-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color 0.35s ease, letter-spacing 0.35s ease;
}
.feature-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: rgba(245,240,235,0.8);
  line-height: 1.6;
  transition: color 0.35s ease;
}

/* ── GALLERY ─────────────────────────────────── */
.gallery-section {
  padding: 80px 0 0;
}

.section-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 6vw, 80px);
  text-align: center;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 48px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 280px 280px;
  gap: 4px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.4s, transform 0.5s;
  filter: saturate(0.85);
}
.gallery-grid img:hover { filter: saturate(1.1); transform: scale(1.02); }

.g1 { grid-column: 1 / 6; grid-row: 1; overflow: hidden; }
.g2 { grid-column: 6 / 9; grid-row: 1; overflow: hidden; }
.g3 { grid-column: 9 / 13; grid-row: 1; overflow: hidden; }
.g4 { grid-column: 1 / 4; grid-row: 2; overflow: hidden; }
.g5 { grid-column: 4 / 8; grid-row: 2; overflow: hidden; }
.g6 { grid-column: 8 / 13; grid-row: 2; overflow: hidden; }

/* ── ABOUT ───────────────────────────────────── */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  margin-top: 4px;
}

.about-img { overflow: hidden; }
.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.8);
}

.about-text {
  background: var(--gray);
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.about-text .section-label { text-align: left; }

.about-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--white);
}
.about-heading strong {
  font-weight: 600;
  font-style: italic;
  color: var(--gold);
}

.about-body {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(245,240,235,0.65);
  max-width: 420px;
}

.amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.amenity-tag {
  border: 1px solid rgba(254,115,14,0.3);
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 12px;
}

/* ── OFFER ───────────────────────────────────── */
.offer-section {
  padding: 100px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.offer-section::before {
  content: 'SALE';
  position: absolute;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30vw;
  color: rgba(254,115,14,0.05);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  white-space: nowrap;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  max-width: 900px;
  margin: 48px auto 0;
  border: 1px solid rgba(255,255,255,0.06);
}

.offer-card {
  background: var(--gray);
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: background 0.25s;
}
.offer-card:hover { background: #262626; }

.offer-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 72px;
  color: var(--red);
  line-height: 1;
}
.offer-unit {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: var(--gold);
  margin-top: -12px;
}
.offer-desc {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,240,235,0.55);
  text-align: center;
  line-height: 1.6;
}

/* ── CTA FINAL ───────────────────────────────── */
.cta-final {
  position: relative;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://designsuites.com/mailings/bariloche/blog/img/foto_07.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.25) saturate(0.6);
}

.cta-final > * { position: relative; z-index: 2; }

.cta-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 8vw, 100px);
  line-height: 0.92;
  margin-bottom: 20px;
  color: var(--white);
}
.cta-headline span { color: var(--gold); }

.cta-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(16px, 2.5vw, 24px);
  font-style: italic;
  color: rgba(245,240,235,0.7);
  margin-bottom: 40px;
}

.cta-phone {
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-top: 24px;
}
.cta-phone a { color: var(--gold); text-decoration: none; font-weight: 500; }
.cta-phone a:hover { color: var(--gold-light); }

/* ── FOOTER ──────────────────────────────────── */
footer {
  background: #000;
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

footer img {
  height: 44px;
  filter: brightness(0) invert(0.5);
}

.footer-mfc img {
  height: 36px;
  filter: none;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.footer-mfc:hover img { opacity: 1; }

.footer-mfc-bar {
  background: #000;
  padding: 16px 48px 28px;
  display: flex;
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-bottom: 90px;
}

.footer-right {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-align: right;
  line-height: 1.7;
}

/* ── COUNTDOWN ───────────────────────────────── */
.countdown-wrap {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin: 32px auto 0;
}
.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
}
.cd-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px;
  color: var(--white);
  line-height: 1;
  background: rgba(255,255,255,0.07);
  width: 70px;
  text-align: center;
  padding: 8px 0;
}
.cd-label {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}
.cd-sep {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px;
  color: var(--red);
  padding: 4px 2px 0;
  align-self: flex-start;
}

/* ── WHATSAPP BUTTON ─────────────────────────── */
.wa-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}
.wa-btn svg {
  width: 30px;
  height: 30px;
}


.lb-trigger {
  cursor: pointer;
}

.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(8, 7, 6, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 24px;
}

.lb-overlay.lb-active {
  opacity: 1;
  pointer-events: all;
}

.lb-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: calc(100vw - 180px);
  max-height: calc(100vh - 80px);
}

.lb-img-wrap img {
  max-width: 100%;
  max-height: calc(100vh - 80px);
  object-fit: contain;
  display: block;
  transition: opacity 0.15s ease;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7);
}

.lb-counter {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--muted);
  white-space: nowrap;
}

.lb-close {
  position: fixed;
  top: 24px;
  right: 32px;
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 16px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
  z-index: 10;
}
.lb-close:hover { border-color: var(--gold); color: var(--gold); }

.lb-arrow {
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 22px;
  width: 52px;
  height: 52px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.lb-arrow:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: scale(1.08);
}

@media (max-width: 600px) {
  .lb-img-wrap { max-width: 100vw; }
  .lb-arrow { width: 40px; height: 40px; font-size: 18px; }
  .lb-overlay { gap: 12px; padding: 16px; }
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 20px 24px; }

  .hero-bg { background-position: right center; }
  .about-section { grid-template-columns: 1fr; }
  .about-img { height: 280px; }
  .about-text { padding: 48px 24px; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, 180px);
  }
  .g1 { grid-column: 1 / 3; grid-row: 1; }
  .g2 { grid-column: 1; grid-row: 2; }
  .g3 { grid-column: 2; grid-row: 2; }
  .g4 { grid-column: 1; grid-row: 3; }
  .g5 { grid-column: 2; grid-row: 3; }
  .g6 { grid-column: 1 / 3; grid-row: 4; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-section { padding: 60px 24px; }
  .feature-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  footer { flex-direction: column; align-items: flex-start; }
  .footer-right { text-align: left; }

  /* Textos descriptivos más grandes en mobile */
  .feature-desc   { font-size: 22px; }
  .about-body     { font-size: 17px; }
  .hero-sub       { font-size: clamp(20px, 5vw, 28px); }
  .hero-location  { font-size: 13px; }
  .pill           { font-size: 13px; }
  .section-label  { font-size: 12px; }
  .amenity-tag    { font-size: 12px; padding: 7px 14px; }
  .cta-sub        { font-size: clamp(18px, 4vw, 24px); }
  .footer-right   { font-size: 13px; }
  .cta-phone      { font-size: 14px; }
}
