/* ---------- Tokens ---------- */
:root {
  --navy: #0f2d4a;
  --navy-soft: #18406a;
  --aegean: #1e6fa8;
  --aegean-dark: #155a8a;
  --terracotta: #c4552a;
  --terracotta-dark: #a04420;
  --gold: #e8a84c;
  --ivory: #faf7f2;
  --cream: #f3ede4;
  --ink: #1c2733;
  --muted: #56636f;
  --line: #e3dccf;
  --shadow: 0 12px 32px rgba(15, 45, 74, 0.12);
  --shadow-lg: 0 24px 56px rgba(15, 45, 74, 0.18);
  --radius: 14px;
  --radius-lg: 22px;
  --max: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--aegean); text-decoration: none; }
a:hover { color: var(--aegean-dark); }
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--navy);
}
p { margin: 0 0 1em; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 600;
  color: var(--terracotta);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 14px;
}
.section-lede {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all 0.25s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 2px 16px rgba(15, 45, 74, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo__mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--gold) 100%);
  display: inline-block;
}
.nav-list {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-list a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-list a:hover { color: var(--terracotta); }
.nav-cta {
  background: var(--terracotta);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--terracotta-dark); }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform 0.25s;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-align: center;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--terracotta-dark); color: #fff; }
.btn-affiliate { background: var(--aegean); color: #fff; }
.btn-affiliate:hover { background: var(--aegean-dark); color: #fff; }
.btn-affiliate-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.28); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(180deg, rgba(15, 45, 74, 0.42) 0%, rgba(15, 45, 74, 0.62) 100%),
    url('riviera-hero.webp');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 80px 0 60px;
}
.hero__content { max-width: 760px; }
.hero__eyebrow {
  display: inline-block;
  background: rgba(196, 85, 42, 0.92);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  color: #fff;
  margin-bottom: 18px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}
.hero__lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(255, 255, 255, 0.94);
  max-width: 600px;
  margin-bottom: 32px;
  line-height: 1.6;
}
.hero__buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero__chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.chip {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}
.chip:hover { background: rgba(255, 255, 255, 0.28); color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section--light { background: var(--ivory); }
.section--cream { background: var(--cream); }
.section--dark {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.92);
}
.section--dark h2,
.section--dark h3,
.section--dark .eyebrow { color: #fff; }
.section--dark .eyebrow { color: var(--gold); }
.section--dark .section-lede { color: rgba(255, 255, 255, 0.78); }

.section-head { margin-bottom: 48px; }

/* ---------- Card grids ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream);
}
.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.card:hover .card__img img { transform: scale(1.05); }
.card__body { padding: 22px 24px 26px; flex-grow: 1; display: flex; flex-direction: column; }
.card__tag {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 8px;
}
.card__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin: 0 0 10px;
  color: var(--navy);
}
.card__desc { color: var(--muted); font-size: 0.95rem; flex-grow: 1; }
.card__cta { margin-top: 16px; }

/* Hotel category cards */
.hotel-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--aegean);
}
.hotel-card--lux { border-top-color: var(--terracotta); }
.hotel-card--mid { border-top-color: var(--gold); }
.hotel-card__price {
  display: inline-block;
  background: var(--cream);
  color: var(--navy);
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 12px;
}
.hotel-card__list { padding-left: 18px; color: var(--muted); margin: 12px 0 18px; }
.hotel-card__list li { margin-bottom: 6px; }

