/* ── White Sand Apart — Beach Modern Design ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --ocean-deep:  #0D2D44;
  --ocean-mid:   #14446B;
  --ocean-light: #1A6490;
  --teal:        #0B9BAF;
  --teal-light:  #30CCDA;
  --sand:        #F5EDD8;
  --sand2:       #EDE2C8;
  --sand3:       #D4C5A4;
  --card:        rgba(255,255,255,0.92);
  --card-glass:  rgba(255,255,255,0.15);
  --border:      rgba(255,255,255,0.25);
  --border-sand: #DDD3C0;
  --text:        #0A1F2E;
  --text-light:  #FFFFFF;
  --muted:       #5A7080;
  --accent:      #E8A045;
  --accent2:     #C4802A;
  --gold:        #F5C842;
  --green:       #1A9455;
  --red:         #D63031;
  --coral:       #FF6F61;
  --coral-deep:  #E8523F;
  --sunset:      linear-gradient(135deg, #FF8A5B 0%, #FF6F61 45%, #F5C842 100%);
  --shadow-sm:   0 2px 8px rgba(10,35,66,.06);
  --shadow:      0 6px 24px rgba(10,35,66,.10), 0 2px 6px rgba(10,35,66,.06);
  --shadow-lg:   0 24px 60px -12px rgba(10,35,66,.28), 0 8px 24px -8px rgba(10,35,66,.16);
  --shadow-blue: 0 10px 32px rgba(8,151,180,.32);
  --radius:      16px;
  --radius-lg:   24px;
  --font:        'Inter', system-ui, sans-serif;
  --font-display:'Fraunces', 'Cormorant Garamond', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--sand);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Animated coastal aurora behind content */
body::before {
  content: '';
  position: fixed;
  inset: -20%;
  background:
    radial-gradient(38% 42% at 18% 28%, rgba(11,155,175,.16) 0%, transparent 70%),
    radial-gradient(34% 38% at 82% 18%, rgba(255,111,97,.12) 0%, transparent 70%),
    radial-gradient(42% 46% at 70% 82%, rgba(245,200,66,.12) 0%, transparent 72%),
    radial-gradient(40% 44% at 30% 75%, rgba(20,68,107,.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: aurora-drift 26s ease-in-out infinite alternate;
}
@keyframes aurora-drift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(2%, -1.5%, 0) scale(1.06); }
  100% { transform: translate3d(-2%, 2%, 0) scale(1.03); }
}
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
}

main { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: var(--font); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--sand2); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 3px; }

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,35,66,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  padding: 0 24px;
  transition: background .3s;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: -.01em;
  background: linear-gradient(110deg, #fff 30%, #F5C842 65%, #30CCDA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.header-logo img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,200,80,0.5);
  background: #fff;
  flex-shrink: 0;
}

.header-nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: all .2s;
}
.nav-link:hover { background: rgba(255,255,255,.10); color: #fff; }

/* Buttons */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 10px;
  font-size: .88rem;
  font-weight: 700;
  border: none;
  transition: all .25s cubic-bezier(.34,1.56,.64,1);
  letter-spacing: .01em;
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(8,151,180,.35);
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-18deg);
  transition: left .6s ease;
  pointer-events: none;
}
.btn-primary:hover::before { left: 130%; }
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px rgba(8,151,180,.50);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--teal-light);
  color: var(--teal-light);
}
.btn-outline:hover { background: var(--teal-light); color: #fff; }
.btn-ghost {
  background: rgba(255,255,255,0.9);
  color: var(--text);
  border: 1.5px solid var(--border-sand);
}
.btn-ghost:hover { background: #fff; box-shadow: var(--shadow); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #b52424; }
.btn-sm { padding: 7px 14px; font-size: .82rem; border-radius: 9px; }
.btn-full { width: 100%; justify-content: center; padding: 13px; font-size: 1rem; }

/* ══════════════════════════════════════
   HERO — OCEAN ANIMATED
══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(
    160deg,
    #0D2A3E 0%,
    #154360 35%,
    #0E6B7A 65%,
    #C4762A 100%
  );
}

/* Background image overlay */
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/location.jpg') no-repeat;
  background-size: cover;
  background-position: center calc(50% + var(--heroShift, 0px));
  opacity: .38;
  transform: scale(1.05);
  animation: hero-bg-drift 20s ease-in-out infinite alternate;
  will-change: background-position;
}
@keyframes hero-bg-drift {
  from { transform: scale(1.05) translateX(0); }
  to   { transform: scale(1.08) translateX(-20px); }
}
/* Scrim to keep text legible over the brighter photo + vignette for depth */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8,30,50,.30) 0%, rgba(8,30,50,.40) 55%, rgba(8,30,50,.62) 100%),
    radial-gradient(ellipse at 50% 40%, transparent 40%, rgba(6,24,40,.45) 100%);
}

