/* ═══════════════════════════════════════════════
   Invierno en Bariloche – Design Suites
   invierno.css
═══════════════════════════════════════════════ */

/* ── VARIABLES ───────────────────────────────── */
:root {
  --black:      #060b12;
  --white:      #eef2f7;
  --orange:     #FE730E;
  --orange-lt:  #ff8f3e;
  --ice:        #a8c4d8;
  --ice-dim:    #4a6a80;
  --snow:       #d4e4ef;
  --deep:       #0d1a26;
  --panel:      #101d29;
  --muted:      #5a7a90;
  --frost:      rgba(168,196,216,0.12);
}

/* ── 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;
}

/* ── SNOWFLAKES ──────────────────────────────── */
.snow-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
}

/* ── 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('img/foto_01_desktop.jpg');
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.75) saturate(0.8) hue-rotate(190deg);
  transform: scale(1.05);
  animation: zoomOut 14s ease forwards;
}

@media (max-width: 768px) {
  .hero-bg {
    background-image: url('img/foto_01_mobile.jpg');
    background-position: center center;
  }
}

/* blue-tinted gradient overlay for winter mood */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6,15,30,0.5) 0%,
    rgba(6,15,30,0.1) 40%,
    rgba(6,15,30,0.7) 100%
  );
}

/* grain */
.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.3;
  mix-blend-mode: overlay;
}

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

/* ── 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: 80px; 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(--orange);
  padding: 10px 24px;
  text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--orange-lt); }

/* ── 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(168,196,216,0.4);
  background: rgba(6,15,30,0.55);
  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(--ice);
  margin-bottom: 20px;
  animation: fadeUp 0.7s 0.3s ease both;
}
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }

.dates-band {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(14px, 3vw, 20px);
  letter-spacing: 0.35em;
  color: var(--ice);
  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(--orange);
  display: block;
}

.hero-promo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(18px, 2.5vw, 28px);
  letter-spacing: 0.12em;
  color: var(--white);
  margin-top: 28px;
  background: rgba(254,115,14,0.18);
  border: 1px solid rgba(254,115,14,0.5);
  padding: 10px 28px;
  animation: fadeUp 0.7s 0.85s ease both;
  text-shadow: 0 1px 10px rgba(0,0,0,0.7);
}

.hero-location {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--snow);
  margin-top: 10px;
  animation: fadeUp 0.7s 0.8s ease both;
  text-shadow: 0 1px 10px 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(--orange);
  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(168,196,216,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(--ice); color: var(--ice); }

/* ── 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(--ice));
  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(--orange);
  padding: 14px 24px;
  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 20s 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(168,196,216,0.08);
  border-bottom: 1px solid rgba(168,196,216,0.08);
  background: var(--deep);
}

.feature-item {
  padding: 40px 36px;
  border-right: 1px solid rgba(168,196,216,0.08);
  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(168,196,216,0.06); }
.feature-item:hover .feature-icon { transform: translateY(-6px); color: var(--snow); }
.feature-item:hover .feature-label { color: var(--snow); letter-spacing: 0.28em; }
.feature-item:hover .feature-desc { color: rgba(238,242,247,1); }

.feature-icon {
  width: 48px; height: 48px;
  color: var(--ice);
  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(--ice);
  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(168,196,216,0.75);
  line-height: 1.6;
  transition: color 0.35s ease;
}

/* ── SKI ACTIVITIES ──────────────────────────── */
.activities-section {
  padding: 100px 48px;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.activities-section::before {
  content: 'SKI';
  position: absolute;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30vw;
  color: rgba(168,196,216,0.03);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  white-space: nowrap;
}

.section-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ice);
  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: 16px;
}

.section-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(16px, 2vw, 22px);
  font-style: italic;
  color: rgba(168,196,216,0.6);
  text-align: center;
  margin-bottom: 56px;
}

.act-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(168,196,216,0.08);
  max-width: 960px;
  margin: 0 auto;
  border: 1px solid rgba(168,196,216,0.08);
}

.act-card {
  background: var(--panel);
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  transition: background 0.25s;
}
.act-card:hover { background: #13202e; }

.act-icon {
  width: 52px; height: 52px;
  color: var(--ice);
  margin-bottom: 4px;
}
.act-icon svg { width: 100%; height: 100%; }

.act-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 0.12em;
  color: var(--white);
}
.act-dist {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px;
  color: var(--orange);
  line-height: 1;
}
.act-unit {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  color: var(--ice-dim);
  margin-top: -10px;
}
.act-desc {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(168,196,216,0.45);
  line-height: 1.7;
}

