/*-----------------------------------*\
  #style.css — Ridex Taxi
\*-----------------------------------*/

/**
 * Based on the Ridex template by codewithsadee (2022)
 */





/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /**
   * colors
   */

  --yellow: hsl(45, 100%, 55%);
  --yellow-600: hsl(42, 100%, 47%);
  --yellow-100: hsl(48, 100%, 90%);
  --yellow-50: hsl(48, 100%, 96%);

  --ink-900: hsl(222, 28%, 14%);
  --ink-800: hsl(222, 24%, 19%);
  --ink-700: hsl(222, 16%, 30%);
  --ink-500: hsl(220, 10%, 44%);
  --ink-300: hsl(220, 14%, 78%);

  --line: hsl(220, 16%, 90%);
  --bg: hsl(40, 33%, 97%);
  --surface: hsl(0, 0%, 100%);
  --surface-2: hsl(220, 30%, 97%);

  --green: hsl(150, 60%, 30%);
  --green-100: hsl(150, 50%, 92%);
  --red: hsl(0, 68%, 46%);
  --red-100: hsl(0, 80%, 95%);
  --blue: hsl(212, 75%, 45%);
  --blue-100: hsl(212, 85%, 93%);
  --purple: hsl(262, 55%, 52%);
  --purple-100: hsl(262, 63%, 93%);
  --pink: hsl(329, 60%, 48%);
  --pink-100: hsl(329, 63%, 93%);
  --teal: hsl(180, 60%, 30%);
  --teal-100: hsl(180, 45%, 90%);

  --whatsapp: hsl(142, 70%, 40%);

  /**
   * typography
   */

  --ff-head: 'Nunito', system-ui, sans-serif;
  --ff-body: 'Open Sans', system-ui, sans-serif;

  --fs-1: 2.125rem;
  --fs-2: 1.75rem;
  --fs-3: 1.5rem;
  --fs-4: 1.25rem;
  --fs-5: 1.125rem;
  --fs-6: 0.9375rem;
  --fs-7: 0.8125rem;

  --fw-400: 400;
  --fw-600: 600;
  --fw-700: 700;
  --fw-800: 800;

  /**
   * transition
   */

  --transition: 0.25s ease;

  /**
   * spacing
   */

  --section-padding: 56px;
  --header-height: 70px;

  /**
   * radius
   */

  --radius-10: 10px;
  --radius-14: 14px;
  --radius-18: 18px;
  --radius-28: 28px;

  /**
   * shadow
   */

  --shadow-1: 0 1px 2px hsla(222, 30%, 14%, 0.05), 0 8px 24px hsla(222, 30%, 14%, 0.07);
  --shadow-2: 0 8px 22px hsla(42, 100%, 42%, 0.35);
  --shadow-3: 0 18px 50px hsla(222, 30%, 14%, 0.14);

}





/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

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

li { list-style: none; }

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

img, svg, ion-icon { display: block; }

button,
input,
select,
textarea {
  background: none;
  border: none;
  font: inherit;
  color: inherit;
}

button { cursor: pointer; }

ion-icon { pointer-events: none; }

html {
  font-family: var(--ff-body);
  color: var(--ink-700);
  font-size: 1rem;
  line-height: 1.6;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 10px);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

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

::selection { background: var(--yellow); color: var(--ink-900); }

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

  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}





/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 15px;
  z-index: 10;
  background: var(--ink-900);
  color: var(--surface);
  padding: 10px 16px;
  border-radius: var(--radius-10);
}

.skip-link:focus { top: 10px; }

.container { padding-inline: 16px; }

.btn {
  position: relative;
  background: var(--btn-bg, var(--yellow));
  color: var(--btn-color, var(--ink-900));
  min-height: var(--height, 44px);
  padding: 8px 18px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-14);
  font-family: var(--ff-head);
  font-size: var(--fs-6);
  font-weight: var(--fw-700);
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transition: var(--transition);
}

.btn ion-icon {
  font-size: 20px;
  flex-shrink: 0;
  --ionicon-stroke-width: 40px;
}

.btn-primary:is(:hover, :focus-visible) {
  --btn-bg: var(--yellow-600);
  box-shadow: var(--shadow-2);
}

.btn-secondary {
  --btn-bg: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--ink-300);
}

.btn-secondary:is(:hover, :focus-visible) {
  --btn-bg: var(--ink-900);
  --btn-color: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--ink-900);
}

.btn-icon {
  --btn-bg: var(--surface-2);
  --btn-color: var(--ink-700);
  padding: 0;
  width: 44px;
  box-shadow: inset 0 0 0 1.5px var(--line);
}

