/* =========================================================
   DK Tran Rent — style.css
   Brand: white + deep blue, "ticket."-tyylinen typografia.
   ========================================================= */

:root {
  --c-blue:        #1E88F5;   /* primary — matches logo */
  --c-blue-dark:   #0F6FD6;   /* hover / pressed */
  --c-blue-soft:   #4DA2F8;   /* lighter variant */
  --c-sky:         #B7DBFF;   /* very light wash */
  --c-ink:         #0A1530;   /* text dark */
  --c-ink-soft:    #3C4868;
  --c-muted:       #6B7591;
  --c-line:        #E3E8F0;
  --c-bg:          #FFFFFF;
  --c-bg-alt:      #F5F8FC;
  --c-bg-tint:     #EAF3FE;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(10,21,48,.06);
  --shadow-md: 0 8px 24px rgba(10,21,48,.08);
  --shadow-lg: 0 24px 60px rgba(0,51,160,.18);

  --ease: cubic-bezier(.2,.7,.2,1);

  --container: 1180px;
  --pad: clamp(20px, 4vw, 40px);

  --f-display: "Archivo Black", "Arial Black", system-ui, sans-serif;
  --f-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--c-ink);
  background: var(--c-bg);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0 0 .4em; font-weight: 700; letter-spacing: -.01em; }
p  { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--c-blue); color: #fff; padding: 10px 14px; border-radius: var(--r-sm);
}
.skip-link:focus { left: 12px; top: 12px; z-index: 9999; }

/* ---------- Brand ---------- */
.brand-mark {
  font-family: var(--f-display);
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--c-ink);
  line-height: .92;
  text-transform: none;
  display: inline-block;
}
.brand-mark .dot { color: var(--c-blue); }
.brand-mark--sm { font-size: 28px; }

/* Logo image — mix-blend-mode piilottaa logon valkoisen taustan
   kaikilla vaaleilla pinnoilla ilman erillistä taustanpoistoa. */
.logo-img {
  display: block;
  height: 44px;
  width: auto;
  mix-blend-mode: multiply;
  user-select: none;
}
.logo-img--hero {
  height: auto;
  width: 100%;
  max-width: 560px;
  margin: 0 0 22px;
}

/* a11y: piilotettu otsikko ruudunlukijoille kun logo on kuvana */
.wordmark-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 72px;
}
.brand { display: inline-flex; align-items: center; }
.brand .brand-mark { font-size: 24px; }

.site-nav { display: flex; gap: 28px; }
.site-nav a {
  font-weight: 600; font-size: 15px; color: var(--c-ink-soft);
  position: relative; padding: 6px 0;
}
.site-nav a:hover { color: var(--c-blue); }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--c-blue); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.site-nav a:hover::after { transform: scaleX(1); }

.header-cta { white-space: nowrap; }

