/* Jus-Kar Oy – responsiivinen yhden sivun yrityssivusto */
:root {
  --ink: #171b20;
  --ink-soft: #222830;
  --paper: #f5f5f2;
  --white: #fff;
  --muted: #aeb5bc;
  --text: #343b42;
  --orange: #ef6b2e;
  --orange-dark: #d9571d;
  --line: #dfe2e2;
  --font: "DM Sans", Arial, sans-serif;
  --display: "Manrope", "DM Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--white); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.site-header { position: relative; z-index: 5; background: #fff; border-bottom: 1px solid #eceeed; }
.nav-wrap { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; width: 220px; }
.brand img { display: block; width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a { text-decoration: none; color: #4c5359; font-size: 13px; font-weight: 700; transition: color .2s; }
.main-nav a:hover, .text-link:hover { color: var(--orange-dark); }
.nav-call { color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 800; border: 1px solid #dfe2e2; padding: 13px 17px; border-radius: 3px; }
.nav-call span { color: var(--orange); margin-left: 8px; }
.hero { min-height: 620px; position: relative; overflow: hidden; color: #fff; background: radial-gradient(ellipse at 80% 25%, rgba(239,107,46,.18), transparent 35%), linear-gradient(112deg, #171b20 0%, #20262d 58%, #15191e 100%); }
.hero-grid { position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 58px 58px; mask-image: linear-gradient(90deg, black, transparent 90%); }
.hero-inner { position: relative; z-index: 1; padding-top: 108px; padding-bottom: 40px; }
.eyebrow, .section-kicker { font-size: 10px; letter-spacing: .19em; font-weight: 800; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: #c4c9ce; }
.eyebrow-line { display: inline-block; width: 30px; height: 2px; background: var(--orange); }
.hero h1 { margin: 25px 0 20px; font-family: var(--display); font-size: clamp(48px, 7vw, 82px); line-height: .99; letter-spacing: -.065em; font-weight: 800; }
.hero h1 span { color: var(--orange); }
.hero-lead { max-width: 560px; color: #c4c9ce; font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; gap: 13px; margin-top: 34px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 52px; padding: 0 21px; border-radius: 3px; text-decoration: none; font-size: 12px; font-weight: 800; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-orange { color: #fff; background: var(--orange); }
.button-orange:hover { background: var(--orange-dark); }
.button-outline { color: #fff; border: 1px solid rgba(255,255,255,.32); }
.button-outline:hover { background: rgba(255,255,255,.08); }
.hero-foot { display: flex; justify-content: space-between; gap: 20px; margin-top: 88px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); color: #aeb5bc; font-size: 10px; letter-spacing: .04em; }
.status-dot { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--orange); }
.hero-founded { letter-spacing: .15em; font-weight: 700; }
.hero-mark { position: absolute; right: 8%; top: 17%; color: rgba(255,255,255,.035); font-family: var(--display); font-size: clamp(180px, 30vw, 420px); font-weight: 800; letter-spacing: -.12em; user-select: none; }
.hero-mark span { color: var(--orange); }
.section { padding: 105px 0; }
.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: 1fr 3fr; gap: 70px; }
.section-kicker { color: var(--orange-dark); margin: 8px 0 22px; }
h2 { margin: 0; color: var(--ink); font-family: var(--display); font-size: clamp(32px, 4vw, 49px); line-height: 1.12; letter-spacing: -.055em; }
h2 span { color: #899198; }
.intro-copy { max-width: 690px; margin: 25px 0 0; color: #697179; font-size: 16px; line-height: 1.8; }
.services { background: #fff; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 48px; }
.heading-side { max-width: 300px; margin: 0 0 5px; color: #7b838a; font-size: 14px; line-height: 1.7; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-card { position: relative; min-height: 300px; padding: 27px 24px 30px 0; }
.service-card + .service-card { padding-left: 24px; border-left: 1px solid var(--line); }
.service-number { color: #a5abb0; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.service-icon { display: flex; align-items: center; justify-content: center; width: 45px; height: 45px; margin: 28px 0 24px; border: 1px solid #f1c5ae; color: var(--orange-dark); font-size: 22px; }
.service-card h3 { margin: 0 0 13px; color: var(--ink); font-family: var(--display); font-size: 17px; letter-spacing: -.025em; }
.service-card p { margin: 0; color: #747c83; font-size: 13px; line-height: 1.75; }
.experience { padding: 76px 0; color: #fff; background: var(--ink); }
.experience-inner { display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; gap: 50px; }
.experience-big { color: #fff; font-family: var(--display); font-size: clamp(76px, 10vw, 120px); line-height: 1; font-weight: 800; letter-spacing: -.09em; }
.experience-big span { color: var(--orange); font-size: .55em; vertical-align: top; }
.experience-copy .section-kicker { color: var(--orange); }
.experience-copy h2 { color: #fff; font-size: clamp(30px, 3.4vw, 42px); }
.experience-copy p:last-child { max-width: 500px; color: #aeb5bc; font-size: 13px; line-height: 1.8; }
.rating-card { justify-self: end; width: 190px; padding: 18px; background: #fff; text-align: center; }
.rating-card img { display: block; width: 100%; height: auto; }
.rating-card p { margin: 10px 0 0; color: #555; font-size: 10px; line-height: 1.5; }
.rating-card strong { color: #222; }
.company { background: var(--paper); }
.company-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 90px; }
.company-text { padding-top: 28px; }
.company-text p { margin: 0 0 18px; color: #687179; font-size: 15px; line-height: 1.85; }
.text-link { display: inline-flex; gap: 20px; margin-top: 14px; color: var(--ink); text-decoration: none; font-size: 12px; font-weight: 800; }
.text-link span { color: var(--orange); }
.contact { color: #fff; background: linear-gradient(115deg, #20262d, #15191e); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 100px; }
.contact .section-kicker { color: var(--orange); }
.contact h2 { color: #fff; font-size: clamp(42px, 5vw, 62px); }
.contact h2 span { color: #aeb5bc; }
.contact-main > p:not(.section-kicker) { max-width: 440px; margin: 24px 0 28px; color: #b7bec4; font-size: 15px; line-height: 1.8; }
.contact-details { align-self: center; border-top: 1px solid rgba(255,255,255,.18); }
.contact-item { padding: 23px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.detail-label { display: block; margin-bottom: 10px; color: #9ca5ad; font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.detail-value { color: #fff; font-family: var(--display); font-size: clamp(17px, 2vw, 23px); font-weight: 700; line-height: 1.45; text-decoration: none; overflow-wrap: anywhere; }
a.detail-value:hover { color: var(--orange); }
.site-footer { padding: 28px 0; background: #fff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-inner img { width: 150px; height: auto; }
.footer-inner p, .footer-inner span { color: #7f878e; font-size: 10px; }
.footer-inner p { margin: 0; }

@media (max-width: 850px) {
  .nav-wrap { min-height: 76px; gap: 15px; }
  .brand { width: 175px; }
  .main-nav { gap: 17px; }
  .nav-call { padding: 11px 12px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .service-card:nth-child(4) { border-top: 1px solid var(--line); }
  .experience-inner { grid-template-columns: .7fr 1.5fr; }
  .rating-card { grid-column: 2; justify-self: start; }
  .company-grid, .contact-grid { gap: 55px; }
}
@media (max-width: 600px) {
  .container { width: min(100% - 36px, 1160px); }
  .nav-wrap { flex-wrap: wrap; padding: 14px 0; }
  .brand { width: 160px; }
  .main-nav { order: 3; width: 100%; justify-content: space-between; padding-top: 10px; border-top: 1px solid #eceeed; }
  .main-nav a { font-size: 12px; }
  .nav-call { margin-left: auto; font-size: 11px; }
  .hero { min-height: 590px; }
  .hero-inner { padding-top: 82px; }
  .hero h1 { font-size: clamp(47px, 13vw, 68px); }
  .hero-lead { font-size: 15px; }
  .hero-foot { margin-top: 65px; flex-direction: column; }
  .hero-mark { right: -3%; top: 35%; font-size: 210px; }
  .section { padding: 75px 0; }
  .intro-grid, .company-grid, .contact-grid { grid-template-columns: 1fr; gap: 22px; }
  .intro-grid { gap: 12px; }
  .section-heading { display: block; margin-bottom: 35px; }
  .heading-side { margin-top: 18px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card + .service-card { min-height: auto; padding: 24px 0; border-left: 0; border-top: 1px solid var(--line); }
  .service-card:first-child { border-top: 0; }
  .service-icon { margin: 18px 0; }
  .experience { padding: 60px 0; }
  .experience-inner { grid-template-columns: 1fr; gap: 22px; }
  .experience-big { font-size: 86px; }
  .rating-card { grid-column: auto; justify-self: start; width: 170px; }
  .company-text { padding-top: 0; }
  .contact-grid { gap: 45px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 12px; }
  .footer-inner img { width: 135px; }
}
