/* =====================================================================
   COASTLINE — Premium Vacation / Holiday Rentals Template
   Plain HTML5 + CSS3. No frameworks. Offline-ready (no external images).
   ---------------------------------------------------------------------
   REBRAND TIP: Change the whole look by editing the CSS variables in
   :root below. Swap --accent (sunset) and --accent2 (sea) for your own
   colors, adjust --ink / --surface to match, and update --font-head /
   --font-body plus the Google Fonts <link> in each HTML file.
   Everything else cascades.
   ===================================================================== */

:root {
  /* --- Brand palette (edit these to rebrand) --- */
  --bg:       #ffffff;   /* page background                          */
  --ink:      #0f2c3a;   /* deep coastal navy (headings)            */
  --accent:   #f59e3c;   /* sunset orange (primary accent)          */
  --accent-d: #e07f17;   /* darker sunset for hovers                */
  --accent2:  #14a0c0;   /* sea blue (secondary accent)             */
  --accent2-d:#0e7e99;   /* darker sea for hovers                   */
  --muted:    #5f7a85;   /* muted body / captions                   */
  --surface:  #f1f8fb;   /* soft alt background                     */
  --line:     #dceef3;   /* borders / dividers                      */
  --slate:    #36505b;   /* body text                               */

  /* --- Fonts --- */
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* --- Shape & motion --- */
  --radius:    20px;
  --radius-sm: 13px;
  --shadow:    0 10px 30px rgba(15, 44, 58, .08);
  --shadow-lg: 0 24px 60px rgba(15, 44, 58, .16);
  --ease:      .35s cubic-bezier(.4, 0, .2, 1);

  /* --- Layout --- */
  --maxw: 1180px;
  --gutter: 24px;
}

