@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500&display=swap');

:root {
  /* ---- Krāsu tokeni: pēc logo ---- */
  --ink:        #0C222E;
  --navy:       #114A61;   /* logo tumšais tirkīzs */
  --navy-deep:  #0A3243;
  --ice:        #EAF5F8;
  --ice-2:      #D6EDF4;
  --white:      #FFFFFF;
  --accent:     #0E7C99;   /* poga: pietiekams kontrasts baltam tekstam */
  --accent-dim: #0A6580;
  --cyan:       #2FB6DA;   /* logo gaišais tirkīzs — akcentiem uz tumša */
  --line:       rgba(17, 74, 97, 0.14);

  /* ---- Tipogrāfija ---- */
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius: 14px;
  --shadow: 0 12px 32px rgba(7, 37, 56, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 0.4em;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 20px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

p { margin: 0 0 1em; color: rgba(12, 34, 46, 0.78); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(14, 124, 153, 0.32);
}
.btn-accent:hover { background: var(--accent-dim); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.18); }

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn-outline-navy:hover { border-color: var(--navy); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo img {
  height: 42px;
  width: auto;
  display: block;
}

.footer-logo {
  height: 46px;
  width: auto;
  margin: 0 auto 14px;
  opacity: 0.9;
}

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
}
.main-nav a:hover { color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.phone-link {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  color: var(--navy);
}

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(120% 140% at 15% 0%, var(--navy) 0%, var(--navy-deep) 65%);
  color: var(--white);
  overflow: hidden;
  padding: 96px 0 110px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(36px, 5.4vw, 60px);
  color: var(--white);
}
.hero .accent-word { color: var(--cyan); }
.hero-logo { height: 54px; width: auto; margin-bottom: 22px; }
.hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 46ch;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.hero-crack-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 420px;
  justify-self: end;
}
.hero-crack-wrap svg { width: 100%; height: 100%; }

.crack-line {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: draw-crack 1.6s cubic-bezier(.4,0,.2,1) forwards;
}
.crack-seal {
  fill: none;
  stroke: var(--accent);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  opacity: 0;
  animation: seal-crack 1.1s ease-out 1.5s forwards;
}
@keyframes draw-crack { to { stroke-dashoffset: 0; } }
@keyframes seal-crack {
  0% { stroke-dashoffset: 900; opacity: 0.9; }
  70% { opacity: 0.9; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .crack-line, .crack-seal { animation: none; stroke-dashoffset: 0; opacity: 0; }
}

/* USP strip */
.usp-strip {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.usp-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 22px 24px;
}
.usp-item {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.usp-item strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 15px;
}

/* ---------- Section shell ---------- */
.section { padding: 88px 0; }
.section-ice { background: var(--ice); }
.section-head { max-width: 640px; margin-bottom: 48px; }

/* jagged divider (signature motif reused as section break) */
.crack-divider {
  height: 22px;
  width: 100%;
  display: block;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ice-2);
  border-radius: 10px;
  color: var(--navy);
  margin-bottom: 18px;
}
.service-card p { font-size: 14.5px; margin-bottom: 0; }

/* ---------- Cenu forma (lead form) ---------- */
/* Pilna platuma tumšā josla — fons stiepjas līdz ekrāna malām */
.quote-section {
  background: var(--navy);
  color: var(--white);
  padding: 72px 24px;
}
.quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
}
.quote-copy { padding: 0 0 36px; }
.quote-copy h2 { color: var(--white); }
.quote-copy p { color: rgba(255,255,255,0.78); }
.quote-copy ul { list-style: none; padding: 0; margin: 24px 0 0; }
.quote-copy li {
  display: flex; align-items: baseline; gap: 10px;
  font-size: 14.5px; color: rgba(255,255,255,0.85);
  padding: 8px 0; border-top: 1px solid rgba(255,255,255,0.12);
}
.quote-copy li:first-child { border-top: none; }
.quote-copy li::before { content: '—'; color: var(--cyan); font-family: var(--font-mono); }

