/* Eurotrips — friendly travel companion
   Warm cream & peach, the logo's orange, rounded Baloo type, soft shapes.
   Baloo 2 (display) + Nunito (body). */

:root {
  --cream:    #FDF7EC;
  --cream-2:  #FBEFDC;
  --peach:    #FBE4C7;
  --orange:   #EE7B3C;
  --orange-d: #D9652A;
  --gold:     #D8A24E;
  --teal:     #5E8B9E;
  --free:     #3E9E7E;
  --toll:     #C2553B;
  --ink:      #36474E;
  --ink-soft: #6E7F86;
  --line:     #EFE3CF;
  --card:     #FFFFFF;

  --shadow-sm: 0 2px 6px rgba(54,71,78,.06);
  --shadow:    0 22px 50px -28px rgba(54,71,78,.30);
  --shadow-lg: 0 40px 80px -34px rgba(54,71,78,.36);

  --display: "Baloo 2", system-ui, sans-serif;
  --body:    "Nunito", system-ui, sans-serif;

  --maxw: 1140px;
  --gut: clamp(20px, 5vw, 60px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.62;
  font-size: 17px;
  font-weight: 500;
  overflow-x: hidden;
  background-image:
    radial-gradient(60% 32% at 88% -4%, #FBE0BE 0%, transparent 60%),
    radial-gradient(46% 28% at -8% 8%, #CFE2E5 0%, transparent 55%);
  background-repeat: no-repeat;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(100% - 2 * var(--gut), var(--maxw)); margin-inline: auto; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -0.01em; }
.display { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; }
.display em { font-style: normal; color: var(--orange); }
.eyebrow {
  font-family: var(--body); font-weight: 800;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-d);
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.26rem); color: var(--ink-soft); max-width: 46ch; font-weight: 600; }
.num { font-feature-settings: "tnum"; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--body); font-weight: 800; font-size: 1rem;
  padding: .82em 1.5em; border-radius: 999px; border: 2px solid transparent;
  transition: transform .16s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 22px -10px rgba(238,123,60,.7); }
.btn-primary:hover { background: var(--orange-d); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-d); transform: translateY(-2px); }

.store {
  display: inline-flex; align-items: center; gap: .7em;
  background: var(--ink); color: #fff; padding: .72em 1.3em; border-radius: 16px;
  box-shadow: var(--shadow-sm); transition: transform .16s ease, box-shadow .25s ease;
}
.store:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.store svg { width: 26px; height: 26px; flex: none; }
.store .l1 { display:block; font-size:.62rem; letter-spacing:.1em; text-transform:uppercase; opacity:.8; line-height:1; }
.store .l2 { display:block; font-family: var(--display); font-weight: 700; font-size: 1.15rem; line-height: 1.15; margin-top: 2px; }

/* ---------- header ---------- */
header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(10px);
  background: linear-gradient(var(--cream), rgba(253,247,236,.7)); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 1.2rem; height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 800; font-size: 1.4rem; }