/* ---------------------------------------------------------------------
   RESET / BASE
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1rem; }

a { color: var(--accent2); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--accent2-d); }

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

ul { margin: 0; padding: 0; list-style: none; }

/* ---------------------------------------------------------------------
   LAYOUT HELPERS
   --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 92px 0; }
.section--soft { background: var(--surface); }
.section--tight { padding: 64px 0; }

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head--left { margin-left: 0; text-align: left; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent2-d);
  background: rgba(20, 160, 192, .1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.lead { font-size: 1.12rem; color: var(--slate); }
.muted { color: var(--muted); }

/* ---------------------------------------------------------------------
   BUTTONS
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .98rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 22px rgba(245, 158, 60, .36);
}
.btn-primary:hover { background: var(--accent-d); color: #fff; box-shadow: 0 12px 30px rgba(245, 158, 60, .46); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent2); color: var(--accent2-d); }

.btn-light {
  background: rgba(255,255,255,.14);
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn-light:hover { background: #fff; color: var(--ink); }

.btn-sea {
  background: var(--accent2);
  color: #fff;
  box-shadow: 0 8px 22px rgba(20, 160, 192, .32);
}
.btn-sea:hover { background: var(--accent2-d); color: #fff; }

.btn-sm { padding: 11px 20px; font-size: .92rem; }

/* ---------------------------------------------------------------------
   HEADER / NAV  (shared, identical IDs on every page)
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--ink);
  letter-spacing: -.01em;
}
.brand:hover { color: var(--ink); }
.brand .logo-mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--accent), var(--accent2));
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(245, 158, 60, .38);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .96rem;
  color: var(--slate);
  padding: 8px 14px;
  border-radius: 10px;
  transition: background var(--ease), color var(--ease);
}
.nav-links a:hover { background: var(--surface); color: var(--accent2-d); }
.nav-links a.active { color: var(--accent2-d); font-weight: 600; }

.nav-cta { margin-left: 8px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: var(--surface);
  border: none;
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------------
   HERO (home)
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(245,158,60,.22), transparent 60%),
    radial-gradient(720px 520px at -5% 110%, rgba(20,160,192,.16), transparent 55%),
    linear-gradient(180deg, #fff 0%, var(--surface) 100%);
  padding: 84px 0 92px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 54px;
  align-items: center;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 span { color: var(--accent); font-style: italic; }
.hero .lead { max-width: 540px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-meta {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.hero-meta div strong {
  font-family: var(--font-head);
  font-size: 1.9rem;
  color: var(--ink);
  display: block;
  line-height: 1;
}
.hero-meta div span { font-size: .88rem; color: var(--muted); }

/* Booking search bar (visual / demo) */
.search-bar {
  display: grid;
  grid-template-columns: 1.3fr 1.3fr 1fr auto;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  box-shadow: var(--shadow);
}
.search-bar .search-field { display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 4px 10px; border-right: 1px solid var(--line); }
.search-bar .search-field:last-of-type { border-right: none; }
.search-bar label {
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.search-bar input, .search-bar select {
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: .96rem;
  color: var(--ink);
  padding: 2px 0;
}
.search-bar input:focus, .search-bar select:focus { outline: none; }
.search-bar .search-submit { justify-content: center; align-self: stretch; }

/* Hero visual — pure-CSS beach-home illustration */
.hero-visual {
  position: relative;
  border-radius: 26px;
  min-height: 440px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background:
    linear-gradient(180deg, #ffd27a 0%, #ffb86b 26%, #6fd0e0 26%, #2eb6cf 56%, #1f9ec0 100%);
}
.hero-visual .sun {
  position: absolute;
  top: 38px; right: 54px;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #fff6df, var(--accent));
  box-shadow: 0 0 60px rgba(255, 214, 122, .9);
}
.hero-visual .gull { position: absolute; font-size: 1.1rem; color: rgba(15,44,58,.5); }
.hero-visual .gull.g1 { top: 64px; left: 60px; }
.hero-visual .gull.g2 { top: 92px; left: 110px; font-size: .9rem; }
.hero-visual .house {
  position: absolute;
  left: 50%; bottom: 84px;
  transform: translateX(-50%);
  width: 200px;
}
.hero-visual .house .roof {
  width: 0; height: 0; margin: 0 auto;
  border-left: 116px solid transparent;
  border-right: 116px solid transparent;
  border-bottom: 64px solid #e7754a;
}
.hero-visual .house .body {
  width: 188px; height: 110px; margin: 0 auto;
  background: linear-gradient(180deg, #fff 0%, #f4ede2 100%);
  border-radius: 6px 6px 0 0;
  position: relative;
  box-shadow: 0 14px 30px rgba(15,44,58,.25);
}
.hero-visual .house .win {
  position: absolute; top: 24px; width: 38px; height: 38px;
  border-radius: 6px;
  background: linear-gradient(160deg, #ffe7a8, #f7b15a);
}
.hero-visual .house .win.l { left: 28px; }
.hero-visual .house .win.r { right: 28px; }
.hero-visual .house .door {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 36px; height: 56px;
  background: var(--accent2-d);
  border-radius: 6px 6px 0 0;
}
.hero-visual .waves {
  position: absolute; left: 0; right: 0; bottom: 0; height: 70px;
  background:
    radial-gradient(40px 22px at 30px 50px, rgba(255,255,255,.5) 60%, transparent 62%),
    radial-gradient(40px 22px at 120px 60px, rgba(255,255,255,.4) 60%, transparent 62%),
    radial-gradient(40px 22px at 220px 52px, rgba(255,255,255,.5) 60%, transparent 62%),
    radial-gradient(40px 22px at 320px 62px, rgba(255,255,255,.35) 60%, transparent 62%);
  opacity: .8;
}
.hero-visual .badge-float {
  position: absolute;
  top: 28px; left: 26px;
  background: rgba(255,255,255,.94);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px;
}
.hero-visual .badge-float .bf-ic { font-size: 1.4rem; }
.hero-visual .badge-float strong { font-family: var(--font-head); color: var(--ink); display: block; font-size: 1rem; line-height: 1.1; }
.hero-visual .badge-float span { font-size: .76rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   TRUST STRIP
   --------------------------------------------------------------------- */
.trust { padding: 30px 0; border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  text-align: center;
}
.trust-grid .ti strong {
  font-family: var(--font-head);
  font-size: 1.7rem;
  color: var(--ink);
  display: block;
  line-height: 1;
}
.trust-grid .ti span { font-size: .9rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   GRIDS
   --------------------------------------------------------------------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------------------------------------------------------------------
   RENTAL CARDS
   --------------------------------------------------------------------- */
.rental-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.rental-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  display: flex;
  flex-direction: column;
}
.rental-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(20,160,192,.3); }

.rental-media {
  position: relative;
  height: 200px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 14px;
}
/* Gradient "photo" variations (no image files) */
.grad-1 { background: linear-gradient(150deg, #ffd27a, #f59e3c 55%, #e07f17); }
.grad-2 { background: linear-gradient(150deg, #8fe3ef, #14a0c0 55%, #0e7e99); }
.grad-3 { background: linear-gradient(150deg, #ffc4a3, #f47e6d 55%, #c85a78); }
.grad-4 { background: linear-gradient(150deg, #bfe9c8, #5bbf97 55%, #2f8f8a); }
.grad-5 { background: linear-gradient(150deg, #c7c1f5, #8b7fe0 55%, #5d63b8); }
.grad-6 { background: linear-gradient(150deg, #ffe1a0, #ffae6a 50%, #14a0c0); }
.grad-7 { background: linear-gradient(150deg, #a3d8ff, #5aa0f4 55%, #3f6fc8); }
.grad-8 { background: linear-gradient(150deg, #f7b7c8, #ec6f9b 55%, #b04d8f); }
.grad-9 { background: linear-gradient(150deg, #ffe8b0, #f5c451 50%, #e09a17); }
/* subtle "horizon" shimmer overlay for realism */
.rental-media::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(180px 120px at 78% 18%, rgba(255,255,255,.35), transparent 70%);
  pointer-events: none;
}
.rental-badge {
  position: relative; z-index: 1;
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--ink);
  background: rgba(255,255,255,.94);
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(15,44,58,.16);
}
.rental-badge.superhost { color: var(--accent-d); }
.rental-fav {
  position: relative; z-index: 1;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  display: grid; place-items: center;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(15,44,58,.16);
}
.rental-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.rental-loc { font-size: .86rem; color: var(--muted); margin: 0 0 4px; display: flex; align-items: center; gap: 5px; }
.rental-name { font-size: 1.25rem; margin: 0 0 12px; }
.rental-name a { color: var(--ink); }
.rental-name a:hover { color: var(--accent2-d); }
.rental-specs {
  display: flex;
  gap: 16px;
  font-size: .86rem;
  color: var(--slate);
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.rental-specs li { display: flex; align-items: center; gap: 6px; }
.rental-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.rental-price { font-family: var(--font-head); font-size: 1.3rem; color: var(--ink); font-weight: 600; }
.rental-price .per { font-family: var(--font-body); font-size: .82rem; color: var(--muted); font-weight: 400; }
.rental-rating { font-size: .9rem; color: var(--ink); font-weight: 600; display: flex; align-items: center; gap: 4px; }
.rental-rating .star { color: var(--accent); }
.rental-rating .count { color: var(--muted); font-weight: 400; font-size: .82rem; }

/* ---------------------------------------------------------------------
   DESTINATIONS
   --------------------------------------------------------------------- */
.dest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.dest-card {
  position: relative;
  border-radius: var(--radius);
  min-height: 220px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease);
}
.dest-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: #fff; }
.dest-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(15,44,58,.72) 100%);
  z-index: 1;
}
.dest-card .dest-meta { position: relative; z-index: 2; }
.dest-card h3 { color: #fff; margin: 0 0 2px; font-size: 1.25rem; }
.dest-card span { font-size: .86rem; color: rgba(255,255,255,.88); }

/* ---------------------------------------------------------------------
   FEATURE CARDS / WHY BOOK
   --------------------------------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(20,160,192,.25); }
.card .icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(245,158,60,.16), rgba(20,160,192,.18));
  display: grid; place-items: center;
  font-size: 1.7rem;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--slate); margin-bottom: 0; }

/* Split section */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split--reverse .split-media { order: 2; }
.split-media {
  border-radius: 24px;
  min-height: 400px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
  color: #fff;
  padding: 32px;
  text-align: center;
  background: linear-gradient(155deg, #ffd27a 0%, #f59e3c 40%, #14a0c0 100%);
}
.split-media::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(420px 320px at 78% 18%, rgba(255,255,255,.4), transparent 62%);
}
.split-media .sm-inner { position: relative; z-index: 1; }
.split-media .sm-inner .big { font-size: 3rem; margin-bottom: 8px; }

/* feature list (numbered/ticked) */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .tick {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(245,158,60,.32);
}
.feature h3 { font-size: 1.12rem; margin-bottom: 4px; }
.feature p { margin-bottom: 0; font-size: .98rem; }

/* ---------------------------------------------------------------------
   STATS BAND
   --------------------------------------------------------------------- */
.stats-band {
  background:
    radial-gradient(600px 400px at 88% 0%, rgba(245,158,60,.4), transparent 60%),
    linear-gradient(135deg, #0f2c3a, #14637a);
  color: #fff;
}
.stats-band .section-head h2 { color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.stat strong {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3rem);
  display: block;
  line-height: 1;
  background: linear-gradient(120deg, #fff, var(--accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat span { color: rgba(255,255,255,.82); font-size: .95rem; }

/* ---------------------------------------------------------------------
   REVIEWS / TESTIMONIALS
   --------------------------------------------------------------------- */
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 34px;
  box-shadow: var(--shadow);
}
.quote-card .stars { color: var(--accent); margin-bottom: 14px; letter-spacing: 2px; }
.quote-card blockquote {
  margin: 0 0 22px;
  font-size: 1.1rem;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.5;
}
.quote-author { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}
.quote-author b { display: block; font-family: var(--font-head); color: var(--ink); }
.quote-author span { font-size: .88rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   CTA BAND
   --------------------------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(600px 400px at 90% 10%, rgba(245,158,60,.5), transparent 60%),
    linear-gradient(135deg, #0f2c3a, #14637a);
  color: #fff;
  border-radius: 30px;
  padding: 62px 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.88); max-width: 560px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------------
   PAGE BANNER (inner pages)
   --------------------------------------------------------------------- */
.page-banner {
  background:
    radial-gradient(700px 420px at 85% -20%, rgba(245,158,60,.2), transparent 60%),
    radial-gradient(560px 400px at 0% 120%, rgba(20,160,192,.14), transparent 60%),
    linear-gradient(180deg, var(--surface), #fff);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--line);
}
.page-banner h1 { margin-bottom: 10px; }
.page-banner p { max-width: 640px; color: var(--slate); margin-bottom: 0; }
.breadcrumb {
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--accent2-d); }
.breadcrumb span { margin: 0 6px; }

/* ---------------------------------------------------------------------
   FILTER BAR (rentals page)
   --------------------------------------------------------------------- */
.filter-bar {
  display: grid;
  grid-template-columns: 1.3fr 1.3fr 1fr 1fr auto;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  box-shadow: var(--shadow);
  align-items: stretch;
}
.filter-bar .search-field { display: flex; flex-direction: column; gap: 4px; padding: 6px 12px; border-right: 1px solid var(--line); }
.filter-bar .search-field:last-of-type { border-right: none; }
.filter-bar label {
  font-size: .68rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}
.filter-bar input, .filter-bar select {
  border: none; background: transparent;
  font-family: var(--font-body); font-size: .96rem; color: var(--ink);
  padding: 2px 0;
}
.filter-bar input:focus, .filter-bar select:focus { outline: none; }
.filter-bar .search-submit { justify-content: center; align-self: center; }

.rentals-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 30px;
}
.rentals-count { margin: 0; color: var(--slate); }
.rentals-count strong { color: var(--ink); font-family: var(--font-head); }
.sort-field { display: flex; align-items: center; gap: 10px; }
.sort-field label { font-size: .86rem; color: var(--muted); font-weight: 500; }
.sort-field select {
  font-family: var(--font-body); font-size: .92rem; color: var(--ink);
  padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
}

/* Pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 50px; }
.page-btn {
  min-width: 42px; height: 42px;
  display: grid; place-items: center;
  padding: 0 12px;
  border-radius: 11px;
  border: 1.5px solid var(--line);
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  color: var(--slate); background: #fff;
  transition: all var(--ease);
}
.page-btn:hover { border-color: var(--accent2); color: var(--accent2-d); }
.page-btn.is-current { background: var(--accent2); border-color: var(--accent2); color: #fff; }
.page-btn.is-current:hover { color: #fff; }
.page-ellipsis { color: var(--muted); padding: 0 4px; }

/* ---------------------------------------------------------------------
   MAP PLACEHOLDER (rentals / property / contact)
   --------------------------------------------------------------------- */
.map-placeholder {
  border-radius: var(--radius);
  min-height: 240px;
  background:
    linear-gradient(rgba(20,160,192,.06), rgba(20,160,192,.06)),
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 42px),
    var(--surface);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  text-align: center;
  color: var(--muted);
  padding: 24px;
}
.map-placeholder .pin { font-size: 2.4rem; }
.map-placeholder b { font-family: var(--font-head); color: var(--ink); display: block; }
.map-tall { min-height: 360px; }

/* ---------------------------------------------------------------------
   PROPERTY PAGE
   --------------------------------------------------------------------- */
.property-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: 26px;
}
.property-head .ph-loc { color: var(--muted); margin: 6px 0 0; display: flex; align-items: center; gap: 6px; }
.property-head .ph-rating { font-weight: 600; color: var(--ink); }
.property-head .ph-rating .star { color: var(--accent); }
.property-price-box { text-align: right; }
.property-price-box .pp { font-family: var(--font-head); font-size: 2rem; color: var(--ink); font-weight: 600; }
.property-price-box .pp .per { font-family: var(--font-body); font-size: .9rem; color: var(--muted); font-weight: 400; }
.property-price-box .pp-note { display: block; font-size: .84rem; color: var(--muted); }

/* gallery */
.gallery { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 40px; }
.gallery-main {
  height: 420px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery-main::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(300px 200px at 75% 16%, rgba(255,255,255,.35), transparent 70%);
}
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-thumb {
  height: 92px;
  border-radius: 13px;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  transition: border-color var(--ease), transform var(--ease);
}
.gallery-thumb:hover { transform: translateY(-2px); }
.gallery-thumb.is-active { border-color: var(--accent); }

.property-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 44px; align-items: start; }

.property-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.chip {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: .92rem;
  color: var(--ink);
}
.chip .chip-ic { font-size: 1.2rem; }
.chip b { font-family: var(--font-head); }

.property-block { margin-bottom: 40px; }
.property-block h2 { font-size: 1.5rem; margin-bottom: 14px; }

.amenities-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.amenities-list li { display: flex; align-items: center; gap: 10px; color: var(--slate); font-size: .96rem; }
.amenities-list .am-ic { color: var(--accent2); font-weight: 700; }

/* booking widget */
.booking-widget {
  position: sticky;
  top: 96px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-lg);
}
.booking-widget .bw-price { font-family: var(--font-head); font-size: 1.7rem; color: var(--ink); margin-bottom: 4px; }
.booking-widget .bw-price .per { font-family: var(--font-body); font-size: .9rem; color: var(--muted); font-weight: 400; }
.booking-widget .bw-rating { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.booking-widget .bw-rating .star { color: var(--accent); }
.bw-fields {
  border: 1.5px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  margin-bottom: 16px;
}
.bw-field { padding: 12px 14px; border-bottom: 1.5px solid var(--line); }
.bw-field:last-child { border-bottom: none; }
.bw-field.bw-split { display: grid; grid-template-columns: 1fr 1fr; padding: 0; }
.bw-field.bw-split > div { padding: 12px 14px; }
.bw-field.bw-split > div:first-child { border-right: 1.5px solid var(--line); }
.bw-field label { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.bw-field input, .bw-field select { width: 100%; border: none; background: transparent; font-family: var(--font-body); font-size: .94rem; color: var(--ink); }
.bw-field input:focus, .bw-field select:focus { outline: none; }
.booking-widget .btn { width: 100%; justify-content: center; }
.bw-note { text-align: center; font-size: .82rem; color: var(--muted); margin: 14px 0 0; }
.bw-rows { margin: 18px 0 0; }
.bw-row { display: flex; justify-content: space-between; font-size: .92rem; color: var(--slate); padding: 6px 0; }
.bw-row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-family: var(--font-head); color: var(--ink); font-weight: 600; }

/* host card */
.host-card {
  display: flex; align-items: center; gap: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.host-avatar {
  width: 72px; height: 72px; flex: 0 0 auto;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.6rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}
.host-card h3 { margin: 0 0 2px; font-size: 1.2rem; }
.host-card .host-role { color: var(--accent2-d); font-weight: 600; font-size: .9rem; margin: 0 0 6px; }
.host-card p { margin: 0; font-size: .92rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   ABOUT — values / team
   --------------------------------------------------------------------- */
.team-card { text-align: center; }
.team-card .team-photo {
  width: 110px; height: 110px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2rem;
  color: #fff;
  box-shadow: var(--shadow);
}
.team-card h3 { font-size: 1.15rem; margin-bottom: 2px; }
.team-card .role { color: var(--accent2-d); font-family: var(--font-body); font-weight: 600; font-size: .9rem; margin-bottom: 10px; }
.team-card p { font-size: .92rem; color: var(--muted); margin-bottom: 0; }

/* ---------------------------------------------------------------------
   CONTACT
   --------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent2);
  box-shadow: 0 0 0 4px rgba(20,160,192,.14);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .error-msg { color: #dc2626; font-size: .82rem; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #dc2626; }
.field.invalid .error-msg { display: block; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #047857;
  font-weight: 500;
}
.form-status.show { display: block; }

.info-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 22px;
}
.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.info-row:last-child { margin-bottom: 0; }
.info-row .info-ic {
  width: 44px; height: 44px; flex: 0 0 auto;
  border-radius: 12px; background: #fff;
  display: grid; place-items: center; font-size: 1.3rem;
  box-shadow: var(--shadow);
}
.info-row b { font-family: var(--font-head); color: var(--ink); display: block; }
.info-row span { font-size: .94rem; }

/* ---------------------------------------------------------------------
   FOOTER (shared)
   --------------------------------------------------------------------- */
.site-footer {
  background: #0c2530;
  color: rgba(255,255,255,.78);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand:hover { color: #fff; }
.footer-about p { font-size: .95rem; color: rgba(255,255,255,.72); max-width: 320px; }
.footer-col h4 {
  color: #fff; font-family: var(--font-body); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a { display: block; color: rgba(255,255,255,.74); padding: 5px 0; font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  display: grid; place-items: center;
  font-size: 1rem;
}
.social a:hover { background: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .88rem;
  color: rgba(255,255,255,.6);
}
.footer-bottom a { color: rgba(255,255,255,.78); }

/* ---------------------------------------------------------------------
   SCROLL-REVEAL
   --------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.no-io .reveal { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .rental-grid { grid-template-columns: repeat(2, 1fr); }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 520px; }
  .property-layout { grid-template-columns: 1fr; }
  .booking-widget { position: static; }
  .search-bar { grid-template-columns: 1fr 1fr; }
  .search-bar .search-submit { grid-column: 1 / -1; }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .filter-bar .search-submit { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 14px var(--gutter) 22px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--ease), transform var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .rental-grid, .dest-grid { grid-template-columns: 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split-media { order: 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .amenities-list { grid-template-columns: 1fr; }
  .gallery-main { height: 320px; }
  .property-price-box { text-align: left; }
  .cta-band { padding: 44px 26px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .stats-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .gallery-thumb { height: 64px; }
  .search-bar, .filter-bar { grid-template-columns: 1fr; }
  .hero-visual { min-height: 360px; }
}
