/*
Theme Name: BookingNido
Theme URI: https://bookingnido.com
Author: OpenCode
Author URI: https://opencode.ai
Description: Premium Mediterranean vacation rental theme — villas, maisons & appartements de luxe.
Version: 3.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bookingnido
Tags: hospitality, vacation-rental, booking, real-estate
*/

/* ============================================================
   FONT IMPORTS — Playfair Display (headings) + DM Sans (body)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,500&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand palette — Mediterranean luxury */
  --ocean:        #0077B6;
  --ocean-dark:   #023E8A;
  --ocean-deep:   #03045E;
  --ocean-light:  #00B4D8;
  --ocean-mist:   #CAF0F8;
  --ocean-tint:   #F0F9FF;

  --sand:         #FAF9F6;
  --sand-warm:    #F5EFE6;
  --cream:        #FFF8F0;

  --coral:        #E76F51;
  --coral-dark:   #C5563B;
  --coral-tint:   #FDEDE7;

  --gold:         #E9B824;
  --gold-tint:    #FFF6DC;

  --charcoal:     #1A1A2E;
  --ink:          #0F172A;
  --text:         #1A1A2E;
  --text-body:    #3F3D56;
  --text-secondary: #6B6A7E;
  --text-muted:   #9B9AAC;

  /* Surfaces */
  --bg:           #FFFFFF;
  --bg-alt:       #FAF9F6;
  --bg-soft:      #F5EFE6;
  --bg-card:      #FFFFFF;
  --border:       #E8E2D6;
  --border-light: #F1ECDF;
  --border-soft:  #F7F2E8;

  /* Soft layered shadows */
  --shadow-xs:    0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm:    0 2px 8px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md:    0 8px 24px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg:    0 16px 40px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-xl:    0 24px 60px rgba(15, 23, 42, 0.16), 0 8px 20px rgba(15, 23, 42, 0.06);
  --shadow-glow:  0 14px 36px rgba(0, 119, 182, 0.28);
  --shadow-coral: 0 14px 36px rgba(231, 111, 81, 0.32);

  /* Radius */
  --radius-xs:    6px;
  --radius-sm:    8px;
  --radius:       12px;
  --radius-md:    16px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --radius-pill:  999px;

  /* Motion */
  --transition:       all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:  all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce:      cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Type */
  --font-serif:    'Playfair Display', 'Times New Roman', Georgia, serif;
  --font-sans:     'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --font:          var(--font-sans);

  /* Layout */
  --header-height:   76px;
  --header-scrolled: 64px;
  --max-width:       1280px;
  --max-width-wide:  1440px;
  --max-width-sm:    960px;

  /* Backward-compatibility aliases — old variable names map to new palette.
     These keep any pre-existing inline styles / dynamic CSS working. */
  --primary:         var(--ocean);
  --primary-light:   var(--ocean-light);
  --primary-dark:    var(--ocean-dark);
  --secondary:       var(--coral);
  --secondary-light: var(--coral-dark);
  --accent:          var(--gold);
  --accent-dark:     var(--gold);
  --accent-color:    var(--gold);
  --bg-light:        var(--bg-alt);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: var(--ocean);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--ocean-dark);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  line-height: 1.18;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { color: var(--text-body); }

::selection {
  background: var(--ocean);
  color: #fff;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb {
  background: var(--ocean);
  border-radius: 10px;
  border: 2px solid var(--bg-alt);
}
::-webkit-scrollbar-thumb:hover { background: var(--ocean-dark); }

/* ============================================================
   LAYOUT — Container
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.container-wide { max-width: var(--max-width-wide); }
.container-narrow { max-width: var(--max-width-sm); }

.section {
  padding: 72px 0;
  position: relative;
}

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

@media (min-width: 1024px) {
  .section { padding: 112px 0; }
}

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

.section-title h2 {
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--gold));
  border-radius: var(--radius-pill);
  margin: 14px auto 0;
}

.section-title p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-title.text-left { text-align: left; margin-left: 0; }
.section-title.text-left h2::after { margin-left: 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  border: 1.5px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--font-sans);
  letter-spacing: 0.1px;
  position: relative;
  overflow: hidden;
}

.btn:active { transform: translateY(0) scale(0.98); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn i { font-size: 18px; }

.btn-primary {
  background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-dark) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--ocean-dark) 0%, var(--ocean-deep) 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 119, 182, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--ocean);
  border-color: var(--ocean);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--ocean);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-success {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-coral);
}

.btn-success:hover {
  background: linear-gradient(135deg, var(--coral-dark) 0%, #A8452A 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(231, 111, 81, 0.45);
}

.btn-white {
  background: #fff;
  color: var(--ocean);
  border-color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: var(--cream);
  color: var(--ocean-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--bg-alt);
  color: var(--ocean);
  border-color: var(--ocean);
}

.btn-block { width: 100%; }

.btn-sm {
  padding: 10px 18px;
  font-size: 13px;
  border-radius: var(--radius-xs);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 16px;
  border-radius: var(--radius);
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
  position: relative;
}

.btn-icon:hover {
  background: var(--coral-tint);
  color: var(--coral);
  border-color: var(--coral);
  transform: translateY(-2px);
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(232, 226, 214, 0.6);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 28px;
  gap: 24px;
  transition: height 0.3s ease;
}

.site-header.is-scrolled .header-inner {
  height: var(--header-scrolled);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--ocean-dark);
  text-decoration: none;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.site-logo:hover { color: var(--ocean); }

.site-logo i {
  font-size: 26px;
  color: var(--coral);
}

.site-logo img {
  height: 40px;
  width: auto;
}

/* Burger */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.menu-toggle:hover { background: var(--bg-alt); }

.menu-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}

.menu-icon span {
  display: block;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Main nav */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  gap: 4px;
}

.nav-menu li {
  position: relative;
}

.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  color: var(--text);
  font-weight: 500;
  font-size: 14.5px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.nav-menu > li > a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
  background: var(--ocean-tint);
  color: var(--ocean-dark);
}

.nav-menu > li > a:hover::after,
.nav-menu .current-menu-item > a::after,
.nav-menu .current_page_item > a::after {
  transform: scaleX(1);
}

/* ============================================================
   MEGA MENU
   ============================================================ */
.mega-menu-wrap {
  position: static;
}

.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #FFFFFF 0%, #FCFBF7 100%);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  min-width: 760px;
  z-index: 1001;
  padding: 28px;
  margin-top: 10px;
  overflow: hidden;
}

.mega-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
  background: transparent;
}

