/*
Theme Name: Cityguides by Planet Polaris
Theme URI: https://cityguides.be/
Author: Planet Polaris
Author URI: https://planetpolaris.com/
Description: Premium one-page WordPress theme for the Planet Polaris hotel cityguide service.
Version: 1.5.6
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: cityguides-polaris
*/

:root {
  --ink: #071c2c;
  --ink-2: #0d2d43;
  --cream: #f7f1e8;
  --paper: #fffdf9;
  --gold: #e9a84b;
  --gold-light: #ffc973;
  --sky: #bfd7e4;
  --muted: #61717d;
  --line: rgba(7, 28, 44, .13);
  --radius: 24px;
  --shadow: 0 24px 70px rgba(3, 19, 31, .14);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; }
body {
	width: 100%;
	max-width: 100%;
	margin: 0;
	overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow-x: clip; overscroll-behavior: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.cg-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.cg-kicker {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.03; letter-spacing: -.035em; }
h1 { max-width: 850px; margin-bottom: 25px; color: #fff; font-size: clamp(48px, 7vw, 94px); }
h2 { margin-bottom: 24px; font-size: clamp(40px, 5vw, 68px); }
h3 { margin-bottom: 10px; font-size: 20px; line-height: 1.25; }
.cg-accent { color: var(--gold-light); font-style: italic; }
.cg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.cg-button:hover { transform: translateY(-2px); background: var(--gold-light); }
.cg-button:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }
.cg-button--ghost { border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.08); color: #fff; }
.cg-button--ghost:hover { border-color: #fff; background: rgba(255,255,255,.16); }

.cg-faq__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cg-faq details { padding: 24px 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.cg-faq summary { position: relative; padding-right: 30px; cursor: pointer; list-style: none; font-size: 18px; font-weight: 800; line-height: 1.35; }
.cg-faq summary::-webkit-details-marker { display: none; }
.cg-faq summary::after { content: '+'; position: absolute; top: -4px; right: 0; color: var(--gold); font-size: 28px; font-weight: 400; }
.cg-faq details[open] summary::after { content: '\2212'; }
.cg-faq details p { margin: 16px 0 0; color: var(--muted); }

.cg-more { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.cg-more::before { position: absolute; top: -240px; right: -180px; width: 620px; height: 620px; border: 1px solid rgba(233,168,75,.18); border-radius: 50%; content: ''; }
.cg-more__head { position: relative; z-index: 1; }
.cg-more__head p { color: rgba(255,255,255,.64); }
.cg-hotel-tools { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cg-hotel-tool { min-height: 270px; padding: 30px; border: 1px solid rgba(255,255,255,.13); border-radius: 18px; background: rgba(255,255,255,.045); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.cg-hotel-tool:hover { transform: translateY(-4px); border-color: rgba(233,168,75,.65); background: rgba(255,255,255,.07); }
.cg-hotel-tool__number { display: block; margin-bottom: 42px; color: var(--gold-light); font-family: var(--serif); font-size: 18px; font-style: italic; }
.cg-hotel-tool h3 { color: #fff; font-family: var(--serif); font-size: 26px; font-weight: 400; }
.cg-hotel-tool p { margin-bottom: 0; color: rgba(255,255,255,.63); font-size: 15px; }
.cg-more__cta { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 35px; margin-top: 40px; padding: 30px 34px; border-radius: 18px; background: rgba(255,255,255,.08); }
.cg-more__cta strong { display: block; margin-bottom: 3px; font-family: var(--serif); font-size: 25px; font-weight: 400; }
.cg-more__cta p { margin-bottom: 0; color: rgba(255,255,255,.6); font-size: 14px; }
.cg-more__cta .cg-button { flex: 0 0 auto; }

.cg-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(to bottom, rgba(7,28,44,.65), rgba(7,28,44,0));
  color: #fff;
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
  padding-top: env(safe-area-inset-top, 0px);
}
.cg-header.is-scrolled,
body:not(.home) .cg-header {
  background: rgba(7,28,44,.94);
  box-shadow: 0 8px 30px rgba(0,0,0,.16);
  backdrop-filter: blur(14px);
}
body:not(.home) main { padding-top: 0; }
.cg-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 30px; }
.cg-brand { display: inline-flex; align-items: center; gap: 13px; color: #fff; font-size: 15px; font-weight: 800; letter-spacing: .04em; text-decoration: none; }
.cg-brand__mark { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid var(--gold); color: var(--gold-light); font-family: var(--serif); font-size: 21px; }
.cg-brand small { display: block; opacity: .65; font-size: 9px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.custom-logo { max-height: 45px; width: auto; }
.cg-nav { display: flex; align-items: center; gap: 20px; }
.cg-nav a { color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
.cg-nav > a:not(.cg-button):hover { color: var(--gold-light); }
.cg-lang { display: flex; flex: 0 0 auto; gap: 2px; padding: 3px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; }
.cg-nav .cg-lang a { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; color: rgba(255,255,255,.72); font-size: 9px; letter-spacing: .06em; }
.cg-nav .cg-lang a:hover { color: #fff; }
.cg-nav .cg-lang a[aria-current="page"] { background: var(--gold); color: var(--ink); }
.cg-menu-toggle { display: none; border: 0; background: transparent; color: #fff; font: inherit; font-weight: 700; }

.cg-hero {
  position: relative;
  overflow: hidden;
  min-height: 980px;
  padding: 180px 0 76px;
  background: var(--ink);
  color: #fff;
}
.home .cg-hero { margin-top: calc(-84px - env(safe-area-inset-top, 0px)); }
.cg-hero::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(45, 117, 151, .4), transparent 36%),
    radial-gradient(circle at 10% 60%, rgba(233, 168, 75, .1), transparent 28%),
    linear-gradient(155deg, #071c2c 15%, #0b304a 68%, #071c2c 100%);
  content: '';
}
.cg-hero::after { position: absolute; inset: auto -10% -280px; height: 500px; border: 1px solid rgba(233,168,75,.22); border-radius: 50%; content: ''; pointer-events: none; }
.cg-hero__inner { position: relative; z-index: 1; }
.cg-hero__lead { max-width: 660px; margin-bottom: 34px; color: rgba(255,255,255,.78); font-size: clamp(18px, 2vw, 22px); }
.cg-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cg-hero__visual { position: relative; margin-top: 70px; }
.cg-hero__visual::before { position: absolute; inset: 13% 8% -8%; border-radius: 50%; background: rgba(233,168,75,.25); filter: blur(80px); content: ''; }
.cg-hero__visual img { position: relative; width: 100%; border: 1px solid rgba(255,255,255,.16); border-radius: 30px; box-shadow: 0 40px 100px rgba(0,0,0,.45); }
.cg-proof { display: grid; grid-template-columns: repeat(3, 1fr); width: min(640px, 88%); margin: -42px auto 0; position: relative; z-index: 2; border: 1px solid rgba(255,255,255,.13); border-radius: 18px; background: rgba(7,28,44,.88); box-shadow: var(--shadow); backdrop-filter: blur(16px); }
.cg-proof div { padding: 20px 26px; text-align: center; }
.cg-proof div + div { border-left: 1px solid rgba(255,255,255,.13); }
.cg-proof strong { display: block; color: var(--gold-light); font-family: var(--serif); font-size: 24px; font-weight: 400; }
.cg-proof span { color: rgba(255,255,255,.65); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

.cg-section { padding: 120px 0; }
.cg-section--cream { background: var(--cream); }
.cg-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 9vw, 130px); align-items: start; }
.cg-intro__aside { padding-top: 13px; border-top: 1px solid var(--ink); color: var(--muted); font-size: 14px; }
.cg-intro__copy p { max-width: 760px; font-size: clamp(18px, 2vw, 23px); }

.cg-section__head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 55px; }
.cg-section__head h2 { max-width: 700px; margin-bottom: 0; }
.cg-section__head p { max-width: 390px; margin-bottom: 8px; color: var(--muted); }
.cg-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cg-benefit { min-height: 210px; padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.cg-benefit:hover { transform: translateY(-4px); border-color: rgba(233,168,75,.7); box-shadow: 0 18px 40px rgba(7,28,44,.08); }
.cg-benefit__number { display: block; margin-bottom: 35px; color: #ba7b25; font-family: var(--serif); font-size: 18px; font-style: italic; }
.cg-benefit p { margin-bottom: 0; color: var(--muted); font-size: 15px; }

.cg-steps { background: var(--ink); color: #fff; }
.cg-steps h2 { max-width: 700px; }
.cg-step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 55px; background: rgba(255,255,255,.15); }
.cg-step { min-height: 300px; padding: 38px; background: var(--ink); }
.cg-step span { display: block; margin-bottom: 75px; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.cg-step h3 { font-family: var(--serif); font-size: 28px; font-weight: 400; }
.cg-step p { color: rgba(255,255,255,.65); font-size: 15px; }

.cg-pricing { display: grid; grid-template-columns: 1fr .95fr; gap: clamp(45px, 8vw, 100px); align-items: center; }
.cg-price-card { overflow: hidden; border-radius: var(--radius); background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.cg-price-card__top { padding: 45px; border-bottom: 1px solid rgba(255,255,255,.12); }
.cg-price-card__label { color: var(--gold-light); font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.cg-price { margin: 12px 0 4px; font-family: var(--serif); font-size: clamp(55px, 7vw, 82px); line-height: 1; }
.cg-price small { font-family: var(--sans); font-size: 14px; opacity: .58; }
.cg-price-card ul { display: grid; gap: 12px; margin: 0; padding: 35px 45px 45px; list-style: none; }
.cg-price-card li { position: relative; padding-left: 28px; color: rgba(255,255,255,.78); font-size: 14px; }
.cg-price-card li::before { position: absolute; left: 0; color: var(--gold-light); content: '\2713'; font-weight: 900; }
.cg-license { margin: 28px 0; padding: 22px 0; border-block: 1px solid var(--line); }
.cg-license strong { display: block; margin-bottom: 6px; }
.cg-license p, .cg-pricing__copy > p { color: var(--muted); }

.cg-final { position: relative; overflow: hidden; padding: 120px 0; background: #d99030; }
.cg-final::after { position: absolute; top: -220px; right: -140px; width: 520px; height: 520px; border: 1px solid rgba(7,28,44,.2); border-radius: 50%; content: ''; pointer-events: none; }
.cg-final__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr .7fr; gap: 60px; align-items: end; }
.cg-final h2 { max-width: 850px; margin-bottom: 0; }
.cg-final__action { text-align: right; }
.cg-final .cg-button { background: var(--ink); color: #fff; }
.cg-final .cg-button:hover { background: var(--ink-2); }
.cg-final__action p { margin-top: 14px; margin-bottom: 0; font-size: 13px; }

.cg-footer { padding: 34px 0; background: var(--ink); color: rgba(255,255,255,.55); font-size: 12px; }
.cg-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cg-footer a { color: #fff; text-decoration: none; }

.cg-modal {
  width: min(720px, calc(100% - 28px));
  max-height: min(90vh, 860px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 24px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .45);
}
.cg-modal::backdrop { background: rgba(2, 15, 24, .82); backdrop-filter: blur(6px); }
.cg-modal__inner { position: relative; padding: clamp(30px, 6vw, 58px); }
.cg-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 23px;
  line-height: 1;
}
.cg-modal h2 { max-width: 520px; margin-bottom: 14px; font-size: clamp(38px, 6vw, 58px); }
.cg-modal__intro { max-width: 570px; margin-bottom: 30px; color: var(--muted); }
.cg-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cg-field { display: grid; gap: 7px; }
.cg-field--wide { grid-column: 1 / -1; }
.cg-field label { font-size: 13px; font-weight: 800; }
.cg-field input, .cg-field textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.cg-field textarea { min-height: 125px; resize: vertical; }
.cg-field input:focus, .cg-field textarea:focus { border-color: var(--gold); outline: 3px solid rgba(233,168,75,.2); }
.cg-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.cg-form__footer { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 6px; }
.cg-form__footer small { max-width: 290px; color: var(--muted); font-size: 11px; }
.cg-notice { margin-bottom: 25px; padding: 14px 17px; border-radius: 10px; font-size: 14px; }
.cg-notice--success { background: #e2f4e9; color: #155e37; }
.cg-notice--error { background: #fbe7e5; color: #8a2920; }

@media (max-width: 1080px) {
  .cg-menu-toggle { display: block; }
  body.menu-open .cg-header { background: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .cg-nav {
    position: absolute;
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    z-index: 50;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    padding: calc(100px + env(safe-area-inset-top, 0px)) max(24px, calc((100vw - 720px) / 2)) calc(32px + env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--ink);
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .cg-nav.is-open { display: flex; }
  .cg-nav a { display: flex; flex: 0 0 auto; align-items: center; min-height: 58px; padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 19px; }
  .cg-lang { align-self: flex-start; margin-top: 22px; }
  .cg-nav .cg-lang a { display: grid; width: 38px; height: 38px; min-height: 38px; padding: 0; border: 0; font-size: 10px; }
  .cg-nav .cg-button { align-self: flex-start; min-height: 54px; margin-top: 24px; padding: 14px 24px; border-bottom: 0; font-size: 14px; }
  .cg-menu-toggle { position: relative; z-index: 60; }
  .cg-intro, .cg-pricing, .cg-final__inner { grid-template-columns: 1fr; }
  .cg-benefits { grid-template-columns: repeat(2, 1fr); }
  .cg-hotel-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cg-faq__grid { grid-template-columns: 1fr; }
  .cg-section__head { display: block; }
  .cg-section__head p { margin-top: 20px; }
  .cg-final__action { text-align: left; }
  .cg-more__cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .cg-container { width: min(100% - 28px, 1180px); }
  .cg-header__inner { min-height: 72px; }
	.home .cg-hero { margin-top: calc(-72px - env(safe-area-inset-top, 0px)); }
  .cg-hero { min-height: auto; padding: 135px 0 70px; }
  .cg-hero__visual { margin-top: 48px; }
  .cg-hero__visual img { border-radius: 16px; }
  .cg-proof { width: calc(100% - 18px); margin-top: -20px; }
  .cg-proof div { padding: 13px 8px; }
  .cg-proof strong { font-size: 18px; }
  .cg-proof span { font-size: 8px; }
  .cg-section { padding: 80px 0; }
  .cg-benefits, .cg-step-grid, .cg-hotel-tools { grid-template-columns: 1fr; }
  .cg-benefit { min-height: 170px; }
  .cg-hotel-tool { min-height: auto; }
  .cg-hotel-tool__number { margin-bottom: 28px; }
  .cg-more__cta { padding: 25px; }
  .cg-more__cta .cg-button { width: 100%; }
  .cg-step { min-height: 245px; }
  .cg-step span { margin-bottom: 44px; }
  .cg-price-card__top { padding: 32px; }
  .cg-price-card ul { padding: 28px 32px 36px; }
  .cg-footer__inner { display: block; }
  .cg-form { grid-template-columns: 1fr; }
  .cg-field--wide, .cg-form__footer { grid-column: auto; }
  .cg-form__footer { align-items: stretch; flex-direction: column-reverse; }
}

@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}

@media (max-width: 480px) {
  h1 { font-size: 42px; }
  .cg-actions { display: grid; }
  .cg-actions .cg-button { width: 100%; }
  .cg-price { font-size: 52px; }
  .cg-final .cg-button { width: 100%; }
  .cg-modal__inner { padding: 48px 22px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