.btn-icon:is(:hover, :focus-visible) {
  --btn-bg: var(--ink-900);
  --btn-color: var(--yellow);
  box-shadow: none;
}

.btn-lg {
  --height: 54px;
  font-size: var(--fs-5);
}

.section { padding-block: var(--section-padding); }

.h1,
.h2,
.h3 {
  color: var(--ink-900);
  font-family: var(--ff-head);
  line-height: 1.2;
}

.h1 {
  font-size: var(--fs-1);
  font-weight: var(--fw-800);
  letter-spacing: -0.01em;
}

.h2 {
  font-size: var(--fs-2);
  font-weight: var(--fw-800);
}

.h3 {
  font-size: var(--fs-4);
  font-weight: var(--fw-700);
}

.section-title { margin-bottom: 10px; }

.section-text {
  color: var(--ink-500);
  max-width: 60ch;
  margin-bottom: 30px;
}

.card-icon {
  background: var(--icon-bg, var(--yellow-100));
  color: var(--icon-color, var(--ink-900));
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-14);
  flex-shrink: 0;
}

.card-icon ion-icon {
  font-size: 26px;
  --ionicon-stroke-width: 40px;
}

.icon-1 { --icon-bg: var(--yellow-100); --icon-color: hsl(36, 90%, 30%); }
.icon-2 { --icon-bg: var(--blue-100); --icon-color: var(--blue); }
.icon-3 { --icon-bg: var(--red-100); --icon-color: var(--red); }
.icon-4 { --icon-bg: var(--green-100); --icon-color: var(--green); }
.icon-5 { --icon-bg: var(--purple-100); --icon-color: var(--purple); }
.icon-6 { --icon-bg: var(--teal-100); --icon-color: var(--teal); }

.checker {
  height: 16px;
  background: repeating-conic-gradient(var(--ink-900) 0 25%, var(--yellow) 0 50%) 0 0 / 16px 16px;
}

.select-wrap { position: relative; }

.select-wrap::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
  opacity: 0.6;
}

select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}





/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transition: box-shadow var(--transition);
  z-index: 5;
}

/* blur на псевдоэлементе: backdrop-filter на самом .header сломал бы position: fixed у меню */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: hsla(40, 33%, 97%, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header.active { box-shadow: 0 1px 0 var(--line), 0 6px 20px hsla(222, 30%, 14%, 0.06); }

.header .container {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-text {
  color: var(--ink-900);
  font-family: var(--ff-head);
  font-size: 1.375rem;
  font-weight: var(--fw-800);
  line-height: 1;
  display: none;
}

.logo-text > span {
  display: block;
  color: var(--ink-500);
  font-size: 0.6875rem;
  font-weight: var(--fw-700);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 3px;
}

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

.city-select {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius-14);
  box-shadow: inset 0 0 0 1.5px var(--line);
  color: var(--ink-900);
  font-family: var(--ff-head);
  font-weight: var(--fw-700);
  transition: var(--transition);
}

.city-select:hover { box-shadow: inset 0 0 0 1.5px var(--ink-300); }

.city-select:focus-within { box-shadow: inset 0 0 0 2px var(--ink-900); }

.city-select > ion-icon {
  position: absolute;
  left: 10px;
  font-size: 18px;
  color: var(--yellow-600);
  --ionicon-stroke-width: 44px;
}

.city-select .select-chevron {
  left: auto;
  right: 10px;
  font-size: 14px;
  color: var(--ink-500);
}

.city-select select {
  height: 44px;
  padding: 0 30px 0 32px;
  border-radius: var(--radius-14);
}

.city-select select:focus-visible { outline: none; }

.header-contact { display: none; }

.contact-link {
  display: block;
  color: var(--ink-900);
  font-family: var(--ff-head);
  font-size: var(--fs-5);
  font-weight: var(--fw-800);
  line-height: 1.3;
  white-space: nowrap;
}

.contact-link:is(:hover, :focus-visible) { color: var(--yellow-600); }

.contact-time {
  display: block;
  color: var(--ink-500);
  font-size: var(--fs-7);
  white-space: nowrap;
}

.header-cta { display: none; }

.nav-toggle-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  border-radius: var(--radius-14);
}

.nav-toggle-btn span {
  display: block;
  background: var(--ink-900);
  width: 22px;
  height: 2px;
  border-radius: 2px;
  margin-block: 3px;
  transform-origin: right;
  transition: var(--transition);
}

.nav-toggle-btn span.two { transform: scaleX(0.7); }

.nav-toggle-btn span.three { transform: scaleX(0.4); }

.nav-toggle-btn:is(:hover, :focus-visible) span,
.nav-toggle-btn.active span {
  transform: scaleX(1);
  background: var(--yellow-600);
}

