:root {
  --navy-950: #07111f;
  --navy-900: #0b1c33;
  --navy-800: #123056;
  --navy-700: #1b4474;
  --paper: #f4f1ea;
  --paper-2: #fffdfb;
  --ink: #142033;
  --muted: #3e4c5c;
  --line: #e3dcd0;
  --orange: #ff7a2f;
  --orange-deep: #c2410c;
  --orange-soft: #fff1e6;
  --danger: #9f1239;
  --header-h: 7.6rem;
  --wrap: 1120px;
  --display: "Familjen Grotesk", "Segoe UI", sans-serif;
  --body: "Source Sans 3", "Segoe UI", sans-serif;
  --shadow: 0 22px 50px rgba(7, 17, 31, 0.1);
  color-scheme: light;
}

@media (min-width: 960px) {
  :root { --header-h: 4.75rem; }
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

img, svg { display: block; max-width: 100%; }

img { height: auto; }

a { color: var(--orange-deep); }

a:hover { color: #9a3412; }

h1, h2, h3, .logo__text, .process__title, .faq__item summary {
  font-family: var(--display);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h1, h2, h3 { margin: 0 0 0.75rem; color: var(--navy-900); font-weight: 700; }

h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); color: #fff; }

h2 { font-size: clamp(2rem, 4vw, 3.1rem); }

h3 { font-size: 1.45rem; }

p { margin: 0 0 1rem; }

ul, ol { margin: 0; padding: 0; }

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--orange);
  color: var(--navy-950);
  font-weight: 700;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  text-decoration: none;
}

