/* ==========================================
   Lokacia.com - Design based on ViaTour ref
   Unique brand, same quality level
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif; color: #051036; background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; transition: 0.2s; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; border: none; outline: none; background: none; }
button { cursor: pointer; }

:root {
  --accent: #1a51f6;
  --accent-hover: #1442cc;
  --accent-light: #EBF0FE;
  --accent-05: rgba(26,81,246,0.05);
  --dark-1: #051036;
  --dark-2: #0D2857;
  --text: #334155;
  --light-1: #697488;
  --light-2: #94A3B8;
  --border: #E2E8F0;
  --bg-1: #F8FAFC;
  --bg-2: #F1F5F9;
  --white: #fff;
  --green: #059669;
  --green-bg: #ECFDF5;
  --yellow: #D97706;
  --yellow-bg: #FFFBEB;
  --red: #DC2626;
  --red-bg: #FEF2F2;
  --star: #F59E0B;
  /* body bg shorthand */
  --body-bg: #fff;
  --card-bg: #fff;
}

/* Dark mode — triggered by [data-theme="dark"] or system preference */
[data-theme="dark"],
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --dark-1: #E8EDF5;
  --dark-2: #C8D4E8;
  --text: #CBD5E1;
  --light-1: #8892A0;
  --light-2: #60686F;
  --border: #2A3444;
  --bg-1: #111827;
  --bg-2: #1E2737;
  --body-bg: #0D1420;
  --card-bg: #16213A;
  --white: #16213A;
  --accent-light: rgba(26,81,246,0.18);
  --accent-05: rgba(26,81,246,0.08);
  --green-bg: #052e16;
  --yellow-bg: #1c1500;
  --red-bg: #1f0606;
}}
[data-theme="dark"] {
  --dark-1: #E8EDF5;
  --dark-2: #C8D4E8;
  --text: #CBD5E1;
  --light-1: #8892A0;
  --light-2: #60686F;
  --border: #2A3444;
  --bg-1: #111827;
  --bg-2: #1E2737;
  --body-bg: #0D1420;
  --card-bg: #16213A;
  --white: #16213A;
  --accent-light: rgba(26,81,246,0.18);
  --accent-05: rgba(26,81,246,0.08);
  --green-bg: #052e16;
  --yellow-bg: #1c1500;
  --red-bg: #1f0606;
}