.navbar {
  background: var(--bg);
  position: fixed;
  top: var(--header-height);
  bottom: 0;
  right: -280px;
  max-width: 280px;
  width: 100%;
  padding: 24px;
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  visibility: hidden;
  overflow-y: auto;
  transition: 0.25s cubic-bezier(0.51, 0.03, 0.64, 0.28);
  z-index: 2;
}

.navbar.active {
  visibility: visible;
  transform: translateX(-100%);
  transition: 0.4s cubic-bezier(0.33, 0.85, 0.56, 1.02);
}

.navbar-link {
  display: block;
  color: var(--ink-700);
  font-family: var(--ff-head);
  font-size: var(--fs-5);
  font-weight: var(--fw-700);
  padding-block: 10px;
}

.navbar-link:is(:hover, :focus-visible) { color: var(--yellow-600); }

.navbar-contact {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.navbar-contact .btn {
  width: 100%;
  margin-top: 20px;
}

.overlay {
  position: fixed;
  top: var(--header-height);
  background: var(--ink-900);
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 1;
}

.overlay.active {
  opacity: 0.4;
  pointer-events: all;
}





/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero { padding-top: calc(var(--header-height) + 28px); }

.hero .container {
  display: grid;
  gap: 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  color: var(--ink-900);
  font-family: var(--ff-head);
  font-weight: var(--fw-700);
  font-size: var(--fs-7);
  letter-spacing: 0.04em;
  padding: 6px 12px 6px 8px;
  border-radius: 50px;
  box-shadow: inset 0 0 0 1.5px var(--line);
  margin-bottom: 18px;
}

.eyebrow ion-icon { color: var(--yellow-600); font-size: 16px; }

.hero-title {
  max-width: 16ch;
  margin-bottom: 16px;
}

.hero-title mark {
  background: linear-gradient(transparent 60%, var(--yellow) 60%, var(--yellow) 96%, transparent 96%);
  color: inherit;
  padding-inline: 2px;
}

.hero-text {
  max-width: 54ch;
  margin-bottom: 24px;
}

.city-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.city-tabs-label {
  width: 100%;
  color: var(--ink-500);
  font-size: var(--fs-7);
  font-weight: var(--fw-600);
}

.city-tab {
  flex: 1 1 0;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: var(--radius-14);
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--line);
  color: var(--ink-700);
  font-family: var(--ff-head);
  font-weight: var(--fw-700);
  transition: var(--transition);
}

.city-tab:hover { box-shadow: inset 0 0 0 1.5px var(--ink-300); }

.city-tab[aria-pressed="true"] {
  background: var(--ink-900);
  color: var(--yellow);
  box-shadow: none;
}

.hero-form {
  background: var(--surface);
  border-radius: var(--radius-18);
  box-shadow: var(--shadow-1);
  font-family: var(--ff-head);
  margin-bottom: 28px;
  overflow: hidden;
}

.input-wrapper {
  position: relative;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}

.input-wrapper::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--ink-500);
  border-bottom: 2px solid var(--ink-500);
  transform: rotate(45deg);
  pointer-events: none;
}

.input-label {
  display: block;
  color: var(--ink-500);
  font-size: var(--fs-7);
  font-weight: var(--fw-600);
  margin-bottom: 2px;
}

.input-field {
  width: 100%;
  color: var(--ink-900);
  font-weight: var(--fw-700);
  font-size: var(--fs-5);
  padding: 2px 24px 2px 0;
  border-radius: 4px;
}

.input-field:focus-visible { outline-offset: 4px; }

.hero-form .btn {
  --height: 52px;
  width: calc(100% - 24px);
  margin: 12px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-stats li {
  border-left: 3px solid var(--yellow);
  padding-left: 10px;
}

.hero-stats strong {
  display: block;
  color: var(--ink-900);
  font-family: var(--ff-head);
  font-size: var(--fs-5);
  font-weight: var(--fw-800);
  line-height: 1.2;
}

.hero-stats span {
  display: block;
  color: var(--ink-500);
  font-size: var(--fs-7);
  line-height: 1.35;
  margin-top: 4px;
}

.hero-stats span span { display: inline; margin: 0; }

.hero-banner { position: relative; }

.hero-art {
  width: 100%;
  height: auto;
  border-radius: var(--radius-28);
  box-shadow: var(--shadow-3);
}

.hero-chips { display: none; }

.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  color: var(--ink-900);
  font-family: var(--ff-head);
  font-weight: var(--fw-700);
  font-size: var(--fs-7);
  padding: 8px 14px 8px 10px;
  border-radius: 50px;
  box-shadow: var(--shadow-1);
  white-space: nowrap;
}

.chip ion-icon {
  font-size: 18px;
  color: var(--green);
  --ionicon-stroke-width: 44px;
}

