/* Treehouse Weekday Escape — shared styles (EN + ES) */

:root {
  --forest: #1e3a2a;
  --forest-deep: #142619;
  --wood: #8a5a33;
  --wood-light: #c08b57;
  --cream: #faf6ef;
  --cream-dim: #f0e9dc;
  --ink: #22281f;
  --ink-soft: #5a6253;
  --accent: #d97b29;
  --accent-deep: #b5601a;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3, .display {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
}

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

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- top bar ---------- */
.topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px;
}
.topbar .brand {
  color: #fff; font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem; text-decoration: none; letter-spacing: 0.02em;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.lang-switch {
  color: #fff; text-decoration: none; font-size: 0.85rem; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.7); border-radius: 999px;
  padding: 6px 14px; backdrop-filter: blur(4px);
  background: rgba(0,0,0,0.25);
}
.lang-switch:hover { background: rgba(255,255,255,0.15); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 88vh;
  display: flex; align-items: flex-end;
  color: #fff;
  background: var(--forest-deep);
}
.hero .bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,20,12,0.35) 0%, rgba(10,20,12,0.05) 40%, rgba(10,20,12,0.78) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-bottom: 64px; }
.hero .kicker {
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.8rem;
  font-weight: 700; color: var(--wood-light); margin-bottom: 14px;
}
.hero h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); max-width: 17ch; margin-bottom: 18px; }
.hero p.sub { font-size: clamp(1rem, 2.2vw, 1.25rem); max-width: 48ch; opacity: 0.95; }

/* ---------- offer band ---------- */
.offer {
  background: var(--forest); color: var(--cream);
  padding: 48px 0;
}
.offer .wrap { display: grid; gap: 28px; }
.offer h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
.offer .note { color: var(--wood-light); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.12em; }
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.price-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px; padding: 26px 24px;
}
.price-card .nights { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.8; }
.price-card .amount { font-family: "Fraunces", Georgia, serif; font-size: 2.1rem; margin: 6px 0 2px; }
.price-card .per { font-size: 0.9rem; opacity: 0.75; }
.price-card .save { display: inline-block; margin-top: 12px; background: var(--accent); color: #fff; font-size: 0.78rem; font-weight: 700; border-radius: 999px; padding: 4px 12px; }
.offer .conditions { font-size: 0.95rem; opacity: 0.85; max-width: 64ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  background: var(--accent); color: #fff;
  padding: 14px 30px; border-radius: 999px; font-size: 1rem;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--accent-deep); }
.btn.ghost {
  background: transparent; color: var(--forest);
  border: 2px solid var(--forest);
}
.btn.ghost:hover { background: var(--forest); color: #fff; }

/* ---------- sections ---------- */
section { padding: 72px 0; }
.section-kicker {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem;
  font-weight: 700; color: var(--accent-deep); margin-bottom: 10px;
}
section h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); margin-bottom: 18px; color: var(--forest-deep); }
section p.lead { font-size: 1.08rem; max-width: 60ch; color: var(--ink-soft); }

/* work section */
.work { background: var(--cream); }
.work .cols { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
.work img { width: 100%; max-height: 660px; object-fit: cover; border-radius: 16px; box-shadow: 0 18px 40px rgba(20,38,25,0.18); }
.features { list-style: none; margin-top: 22px; display: grid; gap: 14px; }
.features li { display: flex; gap: 12px; align-items: baseline; }
.features .dot { color: var(--accent-deep); font-weight: 800; }
.features strong { color: var(--forest-deep); }

/* gallery */
.gallery { background: var(--cream-dim); }
.grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
}
.grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.grid .tall { grid-row: span 2; }
.grid .wide { grid-column: span 2; }

/* logistics */
.logistics .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; margin-top: 10px; }
.logistics h3 { color: var(--forest-deep); font-size: 1.1rem; margin-bottom: 8px; }
.logistics p { color: var(--ink-soft); font-size: 0.97rem; }

/* social proof */
.proof { background: var(--forest); color: var(--cream); text-align: center; }
.proof .stars { color: var(--wood-light); letter-spacing: 0.2em; font-size: 1.2rem; }
.proof .big { font-family: "Fraunces", Georgia, serif; font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 10px auto 8px; max-width: 26ch; }
.proof .meta { opacity: 0.8; font-size: 0.95rem; }

/* cta */
.cta { text-align: center; }
.cta .btn { margin-top: 20px; }
.cta .fine { margin-top: 18px; font-size: 0.88rem; color: var(--ink-soft); }

/* landing doors */
.doors { background: var(--cream); }
.door-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.door {
  display: block; text-decoration: none; color: inherit;
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(20,38,25,0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.door:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(20,38,25,0.18); }
.door img { width: 100%; height: 240px; object-fit: cover; }
.door-body { padding: 22px 24px 26px; }
.door-body h3 { color: var(--forest-deep); font-size: 1.3rem; margin-bottom: 8px; }
.door-body p { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 14px; }
.door-cta { color: var(--accent-deep); font-weight: 700; font-size: 0.95rem; }
@media (max-width: 760px) {
  .door-grid { grid-template-columns: 1fr; }
}

/* footer */
footer {
  background: var(--forest-deep); color: rgba(255,255,255,0.75);
  padding: 36px 0; font-size: 0.9rem;
}
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
footer a { color: var(--wood-light); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  .hero { min-height: 72vh; }
  .work .cols { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .grid .wide { grid-column: span 2; }
  section { padding: 54px 0; }
}
