/*
 * BluStarJourneys — Global styles
 * Version: 3.0.0
 * Date: 2026-08-04
 */

:root {
  --ink: #172235;
  --ink-soft: #56647a;
  --blue: #0b4776;
  --blue-deep: #071f38;
  --sky: #9ebbd2;
  --sand: #d9dfe8;
  --gold: #c6a15b;
  --cream: #f2f6fa;
  --paper: #fbfcfe;
  --white: #ffffff;
  --line: rgba(23, 34, 53, 0.16);
  --shadow: 0 24px 70px rgba(7, 31, 56, 0.14);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --container: min(1180px, calc(100vw - 40px));
  --header-height: 82px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
::selection { background: var(--sand); color: var(--blue-deep); }

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--white);
  color: var(--blue);
  transform: translateY(-150%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.container { width: var(--container); margin-inline: auto; }
.section { padding: clamp(88px, 10vw, 150px) 0; }
.section-tight { padding: clamp(66px, 7vw, 100px) 0; }
.section-dark { color: var(--cream); background: var(--blue-deep); }
.section-cream { background: var(--cream); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  line-height: 1.2;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.display-title,
.section-title,
.card-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.025em;
}
.display-title { font-size: clamp(3.4rem, 8vw, 8.6rem); }
.section-title { max-width: 870px; font-size: clamp(2.5rem, 5.7vw, 5.4rem); }
.card-title { font-size: clamp(1.6rem, 2.3vw, 2.25rem); }
.lead { max-width: 740px; font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.65; }
.muted { color: var(--ink-soft); }

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: var(--blue);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .35s var(--ease), background .35s ease, border-color .35s ease, color .35s ease;
}
.button:hover { transform: translateY(-2px); background: var(--blue-deep); }
.button:focus-visible { outline: 3px solid rgba(182, 144, 88, .45); outline-offset: 3px; }
.button-light { background: var(--cream); color: var(--blue-deep); }
.button-light:hover { background: var(--white); }
.button-outline { border-color: rgba(255,255,255,.55); background: transparent; }
.button-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.button-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: gap .3s var(--ease), color .3s ease;
}
.button-link:hover { gap: 18px; color: var(--gold); }

.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: var(--header-height);
  color: var(--white);
  transition: background .35s ease, box-shadow .35s ease, color .35s ease, height .35s ease;
}
.site-header.is-scrolled,
.site-header.header-solid {
  height: 72px;
  color: var(--blue-deep);
  background: rgba(251,252,254,.96);
  box-shadow: 0 10px 35px rgba(7,31,56,.10);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: var(--container);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.logo { position: relative; z-index: 3; display: inline-flex; width: min(300px, 48vw); color: currentColor; }
.header-controls { display: flex; align-items: center; justify-content: flex-end; gap: clamp(14px, 2vw, 28px); margin-left: auto; }
.logo img { width: 100%; transition: filter .35s ease; }
.site-header:not(.is-scrolled):not(.header-solid) .logo img { filter: brightness(0) invert(1); }
.footer-logo { filter: brightness(0) invert(1); }
.site-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 44px); }
.site-nav a {
  position: relative;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 11px 18px; border: 1px solid currentColor; }
.nav-cta::after { display: none; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.language-switcher {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: currentColor;
}
.language-switcher-mark {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  font-size: .72rem;
  line-height: 1;
  opacity: .82;
}
.language-switcher::after {
  content: "⌄";
  position: absolute;
  right: 2px;
  top: 50%;
  font-size: .72rem;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-58%);
}
.language-switcher select {
  width: 48px;
  min-height: 38px;
  padding: 5px 16px 5px 2px;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  outline: none;
  appearance: none;
  color: currentColor;
  background: transparent;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}
