:root {
  --navy:#172554;
  --ink:#10223d;
  --orange:#ea580c;
  --muted:#4c5d70;
  --line:#dbe2e8;
  font-family:"Segoe UI",Arial,sans-serif;
  color:var(--ink);
  scroll-behavior:smooth;
  scroll-padding-top:1rem;
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
  background:white;
}

a {
  color:inherit;
}

button,input,select,textarea {
  font:inherit;
}

button {
  cursor:pointer;
}

a,button {
  touch-action:manipulation;
}

:focus-visible {
  outline:3px solid #2780d4;
  outline-offset:3px;
}

.wrap {
  width:min(1240px,90%);
  margin-inline:auto;
}

.skip {
  position:fixed;
  top:0;
  left:0;
  transform:translateY(-150%);
  z-index:10;
  background:white;
  padding:12px;
}

.skip:not(:focus) {
  clip-path: inset(50%);
}

.skip:focus {
  transform:none;
}

header {
  background:white;
  position:relative;
  z-index:5;
}

.navrow,.brand,nav,.actions,.region,.sectionhead {
  display:flex;
  align-items:center;
}

.navrow {
  height:80px;
  gap:40px;
}

.brand {
  gap:9px;
  text-decoration:none;
  color:var(--navy);
  line-height:.92;
}

.brand svg {
  width:45px;
}

.brand span {
  font:900 1.45rem/.98 Arial,sans-serif;
  letter-spacing:.04em;
}

.brand small {
  display:block;
  font-size:.62rem;
  letter-spacing:.30em;
  margin-top:4px;
}

nav {
  margin-left:auto;
  gap:30px;
}

nav a {
  text-decoration:none;
  font-size:.96rem;
  font-weight:600;
}

nav a:hover,.cardcopy a:hover {
  color:#bb470b;
}

.button {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-height:48px;
  padding:12px 25px;
  border:1px solid transparent;
  border-radius:6px;
  background:var(--orange);
  color:#171b28;
  text-decoration:none;
  font-weight:700;
  transition:background .18s,transform .18s;
}

.button:hover {
  background:#ff752e;
  transform:translateY(-1px);
}

.topcta {
  min-height:42px;
  padding:9px 20px;
}

#menu {
  display:none;
}

.hero {
  position:relative;
  isolation:isolate;
  background:var(--navy);
  color:white;
}

.heroimg,.shade {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  z-index:-1;
}

.heroimg {
  object-fit:cover;
  object-position:center 56%;
}

.shade {
  background:linear-gradient(90deg,rgba(9,23,43,.98) 0%,rgba(10,28,49,.85) 29%,rgba(12,30,48,.18) 62%,transparent);
}

.herocopy {
  padding-block:clamp(56px,5.6vw,88px);
}

@media (min-width:721px) and (max-width:950px) {
  .shade {
    background:linear-gradient(90deg,rgba(9,23,43,.98),rgba(10,28,49,.83) 46%,rgba(12,30,48,.18) 70%,transparent);
  }
}

.region {
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.16em;
  gap:10px;
  font-size:.78rem;
}

.region svg {
  color:#ff813d;
  width:19px;
}

.region b {
  color:#ff813d;
}

.hero h1 {
  font:800 clamp(3.8rem,6.6vw,6.6rem)/.98 "Segoe UI",Arial,sans-serif;
  letter-spacing:-.064em;
  margin:22px 0;
}

.hero h1 span {
  color:var(--orange);
}

.hero p {
  font-size:1.13rem;
  line-height:1.55;
  color:#f0f3f7;
  margin:0;
}

.actions {
  margin-top:28px;
  gap:12px;
}

.ghost {
  color:white;
  background:#111f3266;
  border-color:#ffffff94;
}

.ghost:hover {
  background:#1b2a42;
}

.services,.split {
  padding-block:clamp(48px,5vw,80px);
}

.sectionhead {
  justify-content:space-between;
  align-items:end;
  margin-bottom:26px;
}

.kicker {
  display:flex;
  align-items:center;
  gap:10px;
  color:#a93e08;
  text-transform:uppercase;
  font-size:.76rem;
  letter-spacing:.16em;
  font-weight:800;
  margin-bottom:9px;
}

.kicker:before {
  content:"";
  width:26px;
  height:3px;
  background:var(--orange);
}