.mega-menu-wrap:hover > .mega-menu { display: block; animation: fadeInUp 0.3s ease; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.mega-menu-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 28px;
}

.mega-col h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--ocean-dark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mega-col h4 i {
  font-size: 16px;
  color: var(--coral);
}

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

.mega-col ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  color: var(--text-body);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-xs);
  transition: var(--transition);
}

.mega-col ul li a:hover {
  background: var(--ocean-tint);
  color: var(--ocean-dark);
  transform: translateX(4px);
}

.mega-col ul li a .count {
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.mega-col ul li a:hover .count {
  background: var(--ocean);
  color: #fff;
}

.mega-featured-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mega-featured-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  background: transparent;
}

.mega-featured-item:hover {
  background: var(--bg-alt);
  transform: translateX(4px);
}

.mega-featured-img {
  width: 64px;
  height: 48px;
  border-radius: var(--radius-xs);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-soft);
}

.mega-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mega-featured-item:hover .mega-featured-img img {
  transform: scale(1.08);
}

.mega-featured-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.mega-featured-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mega-featured-location {
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.mega-featured-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--coral);
}

.mega-menu-footer {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  text-align: right;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-actions .btn-text { display: inline; }

/* Favorites toggle (icon button) */
.favorites-toggle {
  position: relative;
}

.favorites-count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--coral);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(231, 111, 81, 0.5);
}

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.lang-switcher {
  position: relative;
  margin-left: 4px;
  border-left: 1px solid var(--border);
  padding-left: 14px;
}

.lang-switcher-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.lang-switcher-trigger:hover {
  border-color: var(--ocean);
  color: var(--ocean);
}

.lang-switcher-trigger i {
  font-size: 12px;
  transition: transform 0.2s;
}

.lang-switcher.is-open .lang-switcher-trigger i { transform: rotate(180deg); }

.lang-switcher-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  min-width: 200px;
  z-index: 1001;
}

.lang-switcher.is-open .lang-switcher-panel { display: block; animation: fadeInUp 0.2s ease; }

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  background: transparent;
  border: none;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-sans);
  text-align: left;
}

.lang-option:hover { background: var(--bg-alt); }

.lang-option.is-active {
  background: var(--ocean-tint);
  color: var(--ocean-dark);
  font-weight: 600;
}

.lang-code { font-size: 16px; min-width: 22px; }
.lang-name { font-size: 14px; color: var(--text); }

/* ============================================================
   HERO — Full-bleed with image + overlay
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  padding: 120px 24px 60px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 4, 94, 0.55) 0%, rgba(2, 62, 138, 0.45) 40%, rgba(0, 119, 182, 0.65) 100%),
    url('https://images.unsplash.com/photo-1613533438874-4BN3K9f6c11d?w=1920&q=80') center/cover no-repeat;
  z-index: -2;
  transform: scale(1.05);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center bottom, rgba(231, 111, 81, 0.35) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.18); }
}

.hero .container {
  max-width: 980px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-shadow: 0 4px 24px rgba(3, 4, 94, 0.4);
  animation: heroFadeIn 1s ease 0.1s both;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}

.hero p {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 400;
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.6;
  text-shadow: 0 2px 12px rgba(3, 4, 94, 0.4);
  animation: heroFadeIn 1s ease 0.3s both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 24px;
  animation: heroFadeIn 1s ease 0s both;
}

.hero-badge i { color: var(--gold); font-size: 15px; }

/* Hero scroll cue */
.hero-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: bounceDown 2.2s ease-in-out infinite;
  z-index: 3;
}

.hero-scroll-cue i { font-size: 18px; }

@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   SEARCH BOX
   ============================================================ */
.search-box {
  margin-top: 28px;
  animation: heroFadeIn 1s ease 0.5s both;
}

.search-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

@media (min-width: 768px) {
  .search-form { grid-template-columns: 1.4fr 1fr 1fr 1fr auto; align-items: end; }
}

.search-field {
  position: relative;
  padding: 6px 14px;
  border-right: 1px solid var(--border-light);
}

.search-field:last-of-type { border-right: none; }

.search-field label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ocean-dark);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.search-field label i {
  font-size: 14px;
  color: var(--coral);
}

.search-field input,
.search-field select {
  width: 100%;
  border: none;
  background: transparent;
  padding: 8px 0;
  font-size: 15px;
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 500;
  outline: none;
}

.search-field input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.search-field input:focus,
.search-field select:focus {
  outline: none;
}

.search-btn {
  height: 56px;
  padding: 0 28px;
  font-size: 15px;
  border-radius: var(--radius);
}

/* ============================================================
   CUSTOM DROPDOWN (shared)
   ============================================================ */
.custom-dropdown { position: relative; }

.custom-dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  background: transparent;
  border: none;
  font-family: var(--font-sans);
}

.custom-dropdown-trigger:hover { color: var(--ocean); }

.custom-dropdown-trigger i {
  color: var(--text-muted);
  transition: transform 0.2s;
  font-size: 18px;
}

.custom-dropdown.open .custom-dropdown-trigger i { transform: rotate(180deg); color: var(--ocean); }

.custom-dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  z-index: 9999;
  animation: fadeInUp 0.2s ease;
}

.custom-dropdown.open .custom-dropdown-panel { display: block; }

.custom-dropdown-search {
  padding: 4px 4px 8px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 6px;
}

.custom-dropdown-search input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  font-size: 14px;
  font-family: var(--font-sans);
  outline: none;
  transition: var(--transition);
}

.custom-dropdown-search input:focus {
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.12);
}

.custom-dropdown-options {
  max-height: 280px;
  overflow-y: auto;
  padding: 0;
}

.custom-dropdown-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  font-size: 14px;
  color: var(--text-body);
  transition: var(--transition);
}

.custom-dropdown-option:hover {
  background: var(--ocean-tint);
  color: var(--ocean-dark);
}

.custom-dropdown-option.selected {
  background: var(--ocean);
  color: #fff;
  font-weight: 600;
}

.custom-dropdown-option .dd-count {
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.custom-dropdown-option:hover .dd-count {
  background: rgba(255, 255, 255, 0.25);
  color: var(--ocean-dark);
}

.custom-dropdown-option.selected .dd-count {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  padding: 96px 0 56px;
  background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-dark) 60%, var(--ocean) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1600&q=80') center/cover no-repeat;
  opacity: 0.18;
  mix-blend-mode: overlay;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.page-header > .container { position: relative; z-index: 2; }

.page-header h1 {
  color: #fff;
  margin-bottom: 12px;
  text-shadow: 0 2px 16px rgba(3, 4, 94, 0.4);
}

.page-header p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
}