.language-switcher select:focus-visible {
  outline: 3px solid rgba(182, 144, 88, .45);
  outline-offset: 3px;
}
.language-switcher select option { color: var(--blue-deep); background: var(--paper); }
.language-submit {
  min-height: 34px;
  padding: 5px 8px;
  border: 1px solid currentColor;
  background: transparent;
  color: currentColor;
  font-size: .65rem;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-open .nav-toggle span { opacity: 0; }
.nav-open .nav-toggle::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle::after { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--blue-deep);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  animation: heroZoom 18s ease-out both;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,25,46,.18) 0%, rgba(5,25,46,.30) 38%, rgba(5,25,46,.84) 100%);
}
.hero-home::before { background-image: url("../images/rome-cityscape-hero.webp"); }
.hero-about::before { background-image: url("../images/alpine-lake-panorama.webp"); }
.hero-contact::before { background-image: url("../images/europe-map-compass.webp"); }
.hero-page { min-height: 78svh; }
.hero-content {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin-inline: auto;
  padding: calc(var(--header-height) + 90px) 0 clamp(70px, 10vw, 135px);
}
.hero-kicker { margin-bottom: 18px; font-size: .76rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.hero-copy { max-width: 760px; margin: 24px 0 0; font-size: clamp(1.1rem, 2vw, 1.45rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-meta {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: .65rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-meta::before { content: ""; width: 1px; height: 62px; background: rgba(255,255,255,.5); }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1.02); } }

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: start;
}
.intro-index { color: var(--gold); font-family: var(--serif); font-size: 4.4rem; line-height: 1; }
.intro-copy p { margin: 0 0 26px; }

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
.editorial-images { position: relative; min-height: 740px; }
.editorial-images .image-main { position: absolute; inset: 0 22% 11% 0; height: 78%; object-fit: cover; }
.editorial-images .image-float { position: absolute; right: 0; bottom: 0; width: 48%; height: 44%; object-fit: cover; border: 12px solid var(--cream); box-shadow: var(--shadow); }
.editorial-copy .section-title { margin-bottom: 30px; }
.destination-list { margin: 34px 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.destination-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.destination-list span { color: var(--gold); font-family: var(--serif); }

.gallery-band { overflow: hidden; padding: 10px; background: var(--blue-deep); }
.gallery-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.gallery-track figure { aspect-ratio: 4 / 5; margin: 0; overflow: hidden; }
.gallery-track img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .8s var(--ease); }
.gallery-track figure:hover img { transform: scale(1.035); }

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 720px;
}
.split-feature-media { min-height: 560px; }
.split-feature-media img { height: 100%; object-fit: cover; }
.split-feature-copy { display: grid; align-content: center; padding: clamp(55px, 8vw, 130px); background: var(--cream); }
.split-feature-copy p { max-width: 590px; }

.quote-panel {
  position: relative;
  isolation: isolate;
  min-height: 600px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}
.quote-panel::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("../images/rome-imperial-forum.webp") center/cover;
}
.quote-panel::after { content: ""; position: absolute; z-index: -1; inset: 0; background: rgba(5,28,52,.72); }
.quote-panel blockquote { max-width: 1000px; margin: 0; padding: 80px 30px; font-family: var(--serif); font-size: clamp(2.5rem, 5.5vw, 5.5rem); line-height: 1.08; }

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 64px; }
.offer-card { position: relative; min-height: 510px; overflow: hidden; color: var(--white); }
.offer-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .8s var(--ease); }
.offer-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,24,44,.04), rgba(5,24,44,.82)); }
.offer-card-content { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; padding: 32px; }
.offer-card-number { display: block; margin-bottom: 10px; color: var(--sand); font-size: .68rem; letter-spacing: .17em; text-transform: uppercase; }
.offer-card p { margin-bottom: 0; color: rgba(255,255,255,.82); }
.offer-card:hover img { transform: scale(1.045); }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 64px; background: rgba(255,255,255,.14); }
.value-item { padding: clamp(30px, 5vw, 64px); background: var(--blue-deep); }
.value-item span { color: var(--gold); font-family: var(--serif); font-size: 2.1rem; }
.value-item h3 { margin: 18px 0 14px; font-family: var(--serif); font-size: 1.8rem; font-weight: 400; }
.value-item p { margin: 0; color: rgba(255,255,255,.7); }

.process { counter-reset: steps; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 62px; }
.process-step { counter-increment: steps; padding-top: 28px; border-top: 1px solid var(--line); }
.process-step::before { content: "0" counter(steps); display: block; margin-bottom: 30px; color: var(--gold); font-family: var(--serif); font-size: 2rem; }
.process-step h3 { font-family: var(--serif); font-size: 1.8rem; font-weight: 400; }