h2 {
  font-size:clamp(2rem,3.1vw,3.1rem);
  letter-spacing:-.055em;
  line-height:1.08;
  margin:0;
}

.textlink {
  font-size:.94rem;
  font-weight:650;
  text-underline-offset:5px;
  text-decoration-color:#d75a17;
}

.cards {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

article {
  border:1px solid var(--line);
  border-radius:10px;
  overflow:hidden;
}

.photo {
  position:relative;
}

.photo img {
  width:100%;
  height:auto;
  aspect-ratio:1.8;
  object-fit:cover;
  display:block;
}

.photo span {
  position:absolute;
  bottom:11px;
  left:12px;
  background:white;
  padding:5px 10px;
  border-radius:4px;
  font-size:.83rem;
  font-weight:750;
}

.cardcopy {
  padding:20px;
}

.cardcopy h3,.benefits h3 {
  margin:0;
  font-size:clamp(1.1rem,1.48vw,1.5rem);
  letter-spacing:-.04em;
}

.cardcopy a {
  text-decoration:none;
}

.cardcopy p,.split p,.foot p {
  line-height:1.6;
  margin:9px 0 0;
  color:var(--muted);
}

.tint {
  background:#f3f6f8;
}

.split {
  display:grid;
  grid-template-columns:1fr 1.15fr;
  gap:9%;
}

.split>div:first-child>p {
  max-width:450px;
  margin-top:16px;
}

.prices {
  margin:0;
}

.prices div {
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:15px 0;
  border-bottom:1px solid #cbd5df;
}

.prices dd {
  font-weight:750;
  margin:0;
}

.benefits>div {
  display:flex;
  gap:15px;
  margin-top:20px;
}

.benefits svg {
  flex:none;
  width:23px;
  height:23px;
  color:#bf4809;
}

.benefits p {
  margin:0;
}

.benefits strong {
  display:block;
  color:var(--ink);
}

#quote-form {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:start;
  gap:16px 20px;
}

#quote-form .form-note,#quote-form button,#quote-form #status {
  grid-column:1 / -1;
}

#quote-form .form-note {
  margin:0;
  font-size:.95rem;
}

#quote-form input,#quote-form label {
  min-width:0;
}

.quote-field {
  display:grid;
  min-width:0;
  gap:6px;
}

#quote-form [aria-invalid="true"] {
  border-color:#b42318;
  box-shadow:inset 0 0 0 1px #b42318;
}

.field-error {
  color:#a12218;
  font-size:.9rem;
  line-height:1.4;
}

.field-error:empty {
  display:none;
}

@media(min-width:721px) and (max-width:1050px) {
  #tarjous .split {
    grid-template-columns:1fr;
    gap:28px;
  }
}

@media(max-width:640px) {
  #quote-form {
    grid-template-columns:minmax(0,1fr);
  }
}

label {
  display:grid;
  gap:6px;
  font-weight:600;
}

input,textarea,select {
  width:100%;
  padding:12px;
  border:1px solid #798795;
  border-radius:5px;
  background:white;
  color:var(--ink);
}

textarea {
  resize:vertical;
}

select {
  appearance:none;
  background:white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23172554' stroke-width='2'/%3E%3C/svg%3E") right 14px center/16px no-repeat;
  padding-right:40px;
}

form .button {
  justify-self:start;
}

#status:empty {
  display:none;
}

#status {
  color:#166045;
  font-weight:600;
}

footer {
  background:#10223d;
  color:white;
}

.foot {
  display:grid;
  padding-block:44px;
  gap:32px;
}

.foot .brand {
  justify-self:start;
  color:white;
}

.foot-grid {
  display:grid;
  grid-template-columns:1.35fr 1.1fr .85fr 1fr;
  gap:32px;
  color:#d5deeb;
  line-height:1.7;
}

.foot-grid h2 {
  margin:0 0 12px;
  padding-left:10px;
  border-left:3px solid var(--orange);
  color:white;
  font-size:1.08rem;
  letter-spacing:0;
}

.foot-grid p,.foot-grid ul {
  margin:0;
  padding:0;
  list-style:none;
  color:inherit;
  overflow-wrap:anywhere;
}

footer a:not(.brand),.privacy a {
  text-underline-offset:4px;
}