/* ── Sol interativo ── */
.hero-sun {
  position: absolute;
  top: 8%;
  left: 8%;
  width: 70px;
  height: 70px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
  animation: sun-float 6s ease-in-out infinite;
}
@keyframes sun-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}
.sun-core {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFF176, #FFD700 50%, #FF9800 100%);
  box-shadow:
    0 0 18px 8px rgba(255,210,0,.40),
    0 0 40px 18px rgba(255,160,0,.15);
  animation: sun-pulse 3s ease-in-out infinite;
}
@keyframes sun-pulse {
  0%, 100% { box-shadow: 0 0 18px 8px rgba(255,210,0,.40), 0 0 40px 18px rgba(255,160,0,.15); }
  50%       { box-shadow: 0 0 24px 12px rgba(255,220,0,.50), 0 0 55px 25px rgba(255,160,0,.22); }
}
.sun-rays {
  position: absolute;
  inset: 0;
  animation: rays-spin 20s linear infinite;
}
.sun-ray {
  position: absolute;
  top: 50%; left: 50%;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(to top, rgba(255,220,0,.8), transparent);
  transform-origin: bottom center;
}

/* Mouse-follow light overlay */
.hero-light {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle at var(--mx,70%) var(--my,20%), rgba(255,200,60,.13) 0%, transparent 55%);
  transition: background .08s linear;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  padding: 0 24px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #E8F4FF;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
  animation: fade-up .8s ease both;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.04;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -.01em;
  animation: fade-up .8s .1s ease both;
}
.hero h1 .highlight { font-style: italic; font-weight: 500; }
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--gold), var(--teal-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  line-height: 1.7;
  animation: fade-up .8s .2s ease both;
}

/* Glassmorphism search */
.hero-search {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 20px;
  padding: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  animation: fade-up .8s .3s ease both;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.hero-search select, .hero-search input {
  flex: 1;
  min-width: 140px;
  background: rgba(255,255,255,0.95);
  border: none;
  border-radius: 12px;
  padding: 11px 14px;
  font-size: .9rem;
  color: var(--text);
  font-family: var(--font);
  font-weight: 500;
}
.hero-search select:focus, .hero-search input:focus {
  outline: 2px solid var(--teal-light);
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.5);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: fade-in 2s 1s ease both;
}
.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255,255,255,0.4);
  border-bottom: 2px solid rgba(255,255,255,0.4);
  transform: rotate(45deg);
  animation: scroll-bounce 1.5s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(6px); }
}

/* SVG Waves at hero bottom */
.hero-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 2;
}
.hero-waves svg { display: block; }
.wave1 { animation: wave-move 8s linear infinite; }
.wave2 { animation: wave-move 12s linear infinite reverse; opacity: .6; }
.wave3 { animation: wave-move 6s linear infinite; opacity: .4; }
@keyframes wave-move {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════
   FADE-UP ANIMATION (scroll reveal)
══════════════════════════════════════ */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.reveal {
  opacity: 0;
  transform: translateY(34px) scale(.98);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ══════════════════════════════════════
   SECTION
══════════════════════════════════════ */
.section { padding: 72px 24px; max-width: 1200px; margin: 0 auto; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1rem + 3vw, 2.7rem);
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.1;
  letter-spacing: -.01em;
  background: linear-gradient(135deg, var(--ocean-deep), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-sub { color: var(--muted); margin-bottom: 40px; font-size: 1rem; line-height: 1.6; max-width: 640px; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; flex-wrap: wrap; gap: 12px; }

/* ══════════════════════════════════════
   APARTMENT CARDS
══════════════════════════════════════ */
.apt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.apt-card {
  background: rgba(255,255,255,0.60);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.55);
  overflow: hidden;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.6);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s;
  display: flex;
  flex-direction: column;
  position: relative;
}
.apt-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(8,151,180,.05), transparent);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.apt-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(8,151,180,.15); }
.apt-card:hover::before { opacity: 1; }

