/* ─────────────────────────────────────────
   Enriba Do Portal — styles.css v20260524
   Archetype 01: Editorial Light Cream
   ───────────────────────────────────────── */

/* 1. Custom properties */
:root {
  --cream:        #FAF8F4;
  --cream-2:      #F0EBE1;
  --white:        #FFFFFF;
  --terra:        #C83A06;
  --terra-dark:   #A02D04;
  --terra-light:  #E8501A;
  --granite-950:  #24201D;
  --granite-800:  #3A3530;
  --granite-700:  #4F4843;
  --granite-600:  #655D57;
  --granite-500:  #8B827B;
  --granite-300:  #C5BEB9;
  --granite-200:  #DDD7D2;
  --granite-100:  #EDE9E5;
  --granite-50:   #F5F2EF;
  --forest:       #3D5A3E;
  --forest-light: #E8F0E8;

  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;

  --nav-h:        72px;
  --ease-out:     cubic-bezier(0.21, 0.47, 0.32, 0.98);
  --ease-in-out:  cubic-bezier(0.45, 0, 0.55, 1);
}

/* 2. Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--granite-800);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

/* 3. Utility */
.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 640px) { .container { padding-inline: 2rem; } }

.kicker {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--terra);
}
.kicker-light { color: rgba(255,255,255,0.6); }
.kicker-terra { color: var(--terra-light); }

.h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 500;
  color: var(--granite-950);
  line-height: 1.12;
  text-wrap: balance;
  margin-top: 0.75rem;
}
.h2 em { font-style: italic; }
.h2-light { color: #fff; }

.section-header { max-width: 32rem; margin-bottom: 3.5rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 9999px;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--terra);
  color: #fff;
  padding: 0.875rem 2rem;
  box-shadow: 0 4px 20px rgba(200,58,6,0.25);
}
.btn-primary:hover { background: var(--terra-dark); }
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.8);
  padding: 0.875rem 1.5rem;
}
.btn-ghost:hover { color: #fff; }
.btn-large { padding: 1.125rem 2.25rem; font-size: 1rem; }
.btn-map { gap: 0.6rem; }

/* 4. Reveal animation base */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}
/* Safety net: force-reveal if JS stalled */
[data-reveal][data-split] { opacity: 1; transform: none; }

/* ──────────────────────────────────────────
   CURSOR
   ────────────────────────────────────────── */
.cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.25s var(--ease-out);
}
.cursor.is-ready { opacity: 1; }

.cursor-dot {
  position: absolute;
  width: 6px; height: 6px;
  background: var(--terra);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
}
.cursor-ring {
  position: absolute;
  width: 36px; height: 36px;
  border: 1.5px solid var(--terra);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.3s;
}
.cursor.is-hover .cursor-ring {
  width: 56px; height: 56px;
  border-color: rgba(200,58,6,0.5);
}
@media (hover: none) { .cursor { display: none; } }

/* ──────────────────────────────────────────
   NAV
   ────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.4s, box-shadow 0.4s;
}
.nav.is-scrolled {
  background: rgba(250,248,244,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(36,32,29,0.08);
}
.nav-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
@media (min-width: 640px) { .nav-inner { padding-inline: 2rem; } }

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-serif {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--white);
  line-height: 1.2;
  transition: color 0.3s;
}
.nav.is-scrolled .nav-logo-serif { color: var(--granite-950); }
.nav-logo-sub {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: color 0.3s;
}
.nav.is-scrolled .nav-logo-sub { color: var(--granite-500); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
@media (max-width: 767px) { .nav-links { display: none; } }

.nav-link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  text-decoration: none;
}
.nav.is-scrolled .nav-link { color: var(--granite-700); }
.nav-link:hover { color: #fff; }
.nav.is-scrolled .nav-link:hover { color: var(--granite-950); }

.nav-cta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  background: var(--terra);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}
.nav-cta:hover { background: var(--terra-dark); transform: translateY(-1px); }

/* Language toggle button */
.lang-toggle {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.85);
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.45);
  border-radius: 9999px;
  padding: 0.3rem 0.8rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
  line-height: 1;
}
.nav.is-scrolled .lang-toggle {
  color: var(--granite-700);
  border-color: var(--granite-400);
}
.lang-toggle:hover {
  background: var(--terra);
  border-color: var(--terra);
  color: #fff !important;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
@media (max-width: 767px) { .nav-burger { display: flex; } }
.nav-burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: background 0.3s;
}
.nav.is-scrolled .nav-burger span { background: var(--granite-800); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 85vw);
  height: 100dvh;
  background: var(--cream);
  z-index: 200;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 0; margin-top: 3rem; }
