/* =========================================================
   Taxi Jón Eiður · Egilsstaðir
   ========================================================= */

:root {
  --navy: #111C2D;
  --navy-2: #182538;
  --paper: #F5F2EA;
  --paper-2: #ECE7DB;
  --blue: #58758F;
  --amber: #E6A83A;
  --amber-dark: #CF922A;
  --ink: #161616;
  --white: #FFFFFF;

  --ink-soft: #4A4F57;
  --line: rgba(22, 22, 22, 0.14);
  --line-light: rgba(255, 255, 255, 0.14);
  --text-light: rgba(245, 242, 234, 0.74);

  --font: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --header-h: 72px;
  --radius: 3px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--amber);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

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

.ico { width: 18px; height: 18px; fill: currentColor; flex: none; }
.ico--sm { width: 15px; height: 15px; }

/* ---------- Type ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--amber);
}
.eyebrow--light { color: rgba(245, 242, 234, 0.82); }

.h2 {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--navy);
  text-wrap: balance;
}
.h2--light { color: var(--paper); }

/* road centre-line detail */
.dash {
  display: inline-block;
  width: 28px;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--amber) 0 8px, transparent 8px 13px);
  vertical-align: middle;
}

.tag {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.tag--on-img {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 5px 9px;
  background: rgba(17, 28, 45, 0.72);
  color: rgba(245, 242, 234, 0.85);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--sm { min-height: 42px; padding: 0 16px; font-size: 15px; }
.btn--lg { min-height: 62px; padding: 0 28px; }

.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber:hover { background: var(--amber-dark); }

.btn--ghost-light { border-color: rgba(245, 242, 234, 0.55); color: var(--paper); }
.btn--ghost-light:hover { border-color: var(--paper); background: rgba(245, 242, 234, 0.08); }

.btn--light { background: var(--paper); color: var(--navy); }
.btn--light:hover { background: var(--white); }

.btn--navy { background: var(--navy); color: var(--paper); }
.btn--navy:hover { background: var(--navy-2); }

.btn__stack { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.btn__label { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.btn__mail { font-size: 17px; font-weight: 600; letter-spacing: 0.005em; }
.btn__num { font-size: 20px; font-weight: 700; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }

.textlink {
  font-size: 15px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.textlink--light { color: var(--text-light); }
.textlink--light:hover { color: var(--paper); }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--paper);
  transition: background-color .3s, box-shadow .3s;
}
.header.is-solid,
body.menu-open .header {
  background: var(--navy);
  box-shadow: 0 1px 0 var(--line-light);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}
.logo__mark {
  width: 6px;
  height: 34px;
  background: repeating-linear-gradient(180deg, var(--amber) 0 9px, transparent 9px 13px);
}
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-size: 17px; font-weight: 800; letter-spacing: 0.04em; }
.logo__sub { margin-top: 5px; font-size: 11px; font-weight: 600; letter-spacing: 0.42em; color: rgba(245, 242, 234, 0.7); }

.nav { display: flex; gap: 30px; }
.nav a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: rgba(245, 242, 234, 0.85);
  padding: 6px 0;
  transition: color .2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--paper); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

/* language switch: IS / EN */
.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.lang a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 6px;
  color: rgba(245, 242, 234, 0.55);
  text-decoration: none;
  transition: color .2s;
}
.lang a:hover { color: var(--paper); }
.lang a[aria-current] {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.lang__sep { color: rgba(245, 242, 234, 0.3); }

.menu-btn {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.menu-btn span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  background: var(--paper);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
body.menu-open .menu-btn span:first-child { top: 21px; transform: rotate(45deg); }
body.menu-open .menu-btn span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  background: var(--navy);
  border-top: 1px solid var(--line-light);
  padding: 8px var(--gutter) 28px;
}
.mobile-menu a {
  display: block;
  padding: 16px 0;
  font-size: 22px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line-light);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding-top: var(--header-h);
  color: var(--paper);
  background: var(--navy);
  overflow: hidden;
}
/* Jón's own photo, shown in full without an overlay */
.hero__media {
  display: block;
  height: min(62vh, 56.25vw);
  min-height: 300px;
  background: var(--navy-2);
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
}
.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px clamp(32px, 5vw, 80px);
  align-items: end;
  padding-top: clamp(32px, 4.5vh, 52px);
  padding-bottom: clamp(32px, 5vh, 56px);
}
.hero__head .eyebrow { margin-bottom: 14px; }
.hero__title {
  font-size: clamp(42px, 6.2vw, 88px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero__name {
  display: block;
  margin-top: 0.3em;
  font-size: 0.42em;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: rgba(245, 242, 234, 0.8);
}
.hero__lead {
  max-width: 30em;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: rgba(245, 242, 234, 0.85);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero__base {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line-light);
  background: rgba(17, 28, 45, 0.55);
}
.hero__base-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(245, 242, 234, 0.85);
}
.hero__place { display: flex; align-items: center; gap: 12px; letter-spacing: 0.04em; }
.hero__fact strong { color: var(--amber); font-weight: 700; }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding-block: var(--section); }
.section__head { margin-bottom: clamp(40px, 6vw, 72px); }