/* ── GALLERY ─────────────────────────────────── */
.gallery-section { padding: 80px 0 0; background: var(--deep); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 320px 220px 240px;
  gap: 3px;
}
/* Fila 1 */
.g1 { grid-column: 1 / 3; grid-row: 1; }
.g2 { grid-column: 3;     grid-row: 1; }
.g3 { grid-column: 4;     grid-row: 1; }
/* Fila 2 */
.g4 { grid-column: 1;     grid-row: 2; }
.g5 { grid-column: 2;     grid-row: 2; }
.g6 { grid-column: 3 / 5; grid-row: 2; }
/* Fila 3 — 4 iguales */
.g7 { grid-column: 1;     grid-row: 3; }
.g8 { grid-column: 2;     grid-row: 3; }
.g9 { grid-column: 3;     grid-row: 3; }
.g10{ grid-column: 4;     grid-row: 3; }

.gallery-grid > div { overflow: hidden; }
.gallery-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.gallery-grid img:hover { transform: scale(1.04); }

/* ── LIGHTBOX ────────────────────────────────── */
.lb-trigger { cursor: pointer; }
.lb-overlay {
  position: fixed;
  inset: 0; z-index: 1000;
  background: rgba(4,9,18,0.97);
  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.8);
}
.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(168,196,216,0.2);
  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(--ice); color: var(--ice); }
.lb-arrow {
  background: none;
  border: 1px solid rgba(168,196,216,0.2);
  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(--ice); color: var(--ice); transform: scale(1.08); }

/* ── ABOUT ───────────────────────────────────── */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  background: var(--black);
}
.about-img { overflow: hidden; }
.about-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: filter 0.6s ease;
}
.about-img:hover img { filter: brightness(0.95); }

.about-text {
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  background: var(--deep);
}
.about-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 0.92;
  color: var(--white);
}
.about-heading strong { color: var(--ice); }

.about-body {
  font-size: 15px;
  font-weight: 300;
  color: rgba(168,196,216,0.75);
  line-height: 1.75;
  max-width: 420px;
}

.amenities { display: flex; flex-wrap: wrap; gap: 8px; }
.amenity-tag {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ice);
  border: 1px solid rgba(168,196,216,0.25);
  padding: 5px 12px;
  transition: border-color 0.2s, background 0.2s;
}
.amenity-tag:hover { border-color: var(--orange); color: var(--orange); }

/* ── TEMP STRIP ──────────────────────────────── */
.temp-strip {
  background: var(--panel);
  border-top: 1px solid rgba(168,196,216,0.06);
  border-bottom: 1px solid rgba(168,196,216,0.06);
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.temp-item {
  flex: 1;
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid rgba(168,196,216,0.06);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.temp-item:last-child { border-right: none; }

.temp-icon {
  font-size: 28px;
  margin-bottom: 4px;
}
.temp-val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  color: var(--ice);
  line-height: 1;
}
.temp-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── 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(168,196,216,0.08);
  width: 70px;
  text-align: center;
  padding: 8px 0;
  border: 1px solid rgba(168,196,216,0.1);
}
.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(--orange);
  padding: 4px 2px 0;
  align-self: flex-start;
}

/* ── 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('img/foto_07.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.2) saturate(0.3) hue-rotate(200deg);
}
.cta-final > * { position: relative; z-index: 2; }

/* frost frame on cta */
.cta-final::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(168,196,216,0.04) 0%,
    transparent 40%,
    transparent 60%,
    rgba(168,196,216,0.04) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.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(--ice); }

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

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

/* ── FOOTER ──────────────────────────────────── */
footer {
  background: #04080f;
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid rgba(168,196,216,0.06);
}
footer img { height: 44px; filter: brightness(0) invert(0.45); }

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

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

.footer-mfc-bar {
  background: #04080f;
  padding: 16px 48px 90px;
  display: flex;
  justify-content: center;
  border-top: 1px solid rgba(168,196,216,0.04);
}

/* ── WHATSAPP ────────────────────────────────── */
.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; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 20px 24px; }
  .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(6, 200px);
  }
  .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; }
  .g7  { grid-column: 1;     grid-row: 5; }
  .g8  { grid-column: 2;     grid-row: 5; }
  .g9  { grid-column: 1;     grid-row: 6; }
  .g10 { grid-column: 2;     grid-row: 6; }

  .act-grid { grid-template-columns: 1fr; }
  .activities-section { padding: 60px 24px; }
  .temp-strip { flex-wrap: wrap; }
  .temp-item { flex: 1 1 calc(33% - 2px); min-width: 120px; }
  .feature-item { border-right: none; border-bottom: 1px solid rgba(168,196,216,0.06); }
  footer { flex-direction: column; align-items: flex-start; }
  .footer-right { text-align: left; }

  .feature-desc { font-size: 17px; }
  .about-body { font-size: 17px; }
  .hero-location { font-size: 15px; }
  .pill { font-size: 16px; padding: 8px 20px; }
  .dates-band { font-size: 18px; letter-spacing: 0.25em; }
  .hero-headline { font-size: clamp(62px, 16vw, 90px); }
  .hero-promo { font-size: clamp(18px, 4.5vw, 24px); }
  .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; }
}

@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; }
}
