/* Lanna Wheels Car Rental — warm stone, ink and road-sign amber */
:root {
  --bg: #F5F4F0; --bg-alt: #EBE9E2; --surface: #FFFFFF;
  --ink: #141414; --muted: #5A5852; --line: rgba(20, 20, 20, 0.12); --placeholder: #6B6960;
  --accent: #F0B323; --accent-ink: #875B00; --on-accent: #141414;
  --radius: 14px; --btn-radius: 10px; --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-head: 'Sora', system-ui, sans-serif; --head-weight: 700;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-head-th: 'Kanit', sans-serif; --font-body-th: 'IBM Plex Sans Thai', 'Manrope', sans-serif;
  --hero-shade: linear-gradient(90deg, rgba(10, 10, 10, 0.86) 0%, rgba(10, 10, 10, 0.55) 45%, rgba(10, 10, 10, 0.1) 80%), linear-gradient(0deg, rgba(10, 10, 10, 0.6) 0%, rgba(10, 10, 10, 0) 45%);
  --hero-shade-mobile: linear-gradient(0deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.6) 55%, rgba(10, 10, 10, 0.3) 100%);
}
/* Fastwork portfolio site base. Each site copies this below its own :root tokens.
   Tokens a site sets: --bg --bg-alt --surface --ink --muted --accent --accent-ink --on-accent
   --line --radius --font-head --font-body --font-head-th --font-body-th --hero-shade */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column;
  font-family: var(--font-body); background: var(--bg); color: var(--ink); line-height: 1.6;
  overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  caret-color: var(--accent); accent-color: var(--accent);
  scrollbar-color: color-mix(in srgb, var(--ink) 30%, transparent) var(--bg);
}
main { flex: 1 0 auto; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: color-mix(in srgb, var(--accent) 24%, transparent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 6px; }

/* Language */
.th, .th-i { display: none; }
.en { display: block; } .en-i { display: inline; }
body.lang-th .en, body.lang-th .en-i { display: none; }
body.lang-th .th { display: block; } body.lang-th .th-i { display: inline; }
.nw { white-space: nowrap; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 14px clamp(20px, 5vw, 40px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-family: var(--font-head); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.logo b { color: var(--accent-ink); font-weight: inherit; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-link { font-size: 15px; font-weight: 600; text-decoration: none; opacity: 0.75; padding: 6px 0; position: relative; transition: opacity 0.2s; }
.nav-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav-link:hover { opacity: 1; } .nav-link:hover::after { transform: scaleX(1); }
.lang-switch { min-width: 56px; min-height: 36px; padding: 6px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: transparent; font: 600 13px/1 var(--font-body); color: var(--ink); cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.lang-switch:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.nav .btn { min-height: 42px; padding: 0 20px; font-size: 14px; }
.hamburger { display: none; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav.open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .hamburger span:nth-child(2) { opacity: 0; }
.nav.open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Actions: one button per moment, the rest are links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: var(--btn-radius, 999px); border: 0; font: 700 15px/1 var(--font-body); text-decoration: none; cursor: pointer; background: var(--accent); color: var(--on-accent); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.2s; }
.btn:hover { transform: translateY(-2px); filter: brightness(0.94); box-shadow: 0 14px 28px -14px rgba(0, 0, 0, 0.45); }
.btn:active { transform: none; }
.link { font-weight: 700; color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; transition: text-decoration-thickness 0.2s; }
.link::after { content: '\00a0→'; }
.link:hover { text-decoration-thickness: 2.5px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }

/* Hero */
.hero { position: relative; }
.hero-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 80px); align-items: center; padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(56px, 8vw, 104px); }
.hero-split .hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.35); }
.hero-bleed { min-height: 88vh; min-height: 88svh; display: flex; align-items: flex-end; color: #fff; background: var(--hero-bg, #111) center / cover no-repeat; }
.hero-bleed::before { content: ''; position: absolute; inset: 0; background: var(--hero-shade); }
.hero-bleed .container { position: relative; width: 100%; padding-top: 120px; padding-bottom: clamp(56px, 9vw, 112px); }
.hero-bleed .link { color: #fff; }
.hero-copy { max-width: 600px; }
.hero-title { font-family: var(--font-head); font-size: clamp(40px, 6vw, 74px); font-weight: var(--head-weight, 700); line-height: 1.03; letter-spacing: -0.03em; text-wrap: balance; margin-bottom: 22px; }
.hero-desc { font-size: 18px; line-height: 1.7; max-width: 44ch; margin-bottom: 34px; color: var(--muted); }
.hero-bleed .hero-desc { color: rgba(255, 255, 255, 0.86); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.hero-bleed .hero-facts { border-color: rgba(255, 255, 255, 0.25); color: rgba(255, 255, 255, 0.8); }
.hero-facts b { color: var(--ink); font-size: 22px; font-weight: 800; margin-right: 6px; font-variant-numeric: tabular-nums; }
.hero-bleed .hero-facts b { color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .hero-media img, .hero-bleed { animation: settle 1.1s var(--ease) both; }
  .hero-copy > * { animation: rise 0.8s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: 0.06s; } .hero-copy > :nth-child(3) { animation-delay: 0.12s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.18s; }
}
@keyframes settle { from { filter: saturate(0.7) blur(6px); } to { filter: none; } }
@keyframes rise { from { transform: translateY(14px); opacity: 0.001; } to { transform: none; opacity: 1; } }

/* Sections */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-title { font-family: var(--font-head); font-size: clamp(32px, 4.4vw, 52px); font-weight: var(--head-weight, 700); line-height: 1.06; letter-spacing: -0.025em; text-wrap: balance; }
.section-sub { margin-top: 16px; font-size: 17px; color: var(--muted); max-width: 52ch; }

/* Offer cards (courses, fleet, treatments) */
.cards { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px -26px rgba(0, 0, 0, 0.35); }
.card > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.card-tag { font-size: 13px; font-weight: 700; color: var(--accent-ink); margin-bottom: 6px; }
.card-title { font-family: var(--font-head); font-size: 23px; font-weight: var(--head-weight, 700); line-height: 1.2; letter-spacing: -0.015em; }
.card-note { margin-top: 8px; font-size: 15px; color: var(--muted); }
.card-price { margin-top: 18px; font-size: 15px; color: var(--muted); }
.card-price b { font-size: 26px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; margin-right: 4px; }
.ticks { margin-top: 18px; display: grid; gap: 9px; font-size: 15px; }
.ticks li { display: flex; gap: 10px; align-items: baseline; }
.ticks li::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); transform: translateY(-2px); }
.card .card-foot { margin-top: auto; padding-top: 20px; }
.card-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.price-list { margin-top: 18px; border-top: 1px solid var(--line); }
.price-list li { display: flex; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.price-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.price-list .item { flex: 1; font-weight: 500; }
.price-list .price { font-weight: 700; color: var(--accent-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Table (schedule) */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: 13px; font-weight: 700; color: var(--muted); background: var(--bg-alt); }
tr:last-child td { border-bottom: 0; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-ink); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); counter-reset: step; }
.steps li { counter-increment: step; padding-top: 22px; border-top: 2px solid var(--ink); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--accent-ink); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.steps h3 { font-family: var(--font-head); font-size: 21px; font-weight: var(--head-weight, 700); margin-bottom: 8px; letter-spacing: -0.01em; }
.steps p { font-size: 15px; color: var(--muted); }

/* About split */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
.about-text { font-size: 17px; color: var(--muted); margin-top: 18px; max-width: 48ch; }
.facts { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.facts dt { font-size: 13px; font-weight: 700; color: var(--accent-ink); }
.facts dd { font-size: 16px; font-weight: 600; margin-top: 2px; }

/* Reviews */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 28px 26px; display: flex; flex-direction: column; }
.stars { display: flex; gap: 3px; margin-bottom: 14px; }
.stars svg { width: 17px; height: 17px; fill: var(--accent); }
.quote blockquote { font-size: 16.5px; line-height: 1.65; text-wrap: pretty; }
.quote figcaption { margin-top: auto; padding-top: 18px; font-size: 14px; font-weight: 700; color: var(--muted); }

/* Contact */
.contact-panel { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 64px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4.5vw, 52px); }
.info-list { display: grid; gap: 20px; }
.info-list dt { font-size: 13px; font-weight: 700; color: var(--accent-ink); margin-bottom: 3px; }
.info-list dd { font-size: 17px; font-weight: 600; }
.info-list a { text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; transition: background-size 0.3s var(--ease); }
.info-list a:hover { background-size: 100% 2px; }
.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.form input, .form textarea, .form select { width: 100%; padding: 13px 15px; min-height: 50px; font: 400 16px/1.5 var(--font-body); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: calc(var(--radius) * 0.6); transition: border-color 0.2s, box-shadow 0.2s; }
.form textarea { resize: vertical; min-height: 116px; }
.form ::placeholder { color: var(--placeholder); }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.form [aria-invalid="true"] { border-color: #B42318; }
.form .btn { width: 100%; margin-top: 4px; }
.form .label-busy { display: none; }
.form .btn[aria-busy="true"] .label-idle { display: none; }
.form .btn[aria-busy="true"] .label-busy { display: inline; }
.form-error { color: #B42318; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.form-success { margin-top: 14px; padding: 13px 15px; border-radius: 10px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent-ink); font-weight: 600; }
.map { margin-top: 22px; height: clamp(240px, 32vw, 360px); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-alt); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Footer + LINE */
.footer { background: var(--ink); color: color-mix(in srgb, var(--bg) 75%, transparent); padding: 34px 0 34px; font-size: 14px; flex-shrink: 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer nav { display: flex; gap: 22px; }
.footer a { text-decoration: none; } .footer a:hover { color: var(--bg); }
.line-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #06C755; color: #fff; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5); transition: transform 0.25s var(--ease); }
.line-float:hover { transform: translateY(-2px); }
.line-float svg { width: 26px; height: 26px; fill: currentColor; }

/* Thai */
body.lang-th { font-family: var(--font-body-th); }
body.lang-th .hero-title, body.lang-th .section-title, body.lang-th .card-title, body.lang-th .steps h3, body.lang-th .logo { font-family: var(--font-head-th); letter-spacing: 0; }
body.lang-th .hero-title { line-height: 1.22; }
body.lang-th .section-title { line-height: 1.28; }
body.lang-th .hero-desc, body.lang-th .section-sub, body.lang-th .about-text, body.lang-th .quote blockquote { line-height: 1.85; }

/* Responsive */
@media (max-width: 960px) {
  .hero-split { grid-template-columns: 1fr; row-gap: 30px; }
  .hero-split .hero-media { order: -1; }
  .hero-split .hero-media img { aspect-ratio: 4 / 3; }
  .cards { --cols: 2; }
  .steps { --steps: 2; }
  .about, .contact-panel { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .cards { --cols: 1; gap: 16px; }
  .steps { --steps: 1; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 760px) {
  .hamburger { display: flex; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px clamp(20px, 5vw, 40px) 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -24px rgba(0, 0, 0, 0.4); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s; }
  .nav.open .nav-links { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-link { font-size: 17px; opacity: 1; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-link::after { display: none; }
  .nav-links .btn, .nav-links .lang-switch { margin-top: 16px; align-self: flex-start; }
  .hero-split { padding-top: 20px; }
  .hero-title { font-size: clamp(34px, 10vw, 46px); }
  .hero-title .nw { white-space: normal; }
  .hero-desc { font-size: 16px; }
  .hero-bleed { min-height: 84svh; }
  .hero-bleed::before { background: var(--hero-shade-mobile, var(--hero-shade)); }
  .footer { padding-bottom: 88px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .line-float { right: 16px; bottom: 16px; width: 48px; height: 48px; }
  th, td { padding: 13px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}
/* Site touches */
.hero-bleed { background-position: 30% center; }
.hero-bleed .hero-title { letter-spacing: -0.035em; }
.card-featured .card-tag { color: var(--ink); }
.card-price b { font-family: var(--font-head); }
.about img { border-radius: var(--radius); }

/* Polish 2026-10-26 */
.nav-link { display: inline-flex; align-items: center; min-height: 44px; }
.nav-link::after { bottom: 6px; }
.lang-switch, .nav .btn { min-height: 44px; }
.footer nav a, .footer .concept { display: inline-flex; align-items: center; min-height: 44px; }
.footer .concept { font-size: 13px; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--bg) 35%, transparent); text-underline-offset: 3px; }
.footer :focus-visible { outline-color: var(--accent); }
.info-list a { display: inline-block; padding: 10px 0; margin: -10px 0; background-position: 0 calc(100% - 10px); }
/* Fleet cards: the car class leads, the model follows */
.card { position: relative; }
.card-model { margin-top: 4px; font-size: 15px; font-weight: 600; color: var(--ink); }
.card-badge { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 13px; font-weight: 800; }
.line-float { background: #068A3C; }
