/* Vuokrauskone.fi marketing site — rebuilt from the Wix version (see docs/wix-export). */

:root {
  --navy: #1f2d3f;
  --navy-2: #30445f;
  --orange: #f07a1e;
  --orange-dark: #d8650d;
  --orange-soft: #fff1e6;
  --ink: #1a1a1a;
  --muted: #5b6573;
  --line: #e6e8ec;
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --radius: 14px;
  --max: 1160px;
  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .6em; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy); color: #e8edf3; }
.section--dark h2, .section--dark h3 { color: #fff; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--orange-dark); margin-bottom: 12px;
}
.lead { font-size: 1.2rem; color: var(--muted); }
.section--dark .lead { color: #c4ceda; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: .02em;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-dark); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.section--dark .btn--ghost { color: #fff; border-color: #fff; }
.section--dark .btn--ghost:hover { background: #fff; color: var(--navy); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo img { height: 34px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a:hover { color: var(--orange-dark); }
.nav a[aria-current="page"] { color: var(--orange-dark); }
.nav .btn { padding: 10px 18px; font-size: .9rem; color: #fff; }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; border-bottom: 0; }
}

/* Audience switch */
.audience {
  display: inline-flex; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 28px;
}
.audience a {
  padding: 8px 16px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: .92rem;
}
.audience a[aria-current="page"] { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(0,0,0,.08); }

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero p { font-size: 1.2rem; color: var(--muted); }
.hero .hero-q { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.25rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-media { position: relative; }
.hero-media::before {
  content: ""; position: absolute; inset: 8% -30% -10% 12%; background: var(--orange-soft); border-radius: 32px; z-index: -1;
}
.hero-media img { border-radius: 12px; box-shadow: 0 24px 60px rgba(31,45,63,.22); }
@media (max-width: 900px) { .hero .container { grid-template-columns: 1fr; gap: 36px; } }

/* Tagline band + quote */
.band { background: var(--orange); color: #fff; padding: 26px 0; text-align: center; }
.band p { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.1rem, 2.4vw, 1.5rem); }
.quote { text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 860px; }
.quote blockquote p {
  font-family: var(--font-head); font-weight: 700; font-style: italic; color: var(--navy);
  font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.3; margin: 0;
}

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* Benefits */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin-bottom: 18px; }
.card p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

/* Subscribe */
.subscribe { background: var(--navy-2); color: #fff; }
.subscribe .container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.subscribe h2 { color: #fff; margin-bottom: .3em; }
.subscribe .kicker { color: #ffc89b; font-weight: 600; margin: 0 0 6px; }
@media (max-width: 900px) { .subscribe .container { grid-template-columns: 1fr; gap: 20px; } }

/* Photo band */
.photo-band { position: relative; color: #fff; background: var(--navy) center/cover no-repeat; }
.photo-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,30,44,.92) 0%, rgba(20,30,44,.65) 60%, rgba(20,30,44,.35) 100%); }
.photo-band .container { position: relative; }
.photo-band h2 { color: #fff; }
.photo-band p { color: #dfe6ee; max-width: 620px; }
.photo-band .tag { font-family: var(--font-head); font-weight: 700; color: #ffc89b; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step .num { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: var(--orange); line-height: 1; margin-bottom: 14px; display: block; }
.step h3 { font-size: 1.12rem; }
.step p { color: var(--muted); font-size: 1rem; margin: 0; }
.steps-media { margin: 48px auto 0; max-width: 860px; }
.steps-media img { border-radius: 12px; box-shadow: 0 18px 48px rgba(31,45,63,.18); }
.steps-cta { text-align: center; margin-top: 40px; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.phone { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: var(--navy); text-decoration: none; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 32px; } }

/* Forms */
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; color: var(--navy); }
.form input, .form textarea {
  font: inherit; font-size: 1rem; padding: 13px 14px; border: 1px solid #cfd5dd; border-radius: 10px; background: #fff; color: var(--ink); width: 100%;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--orange); }
.form textarea { min-height: 130px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 4px 0 0; font-weight: 600; min-height: 1.5em; }
.form-status.ok { color: #1f8a4c; }
.form-status.err { color: #c0362c; }
.form--inline { grid-template-columns: 1fr auto; align-items: end; }
.form--inline label span { position: absolute; left: -9999px; }
.form--inline .form-status { grid-column: 1 / -1; }
.subscribe .form-status.ok { color: #9fe3b8; }
.subscribe .form-status.err { color: #ffb4ab; }
@media (max-width: 600px) { .form--inline { grid-template-columns: 1fr; } }

/* Nutshell */
.prose p { color: #d5dde7; }
.prose { max-width: 820px; }

/* Team */
.team { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: center; margin-top: 32px; }
.team img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; }
.team .role { color: var(--orange-dark); font-weight: 700; margin: 0; }
.team .name { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--navy); margin: 4px 0 8px; }
@media (max-width: 700px) { .team { grid-template-columns: 1fr; } .team img { max-width: 320px; } }

/* Footer */
.site-footer { background: #141d29; color: #9fadbf; padding: 48px 0 32px; font-size: .95rem; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: center; }
.site-footer img { height: 30px; width: auto; }
.site-footer a { color: #dfe6ee; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer small { flex-basis: 100%; color: #6f7f93; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