/* ---------- Services ---------- */
.svc {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}
.svc__item {
  display: flex;
  flex-direction: column;
  padding: 30px 32px 8px 0;
}
.svc__item + .svc__item {
  padding-left: 32px;
  padding-right: 0;
  border-left: 1px solid var(--line);
}
.svc__num {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.svc__title {
  margin-top: 12px;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--navy);
}
.svc__text {
  margin-top: 12px;
  max-width: 22em;
  color: var(--ink-soft);
}
.svc__link {
  margin-top: auto;
  padding-top: 28px;
  align-self: flex-start;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1.5px solid var(--amber);
  padding-bottom: 3px;
}
.svc__link span { display: inline-block; transition: transform .25s var(--ease); }
.svc__link:hover span { transform: translateX(4px); }

/* taxi: the core service, shown first and largest */
.svc-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  margin-bottom: clamp(28px, 4vw, 44px);
  background: var(--paper-2);
  border-top: 3px solid var(--navy);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.svc-lead .svc__media { aspect-ratio: auto; min-height: 100%; margin: 0; }
.svc-lead__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 52px);
}
.svc-lead__kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}
.svc-lead__kicker .svc__num { padding-right: 14px; border-right: 1px solid var(--line); }
.svc-lead__title {
  margin-top: 18px;
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--navy);
  text-wrap: balance;
}
.svc-lead__id {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}
.svc-lead__text {
  max-width: 32em;
  margin-top: 16px;
  font-size: clamp(17px, 1.4vw, 18px);
  color: var(--ink-soft);
}
.svc-lead__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 28px;
}
.svc-lead__actions .svc__link { margin-top: 0; padding-top: 0; }

/* photos on the service cards (Jón's own) */
.svc__media {
  display: block;
  aspect-ratio: 3 / 2;
  margin-bottom: 24px;
  overflow: hidden;
  background: var(--paper-2);
}
.svc__media img { width: 100%; height: 100%; object-fit: cover; }
.svc__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}
.svc__kicker .svc__num { padding-right: 12px; border-right: 1px solid var(--line); }
/* Jón's examples under 03 (jeppi) */
.svc__text--lead { margin-top: 14px; font-weight: 600; color: var(--navy); }
.svc__list + .svc__text { margin-top: 14px; }
.svc__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}
.svc__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
}
.svc__list li::before {
  content: "";
  flex: none;
  width: 10px;
  height: 2px;
  background: var(--amber);
}
#ruta, #jeppi, #minibus, #jeep, #kerrur, #trailers { scroll-margin-top: calc(var(--header-h) + 16px); }

/* additional activity: smaller row below the three core services */
.svc-extra {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--line);
}
.svc-extra .svc__media { margin-bottom: 0; }
.svc-extra .svc__title { font-size: clamp(22px, 2vw, 26px); }
.svc-extra .svc__link { display: inline-block; margin-top: 16px; padding-top: 0; }

/* gallery inside a service row (Variant trailers): product photos on white, never cropped */
.gallery {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(4px, 1vw, 12px);
}
.gallery li { display: flex; min-width: 0; }
.gallery__item {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: zoom-in;
  transition: border-color .2s;
}
.gallery__item:hover { border-color: var(--navy); }
.gallery__item picture { display: block; width: 100%; height: 100%; }
.gallery__item img { width: 100%; height: 100%; object-fit: contain; }
/* exactly five photos: one large, four small beside it */
.gallery--feature li:first-child { grid-column: span 2; grid-row: span 2; }
.gallery--feature li:first-child .gallery__item { aspect-ratio: auto; height: 100%; }

/* enlarged photo */
.lightbox {
  width: min(94vw, 1200px);
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(17, 28, 45, 0.9); }
.lightbox__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 82vh;
  object-fit: contain;
  background: var(--white);
}
.lightbox__count {
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(245, 242, 234, 0.8);
  font-variant-numeric: tabular-nums;
}
.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--paper);
  cursor: pointer;
}
.lightbox__btn:hover { background: var(--navy-2); }
.lightbox__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.lightbox__btn--close { top: 8px; right: 8px; }
.lightbox__btn--prev, .lightbox__btn--next { top: 50%; margin-top: -40px; }
.lightbox__btn--prev { left: 8px; }
.lightbox__btn--next { right: 8px; }

