:root {
  --orange: #f46b00;
  --orange-2: #ff7a0a;
  --ink: #0c0d10;
  --muted: #6e6f73;
  --paper: #f7f6f2;
  --panel: #ffffff;
  --line: #dfdfdd;
  --dark: #08090d;
  --dark-panel: #11151a;
  --shadow: 0 12px 30px rgba(14, 15, 20, .08);
  --radius: 18px;
  --header-h: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: Manrope, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.site-header,
main,
.site-footer {
  width: 100%;
  max-width: 100%;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

button, select {
  font: inherit;
}

.container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  height: var(--header-h);
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid #eee;
  box-shadow: 0 3px 12px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  width: 43px;
  height: 43px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #ff7b0d, #ed5e00);
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(244,107,0,.25);
}

.brand-word {
  font-size: 16px;
  letter-spacing: -.5px;
  white-space: nowrap;
}

.brand-word b {
  font-weight: 800;
}

.brand-word strong {
  color: var(--orange);
  font-weight: 800;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.language-select {
  position: relative;
  height: 42px;
}

.language-select select {
  height: 42px;
  min-width: 60px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  background: #fff;
  color: #3e3e3e;
  padding: 0 29px 0 12px;
  appearance: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}

.language-select svg {
  position: absolute;
  width: 16px;
  right: 8px;
  top: 13px;
  pointer-events: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.menu-toggle, .menu-close {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  align-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 27px;
  background: #222;
  border-radius: 2px;
}

.desktop-nav {
  display: none;
  gap: 28px;
  margin-left: auto;
}

.desktop-nav a {
  font-weight: 600;
  font-size: 14px;
}

.desktop-nav a:hover {
  color: var(--orange);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: #fff;
  transform: translateX(100%);
  transition: transform .28s ease;
  padding-bottom: env(safe-area-inset-bottom);
  display: flex;
  flex-direction: column;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-head {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: #f1f1f1;
}

.menu-close {
  width: 44px;
  height: 44px;
}

.menu-close svg {
  width: 27px;
  fill: none;
  stroke: #111;
  stroke-width: 2;
}

.mobile-menu-nav {
  display: grid;
  padding: 22px 32px 10px;
}

.mobile-menu-nav a {
  font-size: 17px;
  padding: 14px 0;
}

.menu-divider {
  height: 1px;
  background: #ddd;
  margin: 0 16px;
}

.menu-info {
  padding: 17px 32px;
  color: #6c6c6c;
}

.menu-info p {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 14px;
}

.menu-info p:nth-child(2) {
  align-items: flex-start;
}

.menu-hours {
  display: grid;
  flex: 1;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) 7.5em;
  column-gap: 8px;
}

.menu-hours-note {
  grid-column: 1 / -1;
  margin: 2px 0 14px;
  color: #8c8e95;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.menu-hours [data-current-opening-hours],
.menu-hours [data-regular-hours] {
  width: 100%;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.menu-info .line-icon {
  color: #dc8b37;
}

.menu-call {
  margin: auto 16px 22px;
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.25);
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  transition: .25s;
}

.menu-backdrop.visible {
  opacity: 1;
  visibility: visible;
}

.hero {
  position: relative;
  min-height: 690px;
  color: #fff;
  overflow: hidden;
  background: #111;
}

.hero::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -48px;
  height: 70px;
  background: var(--paper);
  transform: rotate(-7deg);
  transform-origin: center;
  z-index: 3;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('assets/images/tire-change.webp') center/cover no-repeat;
  transform: scale(1.08);
  filter: saturate(.75);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,4,7,.95) 0%, rgba(3,4,7,.82) 53%, rgba(3,4,7,.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 86px;
  padding-bottom: 110px;
  max-width: 760px;
  margin-left: max(16px, calc((100vw - 1140px)/2));
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f5a45e;
  border: 1px solid rgba(244,107,0,.55);
  background: rgba(110,58,6,.20);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
}

.hero h1, .section h2, .orange-cta h2 {
  margin: 25px 0 16px;
  font-weight: 800;
  letter-spacing: -1.7px;
  line-height: 1.08;
}

.hero h1 {
  font-size: clamp(38px, 7vw, 68px);
  max-width: 660px;
}

h1 em, h2 em {
  color: var(--orange);
  font-style: normal;
}

.hero > .hero-content > p {
  max-width: none; /* iepriekš 640px */
  font-size: clamp(16px, 2vw, 20px);
  color: #cacaca;
  white-space: pre-line;
}

.hero-text-desktop {
  display: none;
}

.hero-price {
  display: flex;
  gap: 15px;
  align-items: center;
  margin: 24px 0 30px;
}

.hero-price strong {
  font-size: 62px;
  line-height: 1;
  color: var(--orange-2);
}

.hero-price span {
  display: grid;
  gap: 5px;
}

.hero-price b {
  font-size: 17px;
}

.hero-price small {
  color: #aaa;
}

.hero-actions {
  --hero-call-button-width: 230px;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
}

.hero-actions .btn-orange,
.hero-actions .eyebrow-pill {
  width: var(--hero-call-button-width);
}

.hero-rating-group {
  position: relative;
  flex: 0 0 var(--hero-call-button-width);
  width: var(--hero-call-button-width);
  margin-left: auto;
}

.hero-ai-trigger {
  width: auto !important;
  min-width: var(--hero-call-button-width);
  border: 0;
  white-space: nowrap;
  cursor: pointer;
}

.hero-ai-trigger .line-icon,
.hero-ai-trigger .line-icon svg {
  width: 30px;
  height: 24px;
}

.hero-ai-trigger .line-icon {
  flex-basis: 30px;
}

.hero-ai-trigger .chat-dots {
  stroke-width: 3.4;
}

.hero-actions .eyebrow-pill {
  max-width: 100%;
  min-height: 56px;
  margin-left: 0;
  padding: 0 16px;
  justify-content: space-between;
  gap: 18px;
  border-radius: 7px;
  white-space: nowrap;
}

.hero-review-link {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: max-content;
  color: #aaa;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.hero-review-link .line-icon {
  width: 18px;
  height: 18px;
  color: var(--orange);
}

.hero-review-link .line-icon svg {
  width: 18px;
  height: 18px;
}

.hero-review-link .hero-review-external {
  display: none;
}

.hero-review-link strong {
  color: #f5a45e;
  font-weight: 700;
}

.hero-rating-group .hero-review-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
}

.hero-review-link:hover strong,
.hero-review-link:focus-visible strong {
  color: var(--orange-2);
}

.hero-rating {
  flex: 0 1 auto;
  display: grid;
  align-content: center;
  line-height: 1.1;
}

.hero-rating-score {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-rating-score strong {
  color: #fff;
  font-size: 16px;
  font-weight: 50;
}

.hero-rating-stars {
  display: inline-flex;
  gap: 0px;
  color: #f17f24;
  font-size: 22px;
  letter-spacing: 0;
}

.hero-rating-stars > span {
  display: inline-block;
  width: 1em;
  text-align: center;
}

.hero-rating-star-half {
  display: inline-block;
  width: 1em;
  color: transparent;
  text-align: center;
  letter-spacing: 0;
  background: linear-gradient(
    90deg,
    #f17f24 0 50%,
    rgba(255, 255, 255, .50) 50% 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-rating-star-half::before {
  content: none;
}

.hero-rating-external {
  width: 28px;
  height: 28px;
  margin-left: auto;
  position: relative;
  top: -6px;
  display: inline-grid;
  place-items: center;
  color: #ddd;
}

.hero-rating-external svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}

.hero-rating-label {
  color: #aaa;
  font-size: 13px;
}

/* Hidden together with the hero.badge markup.
.hero-trust-copy {
  flex: 1 1 auto;
  min-width: 0;
  color: #f17f24;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  white-space: normal;
}
*/

.btn {
  min-height: 56px;
  padding: 0 26px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 700;
  transition: transform .2s, box-shadow .2s, background .2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-orange {
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
  color: #fff;
  box-shadow: 0 10px 24px rgba(244,107,0,.25);
}

.btn-outline {
  border: 1px solid rgba(255,255,255,.45);
  color: #fff;
  min-width: 235px;
}

.btn-dark {
  background: #090a0e;
  color: #fff;
}

.btn-ghost {
  border: 1px solid rgba(255,255,255,.55);
  color: #fff;
}

.hero-features {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  color: #b9b9b9;
  font-size: 13px;
}

.hero-features > span {
  display: flex;
  gap: 8px;
  align-items: center;
}

.hero-features .line-icon {
  color: var(--orange);
}

.alignment-strip {
  min-height: 70px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-size: 13px;
  background: #ecebe7;
  position: relative;
  z-index: 4;
}

.alignment-strip .line-icon {
  color: var(--orange);
}

.alignment-strip a {
  color: #dd7b2c;
  font-weight: 700;
}

.section {
  padding: 90px 0;
}

.section-label {
  color: #c2692d;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 13px;
}

.section h2 {
  font-size: clamp(31px, 5vw, 48px);
  max-width: 760px;
}

.section-intro {
  color: var(--muted);
  max-width: 760px;
  font-size: 17px;
}

.services-section {
  background: #f8f7f3;
}

.services-section .container {
  width: min(1140px, calc(100% - 32px));
}

.services-section h2,
.services-section .section-intro {
  max-width: none;
}

.service-grid {
  display: grid;
  gap: 22px;
  margin-top: 48px;
}

.service-card {
  background: var(--panel);
  border: 1px solid #e4e4e1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.035);
}

.service-card-image img {
  aspect-ratio: 16/8.4;
  object-fit: cover;
}

.service-card-body, .service-card-compact {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 27px;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.35;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  text-align: justify;
}

.service-icon, .quality-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--orange);
  background: #fff7f0;
  box-shadow: 0 7px 20px rgba(244,107,0,.12);
}

.service-icon svg, .quality-icon svg {
  width: 33px;
  height: 33px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quality-icon svg.leaf-icon {
  width: 35px;
  height: 35px;
  stroke-width: 1.5;
}

.quality-icon svg.piggy-bank-icon {
  width: 35px;
  height: 35px;
  stroke-width: 7;
}

.quality-icon .piggy-bank-eye {
  fill: currentColor;
  stroke: none;
}

.quality-icon svg.gears-icon {
  width: 30px;
  height: 30px;
  stroke-width: 11.5;
}

.quality-icon .gears-small-body {
  fill: currentColor;
  stroke: none;
}

.quality-icon .gears-small-hole {
  fill: #fff7f0;
  stroke: none;
}

.quality-icon-local-business {
  position: relative;
}

.quality-icon-local-business .local-business-warehouse {
  width: 25px;
  height: 25px;
}

.quality-icon-local-business .local-business-heart {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 18px;
  height: 18px;
  padding: 1px;
  border-radius: 50%;
  background: #fff7f0;
  stroke-width: 2.2;
}

.mini-price {
  color: var(--orange);
  font-weight: 800;
  margin-bottom: 12px;
}

.prices-section {
  background: #e9e9e6;
}

.price-table {
  margin-top: 38px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.price-table > div {
  min-height: 66px;
  padding: 14px 22px;
  border-bottom: 1px solid #e6e6e6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price-table > div:last-child {
  border-bottom: 0;
}

.price-table > .price-group-header {
  min-height: 58px;
  color: #fff;
  background: #666a70;
}

.price-group-header > span:first-child {
  font-size: 18px;
  font-weight: 800;
}

.price-table strong {
  color: var(--orange);
  font-size: 26px;
}

.price-table small, .price-table em {
  color: #777;
  font-size: 12px;
  font-style: italic;
}

.price-callout {
  margin-top: 40px;
  padding: 42px 28px;
  border-radius: 18px;
  color: #fff;
  background: radial-gradient(circle at 50% 10%, #241612, transparent 28%), #08090e;
  text-align: center;
}

.round-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  color: var(--orange);
  background: rgba(244,107,0,.15);
}

.price-callout h3 {
  font-size: 25px;
  margin: 0 0 12px;
}

.price-callout p {
  color: #8f9095;
  max-width: 500px;
  margin: 0 auto 26px;
  white-space: pre-line;
}

.price-callout .btn {
  width: min(100%, 410px);
}

.price-callout small {
  color: #555861;
  display: block;
  margin-top: 14px;
}

.why-section {
  color: #fff;
  background: radial-gradient(circle at 80% 30%, #101620, transparent 40%), #07080d;
  position: relative;
  overflow: hidden;
  padding-bottom: 110px;
}

.why-section::before, .why-section::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  height: 70px;
  background: #e9e9e6;
  transform: rotate(7deg);
}

.why-section::before {
  top: -48px;
}

.why-section::after {
  bottom: -48px;
  background: #f8f7f3;
  transform: rotate(-7deg);
}

.why-section .container {
  width: min(1140px, calc(100% - 32px));
  position: relative;
  z-index: 1;
}

.why-section h2,
.why-section .section-intro {
  max-width: none;
}

.why-section .section-intro {
  color: #9a9ca2;
  text-align: justify;
}

.quality-grid {
  display: grid;
  gap: 16px;
  margin-top: 42px;
}

.quality-grid article {
  padding: 24px;
  border: 1px solid #20242a;
  background: rgba(17,21,26,.78);
  border-radius: 12px;
}

.quality-grid h3 {
  margin: 15px 0 8px;
}

.quality-grid p {
  margin: 0;
  color: #8c8e95;
  font-size: 14px;
  text-align: justify;
}


.contact-item small {
  color: #7e7e7e;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 10px;
}

.orange-cta {
  padding: 66px 0;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #ee6300, #ff7f12);
}

.orange-cta h2 {
  font-size: clamp(29px, 5vw, 42px);
  margin-top: 0;
}

.orange-cta p {
  max-width: 720px;
  margin: 0 auto 28px;
  color: #ffe0ca;
}

.orange-cta .container {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.orange-cta .btn {
  width: min(100%, 500px);
}

.contacts-section {
  background: #efefed;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  margin-top: 42px;
}

.contact-card, .hours-card {
  min-width: 0;
  max-width: 100%;
  background: #fff;
  border: 1px solid #e2e2e0;
  border-radius: 18px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.contact-card > h3, .hours-heading-copy > h3 {
  margin: 0 0 26px;
  font-family: Manrope, Arial, sans-serif;
  font-size: 21px;
  font-weight: 700;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.3;
  letter-spacing: 0;
  font-kerning: none;
  font-variant-ligatures: none;
}

.hours-heading-copy > h3 {
  margin-bottom: 0;
}

.hours-heading-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.hours-heading-note {
  color: #8c8e95;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.contact-service-photo {
  width: 100%;
  aspect-ratio: 15 / 8;
  object-fit: cover;
}

.contact-service-photo-frame {
  position: relative;
  margin: -4px 0 26px;
  overflow: hidden;
  border-radius: 12px;
}

.contact-service-photo-frame::after {
  content: "TEST";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(245, 245, 245, .72);
  font-size: clamp(54px, 10vw, 100px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: .12em;
  text-shadow: 0 2px 5px rgba(70, 70, 70, .48);
  transform: rotate(-28deg) scale(1.15);
  pointer-events: none;
}

.contact-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
}

.contact-map-link {
  color: inherit;
  text-decoration: none;
  border-radius: 10px;
}

.contact-map-link:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 5px;
}

.contact-item > span:last-child {
  display: grid;
}

.contact-item a, .contact-item strong {
  font-size: 21px;
  font-weight: 800;
}

.contact-item .contact-areas-grid {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  column-gap: 8px;
  width: max-content;
  max-width: 100%;
  font-size: clamp(16px, 5vw, 21px);
}

.contact-areas-grid > span:not(:nth-child(3n + 1))::before {
  content: "· ";
}

.contact-item .contact-areas-grid > span {
  color: inherit;
}

.contact-item span span {
  color: #777;
}

.contact-card .btn {
  width: 100%;
  margin-top: 10px;
}

.hours-heading {
  margin: 0 0 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hours-heading .line-icon {
  color: var(--orange);
}

.hours-heading [data-current-opening-hours] {
  margin-left: auto;
  color: #da741f;
  white-space: nowrap;
}

.hours-card > div:not(.hours-heading):not(.maps-actions) {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 19px 0;
  border-bottom: 1px solid #e1e1e1;
}

.hours-card > div:not(.hours-heading) strong {
  color: #da741f;
}

.hours-card > p {
  padding: 16px;
  background: #fff9f5;
  border: 1px solid #f1e4d9;
  border-radius: 10px;
  color: #6f6f6f;
  font-size: 13px;
  text-align: justify;
}

.hours-card > p strong {
  color: #d37325;
}

.maps-link {
  color: #c66e2b;
  font-size: 14px;
  font-weight: 600;
}

.maps-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.map {
  margin-top: 28px;
  height: 470px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #d5d5d5;
  box-shadow: var(--shadow);
  background: #ddd;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.site-footer {
  background: #08090d;
  color: #8b8d93;
  padding: 70px 0 90px;
}

.footer-grid {
  display: grid;
  gap: 42px;
}

.brand-dark .brand-word b {
  color: #fff;
}

.footer-brand p {
  max-width: 430px;
}

.footer-grid h3 {
  color: #fff;
  margin: 0 0 20px;
}

.footer-grid > div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-grid a:hover {
  color: var(--orange);
}

.footer-grid p {
  margin: 0;
}

.footer-contact-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.footer-contact-symbol {
  width: 22px;
  height: 24px;
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
  text-align: center;
}

.footer-contact-row:nth-of-type(2) .footer-contact-symbol {
  font-size: 50px;
  transform: translate(-1px, -15px);
}

.footer-contact-row:nth-of-type(3) .footer-contact-symbol {
  font-size: 20px;
}

.footer-hours {
  display: grid;
  grid-template-columns: max-content max-content;
  column-gap: 8px;
}

.footer-bottom {
  border-top: 1px solid #1a1c22;
  margin-top: 52px;
  padding: 26px 16px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  text-align: center;
  font-size: 12px;
}

.mobile-bottom-bar {
  position: fixed;
  z-index: 110;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #101216;
  color: #fff;
  border-top: 1px solid #2a2c31;
  padding-bottom: env(safe-area-inset-bottom);
}

.mobile-bottom-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  font-size: 14px;
}

.mobile-bottom-bar a + a {
  border-left: 1px solid #2b2e33;
}

.mobile-bottom-bar .line-icon {
  color: var(--orange);
}

.line-icon {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.line-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 600px) {
  .orange-cta {
    margin-top: 28px;
  }

  .hero-content {
    padding-top: 82px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-actions .eyebrow-pill {
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
    gap: 12px;
    padding-inline: 13px;
    white-space: normal;
  }

  .hero-rating-group {
    width: 100%;
    margin-left: 0;
  }

  .hero-review-link {
    left: 0;
    right: auto;
  }

  .hero-rating {
    flex-basis: 176px;
  }

  /* Hidden together with the hero.badge markup.
  .hero-trust-copy {
    max-width: 165px;
    text-align: right;
  }
  */

  .hero h1 {
    font-size: 39px;
  }

  .hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .section {
    padding: 72px 0;
  }

  .section-intro {
    font-size: 15px;
  }

  .service-card-body, .service-card-compact {
    padding: 24px;
    grid-template-columns: 46px 1fr;
    gap: 14px;
  }

  .service-icon {
    width: 44px;
    height: 44px;
  }

  .price-table > div {
    font-size: 14px;
  }

  .contact-card, .hours-card {
    padding: 30px;
  }

  .contact-item {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .contact-item .contact-areas-grid {
    width: 100%;
    grid-template-columns: max-content max-content minmax(0, 1fr);
    column-gap: 6px;
    font-size: clamp(12px, 3.6vw, 16px);
  }

  .contact-item .contact-areas-grid > span {
    min-width: 0;
    white-space: nowrap;
  }

  .hours-heading {
    display: grid;
    grid-template-columns: 20px auto;
    justify-content: center;
    align-items: center;
    column-gap: 8px;
    row-gap: 2px;
  }

  .hours-heading-copy {
    display: contents;
  }

  .hours-heading-copy > h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: clamp(18px, 5vw, 21px);
    line-height: 1.2;
    text-align: center;
  }

  .hours-heading-note {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: center;
  }

  .hours-heading [data-current-opening-hours] {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: center;
    margin-left: 0;
    font-size: clamp(15px, 4vw, 17px);
    text-align: center;
  }

  .maps-actions {
    grid-template-columns: 1fr;
  }

  .maps-actions .maps-link:first-child {
    display: none;
  }

  .site-footer {
    padding-bottom: 100px;
  }

}

@media (max-width: 799px) {
  .hero-rating-group {
    position: absolute;
    top: 10px;
    right: 0;
    left: auto;
    width: max-content;
    max-width: 100%;
    min-height: 50px;
    margin: 0;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid rgba(244, 107, 0, .62);
    border-radius: 7.2px;
    background: rgba(35, 18, 4, .72);
    box-shadow: 0 6.3px 19.8px rgba(0, 0, 0, .22);
  }

  .hero-rating-group .eyebrow-pill {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 7px 9px 7px 10px;
    gap: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    white-space: nowrap;
  }

  .hero-rating-group .hero-rating-external {
    display: none;
  }

  .hero-rating-score strong {
    font-size: 17.1px;
    font-weight: 500;
  }

  .hero-rating-score {
    gap: 5.4px;
  }

  .hero-rating-stars {
    font-size: 19.8px;
  }

  .hero-rating-label {
    font-size: 12.6px;
  }

  .hero-rating-group .hero-review-link {
    position: static;
    flex: 0 0 auto;
    align-self: stretch;
    width: auto;
    min-width: 0;
    margin-left: auto;
    padding: 12.96px 9px 0 0;
    justify-content: flex-start;
    gap: 6.3px;
    border-left: 0;
    color: #f5a45e;
    background: transparent;
    font-size: 11.7px;
    line-height: 1.15;
  }

  .hero-rating-group .hero-review-award,
  .hero-rating-group .hero-review-prompt,
  .hero-rating-group .hero-review-arrow {
    display: none;
  }

  .hero-rating-group .hero-review-link strong {
    color: #f5a45e;
    transform: translateY(2.7px);
  }

  .hero-rating-group .hero-review-external {
    position: absolute;
    top: 5px;
    right: 10px;
    width: 20px;
    height: 20px;
    display: inline-grid;
    color: #ddd;
  }

  .hero-rating-group .hero-review-external svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.8;
  }
}

@media (min-width: 800px) {
  :root {
    --header-h: 82px;
  }

  .site-header {
    padding: 0 max(24px, calc((100vw - 1140px)/2));
  }

  .desktop-nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-menu, .menu-backdrop, .mobile-bottom-bar {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero::after {
    left: 0;
    right: 0;
    bottom: -1px;
    height: 180px;
    background: var(--paper);
    transform: none;
    clip-path: polygon(25% 100%, 100% 0, 100% 100%);
  }
  
  .hero-content {
    width: min(1140px, calc(100% - 32px));
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: fit-content(100%);
    justify-content: start;
  }

  .hero-actions {
    width: 100%;
    align-items: flex-start;
  }

  .hero-rating-group {
    display: grid;
    grid-template-columns: max-content;
    row-gap: 10px;
    flex-basis: auto;
    width: max-content;
  }

  .hero-rating-group .eyebrow-pill {
    width: 100%;
  }

  .hero-rating-group .hero-review-link {
    position: static;
  }

  .hero h1 {
    max-width: none;
  }
  
   .hero-text-mobile {
    display: none;
  }

  .hero-text-desktop {
    display: block;
  }
  .price-table > div {
    padding-left: 5%;
    padding-right: 5%;
  }

  .why-section::before,
  .why-section::after {
    left: 0;
    right: 0;
    height: 110px;
    transform: none;
  }

  .why-section::before {
    top: -1px;
    background: #e9e9e6;
    clip-path: polygon(
      0 0,
      100% 0,
      100% 100%,
      0 18%
    );
  }

  .why-section::after {
    bottom: -1px;
    background: #f8f7f3;
    clip-path: polygon(
      0 82%,
      100% 0,
      100% 100%,
      0 100%
    );
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card-compact {
    min-height: 175px;
    transition: transform .2s, box-shadow .2s;
  }

  .quality-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }


  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

}

@media (min-width: 1080px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-card-image {
    grid-row: span 2;
  }

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

}


/* Riepu maiņa card: information and price actions are always visible. */
.tire-service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform .2s ease, box-shadow .2s ease;
}

.alignment-service-card,
.tire-repair-service-card,
.oil-service-card,
.TPMS-sensor-service-card,
.suspension-service-card,
.rims-service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform .2s ease, box-shadow .2s ease;
}

.alignment-service-card .service-card-body,
.tire-repair-service-card .service-card-body,
.oil-service-card .service-card-body,
.TPMS-sensor-service-card .service-card-body,
.suspension-service-card .service-card-body,
.rims-service-card .service-card-body {
  flex: 1 1 auto;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
}

.TPMS-sensor-service-card .service-title-trigger h3 {
  white-space: normal;
}

.service-info-trigger {
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.service-image-trigger {
  display: block;
  width: 100%;
  overflow: hidden;
}

.tire-service-card .service-card-body {
  flex: 1 1 auto;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
}

.service-icon-trigger {
  grid-column: 1;
}

.service-card-content {
  grid-column: 2;
  min-width: 0;
  width: 100%;
}

@media (min-width: 800px) {
  .tire-service-card .service-card-content,
  .alignment-service-card .service-card-content,
  .tire-repair-service-card .service-card-content,
  .oil-service-card .service-card-content,
  .TPMS-sensor-service-card .service-card-content,
  .suspension-service-card .service-card-content,
  .rims-service-card .service-card-content {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .tire-service-card .service-copy-trigger,
  .alignment-service-card .service-copy-trigger,
  .tire-repair-service-card .service-copy-trigger,
  .oil-service-card .service-copy-trigger,
  .TPMS-sensor-service-card .service-copy-trigger,
  .suspension-service-card .service-copy-trigger,
  .rims-service-card .service-copy-trigger {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }

  .tire-service-card .service-learn-more,
  .alignment-service-card .service-learn-more,
  .tire-repair-service-card .service-learn-more,
  .oil-service-card .service-learn-more,
  .TPMS-sensor-service-card .service-learn-more,
  .suspension-service-card .service-learn-more,
  .rims-service-card .service-learn-more {
    margin-top: auto;
    padding-top: 18px;
  }
}

.service-title-trigger {
  display: block;
  width: 100%;
}

.service-title-trigger h3 {
  width: 100%;
  margin: 0 0 10px;
  white-space: nowrap;
}

.service-price-row {
  width: 100%;
  min-height: 48px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.service-price-value {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.service-price-value-no {
  font-size: 12px;
}

.service-price-copy {
  flex: 0 0 auto;
  color: var(--orange);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.service-price-link {
  min-height: 34px;
  padding: 0 9px;
  border: 1px solid rgba(244, 107, 0, .22);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 0 0 auto;
  color: var(--orange);
  background: #fffaf6;
  box-shadow: 0 5px 16px rgba(244, 107, 0, .055);
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
  transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.service-copy-trigger {
  display: block;
  width: 100%;
}

.service-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 750;
}
.service-info-trigger:focus-visible,
.service-price-link:focus-visible,
.service-modal-close:focus-visible,
.service-modal a:focus-visible {
  outline: 3px solid rgba(244, 107, 0, .34);
  outline-offset: 3px;
}

@media (hover: hover) {
  .tire-service-card:hover,
  .alignment-service-card:hover,
  .tire-repair-service-card:hover,
  .oil-service-card:hover,
  .TPMS-sensor-service-card:hover,
  .suspension-service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .075);
  }

  .service-info-trigger:hover .service-learn-more,
  .service-copy-trigger:hover .service-learn-more {
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  .service-price-link:hover {
    border-color: rgba(244, 107, 0, .5);
    background: #fff5ed;
    box-shadow: 0 7px 20px rgba(244, 107, 0, .10);
    transform: translateY(-1px);
  }
  
   ..service-learn-more:hover {
    text-decoration: none;
  }

  ..service-learn-more:hover > span:first-child {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  
   .service-info-trigger:hover .service-learn-more {
    text-decoration: none;
  }

  .service-info-trigger:hover .service-learn-more > span:first-child {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  
}

/* Service details modal. */
body.service-modal-open {
  overflow: hidden;
}

.service-modal-overlay[hidden] {
  display: none;
}

.service-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 220;
  padding: 24px;
  display: grid;
  place-items: center;
  overflow: auto;
  background: rgba(7, 8, 12, .58);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.service-modal {
  --service-modal-photo-top: 10px;
  --service-modal-photo-right: 0px;
  position: relative;
  width: min(920px, 100%);
  max-height: calc(100dvh - 48px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .30);
}

.service-modal-scroll {
  max-height: inherit;
  display: grid;
  grid-template-columns: minmax(290px, .9fr) minmax(0, 1.25fr);
  overflow: auto;
  overscroll-behavior: contain;
}

.service-modal-close {
  position: absolute;
  top: 15px;
  right: 25px;
  z-index: 3;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid rgba(32, 33, 36, .24);
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #202124;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 4px 15px rgba(0, 0, 0, .10);
  cursor: pointer;
}

.service-modal-close svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.service-modal-media {
  --service-modal-image-travel: clamp(80px, 14dvh, 140px);
  --service-modal-image-offset: 0px;
  position: sticky;
  top: var(--service-modal-photo-top);
  align-self: start;
  height: calc(100dvh - 48px - var(--service-modal-photo-top) - 10px);
  min-height: 0;
  margin: var(--service-modal-photo-top) var(--service-modal-photo-right) 10px 10px;
  overflow: hidden;
  border-radius: 12px;
  background: #111;
}
.service-modal-media img {
  width: 100%;
  height: calc(100% + var(--service-modal-image-travel));
  min-height: 0;
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, var(--service-modal-image-offset), 0);
  will-change: transform;
}

.service-modal-content {
  min-width: 0;
  padding: 44px 46px 36px;
}

.service-modal-heading {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding-right: 36px;
}

.service-modal-heading h2 {
  margin: 1px 0 10px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
  letter-spacing: -.8px;
}

.service-modal-heading p {
  margin: 0;
  color: #5f6166;
  font-size: 15px;
}

.service-modal-list {
  margin-top: 27px;
  padding-top: 24px;
  border-top: 1px solid #e9e9e7;
}

.service-modal-callout {
  position: relative;
  width: 100%;
  min-height: 50px;
  margin-bottom: 20px;
  padding: 12px 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgba(244, 107, 0, .65);
  border-radius: 10px;
  color: #2d2e32;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: transform .2s, color .2s, border-color .2s, background .2s;
}

.service-modal-callout:hover {
  transform: translateY(-1px);
  border-color: var(--orange);
  color: #a94700;
  background: #fff0e3;
}

.service-modal-callout span:last-child {
  position: absolute;
  right: 18px;
  flex: 0 0 auto;
  color: var(--orange);
  font-size: 18px;
  line-height: 1;
}

.service-modal-list h3 {
  margin: 0 0 14px;
  font-size: 17px;
}

.service-modal-list ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  list-style: none;
}

.service-modal-list li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  color: #34363a;
  font-size: 14px;
}

.service-modal-check {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--orange);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  margin-top: 1px;
}

.service-modal-details {
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid #eee8e2;
  border-radius: 10px;
  color: #686a70;
  background: #faf9f6;
  font-size: 14px;
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
}

.service-modal-details p {
  margin: 0;
  line-height: 1.65;
}

.service-modal-details p + p,
.service-modal-details ul + p {
  margin-top: 16px;
}

.service-modal-details > [data-i18n-html] + p {
  margin-top: 16px;
}

.service-modal-details > p + [data-i18n-html] {
  margin-top: 16px;
}

.service-modal-details ul {
  margin: 12px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 9px;
}

.service-modal-details li {
  padding-left: 3px;
  line-height: 1.55;
}

.service-modal-details li::marker {
  color: var(--orange);
}

.service-modal-details strong {
  color: #34363a;
  font-weight: 700;
}

.service-modal-details #pievelc,
.service-modal-details #alignment-svarigi,
.service-modal-details #tire-repair-svarigi,
.service-modal-details #tpms-svarigi {
  scroll-margin-block: 24px;
  border-radius: 7px;
  transition: color .25s, background .25s;
}

.service-modal-details #pievelc.service-modal-anchor-target,
.service-modal-details #alignment-svarigi.service-modal-anchor-target,
.service-modal-details #tire-repair-svarigi.service-modal-anchor-target,
.service-modal-details #tpms-svarigi.service-modal-anchor-target {
  color: #9f4600;
  background: #fff0e3;
}

.service-modal-price {
  margin-top: 24px;
  padding-top: 21px;
  border-top: 1px solid #e9e9e7;
  display: flex;
  align-items: baseline;
  gap: 9px;
  color: #5d5f64;
}

.service-modal-price strong {
  color: var(--orange);
  font-size: 48px;
  line-height: 1;
}

.service-modal-price span:last-child {
  color: #33353a;
  font-weight: 750;
}

.service-modal-actions {
  margin-top: 23px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.service-modal-actions .btn {
  min-width: 0;
  min-height: 54px;
  padding: 0 18px;
}

.service-modal-call {
  border: 1px solid rgba(244, 107, 0, .65);
  color: #2d2e32;
  background: #fff;
}

.service-modal-call .line-icon {
  color: var(--orange);
}

@media (max-width: 799px) {
  .tire-service-card .service-card-body,
  .alignment-service-card .service-card-body,
  .tire-repair-service-card .service-card-body,
  .oil-service-card .service-card-body,
  .TPMS-sensor-service-card .service-card-body,
  .suspension-service-card .service-card-body {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .service-price-row {
    gap: 12px;
  }

  .service-price-link {
    min-height: 42px;
    padding-inline: 13px;
  }

  .service-modal-overlay {
    padding: 10px 8px 0;
    place-items: end center;
  }

  .service-modal {
    width: 100%;
    max-height: calc(100dvh - 10px);
    border-radius: 18px 18px 0 0;
  }

  .service-modal-close {
    top: calc(var(--service-modal-photo-top) + 10px);
    right: calc(var(--service-modal-photo-right) + 10px);
  }

  .service-modal-scroll {
    grid-template-columns: 1fr;
  }

  .service-modal-media {
    --service-modal-image-travel: 0px;
    --service-modal-image-offset: 0px;
    position: static;
    height: auto;
    min-height: 0;
  }

  .service-modal-media img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    object-position: center 36%;
    transform: none;
    will-change: auto;
  }

  .service-modal-content {
    padding: 25px 24px calc(28px + env(safe-area-inset-bottom));
  }

  .service-modal-heading {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 13px;
    padding-right: 0;
  }

  .service-modal-heading h2 {
    font-size: 28px;
  }

  .service-modal-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .service-price-row {
    gap: 10px;
  }

  .service-price-copy {
    font-size: 17px;
  }

  .service-price-link {
    padding-inline: 10px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

body.ai-assistant-open { overflow: hidden; }
.ai-assistant-overlay[hidden] { display: none; }

body.service-closed-open { overflow: hidden; }
.service-closed-overlay[hidden] { display: none; }

.service-closed-overlay {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(7, 8, 12, .64);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.service-closed-dialog {
  width: min(380px, 100%);
  padding: 28px 24px 22px;
  border: 1px solid rgba(244, 107, 0, .46);
  border-radius: 18px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .3);
  text-align: center;
}

.service-closed-dialog p {
  margin: 0 0 22px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.service-closed-ok {
  width: 100%;
  min-height: 50px;
  border: 0;
  cursor: pointer;
}

.service-closed-ok:focus-visible {
  outline: 3px solid rgba(244, 107, 0, .32);
  outline-offset: 3px;
}

.ai-assistant-overlay {
  position: fixed;
  inset: 0;
  z-index: 280;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(7, 8, 12, .64);
  backdrop-filter: blur(3px);
}

.ai-assistant-dialog {
  width: min(680px, 100%);
  max-height: calc(100dvh - 40px);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 18px;
  color: #26272b;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .3);
}

.ai-assistant-header {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 22px 58px 18px 22px;
  border-bottom: 1px solid #ececea;
}

.ai-assistant-header-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: var(--orange);
}

.ai-assistant-header-icon svg { width: 30px; height: 24px; }
.ai-assistant-header-icon .chat-dots { stroke-width: 3.4; }

.ai-assistant-heading h2 {
  margin: 2px 0 4px;
  font-size: clamp(23px, 4vw, 29px);
  line-height: 1.15;
  white-space: nowrap;
}

.ai-assistant-heading p {
  margin: 0;
  color: #66686d;
  font-size: 14px;
  line-height: 1.5;
}

.ai-assistant-demo-label {
  display: inline-block;
  color: var(--orange);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ai-assistant-close { top: 15px; right: 15px; }

.ai-assistant-body {
  min-height: 230px;
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 22px;
  background: #f6f6f4;
}

.ai-assistant-conversation {
  min-height: 70px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.ai-assistant-message {
  max-width: 88%;
  padding: 12px 15px;
  border-radius: 15px;
  font-size: 14px;
  line-height: 1.5;
}

.ai-assistant-message-bot {
  border: 1px solid #e4e4e0;
  border-bottom-left-radius: 4px;
  background: #fff;
}

.ai-assistant-message-bot a {
  color: #c75200;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}

.ai-assistant-message-bot a:hover {
  color: var(--orange);
}

.ai-assistant-message-user {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  color: #fff;
  background: var(--orange);
}

.ai-assistant-message-bot.is-loading {
  color: #77797d;
}

.ai-assistant-message-error {
  border-color: rgba(185, 58, 38, .28);
  color: #923421;
  background: #fff7f4;
}

.ai-assistant-footer {
  padding: 14px 22px 18px;
  border-top: 1px solid #ececea;
  background: #fff;
}

.ai-assistant-form {
  position: relative;
  display: grid;
}

.ai-assistant-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 78px;
  padding: .5em 58px 16px 16px;
  border: 1px solid #d6d6d2;
  border-radius: 15px;
  color: #26272b;
  background: #fff;
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
  resize: none;
}

.ai-assistant-form textarea::placeholder {
  color: #66686d;
  opacity: 1;
}

.ai-assistant-send {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--orange);
  cursor: pointer;
}

.ai-assistant-send svg { width: 28px; height: 20px; }
.ai-assistant-send:hover { filter: brightness(.94); }

.ai-assistant-send:disabled,
.ai-assistant-form textarea:disabled {
  cursor: wait;
  opacity: .65;
}

.ai-assistant-form textarea:focus,
.ai-assistant-close:focus-visible,
.ai-assistant-send:focus-visible,
.ai-assistant-call:focus-visible {
  outline: 3px solid rgba(244, 107, 0, .25);
  outline-offset: 2px;
  border-color: var(--orange);
}

.ai-assistant-call {
  width: 100%;
  min-height: 50px;
  margin-top: 10px;
  padding-inline: 18px;
  text-align: center;
}

@media (max-width: 600px) {
  .ai-assistant-overlay { place-items: end center; padding: 10px 8px 0; }

  .ai-assistant-dialog {
    width: 100%;
    max-height: calc(100dvh - 10px);
    border-radius: 18px 18px 0 0;
  }

  .ai-assistant-header {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 11px;
    padding: 18px 52px 15px 16px;
  }

  .ai-assistant-header-icon { width: 46px; height: 46px; border-radius: 12px; }
  .ai-assistant-heading h2 { white-space: normal; }
  .ai-assistant-heading p { font-size: 13px; }
  .ai-assistant-body { min-height: 180px; padding: 18px 16px; }
  .ai-assistant-message { max-width: 94%; }
  .ai-assistant-form textarea { min-height: 78px; }

  .ai-assistant-footer {
    padding: 14px 16px calc(15px + env(safe-area-inset-bottom));
  }
}