/* ---------- CTA boxes ---------- */
.cta-box {
  background: linear-gradient(135deg, #fff 0%, var(--cream) 100%);
  border: 1px solid var(--line);
  border-left: 4px solid var(--aegean);
  padding: 26px 28px;
  border-radius: var(--radius);
  margin: 28px 0;
}
.cta-box--terracotta { border-left-color: var(--terracotta); }
.cta-box--gold { border-left-color: var(--gold); }
.cta-box__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
}
.cta-box__desc { color: var(--muted); margin: 0 0 16px; font-size: 0.97rem; }
.cta-box__buttons { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Plan section affiliate hub ---------- */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.plan-tile {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 26px 22px;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.plan-tile:hover { background: rgba(255, 255, 255, 0.12); }
.plan-tile__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(232, 168, 76, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 1.4rem;
}
.plan-tile h3 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.plan-tile p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  margin: 0 0 14px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0a1f33;
  color: rgba(255, 255, 255, 0.74);
  padding: 70px 0 30px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.site-footer h4 {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255, 255, 255, 0.74); }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
}
.affiliate-disclosure {
  background: rgba(232, 168, 76, 0.08);
  border: 1px solid rgba(232, 168, 76, 0.2);
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 30px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

/* ---------- Blog post styles ---------- */
.post-hero {
  background-image:
    linear-gradient(180deg, rgba(15, 45, 74, 0.36) 0%, rgba(15, 45, 74, 0.74) 100%),
    var(--post-bg, url('riviera-ksamil.webp'));
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 130px 0 80px;
  text-align: left;
}
.post-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  max-width: 820px;
  margin-bottom: 16px;
}
.post-hero__meta {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.post-hero__meta span::before { content: '· '; margin-right: 6px; }
.post-hero__meta span:first-child::before { content: ''; margin: 0; }

.breadcrumbs {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 20px;
}
.breadcrumbs a { color: rgba(255, 255, 255, 0.78); }
.breadcrumbs a:hover { color: #fff; }

.post-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 70px 24px;
}
.post-body h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-top: 50px;
  margin-bottom: 18px;
}
.post-body h3 { font-size: 1.3rem; margin-top: 30px; }
.post-body p, .post-body li { font-size: 1.05rem; line-height: 1.75; color: var(--ink); }
.post-body ul, .post-body ol { padding-left: 22px; margin: 0 0 1.2em; }
.post-body li { margin-bottom: 8px; }

/* Month table */
.month-table-wrap { overflow-x: auto; margin: 24px 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.month-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.95rem;
}
.month-table th {
  background: var(--navy);
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.month-table td {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  vertical-align: middle;
}
.month-table tr:nth-child(even) td { background: var(--ivory); }
.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.dot--green { background: #2e9e5e; }
.dot--yellow { background: var(--gold); }
.dot--red { background: #c4552a; }
.dot--grey { background: #b8b1a4; }

/* Season cards */
.season-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 28px 0;
}
.season-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--aegean);
}
.season-card h3 { margin: 12px 0 8px; font-size: 1.2rem; }
.season-card p { font-size: 0.95rem; color: var(--muted); margin: 0 0 14px; }
.season-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.badge--peak { background: rgba(196, 85, 42, 0.15); color: var(--terracotta); }
.badge--sweet { background: rgba(46, 158, 94, 0.15); color: #2e9e5e; }
.badge--shoulder { background: rgba(232, 168, 76, 0.18); color: #b97f1d; }
.badge--offpeak { background: rgba(86, 99, 111, 0.15); color: var(--muted); }
.season-stat-row { display: flex; gap: 16px; flex-wrap: wrap; }
.season-stat { font-size: 0.86rem; color: var(--muted); }
.season-stat strong { display: block; color: var(--navy); font-size: 1.05rem; }

/* Persona cards */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 28px 0;
}
.persona-card {
  padding: 22px;
  border-radius: var(--radius);
  border-left: 4px solid var(--aegean);
  background: var(--cream);
}
.persona-card h4 { margin: 0 0 8px; font-size: 1.1rem; }
.persona-card p { font-size: 0.94rem; margin: 0; color: var(--ink); }
.persona-card--couples { border-left-color: var(--terracotta); }
.persona-card--adventure { border-left-color: #2e9e5e; }
.persona-card--luxury { border-left-color: var(--gold); }

/* FAQ */
.faq-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(15, 45, 74, 0.06);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--navy);
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.5rem;
  color: var(--terracotta);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin: 12px 0 0; font-size: 0.98rem; color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .nav-list {
    position: absolute;
    top: 100%;
    right: 16px;
    flex-direction: column;
    background: #fff;
    padding: 18px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    gap: 16px;
    min-width: 220px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s;
  }
  .nav-list.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero { min-height: 80vh; padding: 60px 0; }
  .section { padding: 60px 0; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