.cta-section { padding: clamp(90px, 11vw, 160px) 0; color: var(--cream); background: var(--blue); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; }
.cta-grid .section-title { max-width: 820px; }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr);
  gap: clamp(50px, 8vw, 110px);
  align-items: start;
}
.contact-aside { position: sticky; top: 110px; }
.contact-email { display: inline-block; margin-top: 28px; padding-bottom: 6px; border-bottom: 1px solid var(--gold); color: var(--blue); font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 2rem); }
.contact-details { margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--line); }
.contact-details dt { margin-top: 20px; color: var(--ink-soft); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.contact-details dd { margin: 6px 0 0; }

.contact-form { padding: clamp(30px, 5vw, 62px); background: var(--cream); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-group { display: grid; gap: 8px; }
.form-group-full { grid-column: 1 / -1; }
.form-group label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid rgba(23,34,53,.3);
  border-radius: 0;
  outline: none;
  color: var(--ink);
  background: transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-group textarea { min-height: 145px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); box-shadow: 0 1px 0 var(--gold); }
.form-check { grid-column: 1 / -1; display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: .83rem; }
.form-check input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--blue); }
.form-check a { text-decoration: underline; text-underline-offset: 3px; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 12px; }
.form-status { min-height: 25px; margin: 0; font-size: .9rem; }
.form-status.is-error { color: #922f2f; }
.form-status.is-success { color: #23633f; }
.hp-field { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }

.legal-page { padding-top: 150px; }
.privacy-content { max-width: 860px; }
.privacy-content h2 { margin: 55px 0 16px; font-family: var(--serif); font-size: 2.2rem; font-weight: 400; }
.privacy-content h3 { margin: 35px 0 12px; font-family: var(--serif); font-size: 1.5rem; font-weight: 400; }
.privacy-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }


.not-found-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
}
.not-found-content { padding: calc(var(--header-height) + 80px) 0 100px; }
.not-found-content .display-title { max-width: 980px; margin-inline: auto; }
.not-found-content .lead { margin: 28px auto 36px; color: rgba(255,255,255,.72); }

.site-footer { padding: 76px 0 28px; color: rgba(255,255,255,.72); background: #061a30; }
.footer-top { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 70px; padding-bottom: 58px; }
.footer-logo { width: 330px; max-width: 100%; color: var(--cream); }
.footer-tagline { max-width: 440px; margin: 28px 0 0; font-family: var(--serif); font-size: 1.5rem; color: var(--cream); }
.footer-title { margin: 0 0 20px; color: var(--cream); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }
.footer-links { display: grid; gap: 11px; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .76rem; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  :root { --header-height: 74px; }
  .header-controls { gap: 8px; }
  .nav-toggle { display: block; z-index: 3; }
  .site-nav {
    position: fixed;
    z-index: 2;
    inset: 0;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 28px;
    color: var(--cream);
    background: var(--blue-deep);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
  }
  .site-nav a { font-family: var(--serif); font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 400; letter-spacing: 0; text-transform: none; }
  .nav-cta { border: 0; padding: 0; }
  .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open .site-header { color: var(--cream); }
  .nav-open .language-switcher { color: var(--cream); }
  .intro-grid,
  .editorial-grid,
  .contact-layout { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .offer-card:last-child { grid-column: 1 / -1; min-height: 430px; }
  .gallery-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery-track figure { height: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --container: min(100% - 28px, 1180px); }
  .section { padding: 78px 0; }
  .legal-page { padding-top: 120px; }
  .language-switcher-mark { display: none; }
  .language-switcher { gap: 0; }
  .hero-meta { display: none; }
  .hero-content { padding-bottom: 70px; }
  .display-title { font-size: clamp(3.3rem, 18vw, 5.3rem); }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 330px; }
  .button { width: 100%; }
  .editorial-images { min-height: 520px; }
  .editorial-images .image-main { right: 12%; height: 76%; }
  .editorial-images .image-float { width: 52%; border-width: 8px; }
  .gallery-band { padding: 8px; }
  .gallery-track { grid-template-columns: 1fr; gap: 8px; }
  .gallery-track figure { height: auto; aspect-ratio: 4 / 3; }
  .split-feature { grid-template-columns: 1fr; min-height: auto; }
  .split-feature-media { min-height: 430px; }
  .split-feature-copy { padding: 70px 24px; }
  .cards-grid,
  .values-grid,
  .process-grid { grid-template-columns: 1fr; }
  .offer-card, .offer-card:last-child { grid-column: auto; min-height: 470px; }
  .cta-grid { grid-template-columns: 1fr; align-items: start; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group-full, .form-check, .form-actions { grid-column: auto; }
  .contact-form { padding: 30px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 44px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