.brand .pin { width: 38px; height: 38px; flex: none; object-fit: contain; }
.nav .links { margin-left: auto; display: flex; gap: 1.6rem; align-items: center; }
.nav .links a { font-size: .96rem; color: var(--ink-soft); font-weight: 700; }
.nav .links a:not(.btn):hover { color: var(--orange-d); }
@media (max-width: 720px){ .nav .links a:not(.btn){ display:none; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(44px, 7vw, 92px) 0 clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px){ .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin: .55rem 0 1.1rem; }
.hero .lead { margin-bottom: 1.8rem; }
.hero-cta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero-cta .note { font-size: .85rem; color: var(--ink-soft); font-weight: 700; }
.hero-bg-line { position: absolute; inset: 0; z-index: -1; opacity: .8; pointer-events: none; }

/* the guide card (a vignette, explained) — friendly rounded card */
.receipt {
  background: var(--card); border: 1px solid var(--line); border-radius: 30px;
  box-shadow: var(--shadow-lg); padding: 30px 30px 26px; position: relative;
  transition: transform .3s ease;
}
.receipt:hover { transform: translateY(-4px); }
.receipt-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 16px; border-bottom: 2px solid var(--line); }
.receipt-route { font-family: var(--display); font-size: 1.4rem; font-weight: 700; display: flex; align-items: center; gap: .55rem; }
.receipt-route .arr { color: var(--orange); }
.receipt-tag { font-family: var(--body); font-weight: 800; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-d); background: color-mix(in srgb, var(--orange) 16%, #fff); padding: 5px 11px; border-radius: 999px; }
.ledger { list-style: none; margin: 16px 0 0; }
.ledger li { display: flex; align-items: baseline; gap: 8px; padding: 8px 0; }
.ledger .lbl { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; }
.ledger .cc { font-family: var(--body); font-size: .58rem; font-weight: 800; letter-spacing: .04em; padding: 2px 6px; border-radius: 7px; background: var(--cream-2); color: var(--ink-soft); }
.ledger .cc.vig { background: color-mix(in srgb, var(--orange) 18%, #fff); color: var(--orange-d); }
.ledger .cc.km  { background: color-mix(in srgb, var(--toll) 16%, #fff); color: var(--toll); }
.ledger .cc.fr  { background: color-mix(in srgb, var(--free) 16%, #fff); color: var(--free); }
.ledger .dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.ledger .amt { font-weight: 800; color: var(--ink); white-space: nowrap; }
.ledger .est { color: var(--ink-soft); font-size: .8rem; font-weight: 700; }
.receipt-total { display: none; }
.receipt-foot { font-size: .8rem; color: var(--ink-soft); font-weight: 700; margin-top: 14px; display: flex; align-items: center; gap: 6px; }

/* ---------- section frame ---------- */
section { padding: clamp(52px, 8vw, 96px) 0; }
.sec-head { max-width: 60ch; margin-bottom: clamp(28px, 4vw, 46px); }
.sec-head h2 { font-size: clamp(2rem, 3.8vw, 3rem); margin: .55rem 0 .7rem; }
.sec-head p { color: var(--ink-soft); font-size: 1.1rem; font-weight: 600; }
.rule { height: 1px; background: var(--line); border: 0; }

/* features */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 720px){ .feat-grid { grid-template-columns: 1fr; } }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .25s ease; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat .ix { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: color-mix(in srgb, var(--orange) 15%, #fff); color: var(--orange-d); font-family: var(--display); font-weight: 800; font-size: 1.1rem; }
.feat h3 { font-size: 1.45rem; margin: 16px 0 8px; }
.feat p { color: var(--ink-soft); font-size: 1rem; font-weight: 600; }

/* coverage chips */
.cov { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { font-family: var(--body); font-weight: 800; font-size: .86rem; padding: 8px 13px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; gap: 7px; box-shadow: var(--shadow-sm); transition: transform .15s ease, border-color .2s ease; }
.chip:hover { transform: translateY(-2px); border-color: var(--orange); }
.chip i { width: 8px; height: 8px; border-radius: 999px; display: inline-block; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; font-size: .9rem; color: var(--ink-soft); font-weight: 700; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 10px; height: 10px; border-radius: 999px; display: inline-block; }

/* trust band — warm, friendly */
.band { background: linear-gradient(150deg, #FCEFD9, #FBE0BE); border: 1px solid var(--line); border-radius: 34px; padding: clamp(34px, 5vw, 58px); position: relative; overflow: hidden; }
.band:after { content:""; position:absolute; width:360px; height:360px; border-radius:50%; background:#fff; opacity:.32; top:-120px; right:-90px; filter: blur(6px); }
.band h2 { color: var(--ink); font-size: clamp(1.9rem, 3.5vw, 2.7rem); max-width: 20ch; position: relative; }
.band > p { color: var(--ink-soft); max-width: 52ch; margin-top: 1rem; font-size: 1.08rem; font-weight: 600; position: relative; }
.band .pts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; position: relative; }
@media (max-width: 720px){ .band .pts { grid-template-columns: 1fr; } }
.band .pt { background: rgba(255,255,255,.7); border: 1px solid #fff; border-radius: 20px; padding: 22px; }
.band .pt strong { font-family: var(--display); font-weight: 800; font-size: 1.15rem; display: block; margin-bottom: 4px; }
.band .pt span { color: var(--ink-soft); font-size: .96rem; font-weight: 600; }

/* final cta */
.final { text-align: center; }
.final h2 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); max-width: 18ch; margin: 0 auto 1.3rem; }
.final .lead { margin: 0 auto 2rem; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 48px 0 56px; background: var(--cream-2); }
.foot { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; justify-content: space-between; }
.foot .brand { font-size: 1.25rem; }
.foot-links { display: flex; gap: 28px; flex-wrap: wrap; font-size: .96rem; font-weight: 700; }
.foot-links a { color: var(--ink-soft); }
.foot-links a:hover { color: var(--orange-d); }
.foot .fine { width: 100%; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-soft); font-weight: 600; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- flag marquee ---------- */
.flag-marquee { overflow: hidden; padding: 6px 0; margin: clamp(28px, 4vw, 44px) 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.flag-track { display: flex; gap: 20px; width: max-content; animation: roll 42s linear infinite; }
.flag-marquee:hover .flag-track { animation-play-state: paused; }
@keyframes roll { to { transform: translateX(-50%); } }
.flag-av { width: 76px; height: 76px; flex: none; border-radius: 999px; border: 3.5px solid var(--line); background: #fff; overflow: hidden; box-shadow: var(--shadow-sm); }
.flag-av.v { border-color: var(--orange); }
.flag-av.k { border-color: var(--toll); }
.flag-av.f { border-color: var(--free); }
.flag-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: reduce) { .flag-track { animation: none; } }

/* ---------- phone mockups ---------- */
.phone { background: #1b2127; border-radius: 46px; padding: 11px; box-shadow: var(--shadow-lg); }
.phone img { display: block; width: 100%; border-radius: 36px; }
.hero-phone { display: flex; justify-content: center; }
.hero-phone .phone { width: min(330px, 80%); transform: rotate(1.4deg); transition: transform .3s ease; }
.hero-phone .phone:hover { transform: rotate(0); }
.showcase { background: var(--cream-2); }
.showcase .row { display: flex; gap: clamp(16px, 3vw, 32px); justify-content: center; flex-wrap: wrap; margin-top: clamp(30px, 4vw, 46px); }
.showcase .item { display: flex; flex-direction: column; align-items: center; gap: 18px; width: min(284px, 82vw); }
.showcase .phone { width: 100%; }
.showcase .cap { font-family: var(--display); font-weight: 700; font-size: 1.18rem; color: var(--ink); text-align: center; }
.showcase .cap b { color: var(--orange); font-weight: 800; }

/* ---------- document (privacy) ---------- */
.doc { max-width: 720px; margin-inline: auto; padding: clamp(40px,6vw,68px) 0; }
.doc .eyebrow { display:block; margin-bottom: 12px; }
.doc h1 { font-size: clamp(2.3rem, 5vw, 3.2rem); margin-bottom: .4rem; }
.doc .meta { color: var(--ink-soft); font-size: .92rem; margin-bottom: 8px; font-weight: 700; }
.doc .tldr { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--orange); border-radius: 18px; padding: 20px 22px; margin: 26px 0 8px; box-shadow: var(--shadow-sm); }
.doc .tldr strong { font-family: var(--display); font-weight: 800; }
.doc h2 { font-size: 1.55rem; margin: 36px 0 10px; }
.doc h2 .n { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: color-mix(in srgb, var(--orange) 15%, #fff); color: var(--orange-d); font-size: .95rem; margin-right: 12px; vertical-align: middle; }
.doc p, .doc li { color: var(--ink-soft); margin-bottom: 12px; font-weight: 600; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc a { color: var(--orange-d); border-bottom: 2px solid color-mix(in srgb, var(--orange) 40%, transparent); }
.doc strong { color: var(--ink); }

/* ---------- motion ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; }
.reveal.in { animation: fadeUp .65s cubic-bezier(.2,.7,.2,1) both; }
[data-delay="1"] { animation-delay: .07s; }
[data-delay="2"] { animation-delay: .14s; }
[data-delay="3"] { animation-delay: .21s; }
[data-delay="4"] { animation-delay: .28s; }

.draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.draw.in { animation: drawline 1.4s ease forwards .2s; }
@keyframes drawline { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; }
  .draw { stroke-dashoffset: 0; }
}