.mm-link {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--granite-950);
  padding-block: 1rem;
  border-bottom: 1px solid var(--granite-200);
  text-decoration: none;
  transition: color 0.2s;
}
.mm-link:hover { color: var(--terra); }
.mm-cta {
  display: inline-block;
  margin-top: 1.5rem;
  background: var(--terra);
  color: #fff !important;
  border: none;
  border-radius: 9999px;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
}
.mobile-menu-close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: var(--granite-100);
  border: none;
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--granite-700);
  transition: background 0.2s;
}
.mobile-menu-close:hover { background: var(--granite-200); }
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36,32,29,0.5);
  z-index: 190;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-overlay.is-active { opacity: 1; pointer-events: auto; }

/* ──────────────────────────────────────────
   HERO
   ────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(36,32,29,0.18) 0%,
    rgba(36,32,29,0.28) 40%,
    rgba(36,32,29,0.82) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: #fff;
  padding: 0 1.25rem 6rem;
  max-width: 48rem;
  width: 100%;
}
@media (min-width: 640px) { .hero-content { padding-bottom: 7rem; } }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.25rem;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 8vw, 6rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 300;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
  margin-bottom: 2.5rem;
  text-wrap: balance;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
}
@media (min-width: 480px) {
  .hero-actions { flex-direction: row; justify-content: center; }
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.35);
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: scaleY(1); opacity: 0.4; }
  50% { transform: scaleY(1.3); opacity: 0.7; }
}

/* ──────────────────────────────────────────
   INTRO
   ────────────────────────────────────────── */
.intro {
  background: var(--cream);
  padding-block: 6rem;
}
@media (min-width: 640px) { .intro { padding-block: 8rem; } }

.intro-header { max-width: 40rem; margin-bottom: 4rem; }

.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .intro-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.intro-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--granite-700);
  margin-bottom: 1.25rem;
}
.intro-text p strong { color: var(--granite-950); font-weight: 600; }

.intro-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--granite-200);
}
.stat-value {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.75rem;
  color: var(--terra);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--granite-950);
  margin-top: 0.25rem;
}
.stat-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--granite-500);
  margin-top: 0.125rem;
}

.intro-images {
  position: relative;
}
.intro-img-main {
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--granite-200);
}
.intro-img-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.intro-img-main:hover img { transform: scale(1.04); }

.intro-img-badge {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  width: 10rem; height: 10rem;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 4px solid var(--cream);
  box-shadow: 0 8px 32px rgba(36,32,29,0.18);
  background: var(--granite-200);
}
.intro-img-badge img { width: 100%; height: 100%; object-fit: cover; }

.intro-badge-pill {
  position: absolute;
  top: -1.25rem;
  right: -1.25rem;
  width: 6rem; height: 6rem;
  background: var(--terra);
  color: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 6px 20px rgba(200,58,6,0.35);
}
.pill-num {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  line-height: 1;
}
.pill-text {
  font-size: 0.5rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ──────────────────────────────────────────
   MARQUEE
   ────────────────────────────────────────── */
.marquee-strip {
  overflow: hidden;
  background: var(--granite-950);
  padding-block: 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marqueeScroll 28s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  padding-inline: 1rem;
}
.marquee-track .dot {
  color: var(--terra);
  padding-inline: 0.125rem;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ──────────────────────────────────────────
   SPACES
   ────────────────────────────────────────── */
.spaces {
  background: var(--white);
  padding-block: 6rem;
}
@media (min-width: 640px) { .spaces { padding-block: 8rem; } }

.spaces-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) {
  .spaces-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .spaces-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}

.space-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--granite-200);
  cursor: default;
}
@media (min-width: 1024px) {
  .space-wide { grid-column: span 2; }
}