.skip-link:focus { top: 0.75rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus { outline: none; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

::selection {
  background: #ffc7a3;
  color: var(--navy-950);
}

.kicker {
  margin: 0 0 0.55rem;
  color: var(--orange-deep);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.lede {
  font-size: 1.2rem;
  max-width: 42rem;
  color: var(--muted);
}

.section { padding: clamp(3.5rem, 7vw, 6.25rem) 0; }

.section__head { margin-bottom: 2rem; max-width: 44rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  cursor: pointer;
}

.btn--primary {
  background: var(--orange);
  color: var(--navy-950);
}

.btn--primary:hover { background: #ff8d4d; color: var(--navy-950); }

.btn--ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5);
}

.btn--ghost:hover {
  color: #fff;
  box-shadow: inset 0 0 0 1.5px var(--orange);
}

.btn--primary:focus-visible,
.btn--ghost:focus-visible {
  outline-color: #fff;
  box-shadow: 0 0 0 4px var(--navy-950);
}

.noscript-banner {
  background: #fff4ea;
  color: #3a2415;
  padding: 0.85rem 1.25rem;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 17, 31, 0.96);
  color: #fff;
  box-shadow: inset 0 3px 0 var(--orange);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  min-height: 4.25rem;
  padding: 0.8rem 0 0.95rem;
}

.logo {
  color: #fff;
  text-decoration: none;
  margin-right: auto;
  min-width: 0;
}

.logo__text {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.logo__text::before {
  content: "";
  display: inline-block;
  width: 1.15rem;
  height: 0.18rem;
  margin-right: 0.55rem;
  border-radius: 99px;
  background: var(--orange);
  vertical-align: 0.18rem;
}

.nav-toggle {
  min-height: 2.75rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle__close { display: none; }

.site-header.is-open .nav-toggle__open { display: none; }

.site-header.is-open .nav-toggle__close { display: inline; }

.header-cta {
  order: 3;
  flex: 1 0 100%;
}

.primary-nav {
  display: none;
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 100%;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.4rem 0 1rem;
  background: var(--navy-950);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.is-open .primary-nav { display: flex; }

.primary-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 0;
  border-radius: 8px;
}

.primary-nav a[aria-current="true"] { color: var(--orange); }

@media (max-width: 959px) {
  body.nav-open { overflow: hidden; }
}

@media (min-width: 960px) {
  .header-inner {
    flex-wrap: nowrap;
    padding: 0;
    min-height: var(--header-h);
  }

  .logo { margin-right: 1.5rem; }

  .nav-toggle { display: none; }

  .primary-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem 1.15rem;
    margin-left: auto;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .header-cta {
    order: 4;
    flex: 0 0 auto;
    margin-left: 0.4rem;
  }
}

.hero {
  display: grid;
  background: var(--navy-950);
  color: #fff;
}

.hero__content {
  order: 2;
  padding: clamp(1.75rem, 4vw, 4.5rem) 0 clamp(2.5rem, 5vw, 4.5rem);
}

.hero .kicker { color: #ffc7a3; }

.hero__lede {
  color: #e7edf5;
  font-size: 1.2rem;
  max-width: 38rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1.75rem;
}

.hero__points {
  list-style: none;
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
}

.hero__points li {
  display: grid;
  gap: 0.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero__points strong {
  font-family: var(--display);
  font-size: 1.05rem;
}

.hero__points span { color: #d5deea; font-size: 1rem; }

.hero__note {
  margin: 1.25rem 0 0;
  color: #ffc7a3;
  font-size: 0.95rem;
}

.hero__art {
  order: 1;
  height: clamp(230px, 58vw, 420px);
  background: var(--navy-900);
}

.hero__art svg {
  width: 100%;
  height: 100%;
}

.road-dash {
  stroke-dasharray: 28 18;
  animation: road 22s linear infinite;
}

@keyframes road {
  to { stroke-dashoffset: -460; }
}

@media (min-width: 980px) {
  .hero {
    grid-template-columns: minmax(340px, 0.92fr) 1.08fr;
    min-height: calc(100svh - var(--header-h));
    align-items: stretch;
  }

  .hero__content {
    order: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero__art { order: 2; height: auto; min-height: 100%; }

  .hero__points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
}

.services { background: var(--paper); }

.services__grid {
  display: grid;
  gap: 1rem;
}

.service {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.35rem 1.35rem 1.2rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

.service--wide { background: var(--navy-900); color: #fff; }

.service--wide h3 { color: #fff; }

.service--wide p:last-child { margin-bottom: 0; color: #e4ebf4; }

.icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 1rem;
  background: var(--orange-soft);
  color: var(--orange-deep);
}

.service--wide .icon {
  background: rgba(255, 122, 47, 0.16);
  color: var(--orange);
}

.icon svg { width: 1.55rem; height: 1.55rem; }

.service figure { margin: -1.35rem -1.35rem 1rem; }

.service img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 22px 22px 0 0;
  background: var(--navy-900);
}

.service figcaption,
.vehicle figcaption,
.about figcaption {
  padding: 0.7rem 1.1rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.service figcaption { padding-bottom: 0.2rem; }

@media (min-width: 800px) {
  .services__grid { grid-template-columns: 1fr 1fr; }
  .service--wide { grid-column: 1 / -1; }
}

@media (min-width: 980px) {
  .service--wide {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1.25rem;
    align-items: start;
    padding: 2rem 2.1rem;
  }

  .service--wide .icon { margin-bottom: 0; }
}

.vehicles { background: #fff; }

.vehicle-grid {
  display: grid;
  gap: 1.15rem;
}

.vehicle {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: var(--paper);
}

.vehicle img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--navy-900);
}

.vehicle__body { padding: 1.25rem 1.3rem 1.4rem; }

.vehicle ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
}

.vehicle li + li { margin-top: 0.35rem; }

.callout {
  margin-top: 1.15rem;
  padding: 1.1rem 1.2rem;
  border-radius: 18px;
  background: var(--navy-900);
  color: #f4f1ea;
}

.callout p { margin: 0; }

@media (min-width: 840px) {
  .vehicle-grid { grid-template-columns: 1fr 1fr; }
}

.process {
  background:
    radial-gradient(900px 280px at 10% 0%, rgba(255, 122, 47, 0.18), transparent 60%),
    var(--navy-950);
  color: #fff;
}

.process h2,
.process .process__title { color: #fff; }

.process .kicker { color: #ffc7a3; }

.process__intro { color: #e5edf6; max-width: 40rem; }

.process__list {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  counter-reset: step;
}

.process__list li {
  position: relative;
  padding: 1.3rem 1.2rem 1.2rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.process__list li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.8rem;
  color: var(--orange);
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.process__title { font-size: 1.45rem; margin-bottom: 0.45rem; }

.process__list p { margin: 0; color: #dbe4ef; }

@media (min-width: 860px) {
  .process__list { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
}

.about { background: var(--paper); }

.about__grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.about figure {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.about img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.about figcaption { padding: 0.75rem 1rem 0.9rem; }

@media (min-width: 900px) {
  .about__grid { grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; }
}

.faq { background: #fff; }

.faq__list { border-bottom: 1px solid var(--line); }

.faq__item { border-top: 1px solid var(--line); }

.faq__item summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 1.15rem 2.4rem 1.15rem 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy-900);
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "";
  position: absolute;
  right: 0.3rem;
  top: 1.45rem;
  width: 0.65rem;
  height: 0.65rem;
  border-right: 2px solid var(--orange-deep);
  border-bottom: 2px solid var(--orange-deep);
  transform: rotate(45deg);
}

.faq__item[open] summary::after {
  transform: rotate(225deg);
  top: 1.65rem;
}

.faq__item summary:focus-visible { outline-offset: 4px; }

.faq__answer { padding: 0 0 1.15rem; max-width: 46rem; color: var(--muted); }

.faq__answer p:last-child { margin-bottom: 0; }

.quote {
  background:
    linear-gradient(180deg, rgba(255, 122, 47, 0.08), transparent 180px),
    var(--paper);
}

.quote-card {
  background: #fff;
  border: 1px solid #eadfce;
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: clamp(1.2rem, 3vw, 2.4rem);
}

.preview-note {
  background: #fff4ea;
  border: 1px solid #f3c7a4;
  color: #5c2c0c;
  border-radius: 14px;
  padding: 0.95rem 1rem;
  margin-bottom: 1.25rem;
}

.preview-note strong { font-family: var(--display); }

.form-grid {
  display: grid;
  gap: 1rem 1.1rem;
}

.field { min-width: 0; }

.field label,
.field legend {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--navy-900);
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.req { color: var(--orange-deep); }

.hint {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

input,
textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfc6b8;
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  min-height: 3.1rem;
}

textarea { min-height: 8.5rem; resize: vertical; }

input::placeholder,
textarea::placeholder { color: #5c6b7a; }

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--danger);
  background: #fff7f8;
}

.field__error {
  margin: 0.35rem 0 0;
  color: var(--danger);
  font-size: 0.98rem;
  font-weight: 600;
}

[hidden] { display: none !important; }

.error-summary {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 14px;
  padding: 0.95rem 1rem;
  margin-bottom: 1rem;
}

.error-summary h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: var(--danger);
}

.error-summary ul { margin: 0; padding-left: 1.15rem; }

.error-summary a { color: var(--danger); font-weight: 700; }

.form-actions { margin-top: 0.4rem; }

.form-status {
  margin-top: 1rem;
  background: var(--navy-900);
  color: #fff;
  border-radius: 16px;
  padding: 1.05rem 1.15rem;
  border-left: 6px solid var(--orange);
}

.form-status h3 {
  color: #ffd7b8;
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.form-status p { margin: 0; color: #f4f1ea; }

@media (min-width: 800px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .span-2 { grid-column: span 2; }
}

.site-footer {
  background: var(--navy-950);
  color: #e6edf5;
  padding: 3rem 0 1.4rem;
}

.footer-grid {
  display: grid;
  gap: 1.6rem;
}

.site-footer h2 {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.site-footer a { color: #ffd0b0; text-decoration: none; }

.site-footer a:hover { text-decoration: underline; color: #fff; }

.site-footer ul { list-style: none; }

.site-footer li + li { margin-top: 0.35rem; }

.footer-brand p { color: #c9d4e2; max-width: 28rem; }

.contact-lines { margin: 0; }

.contact-lines a { overflow-wrap: anywhere; }

.footer-base {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #b7c3d3;
  font-size: 0.98rem;
}

.footer-base p { margin: 0 0 0.4rem; }

@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr; }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .service,
  .vehicle {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .service:hover,
  .vehicle:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .road-dash { animation: none; }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  .site-header,
  .hero__art,
  .nav-toggle,
  .header-cta,
  .hero__actions,
  .form-actions { display: none !important; }

  body { background: #fff; color: #000; }

  .hero,
  .process,
  .site-footer,
  .service--wide,
  .callout { background: #fff; color: #000; }

  .hero h1,
  .process h2,
  .process__title,
  .service--wide h3 { color: #000; }

  a { color: #000; text-decoration: underline; }
}

/* Tomar brand assets and contact section */
.brand-logo { width: 126px; height: auto; padding: 6px; background: #fff; border-radius: 7px; }
.footer-logo { display: inline-block; margin-bottom: 1.3rem; }
.footer-logo .brand-logo { width: 180px; }
.hero__art { position: relative; overflow: hidden; }
.hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.contact-layout { display: grid; gap: 1.5rem; align-items: start; }
.contact-intro { background: var(--navy-900); color: #d5deea; border-radius: 24px; overflow: hidden; }
.contact-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.contact-intro__text { padding: 1.6rem; }
.contact-intro h2 { color: #fff; font-size: 2.4rem; }
.contact-intro .kicker { color: #ffc7a3; }
.contact-location { border-top: 1px solid #ffffff30; padding-top: 1rem; margin-bottom: 0; color: #fff; }
@media (min-width: 980px) {
  :root { --header-h: 6rem; }
  .contact-layout { grid-template-columns: minmax(260px, .8fr) minmax(0, 1.8fr); }
  .hero__art img { position: absolute; inset: 0; }
}
@media (max-width: 420px) { .brand-logo { width: 112px; } }

.contact-direct a { color: #ffc7a3; overflow-wrap: anywhere; text-underline-offset: 4px; }
.contact-direct a:hover { color: #fff; }

.whatsapp-widget { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; max-width: calc(100vw - 36px); }
.whatsapp-button { display: inline-flex; align-items: center; gap: 9px; padding: 13px 19px; min-height: 48px; border-radius: 999px; background: #146c39; color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 5px 20px #0003; }
.whatsapp-button:hover { background: #0b542b; color: #fff; }
.whatsapp-prompt { position: relative; width: 280px; max-width: 100%; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 18px; padding: 23px 20px 18px; box-shadow: 0 8px 35px #0003; font-size: 1rem; }
.whatsapp-prompt[hidden] { display: none; }
.whatsapp-prompt strong { display: block; padding-right: 20px; }
.whatsapp-prompt p { margin: 8px 0 12px; }
.whatsapp-prompt a { color: #146c39; font-weight: 700; }
.whatsapp-dismiss { position: absolute; right: 3px; top: 3px; width: 40px; height: 40px; border: 0; background: transparent; color: var(--muted); font-size: 1.7rem; cursor: pointer; }
.whatsapp-widget a:focus-visible, .whatsapp-dismiss:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
@media print { .whatsapp-widget { display: none; } }

.about-slides { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.about-slides .about-slide { position: absolute; inset: 0; height: 100%; opacity: 0; transition: opacity .7s ease; }
.about-slides .about-slide.is-active { opacity: 1; }
.about-slide-controls { display: flex; justify-content: center; gap: 8px; padding: 0 1rem 1rem; }
.about-slide-controls[hidden] { display: none; }
.about-slide-controls button { min-height: 44px; min-width: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--navy-900); font: inherit; padding: 6px 12px; cursor: pointer; }
.about-slide-controls button:hover { background: var(--orange-soft); }
.about-slide-controls button:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
@media print { .about-slide-controls { display: none; } }

.quote-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn:disabled { opacity: .65; cursor: wait; }