/* ============================================================
   PROPERTIES GRID + PROPERTY CARD
   ============================================================ */
.properties-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 640px) {
  .properties-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (min-width: 1024px) {
  .properties-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

.property-card-wrap {
  position: relative;
}

.property-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.property-card-link:hover { color: inherit; }

.property-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition-slow);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.property-card-link:hover .property-card {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--ocean-mist);
}

.property-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-card-link:hover .property-image img {
  transform: scale(1.08);
}

.property-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.18) 100%);
  pointer-events: none;
}

.property-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg-alt) 100%);
  color: var(--text-muted);
}

.property-image-placeholder i {
  font-size: 48px;
  opacity: 0.5;
}

.property-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 6px 18px rgba(231, 111, 81, 0.4);
  letter-spacing: 0.3px;
  z-index: 2;
}

.property-badge i { font-size: 13px; color: var(--gold-tint); }

.property-favorite {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  color: var(--text-secondary);
  font-size: 18px;
  z-index: 3;
}

.property-favorite:hover {
  background: #fff;
  color: var(--coral);
  transform: scale(1.1);
}

.property-favorite.is-favorited {
  background: var(--coral);
  color: #fff;
}

.property-favorite.is-favorited i::before { content: "\ee03"; } /* ri-heart-fill */

.property-content {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.property-location i {
  color: var(--coral);
  font-size: 15px;
  flex-shrink: 0;
}

.property-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--charcoal);
  margin: 0;
  letter-spacing: -0.01em;
}

.property-card-link:hover .property-title { color: var(--ocean-dark); }

.property-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 10px 0;
  margin: 4px 0;
  border-top: 1px dashed var(--border-light);
  border-bottom: 1px dashed var(--border-light);
}

.property-feature {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: var(--text-secondary);
  font-weight: 500;
}

.property-feature i {
  color: var(--ocean);
  font-size: 15px;
}

.property-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
}

.stars {
  display: inline-flex;
  gap: 1px;
  color: var(--gold);
}

.stars i { font-size: 14px; }

.rating-count { color: var(--text-muted); font-size: 12.5px; }

.property-price {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-top: 8px;
}

.price-amount {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--coral);
  letter-spacing: -0.01em;
}

.price-period {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================================
   LOCATIONS GRID (Destinations)
   ============================================================ */
.locations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 640px) {
  .locations-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .locations-grid { grid-template-columns: repeat(4, 1fr); }
}

.location-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--bg-soft);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-slow);
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.location-card a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  color: #fff;
  text-decoration: none;
}

.location-card img,
.location-card .location-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.location-card:hover img { transform: scale(1.08); }

.location-card a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 4, 94, 0.1) 0%, rgba(3, 4, 94, 0.5) 60%, rgba(3, 4, 94, 0.85) 100%);
  z-index: 1;
  transition: var(--transition);
}

.location-card:hover a::before {
  background: linear-gradient(180deg, rgba(0, 119, 182, 0.2) 0%, rgba(0, 119, 182, 0.55) 60%, rgba(3, 4, 94, 0.9) 100%);
}

.location-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-dark) 100%);
}

.location-placeholder i {
  font-size: 56px;
  color: rgba(255, 255, 255, 0.4);
}

.location-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px 20px;
  color: #fff;
  z-index: 2;
}

.location-overlay h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.location-overlay span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ============================================================
   FEATURES GRID — Why choose us (compact trust badges)
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(4, 1fr); }
}

.feature-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--ocean), var(--coral));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--ocean-mist);
}

.feature-item:hover::before { transform: scaleX(1); }

.feature-item i {
  font-size: 32px;
  color: var(--ocean);
  margin-bottom: 14px;
  display: inline-block;
  transition: var(--transition);
}

.feature-item:hover i {
  color: var(--coral);
  transform: scale(1.08);
}

.feature-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   REVIEWS — Home page section
   ============================================================ */
.reviews-section-home {
  padding: 96px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--cream) 100%);
  position: relative;
}

.reviews-section-home .section-title h2 { color: var(--charcoal); }

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 56px;
}

@media (min-width: 768px) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

.review-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition-slow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.review-card::before {
  content: '\ed36'; /* ri-double-quotes-l */
  font-family: 'remixicon';
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 42px;
  color: var(--ocean-mist);
  line-height: 1;
  pointer-events: none;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--ocean-mist);
}

.review-card-stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
}

.review-card-stars i { font-size: 16px; }

.review-card-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
  font-style: italic;
  position: relative;
  z-index: 1;
}

.review-card-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-dark) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 17px;
  font-family: var(--font-serif);
  flex-shrink: 0;
}

.review-author-info h4 {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 2px;
}

.review-author-info p {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 0;
}

.reviews-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  background: linear-gradient(135deg, var(--ocean-dark) 0%, var(--ocean) 100%);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.reviews-stats::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(231, 111, 81, 0.35), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

@media (min-width: 768px) {
  .reviews-stats { grid-template-columns: repeat(4, 1fr); }
}

.review-stat {
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 1;
}

.review-stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  line-height: 1;
}

.review-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: linear-gradient(180deg, #0A1628 0%, #050E1C 100%);
  color: rgba(255, 255, 255, 0.72);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ocean), transparent);
}

.footer-newsletter {
  padding: 56px 0;
  background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-dark) 100%);
  position: relative;
  overflow: hidden;
}

.footer-newsletter::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(231, 111, 81, 0.4), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.footer-newsletter::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -5%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.3), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.newsletter-text { max-width: 520px; }

.newsletter-text h3 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.newsletter-text h3 i { color: var(--gold); font-size: 24px; }

.newsletter-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  margin: 0;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex: 1;
  min-width: 280px;
  max-width: 520px;
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 20px;
  color: #fff;
  font-size: 15px;
  font-family: var(--font-sans);
}

.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.65); }

.newsletter-form input:focus { outline: none; }

.newsletter-form .btn {
  background: #fff;
  color: var(--ocean-dark);
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.newsletter-form .btn:hover {
  background: var(--gold-tint);
  color: var(--ocean-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.footer-main {
  padding: 72px 0 48px;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 640px) {
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .site-footer .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1fr 1.2fr; gap: 36px; }
}

.site-footer .footer-about { max-width: 360px; }

.site-footer .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  margin-bottom: 16px;
}

.site-footer .footer-logo:hover { color: var(--gold); }

.site-footer .footer-logo i {
  color: var(--coral);
  font-size: 26px;
}

.site-footer .footer-about p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social { display: flex; gap: 10px; }

.social-icon-footer {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
}

.social-icon-footer:hover {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(231, 111, 81, 0.4);
}

.site-footer .footer-col h4 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 12px;
}