.apt-photo-wrap { position: relative; overflow: hidden; }
.apt-photo {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform .5s ease;
}
.apt-card:hover .apt-photo { transform: scale(1.07); }

.apt-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--teal);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  padding: 6px 13px;
  border-radius: 8px;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-blue);
}

/* Price tag on photo */
.apt-price-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(10,35,66,0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 10px;
  padding: 6px 12px;
  text-align: right;
}
.apt-price-tag strong { font-size: 1.1rem; font-weight: 900; color: var(--gold); }
.apt-price-tag span   { font-size: .72rem; color: rgba(255,255,255,.7); display: block; margin-top: -2px; }

.apt-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.apt-name { font-size: 1.05rem; font-weight: 800; color: var(--text); }
.apt-type { font-size: .78rem; color: var(--muted); }
.apt-amenities { display: flex; flex-wrap: wrap; gap: 5px; }
.amenity-tag {
  background: linear-gradient(135deg, rgba(8,151,180,.08), rgba(10,35,66,.06));
  border: 1px solid rgba(8,151,180,.15);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: .74rem;
  color: var(--ocean-mid);
  font-weight: 600;
}
.apt-footer { display: flex; gap: 8px; margin-top: auto; padding-top: 8px; }
.apt-footer .btn { flex: 1; justify-content: center; }

/* ══════════════════════════════════════
   FILTERS BAR
══════════════════════════════════════ */
.filters-bar {
  background: var(--card);
  border: 1px solid var(--border-sand);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}
.filters-bar label { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.filters-bar select, .filters-bar input {
  padding: 9px 12px;
  border: 1.5px solid var(--border-sand);
  border-radius: 10px;
  font-size: .88rem;
  font-family: var(--font);
  background: var(--sand);
  color: var(--text);
  font-weight: 500;
  transition: border-color .2s;
}
.filters-bar select:focus, .filters-bar input:focus { outline: none; border-color: var(--teal); }
.filter-group { display: flex; flex-direction: column; gap: 5px; }

/* ══════════════════════════════════════
   STATS STRIP — ocean glass
══════════════════════════════════════ */
.stats-strip {
  display: flex;
  gap: 0;
  background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-mid) 50%, #0E5C8A 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 56px;
  box-shadow: var(--shadow-blue);
  position: relative;
}
.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 28px 16px;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
  transition: background .25s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,0.05); }
.stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), #FFE08A);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-label { font-size: .8rem; color: rgba(255,255,255,.6); margin-top: 6px; font-weight: 500; }

/* ══════════════════════════════════════
   FEATURES GRID
══════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.feature-card {
  background: var(--card);
  border: 1px solid rgba(10,35,66,.08);
  border-radius: var(--radius-lg);
  padding: 32px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s, border-color .3s;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(8,151,180,.2); }
.feature-card:hover::after { transform: scaleX(1); }
.feature-icon {
  font-size: 1.9rem;
  margin: 0 auto 16px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(11,155,175,.12), rgba(48,204,218,.16));
  border: 1px solid rgba(11,155,175,.18);
}
.feature-card h4 { font-size: .95rem; font-weight: 800; margin-bottom: 6px; color: var(--text); }
.feature-card p { font-size: .82rem; color: var(--muted); line-height: 1.5; }

/* ══════════════════════════════════════
   MODAL
══════════════════════════════════════ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,35,66,.65);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(8,151,180,.1);
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
  animation: modal-in .3s cubic-bezier(.34,1.56,.64,1);
}
.modal-lg { max-width: 840px; }
@keyframes modal-in {
  from { transform: scale(.88) translateY(24px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  background: var(--sand2);
  border-radius: 50%;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: .2s;
}
.modal-close:hover { background: var(--sand3); color: var(--text); transform: rotate(90deg); }
.modal-title { font-size: 1.4rem; font-weight: 900; margin-bottom: 4px; letter-spacing: -.02em; }
.modal-sub { color: var(--muted); font-size: .88rem; margin-bottom: 24px; }

/* ══════════════════════════════════════
   FORMS
══════════════════════════════════════ */
.form-group { margin-bottom: 14px; }
.form-label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 5px; color: var(--text); letter-spacing: .02em; }
.form-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border-sand);
  border-radius: 10px;
  font-size: .92rem;
  font-family: var(--font);
  background: var(--sand);
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.form-input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(8,151,180,.12);
  background: #fff;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-error { color: var(--red); font-size: .8rem; margin-top: 6px; display: none; }