.chip-1 { top: 8%; left: -24px; }
.chip-2 { top: 36%; right: -18px; }
.chip-2 ion-icon { color: var(--red); }
.chip-3 { bottom: 8%; left: 10%; }
.chip-3 ion-icon { color: var(--blue); }





/*-----------------------------------*\
  #FLEET
\*-----------------------------------*/

.fleet .title-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0 20px;
}

.fleet-count {
  color: var(--ink-500);
  font-size: var(--fs-6);
  margin-bottom: 30px;
}

.fleet .section-text { margin-bottom: 16px; }

.filter-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 24px;
  scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar { display: none; }

.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  min-height: 42px;
  padding: 6px 10px 6px 16px;
  border-radius: 50px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--line);
  color: var(--ink-700);
  font-family: var(--ff-head);
  font-weight: var(--fw-700);
  font-size: var(--fs-6);
  transition: var(--transition);
}

.filter-tab:hover { box-shadow: inset 0 0 0 1.5px var(--ink-300); }

.filter-tab[aria-pressed="true"] {
  background: var(--ink-900);
  color: var(--surface);
  box-shadow: none;
}

.filter-count {
  min-width: 26px;
  padding: 1px 8px;
  border-radius: 50px;
  background: var(--surface-2);
  color: var(--ink-500);
  font-size: var(--fs-7);
  text-align: center;
}

.filter-tab[aria-pressed="true"] .filter-count {
  background: var(--yellow);
  color: var(--ink-900);
}

.filter-tab:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.fleet-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.car-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-18);
  padding: 10px;
  box-shadow: var(--shadow-1);
  transition: transform var(--transition), box-shadow var(--transition);
}

.car-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-3);
}

.car-banner {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: end center;
  padding: 0 4% 6%;
  background:
    linear-gradient(to bottom, transparent 70%, hsla(222, 20%, 50%, 0.12) 70%),
    radial-gradient(120% 90% at 50% 0%, var(--yellow-50), var(--surface-2));
  border-radius: var(--radius-14);
  overflow: hidden;
}

.car-banner svg {
  width: 100%;
  height: auto;
}

.car-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--ink-900);
  color: var(--yellow);
  font-family: var(--ff-head);
  font-weight: var(--fw-700);
  font-size: var(--fs-7);
  padding: 3px 10px;
  border-radius: 50px;
}

.car-card .card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 18px 10px 8px;
}

.car-card .card-title-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.car-card .card-title {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.car-card .year {
  flex-shrink: 0;
  font-family: var(--ff-head);
  font-size: var(--fs-7);
  font-weight: var(--fw-700);
  padding: 2px 10px;
  border: 2px dashed hsla(42, 100%, 47%, 0.6);
  border-radius: var(--radius-10);
}

.car-card .card-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.car-card .card-list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.car-card .card-list-item ion-icon {
  font-size: 18px;
  flex-shrink: 0;
  color: var(--yellow-600);
  --ionicon-stroke-width: 40px;
}

.car-card .card-item-text {
  color: var(--ink-700);
  font-size: var(--fs-7);
  line-height: 1.3;
}

.car-card .card-price-wrapper {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.car-card .card-price {
  width: 100%;
  font-family: var(--ff-head);
  color: var(--ink-500);
  font-size: var(--fs-7);
  line-height: 1.3;
}

.car-card .card-price strong {
  color: var(--ink-900);
  font-size: var(--fs-3);
  font-weight: var(--fw-800);
}

.car-card .card-price small {
  display: block;
  font-size: var(--fs-7);
  margin-top: 4px;
}

.car-card .btn-primary { flex-grow: 1; }

.fleet-empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
  padding: 40px 20px;
  background: var(--surface);
  border-radius: var(--radius-18);
  border: 2px dashed var(--line);
}

.fleet-empty[hidden] { display: none; }

.fleet-empty ion-icon {
  font-size: 40px;
  color: var(--ink-300);
}





/*-----------------------------------*\
  #TARIFFS
\*-----------------------------------*/

.tariffs { background: var(--surface); }

.tariff-list {
  display: grid;
  gap: 20px;
}

.tariff-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
  background: var(--bg);
  border-radius: var(--radius-18);
  box-shadow: inset 0 0 0 1.5px var(--line);
}

.tariff-card.is-featured {
  background: var(--ink-900);
  color: var(--ink-300);
  box-shadow: var(--shadow-3);
}

.tariff-card.is-featured .card-title,
.tariff-card.is-featured .tariff-price strong { color: var(--surface); }

.tariff-card.is-featured .card-icon { --icon-bg: var(--yellow); }