.contact__addr {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
}
.contact__addr strong { color: var(--paper); font-weight: 600; }
.contact__addr a { color: var(--paper); text-underline-offset: 3px; }

/* ---------- Group ---------- */
.group {
  background: var(--navy);
  color: var(--paper);
}
.group__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1440px;
  margin-inline: auto;
}
.group__text {
  position: relative;
  padding: var(--section) clamp(32px, 5vw, 80px) var(--section) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.group__big {
  font-size: clamp(140px, 19vw, 260px);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(245, 242, 234, 0.32);
  margin: 4px 0 28px -0.04em;
  font-variant-numeric: tabular-nums;
}
.group__lead {
  max-width: 28em;
  margin-top: 20px;
  font-size: 18px;
  color: var(--text-light);
}
.group__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 40px;
}
.group__media {
  position: relative;
  min-height: 420px;
  background: var(--navy-2);
}
.group__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 50%;
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.about__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
  overflow: hidden;
}
.about__media picture { display: block; width: 100%; height: 100%; }
.about__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; }
.about__body + .about__body { margin-top: 16px; }
.about__body {
  max-width: 30em;
  margin-top: 28px;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.6;
  color: var(--ink-soft);
}
.about__sign {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  max-width: 30em;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}

/* ---------- Reviews (only shown once real reviews exist) ---------- */
.reviews { border-top: 1px solid var(--line); }
.reviews__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.reviews__list:empty { display: none; }
.review {
  display: flex;
  flex-direction: column;
  padding: 26px 28px;
  background: var(--paper-2);
  border-top: 2px solid var(--navy);
}
.review__text { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink); }
.review__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: auto;
  padding-top: 20px;
  font-size: 14px;
  color: var(--ink-soft);
}
.review__name { font-weight: 600; color: var(--navy); }
.review__rating { margin-top: 8px; font-size: 14px; letter-spacing: 0.1em; color: var(--amber-dark); }
.reviews__empty { font-size: 17px; color: var(--ink-soft); }
.reviews__list:not(:empty) + .reviews__empty { display: none; }

/* ---------- Place ---------- */
.place { background: var(--paper-2); }
.place__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: stretch;
}
.facts {
  margin: 36px 0 36px;
  border-top: 1px solid var(--line);
}
.facts__row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.facts dt {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  padding-top: 3px;
}
.facts dd { font-size: 18px; font-weight: 500; color: var(--navy); }
.facts a { text-decoration: none; }
.facts a:hover { text-decoration: underline; text-underline-offset: 4px; }

.place__map { display: flex; flex-direction: column; }
.map {
  flex: 1;
  min-height: 440px;
  background: #dfe3e6;
  border: 1px solid var(--line);
  z-index: 0;
}
.map .leaflet-tile-pane { filter: grayscale(1) sepia(0.12) contrast(0.92) brightness(1.04); }
.map .leaflet-control-attribution { font-size: 10px; background: rgba(245, 242, 234, 0.85); }
.map .leaflet-bar a { color: var(--navy); }
.map__label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}

.pin {
  position: relative;
  width: 30px;
  height: 30px;
}
.pin__dot {
  position: absolute;
  inset: 7px;
  background: var(--amber);
  border: 3px solid var(--navy);
  border-radius: 50%;
}
.pin__ring {
  position: absolute;
  inset: 0;
  border: 2px solid var(--navy);
  border-radius: 50%;
  opacity: .35;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--navy);
  color: var(--paper);
  padding-block: var(--section);
}
.contact__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.contact__lead {
  max-width: 24em;
  margin-top: 20px;
  font-size: 18px;
  color: var(--text-light);
}