footer a:hover {
  color:#ffab73;
}

.legal {
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  gap:12px 30px;
  border-top:1px solid #485567;
  padding-block:16px;
  font-size:.85rem;
  color:#d0d9e2;
}

.legal span:first-child {
  margin-right:auto;
}

.privacy {
  width:min(680px,90%);
  margin:60px auto;
  line-height:1.65;
}

.privacy h1 {
  font-size:clamp(2rem,6vw,3.4rem);
  line-height:1.1;
}

.privacy h2 {
  margin-top:32px;
  font-size:1.4rem;
}

@media(max-width:950px) {
  .foot-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .cards {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .navrow {
    gap:20px;
  }
  nav {
    gap:18px;
  }
}

@media(max-width:720px) {
  .navrow {
    height:68px;
    gap:10px;
  }
  .brand svg {
    width:36px;
  }
  .brand span {
    font-size:1.13rem;
  }
  .brand small {
    font-size:.5rem;
  }
  .topcta {
    margin-left:auto;
    font-size:.88rem;
    padding:8px 12px;
  }
  #menu {
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    background:white;
    border:1px solid var(--line);
    border-radius:5px;
    color:var(--navy);
  }
  #menu svg {
    width:22px;
  }
  nav {
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:white;
    padding:8px 5% 16px;
    box-shadow:0 8px 12px #10223d22;
  }
  nav.open {
    display:grid;
    gap:0;
  }
  nav a {
    padding:10px 0;
  }
  .hero {
    padding-bottom:44vw;
    background:#10223d;
  }
  .heroimg {
    inset:auto 0 0;
    height:52vw;
    object-position:82% center;
  }
  .shade {
    background:linear-gradient(to bottom,#10223d 0%,#10223d calc(100% - 51vw),transparent calc(100% - 31vw));
  }
  .herocopy {
    padding:38px 0 18px;
  }
  .hero h1 {
    font-size:clamp(3.5rem,10vw,5rem);
    margin:16px 0;
  }
  .hero p {
    font-size:1rem;
  }
  .actions {
    margin-top:20px;
  }
  .actions .button {
    padding:10px 14px;
  }
  .split {
    grid-template-columns:1fr;
    gap:26px;
  }
  .foot {
    align-items:flex-start;
  }
  .sectionhead {
    align-items:start;
    flex-direction:column;
    gap:14px;
  }
}

@media(max-width:500px) {
  .cards {
    grid-template-columns:1fr;
  }
  .desktop {
    display:none;
  }
  .foot-grid {
    grid-template-columns:1fr;
    gap:24px;
  }
  .legal {
    flex-direction:column;
  }
  .region {
    gap:7px;
  }
  .prices div {
    flex-wrap:wrap;
  }
  .heroimg {
    object-position:80% center;
  }
}

@media(prefers-reduced-motion:reduce) {
  :root {
    scroll-behavior:auto;
  }
  *,*::before {
    transition:none!important;
  }
}


/* Keep the native date picker within its grid track on narrow screens. */
.quote-field { grid-template-columns: minmax(0, 1fr); }
.date-control { position: relative; display: flex; min-width: 0; }
#transport-date {
  flex: 1 1 0%;
  width: 0;
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  box-sizing: border-box;
}
#transport-date::-webkit-date-and-time-value {
  min-width: 0;
  text-align: start;
}
.privacy .back-link {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  padding: 10px 4px;
  min-height: 44px;
}
#date-hint, .date-icon {
  position: absolute;
  pointer-events: none;
  background: white;
}
#date-hint {
  inset: 2px 34px 2px 4px;
  display: none;
  align-items: center;
  padding-left: 9px;
  color: var(--ink);
}
#transport-date[data-empty]:not(:focus) + #date-hint { display: flex; }
.date-icon {
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}
#transport-date::-webkit-calendar-picker-indicator { opacity: 0; }
nav a, .textlink, .cardcopy a, footer a:not(.brand), .privacy a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
}
.button, .brand { min-height: 44px; }
#menu { min-width: 44px; min-height: 44px; }
@media (min-width: 1051px) {
  #yritys, #tarjous .split {
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
    column-gap: 6%;
  }
  #yritys > div:first-child, #tarjous .split > div:first-child { align-self: center; }
}