.tariff-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--yellow);
  color: var(--ink-900);
  font-family: var(--ff-head);
  font-weight: var(--fw-800);
  font-size: var(--fs-7);
  padding: 3px 12px;
  border-radius: 50px;
}

.tariff-card .card-icon { margin-bottom: 18px; }

.tariff-card .card-title { margin-bottom: 6px; }

.tariff-price {
  font-family: var(--ff-head);
  margin-bottom: 18px;
}

.tariff-price strong {
  color: var(--ink-900);
  font-size: var(--fs-3);
  font-weight: var(--fw-800);
}

.tariff-features {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.tariff-features li {
  display: flex;
  gap: 10px;
  font-size: var(--fs-6);
}

.tariff-features ion-icon {
  flex-shrink: 0;
  margin-top: 3px;
  font-size: 18px;
  color: var(--green);
  --ionicon-stroke-width: 56px;
}

.tariff-card.is-featured .tariff-features ion-icon { color: var(--yellow); }

.tariff-card .btn {
  margin-top: auto;
  width: 100%;
}





/*-----------------------------------*\
  #BENEFITS
\*-----------------------------------*/

.benefits .section-title { margin-bottom: 30px; }

.benefit-list {
  display: grid;
  gap: 16px;
}

.benefit-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  padding: 20px;
  background: var(--surface);
  border-radius: var(--radius-18);
  box-shadow: var(--shadow-1);
}

.benefit-card .card-icon { grid-row: span 2; }

.benefit-card .card-title {
  color: var(--ink-900);
  font-family: var(--ff-head);
  font-size: var(--fs-5);
  font-weight: var(--fw-800);
  line-height: 1.3;
}

.benefit-card .card-text { font-size: var(--fs-6); }





/*-----------------------------------*\
  #CALCULATOR
\*-----------------------------------*/

.calculator {
  position: relative;
  background: var(--ink-900);
  color: var(--ink-300);
  padding-top: 0;
}

.calculator > .checker { margin-bottom: var(--section-padding); }

.calculator .section-title { color: var(--surface); }

.calculator .section-text { color: var(--ink-300); }

.calc-grid {
  display: grid;
  gap: 20px;
}

.calc-form {
  display: grid;
  gap: 22px;
  padding: 24px 20px;
  background: var(--ink-800);
  border-radius: var(--radius-18);
  box-shadow: inset 0 0 0 1px hsla(0, 0%, 100%, 0.06);
}

.field { display: grid; gap: 8px; }

.field-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.field-label {
  font-size: var(--fs-7);
  font-weight: var(--fw-600);
}

.field-value {
  color: var(--yellow);
  font-family: var(--ff-head);
  font-weight: var(--fw-800);
  font-size: var(--fs-5);
  white-space: nowrap;
}

.field-input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: var(--radius-10);
  background: var(--surface);
  color: var(--ink-900);
  box-shadow: inset 0 0 0 1.5px var(--line);
  font-size: 1rem;
  transition: box-shadow var(--transition);
}

select.field-input { padding-right: 40px; }

.field-input:hover { box-shadow: inset 0 0 0 1.5px var(--ink-300); }

.field-input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink-900); }

.field-input:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--ink-900), 0 0 0 4px var(--yellow-100); }

.field-input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--red); }

textarea.field-input { resize: vertical; min-height: 84px; }

.calc-form .field-input {
  background: var(--ink-900);
  color: var(--surface);
  box-shadow: inset 0 0 0 1.5px hsla(0, 0%, 100%, 0.14);
}

.calc-form .field-input:hover { box-shadow: inset 0 0 0 1.5px hsla(0, 0%, 100%, 0.3); }

.calc-form .field-input:focus,
.calc-form .field-input:focus-visible { box-shadow: inset 0 0 0 2px var(--yellow); }

.calc-form .field-label { color: var(--ink-300); }

.calc-form .select-wrap::after { color: var(--surface); }

.range {
  --fill: 50%;
  width: 100%;
  height: 28px;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}

.range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(to right, var(--yellow) var(--fill), hsla(0, 0%, 100%, 0.16) var(--fill));
}

.range::-moz-range-track {
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(to right, var(--yellow) var(--fill), hsla(0, 0%, 100%, 0.16) var(--fill));
}

.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  margin-top: -9px;
  border-radius: 50%;
  background: var(--yellow);
  border: 4px solid var(--ink-800);
  box-shadow: 0 0 0 2px var(--yellow);
}

.range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--yellow);
  border: 4px solid var(--ink-800);
  box-shadow: 0 0 0 2px var(--yellow);
}

.range:focus-visible { outline: none; }

.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px var(--yellow), 0 0 0 6px hsla(45, 100%, 55%, 0.35); }