.form-error.show { display: block; }

/* Auth Tabs */
.auth-tabs { display: flex; border-bottom: 2px solid var(--sand2); margin-bottom: 24px; gap: 4px; }
.auth-tab {
  flex: 1;
  padding: 10px;
  border: none;
  background: none;
  font-size: .92rem;
  font-weight: 700;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: .2s;
}
.auth-tab.active { color: var(--teal); border-bottom-color: var(--teal); }

/* ══════════════════════════════════════
   BOOKING MODAL
══════════════════════════════════════ */
.booking-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.booking-apt-info { display: flex; flex-direction: column; gap: 12px; }
.booking-apt-photo { width: 100%; border-radius: 14px; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow); }
.booking-apt-name { font-size: 1.1rem; font-weight: 800; }
.booking-price-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-top: 1px solid var(--sand2); }
.booking-price-row:first-of-type { border-top: none; }
.booking-total { font-size: 1.15rem; font-weight: 900; color: var(--teal); }

/* Calendar overrides */
#booking-calendar {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: var(--shadow);
  padding: 14px;
}
.fc { font-family: var(--font) !important; }
.fc .fc-toolbar { margin-bottom: 12px !important; }
.fc .fc-toolbar-title { font-family: var(--font-display) !important; font-size: 1.15rem !important; font-weight: 600 !important; color: var(--ocean-deep) !important; text-transform: capitalize; }
.fc .fc-button {
  font-family: var(--font) !important;
  font-size: .8rem !important;
  border-radius: 10px !important;
  width: 34px; height: 34px;
  display: inline-flex !important; align-items: center; justify-content: center;
  padding: 0 !important;
  box-shadow: none !important;
}
.fc .fc-button-primary { background: linear-gradient(135deg, var(--teal), var(--teal-light)) !important; border: none !important; transition: transform .2s, box-shadow .2s; }
.fc .fc-button-primary:hover { opacity: 1 !important; transform: translateY(-1px); box-shadow: var(--shadow-blue) !important; }
.fc .fc-button-primary:focus { box-shadow: none !important; }
.fc .fc-col-header-cell { background: transparent !important; }
.fc .fc-col-header-cell-cushion { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; padding: 8px 0; }
.fc .fc-daygrid-day { transition: background .15s; }
.fc .fc-daygrid-day-number { font-size: .85rem; font-weight: 600; color: var(--text); padding: 6px 8px; }
.fc .fc-theme-standard td, .fc .fc-theme-standard th { border-color: rgba(10,35,66,.08) !important; }
.fc .fc-theme-standard .fc-scrollgrid { border-radius: 12px; overflow: hidden; }
/* Available days are clickable — invite interaction */
.fc .fc-daygrid-day:not(.fc-unavail):not(.fc-day-disabled):hover .fc-daygrid-day-frame { background: rgba(11,155,175,.10) !important; cursor: pointer; }
/* Weekend tint */
.fc .fc-day-sat .fc-daygrid-day-number, .fc .fc-day-sun .fc-daygrid-day-number { color: var(--coral-deep); }
/* Today */
.fc .fc-day-today .fc-daygrid-day-frame { background: rgba(245,200,66,.16) !important; }
.fc .fc-day-today .fc-daygrid-day-number { font-weight: 800; color: var(--accent2); }
/* Selected range mirror */
.fc .fc-highlight { background: rgba(11,155,175,.22) !important; }
/* Past / out-of-range days */
.fc .fc-day-disabled { background: rgba(10,35,66,.03) !important; }
.fc .fc-day-disabled .fc-daygrid-day-number { color: #b9c2c9; }
/* Unavailable (booked/blocked) days — now clearly disabled */
.fc-unavail .fc-daygrid-day-frame { background: repeating-linear-gradient(45deg, rgba(214,48,49,.07), rgba(214,48,49,.07) 6px, rgba(214,48,49,.13) 6px, rgba(214,48,49,.13) 12px) !important; cursor: not-allowed; }
.fc-unavail .fc-daygrid-day-number { color: var(--red); text-decoration: line-through; opacity: .75; }
.fc-event-booked  { background: var(--red)   !important; border-color: var(--red)   !important; font-size: .68rem; }
.fc-event-blocked { background: #888         !important; border-color: #888         !important; font-size: .68rem; }
.cal-legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.cal-legend-item { display: flex; align-items: center; gap: 6px; font-size: .76rem; color: var(--muted); }
.cal-dot { width: 10px; height: 10px; border-radius: 50%; }
.cal-dot.avail  { background: var(--green); }
.cal-dot.booked { background: var(--red); }
.cal-dot.blocked { background: #888; }

/* ══════════════════════════════════════
   DASHBOARD / BOOKINGS
══════════════════════════════════════ */
.bookings-list { display: flex; flex-direction: column; gap: 14px; }
.booking-item {
  background: #fff;
  border: 1.5px solid var(--border-sand);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  align-items: center;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.booking-item:hover { transform: translateX(4px); box-shadow: var(--shadow-lg); }
.booking-item-photo { width: 80px; height: 60px; object-fit: cover; border-radius: 10px; }
.booking-item-name { font-weight: 800; margin-bottom: 3px; }
.booking-item-dates { font-size: .83rem; color: var(--muted); }
.booking-item-price { font-weight: 900; color: var(--teal); font-size: 1.1rem; }
.booking-status {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.status-pending   { background: #FFF3CD; color: #7D5A00; }
.status-confirmed { background: #D1F4E8; color: #0A4A28; }
.status-cancelled { background: #FFE0E0; color: #7A0000; }

/* ══════════════════════════════════════
   USER MENU
══════════════════════════════════════ */
.user-menu-wrap { position: relative; }
.user-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: #fff;
  font-weight: 800;
  font-size: .88rem;
  display: flex; align-items: center; justify-content: center;
  border: none;
  box-shadow: 0 2px 12px rgba(8,151,180,.4);
  cursor: pointer;
  transition: transform .2s;
}
.user-avatar:hover { transform: scale(1.1); }
.user-dropdown {
  display: none;
  position: absolute; top: calc(100% + 8px); right: 0;
  background: #fff;
  border: 1px solid var(--border-sand);
  border-radius: 14px;
  padding: 8px; min-width: 190px;
  box-shadow: var(--shadow-lg); z-index: 200;
  animation: modal-in .2s ease;
}
.user-dropdown.open { display: block; }
.user-dropdown-email { padding: 8px 12px; font-size: .78rem; color: var(--muted); border-bottom: 1px solid var(--sand2); margin-bottom: 4px; }
.dropdown-btn {
  width: 100%; text-align: left; background: none; border: none;
  padding: 8px 12px; border-radius: 8px; font-size: .87rem; color: var(--text);
  font-family: var(--font); cursor: pointer; transition: .15s;
  display: flex; align-items: center; gap: 8px;
}
.dropdown-btn:hover { background: var(--sand); }
.dropdown-btn.danger { color: var(--red); }

/* ══════════════════════════════════════
   TOAST
══════════════════════════════════════ */
.toast-container {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 9999; display: flex; flex-direction: column; gap: 8px;
}
.toast {
  background: var(--ocean-deep);
  color: #fff; padding: 13px 20px; border-radius: 14px;
  font-size: .88rem; font-weight: 500;
  box-shadow: var(--shadow-lg); animation: toast-in .3s ease;
  max-width: 320px; border-left: 4px solid var(--teal);
}
.toast.success { background: var(--green); border-left-color: #0CDD7C; }
.toast.error   { background: var(--red);   border-left-color: #FF6B6B; }
@keyframes toast-in { from { transform: translateX(48px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ══════════════════════════════════════
   EMPTY / LOADING
══════════════════════════════════════ */
.empty-state { text-align: center; padding: 72px 24px; color: var(--muted); }
.empty-state .empty-icon { font-size: 3.5rem; margin-bottom: 14px; }
.empty-state h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--text); font-weight: 800; }
.spinner {
  width: 24px; height: 24px;
  border: 3px solid rgba(255,255,255,.3); border-top-color: #fff;
  border-radius: 50%; animation: spin .7s linear infinite; display: inline-block;
}
.spinner.dark { border-color: rgba(8,151,180,.2); border-top-color: var(--teal); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.site-footer {
  background: linear-gradient(135deg, var(--ocean-deep), var(--ocean-mid));
  color: rgba(255,255,255,.7);
  padding: 48px 24px;
  text-align: center;
  font-size: .88rem;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light), var(--gold));
}
.site-footer a { color: var(--teal-light); }
.site-footer strong { color: #fff; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin: 12px 0; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.6); font-size: .85rem; transition: color .2s; }
.footer-links a:hover { color: var(--teal-light); }

/* ══════════════════════════════════════
   LUGARES & ATIVIDADES CARDS
══════════════════════════════════════ */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.info-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid rgba(10,35,66,.08);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.info-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--sand2) center/cover;
  transition: transform .4s;
}
.info-card:hover .info-card-img { transform: scale(1.06); }
.info-card-img-wrap { overflow: hidden; }
.info-card-body { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.info-card-name { font-size: .9rem; font-weight: 800; color: var(--text); }
.info-card-desc { font-size: .76rem; color: var(--muted); line-height: 1.45; flex: 1; }
.info-card-link {
  font-size: .75rem;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  transition: color .2s;
}
.info-card-link:hover { color: var(--ocean-mid); }

/* ── Overlay cards (Lugares & Atividades) — full image ── */
.spot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.spot-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  box-shadow: var(--shadow);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), box-shadow .4s;
  isolation: isolate;
}
.spot-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.spot-card-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: var(--sand2);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center calc(50% + var(--shift, 0px));
  transition: transform .6s ease;
}
.spot-card:hover .spot-card-bg { transform: scale(1.07); }
.spot-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(13,45,68,.10) 0%, rgba(13,45,68,.52) 55%, rgba(13,45,68,.90) 100%);
}
.spot-card-inner {
  position: relative;
  width: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.spot-tag {
  position: absolute;
  top: 22px;
  left: 22px;
  background: var(--teal);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 8px;
  box-shadow: var(--shadow-blue);
}
.spot-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 10px;
  text-shadow: 0 2px 14px rgba(0,0,0,.4);
}
.spot-desc {
  font-size: .9rem;
  color: rgba(255,255,255,.92);
  line-height: 1.5;
  margin-bottom: 18px;
  text-shadow: 0 1px 8px rgba(0,0,0,.3);
}
.spot-link {
  font-size: .82rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: gap .25s;
}
.spot-link:hover { gap: 15px; }

/* Topic filter chips */
.spot-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.spot-chip {
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 700;
  color: var(--ocean-mid);
  background: rgba(255,255,255,0.7);
  border: 1.5px solid var(--border-sand);
  border-radius: 999px;
  padding: 8px 17px;
  cursor: pointer;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.spot-chip:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-1px); }
.spot-chip.active {
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.spot-card.hide { display: none !important; }
.spot-empty {
  padding: 28px;
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
  border: 1.5px dashed var(--border-sand);
  border-radius: var(--radius);
}
@keyframes spot-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.spot-grid.filtering .spot-card:not(.hide) { animation: spot-in .4s ease both; }
@media (prefers-reduced-motion: reduce) { .spot-grid.filtering .spot-card { animation: none; } }

/* Collapsible sections — show only the title until clicked */
.section-title.toggle {
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  transition: opacity .2s;
}
.section-title.toggle:hover { opacity: .82; }
.section-chevron {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-right: 3px solid var(--teal);
  border-bottom: 3px solid var(--teal);
  border-radius: 2px;
  transform: rotate(45deg) translateY(-3px);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
  flex-shrink: 0;
  -webkit-text-fill-color: initial;
}
.section-open .section-chevron { transform: rotate(-135deg) translateY(-3px); }
.collapsible-section:not(.section-open) .section-sub,
.collapsible-section:not(.section-open) .filters-bar,
.collapsible-section:not(.section-open) .apt-grid,
.collapsible-section:not(.section-open) .spot-filters,
.collapsible-section:not(.section-open) .spot-grid { display: none; }
.collapsible-section { transition: margin .3s; }

/* Section divider */
.section-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal-light), transparent);
  margin: 56px 0;
  border: none;
}

/* ══════════════════════════════════════
   REVIEWS
══════════════════════════════════════ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
  gap: 18px;
  margin-top: 28px;
}
.review-card {
  background: var(--card);
  border: 1px solid rgba(10,35,66,.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
}
.review-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.review-card:hover::after { transform: scaleX(1); }
.review-header { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--ocean-mid));
  color: #fff; font-weight: 800; font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.review-meta { flex: 1; }
.review-name { font-weight: 700; font-size: .9rem; }
.review-date { font-size: .75rem; color: var(--muted); }
.review-stars { color: #FFB800; font-size: 1rem; letter-spacing: 1px; }
.review-text { font-size: .87rem; color: var(--muted); line-height: 1.6; }
.review-apt { font-size: .75rem; font-weight: 600; color: var(--teal); }

/* Star rating input */
.star-rating { display: flex; gap: 4px; flex-direction: row-reverse; justify-content: flex-end; }
.star-rating input { display: none; }
.star-rating label {
  font-size: 1.6rem; color: #ccc; cursor: pointer;
  transition: color .15s, transform .15s;
}
.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label { color: #FFB800; }
.star-rating label:hover { transform: scale(1.2); }

/* Review form */
.review-form {
  background: var(--card);
  border: 1.5px solid var(--border-sand);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
}
.review-form-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 18px; }

/* ══════════════════════════════════════
   AI CHAT WIDGET
══════════════════════════════════════ */
.chat-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: #fff;
  border: none;
  box-shadow: 0 6px 24px rgba(8,151,180,.45);
  font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 999;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
  animation: chat-pulse 3s ease-in-out infinite;
}
.chat-btn:hover { transform: scale(1.12); box-shadow: 0 10px 32px rgba(8,151,180,.60); }
@keyframes chat-pulse {
  0%,100% { box-shadow: 0 6px 24px rgba(8,151,180,.45); }
  50%      { box-shadow: 0 6px 32px rgba(8,151,180,.65), 0 0 0 8px rgba(8,151,180,.12); }
}
.chat-btn .chat-badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--accent);
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 10px;
  border: 2px solid var(--sand);
}

