/*
Theme Name: Explore Caloundra
Theme URI: https://ExploreCaloundra.com.au
Author: Gravity Projex
Author URI: https://gravityprojex.com.au
Description: A modern tourism theme for Explore Caloundra (aka Visit Caloundra) — Sunshine Coast's best-kept secret. Features accommodation listings, experiences, restaurants, insider guides, AI trip planner, interactive map, and price comparison.
Version: 2.0.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: caloundra
License: Gravity Projex - Intellectual Property (Framework,software,scripts,codes,and all other material)
 *PROPRIETARY SOFTWARE LICENSE- GRAVITY PROJEX
 *Copyright (c) 2026 Gravity Projex. All Rights Reserved.
 *Business located in Australia.
 *
 * This software and associated documentation files (the "Software") are proprietary
 * and confidential to Gravity Projex. The source code contained or described herein and all documents related
 * to the source code ("Material") and website framework are owned by Gravity Projex or its
 * licensors and authorised representatives. Title to the Material remains with Gravity Projex
 * or its licensors and authorised representatives. The Material contains trade
 * secrets and proprietary and confidential information of Gravity Projex or its
 * licensors and authorised representatives.
 *
 * RESTRICTIONS:
 * 1. You may NOT copy, modify, distribute, or sell copies of the Software or coding, scripts or framework
 * 2. You may NOT reverse engineer, decompile, or disassemble the Software or coding, scripts or framework
 * 3. You may NOT remove any proprietary notices or labels on the Software or coding, scripts or framework
 * 4. Unauthorized use may result in legal action and monetary damages
 * The Material is protected by worldwide copyright
 * and trade secret laws and treaty provisions. No part of the Material may
 * be used, copied, reproduced, modified, published, uploaded, posted,
 * transmitted, distributed, or disclosed in any way without Gravity Projex prior
 * express written permission.
 * No license under any patent, copyright, trade secret or other intellectual
 * property right is granted to or conferred upon you by disclosure or
 * delivery of the Materials, either expressly, by implication, inducement,
 * estoppel or otherwise. Any license under such intellectual property rights
 * must be expressed and approved by Gravity Projex in writing.
 * OWNERSHIP:
 * The Software is owned by Gravity Projex and is protected by Australian copyright
 * laws and international treaty provisions.
 * CONTACT:
 * For licensing enquiries: admin@gravityprojex.com
 * Website: https://gravityprojex.com
 * VIOLATIONS:
 * Unauthorized copying or use of this Software will result in:
 * - Immediate cease and desist notice
 * - Legal action under Australian Copyright Act 1968
 * - Monetary damages and legal fees
 *  Last Updated: April 2026
 */