.quote-form {
  background: var(--white);
  padding: 40px 36px;
  border-radius: 18px;
  color: var(--ink);
  box-shadow: 0 20px 48px rgba(3, 20, 32, 0.28);
}
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block; font-size: 13px; font-weight: 600;
  margin-bottom: 6px; color: var(--navy);
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--ice);
  color: var(--ink);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--navy); background: var(--white);
}
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-msg { font-size: 14px; margin-top: 14px; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { color: #1a7a4c; }
.form-msg.err { color: #c0392b; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  background: none; border: none; text-align: left; cursor: pointer;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700; color: var(--ink);
}
.faq-q .plus {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  transition: transform 0.2s ease;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); border-color: var(--accent); color: var(--accent); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-a-inner { padding-bottom: 22px; font-size: 15px; color: rgba(12,34,46,0.75); max-width: 68ch; }

/* ---------- Contact / footer ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-card dt { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-top: 18px; }
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: 4px 0 0; font-size: 16px; font-weight: 600; }

.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.65);
  padding: 40px 0;
  font-size: 13.5px;
  text-align: center;
}
.site-footer a { color: rgba(255,255,255,0.85); text-decoration: none; }

/* floating action (mobile call/whatsapp) */
.float-actions {
  position: fixed;
  bottom: 18px; right: 18px;
  display: flex; flex-direction: column; gap: 10px;
  z-index: 60;
}
.float-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
  text-decoration: none;
}
.float-btn.call { background: var(--accent); }
.float-btn.whatsapp { background: #25D366; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-crack-wrap { max-width: 260px; justify-self: start; opacity: 0.5; }
  .usp-strip .container { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .quote-copy { padding: 0 0 28px; }
  .quote-form { padding: 32px 24px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .main-nav, .header-actions .phone-link { display: none; }
  .nav-toggle { display: block; }
  .services-grid { grid-template-columns: 1fr; }
  .form-two { grid-template-columns: 1fr; }
  .quote-section { padding: 52px 16px; }
  .quote-form { padding: 28px 20px; }
  .section { padding: 64px 0; }
}
.main-nav.mobile-open {
  display: flex;
  position: absolute;
  top: 74px; left: 0; right: 0;
  background: var(--white);
  flex-direction: column;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  gap: 18px;
}

/* ---------- Adreses navigācijas izvēle ---------- */
.address-btn {
  display: inline;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: inherit;
  color: inherit;
  text-align: left;
  transition: color 0.15s ease;
}
.address-btn:hover { color: var(--accent); }
.address-btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

.nav-sheet {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.nav-sheet[hidden] { display: none; }
.nav-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 37, 56, 0.55);
  backdrop-filter: blur(3px);
}
.nav-sheet-card {
  position: relative;
  background: var(--white);
  border-radius: 18px;
  padding: 28px 26px 22px;
  width: 100%;
  max-width: 340px;
  box-shadow: var(--shadow);
}
.nav-sheet-eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 6px;
}
.nav-sheet-address {
  font-size: 17px;
  margin: 0 0 20px;
  color: var(--ink);
}
.nav-sheet-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.nav-sheet-option:hover { border-color: var(--navy); background: var(--ice); }
.nav-sheet-option svg { color: var(--accent); }
.nav-sheet-cancel {
  width: 100%;
  background: none;
  border: none;
  padding: 12px;
  margin-top: 4px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: rgba(12, 34, 46, 0.5);
}
.nav-sheet-cancel:hover { color: var(--ink); }

/* ---------- Faila pievienošana formā ---------- */
.file-drop {
  border: 1.5px dashed var(--line);
  border-radius: 10px;
  padding: 18px 14px;
  text-align: center;
  cursor: pointer;
  background: var(--ice);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.file-drop:hover { border-color: var(--navy); background: var(--white); }
.file-drop input[type="file"] { display: none; }
.file-drop-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.file-drop-hint {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 400;
  color: rgba(12, 34, 46, 0.55);
}
.file-preview {
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.file-preview.show { display: flex; }
.file-preview img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.file-preview-name { font-size: 13px; color: rgba(12,34,46,0.7); flex: 1; word-break: break-all; }
.file-remove {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-dim);
}

/* ---------- Rezervāciju kalendārs ---------- */
.cal {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 20px;
}
.cal-range {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  min-width: 240px;
  text-align: center;
  line-height: 1.2;
}
.cal-nav {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--navy);
}
.cal-nav:hover:not(:disabled) { border-color: var(--navy); }
.cal-nav:disabled { opacity: 0.3; cursor: default; }

.cal-grid { min-height: 120px; }
.cal-loading { text-align: center; padding: 30px 0; color: rgba(12,34,46,0.5); }

/* vienas dienas sloti — vienmēr aizpilda rindu līdz malai, bez tukšuma galā */
.day-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.day-slots .slot {
  flex: 1 1 140px;
  min-width: 0;
}

.cal-today {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-left: 8px;
  vertical-align: middle;
}
.cal-hours {
  display: block;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 400;
  color: rgba(12,34,46,0.5);
  margin-top: 2px;
}

.cal-closed {
  text-align: center;
  padding: 26px 16px;
  background: var(--ice);
  border-radius: 12px;
  color: rgba(12,34,46,0.6);
}
.cal-closed p { margin: 0; font-size: 14.5px; }
.cal-closed-note {
  text-align: center;
  margin: 16px 0 0;
  font-size: 13.5px;
  color: rgba(12,34,46,0.55);
}
.cal-jump { text-align: center; margin: 16px 0 0; }

.cal-day { display: flex; flex-direction: column; gap: 7px; }
.cal-day-head { text-align: center; padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.cal-dow {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(12,34,46,0.5);
}
.cal-date { display: block; font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.cal-none { font-size: 12.5px; color: rgba(12,34,46,0.4); text-align: center; }

.slot {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 8px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-family: var(--font-body);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}
.slot-time { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.slot-state { font-size: 11px; color: rgba(12,34,46,0.5); }

.slot-free:hover { border-color: var(--accent); background: #EBF7FB; transform: translateY(-1px); }
.slot-free .slot-state { color: var(--accent); font-weight: 600; }

.slot-busy { background: var(--ice); border-color: transparent; cursor: default; }
.slot-busy .slot-time { color: rgba(12,34,46,0.4); }
.slot-busy .slot-state { color: rgba(12,34,46,0.45); font-weight: 600; }

.slot-past { opacity: 0.35; cursor: default; }

.cal-legend {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 20px 0 0;
  font-size: 12.5px;
  color: rgba(12,34,46,0.6);
}
.legend-item { display: flex; align-items: center; gap: 7px; }
.legend-dot { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.legend-dot.free { border: 1.5px solid var(--accent); background: #EBF7FB; }
.legend-dot.busy { background: var(--ice-2); }

/* ---------- Rezervācijas logs ---------- */
.book-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.book-modal[hidden] { display: none; }
.book-modal-backdrop { position: absolute; inset: 0; background: rgba(7,37,56,0.6); backdrop-filter: blur(3px); }

.book-modal-card {
  position: relative;
  background: var(--white);
  border-radius: 18px;
  padding: 32px 30px;
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow);
}
.book-modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none; border: none;
  font-size: 26px; line-height: 1;
  cursor: pointer;
  color: rgba(12,34,46,0.4);
}
.book-modal-close:hover { color: var(--ink); }

.book-when {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 4px 0 22px;
}

.place-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.place-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  background: var(--ice);
}
.place-option:has(input:checked) { border-color: var(--accent); background: #EBF7FB; }
.place-option input { margin-top: 3px; accent-color: var(--accent); }
.place-option strong { display: block; font-size: 13.5px; }
.place-option small { display: block; font-size: 11.5px; color: rgba(12,34,46,0.55); margin-top: 2px; }

.addr-wrap { position: relative; }
.addr-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  z-index: 10;
  margin: 0; padding: 6px;
  list-style: none;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  max-height: 220px;
  overflow-y: auto;
}
.addr-list[hidden] { display: none; }
.addr-list li { padding: 9px 11px; border-radius: 7px; font-size: 13.5px; cursor: pointer; }
.addr-list li:hover { background: var(--ice); }
.addr-note { margin: 6px 0 0; font-size: 12px; color: rgba(12,34,46,0.55); }

@media (max-width: 640px) {
  .day-slots .slot { flex-basis: 110px; }
  .place-choice { grid-template-columns: 1fr; }
  .book-modal-card { padding: 26px 20px; }
}

/* ---------- VIN lauks ar masku ---------- */
.vin-field { position: relative; isolation: isolate; }

.vin-input {
  font-family: var(--font-mono) !important;
  font-size: 15px !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-right: 74px !important;
}
.vin-input { background: transparent !important; position: relative; z-index: 2; }

/* svītriņu maska zem ievadītā teksta — rāda, cik simbolu vēl trūkst */
.vin-mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.18em;
  white-space: pre;
  color: rgba(12, 34, 46, 0.24);
  pointer-events: none;
  border-radius: 10px;
  background: var(--ice);
  overflow: hidden;
}
.vin-input:focus ~ .vin-mask,
.vin-field:focus-within .vin-mask { background: var(--white); }
.vin-mask-typed { visibility: hidden; }

.vin-count {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(12, 34, 46, 0.4);
  pointer-events: none;
  background: transparent;
  padding: 2px 4px;
  border-radius: 4px;
  z-index: 3;
}
.vin-input:focus + .vin-count { background: var(--white); }
.vin-count-full { color: #1a7a4c; }

.vin-status {
  margin: 7px 0 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: rgba(12, 34, 46, 0.55);
}
.vin-status-ok { color: #1a7a4c; font-weight: 600; }
.vin-status-warn { color: var(--accent-dim); }

/* ---------- Atcelšanas lapa ---------- */
.cancel-page { background: var(--ice); }
.cancel-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.cancel-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px 36px;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow);
}
.cancel-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--navy);
  text-decoration: none;
  margin-bottom: 24px;
}
.cancel-logo .dot { color: var(--accent); }
.cancel-card h1 { font-size: 24px; margin: 6px 0 18px; }

.cancel-summary {
  background: var(--ice);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 18px;
}
.cancel-summary dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 18px;
  margin: 0;
}
.cancel-summary dt {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(12,34,46,0.5);
  padding-top: 2px;
}
.cancel-summary dd { margin: 0; font-weight: 600; font-size: 14.5px; }

.cancel-note { font-size: 13.5px; color: rgba(12,34,46,0.6); }

.cancel-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 22px 0 0;
}

.book-hint {
  font-size: 13px;
  color: rgba(12, 34, 46, 0.55);
  margin: -14px 0 20px;
}

@media (max-width: 640px) {
  .logo img { height: 34px; }
  .footer-logo { height: 38px; }
}