.chat-window {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 340px;
  max-height: 520px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(8,151,180,.1);
  display: flex;
  flex-direction: column;
  z-index: 998;
  overflow: hidden;
  transition: opacity .3s, transform .3s cubic-bezier(.34,1.56,.64,1);
  opacity: 0;
  transform: translateY(20px) scale(.95);
  pointer-events: none;
}
.chat-window.open {
  opacity: 1;
  transform: none;
  pointer-events: all;
}
.chat-header {
  background: linear-gradient(135deg, var(--ocean-deep), var(--teal));
  color: #fff;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.chat-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.chat-header-info { flex: 1; }
.chat-header-name { font-weight: 800; font-size: .95rem; }
.chat-header-status { font-size: .72rem; opacity: .8; display: flex; align-items: center; gap: 4px; }
.chat-header-status::before { content:''; width:7px; height:7px; border-radius:50%; background:#4ADE80; display:inline-block; }
.chat-close { background: none; border: none; color: rgba(255,255,255,.7); font-size: 1.1rem; cursor: pointer; padding: 4px; }
.chat-close:hover { color: #fff; }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f8fafc;
}
.chat-msg {
  max-width: 80%;
  padding: 10px 13px;
  border-radius: 14px;
  font-size: .85rem;
  line-height: 1.5;
  animation: msg-in .25s ease;
}
@keyframes msg-in { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }
.chat-msg.bot {
  background: #fff;
  color: var(--text);
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  align-self: flex-start;
}
.chat-msg.user {
  background: linear-gradient(135deg, var(--teal), var(--ocean-mid));
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.chat-typing {
  display: flex; gap: 4px; align-items: center;
  padding: 10px 13px;
  background: #fff;
  border-radius: 14px; border-bottom-left-radius: 4px;
  width: fit-content;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  align-self: flex-start;
}
.chat-typing span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal);
  animation: typing-dot .9s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .30s; }
@keyframes typing-dot {
  0%,100% { transform: translateY(0); opacity:.4; }
  50%      { transform: translateY(-5px); opacity:1; }
}

/* Quick replies */
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; }
.chat-quick-btn {
  background: rgba(8,151,180,.1);
  border: 1px solid rgba(8,151,180,.25);
  color: var(--teal);
  border-radius: 16px;
  padding: 5px 12px;
  font-size: .75rem;
  font-weight: 600;
  cursor: pointer;
  transition: .2s;
  font-family: var(--font);
}
.chat-quick-btn:hover { background: var(--teal); color: #fff; }

.chat-input-row {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--sand2);
  background: #fff;
}
.chat-input {
  flex: 1;
  border: 1.5px solid var(--border-sand);
  border-radius: 12px;
  padding: 9px 12px;
  font-size: .88rem;
  font-family: var(--font);
  resize: none;
  outline: none;
  transition: border-color .2s;
}
.chat-input:focus { border-color: var(--teal); }
.chat-send {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border: none; color: #fff;
  font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: .2s;
}
.chat-send:hover { opacity: .88; transform: scale(1.05); }

