@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Bebas+Neue&display=swap');

:root {
  --navy:       #0D2B4E;
  --navy-mid:   #1A4F82;
  --blue:       #1A6BC4;
  --sky:        #4BA3DC;
  --ice:        #D6E8F5;
  --white:      #FFFFFF;
  --bg:         #F0F4F9;
  --bg-alt:     #E4EEF7;
  --border:     #C2D5E8;
  --text:       #0D2B4E;
  --text-muted: #3D5A7A;
  --nav-h:      70px;
  --r:          6px;
  --r-lg:       14px;
  --sh-sm:      0 1px 4px rgba(13,43,78,.10);
  --sh-md:      0 4px 16px rgba(13,43,78,.14);
  --sh-lg:      0 8px 32px rgba(13,43,78,.18);
  --ease:       0.22s ease;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: 'Inter', system-ui, sans-serif; font-size: 16px; line-height: 1.75; color: var(--text); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--navy); }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }

h1,h2,h3,h4,h5,h6 { color: var(--navy); font-weight: 700; line-height: 1.2; margin: 1.5em 0 .5em; }
h1 { font-size: clamp(1.8rem,5vw,3.2rem); }
h2 { font-size: clamp(1.3rem,3vw,2.2rem); border-bottom: 2px solid var(--border); padding-bottom: .4rem; margin-top: 2.5rem; }
h3 { font-size: clamp(1rem,2vw,1.5rem); color: var(--navy-mid); }
p { margin-bottom: 1.1em; max-width: 72ch; }
strong { color: var(--navy); font-weight: 600; }
ul,ol { padding-left: 1.5rem; margin-bottom: 1.2rem; }
li { margin-bottom: .35rem; }
li::marker { color: var(--sky); }

/* Nav */
#header { position: fixed !important; top: 0; left: 0; right: 0; height: var(--nav-h); background: var(--navy) !important; border-bottom: 3px solid var(--sky) !important; box-shadow: var(--sh-md) !important; z-index: 1000; }
#header.scrolled { background: rgba(13,43,78,.97) !important; }
#header .navbar { height: var(--nav-h); display: flex; align-items: center; width: 100%; }
#header .navbar-section { display: flex; align-items: center; height: 100%; }
#header .logo { display: flex; align-items: center; height: 100%; }
#header .site-title { line-height: 1; display: flex; align-items: center; height: 100%; }
#header .site-title { color: var(--white) !important; font-size: 1.3rem; font-weight: 700; }
#header .dropmenu a { color: rgba(255,255,255,.88) !important; font-size: .82rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: .4rem .75rem; border-radius: var(--r); transition: color var(--ease), background var(--ease); text-decoration: none !important; }
#header .dropmenu a:hover { color: var(--white) !important; background: rgba(75,163,220,.22); }
#header .dropmenu li.active > a { color: var(--sky) !important; }
#header .dropmenu ul { background: var(--navy); border: 1px solid rgba(75,163,220,.25); border-top: 3px solid var(--sky); border-radius: 0 0 var(--r) var(--r); box-shadow: var(--sh-lg); min-width: 200px; }
#header .dropmenu ul li a { padding: .6rem 1.1rem !important; border-left: 3px solid transparent; display: block; }
#header .dropmenu ul li a:hover { border-left-color: var(--sky); background: rgba(75,163,220,.15) !important; padding-left: 1.5rem !important; }

/* Mobile Nav */
.mobile-menu { position: fixed; top: 0; right: 1rem; z-index: 1001; height: var(--nav-h); display: flex; align-items: center; }
.mobile-menu .button_container span { background: var(--white); }
#overlay { background: var(--navy); }
.overlay-menu a { color: rgba(255,255,255,.88) !important; font-size: 1.05rem; padding: .85rem 1.5rem; display: block; border-bottom: 1px solid rgba(75,163,220,.12); }
.overlay-menu a:hover { color: var(--sky) !important; background: rgba(75,163,220,.1); }
.mobile-logo a { color: var(--white) !important; }