/* Lang switcher */
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  margin-left: 4px;
}
.lang-switch a {
  color: var(--c-muted);
  padding: 6px 8px;
  border-radius: 6px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.lang-switch a:hover { color: var(--c-blue); }
.lang-switch a.is-active {
  color: var(--c-ink); background: var(--c-bg-alt);
}
.lang-switch .sep {
  color: var(--c-line);
  user-select: none;
}

@media (max-width: 760px) {
  .site-nav { display: none; }
  .lang-switch { font-size: 12px; }
  .lang-switch a { padding: 4px 6px; }
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--c-blue);
  --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 14px 22px;
  font-family: var(--f-body); font-weight: 600; font-size: 15px;
  letter-spacing: .01em;
  background: var(--bg); color: var(--fg);
  border: 1.5px solid var(--bg);
  border-radius: 999px;
  cursor: pointer; user-select: none;
  transition: transform .15s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover  { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn--sm    { padding: 9px 16px; font-size: 14px; }

.btn--primary { --bg: var(--c-blue); --fg: #fff; }
.btn--primary:hover { background: var(--c-blue-soft); border-color: var(--c-blue-soft); }

.btn--ghost {
  --bg: transparent; --fg: var(--c-ink);
  border-color: var(--c-line);
}
.btn--ghost:hover { background: var(--c-bg-alt); color: var(--c-blue); border-color: var(--c-blue); }

.btn--white {
  --bg: var(--c-blue); --fg: #fff;
  flex-direction: column; gap: 4px; padding: 16px 24px; align-items: flex-start;
}
.btn--white:hover { background: var(--c-blue-dark); border-color: var(--c-blue-dark); }
.btn--outline-white {
  --bg: #fff; --fg: var(--c-ink); border-color: var(--c-line);
  flex-direction: column; gap: 4px; padding: 16px 24px; align-items: flex-start;
}
.btn--outline-white:hover { background: #fff; border-color: var(--c-blue); color: var(--c-blue); }
.btn--text-white {
  --bg: transparent; --fg: var(--c-ink); border-color: transparent;
  flex-direction: column; gap: 4px; padding: 16px 24px; align-items: flex-start;
}
.btn--text-white:hover { background: rgba(30,136,245,.08); color: var(--c-blue); }
.btn-label { font-size: 15px; font-weight: 700; }
.btn-meta  { font-size: 13px; opacity: .75; font-weight: 500; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 9vw, 120px) 0 clamp(56px, 9vw, 120px);
  background: #fff;
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--c-blue);
  padding: 6px 10px; border: 1.5px solid var(--c-blue); border-radius: 999px;
  margin-bottom: 22px;
}

.wordmark {
  font-family: var(--f-display);
  font-size: clamp(54px, 10.5vw, 132px);
  line-height: .88;
  letter-spacing: -.035em;
  margin: 0;
  color: var(--c-ink);
}
.wordmark .dot { color: var(--c-blue); }

.tagbox {
  display: inline-block;
  background: var(--c-blue); color: #fff;
  font-family: var(--f-display);
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: clamp(14px, 1.6vw, 18px);
  padding: 10px 16px;
  margin: 18px 0 28px;
  transform: translateY(-4px);
}

.lede {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--c-ink-soft);
  max-width: 56ch;
  margin-bottom: 30px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }

.hero-points {
  display: flex; flex-wrap: wrap; gap: 22px 28px;
  font-size: 14px; color: var(--c-ink-soft); font-weight: 500;
}
.hero-points li {
  position: relative; padding-left: 22px;
}
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--c-blue);
  box-shadow: 0 0 0 4px rgba(30,136,245,.18);
}

/* Hero card (kalusto teaser) — vaalea variantti */
.hero-card {
  position: relative;
  background: #fff;
  color: var(--c-ink);
  border: 1px solid var(--c-line);
  border-top: 4px solid var(--c-blue);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.hero-card-tag {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  background: var(--c-bg-tint); color: var(--c-blue);
  padding: 6px 10px; border-radius: 999px;
}
.hero-card-name {
  font-family: var(--f-display);
  font-size: clamp(36px, 5vw, 56px);
  line-height: .92;
  letter-spacing: -.03em;
  margin: 22px 0 28px;
  color: var(--c-ink);
}
.hero-card-name .dot { color: var(--c-blue); }
.hero-card-specs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin: 0 0 26px; padding: 22px 0 0;
  border-top: 1px solid var(--c-line);
}
.hero-card-specs > div { min-width: 0; }
.hero-card-specs dt {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-muted); margin-bottom: 6px;
}
.hero-card-specs dd {
  margin: 0; font-family: var(--f-display);
  font-size: clamp(18px, 2.2vw, 24px); letter-spacing: -.01em;
  color: var(--c-ink);
}
.hero-card-foot {
  margin: 0; font-size: 13px; color: var(--c-muted);
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(64px, 9vw, 120px) 0;
}
.section--alt { background: var(--c-bg-alt); }
.section--cta {
  background: var(--c-bg-tint);
  color: var(--c-ink);
  padding: clamp(56px, 8vw, 96px) 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}

.section-head { max-width: 760px; margin: 0 0 56px; }
.section-head h2 {
  font-family: var(--f-display);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.02;
  letter-spacing: -.025em;
}
.section-lead { color: var(--c-ink-soft); font-size: clamp(15px, 1.4vw, 17px); max-width: 60ch; }

.kicker {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--c-blue);
  margin-bottom: 16px;
}
.kicker--on-dark { color: var(--c-sky); }

/* ---------- Spec grid ---------- */
.spec-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 800px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }

.spec-card {
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 6px;
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.spec-card:hover {
  transform: translateY(-3px);
  border-color: var(--c-blue);
  box-shadow: var(--shadow-md);
}
.spec-num {
  font-family: var(--f-display);
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1; color: var(--c-blue);
  letter-spacing: -.03em;
}
.spec-label {
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-muted); font-weight: 600;
}

/* ---------- Pricing ---------- */
.price-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 1000px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .price-grid { grid-template-columns: 1fr; } }

.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.price-card:hover {
  transform: translateY(-3px); border-color: var(--c-blue); box-shadow: var(--shadow-md);
}
.price-card-top { display: flex; flex-direction: column; gap: 8px; }
.price-duration {
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-muted); font-weight: 700;
}
.price-value {
  font-family: var(--f-display);
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1; letter-spacing: -.03em; color: var(--c-ink);
}
.price-cur { color: var(--c-blue); margin-left: 4px; }
.price-foot { font-size: 14px; color: var(--c-ink-soft); margin: 0; }

.price-card--featured {
  background: #fff;
  border: 2px solid var(--c-blue);
}
.price-card--featured .price-cur { color: var(--c-blue); }

.price-badge {
  position: absolute; top: -10px; right: 16px;
  background: var(--c-blue); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}

.price-note {
  margin-top: 28px;
  font-size: 14px; color: var(--c-muted); text-align: center;
}

/* ---------- Two-col (mitä sisältyy / ohjeet) ---------- */
.two-col {
  display: grid; gap: clamp(32px, 5vw, 64px);
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }

.two-col h2 {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.05; letter-spacing: -.02em;
}

.check-list, .rule-list { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }

.check-list li {
  position: relative; padding: 14px 18px 14px 48px;
  background: var(--c-bg-alt); border-radius: var(--r-sm);
  font-weight: 500;
}
.check-list li::before {
  content: ""; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--c-blue);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9.55 17.6 3.7 11.75l1.41-1.41 4.44 4.44 9.34-9.34 1.41 1.41z'/></svg>") center/14px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9.55 17.6 3.7 11.75l1.41-1.41 4.44 4.44 9.34-9.34 1.41 1.41z'/></svg>") center/14px no-repeat;
}

.rule-list li {
  padding: 18px 20px; border: 1px solid var(--c-line);
  border-left: 4px solid var(--c-blue);
  border-radius: var(--r-sm);
  background: #fff;
}
.rule-list strong { color: var(--c-ink); margin-right: 6px; }

/* ---------- CTA (varaus) ---------- */
.booking {
  display: grid; gap: clamp(32px, 5vw, 64px);
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
}
@media (max-width: 900px) { .booking { grid-template-columns: 1fr; } }

.booking-copy h2 {
  font-family: var(--f-display);
  font-size: clamp(32px, 4.8vw, 52px);
  line-height: 1.02; letter-spacing: -.025em;
  color: var(--c-ink);
}
.booking-copy p { color: var(--c-ink-soft); max-width: 50ch; }

.booking-actions { display: grid; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--c-line);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid; gap: 36px;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  padding-bottom: 40px; border-bottom: 1px solid var(--c-line);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-tag { margin: 12px 0 0; color: var(--c-muted); font-size: 14px; }
.footer-col h3 {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--c-ink); margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--c-ink-soft); font-size: 15px; }
.footer-col a:hover { color: var(--c-blue); }
.footer-col p { margin: 0 0 6px; color: var(--c-ink-soft); font-size: 15px; }
.footer-col .muted { color: var(--c-muted); font-size: 13px; }

.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 22px; font-size: 13px; color: var(--c-muted);
}
.footer-by a { color: var(--c-blue); font-weight: 600; }

/* ---------- Floating CTA (mobile) ---------- */
.floating-cta {
  position: fixed; bottom: 20px; right: 20px; z-index: 60;
  background: var(--c-blue); color: #fff;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .02em;
  box-shadow: 0 10px 30px rgba(30,136,245,.4);
  display: none;
  transition: transform .15s var(--ease), background .2s var(--ease);
}
.floating-cta:hover { background: var(--c-blue-soft); transform: translateY(-2px); }
@media (max-width: 760px) { .floating-cta { display: inline-flex; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- Focus ---------- */
:focus-visible {
  outline: 3px solid var(--c-sky);
  outline-offset: 2px;
  border-radius: 4px;
}