.space-img-wrap {
  aspect-ratio: 4/5;
  overflow: hidden;
}
/* Wide cards: same 4/5 as regular cards on mobile/tablet so all grid rows
   have uniform height. At desktop they span 2 cols → 16/9 cinematic ratio. */
.space-wide .space-img-wrap {
  aspect-ratio: 4/5;
}
@media (min-width: 1024px) {
  .space-wide .space-img-wrap { aspect-ratio: 16/9; }
}

.space-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
  display: block;
}
.space-card:hover .space-img-wrap img { transform: scale(1.06); }

.space-info {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(36,32,29,0.88) 0%, rgba(36,32,29,0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #fff;
}
/* Wide cards: keep inset:0 (full image overlay) from base.
   Only override the gradient — lighter and short so it fades into the image
   naturally without creating a visible grey band. */
.space-wide .space-info {
  background: linear-gradient(to top,
    rgba(15, 12, 9, 0.90) 0%,
    rgba(15, 12, 9, 0.55) 30%,
    transparent 52%
  );
}
.space-info h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
}
.space-info p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-top: 0.5rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s var(--ease-out), opacity 0.3s;
}
.space-card:hover .space-info p,
.space-card:focus-within .space-info p {
  max-height: 6rem;
  opacity: 1;
}
/* Always visible on mobile */
@media (max-width: 1023px) {
  .space-info p { max-height: 6rem; opacity: 0.7; }
}

/* Tilt effect */
.space-card[data-tilt] {
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.space-card[data-tilt]:hover {
  box-shadow: 0 24px 56px rgba(36,32,29,0.22);
}

/* ──────────────────────────────────────────
   EXTERIOR
   ────────────────────────────────────────── */
.exterior {
  background: var(--cream);
  padding-block: 6rem;
}
@media (min-width: 640px) { .exterior { padding-block: 8rem; } }

.exterior-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .exterior-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .exterior-grid { grid-template-columns: repeat(3, 1fr); }
}

.ext-feature {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--granite-200);
  aspect-ratio: 4/5;
}
@media (min-width: 1024px) {
  .ext-feature-tall { grid-row: span 2; aspect-ratio: auto; }
  .ext-feature-wide { grid-column: span 2; aspect-ratio: 16/7; }
}

.ext-feature img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease-out);
}
.ext-feature:hover img { transform: scale(1.05); }

.ext-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(36,32,29,0.85) 0%, transparent 100%);
  padding: 1.5rem;
  color: #fff;
}
.ext-caption h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 500;
}
.ext-caption p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
  margin-top: 0.375rem;
}

/* ──────────────────────────────────────────
   SURROUNDINGS
   ────────────────────────────────────────── */
.surroundings { background: var(--cream-2); }

.surr-hero {
  position: relative;
  height: clamp(400px, 56vw, 680px);
  overflow: hidden;
  margin-bottom: 0;
}
.surr-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.surr-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(36,32,29,0.82) 0%, rgba(36,32,29,0.3) 60%, transparent 100%);
}
.surr-hero-text {
  position: absolute;
  bottom: 3rem;
  left: 0; right: 0;
  z-index: 10;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 640px) { .surr-hero-text { padding-inline: 2rem; } }
.surr-hero-text p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 32rem;
  margin-top: 1rem;
}

.surr-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding-block: 3.5rem;
}
@media (min-width: 768px) {
  .surr-cards { grid-template-columns: repeat(3, 1fr); }
}

.surr-card {
  border-radius: 1rem;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(36,32,29,0.06);
}
.surr-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out);
}
.surr-card:hover img { transform: scale(1.05); }
.surr-card-body {
  padding: 1.25rem;
}
.surr-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--granite-950);
  margin-bottom: 0.5rem;
}
.surr-card-body p {
  font-size: 0.875rem;
  color: var(--granite-600);
  line-height: 1.6;
}