.site-footer .footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
}

.site-footer .footer-col ul li {
  margin-bottom: 10px;
}

.site-footer .footer-col ul li a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.site-footer .footer-col ul li a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.5;
}

.footer-contact li i {
  color: var(--coral);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact li a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact li a:hover { color: var(--gold); }

.footer-bottom {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13.5px;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13.5px;
  transition: var(--transition);
}

.footer-bottom-links a:hover { color: var(--gold); }

/* ============================================================
   FILTERS BAR (Properties archive)
   ============================================================ */
.filters-bar {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  margin-bottom: 36px;
}

.filters-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 768px) {
  .filters-form { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}

@media (min-width: 1024px) {
  .filters-form { grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr auto; align-items: end; }
}

.filter-group {
  position: relative;
}

.filter-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ocean-dark);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.filter-group label i { color: var(--coral); font-size: 14px; }

.filter-group input,
.filter-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--text);
  background: #fff;
  transition: var(--transition);
  outline: none;
}

.filter-group input:focus,
.filter-group select:focus {
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.12);
}

.filter-btn { height: 50px; padding: 0 24px; }

.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.results-header p {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
}

.results-header p strong { color: var(--ocean-dark); font-weight: 700; }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  text-decoration: none;
}

.pagination a:hover {
  background: var(--ocean-tint);
  color: var(--ocean-dark);
  border-color: var(--ocean);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.pagination .current {
  background: linear-gradient(135deg, var(--ocean), var(--ocean-dark));
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

.pagination a i { font-size: 18px; }

/* No results / no properties */
.no-results,
.no-properties {
  text-align: center;
  padding: 64px 24px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border);
}

.no-results i,
.no-properties i {
  font-size: 64px;
  color: var(--ocean);
  margin-bottom: 16px;
  display: inline-block;
  opacity: 0.7;
}

.no-results h3,
.no-properties h3 {
  margin-bottom: 8px;
  color: var(--charcoal);
}

.no-results p,
.no-properties p {
  color: var(--text-secondary);
}

/* ============================================================
   PROPERTY SINGLE
   ============================================================ */
.property-hero {
  position: relative;
  width: 100%;
  height: 56vh;
  min-height: 380px;
  max-height: 600px;
  overflow: hidden;
  background: var(--bg-soft);
}

.property-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(3, 4, 94, 0.4) 100%);
}

.property-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 8px 0 0;
  position: relative;
}

@media (min-width: 768px) {
  .property-gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 120px;
    grid-template-areas:
      "a a b b"
      "a a c d";
    gap: 10px;
    margin-top: 10px;
  }
}

.property-gallery-grid .gallery-item {
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: var(--bg-soft);
  position: relative;
}

@media (min-width: 768px) {
  .property-gallery-grid .gallery-item:nth-child(1) { grid-area: a; }
  .property-gallery-grid .gallery-item:nth-child(2) { grid-area: b; }
  .property-gallery-grid .gallery-item:nth-child(3) { grid-area: c; }
  .property-gallery-grid .gallery-item:nth-child(4) { grid-area: d; }
}

.property-gallery-grid .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  aspect-ratio: 16 / 10;
}

.property-gallery-grid .gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-more-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery-more-btn:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: translateY(-2px);
}

.gallery-more-btn i { font-size: 16px; }

/* Property details layout */
.property-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding: 40px 0 72px;
  max-width: var(--max-width);
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .property-details {
    grid-template-columns: 1fr 380px;
    gap: 48px;
    padding: 48px 24px 96px;
  }
}

.property-info h1 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
  line-height: 1.15;
}

.property-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.property-meta .property-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-tint);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  color: var(--charcoal);
  font-size: 14px;
}

.property-meta .property-rating i {
  color: var(--gold);
  font-size: 16px;
}

.property-meta .property-location {
  font-size: 14.5px;
  color: var(--text-secondary);
  font-weight: 500;
}

.property-meta .property-location i { color: var(--coral); }

.property-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.feature {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-alt);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  color: var(--text-body);
  font-weight: 500;
}

.feature i {
  color: var(--ocean);
  font-size: 16px;
}

.property-description {
  margin: 32px 0;
  line-height: 1.75;
  color: var(--text-body);
  font-size: 15.5px;
}

.property-description h2,
.property-description h3 { margin: 24px 0 12px; color: var(--charcoal); }

.property-description p { margin-bottom: 14px; }

.property-description ul,
.property-description ol {
  margin: 12px 0 16px 20px;
  list-style: disc;
}

.property-description ol { list-style: decimal; }

.property-description li { margin-bottom: 6px; }

.property-amenities { margin: 32px 0; }

.property-amenities h3 {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ocean-tint);
  display: inline-block;
}

.amenities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 640px) {
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .amenities-grid { grid-template-columns: repeat(3, 1fr); }
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-body);
  font-weight: 500;
  transition: var(--transition);
}

.amenity-item:hover {
  background: var(--ocean-tint);
  color: var(--ocean-dark);
  transform: translateX(4px);
}

.amenity-item i {
  color: var(--ocean);
  font-size: 18px;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

.amenity-item:hover i { color: var(--coral); }

/* ============================================================
   BOOKING SIDEBAR
   ============================================================ */
.booking-sidebar {
  position: relative;
}

.booking-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

@media (min-width: 1024px) {
  .booking-card { padding: 30px 28px; }
}

.booking-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.booking-price .amount {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--coral);
  letter-spacing: -0.02em;
  line-height: 1;
}

