/* Nile Rail Pass — utility-first lite. Breakpoints 960/640. */

:root {
  --rail: #15406b;
  --rail-d: #0e2c4a;
  --rail-soft: #e3ebf3;
  --amber: #f0a500;
  --amber-d: #c98700;
  --amber-soft: #fdf1d5;
  --bg: #f5f7fa;
  --paper: #ffffff;
  --paper-2: #eceff4;
  --ink: #15212e;
  --ink-2: #4c5a68;
  --line: #d8dee6;
  --line-2: #bcc6d2;
  --r: 6px;
  --r-lg: 12px;
  --sh: 0 8px 26px rgba(14,44,74,0.12);
  --sh-sm: 0 2px 10px rgba(14,44,74,0.08);
  --wrap: 1160px;
  --head: "DIN Alternate", "Bahnschrift", "Oswald", "Arial Narrow", sans-serif;
  --body: Tahoma, "Segoe UI", Geneva, Verdana, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.66; color: var(--ink); background: var(--bg); }
h1,h2,h3,h4 { font-family: var(--head); line-height: 1.15; color: var(--rail); margin: 0 0 .5em; font-weight: 700; letter-spacing: .02em; }
h1 { font-size: 2.7rem; text-transform: uppercase; }
h2 { font-size: 1.95rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
a { color: var(--rail); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--amber-d); }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* Utilities */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.row { display: flex; gap: 20px; flex-wrap: wrap; }
.row--between { justify-content: space-between; align-items: center; }
.stack { display: flex; flex-direction: column; }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }
.pad { padding: 58px 0; }
.pad--alt { background: var(--paper-2); }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 22px; }
.center { text-align: center; }
.max-720 { max-width: 720px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.t-lg { font-size: 1.13rem; color: var(--ink-2); }
.t-sm { font-size: .85rem; }
.muted { color: var(--ink-2); }
.eyebrow { display: inline-block; font-family: var(--head); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--amber-d); font-weight: 700; margin-bottom: .7em; }

/* Buttons — square filled + bordered ghost (radius 4) */
.btn { display: inline-block; font-family: var(--head); font-size: .92rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 700; padding: 13px 26px; border-radius: 4px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.btn-pri { background: var(--rail); color: #fff; }
.btn-pri:hover { background: var(--rail-d); color: #fff; }
.btn-amber { background: var(--amber); color: var(--rail-d); }
.btn-amber:hover { background: var(--amber-d); color: #fff; }
.btn-ghost { background: transparent; color: var(--rail); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--rail); }

/* Header */
.head { background: var(--paper); border-bottom: 3px solid var(--rail); position: sticky; top: 0; z-index: 40; }
.head__in { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 40px; height: 40px; border-radius: 4px; background: var(--rail); color: var(--amber); display: grid; place-items: center; font-family: var(--head); font-weight: 700; font-size: 1.15rem; }
.brand__name { font-family: var(--head); font-weight: 700; font-size: 1.15rem; color: var(--rail); text-transform: uppercase; letter-spacing: .03em; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { font-family: var(--head); font-size: .85rem; text-transform: uppercase; letter-spacing: .03em; font-weight: 700; color: var(--ink-2); text-decoration: none; padding: 9px 12px; border-radius: 4px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--rail); background: var(--rail-soft); }
.nav .cta { background: var(--amber); color: var(--rail-d); margin-left: 6px; }
.nav .cta:hover { background: var(--amber-d); color: #fff; }
.burger { display: none; background: none; border: 2px solid var(--line-2); border-radius: 4px; padding: 8px 11px; cursor: pointer; font-size: 1.1rem; color: var(--rail); }

/* Hero — stats-left */
.hero { padding: 60px 0; }
.hero__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 46px; align-items: center; }
.hero__title { font-size: 3rem; }
.statbox { background: var(--paper); border: 1px solid var(--line); border-left: 6px solid var(--amber); border-radius: 4px; padding: 18px 22px; margin-bottom: 14px; }
.statbox__num { font-family: var(--head); font-size: 2.2rem; color: var(--rail); font-weight: 700; line-height: 1; }
.statbox__label { font-size: .82rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: .08em; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }

/* Cards */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); transition: transform .16s, box-shadow .16s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.card__media { aspect-ratio: 3/2; background: var(--rail-soft); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.card__tag { font-family: var(--head); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--amber-d); font-weight: 700; margin-bottom: 7px; }
.card__link { margin-top: auto; font-weight: 700; font-family: var(--head); text-transform: uppercase; font-size: .82rem; letter-spacing: .04em; }

/* Step */
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 22px; }
.step__n { font-family: var(--head); font-size: 2rem; color: var(--amber); line-height: 1; margin-bottom: 10px; }

/* Callout */
.callout { background: var(--rail); color: #fff; border-radius: var(--r-lg); padding: 28px; }
.callout h3 { color: var(--amber); }
.callout p { color: rgba(255,255,255,.87); }

/* Table */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: .92rem; }
table.data th, table.data td { padding: 13px 15px; text-align: left; border-bottom: 1px solid var(--line); }
table.data th { background: var(--rail-soft); color: var(--rail); font-family: var(--head); text-transform: uppercase; letter-spacing: .04em; font-size: .8rem; }
table.data tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq { max-width: 820px; }
.faq__item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 11px; overflow: hidden; }
.faq__q { width: 100%; text-align: left; background: none; border: 0; padding: 17px 20px; font-family: var(--head); font-size: 1rem; font-weight: 700; color: var(--rail); cursor: pointer; display: flex; justify-content: space-between; gap: 14px; }
.faq__ic { color: var(--amber-d); transition: transform .2s; }
.faq__q[aria-expanded="true"] .faq__ic { transform: rotate(45deg); }
.faq__a { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height .25s, padding .25s; }
.faq__a[data-open="true"] { padding: 0 20px 18px; max-height: 600px; }