.calc-result {
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  background: var(--surface);
  color: var(--ink-700);
  border-radius: var(--radius-18);
}

.calc-result-label {
  font-family: var(--ff-head);
  font-weight: var(--fw-700);
  color: var(--ink-500);
}

.calc-net {
  color: var(--green);
  font-family: var(--ff-head);
  font-size: 2.25rem;
  font-weight: var(--fw-800);
  line-height: 1.2;
  margin-bottom: 18px;
  font-variant-numeric: tabular-nums;
}

.calc-net.is-negative { color: var(--red); }

.calc-bar {
  display: flex;
  height: 14px;
  gap: 2px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-2);
  margin-bottom: 18px;
}

.calc-bar span {
  display: block;
  height: 100%;
  transition: width 0.35s ease;
}

.bar-rent { background: var(--ink-900); }
.bar-fuel { background: var(--yellow); }
.bar-net { background: var(--green); }

.calc-rows {
  display: grid;
  margin-bottom: 18px;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-6);
}

.calc-row dt { display: flex; align-items: center; gap: 8px; }

.calc-row dd {
  color: var(--ink-900);
  font-family: var(--ff-head);
  font-weight: var(--fw-800);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
}

.dot-rent { background: var(--ink-900); }
.dot-fuel { background: var(--yellow); }

.calc-note {
  font-size: var(--fs-7);
  color: var(--ink-500);
  margin-bottom: 20px;
}

.calc-result .btn { margin-top: auto; }





/*-----------------------------------*\
  #GET START
\*-----------------------------------*/

.get-start .section-title { margin-bottom: 30px; }

.get-start-list {
  display: grid;
  gap: 20px;
  counter-reset: step;
}

.get-start-card {
  position: relative;
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius-18);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}

.step-number {
  position: absolute;
  top: 6px;
  right: 18px;
  color: var(--surface-2);
  font-family: var(--ff-head);
  font-size: 4.5rem;
  font-weight: var(--fw-800);
  line-height: 1;
  -webkit-text-stroke: 1.5px var(--line);
}

.get-start-card .card-icon { margin-bottom: 18px; }

.get-start-card .card-title {
  color: var(--ink-900);
  font-family: var(--ff-head);
  font-size: var(--fs-5);
  font-weight: var(--fw-800);
  margin-bottom: 8px;
}

.get-start-card .card-text { font-size: var(--fs-6); }

.get-start-card .card-link {
  position: relative;
  display: inline-block;
  margin-top: 14px;
  color: var(--ink-900);
  font-family: var(--ff-head);
  font-weight: var(--fw-800);
  box-shadow: inset 0 -3px 0 var(--yellow);
  transition: var(--transition);
}

.get-start-card .card-link:is(:hover, :focus-visible) { box-shadow: inset 0 -1.2em 0 var(--yellow); }





/*-----------------------------------*\
  #REQUIREMENTS
\*-----------------------------------*/

.requirements { padding-top: 0; }

.req-grid {
  display: grid;
  gap: 20px;
}

.req-card {
  padding: 28px 24px;
  background: var(--yellow);
  color: var(--ink-900);
  border-radius: var(--radius-28);
}

.req-card .section-title { margin-bottom: 20px; }

.req-card-docs {
  background: var(--surface);
  color: var(--ink-700);
  box-shadow: var(--shadow-1);
}

.req-docs-title { margin-bottom: 20px; }

.req-list {
  display: grid;
  gap: 14px;
}

.req-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.req-list ion-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 10px;
  background: hsla(0, 0%, 100%, 0.55);
  color: var(--ink-900);
  --ionicon-stroke-width: 40px;
}

.req-card-docs .req-list ion-icon { background: var(--yellow-100); }

.req-list span { padding-top: 6px; }

.req-card-docs .btn {
  margin-top: 24px;
  width: 100%;
  white-space: normal;
}





/*-----------------------------------*\
  #OFFICES
\*-----------------------------------*/

.offices { background: var(--surface); }

.office-list {
  display: grid;
  gap: 20px;
}

.office-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--bg);
  border-radius: var(--radius-18);
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: var(--transition);
}

.office-card.is-active {
  background: var(--surface);
  box-shadow: inset 0 0 0 2px var(--yellow), var(--shadow-1);
}

.office-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}

.office-country {
  display: block;
  color: var(--ink-500);
  font-size: var(--fs-7);
  margin-top: 2px;
}

.office-current {
  display: none;
  background: var(--yellow);
  color: var(--ink-900);
  font-family: var(--ff-head);
  font-weight: var(--fw-800);
  font-size: var(--fs-7);
  padding: 3px 10px;
  border-radius: 50px;
  white-space: nowrap;
}

.office-card.is-active .office-current { display: inline-block; }