/* Layout */
#page-wrapper { padding-top: var(--nav-h); }
section#body-wrapper { padding-top: 0.5rem !important; padding-bottom: 2rem !important; }
#body-wrapper .container { max-width: 960px; padding: 0 1.5rem; }
.logo a,.site-title { color: var(--white) !important; font-weight: 700; font-size: 1.25rem; text-decoration: none !important; }

/* Hero */
.page-hero { position: relative; width: 100%; min-height: 60vh; padding-top: var(--nav-h); background: var(--navy); background-image: url('/user/images/hero-vespa.jpg'); background-size: cover; background-position: center 40%; display: flex; align-items: flex-end; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,43,78,.88) 0%, rgba(13,43,78,.45) 60%, rgba(13,43,78,.15) 100%); }
.page-hero-content { position: relative; z-index: 1; padding: 2rem clamp(1rem,4vw,5rem); width: 100%; }
.hero-badge { display: inline-flex; align-items: center; gap: .4rem; background: var(--sky); color: var(--white) !important; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .4rem 1.1rem; border-radius: 999px; text-decoration: none !important; transition: background var(--ease), color var(--ease); }
.hero-badge:hover { background: var(--white); color: var(--navy) !important; }

/* Buttons */
.btn,.button,a.button,input[type="submit"] { display: inline-flex; align-items: center; justify-content: center; background: var(--blue); color: var(--white) !important; border: 2px solid var(--blue); border-radius: var(--r); padding: .7rem 1.6rem; font-size: .875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none !important; cursor: pointer; transition: background var(--ease), transform .15s, box-shadow var(--ease); box-shadow: var(--sh-sm); }
.btn:hover,.button:hover,a.button:hover { background: var(--navy-mid); border-color: var(--navy-mid); transform: translateY(-2px); box-shadow: var(--sh-md); color: var(--white) !important; }

/* Content */
blockquote { border-left: 4px solid var(--sky); background: var(--ice); color: var(--navy-mid); padding: 1rem 1.5rem; border-radius: 0 var(--r) var(--r) 0; margin: 1.5rem 0; }
blockquote p { margin: 0; }
hr { border: none; border-top: 2px solid var(--border); margin: 2.5rem 0; }
table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
th { background: var(--navy); color: var(--white); padding: .7rem 1rem; text-align: left; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
td { padding: .6rem 1rem; border-bottom: 1px solid var(--border); }
tr:nth-child(even) td { background: var(--bg-alt); }
tr:hover td { background: var(--ice); }

/* FAQ */
.faq-accordion { margin: 1.5rem 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); }
.faq-item { border-bottom: 1px solid rgba(255,255,255,.1); }
.faq-item:last-child { border-bottom: none; }
.faq-question { width: 100%; display: flex !important; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; background: var(--navy) !important; border: none !important; border-radius: 0 !important; cursor: pointer; font-family: inherit; font-size: .95rem; font-weight: 600; color: var(--white) !important; text-align: left; letter-spacing: 0; text-transform: none !important; box-shadow: none !important; transform: none !important; transition: background var(--ease); }
.faq-question:hover { background: var(--navy-mid) !important; transform: none !important; }
.faq-item.open .faq-question { background: var(--blue) !important; }
.faq-text { flex: 1; }
.faq-icon { flex-shrink: 0; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.15); color: var(--white); border-radius: 50%; font-size: 1.1rem; line-height: 1; transition: transform var(--ease); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 1.25rem; background: var(--bg-alt); border-top: 1px solid var(--border); }
.faq-answer[hidden] { display: none !important; }
.faq-answer p { color: var(--text-muted); font-size: .95rem; line-height: 1.85; margin: 0; max-width: 100%; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Timeline */
.lvv-timeline { position: relative; padding: 2rem 0; margin: 2rem 0; }
.lvv-timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; background: linear-gradient(to bottom, var(--sky), var(--navy-mid)); transform: translateX(-50%); }
.lvv-tl-item { display: flex; width: 50%; padding-bottom: 2.5rem; opacity: 0; transform: translateX(-30px); transition: opacity .6s ease, transform .6s ease; }
.lvv-tl-item.lvv-visible { opacity: 1; transform: translateX(0); }
.lvv-tl-right { margin-left: 50%; transform: translateX(30px); }
.lvv-tl-right.lvv-visible { transform: translateX(0); }
.lvv-tl-content { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.25rem 1.5rem; box-shadow: var(--sh-sm); position: relative; margin: 0 2rem; width: 100%; transition: box-shadow var(--ease); }
.lvv-tl-content:hover { box-shadow: var(--sh-md); }
.lvv-tl-left .lvv-tl-content::after { content: '\1F6F5'; font-size: 1.1rem; position: absolute; right: -2.4rem; top: .8rem; width: auto; height: auto; background: none; border: none; box-shadow: none; border-radius: 0; transform: scaleX(-1); }
.lvv-tl-right .lvv-tl-content::before { content: '\1F6F5'; font-size: 1.1rem; position: absolute; left: -2.4rem; top: .8rem; width: auto; height: auto; background: none; border: none; box-shadow: none; border-radius: 0; }
.lvv-tl-year { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; color: var(--sky); line-height: 1; margin-bottom: .25rem; }
.lvv-tl-title { font-size: 1rem; font-weight: 700; color: var(--navy); margin: 0 0 .5rem; border: none; padding: 0; }
.lvv-tl-desc { font-size: .875rem; color: var(--text-muted); line-height: 1.65; margin: 0 0 .75rem; max-width: 100%; }
.lvv-tl-stats { display: flex; flex-wrap: wrap; gap: .4rem; }
.lvv-tl-stats span { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--ice); color: var(--navy-mid); border: 1px solid var(--border); border-radius: 999px; padding: .2rem .7rem; }