.surr-card-info {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.surr-card-info h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--granite-950);
  margin-bottom: 1.25rem;
}

.nearby-list { display: flex; flex-direction: column; gap: 0.75rem; }
.nearby-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--granite-700);
}
.nearby-list li svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  color: var(--terra);
}

/* ──────────────────────────────────────────
   LANDSCAPE GRID (El Entorno)
   ────────────────────────────────────────── */
.surr-landscape-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding-block: 3.5rem 2rem;
}
@media (min-width: 640px) {
  .surr-landscape-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .surr-landscape-grid { grid-template-columns: repeat(3, 1fr); }
}

.landscape-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--granite-200);
  aspect-ratio: 4/3;
}
@media (min-width: 1024px) {
  .landscape-tall { grid-row: span 2; aspect-ratio: auto; min-height: 500px; }
  .landscape-wide { grid-column: span 2; aspect-ratio: 16/7; }
}

.landscape-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease-out);
}
.landscape-card:hover img { transform: scale(1.05); }

.landscape-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(36,32,29,0.92) 0%, rgba(36,32,29,0.5) 50%, transparent 100%);
  padding: 1.75rem 1.5rem 1.5rem;
  color: #fff;
}
.landscape-tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terra-light);
  margin-bottom: 0.5rem;
}
.landscape-caption h3 {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.landscape-caption p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
}

/* Distances bar */
.surr-distances {
  background: var(--white);
  border: 1px solid var(--granite-200);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 3.5rem;
}
.surr-distances-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--granite-950);
  margin-bottom: 1.5rem;
}
.distances-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 768px) {
  .distances-list {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 0;
  }
  /* Remove border from last two items (final row of 2-col grid) */
  .distances-list li:nth-last-child(-n+2) { border-bottom: none; }
}
.distances-list li {
  display: flex;
  align-items: center;
  gap: 0;
  padding-block: 0.875rem;
  border-bottom: 1px solid var(--granite-100);
  font-size: 0.875rem;
}
.distances-list li:last-child { border-bottom: none; }
/* Right column items get a left border as column divider */
@media (min-width: 768px) {
  .distances-list li:nth-child(even) {
    padding-left: 1.75rem;
    border-left: 1px solid var(--granite-100);
  }
  .distances-list li:nth-child(odd) {
    padding-right: 1.75rem;
  }
}
.dist-name { color: var(--granite-700); flex-shrink: 0; }
.dist-sep {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    var(--granite-300) 0px,
    var(--granite-300) 3px,
    transparent 3px,
    transparent 7px
  );
  margin-inline: 0.75rem;
  min-width: 1.5rem;
}
.dist-time {
  color: var(--terra);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 0.8125rem;
}

/* ──────────────────────────────────────────
   AMENITIES
   ────────────────────────────────────────── */
.amenities {
  background: var(--white);
  padding-block: 6rem;
}
@media (min-width: 640px) { .amenities { padding-block: 8rem; } }

.amenities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}
@media (min-width: 1024px) {
  .amenities-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.amenities-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 2.5rem;
}
.amenities-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-block: 0.625rem;
  border-bottom: 1px solid var(--granite-100);
  font-size: 0.875rem;
  color: var(--granite-700);
}
.am-icon { font-size: 1.125rem; flex-shrink: 0; }

.amenities-right { display: flex; flex-direction: column; gap: 1.25rem; }

.rules-card, .direct-card, .wifi-card {
  border-radius: 1rem;
  padding: 1.75rem;
}
.rules-card {
  background: var(--granite-50);
}
.rules-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--granite-950);
  margin-bottom: 1.25rem;
}
.rules-card ul { display: flex; flex-direction: column; gap: 0.75rem; }
.rules-card li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--granite-600);
}
.rules-card li svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  color: var(--terra);
}