.booking-price .period {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.booking-breakdown {
  background: var(--bg-alt);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.booking-breakdown span {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.booking-breakdown strong {
  color: var(--charcoal);
  font-weight: 700;
}

.booking-cleaning-fee {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  padding: 8px 12px;
  background: var(--gold-tint);
  border-radius: var(--radius-xs);
  text-align: center;
}

/* Guest stepper */
.guest-stepper {
  margin: 16px 0;
  padding: 16px;
  background: var(--bg-alt);
  border-radius: var(--radius);
}

.stepper-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.stepper-row:last-child { margin-bottom: 0; }

.stepper-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

.stepper-icon { font-size: 16px; }
.stepper-icon-adult { color: var(--ocean); }
.stepper-icon-child { color: var(--coral); }

.stepper-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stepper-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  line-height: 1;
  color: var(--text);
  font-weight: 600;
}

.stepper-btn:hover {
  background: var(--ocean);
  color: #fff;
  border-color: var(--ocean);
  transform: scale(1.08);
}

.stepper-value {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--charcoal);
  min-width: 24px;
  text-align: center;
}

.booking-note {
  text-align: center;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.booking-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.feature-badge {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 10px 6px;
  text-align: center;
  transition: var(--transition);
}

.feature-badge:hover {
  background: var(--ocean-tint);
  transform: translateY(-2px);
}

.feature-badge-num {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--ocean-dark);
  line-height: 1;
  margin-bottom: 4px;
}

.feature-badge-label {
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.feature-badge-label i { font-size: 12px; color: var(--coral); }

/* ============================================================
   REVIEWS SECTION (single property)
   ============================================================ */
.reviews-section {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 2px solid var(--ocean-tint);
}

.reviews-header h3 {
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.reviews-summary {
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--cream);
  padding: 24px;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.reviews-score {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--coral);
  line-height: 1;
}

.reviews-breakdown { flex: 1; min-width: 240px; }

.rating-bar {
  display: grid;
  grid-template-columns: 110px 1fr 40px;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--text-body);
}

.rating-bar .bar {
  height: 8px;
  background: var(--bg-soft);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.rating-bar .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--coral));
  border-radius: var(--radius-pill);
  transition: width 0.6s ease;
}

.reviews-list { display: flex; flex-direction: column; gap: 20px; }

.review-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--border-light);
}

.review-item:last-child { border-bottom: none; }

.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-dark) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  font-family: var(--font-serif);
  flex-shrink: 0;
}

.review-meta { flex: 1; }

.review-author {
  font-size: 15px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 2px;
}

.review-date {
  font-size: 12.5px;
  color: var(--text-muted);
}

.review-stars {
  display: inline-flex;
  gap: 1px;
  color: var(--gold);
}

.review-stars i { font-size: 14px; }

.review-content {
  color: var(--text-body);
  line-height: 1.7;
  font-size: 14.5px;
}

.no-reviews {
  text-align: center;
  padding: 32px;
  color: var(--text-muted);
  background: var(--bg-alt);
  border-radius: var(--radius);
}

/* Add review form */
.add-review {
  margin-top: 40px;
  padding: 28px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
}

.add-review h4 {
  margin-bottom: 18px;
  font-size: 1.3rem;
}

.review-form .form-group { margin-bottom: 16px; }

.review-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.review-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-sans);
  resize: vertical;
  min-height: 100px;
  transition: var(--transition);
  outline: none;
}

.review-form textarea:focus {
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.12);
}

.rating-input {
  display: inline-flex;
  gap: 4px;
  font-size: 24px;
  color: var(--gold);
}

.rating-input i {
  cursor: pointer;
  transition: var(--transition);
}

.rating-input i:hover { transform: scale(1.2); }

/* ============================================================
   GALLERY MODAL
   ============================================================ */
.gallery-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(3, 4, 94, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.gallery-modal.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.gallery-modal-content {
  max-width: 90vw;
  max-height: 88vh;
  position: relative;
}

.gallery-modal-content img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  object-fit: contain;
}

.gallery-modal-close,
.gallery-modal-prev,
.gallery-modal-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 22px;
}

.gallery-modal-close {
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  font-size: 28px;
  line-height: 1;
}

.gallery-modal-prev,
.gallery-modal-next {
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  font-size: 32px;
}

.gallery-modal-prev { left: 24px; }
.gallery-modal-next { right: 24px; }

.gallery-modal-close:hover,
.gallery-modal-prev:hover,
.gallery-modal-next:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.06);
}

.gallery-modal-close:hover { transform: scale(1.06); }

.gallery-modal-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.5);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}

/* ============================================================
   FAVORITES PANEL
   ============================================================ */
.favorites-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background: #fff;
  box-shadow: var(--shadow-xl);
  z-index: 1002;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.favorites-panel.is-open { transform: translateX(0); }

.favorites-panel-header {
  padding: 22px 24px;
  background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-dark) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.favorites-panel-header h3 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.favorites-panel-header h3 i { color: var(--coral); }

.favorites-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.favorites-close:hover { background: rgba(255, 255, 255, 0.18); }

.favorites-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
}

.favorites-panel-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  align-items: center;
}

.favorites-panel-item:hover { background: var(--bg-alt); }

.favorites-panel-img {
  width: 72px;
  height: 56px;
  border-radius: var(--radius-xs);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-soft);
}

.favorites-panel-img img {
  width: 100%; height: 100%; object-fit: cover;
}

.favorites-panel-info { flex: 1; min-width: 0; }

.favorites-panel-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.favorites-panel-price {
  font-size: 13px;
  color: var(--coral);
  font-weight: 600;
}

.favorites-panel-remove {
  background: transparent;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--text-muted);
}

.favorites-panel-remove:hover {
  background: var(--coral-tint);
  color: var(--coral);
}

.favorites-panel-actions {
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 10px;
}

/* ============================================================
   NOTIFICATIONS (toast)
   ============================================================ */
.lv-notification {
  position: fixed;
  top: 88px;
  right: 24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1003;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 360px;
  border-left: 4px solid var(--ocean);
}

.lv-notification.is-visible { transform: translateX(0); }

.lv-notification--success { border-left-color: var(--coral); }
.lv-notification--error { border-left-color: #DC2626; }
.lv-notification--info { border-left-color: var(--ocean); }

.lv-notification i { font-size: 22px; color: var(--ocean); }
.lv-notification--success i { color: var(--coral); }
.lv-notification--error i { color: #DC2626; }

.notification-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 18px;
  padding: 0;
  margin-left: auto;
}

.notification-close:hover { color: var(--text); }

/* ============================================================
   GENERIC FORM STYLES
   ============================================================ */
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group .required { color: var(--coral); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-family: var(--font-sans);
  color: var(--text);
  background: #fff;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.12);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-body);
  cursor: pointer;
  margin-bottom: 12px;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--ocean);
}

/* ============================================================
   404 / SEARCH RESULTS
   ============================================================ */
.error-page,
.search-results {
  padding: 80px 0;
  text-align: center;
}

.error-code {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--ocean), var(--coral));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 16px;
}

.error-content h1 { margin-bottom: 12px; }

.error-content p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.search-result {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 16px;
  transition: var(--transition);
}

.search-result:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--ocean-mist);
}

.result-image {
  width: 180px;
  height: 140px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-soft);
}

.result-image img { width: 100%; height: 100%; object-fit: cover; }

.result-content h2 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.result-content h2 a { color: var(--charcoal); }

.result-content h2 a:hover { color: var(--ocean); }