.callcard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 40px;
  padding: 24px 72px 24px 24px;
  background: var(--amber);
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--radius);
  transition: background-color .2s;
}
.callcard:hover { background: var(--amber-dark); }
.callcard__label { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.callcard__num { font-size: clamp(28px, 3.2vw, 38px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.callcard__ico {
  position: absolute;
  right: 24px;
  top: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  fill: currentColor;
}

.mailrow {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 14px;
  padding: 20px 24px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .2s, background-color .2s;
}
.mailrow:hover { border-color: rgba(245, 242, 234, 0.4); background: rgba(245, 242, 234, 0.04); }
.mailrow__label { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(245, 242, 234, 0.6); }
.mailrow__addr { font-size: 20px; font-weight: 600; word-break: break-word; }

/* form */
.form {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(24px, 3.5vw, 44px);
  border-radius: var(--radius);
}
.hp { position: absolute; left: -9999px; }
.form__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 20px;
  padding-bottom: 20px;
  margin-bottom: 26px;
  border-bottom: 2px solid var(--navy);
}
.form__title { font-size: 26px; font-weight: 700; letter-spacing: -0.015em; color: var(--navy); }
.form__note { font-size: 14px; color: var(--ink-soft); }
.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 18px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field__label { font-size: 14px; font-weight: 600; color: var(--navy); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid rgba(17, 28, 45, 0.22);
  border-radius: var(--radius);
  font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111C2D' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  padding-right: 38px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #8b8f96; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(88, 117, 143, 0.25);
}
.field.is-invalid input { border-color: #b3261e; }

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 28px;
}
.form__status { font-size: 14px; color: var(--ink-soft); max-width: 30em; }

/* ---------- Footer ---------- */
.footer {
  background: #0B1320;
  color: rgba(245, 242, 234, 0.78);
  padding-top: 64px;
  font-size: 15px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
}
.footer__name { font-size: 19px; font-weight: 700; color: var(--paper); }
.footer__tag { margin-top: 6px; }
.footer__contact { display: flex; flex-direction: column; gap: 4px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 22px;
  border-top: 1px solid var(--line-light);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: rgba(245, 242, 234, 0.48);
}

/* ---------- Mobile action bar ---------- */
.actionbar { display: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .nav { gap: 22px; }
}

@media (max-width: 959px) {
  :root { --header-h: 64px; }

  .nav, .header__call { display: none; }
  .header__inner { gap: 10px; }
  .menu-btn { display: block; }
  .header { background: var(--navy); box-shadow: 0 1px 0 var(--line-light); }

  /* hero: tighter crop of the taxi + minibus */
  .hero__media { height: auto; min-height: 0; aspect-ratio: 3 / 2; }
  .hero__media img { object-position: 50% 50%; }
  .hero__content { grid-template-columns: 1fr; }

  .svc { grid-template-columns: 1fr; }
  .svc-lead { grid-template-columns: 1fr; }
  .svc-lead .svc__media { aspect-ratio: 4 / 3; min-height: 0; }
  .svc-extra { grid-template-columns: 1fr; }
  .gallery { gap: 10px; }
  .svc__item, .svc__item + .svc__item {
    padding: 26px 0 30px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .svc__link { padding-top: 18px; }

  .group__grid { grid-template-columns: 1fr; }
  .group__text { padding: var(--section) var(--gutter) 56px; }
  .group__media { min-height: 0; aspect-ratio: 4 / 3; order: 2; }

  .about__grid, .place__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { aspect-ratio: 16 / 10; order: 2; }
  .map { min-height: 340px; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

  /* sticky action bar */
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .actionbar {
    position: fixed;
    inset: auto 0 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--navy);
    border-top: 1px solid var(--line-light);
    transform: translateY(0);
    transition: transform .3s var(--ease);
  }
  body.menu-open .actionbar { transform: translateY(110%); }
  .actionbar__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
  }
  .actionbar__btn--call { background: var(--amber); color: var(--ink); }
  .actionbar__btn--form { border: 1.5px solid rgba(245, 242, 234, 0.4); color: var(--paper); }
}

@media (max-width: 599px) {
  body { font-size: 16px; }

  .hero__title { font-size: clamp(40px, 11.5vw, 56px); }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: flex-start; }
  .hero__base-inner { flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; padding-block: 14px; padding-right: var(--gutter); }

  .group__actions { flex-direction: column; align-items: stretch; }
  .group__actions .textlink { text-align: center; }

  .facts__row { grid-template-columns: 1fr; gap: 2px; }

  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .gallery--feature li:first-child { grid-row: auto; }
  .gallery--feature li:first-child .gallery__item { aspect-ratio: 3 / 2; height: auto; }
  /* on phones the buttons sit outside the photo so they never cover the trailer */
  .lightbox { width: 100vw; }
  .lightbox__count { margin-top: 8px; line-height: 44px; }
  .lightbox__btn--close { top: -52px; right: 8px; }
  .lightbox__btn--prev, .lightbox__btn--next { top: auto; bottom: 0; margin-top: 0; }
  .lightbox__btn--prev { left: 8px; }
  .lightbox__btn--next { right: 8px; }

  .form__grid { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; }
  .svc-lead__actions { align-items: stretch; }
  .svc-lead__actions .btn { justify-content: flex-start; }

  .callcard { padding: 20px 64px 20px 20px; }
  .mailrow { padding: 18px 20px; }

  .footer__grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