/* ===== CSS VARIABLES ===== */
:root {
  --c-primary: #0D4F4F;
  --c-primary-dark: #0A1628;
  --c-primary-mid: #1a2d4a;
  --c-accent: #E8734A;
  --c-accent2: #FF6B4A;
  --c-accent-light: #FF8F6B;
  --c-teal: #2DD4BF;
  --c-sand: #F7F4F0;
  --c-bg: #FAFAFA;
  --c-white: #ffffff;
  --c-text: #0A1628;
  --c-muted: #64748b;
  --c-border: #e2e8f0;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; }
.text-gradient {
  background: linear-gradient(135deg, var(--c-teal), var(--c-accent2), var(--c-accent-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== LAYOUT ===== */
.cal-container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
.cal-container-sm { max-width: 896px; margin: 0 auto; padding: 0 1rem; }
.cal-section { padding: 5rem 1rem; }

/* ===== GRID SYSTEM ===== */
.cal-grid { display: grid; gap: 1.5rem; }
.cal-grid-2 { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.cal-grid-3 { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.cal-grid-4 { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, 1fr); }
@media(min-width:768px) {
  .cal-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .cal-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .cal-grid-4 { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, 1fr); }
}
@media(min-width:1024px) {
  .cal-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .cal-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ===== NAVIGATION ===== */
.cal-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: all 0.5s ease;
}
.cal-nav--transparent { background: transparent; }
.cal-nav--solid { background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); }
.cal-nav__inner {
  max-width: 1280px; margin: 0 auto; padding: 0 1rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
@media(min-width:768px) { .cal-nav__inner { height: 80px; } }

.cal-nav__logo { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1.25rem; }
.cal-nav__logo-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--c-primary-dark), var(--c-accent2));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 1.125rem;
}
.cal-nav--transparent .cal-nav__logo-text { color: white; }
.cal-nav--solid .cal-nav__logo-text { color: var(--c-primary-dark); }

.cal-nav__links { display: none; align-items: center; gap: 0.25rem; }
@media(min-width:1024px) { .cal-nav__links { display: flex; } }
.cal-nav__link {
  padding: 0.5rem 1rem; border-radius: 12px; font-size: 0.875rem; font-weight: 500;
  transition: all 0.2s;
}
.cal-nav--transparent .cal-nav__link { color: rgba(255,255,255,0.9); }
.cal-nav--transparent .cal-nav__link:hover { background: rgba(255,255,255,0.1); }
.cal-nav--solid .cal-nav__link { color: #374151; }
.cal-nav--solid .cal-nav__link:hover { background: #f3f4f6; }
.cal-nav__link--active { background: var(--c-primary-dark) !important; color: white !important; }

.cal-nav__actions { display: flex; align-items: center; gap: 0.75rem; }
.cal-nav__cta {
  display: none; padding: 0.5rem 1rem; border-radius: 12px; font-size: 0.875rem; font-weight: 600;
  transition: all 0.3s;
}
@media(min-width:768px) { .cal-nav__cta { display: flex; align-items: center; gap: 0.5rem; } }
.cal-nav--transparent .cal-nav__cta {
  background: rgba(255,255,255,0.2); backdrop-filter: blur(8px);
  color: white; border: 1px solid rgba(255,255,255,0.3);
}
.cal-nav--solid .cal-nav__cta { background: var(--c-accent2); color: white; }
.cal-nav--solid .cal-nav__cta:hover { background: #d6673f; }

/* Mobile menu toggle */
.cal-nav__toggle {
  display: block; padding: 0.5rem; border-radius: 12px; background: none; border: none;
  transition: all 0.2s;
}
@media(min-width:1024px) { .cal-nav__toggle { display: none; } }
.cal-nav--transparent .cal-nav__toggle { color: white; }
.cal-nav--solid .cal-nav__toggle { color: #374151; }
.cal-nav__toggle:hover { background: rgba(0,0,0,0.05); }

/* Mobile overlay */
.cal-mobile-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  z-index: 50; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.cal-mobile-overlay.is-open { opacity: 1; pointer-events: auto; }

.cal-mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; width: 100%; max-width: 380px;
  background: white; z-index: 51; transform: translateX(100%); transition: transform 0.3s ease;
  display: flex; flex-direction: column;
}
.cal-mobile-menu.is-open { transform: translateX(0); }
.cal-mobile-menu__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem; border-bottom: 1px solid var(--c-border);
}
.cal-mobile-menu__header span { font-weight: 700; font-size: 1.25rem; color: var(--c-primary-dark); }
.cal-mobile-menu__close {
  padding: 0.5rem; border-radius: 12px; border: none; background: none;
}
.cal-mobile-menu__close:hover { background: #f3f4f6; }
.cal-mobile-menu__body { flex: 1; overflow-y: auto; padding: 1rem; }
.cal-mobile-menu__link {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem; border-radius: 12px; font-weight: 500;
  color: #374151; transition: all 0.2s;
}
.cal-mobile-menu__link:hover { background: #f3f4f6; }
.cal-mobile-menu__link--active { background: var(--c-primary-dark); color: white; }
.cal-mobile-menu__link svg { width: 20px; height: 20px; }
.cal-mobile-menu__cta-box {
  margin-top: 1.5rem; padding: 1rem; border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--c-primary-dark), rgba(10,22,40,0.8));
  color: white;
}
.cal-mobile-menu__cta-box h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.25rem; }
.cal-mobile-menu__cta-box p { font-size: 0.875rem; color: rgba(255,255,255,0.8); margin-bottom: 1rem; }
.cal-mobile-menu__footer { padding: 1rem; border-top: 1px solid var(--c-border); text-align: center; }
.cal-mobile-menu__footer p { font-size: 0.875rem; color: var(--c-muted); }

@media(min-width:1024px) {
  .cal-mobile-overlay, .cal-mobile-menu { display: none !important; }
}

/* ===== BUTTONS ===== */
.cal-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.625rem 1.25rem; border-radius: 12px; font-weight: 600; font-size: 0.875rem;
  border: none; transition: all 0.3s; cursor: pointer; white-space: nowrap;
}
.cal-btn--primary { background: linear-gradient(135deg, var(--c-accent2), var(--c-accent-light)); color: white; box-shadow: 0 4px 14px rgba(255,107,74,0.3); }
.cal-btn--primary:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(255,107,74,0.4); }
.cal-btn--dark { background: var(--c-primary-dark); color: white; }
.cal-btn--dark:hover { background: var(--c-accent2); }
.cal-btn--outline { background: transparent; color: var(--c-text); border: 2px solid var(--c-border); }
.cal-btn--outline:hover { border-color: var(--c-teal); }
.cal-btn--white { background: white; color: var(--c-text); box-shadow: var(--shadow-sm); }
.cal-btn--white:hover { background: var(--c-primary-dark); color: white; }
.cal-btn--teal { background: linear-gradient(135deg, var(--c-teal), #14b8a6); color: white; }
.cal-btn--lg { padding: 0.875rem 1.5rem; font-size: 1rem; border-radius: var(--radius-lg); }
.cal-btn--full { width: 100%; }
.cal-btn svg { width: 16px; height: 16px; }

/* ===== BADGES / PILLS ===== */
.cal-badge {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.375rem 0.75rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600;
}
.cal-badge--accent { background: linear-gradient(135deg, var(--c-accent2), var(--c-accent-light)); color: white; }
.cal-badge--teal { background: rgba(45,212,191,0.15); color: var(--c-teal); }
.cal-badge--dark { background: var(--c-primary-dark); color: white; }
.cal-badge--sand { background: var(--c-sand); color: #374151; }
.cal-badge--glass { background: rgba(255,255,255,0.1); backdrop-filter: blur(4px); color: rgba(255,255,255,0.9); }
.cal-badge--glass-border { background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.9); }

/* ===== HERO SECTION ===== */
.cal-hero {
  position: relative; min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; align-items: center; overflow: hidden;
}
.cal-hero__bg { position: absolute; inset: 0; }
.cal-hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0; transition: opacity 1.5s ease, transform 1.5s ease;
}
.cal-hero__bg img.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.cal-hero__bg img:not(.is-active) { opacity: 0; transform: scale(1.1); z-index: 0; }
.cal-hero__overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to bottom, rgba(10,22,40,0.6), rgba(10,22,40,0.3), rgba(10,22,40,0.8));
}
.cal-hero__content {
  position: relative; z-index: 10; text-align: center; padding: 5rem 1rem 2rem;
  max-width: 80rem; width: 100%;
}
.cal-hero__title {
  font-size: clamp(2.5rem, 7vw, 5rem); font-weight: 800; color: white;
  margin-bottom: 1rem; letter-spacing: -0.02em;
}
.cal-hero__subtitle { font-size: 1.125rem; color: rgba(255,255,255,0.8); max-width: 640px; margin: 0 auto 2rem; }
.cal-hero__dots {
  position: absolute; bottom: 2rem; right: 2rem; z-index: 20;
  display: flex; gap: 0.5rem;
}
.cal-hero__dot {
  width: 8px; height: 8px; border-radius: 999px; border: none;
  background: rgba(255,255,255,0.4); transition: all 0.3s; cursor: pointer;
}
.cal-hero__dot.is-active { width: 32px; background: white; }
.cal-hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 20;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.6); background: none; border: none; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.15em;
}
.cal-hero__scroll svg { animation: float 1.5s ease-in-out infinite; }