/* Footer */
#footer { background: var(--navy) !important; border-top: 3px solid var(--sky) !important; padding: 3rem 1.5rem 0 !important; }
.lvv-footer-inner { display: flex; flex-direction: row; gap: 3rem; max-width: 1200px; margin: 0 auto 2rem; text-align: left; }
.lvv-footer-brand { flex: 2; }
.lvv-footer-col { flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.lvv-footer-logo { font-size: 1.5rem; font-weight: 700; color: var(--white); margin-bottom: .4rem; }
.lvv-footer-tagline { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sky); margin-bottom: .6rem; }
.lvv-footer-desc { font-size: .875rem; color: rgba(255,255,255,.55); line-height: 1.6; max-width: 28ch; }
.lvv-footer-h { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--white); margin-bottom: .6rem; }
.lvv-footer-col a { color: rgba(255,255,255,.6); font-size: .875rem; text-decoration: none; display: block; transition: color var(--ease); }
.lvv-footer-col a:hover { color: var(--white); }
.lvv-footer-info { color: rgba(255,255,255,.55); font-size: .875rem; display: block; }
.lvv-footer-cta { color: var(--sky) !important; font-weight: 600; margin-top: .4rem; }
.lvv-footer-cta:hover { color: var(--white) !important; }
.lvv-footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.1); padding: 1.5rem 0 2rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.lvv-footer-bottom span { color: rgba(255,255,255,.4); font-size: .78rem; }
.lvv-footer-bottom a { color: rgba(255,255,255,.4); text-decoration: none; }
.lvv-footer-bottom a:hover { color: var(--white); }

/* Responsive 768px */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .page-hero { min-height: 45vh; }
  .btn,.button { width: 100%; justify-content: center; }

  .lvv-timeline::before { left: 16px; transform: none; }
  .lvv-tl-item { width: 100% !important; margin-left: 0 !important; padding-left: 2.5rem; padding-bottom: 2rem; transform: translateX(-20px); }
  .lvv-tl-right { transform: translateX(-20px); }
  .lvv-tl-content { margin: 0; }
  .lvv-tl-left .lvv-tl-content::after,
  .lvv-tl-right .lvv-tl-content::before { left: -2.2rem; right: auto; top: 1rem; }

  .lvv-footer-inner { flex-direction: column; gap: 2rem; }
  .lvv-footer-brand,.lvv-footer-col { flex: none; }
  .lvv-footer-desc { max-width: 100%; }
  .lvv-footer-bottom { flex-direction: column; gap: .5rem; }
}