/* Location card */
.location-card {
  background: linear-gradient(135deg, var(--ocean-deep), var(--ocean-mid));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 56px;
  box-shadow: var(--shadow-blue);
  flex-wrap: wrap;
}
.location-icon { font-size: 3rem; flex-shrink: 0; }
.location-info { flex: 1; min-width: 200px; }
.location-info h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 6px; }
.location-info p { font-size: .9rem; opacity: .8; line-height: 1.6; }
.location-actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 700px) {
  .chat-window { width: calc(100vw - 32px); right: 16px; }
  .chat-btn { right: 16px; bottom: 20px; }
}

/* Apartment detail modal — 2 columns on desktop */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 700px) {
  .hero { min-height: 100svh; }
  .hero-search { flex-direction: column; }
  .hero-search select, .hero-search input { min-width: unset; width: 100%; }
  .apt-grid { grid-template-columns: 1fr; }
  .booking-layout { grid-template-columns: 1fr; }
  .booking-item { grid-template-columns: 60px 1fr; }
  .booking-item > :last-child { grid-column: 1/-1; }
  .section { padding: 48px 16px; }
  .stats-strip { flex-direction: column; border-radius: var(--radius); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .filters-bar { flex-direction: column; align-items: stretch; }
  .features-grid { grid-template-columns: 1fr 1fr; }

  /* Detail modal stacks vertically */
  .detail-grid { grid-template-columns: 1fr; gap: 18px; }

  /* Overlay cards: shorter on small screens */
  .spot-card { min-height: 340px; }
  .spot-title { font-size: 1.3rem; }

  /* Keep navigation accessible on mobile: logo on top, wrapped centered nav below */
  .header-inner { height: auto; flex-direction: column; padding: 10px 0; gap: 10px; }
  .header-logo { font-size: 1rem; }
  .header-logo img { height: 34px; width: 34px; }
  .header-nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
  }
  .header-nav .nav-link {
    white-space: nowrap;
    font-size: .82rem;
    padding: 6px 10px;
  }
}