/* ===== PAGE HEADERS ===== */
.cal-page-header {
  position: relative; padding: 2rem 1rem 3rem;
  background: linear-gradient(to bottom, var(--c-primary-dark), var(--c-primary-mid));
  overflow: hidden;
}
.cal-page-header__blob1 {
  position: absolute; top: 0; right: 0; width: 384px; height: 384px;
  border-radius: 50%; filter: blur(48px); opacity: 0.1;
}
.cal-page-header__blob2 {
  position: absolute; bottom: 0; left: 0; width: 384px; height: 384px;
  border-radius: 50%; filter: blur(48px); opacity: 0.1;
}
.cal-page-header__inner { position: relative; z-index: 10; max-width: 1280px; margin: 0 auto; text-align: center; }
.cal-page-header h1 { font-size: clamp(2rem, 5vw, 3rem); color: white; margin-bottom: 1rem; }
.cal-page-header p { font-size: 1.125rem; color: rgba(255,255,255,0.7); max-width: 640px; margin: 0 auto; }

/* Stats row */
.cal-stats { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 2rem; }
.cal-stat {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1.25rem;
  border-radius: var(--radius-xl); background: rgba(255,255,255,0.1); backdrop-filter: blur(4px);
}
.cal-stat__icon { padding: 0.5rem; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.cal-stat__icon svg { width: 20px; height: 20px; }
.cal-stat__value { font-size: 1.5rem; font-weight: 700; color: white; line-height: 1; }
.cal-stat__label { font-size: 0.75rem; color: rgba(255,255,255,0.6); }

/* ===== CATEGORY PILLS ===== */
.cal-pills-bar {
  padding: 1.5rem 1rem; background: white; border-bottom: 1px solid var(--c-border);
  position: sticky; top: 64px; z-index: 30;
}
@media(min-width:768px) { .cal-pills-bar { top: 80px; } }
.cal-pills {
  display: flex; align-items: center; gap: 0.75rem; overflow-x: auto;
  -ms-overflow-style: none; scrollbar-width: none; max-width: 1280px; margin: 0 auto;
  padding-bottom: 0.5rem;
}
.cal-pills::-webkit-scrollbar { display: none; }
.cal-pill {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.625rem 1.25rem; border-radius: 999px; font-weight: 500; font-size: 0.875rem;
  white-space: nowrap; border: none; transition: all 0.2s; cursor: pointer;
}
.cal-pill--default { background: var(--c-sand); color: #374151; }
.cal-pill--default:hover { background: #e2e8f0; }
.cal-pill--active { background: var(--c-primary-dark); color: white; box-shadow: var(--shadow-md); }
.cal-pill svg { width: 16px; height: 16px; }

/* ===== FILTER BAR ===== */
.cal-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.cal-filters__left { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.cal-filters__right { display: flex; align-items: center; gap: 0.75rem; }
.cal-select-wrap { position: relative; }
.cal-select {
  appearance: none; padding: 0.5rem 2.5rem 0.5rem 1rem;
  border: 2px solid var(--c-border); border-radius: 12px; font-size: 0.875rem; font-weight: 500;
  background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 0.75rem center;
  cursor: pointer; color: var(--c-text); min-width: 140px;
}
.cal-select:focus { border-color: var(--c-teal); outline: none; }

/* View mode toggle */
.cal-view-toggle { display: flex; padding: 0.25rem; background: #f1f5f9; border-radius: 12px; }
.cal-view-toggle button {
  padding: 0.5rem; border-radius: 8px; border: none; background: transparent;
  color: var(--c-muted); transition: all 0.2s;
}
.cal-view-toggle button.is-active { background: white; color: var(--c-text); box-shadow: var(--shadow-sm); }
.cal-view-toggle svg { width: 16px; height: 16px; }

/* Results count */
.cal-results-count { font-size: 0.875rem; color: var(--c-muted); margin-bottom: 1.5rem; }
.cal-results-count strong { color: var(--c-text); font-weight: 600; }

/* ===== CARDS - SHARED ===== */
.cal-card {
  background: white; border-radius: var(--radius-xl); border: 1px solid rgba(226,232,240,0.8);
  overflow: hidden; transition: all 0.5s; box-shadow: var(--shadow-sm);
}
.cal-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-8px); }
.cal-card__img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.cal-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease;
}
.cal-card:hover .cal-card__img img { transform: scale(1.1); }
.cal-card__img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent, transparent);
}
.cal-card__img-top { position: absolute; top: 1rem; left: 1rem; right: 1rem; display: flex; align-items: flex-start; justify-content: space-between; z-index: 5; }
.cal-card__img-bottom { position: absolute; bottom: 1rem; left: 1rem; right: 1rem; display: flex; align-items: flex-end; justify-content: space-between; z-index: 5; }
.cal-card__body { padding: 1.25rem; }
.cal-card__type { font-size: 0.75rem; font-weight: 500; color: var(--c-teal); text-transform: uppercase; letter-spacing: 0.05em; }
.cal-card__title {
  font-size: 1.125rem; font-weight: 700; color: var(--c-text); margin-top: 0.25rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color 0.3s;
}
.cal-card:hover .cal-card__title { color: var(--c-accent2); }
.cal-card__location { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--c-muted); margin-top: 0.5rem; }
.cal-card__location svg { width: 16px; height: 16px; flex-shrink: 0; }
.cal-card__rating {
  display: flex; align-items: center; gap: 0.25rem; padding: 0.25rem 0.625rem;
  border-radius: 8px; background: var(--c-primary-dark); color: white; font-size: 0.875rem; font-weight: 700;
}
.cal-card__rating svg { width: 16px; height: 16px; color: #facc15; fill: #facc15; }
.cal-card__vibes { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.cal-card__vibe {
  padding: 0.25rem 0.625rem; border-radius: 999px; font-size: 0.75rem;
  background: var(--c-sand); color: #374151; text-transform: capitalize;
}
.cal-card__cta {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  width: 100%; padding: 0.75rem; border-radius: 12px; border: none;
  background: linear-gradient(135deg, var(--c-primary-dark), var(--c-primary-mid));
  color: white; font-weight: 600; font-size: 0.875rem; margin-top: 1rem;
  transition: all 0.3s; cursor: pointer;
}
.cal-card__cta:hover { background: linear-gradient(135deg, var(--c-accent2), var(--c-accent-light)); }
.cal-card__cta svg { width: 16px; height: 16px; }

/* Price tag overlay */
.cal-card__price-tag {
  padding: 0.5rem 1rem; border-radius: var(--radius-xl); background: rgba(255,255,255,0.95);
  backdrop-filter: blur(4px); box-shadow: var(--shadow-md);
}
.cal-card__price-tag small { font-size: 0.75rem; color: var(--c-muted); }
.cal-card__price-tag strong { display: block; font-size: 1.25rem; color: var(--c-text); }

/* Heart / favourite button */
.cal-heart-btn {
  padding: 0.625rem; border-radius: 50%; background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px); border: none; box-shadow: var(--shadow-md);
  transition: transform 0.2s; display: flex;
}
.cal-heart-btn:hover { transform: scale(1.1); }
.cal-heart-btn svg { width: 20px; height: 20px; color: var(--c-muted); }
.cal-heart-btn.is-liked svg { color: #ef4444; fill: #ef4444; }

/* Secret badge */
.cal-secret-badge { padding: 0.375rem 0.75rem; border-radius: 999px; background: linear-gradient(135deg, var(--c-accent2), var(--c-accent-light)); color: white; font-size: 0.75rem; font-weight: 600; }
.cal-free-badge { padding: 0.375rem 0.75rem; border-radius: 999px; background: linear-gradient(135deg, var(--c-teal), #14b8a6); color: white; font-size: 0.75rem; font-weight: 600; }

/* ===== ACCOMMODATION CARD EXTRAS ===== */
.cal-price-compare { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.cal-price-compare__item {
  flex: 1; padding: 0.5rem; border-radius: 12px; text-align: center;
  border: 1px solid var(--c-border); transition: all 0.2s;
}
.cal-price-compare__item--best { border: 2px solid var(--c-teal); background: rgba(45,212,191,0.05); }
.cal-price-compare__item small { display: block; font-size: 0.75rem; color: var(--c-muted); }
.cal-price-compare__item strong { display: block; font-size: 1.125rem; font-weight: 700; color: var(--c-text); }
.cal-price-compare__item--best strong { color: var(--c-teal); }
.cal-price-compare__item .cal-best-label { font-size: 0.6875rem; color: var(--c-teal); }

/* ===== RESTAURANT CARD EXTRAS ===== */
.cal-card__specialty { font-size: 0.875rem; color: var(--c-teal); font-weight: 500; margin-top: 0.125rem; }
.cal-card__hours { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--c-muted); margin-top: 0.5rem; }
.cal-card__hours svg { width: 16px; height: 16px; }
.cal-card__actions { display: flex; gap: 0.5rem; margin-top: 1rem; }
.cal-card__actions .cal-btn { flex: 1; }
.cal-card__phone-btn {
  padding: 0.75rem; border-radius: 12px; border: 2px solid var(--c-border);
  background: transparent; transition: border-color 0.3s; display: flex;
}
.cal-card__phone-btn:hover { border-color: var(--c-teal); }
.cal-card__phone-btn svg { width: 20px; height: 20px; color: var(--c-muted); }

/* ===== INSIDER GUIDE CARD ===== */
.cal-guide-card__img { aspect-ratio: 16/10; }
.cal-guide-card__category {
  padding: 0.375rem 0.75rem; border-radius: 999px; font-size: 0.75rem;
  font-weight: 600; color: white; text-transform: capitalize;
}
.cat-eat { background: linear-gradient(135deg, #f97316, #ef4444); }
.cat-drink { background: linear-gradient(135deg, #f59e0b, #eab308); }
.cat-explore { background: linear-gradient(135deg, var(--c-teal), #0d9488); }
.cat-stay { background: linear-gradient(135deg, #3b82f6, #4f46e5); }
.cat-family { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.cat-adventure { background: linear-gradient(135deg, #10b981, #16a34a); }
.cat-wellness { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.cat-hidden_gems { background: linear-gradient(135deg, var(--c-accent2), var(--c-accent-light)); }
.cal-guide-card__meta { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; }
.cal-guide-card__author { display: flex; align-items: center; gap: 0.5rem; }
.cal-guide-card__author img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.cal-guide-card__author-name { font-size: 0.875rem; font-weight: 500; }
.cal-guide-card__author-read { font-size: 0.75rem; color: var(--c-muted); }
.cal-guide-card__arrow {
  padding: 0.625rem; border-radius: 12px; background: var(--c-sand); border: none;
  transition: all 0.3s; display: flex;
}
.cal-guide-card__arrow:hover { background: var(--c-primary-dark); }
.cal-guide-card__arrow:hover svg { color: white; }
.cal-guide-card__arrow svg { width: 20px; height: 20px; color: var(--c-text); transition: color 0.3s; }

/* Featured guide card */
.cal-guide-featured {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  height: 500px; display: flex; flex-direction: column; justify-content: flex-end;
}
.cal-guide-featured img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.cal-guide-featured:hover img { transform: scale(1.05); }
.cal-guide-featured__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.3), transparent); }
.cal-guide-featured__content { position: relative; z-index: 5; padding: 2rem; }
.cal-guide-featured__content h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem); color: white; margin-bottom: 0.75rem;
  transition: color 0.3s;
}
.cal-guide-featured:hover .cal-guide-featured__content h2 { color: var(--c-teal); }
.cal-guide-featured__content p { font-size: 1.125rem; color: rgba(255,255,255,0.8); margin-bottom: 1rem; }

/* ===== GUIDE DETAIL ===== */
.cal-guide-hero { position: relative; height: 60vh; min-height: 400px; }
.cal-guide-hero img { width: 100%; height: 100%; object-fit: cover; }
.cal-guide-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.3), transparent); }
.cal-guide-hero__back { position: absolute; top: 6rem; left: 1rem; z-index: 10; }
@media(min-width:768px) { .cal-guide-hero__back { left: 2rem; } }
.cal-guide-hero__content { position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem; z-index: 5; }
@media(min-width:768px) { .cal-guide-hero__content { padding: 4rem; } }
.cal-guide-hero__content h1 { font-size: clamp(2rem, 5vw, 3.5rem); color: white; margin-bottom: 1rem; }
.cal-guide-hero__subtitle { font-size: 1.25rem; color: rgba(255,255,255,0.8); margin-bottom: 1.5rem; }
.cal-guide-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; color: rgba(255,255,255,0.7); font-size: 0.875rem; }
.cal-guide-hero__meta img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.cal-guide-actions {
  position: sticky; top: 80px; z-index: 30; background: white; border-bottom: 1px solid var(--c-border);
}
.cal-guide-actions__inner {
  max-width: 896px; margin: 0 auto; padding: 1rem; display: flex; align-items: center; justify-content: space-between;
}
.cal-guide-actions__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cal-guide-actions__btns { display: flex; gap: 0.5rem; }
.cal-guide-prose { max-width: 896px; margin: 0 auto; padding: 3rem 1rem; }
.cal-guide-prose p { margin-bottom: 1.5rem; font-size: 1.125rem; line-height: 1.8; color: #334155; }
.cal-guide-prose h2 { font-size: 1.5rem; margin: 2rem 0 1rem; }
.cal-guide-prose h3 { font-size: 1.25rem; margin: 1.5rem 0 0.75rem; }
.cal-guide-prose img { border-radius: var(--radius-lg); margin: 2rem 0; }
.cal-guide-coming-soon {
  background: var(--c-sand); border-radius: var(--radius-xl); padding: 2rem;
  text-align: center; max-width: 896px; margin: 3rem auto;
}

/* ===== SECTION HEADERS ===== */
.cal-section-header { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 3rem; }
@media(min-width:768px) { .cal-section-header { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.cal-section-header h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--c-text); }
.cal-section-header p { font-size: 1.125rem; color: var(--c-muted); max-width: 560px; margin-top: 1rem; }

/* ===== QUICK LINKS ===== */
.cal-quick-links { margin-top: -4rem; position: relative; z-index: 20; }
.cal-quick-link {
  display: flex; align-items: center; gap: 1rem; padding: 1.25rem;
  background: white; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226,232,240,0.5); transition: all 0.3s;
}
.cal-quick-link:hover { box-shadow: var(--shadow-xl); }
.cal-quick-link__icon {
  width: 56px; height: 56px; border-radius: var(--radius-xl); display: flex;
  align-items: center; justify-content: center; color: white; flex-shrink: 0;
  transition: transform 0.3s;
}
.cal-quick-link:hover .cal-quick-link__icon { transform: scale(1.1); }
.cal-quick-link__icon--blue { background: linear-gradient(135deg, #3b82f6, #4f46e5); }
.cal-quick-link__icon--teal { background: linear-gradient(135deg, var(--c-teal), #0d9488); }
.cal-quick-link__icon--accent { background: linear-gradient(135deg, var(--c-accent2), #f97316); }
.cal-quick-link__icon svg { width: 24px; height: 24px; }
.cal-quick-link__text { flex: 1; }
.cal-quick-link__text h3 { font-size: 1rem; font-weight: 700; color: var(--c-text); transition: color 0.3s; }
.cal-quick-link:hover .cal-quick-link__text h3 { color: var(--c-accent2); }
.cal-quick-link__text p { font-size: 0.875rem; color: var(--c-muted); }
.cal-quick-link__arrow { color: var(--c-muted); transition: all 0.3s; }
.cal-quick-link:hover .cal-quick-link__arrow { color: var(--c-accent2); transform: translateX(4px); }
.cal-quick-link__arrow svg { width: 20px; height: 20px; }

/* ===== MAP SECTION ===== */
.cal-map-wrap { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); }
.cal-map-placeholder {
  width: 100%; height: 500px; background: #e2e8f0; display: flex;
  align-items: center; justify-content: center; flex-direction: column; gap: 1rem;
}
.cal-map-placeholder p { color: var(--c-muted); font-size: 0.875rem; }

/* ===== CTA BANNER ===== */
.cal-cta-banner {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  background: linear-gradient(135deg, var(--c-primary-dark), var(--c-primary-mid));
  padding: 2rem;
}
@media(min-width:768px) { .cal-cta-banner { padding: 4rem; } }
.cal-cta-banner__blob1 { position: absolute; top: 0; right: 0; width: 384px; height: 384px; border-radius: 50%; background: rgba(45,212,191,0.1); filter: blur(48px); }
.cal-cta-banner__blob2 { position: absolute; bottom: 0; left: 0; width: 384px; height: 384px; border-radius: 50%; background: rgba(255,107,74,0.1); filter: blur(48px); }
.cal-cta-banner__inner { position: relative; z-index: 5; text-align: center; }
.cal-cta-banner h2 { font-size: clamp(1.5rem, 4vw, 3rem); color: white; margin-bottom: 1.5rem; }
.cal-cta-banner p { font-size: 1.125rem; color: rgba(255,255,255,0.7); max-width: 640px; margin: 0 auto 2rem; }

/* ===== DISCOVERY ENGINE (Search Box) ===== */
.cal-discovery {
  position: relative; max-width: 64rem; margin: 0 auto; padding: 0.75rem;
}
.cal-discovery__box {
  position: relative; backdrop-filter: blur(16px); background: rgba(255,255,255,0.8);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); border: 1px solid rgba(255,255,255,0.5);
  overflow: hidden; padding: 1rem 1.5rem;
}
.cal-discovery__label { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.cal-discovery__label span {
  font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: white; padding: 0.375rem 0.75rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--c-accent2), var(--c-accent-light));
}
.cal-discovery__grid { display: grid; gap: 0.75rem; grid-template-columns: 1fr; }
@media(min-width:768px) { .cal-discovery__grid { grid-template-columns: repeat(3, 1fr) auto; } }
.cal-discovery__field {
  display: flex; align-items: center; gap: 0.75rem; padding: 1rem;
  border-radius: var(--radius-xl); background: var(--c-sand); border: none; text-align: left;
  cursor: pointer; width: 100%; transition: background 0.2s;
}
.cal-discovery__field:hover { background: #f0ede8; }
.cal-discovery__field-icon {
  padding: 0.625rem; border-radius: 12px; color: white; display: flex;
  align-items: center; justify-content: center;
}
.cal-discovery__field-icon svg { width: 20px; height: 20px; }
.cal-discovery__field-label { font-size: 0.6875rem; font-weight: 500; color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.cal-discovery__field-value { font-size: 0.875rem; font-weight: 600; color: var(--c-text); }
.cal-discovery__search-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 1rem 2rem; border-radius: var(--radius-xl); border: none;
  background: linear-gradient(135deg, var(--c-accent2), var(--c-accent-light)); color: white;
  font-weight: 700; font-size: 0.875rem; cursor: pointer;
  box-shadow: 0 4px 14px rgba(255,107,74,0.3); transition: all 0.3s;
}
.cal-discovery__search-btn:hover { transform: scale(1.05); }
.cal-discovery__search-btn svg { width: 20px; height: 20px; }

/* ===== PROVIDER LOGOS (Stay page) ===== */
.cal-providers {
  padding: 1.5rem 1rem; background: white; border-bottom: 1px solid var(--c-border);
}
.cal-providers__inner {
  max-width: 1280px; margin: 0 auto; display: flex; align-items: center;
  justify-content: center; gap: 2rem; flex-wrap: wrap;
}
.cal-providers__label { font-size: 0.75rem; color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.cal-provider { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.875rem; }
.cal-provider__icon {
  width: 32px; height: 32px; border-radius: 8px; display: flex;
  align-items: center; justify-content: center; color: white; font-size: 0.75rem; font-weight: 700;
}

/* ===== API NOTICE ===== */
.cal-api-notice { padding: 3rem 1rem; background: var(--c-sand); text-align: center; }
.cal-api-notice h3 { font-size: 1.5rem; font-weight: 700; color: var(--c-text); margin-bottom: 1rem; }
.cal-api-notice p { color: var(--c-muted); margin-bottom: 1.5rem; max-width: 640px; margin-left: auto; margin-right: auto; }
.cal-api-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.cal-api-tag { padding: 0.5rem 1rem; border-radius: 8px; background: white; border: 1px solid var(--c-border); font-size: 0.875rem; color: var(--c-muted); }

/* ===== PLAN PAGE ===== */
.cal-plan-layout { display: flex; flex-direction: column; gap: 2rem; }
@media(min-width:1024px) { .cal-plan-layout { flex-direction: row; } }
.cal-plan-sidebar { flex-shrink: 0; }
@media(min-width:1024px) { .cal-plan-sidebar { width: 320px; } }
.cal-plan-sidebar__box {
  background: white; border-radius: var(--radius-xl); box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226,232,240,0.5); padding: 1.5rem;
}
@media(min-width:1024px) { .cal-plan-sidebar__box { position: sticky; top: 6rem; } }
.cal-plan-main { flex: 1; min-width: 0; }
.cal-itinerary-item {
  width: 100%; padding: 1rem; border-radius: var(--radius-xl); text-align: left;
  border: none; cursor: pointer; transition: all 0.2s;
}
.cal-itinerary-item--default { background: var(--c-sand); color: var(--c-text); }
.cal-itinerary-item--default:hover { background: #e2e8f0; }
.cal-itinerary-item--active { background: var(--c-primary-dark); color: white; }
.cal-itinerary-item h3 { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-itinerary-item__meta { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.5rem; font-size: 0.875rem; opacity: 0.7; }
.cal-itinerary-item__meta svg { width: 12px; height: 12px; }

/* Day accordion */
.cal-day-card {
  background: white; border-radius: var(--radius-xl); box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226,232,240,0.5); overflow: hidden; margin-bottom: 1.5rem;
}
.cal-day-card__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem; cursor: pointer; transition: background 0.2s; width: 100%;
  background: none; border: none; text-align: left;
}
.cal-day-card__header:hover { background: #f8fafc; }
.cal-day-card__header-left { display: flex; align-items: center; gap: 1rem; }
.cal-day-num {
  width: 48px; height: 48px; border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--c-accent2), var(--c-accent-light));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 1.125rem;
}
.cal-day-card__header h3 { font-size: 1.125rem; font-weight: 700; color: var(--c-text); }
.cal-day-card__header p { font-size: 0.875rem; color: var(--c-muted); }
.cal-day-card__chevron { transition: transform 0.3s; }
.cal-day-card__chevron.is-open { transform: rotate(180deg); }
.cal-day-card__body { border-top: 1px solid var(--c-border); padding: 1.5rem; }
.cal-activity {
  display: flex; align-items: flex-start; gap: 1rem; padding: 1rem;
  border-radius: var(--radius-xl); background: var(--c-sand); margin-bottom: 1rem;
  transition: background 0.2s;
}
.cal-activity:hover { background: #e2e8f0; }
.cal-activity:last-child { margin-bottom: 0; }
.cal-activity__time-col { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.cal-activity__time { font-size: 0.875rem; font-weight: 600; color: var(--c-accent2); }
.cal-activity__icon { padding: 0.5rem; border-radius: 12px; background: white; display: flex; }
.cal-activity__icon svg { width: 20px; height: 20px; color: var(--c-text); }
.cal-activity__content { flex: 1; }
.cal-activity__title { font-weight: 600; color: var(--c-text); }
.cal-activity__location { font-size: 0.875rem; color: var(--c-muted); display: flex; align-items: center; gap: 0.25rem; margin-top: 0.25rem; }
.cal-activity__location svg { width: 12px; height: 12px; }
.cal-activity__desc { font-size: 0.875rem; color: #475569; margin-top: 0.5rem; }

/* Empty state */
.cal-empty-state {
  background: white; border-radius: var(--radius-xl); box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226,232,240,0.5); padding: 4rem 2rem; text-align: center;
}
.cal-empty-state__icon {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, rgba(255,107,74,0.1), rgba(255,143,107,0.1));
  display: flex; align-items: center; justify-content: center;
}
.cal-empty-state__icon svg { width: 48px; height: 48px; color: var(--c-accent2); }
.cal-empty-state h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.cal-empty-state p { color: var(--c-muted); margin-bottom: 2rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.cal-empty-state__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* ===== FOOTER ===== */
.cal-footer { background: var(--c-primary-dark); color: white; }
.cal-footer__inner { max-width: 1280px; margin: 0 auto; padding: 4rem 1rem; }
.cal-footer__grid { display: grid; gap: 3rem; }
@media(min-width:768px) { .cal-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; } }
.cal-footer__brand p { color: rgba(255,255,255,0.7); font-size: 0.875rem; margin-top: 1rem; }
.cal-footer__social { display: flex; gap: 1rem; margin-top: 1.5rem; }
.cal-footer__social a {
  padding: 0.5rem; border-radius: 12px; background: rgba(255,255,255,0.1);
  display: flex; transition: background 0.2s;
}
.cal-footer__social a:hover { background: rgba(255,255,255,0.2); }
.cal-footer__social svg { width: 20px; height: 20px; }
.cal-footer h4 { font-weight: 600; margin-bottom: 1rem; }
.cal-footer ul { list-style: none; }
.cal-footer ul li { margin-bottom: 0.5rem; }
.cal-footer ul a { font-size: 0.875rem; color: rgba(255,255,255,0.7); transition: color 0.2s; }
.cal-footer ul a:hover { color: white; }
.cal-footer__newsletter { display: flex; gap: 0.5rem; margin-top: 1rem; }
.cal-footer__newsletter input {
  flex: 1; padding: 0.5rem 1rem; border-radius: 12px; border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1); color: white; font-size: 0.875rem;
}
.cal-footer__newsletter input::placeholder { color: rgba(255,255,255,0.5); }
.cal-footer__newsletter input:focus { outline: none; border-color: rgba(255,255,255,0.4); }
.cal-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1); margin-top: 3rem; padding-top: 2rem;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
@media(min-width:768px) { .cal-footer__bottom { flex-direction: row; justify-content: space-between; } }
.cal-footer__bottom p { color: rgba(255,255,255,0.5); font-size: 0.875rem; }
.cal-footer__bottom-links { display: flex; gap: 1.5rem; }
.cal-footer__bottom-links a { font-size: 0.875rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.cal-footer__bottom-links a:hover { color: white; }

/* ===== AI TRIP PLANNER MODAL ===== */
.cal-ai-overlay {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center;
  justify-content: center; padding: 1rem;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.cal-ai-overlay.is-open { opacity: 1; pointer-events: auto; }
.cal-ai-modal {
  width: 100%; max-width: 672px; height: 80vh; background: white;
  border-radius: var(--radius-xl); box-shadow: var(--shadow-xl);
  overflow: hidden; display: flex; flex-direction: column;
  transform: scale(0.95) translateY(20px); transition: transform 0.3s;
}
.cal-ai-overlay.is-open .cal-ai-modal { transform: scale(1) translateY(0); }
.cal-ai-modal__header {
  position: relative; padding: 1.5rem;
  background: linear-gradient(135deg, var(--c-primary-dark), var(--c-primary-mid));
}
.cal-ai-modal__header-inner { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; }
.cal-ai-modal__header-left { display: flex; align-items: center; gap: 0.75rem; }
.cal-ai-modal__header-icon {
  padding: 0.75rem; border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--c-accent2), var(--c-accent-light)); display: flex;
}
.cal-ai-modal__header-icon svg { width: 24px; height: 24px; color: white; }
.cal-ai-modal__header h2 { font-size: 1.25rem; color: white; }
.cal-ai-modal__header p { font-size: 0.875rem; color: rgba(255,255,255,0.7); }
.cal-ai-modal__close { padding: 0.5rem; border-radius: 50%; background: none; border: none; color: white; }
.cal-ai-modal__close:hover { background: rgba(255,255,255,0.1); }
.cal-ai-modal__close svg { width: 24px; height: 24px; }
.cal-ai-modal__body {
  flex: 1; overflow-y: auto; padding: 1.5rem; background: var(--c-sand);
  display: flex; flex-direction: column; gap: 1rem;
}
.cal-ai-msg { max-width: 85%; padding: 1rem; border-radius: var(--radius-xl); font-size: 0.875rem; line-height: 1.6; }
.cal-ai-msg--user {
  align-self: flex-end; margin-left: auto;
  background: linear-gradient(135deg, var(--c-accent2), var(--c-accent-light));
  color: white; border-bottom-right-radius: 4px;
}
.cal-ai-msg--assistant {
  align-self: flex-start;
  background: white; box-shadow: var(--shadow-sm); border: 1px solid rgba(226,232,240,0.5);
  color: var(--c-text); border-bottom-left-radius: 4px;
}
.cal-ai-msg--loading { display: flex; align-items: center; gap: 0.5rem; color: var(--c-muted); }
.cal-ai-msg--loading .cal-spinner { width: 16px; height: 16px; border: 2px solid var(--c-teal); border-top-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; }
.cal-ai-prompts { padding: 0.75rem 1.5rem; background: var(--c-sand); border-top: 1px solid rgba(226,232,240,0.5); }
.cal-ai-prompts p { font-size: 0.75rem; font-weight: 500; color: var(--c-muted); margin-bottom: 0.5rem; }
.cal-ai-prompts__list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cal-ai-prompt-btn {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.75rem;
  background: white; border: 1px solid var(--c-border); border-radius: 12px;
  font-size: 0.875rem; color: var(--c-text); cursor: pointer; transition: background 0.2s;
}
.cal-ai-prompt-btn:hover { background: #f8fafc; }
.cal-ai-prompt-btn svg { width: 16px; height: 16px; color: var(--c-teal); }
.cal-ai-modal__input {
  padding: 1rem; background: white; border-top: 1px solid var(--c-border);
  display: flex; align-items: center; gap: 0.75rem;
}
.cal-ai-modal__input input {
  flex: 1; padding: 0.75rem 1rem; background: var(--c-sand); border: none; border-radius: 12px;
  color: var(--c-text); font-size: 0.875rem;
}
.cal-ai-modal__input input::placeholder { color: var(--c-muted); }
.cal-ai-modal__input input:focus { outline: none; box-shadow: 0 0 0 2px rgba(45,212,191,0.3); }
.cal-ai-modal__input button {
  padding: 0.75rem; border-radius: 12px; border: none;
  background: linear-gradient(135deg, var(--c-accent2), var(--c-accent-light)); cursor: pointer;
  transition: all 0.3s; display: flex;
}
.cal-ai-modal__input button:hover { transform: scale(1.05); }
.cal-ai-modal__input button:disabled { opacity: 0.5; transform: none; }
.cal-ai-modal__input button svg { width: 20px; height: 20px; color: white; }

/* ===== LOADING / SKELETONS ===== */
.cal-skeleton { background: #f1f5f9; border-radius: var(--radius-xl); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--c-sand); }
::-webkit-scrollbar-thumb { background: var(--c-primary-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #1a2d4a; }

/* ===== FOCUS STYLES ===== */
*:focus-visible { outline: 2px solid var(--c-accent2); outline-offset: 2px; }

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== PRINT ===== */
@media print { .no-print, .cal-nav, .cal-mobile-overlay, .cal-mobile-menu, .cal-ai-overlay { display: none !important; } }

/* ===== LEAFLET MAP OVERRIDES ===== */
.leaflet-container { font-family: inherit; border-radius: var(--radius-xl); }
.leaflet-popup-content-wrapper { border-radius: 1rem; padding: 0; overflow: hidden; }
.leaflet-popup-content { margin: 0; min-width: 200px; }
.custom-marker { background: transparent !important; border: none !important; }

/* ===== WP ADMIN BAR FIX ===== */
.admin-bar .cal-nav { top: 32px; }
@media(max-width:782px) { .admin-bar .cal-nav { top: 46px; } }
.admin-bar .cal-pills-bar { top: 96px; }
@media(max-width:782px) { .admin-bar .cal-pills-bar { top: 110px; } }
@media(min-width:768px) { .admin-bar .cal-pills-bar { top: 112px; } }

/* ===== TOAST NOTIFICATIONS (v2.0.0) ===== */
.cal-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  padding: 1rem 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  max-width: 400px;
}
.cal-toast--show {
  transform: translateY(0);
  opacity: 1;
}
.cal-toast__content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.cal-toast__content svg {
  flex-shrink: 0;
  color: var(--c-accent);
}
.cal-toast--success .cal-toast__content svg {
  color: #10b981;
}
.cal-toast--info .cal-toast__content svg {
  color: var(--c-teal);
}
.cal-toast--error .cal-toast__content svg {
  color: #ef4444;
}
.cal-toast__content span {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--c-text);
}
@media (max-width: 640px) {
  .cal-toast {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
}

/* ===== FAVOURITES BUTTON & BADGE (v2.0.1) ===== */
.cal-nav__favourites {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  transition: all 0.2s;
  color: inherit;
}
.cal-nav__favourites:hover {
  background: rgba(0,0,0,0.05);
}
.cal-nav--transparent .cal-nav__favourites:hover {
  background: rgba(255,255,255,0.1);
}
.cal-favourites-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--c-accent2);
  color: white;
  font-size: 0.625rem;
  font-weight: 700;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 2px solid var(--c-primary-dark);
  animation: badge-pop 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.cal-nav--transparent .cal-favourites-badge {
  border-color: rgba(255,255,255,0.3);
}
@keyframes badge-pop {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}
@media (max-width: 768px) {
  .cal-nav__favourites {
    display: none;
  }
}
