/* =========================================================
   KALIPSO - BASE STYLESHEET (loaded on every page)
   ========================================================= */
:root {
    --navy: #0a1f44;
    --blue: #1656d6;
    --blue-dark: #0f3fa8;
    --blue-light: #eaf1fd;
    --text-dark: #16213e;
    --text-gray: #6b7280;
    --bg-light: #f5f8fc;
    --border: #e5e9f0;
    --white: #ffffff;
    --radius: 10px;
    --shadow: 0 4px 18px rgba(10, 31, 68, 0.08);
    --font: 'Segoe UI', 'Noto Sans Georgian', Tahoma, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
}

body.rtl { direction: rtl; text-align: right; }

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

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy); color: #cdd8ee; font-size: 13.5px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.topbar-left { display: flex; gap: 24px; }
.topbar-item { display: flex; align-items: center; gap: 6px; color: #cdd8ee; }
.topbar-item:hover { color: var(--white); }
.lang-switch { display: flex; align-items: center; gap: 4px; }
.lang-switch a { color: #cdd8ee; padding: 2px 4px; font-weight: 600; }
.lang-switch a.active, .lang-switch a:hover { color: var(--white); }
.lang-switch .sep { color: #4a5b82; margin: 0 2px; }

/* ---------- Navbar ---------- */
.navbar { background: var(--white); box-shadow: 0 2px 10px rgba(10,31,68,0.06); position: sticky; top: 0; z-index: 100; }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 20px; }

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo img { height: 52px; width: auto; }
.logo-text { font-size: 22px; font-weight: 800; color: var(--blue); letter-spacing: 0.5px; line-height: 1.1; }
.logo-text small { display: block; font-size: 11px; font-weight: 500; color: var(--text-gray); letter-spacing: 0.2px; }

.main-nav { display: flex; align-items: center; gap: 32px; flex: 1; justify-content: center; }
.main-nav a { display: flex; align-items: center; gap: 7px; font-weight: 600; color: var(--text-dark); font-size: 15.5px; padding: 6px 2px; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: var(--blue); border-color: var(--blue); }

.quote-btn { flex-shrink: 0; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.burger span { width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: 0.2s; }

/* ---------- Inner page hero banner (pools/faq/contact) ---------- */
.page-hero { background: linear-gradient(120deg, var(--navy), var(--blue-dark)); color: var(--white); padding: 56px 0; text-align: center; }
.page-hero h1 { font-size: 34px; font-weight: 800; margin-bottom: 10px; }
.page-hero p { color: #cdd8ee; max-width: 560px; margin: 0 auto; }

/* ---------- Section helpers ---------- */
.section { padding: 70px 0; }
.section-tag { color: var(--blue); font-weight: 700; font-size: 13.5px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; display: block; }
.section-title { font-size: 32px; font-weight: 800; color: var(--navy); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; gap: 20px; flex-wrap: wrap; }
.link-arrow { color: var(--blue); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c6e3; padding-top: 56px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-logo { height: 46px; margin-bottom: 8px; filter: brightness(0) invert(1); }
.footer-brand p { color: var(--white); font-weight: 800; font-size: 20px; letter-spacing: 0.5px; }
.footer-brand span { color: #8ea1c9; font-size: 14px; }
.footer-col h4 { color: var(--white); font-size: 16px; margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; color: #b9c6e3; margin-bottom: 10px; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; font-size: 13.5px; color: #8ea1c9; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .main-nav { display: none; position: fixed; top: 124px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: flex-start; gap: 0; padding: 20px 24px; }
    .main-nav.open { display: flex; box-shadow: var(--shadow); }
    .main-nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border); }
    .burger { display: flex; }
    .quote-btn { display: none; }
    .footer-inner { grid-template-columns: 1fr; }
    .topbar-item span, .topbar-left { font-size: 12px; }
}
@media (max-width: 600px) {
    .topbar-left { gap: 12px; }
    .topbar-item svg { display: none; }
    .navbar-inner { height: 70px; }
    .logo img { height: 40px; }
    .logo-text { font-size: 17px; }
}