/* Apply dark body bg */
body { background: var(--body-bg, #fff); }
[data-theme="dark"] body, [data-theme="dark"] .header--solid,
[data-theme="dark"] .nav { background-color: var(--body-bg) !important; color: var(--text); }
[data-theme="dark"] .placeCard,
[data-theme="dark"] .sidebar-block,
[data-theme="dark"] .modal-content { background: var(--card-bg); border-color: var(--border); }
[data-theme="dark"] input, [data-theme="dark"] textarea, [data-theme="dark"] select { background: var(--bg-2); border-color: var(--border); color: var(--text); }
[data-theme="dark"] .btn-outline { border-color: var(--border); color: var(--text); }
[data-theme="dark"] .btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* === TYPOGRAPHY (matches ref text-14, text-18, text-30 etc) === */
h1 { font-size: 44px; font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
h2 { font-size: 30px; font-weight: 700; line-height: 1.2; }
h3 { font-size: 24px; font-weight: 600; }
h4 { font-size: 18px; font-weight: 500; }
.text-30 { font-size: 30px; } .text-20 { font-size: 20px; } .text-18 { font-size: 18px; }
.text-16 { font-size: 16px; } .text-14 { font-size: 14px; } .text-13 { font-size: 13px; }
.fw-500 { font-weight: 500; } .fw-600 { font-weight: 600; } .fw-700 { font-weight: 700; }
.lh-13 { line-height: 1.3; } .lh-15 { line-height: 1.5; }
.text-accent { color: var(--accent); } .text-light { color: var(--light-1); }
.text-white { color: #fff; } .text-dark { color: var(--dark-1); }
.text-center { text-align: center; } .text-right { text-align: right; }
/* Auto-translated content badge */
.auto-translated-badge { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; color: var(--light-2); background: var(--bg-1); border: 1px solid var(--border); border-radius: 4px; padding: 2px 7px; margin-left: 4px; white-space: nowrap; vertical-align: middle; line-height: 1.4; cursor: default; }

/* === LAYOUT (ref uses container ~1200px, layout-pt-xl ~120px) === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 30px; }
.section { padding: 60px 0; }
.section-xl { padding: 80px 0; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.row > * { padding: 0 15px; }
.col-auto { flex: 0 0 auto; width: auto; }
.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-2 { flex: 0 0 16.666%; max-width: 16.666%; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.flex { display: flex; } .flex-center { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-5 { gap: 5px; } .gap-8 { gap: 8px; } .gap-10 { gap: 10px; }
.gap-15 { gap: 15px; } .gap-20 { gap: 20px; } .gap-30 { gap: 30px; }
.items-center { align-items: center; } .justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

/* === SPACING (ref uses mt-10, mt-20, mt-30, pt-40 etc) === */
.mt-5 { margin-top: 5px; } .mt-10 { margin-top: 10px; } .mt-15 { margin-top: 15px; }
.mt-20 { margin-top: 20px; } .mt-30 { margin-top: 30px; } .mt-40 { margin-top: 40px; }
.mb-10 { margin-bottom: 10px; } .mb-20 { margin-bottom: 20px; } .mb-24 { margin-bottom: 24px; } .mb-30 { margin-bottom: 30px; } .mb-40 { margin-bottom: 40px; }
.ml-10 { margin-left: 10px; } .ml-20 { margin-left: 20px; }
.pt-20 { padding-top: 20px; } .pt-30 { padding-top: 30px; } .pt-40 { padding-top: 40px; }
.px-20 { padding: 0 20px; } .px-40 { padding: 0 40px; }
.py-20 { padding: 20px 0; } .py-40 { padding: 40px 0; } .py-50 { padding: 50px 0; }
.hidden { display: none !important; }

/* === BUTTONS (ref: button -md -outline-white, button -dark-1 bg-accent-1) === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 500; transition: all 0.2s; white-space: nowrap; cursor: pointer; }
.btn-md { padding: 12px 24px; font-size: 14px; border-radius: 8px; }
.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: 12px; }
.btn-primary { background: var(--accent); color: #fff; padding: 12px 24px; font-size: 14px; border-radius: 8px; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(26,81,246,0.25); }
.btn-outline { border: 1px solid var(--border); color: var(--text); background: #fff; padding: 12px 24px; font-size: 14px; border-radius: 8px; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline-white { border: 1px solid rgba(255,255,255,0.5); color: #fff; padding: 12px 24px; font-size: 14px; border-radius: 200px; }
.btn-outline-white:hover { background: #fff; color: var(--dark-1); }
.btn-dark { background: var(--dark-1); color: #fff; padding: 12px 24px; font-size: 14px; border-radius: 8px; }

/* === HEADER: styles moved to header.php inline for transparency logic === */
main { padding-top: 80px; } /* offset for fixed header */
body.page-home main { padding-top: 0; } /* hero handles its own spacing on home */

/* === HERO (ref: full-screen bg image with dark overlay, text left-aligned) === */
.hero { position: relative; min-height: 600px; display: flex; align-items: center; overflow: hidden; border-radius: 24px; margin: 30px; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #051036 0%, #0F2167 40%, #1a51f6 100%); border-radius: 24px; }
.hero-bg::after { content: ''; position: absolute; inset: 0; border-radius: 24px; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 600px; }
.hero-subtitle { font-size: 18px; font-weight: 500; color: rgba(255,255,255,0.8); margin-bottom: 10px; }
.hero h1 { color: #fff; font-size: 50px; line-height: 1.1; margin-bottom: 20px; }
.hero-text { font-size: 16px; color: rgba(255,255,255,0.7); line-height: 1.7; }
.hero-btn { margin-top: 30px; }

/* === HERO SEARCH (Google-style) === */
.hero-search-wrap {
    max-width: 600px; margin: 36px auto 0;
    background: #fff; border-radius: 28px;
    padding: 6px 20px; display: flex; align-items: center; gap: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12), 0 1px 3px rgba(0,0,0,0.08);
    cursor: text; transition: box-shadow 0.2s;
}
.hero-search-wrap:hover, .hero-search-wrap:focus-within {
    box-shadow: 0 6px 32px rgba(0,0,0,0.18), 0 2px 6px rgba(0,0,0,0.1);
}
.hero-search-wrap input {
    border: none; outline: none; background: none;
    flex: 1; padding: 12px 0; font-size: 16px;
    color: var(--dark-1); font-family: inherit;
}
.hero-search-wrap input::placeholder { color: var(--light-2); }

/* Hero category chips */
.hero-chips {
    display: flex; align-items: center; justify-content: center;
    gap: 6px; margin-top: 20px; flex-wrap: wrap;
}
.hero-chip {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 8px 16px; border-radius: 200px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.85); font-size: 13px; font-weight: 500;
    cursor: pointer; transition: 0.2s; backdrop-filter: blur(4px);
    font-family: inherit;
}
.hero-chip:hover { background: rgba(255,255,255,0.22); color: #fff; border-color: rgba(255,255,255,0.4); }
.hero-chip.active { background: #fff; color: var(--accent); border-color: #fff; font-weight: 600; }
.hero-chip.active svg { stroke: var(--accent); }
.hero-chip svg { flex-shrink: 0; opacity: 0.7; }
.hero-chip.active svg { opacity: 1; }
.hero-chip-divider { width: 1px; height: 20px; background: rgba(255,255,255,0.2); margin: 0 4px; }

/* Legacy search-box (used on search results page) */
.search-box { max-width: 680px; background: #fff; border-radius: 16px; padding: 8px; display: flex; align-items: center; box-shadow: 0 20px 40px rgba(0,0,0,0.15); margin-top: 40px; }
.search-box input { border: none; padding: 14px 14px 14px 46px; font-size: 15px; flex: 1; border-radius: 12px; color: var(--dark-1); background: transparent; }
.search-box input::placeholder { color: var(--light-2); }
.search-box .search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; stroke: var(--light-2); fill: none; stroke-width: 2; }
.search-box select { border: none; border-left: 1px solid var(--border); padding: 14px 36px 14px 16px; font-size: 14px; color: var(--text); min-width: 140px; background: transparent; }
.search-box .btn { border-radius: 12px; }

/* === SECTION HEADERS (ref: "Trending destinations" + "See all" arrow) === */
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.section-sub { color: var(--light-1); font-size: 16px; margin-top: 5px; }
.btn-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--dark-1); }
.btn-arrow:hover { color: var(--accent); }
.btn-arrow svg { width: 16px; height: 16px; transition: transform 0.2s; }
.btn-arrow:hover svg { transform: translate(3px, -3px); }

/* === FEATURE CARD type-9 (ref: round image + text, horizontal) === */
.featureCard { display: flex; align-items: center; gap: 20px; padding: 15px; border-radius: 12px; transition: 0.3s; }
.featureCard:hover { background: var(--bg-1); }
.featureCard-image { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--accent-light); display: flex; align-items: center; justify-content: center; }
.featureCard-image img { width: 100%; height: 100%; object-fit: cover; }
.featureCard-image svg { width: 32px; height: 32px; stroke: var(--accent); fill: none; stroke-width: 1.5; }
.featureCard-title { font-size: 18px; font-weight: 500; }
.featureCard-sub { font-size: 14px; color: var(--light-1); margin-top: 5px; line-height: 1.3; }

/* === TOUR CARD (ref: image with dark overlay, white text, rating, price) === */
.tourCard { position: relative; border-radius: 12px; overflow: hidden; transition: 0.3s; }
.tourCard:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.12); }
.tourCard-image { position: relative; aspect-ratio: 41/45; overflow: hidden; }
.tourCard-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.tourCard:hover .tourCard-image img { transform: scale(1.08); }
.tourCard-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%); }
.tourCard-wrap { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; z-index: 1; }
.tourCard-header { display: flex; justify-content: space-between; align-items: center; }
.tourCard-duration { display: flex; align-items: center; gap: 5px; font-size: 13px; color: #fff; }
.tourCard-duration svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 1.5; }
.tourCard-fav { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.tourCard-fav svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; }
.tourCard-content { display: flex; justify-content: space-between; align-items: flex-end; }
.tourCard-location { display: flex; align-items: center; gap: 5px; font-size: 13px; color: #fff; }
.tourCard-location svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 1.5; }
.tourCard-title { font-size: 18px; font-weight: 500; color: #fff; margin-top: 5px; line-height: 1.3; }
.tourCard-rating { font-size: 13px; color: #fff; margin-top: 5px; }
.tourCard-price { text-align: right; color: #fff; }
.tourCard-price-label { font-size: 13px; line-height: 1.4; }
.tourCard-price-value { font-size: 18px; font-weight: 500; }

/* === PLACE CARD (list style, ref: tourCard -type-1 with border) === */
.placeCard { display: block; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; transition: 0.3s; }
.placeCard:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.08); transform: translateY(-2px); }
.placeCard-image { position: relative; aspect-ratio: 28/20; overflow: hidden; }
.placeCard-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.placeCard:hover .placeCard-image img { transform: scale(1.05); }
.placeCard-fav { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.85); display: flex; align-items: center; justify-content: center; z-index: 2; cursor: pointer; transition: 0.2s; }
.placeCard-fav:hover { background: #fff; transform: scale(1.1); }
.placeCard-fav svg { width: 16px; height: 16px; stroke: var(--dark-1); fill: none; stroke-width: 2; }
.placeCard-body { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 6px; }
.placeCard-location { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--light-1); }
.placeCard-location svg { width: 14px; height: 14px; stroke: var(--light-1); fill: none; stroke-width: 1.5; flex-shrink: 0; }
.placeCard-title { font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--dark-1); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.placeCard-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.placeCard-stars { color: var(--star); font-size: 13px; letter-spacing: -1px; }
.placeCard-type { font-size: 12px; color: var(--light-2); }
.placeCard-subtype { font-size: 10px; background: var(--accent-light); color: var(--accent); padding: 2px 8px; border-radius: 4px; font-weight: 500; }
.placeCard-desc { font-size: 13px; color: var(--light-1); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.placeCard-rating { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--border); }
.placeCard-distance { margin-left: auto; color: var(--accent); font-weight: 500; font-size: 12px; display: flex; align-items: center; gap: 3px; }
.placeCard-price { display: flex; align-items: center; justify-content: space-between; padding-top: 8px; border-top: 1px solid var(--border); }
.placeCard-price-label { font-size: 11px; color: var(--light-2); }
.placeCard-price-value { font-size: 16px; font-weight: 700; color: var(--dark-1); }
.placeCard-price-unit { font-size: 11px; font-weight: 400; color: var(--light-2); margin-left: 2px; }
.placeCard-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 10px; margin-top: 10px; font-size: 13px; color: var(--dark-1); }
.placeCard-footer svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; margin-right: 5px; }