.office-info {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.office-info li {
  display: flex;
  gap: 10px;
  font-size: var(--fs-6);
}

.office-info ion-icon {
  flex-shrink: 0;
  margin-top: 3px;
  font-size: 18px;
  color: var(--yellow-600);
  --ionicon-stroke-width: 40px;
}

.office-info a {
  color: var(--ink-900);
  font-family: var(--ff-head);
  font-weight: var(--fw-800);
}

.office-info a:is(:hover, :focus-visible) { color: var(--yellow-600); }

.office-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.office-actions .btn-whatsapp {
  --btn-bg: var(--whatsapp);
  --btn-color: var(--surface);
  flex-grow: 1;
}

.office-actions .btn-whatsapp:is(:hover, :focus-visible) { --btn-bg: hsl(142, 70%, 33%); }





/*-----------------------------------*\
  #FAQ
\*-----------------------------------*/

.faq .section-title { margin-bottom: 30px; }

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
}

.faq-item {
  background: var(--surface);
  border-radius: var(--radius-14);
  box-shadow: var(--shadow-1);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  color: var(--ink-900);
  font-family: var(--ff-head);
  font-size: var(--fs-5);
  font-weight: var(--fw-700);
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius-14);
}

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

.faq-item summary ion-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  padding: 7px;
  border-radius: 50%;
  background: var(--surface-2);
  transition: var(--transition);
}

.faq-item[open] summary ion-icon {
  transform: rotate(180deg);
  background: var(--yellow);
}

.faq-item p {
  padding: 0 20px 20px;
  max-width: 70ch;
}





/*-----------------------------------*\
  #BOOKING
\*-----------------------------------*/

.booking { padding-top: 0; }

.booking-grid {
  display: grid;
  gap: 28px;
  padding: 28px 20px;
  background: var(--surface);
  border-radius: var(--radius-28);
  box-shadow: var(--shadow-3);
}

.booking-contacts {
  display: grid;
  gap: 10px;
}

.booking-contact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-900);
  font-family: var(--ff-head);
  font-weight: var(--fw-700);
  font-size: var(--fs-5);
}

.booking-contact ion-icon {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 12px;
  background: var(--yellow-100);
  --ionicon-stroke-width: 40px;
}

.booking-contact:is(:hover, :focus-visible) { color: var(--yellow-600); }

.booking-form {
  display: grid;
  gap: 16px;
}

.booking-form .field-label { color: var(--ink-700); }

.field-group {
  display: grid;
  gap: 16px;
}

.field-error {
  color: var(--red);
  font-size: var(--fs-7);
  font-weight: var(--fw-600);
}

.field-error[hidden] { display: none; }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-7);
  cursor: pointer;
}

.checkbox input {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: var(--ink-900);
  flex-shrink: 0;
}

.booking-form .btn { width: 100%; }

.form-status {
  padding: 14px 16px;
  border-radius: var(--radius-14);
  background: var(--green-100);
  color: var(--green);
  font-size: var(--fs-6);
}

.form-status a {
  font-weight: var(--fw-700);
  text-decoration: underline;
}

.form-status[hidden] { display: none; }





/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer {
  background: var(--ink-900);
  color: var(--ink-300);
}

.footer .logo-text { display: block; color: var(--surface); }

.footer .logo-text > span { color: var(--ink-300); }

.footer-top {
  padding-block: 56px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  row-gap: 40px;
}

.footer-brand { width: 100%; }

.footer-brand .logo { margin-bottom: 18px; }

.footer-text {
  font-size: var(--fs-6);
  max-width: 40ch;
}

.footer-list { font-family: var(--ff-head); width: 50%; }

.footer-list.footer-cities { width: 100%; }

.footer-list-title {
  color: var(--surface);
  font-weight: var(--fw-800);
  margin-bottom: 10px;
}

.footer-link {
  display: inline-block;
  font-size: var(--fs-6);
  padding-block: 5px;
}

.footer-link:is(:hover, :focus-visible) { color: var(--yellow); }

.footer-city {
  display: grid;
  padding-block: 5px;
  font-size: var(--fs-6);
}

.footer-city strong { color: var(--surface); }

.footer-city a:is(:hover, :focus-visible) { color: var(--yellow); }

.footer-bottom {
  border-top: 1px solid hsla(0, 0%, 100%, 0.1);
  padding-block: 24px 90px;
}

.social-list {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 20px;
  border-radius: 12px;
  background: hsla(0, 0%, 100%, 0.07);
}

.social-link ion-icon { --ionicon-stroke-width: 40px; }

.social-link:is(:hover, :focus-visible) {
  background: var(--yellow);
  color: var(--ink-900);
}