.result-excerpt {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.result-type {
  display: inline-block;
  background: var(--ocean-tint);
  color: var(--ocean-dark);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* ============================================================
   PAGE / BLOG / LEGAL CONTENT
   ============================================================ */
.page-content {
  padding: 48px 0 80px;
}

.page-content .entry-content { max-width: 760px; margin: 0 auto; }

.page-content .entry-content h2,
.page-content .entry-content h3 { margin: 32px 0 16px; }

.page-content .entry-content p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 16px;
  color: var(--text-body);
}

.page-content .entry-content ul,
.page-content .entry-content ol { margin: 16px 0 16px 24px; }

.page-content .entry-content ul { list-style: disc; }
.page-content .entry-content ol { list-style: decimal; }

.page-content .entry-content li { margin-bottom: 8px; color: var(--text-body); }

.page-featured-image,
.post-featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: var(--shadow-md);
}

.page-featured-image img,
.post-featured-image img {
  width: 100%; height: auto; display: block;
}

/* Legal content */
.legal-content { padding: 64px 0 96px; }

.legal-content .entry-content {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.legal-content .entry-content h2 {
  font-size: 1.6rem;
  margin: 28px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ocean-tint);
}

.legal-content .entry-content h3 { font-size: 1.25rem; margin: 22px 0 10px; }

.legal-content .entry-content p {
  margin-bottom: 14px;
  color: var(--text-body);
  line-height: 1.75;
}

.legal-content .entry-content ul,
.legal-content .entry-content ol { margin: 12px 0 16px 24px; }

.legal-content .entry-content ul { list-style: disc; }
.legal-content .entry-content ol { list-style: decimal; }

.legal-content .entry-content li { margin-bottom: 8px; color: var(--text-body); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.page-hero {
  padding: 120px 0 64px;
  background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-dark) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1582719508461-905c673771fd?w=1600&q=80') center/cover no-repeat;
  opacity: 0.15;
  mix-blend-mode: overlay;
}

.page-hero-sm {
  padding: 96px 0 56px;
  background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-dark) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-hero-sm::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1600&q=80') center/cover no-repeat;
  opacity: 0.1;
  mix-blend-mode: overlay;
}

.page-hero-content { position: relative; z-index: 1; }

.page-hero h1 { color: #fff; margin-bottom: 12px; }

.page-hero p { color: rgba(255, 255, 255, 0.85); font-size: 1.1rem; max-width: 640px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 80px 0;
}

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 56px; }
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.contact-info > p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-cards {
  display: grid;
  gap: 14px;
  margin-bottom: 32px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--ocean-mist);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--ocean), var(--ocean-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.contact-card-content h3 {
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.contact-card-content p {
  margin: 0;
  font-size: 15px;
  color: var(--charcoal);
  font-weight: 600;
}

.contact-card-content a { color: var(--charcoal); }
.contact-card-content a:hover { color: var(--ocean); }

.social-links h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.social-icons { display: flex; gap: 10px; }

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ocean);
  transition: var(--transition);
}

.social-icon:hover {
  background: linear-gradient(135deg, var(--ocean), var(--ocean-dark));
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.contact-form-wrap {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.contact-form-wrap h2 {
  font-size: 1.6rem;
  margin-bottom: 24px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px 26px;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

.faq-item:hover {
  border-color: var(--ocean-mist);
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin: 0;
}

.faq-item h3 i {
  color: var(--coral);
  font-size: 20px;
  transition: var(--transition);
}

.faq-item h3:hover i { transform: rotate(90deg); }

.faq-item p {
  margin-top: 14px;
  color: var(--text-body);
  line-height: 1.7;
  font-size: 14.5px;
}

/* ============================================================
   BLOG — Hero, breadcrumbs, listing, single article
   ============================================================ */
.blog-hero {
  padding: 96px 0 32px;
  background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-dark) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1600&q=80') center/cover no-repeat;
  opacity: 0.12;
  mix-blend-mode: overlay;
}

.blog-hero h1 {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.blog-hero h1 i { color: var(--gold); }

.blog-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}

.blog-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.blog-breadcrumbs a {
  color: rgba(255, 255, 255, 0.95);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.blog-breadcrumbs a:hover { color: var(--gold); }
.blog-breadcrumbs i { font-size: 14px; opacity: 0.6; }

.blog-listing-section { padding: 64px 0 96px; }

.blog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 1024px) {
  .blog-layout { grid-template-columns: 1fr 320px; gap: 48px; }
}

.blog-main { min-width: 0; }

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 640px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

.blog-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition-slow);
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--ocean-mist);
}

.blog-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.blog-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image img { transform: scale(1.06); }

.blog-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-dark) 100%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 48px;
}

.blog-card-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ocean-dark);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  backdrop-filter: blur(6px);
}

.blog-card-content { padding: 20px 22px 22px; }

.blog-card-meta {
  display: flex;
  gap: 14px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.blog-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blog-card-meta i { color: var(--ocean); font-size: 14px; }

.blog-card-content h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  line-height: 1.3;
}

.blog-card-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.blog-card-readmore {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ocean);
  transition: var(--transition);
}

.blog-card-readmore i { transition: transform 0.3s ease; }
.blog-card:hover .blog-card-readmore { color: var(--coral); }
.blog-card:hover .blog-card-readmore i { transform: translateX(4px); }

.blog-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.blog-pagination .nav-links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  text-decoration: none;
}

.blog-pagination .page-numbers:hover {
  background: var(--ocean-tint);
  color: var(--ocean-dark);
  border-color: var(--ocean);
}

.blog-pagination .page-numbers.current {
  background: linear-gradient(135deg, var(--ocean), var(--ocean-dark));
  color: #fff;
  border-color: transparent;
}

.blog-empty {
  text-align: center;
  padding: 64px 24px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border);
}

.blog-empty i {
  font-size: 56px;
  color: var(--ocean);
  margin-bottom: 14px;
  display: inline-block;
  opacity: 0.6;
}

.blog-empty h3 { margin-bottom: 8px; }
.blog-empty p { color: var(--text-secondary); }

/* Blog sidebar */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 22px 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
}

.sidebar-widget h4 {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--charcoal);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ocean-tint);
}

.sidebar-widget h4 i { color: var(--coral); font-size: 16px; }

.sidebar-widget .search-form {
  display: flex;
  gap: 6px;
  background: transparent;
  box-shadow: none;
  padding: 0;
  border: none;
  border-radius: 0;
}

.sidebar-widget .search-field {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  background: #fff;
  border-right: 1.5px solid var(--border);
}