/* === FEATURE ICONS (ref: Why choose section - shadow cards) === */
.featureIcon { padding: 40px; border-radius: 24px; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: 0.3s; }
.featureIcon:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); transform: translateY(-3px); }
.featureIcon-icon { width: 60px; height: 60px; }
.featureIcon-icon svg { width: 60px; height: 60px; stroke: var(--accent); fill: none; stroke-width: 1; }
.featureIcon-title { font-size: 18px; font-weight: 500; margin-top: 30px; }
.featureIcon-text { font-size: 15px; color: var(--light-1); margin-top: 10px; line-height: 1.6; }

/* === STATS (ref: Our Footprints - rounded bg with numbers) === */
.statsSection { position: relative; padding: 80px 0; }
.statsSection-bg { position: absolute; inset: 0 -30px; background: var(--accent-05); border-radius: 24px; }
.stat-item { text-align: center; padding: 50px 20px; border-radius: 24px; transition: 0.3s; }
.stat-item:hover { background: #fff; }
.stat-num { font-size: 40px; font-weight: 700; line-height: 1; color: var(--dark-1); margin-top: 30px; }
.stat-label { font-size: 15px; line-height: 1.5; color: var(--light-1); margin-top: 5px; }

/* === CATEGORY CARD (ref: Popular things to do - image with overlay text) === */
.catCard { position: relative; border-radius: 12px; overflow: hidden; }
.catCard:hover .catCard-image img { transform: scale(1.08); }
.catCard-image { aspect-ratio: 19/22; overflow: hidden; }
.catCard-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.catCard-content { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; z-index: 1; }
.catCard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.5), transparent 60%); }
.catCard-title { font-size: 18px; font-weight: 500; color: #fff; position: relative; z-index: 2; }
.catCard-sub { font-size: 14px; color: rgba(255,255,255,0.8); position: relative; z-index: 2; }

/* === RATING === */
.rating-badge { background: var(--accent); color: #fff; padding: 4px 10px; border-radius: 6px; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 3px; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 5px 14px; border-radius: 100px; font-size: 12px; font-weight: 500; background: var(--accent-light); color: var(--accent); }
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 6px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-green { background: var(--green-bg); color: var(--green); }
.badge-yellow { background: var(--yellow-bg); color: var(--yellow); }
.badge-accent { background: var(--accent-light); color: var(--accent); }

/* === FORMS === */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.form-input { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px; font-size: 15px; transition: 0.2s; background: #fff; }
.form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(26,81,246,0.1); }
.form-input::placeholder { color: var(--light-2); }
textarea.form-input { resize: vertical; min-height: 120px; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 5L6 8L9 5' stroke='%23697488' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.auth-card { max-width: 420px; margin: 60px auto; padding: 40px; border: 1px solid var(--border); border-radius: 24px; }

/* === TABS === */
.tabs { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 30px; overflow-x: auto; }
.tab { padding: 14px 24px; font-size: 14px; font-weight: 500; color: var(--light-1); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: 0.2s; white-space: nowrap; }
.tab:hover { color: var(--dark-1); } .tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-content { display: none; } .tab-content.active { display: block; }

/* === REVIEW CARD === */
.review-card { padding: 28px 0; border-bottom: 1px solid var(--border); }
.review-card:last-child { border-bottom: none; }
.review-header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-light); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; color: var(--accent); flex-shrink: 0; }
.review-body { color: var(--text); line-height: 1.75; margin-bottom: 14px; }
.vote-btn { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--light-1); cursor: pointer; padding: 4px 8px; border-radius: 6px; transition: 0.2s; }
.vote-btn:hover { background: var(--bg-1); color: var(--accent); }
.biz-response { margin-top: 16px; padding: 16px 20px; background: var(--accent-05); border-radius: 8px; border-left: 3px solid var(--accent); }