.copyright { font-size: var(--fs-7); }





/*-----------------------------------*\
  #FLOATING WHATSAPP
\*-----------------------------------*/

.float-wa {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 4;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--surface);
  font-size: 30px;
  box-shadow: 0 8px 24px hsla(142, 70%, 30%, 0.4);
  transition: var(--transition);
}

.float-wa:not(.is-visible) {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.float-wa:is(:hover, :focus-visible) { transform: scale(1.06); }





/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for larger than 400px screen
 */

@media (min-width: 340px) {

  .logo-text { display: block; }

}





/**
 * responsive for larger than 480px screen
 */

@media (min-width: 480px) {

  .header-cta {
    display: inline-flex;
    padding-inline: 0;
    width: 44px;
  }

  .header-cta span { display: none; }

}





/**
 * responsive for larger than 580px screen
 */

@media (min-width: 580px) {

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 540px;
    margin-inline: auto;
  }



  /**
   * HERO
   */

  .city-tabs-label { width: auto; margin-right: 4px; }

  .city-tab { flex: 0 0 auto; }

  .hero-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-form .input-wrapper:first-child { border-right: 1px solid var(--line); }

  .hero-form .btn { grid-column: 1 / -1; }



  /**
   * BOOKING
   */

  .field-group { grid-template-columns: 1fr 1fr; }

  .booking-grid { padding: 36px; }

}





/**
 * responsive for larger than 768px screen
 */

@media (min-width: 768px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {
    --fs-1: 2.75rem;
    --fs-2: 2rem;
    --section-padding: 72px;
    --header-height: 80px;
  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 720px; }



  /**
   * HEADER
   */

  .header-actions { gap: 16px; }

  .header-contact { display: block; text-align: right; }

  .navbar-contact { display: none; }

  .header-cta { padding-inline: 18px; width: auto; }

  .header-cta span { display: inline; }

  .header-cta ion-icon { display: none; }



  /**
   * HERO
   */

  .hero-chips { display: block; }



  /**
   * FLEET
   */

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



  /**
   * TARIFFS, BENEFITS, STEPS, OFFICES
   */

  .benefit-list,
  .get-start-list { grid-template-columns: 1fr 1fr; }

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

  .tariff-list > li:last-child,
  .office-list > li:last-child { grid-column: 1 / -1; }



  /**
   * CALCULATOR
   */

  .calc-form,
  .calc-result { padding: 32px; }



  /**
   * REQUIREMENTS
   */

  .req-card { padding: 40px; }



  /**
   * FOOTER
   */

  .footer-list { width: 25%; }

  .footer-list.footer-cities { width: 50%; }

  .footer-bottom {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 28px;
  }

  .social-list { margin-bottom: 0; }

}





/**
 * responsive for larger than 992px screen
 */

@media (min-width: 992px) {

  /**
   * REUSED STYLE
   */

  .container { max-width: 960px; }



  /**
   * HERO
   */

  .hero { padding-bottom: 80px; }

  .hero .container {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 48px;
  }



  /**
   * FLEET
   */

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



  /**
   * TARIFFS, OFFICES
   */

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

  .tariff-list > li:last-child,
  .office-list > li:last-child { grid-column: auto; }

  .benefit-list { grid-template-columns: repeat(3, 1fr); }



  /**
   * CALCULATOR
   */

  .calc-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 28px;
  }



  /**
   * REQUIREMENTS
   */

  .req-grid { grid-template-columns: 1.2fr 1fr; }



  /**
   * BOOKING
   */

  .booking-grid {
    grid-template-columns: 1fr 1.25fr;
    gap: 48px;
    padding: 48px;
  }



  /**
   * FOOTER
   */

  .footer-brand,
  .footer-list.footer-cities { width: 33.33%; }

  .footer-list { width: 16.66%; }

}





/**
 * responsive for larger than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {
    --fs-1: 3.25rem;
    --fs-2: 2.25rem;
  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 1170px; }



  /**
   * HEADER
   */

  .overlay,
  .nav-toggle-btn { display: none; }

  .navbar,
  .navbar.active { all: unset; }

  .navbar-link {
    font-size: var(--fs-6);
    padding-block: 6px;
  }

  .navbar-list {
    display: flex;
    gap: 28px;
  }



  /**
   * HERO
   */

  .hero-form { grid-template-columns: 1fr 1fr auto; }

  .hero-form .input-wrapper:nth-child(2) { border-right: 1px solid var(--line); }

  .hero-form .input-wrapper { border-bottom: none; }

  .hero-form .btn {
    grid-column: auto;
    width: auto;
    margin: 10px;
  }



  /**
   * GET START
   */

  .get-start-list { grid-template-columns: repeat(4, 1fr); }

}