.sidebar-widget .search-field input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  font-family: var(--font-sans);
  padding: 0;
}

.sidebar-categories li { margin-bottom: 6px; }

.sidebar-categories li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  color: var(--text-body);
  font-size: 14px;
  transition: var(--transition);
}

.sidebar-categories li a:hover {
  background: var(--ocean-tint);
  color: var(--ocean-dark);
  transform: translateX(4px);
}

.cat-count {
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.sidebar-categories li a:hover .cat-count {
  background: var(--ocean);
  color: #fff;
}

.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sidebar-tag {
  display: inline-block;
  padding: 6px 12px;
  background: var(--bg-alt);
  color: var(--text-body);
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
}

.sidebar-tag:hover {
  background: var(--ocean);
  color: #fff;
  transform: translateY(-2px);
}

.sidebar-cta {
  background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-dark) 100%);
  color: #fff;
  border: none;
  position: relative;
  overflow: hidden;
}

.sidebar-cta::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(231, 111, 81, 0.4), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.sidebar-cta-inner { position: relative; z-index: 1; }

.sidebar-cta-inner i {
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 10px;
  display: inline-block;
}

.sidebar-cta-inner h4 {
  color: #fff;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 8px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  text-transform: none;
  letter-spacing: 0;
}

.sidebar-cta-inner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
  margin-bottom: 14px;
  line-height: 1.6;
}

/* ============================================================
   BLOG SINGLE ARTICLE
   ============================================================ */
.blog-single-article { padding-bottom: 80px; }

.article-header {
  padding: 40px 0 32px;
  background: linear-gradient(180deg, var(--bg-alt) 0%, transparent 100%);
}

.article-meta-top {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.article-categories {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.article-categories a {
  background: var(--ocean-tint);
  color: var(--ocean-dark);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  text-decoration: none;
  transition: var(--transition);
}

.article-categories a:hover {
  background: var(--ocean);
  color: #fff;
}

.article-reading-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--text-muted);
}

.article-reading-time i { color: var(--coral); font-size: 15px; }

.article-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 24px;
  line-height: 1.18;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.article-author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ocean-mist);
}

.article-author-name {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--charcoal);
}

.article-date {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.article-date i { font-size: 13px; }

.article-share-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.article-share-inline a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--ocean);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: var(--transition);
}

.article-share-inline a:hover {
  background: var(--ocean);
  color: #fff;
  transform: translateY(-2px);
}

.article-featured-image { margin: 32px 0; }

.article-hero-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: block;
}

.article-body { padding: 16px 0 0; }

.article-content {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--text-body);
}

.article-content h2,
.article-content h3 {
  margin: 32px 0 14px;
  color: var(--charcoal);
}

.article-content h2 { font-size: 1.75rem; }
.article-content h3 { font-size: 1.35rem; }

.article-content p { margin-bottom: 18px; }

.article-content img {
  border-radius: var(--radius);
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}

.article-content blockquote {
  border-left: 4px solid var(--coral);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--cream);
  border-radius: var(--radius-sm);
  font-style: italic;
  color: var(--text);
}

.article-content ul,
.article-content ol { margin: 16px 0 16px 24px; }

.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }

.article-content li { margin-bottom: 8px; }

.article-content a {
  color: var(--ocean);
  text-decoration: underline;
  text-decoration-color: var(--ocean-mist);
  text-underline-offset: 3px;
  transition: var(--transition);
}

.article-content a:hover { color: var(--coral); text-decoration-color: var(--coral); }

.article-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 20px 0;
  margin-top: 32px;
  border-top: 1px solid var(--border-light);
}

.article-tags i { color: var(--coral); font-size: 18px; }

.article-tags a {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-alt);
  color: var(--text-body);
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  text-decoration: none;
  transition: var(--transition);
}

.article-tags a:hover {
  background: var(--ocean);
  color: #fff;
}

.page-links {
  margin: 24px 0;
  padding: 16px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
}

.page-links a {
  padding: 4px 10px;
  background: #fff;
  border-radius: var(--radius-xs);
  color: var(--ocean);
  text-decoration: none;
  border: 1px solid var(--border);
}

.page-links a:hover { background: var(--ocean); color: #fff; }

.article-share-box {
  margin: 32px 0;
  padding: 24px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--bg-alt) 100%);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.article-share-box h4 {
  font-family: var(--font-sans);
  font-size: 15px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--charcoal);
}

.article-share-box h4 i { color: var(--coral); }

.share-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

.share-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: #fff; }

.share-facebook { background: #1877f2; }
.share-twitter { background: #0f1419; }
.share-whatsapp { background: #25d366; }
.share-linkedin { background: #0a66c2; }
.share-email { background: var(--text-secondary); }

/* Author bio */
.author-bio-box {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  margin: 32px 0;
}

.author-bio-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--ocean-mist);
  flex-shrink: 0;
}

.author-bio-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 700;
  margin-bottom: 4px;
}

.author-bio-content h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.author-bio-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Post navigation */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 32px 0;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

@media (min-width: 640px) {
  .post-navigation { grid-template-columns: 1fr 1fr; }
}

.post-navigation a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  color: var(--text-body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.post-navigation a:hover {
  background: var(--ocean-tint);
  color: var(--ocean-dark);
  transform: translateY(-2px);
}

.post-navigation .nav-next { justify-content: flex-end; text-align: right; }
.post-navigation .nav-previous { justify-content: flex-start; }
.post-navigation a i { font-size: 18px; color: var(--coral); }

/* Related posts */
.related-posts { margin-top: 40px; }

.related-posts h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.related-posts h3 i { color: var(--coral); }

.related-posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .related-posts-grid { grid-template-columns: repeat(3, 1fr); }
}

.related-post-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.related-post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: inherit;
}

.related-post-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}

.related-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.related-post-card:hover .related-post-image img { transform: scale(1.06); }

.related-post-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ocean) 0%, var(--ocean-dark) 100%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 36px;
}

.related-post-content { padding: 16px 18px 18px; }

.related-post-date {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.related-post-content h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--charcoal);
  margin: 0;
}

/* ============================================================
   AUTOCOMPLETE (alternative search form on index.php)
   ============================================================ */
.search-field-destination { position: relative; }

.autocomplete-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.autocomplete-wrap > i {
  position: absolute;
  left: 12px;
  color: var(--coral);
  font-size: 16px;
  pointer-events: none;
}

.autocomplete-wrap input {
  width: 100%;
  padding: 12px 14px 12px 36px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-family: var(--font-sans);
  background: #fff;
  transition: var(--transition);
  outline: none;
}

.autocomplete-wrap input:focus {
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.12);
}