/* Plans */
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px; }
.plan--feat { border-color: var(--amber); box-shadow: var(--sh); }
.plan__price { font-family: var(--head); font-size: 2.2rem; color: var(--rail); }
.plan__price span { font-size: .9rem; color: var(--ink-2); font-family: var(--body); }
.plan__list { list-style: none; padding: 0; margin: 16px 0 22px; }
.plan__list li { padding: 7px 0 7px 24px; position: relative; border-bottom: 1px solid var(--line); font-size: .91rem; }
.plan__list li::before { content: "▸"; position: absolute; left: 0; color: var(--amber-d); }

/* Form */
.form { display: grid; gap: 15px; max-width: 640px; }
.field { display: grid; gap: 5px; }
.field label { font-family: var(--head); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--rail); }
.field input, .field select, .field textarea { font-family: var(--body); font-size: .95rem; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--paper); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--rail); outline: none; box-shadow: 0 0 0 3px var(--rail-soft); }
.form__status { display: none; padding: 12px 15px; border-radius: 4px; background: var(--amber-soft); color: var(--rail-d); font-weight: 700; font-size: .9rem; }
.form__status[data-show="true"] { display: block; }
.consent { display: flex; gap: 9px; align-items: flex-start; font-size: .84rem; color: var(--ink-2); }
.consent input { margin-top: 3px; }

/* Banner */
.banner { background: var(--rail); color: #fff; padding: 48px 0; }
.banner h1 { color: #fff; }
.banner p { color: rgba(255,255,255,.85); max-width: 680px; margin: 0; }
.crumb { font-size: .8rem; color: rgba(255,255,255,.7); margin-bottom: 10px; }
.crumb a { color: var(--amber); }

.prose { max-width: 820px; }
.prose h2 { margin-top: 1.5em; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 7px; }

/* Footer */
.foot { background: var(--rail-d); color: rgba(255,255,255,.8); padding: 50px 0 26px; margin-top: 8px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 34px; }
.foot h4 { color: #fff; font-family: var(--head); text-transform: uppercase; letter-spacing: .04em; font-size: .95rem; margin-bottom: 13px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 8px; }
.foot a { color: rgba(255,255,255,.78); text-decoration: none; font-size: .89rem; }
.foot a:hover { color: var(--amber); }
.foot address { font-style: normal; font-size: .87rem; line-height: 1.8; }
.foot__legal { border-top: 1px solid rgba(255,255,255,.14); padding-top: 18px; font-size: .79rem; color: rgba(255,255,255,.6); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

@media (max-width: 960px) {
  h1 { font-size: 2.2rem; }
  .hero__title { font-size: 2.4rem; }
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--paper); flex-direction: column; align-items: stretch; padding: 12px 22px 16px; border-bottom: 1px solid var(--line); }
  .nav[data-open="true"] { display: flex; }
  .nav .cta { margin-left: 0; margin-top: 6px; text-align: center; }
  .burger { display: block; }
}

@media (max-width: 640px) {
  h1 { font-size: 1.9rem; }
  .hero__title { font-size: 2rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01s !important; transition-duration: 0.01s !important; }
}