/* Responsive 480px */
@media (max-width: 480px) {
  #body-wrapper .container { padding: 0 1rem; }
  h1 { font-size: clamp(1.6rem,7vw,2.5rem); }
  h2 { font-size: clamp(1.2rem,5vw,1.8rem); }
}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media print {
  #header,#footer,.mobile-menu { display: none; }
  body { background: #fff; color: #000; }
  #page-wrapper { padding-top: var(--nav-h); }
}

/* ── Timeline Vespa dot & mobile animation ── */
.lvv-tl-left .lvv-tl-content::after,
.lvv-tl-right .lvv-tl-content::before {
  content: '🛵';
  font-size: 1rem;
  background: none;
  border: none;
  box-shadow: none;
  width: auto;
  height: auto;
  border-radius: 0;
  line-height: 1;
  position: absolute;
  top: .9rem;
}
.lvv-tl-left .lvv-tl-content::after  { right: -2.2rem; }
.lvv-tl-right .lvv-tl-content::before { left: -2.2rem; }

/* Mobile: all items start from right, vespa flies in */
@media (max-width: 768px) {
  .lvv-tl-item { transform: translateX(60px); opacity: 0; }
  .lvv-tl-item.lvv-visible { transform: translateX(0); opacity: 1; }
  .lvv-tl-left .lvv-tl-content::after,
  .lvv-tl-right .lvv-tl-content::before { left: -1.8rem; right: auto; top: .9rem; }
}

/* ── Fix Quark header-animated shrink on scroll ── */
body.header-fixed.header-animated #header.scrolled { height: var(--nav-h) !important; }
body.header-fixed.header-animated #header.scrolled .navbar-section { height: var(--nav-h) !important; display: flex !important; align-items: center !important; }
body.header-fixed.header-animated #header.scrolled .logo img,
body.header-fixed.header-animated #header.scrolled .logo svg { height: auto !important; }

/* ── Adventure Cards ── */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2rem 0; }
.adv-card { background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); transition: box-shadow var(--ease), transform var(--ease); }
.adv-card:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); }
.adv-card--world { grid-column: span 2; }
.adv-card--featured { grid-column: span 1; }
.adv-card-link { display: block; text-decoration: none !important; color: inherit; height: 100%; }
.adv-img { height: 200px; background-size: cover; background-position: center; position: relative; }
.adv-card--world .adv-img { height: 240px; }
.adv-badge { position: absolute; top: 1rem; left: 1rem; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 999px; color: var(--white); }
.adv-badge--europe { background: var(--blue); }
.adv-badge--world { background: var(--navy-mid); }
.adv-badge--record { background: var(--sky); }
.adv-badge--charity { background: #e05a2b; }
.adv-body { padding: 1.25rem; }
.adv-title { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin: 0 0 .5rem; border: none; padding: 0; }
.adv-desc { font-size: .875rem; color: var(--text-muted); line-height: 1.6; margin: 0 0 .75rem; max-width: 100%; }
.adv-stats { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: 1rem; }
.adv-stats span { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--ice); color: var(--navy-mid); border: 1px solid var(--border); border-radius: 999px; padding: .2rem .6rem; }
.adv-btn { display: inline-flex; align-items: center; background: var(--blue); color: var(--white) !important; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .5rem 1.1rem; border-radius: var(--r); text-decoration: none !important; transition: background var(--ease); }
.adv-card:hover .adv-btn { background: var(--navy-mid); }

@media (max-width: 900px) {
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-card--world { grid-column: span 2; }
}
@media (max-width: 600px) {
  .adv-grid { grid-template-columns: 1fr; }
  .adv-card--world { grid-column: span 1; }
  .adv-card--world .adv-img { height: 200px; }
}

/* ── Adventure Route Video ── */
.adv-video-wrap { position: relative; width: 70%; max-width: 700px; margin: 2rem auto; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); background: var(--navy); }
.adv-route-video { width: 100%; display: block; max-height: 400px; object-fit: cover; }
.adv-video-caption { display: block; padding: .75rem 1rem; background: var(--navy); color: var(--sky); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-align: center; }
@media (max-width: 768px) {
  .adv-video-wrap { width: 100%; max-width: 100%; margin: 1.5rem 0; }
  .adv-route-video { max-height: 220px; }
}