/* === RATING SUMMARY === */
.rating-summary { display: flex; gap: 40px; align-items: center; margin-bottom: 30px; padding: 30px; background: var(--bg-1); border-radius: 16px; }
.rating-big { text-align: center; min-width: 120px; }
.rating-big-num { font-size: 56px; font-weight: 700; color: var(--accent); line-height: 1; }
.rating-bars { flex: 1; }
.rating-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.rating-bar-track { flex: 1; height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.rating-bar-fill { height: 100%; background: var(--star); border-radius: 4px; }

/* === SIDEBAR === */
.place-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; }
.place-sidebar { position: sticky; top: 100px; align-self: start; }
.sidebar-block { padding: 24px; border: 1px solid var(--border); border-radius: 16px; margin-bottom: 16px; }

/* === AGENCY CARD === */
.agency-card { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 8px; transition: 0.2s; }
.agency-card:hover { border-color: var(--accent); background: var(--accent-05); }

/* === COUNTRY CARD === */
.country-card { display: flex; flex-direction: column; align-items: center; padding: 32px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--border); transition: 0.3s; text-align: center; }
.country-card:hover { border-color: var(--accent); box-shadow: 0 8px 20px rgba(0,0,0,0.06); transform: translateY(-3px); }

/* === FOOTER (ref: dark bg, rounded top, columns) === */
.footer { background: var(--dark-1); color: #fff; padding: 80px 0 30px; margin-top: 80px; border-radius: 24px 24px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer h4 { font-size: 20px; font-weight: 500; margin-bottom: 20px; }
.footer a { display: block; color: rgba(255,255,255,0.6); font-size: 15px; font-weight: 500; margin-bottom: 10px; }
.footer a:hover { color: #fff; }
.footer-newsletter { display: flex; margin-top: 20px; }
.footer-newsletter input { flex: 1; padding: 12px 16px; border-radius: 8px 0 0 8px; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.05); color: #fff; font-size: 14px; }
.footer-newsletter button { padding: 12px 20px; border-radius: 0 8px 8px 0; background: var(--accent); color: #fff; font-weight: 500; font-size: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: rgba(255,255,255,0.35); }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; margin: 0; }
.footer-socials a:hover { background: rgba(255,255,255,0.1); }
.footer-socials svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.6); }

/* === PAGINATION === */
.pagination { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 40px; }
.pagination a, .pagination span { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 14px; font-weight: 500; }
.pagination a:hover { background: var(--accent-light); color: var(--accent); }
.pagination .active { background: var(--accent); color: #fff; }

/* === TOASTS === */
.toast-wrap { position: fixed; top: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.toast { padding: 14px 20px; border-radius: 8px; font-size: 14px; font-weight: 500; box-shadow: 0 10px 25px rgba(0,0,0,0.12); animation: toastIn 0.3s ease; }
.toast-ok { background: var(--green); color: #fff; }
.toast-err { background: var(--red); color: #fff; }
@keyframes toastIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* === CTA SECTION === */
.cta-section { padding: 100px 0; background: linear-gradient(135deg, #051036, #1a51f6); color: #fff; text-align: center; position: relative; overflow: hidden; border-radius: 24px; margin: 0 30px; }
.cta-section h2 { color: #fff; }

/* === DARK SECTION (ref: testimonials bg) === */
.dark-section { position: relative; padding: 80px 0; }
.dark-section-bg { position: absolute; inset: 0 -30px; background: var(--dark-1); border-radius: 24px; }

/* === MOBILE MENU === */
.mobile-menu-btn { display: none; padding: 8px; border-radius: 8px; }
.mobile-menu-btn:hover { background: var(--bg-1); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .col-3 { flex: 0 0 50%; max-width: 50%; }
  .col-4 { flex: 0 0 50%; max-width: 50%; }
  .place-layout { grid-template-columns: 1fr; }
  .place-sidebar { position: static; top: auto; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { margin: 0; border-radius: 0; }
  .cta-section { margin: 0; border-radius: 0; }
}
@media (max-width: 768px) {
  h1 { font-size: 28px; } h2 { font-size: 22px; }
  .hero h1 { font-size: 26px; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .col-3, .col-4, .col-6, .col-2 { flex: 0 0 100%; max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { min-height: 400px; margin: 0; border-radius: 0; padding: 100px 0 40px; }
  .hero-content { max-width: 100%; }
  .hero-text { font-size: 14px; }
  .hero-content h1 { font-size: 28px !important; }
  .hero-search-wrap { max-width: 100%; padding: 4px 16px; border-radius: 24px; }
  .hero-search-wrap input { font-size: 15px; padding: 10px 0; }
  .hero-chips { gap: 4px; }
  .hero-chip { padding: 6px 12px; font-size: 12px; }
  .hero-chip-divider { margin: 0 2px; }
  .search-box { flex-direction: column; margin-top: 20px; max-width: 100%; }
  .search-box input { padding: 12px 12px 12px 40px; font-size: 14px; }
  .search-box select { border-left: none; border-top: 1px solid var(--border); width: 100%; }
  .search-box .btn { width: 100%; border-radius: 10px; }

  /* Mobile header */
  .header { height: 64px; }
  .header--transparent { top: 0; left: 0; right: 0; border-radius: 0; }
  .header .container { padding: 0 12px; }
  .logo { font-size: 18px; }
  .logo-mark { width: 30px; height: 30px; font-size: 16px; border-radius: 8px; }
  /* Mobile header right section */
  .mobile-menu-btn { display: flex; }
  #dark-toggle { padding: 6px !important; }
  #dark-toggle svg { width: 18px; height: 18px; }
  #notif-wrap button { padding: 6px !important; }
  #notif-wrap button svg { width: 18px; height: 18px; }
  .notif-dropdown { width: 280px !important; right: -40px !important; }
  .lc-switch { padding: 4px 8px !important; font-size: 12px !important; }
  .user-avatar { width: 32px !important; height: 32px !important; }
  .user-menu { width: 260px !important; right: -10px !important; }

  /* Chat icon hide on mobile (save space) */
  #nav-auth > a[href*="chat"] { display: none; }

  .section { padding: 40px 0; } .section-xl { padding: 50px 0; }
  [style*="grid-template-columns: repeat(6"] { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .rating-summary { flex-direction: column; }
  .container { padding: 0 16px; }
  .cta-section { margin: 0; border-radius: 0; }

  /* Place detail mobile */
  .place-layout { grid-template-columns: 1fr !important; gap: 20px !important; }
  .place-sidebar { order: 2; position: static !important; top: auto !important; }
  .sidebar-block { margin-bottom: 12px; }

  /* Chat widget mobile */
  #chat-widget { width: 100% !important; height: 100% !important; bottom: 0 !important; right: 0 !important; left: 0 !important; top: 60px !important; border-radius: 0 !important; }

  /* Map mobile */
  #search-map, #place-map { border-radius: 12px !important; }

  /* Cards mobile spacing */
  .placeCard-body { padding: 14px 16px 16px; }
  .placeCard-title { font-size: 15px; }

  /* Footer mobile */
  .footer-socials { gap: 12px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