.direct-card {
  background: #FEF0EB;
  border: 1px solid #FAD5C5;
}
.direct-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #7A2008;
  margin-bottom: 0.625rem;
}
.direct-card p {
  font-size: 0.875rem;
  color: #8B3A1A;
  line-height: 1.65;
}
.direct-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--terra);
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
}
.direct-cta:hover { color: var(--terra-dark); gap: 0.625rem; }
.direct-cta svg { flex-shrink: 0; }

.wifi-card {
  background: var(--cream);
  border: 1px solid var(--granite-200);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
}
.wifi-icon {
  width: 2.5rem; height: 2.5rem;
  background: var(--forest-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}
.wifi-title { font-size: 0.875rem; font-weight: 600; color: var(--granite-950); }
.wifi-sub { font-size: 0.75rem; color: var(--granite-500); margin-top: 0.25rem; }
.wifi-sub strong { color: var(--granite-700); }

/* ──────────────────────────────────────────
   LOCATION
   ────────────────────────────────────────── */
.location {
  background: var(--cream-2);
  padding-block: 5rem;
}
@media (min-width: 640px) { .location { padding-block: 7rem; } }

.location-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) {
  .location-inner { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.location-text { display: flex; flex-direction: column; gap: 1rem; }
.location-address {
  font-size: 1rem;
  color: var(--granite-700);
  line-height: 1.7;
  margin-top: 0.25rem;
}

.map-link { display: block; text-decoration: none; }
.map-preview {
  background: var(--granite-100);
  border: 1px solid var(--granite-200);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s;
  min-height: 220px;
  justify-content: center;
}
.map-link:hover .map-preview {
  box-shadow: 0 12px 40px rgba(36,32,29,0.14);
  transform: translateY(-2px);
}
.map-pin { filter: drop-shadow(0 4px 8px rgba(200,58,6,0.3)); }
.map-label { display: flex; flex-direction: column; gap: 0.25rem; }
.map-label strong {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--granite-950);
}
.map-label span { font-size: 0.875rem; color: var(--granite-600); }
.map-open-hint {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--terra);
  letter-spacing: 0.02em;
}

/* ──────────────────────────────────────────
   CONTACT
   ────────────────────────────────────────── */
.contact {
  position: relative;
  padding-block: 6rem;
  overflow: hidden;
  background: var(--granite-950);
}
@media (min-width: 640px) { .contact { padding-block: 9rem; } }

.contact-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.contact-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.contact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(36,32,29,0.92) 0%, rgba(36,32,29,0.75) 60%, rgba(115,35,10,0.8) 100%);
}

.contact-inner {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}
.contact-inner .h2 { margin-top: 0.75rem; }
.contact-sub {
  color: rgba(255,255,255,0.62);
  font-size: 1.0625rem;
  line-height: 1.75;
  max-width: 36rem;
  margin: 1.5rem auto 2.5rem;
}

.contact-email-visible {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.35);
}
.contact-email-visible a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255,255,255,0.2);
  transition: color 0.2s;
}
.contact-email-visible a:hover { color: rgba(255,255,255,0.65); }

.contact-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 3.5rem;
}
@media (min-width: 480px) {
  .contact-steps { grid-template-columns: repeat(3, 1fr); }
}

.contact-step {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.875rem;
  padding: 1.25rem;
  text-align: left;
}
.step-num {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--terra-light);
  letter-spacing: 0.1em;
}
.contact-step h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  margin-top: 0.5rem;
}
.contact-step p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
  margin-top: 0.25rem;
}

/* ──────────────────────────────────────────
   FOOTER
   ────────────────────────────────────────── */
.footer {
  background: var(--granite-950);
  padding-block: 3rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: #fff;
}
.footer-loc {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}
.footer-nav a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover { color: rgba(255,255,255,0.85); }

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  white-space: nowrap;
}

/* ──────────────────────────────────────────
   RESPONSIVE TWEAKS
   ────────────────────────────────────────── */
@media (max-width: 639px) {
  .intro-img-badge { display: none; }
  .intro-badge-pill { top: -1rem; right: -0.75rem; }
}