.autocomplete-suggestions {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  z-index: 9999;
  max-height: 280px;
  overflow-y: auto;
  list-style: none;
}

.autocomplete-suggestions.active { display: block; }

.autocomplete-suggestions li {
  padding: 10px 12px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  font-size: 14px;
  color: var(--text-body);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.autocomplete-suggestions li:hover,
.autocomplete-suggestions li.selected {
  background: var(--ocean-tint);
  color: var(--ocean-dark);
}

.autocomplete-suggestions li .count {
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.date-input-wrap,
.select-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.date-input-wrap > i,
.select-wrap > i {
  position: absolute;
  left: 12px;
  color: var(--coral);
  font-size: 16px;
  pointer-events: none;
  z-index: 1;
}

.date-input-wrap input,
.select-wrap select {
  width: 100%;
  padding: 12px 14px 12px 36px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-family: var(--font-sans);
  background: #fff;
  transition: var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.date-input-wrap input:focus,
.select-wrap select:focus {
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.12);
}

/* ============================================================
   CONTACT PAGE — booking summary card
   ============================================================ */
.booking-summary-card {
  background: linear-gradient(135deg, var(--ocean-tint) 0%, var(--cream) 100%);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-top: 20px;
  border: 1px solid var(--ocean-mist);
}

.summary-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-body);
  flex-wrap: wrap;
}

.summary-item i {
  color: var(--ocean);
  font-size: 16px;
}

.summary-item strong {
  color: var(--charcoal);
  font-weight: 700;
  margin-right: 4px;
}

/* ============================================================
   OLDER SINGLE-PROPERTY TEMPLATE (single-property.php)
   ============================================================ */
.property-gallery {
  position: relative;
  margin: 16px 0;
}

.gallery-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.gallery-btn:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: translateY(-2px);
}

.gallery-btn i { font-size: 16px; }

/* ============================================================
   RESPONSIVE — Mobile-first refinements
   ============================================================ */
@media (max-width: 1024px) {
  .header-actions .btn-text { display: none; }
  .header-actions .btn { padding: 10px 14px; }
  .lang-switcher { display: none; }
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-flex;
  }

  /* On mobile, hide the secondary explore/contact buttons (they're in the drawer's nav-menu).
     Keep only the favorites icon button in the top bar. */
  .header-actions .btn-secondary,
  .header-actions .btn-primary { display: none; }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 86%;
    max-width: 360px;
    background: #fff;
    box-shadow: var(--shadow-xl);
    padding: 80px 24px 32px;
    flex-direction: column;
    align-items: stretch;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    z-index: 999;
  }

  .main-nav.is-open { transform: translateX(0); }

  .nav-menu {
    flex-direction: column;
    gap: 4px;
    width: 100%;
  }

  .nav-menu > li > a {
    padding: 14px 16px;
    font-size: 16px;
    border-radius: var(--radius-sm);
    width: 100%;
  }

  .nav-menu > li > a::after { display: none; }

  .mega-menu {
    position: static;
    transform: none;
    display: none;
    box-shadow: none;
    border: 1px solid var(--border-light);
    margin-top: 8px;
    min-width: 0;
    padding: 16px;
    border-radius: var(--radius);
    background: var(--bg-alt);
  }

  .mega-menu-wrap.is-open > .mega-menu { display: block; }

  .mega-menu-inner { grid-template-columns: 1fr; gap: 16px; }
  .mega-featured { display: none; }
  .mega-menu-footer { text-align: left; }

  /* On mobile, header-actions keeps only the favorites-toggle icon button visible.
     Explore/Contact CTAs are reachable via the nav-menu links (Properties, Contact). */
  .header-actions {
    gap: 6px;
  }
  .header-actions .btn-secondary,
  .header-actions .btn-primary { display: none; }
  .header-actions .btn-text { display: none; }
  .lang-switcher { display: none; }

  body.menu-open .main-nav { transform: translateX(0); }
}

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

  .hero {
    min-height: 80vh;
    padding: 100px 20px 80px;
  }

  .search-form {
    padding: 14px;
    gap: 8px;
  }

  .search-field {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding: 8px 12px;
  }

  .search-field:last-of-type { border-bottom: none; }

  .search-btn { width: 100%; height: 52px; }

  .filters-bar { padding: 14px; }
  .filter-btn { width: 100%; }

  .property-card { box-shadow: var(--shadow-sm); }
  .property-content { padding: 18px 18px 20px; }

  .booking-card {
    position: static;
    padding: 22px 20px;
  }

  .property-hero { height: 44vh; min-height: 280px; }

  .footer-main { padding: 56px 0 32px; }
  .footer-newsletter { padding: 40px 0; }

  .newsletter-inner { flex-direction: column; align-items: stretch; }
  .newsletter-form { max-width: 100%; }

  .reviews-stats { padding: 28px 18px; }
  .review-stat-number { font-size: 1.9rem; }

  .property-details { padding: 24px 0 56px; }
  .property-info h1 { font-size: 1.8rem; }

  .gallery-modal { padding: 16px; }
  .gallery-modal-prev,
  .gallery-modal-next { width: 44px; height: 44px; font-size: 26px; }
  .gallery-modal-prev { left: 8px; }
  .gallery-modal-next { right: 8px; }
  .gallery-modal-close { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 22px; }

  .lv-notification {
    top: auto;
    bottom: 24px;
    right: 12px;
    left: 12px;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .header-inner { padding: 0 18px; }

  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }

  .properties-grid,
  .locations-grid,
  .reviews-grid,
  .features-grid { gap: 16px; }

  .property-features { gap: 6px 10px; }

  .review-card { padding: 24px 20px; }
  .review-card::before { font-size: 32px; top: 16px; right: 18px; }

  .footer-bottom-inner { justify-content: center; text-align: center; }

  .booking-features-grid { grid-template-columns: repeat(2, 1fr); }

  .error-actions { flex-direction: column; }
  .error-actions .btn { width: 100%; }
}

/* ============================================================
   UTILITY ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.6; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Print styles */
@media print {
  .site-header, .site-footer, .booking-sidebar, .property-favorite,
  .filters-bar, .pagination, .hero-scroll-cue, .menu-toggle { display: none !important; }
  body { color: #000; background: #fff; }
  .property-card { box-shadow: none; border: 1px solid #ccc; }
}

/* WordPress core alignment classes */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.alignwide { max-width: 100%; }
.alignfull { max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }

.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--text-muted); font-style: italic; margin-top: 6px; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Sticky header offset for anchored sections */
:target { scroll-margin-top: 100px; }
