/* ============================================
   ALFERT.KZ - New Header, Hero, Form Styles
   Font: Lexend (Google Fonts)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* ---- Variables ---- */
:root {
  --c-navy: #0C2741;
  --c-blue: #0069E2;
  --c-blue-light: #1580EB;
  --c-blue-sky: #008BFF;
  --c-yellow: #F8D62A;
  --c-white: #FFFFFF;
  --c-black: #000000;
  --c-gray: #63666D;
  --c-gray-light: #ADADAD;
  --c-gray-border: #C9C9C9;
  --c-dark-text: #353535;
  --c-dark-input: #383838;
  --font-main: 'Lexend', sans-serif;
  --font-inter: 'Lexend', sans-serif;
  --container-width: 1280px;
  --container-padding: 0 140px;
}

/* ---- Reset for new elements ---- */
.alf-header *, .alf-hero *, .alf-modal *, .alf-calc * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ============================================
   HEADER
   ============================================ */
.alf-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--c-navy);
  height: 79px;
  display: flex;
  align-items: center;
  font-family: var(--font-main);
}

.alf-header__inner {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 140px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.alf-header__logo {
  flex-shrink: 0;
}

.alf-header__logo img {
  width: 74px;
  height: 54px;
  display: block;
}

.alf-header__nav {
  display: flex;
  align-items: center;
}

/* CMS Menu module inside header nav */
.alf-header__nav .main-menu-wrap {
  height: auto;
  margin: 0;
}

.alf-header__nav .menu-wrap {
  display: flex;
  flex-flow: row nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.alf-header__nav .level-1 > .menu-item {
  margin: 0 18px;
  position: relative;
}

.alf-header__nav .level-1 > .menu-item > a {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.64;
  text-transform: uppercase;
  color: var(--c-white);
  text-decoration: none;
  transition: opacity 0.2s;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  padding-bottom: 4px;
}

.alf-header__nav .level-1 > .menu-item > a:hover,
.alf-header__nav .level-1 > .menu-item.selected > a {
  border-bottom-color: var(--c-yellow);
  opacity: 1;
}

.alf-header__nav .menu-title {
  padding: 0;
}

/* Submenu dropdown (level-2) */
.alf-header__nav .level-2 {
  display: none;
  position: absolute;
  top: 100%;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 12px;
  padding: 16px 0;
  background: var(--c-white);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  width: auto;
  max-width: calc(100vw - 40px);
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  z-index: 100;
  list-style: none;
}

.alf-header__nav .level-1 > .menu-item:hover > .level-2,
.alf-header__nav .level-1 > .menu-item:hover > .menu-item-wrap {
  display: grid;
}

/* Invisible bridge between menu item and dropdown */
.alf-header__nav .level-2::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  width: 100%;
  height: 16px;
}

.alf-header__nav .level-2 > .menu-item {
  padding: 0;
  break-inside: avoid;
  list-style: none;
}

.alf-header__nav .level-2 > .menu-item > a {
  display: block;
  padding: 6px 20px;
  font-size: 15px;
  font-weight: 400;
  color: var(--c-navy);
  text-transform: none;
  text-decoration: none;
  white-space: normal;
  border-bottom: none;
}

.alf-header__nav .level-2 > .menu-item > a:hover {
  color: var(--c-blue);
  background: #f5f5f5;
}

.alf-header__nav .level-3 {
  display: none;
}

.alf-header__nav .menu-arrow {
  display: none;
}

.alf-header__nav .menu-item-wrap {
  display: none;
}

.alf-header__nav .menu-item a[title] {
  /* Remove browser tooltip on hover */
}

/* Remove list markers from all menu levels */
.alf-header__nav ul,
.alf-header__nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.alf-header__right {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* CMS Lang module inside header */
.alf-header__lang {
  position: relative;
  display: flex;
  align-items: center;
}

.alf-header__lang .block-langs {
  display: flex;
  flex-direction: column;
  position: relative;
}

.alf-header__lang .block-langs:hover .langs-list {
  display: block;
}

.alf-header__lang .block-langs .current {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--c-white);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  height: auto;
  line-height: 1.64;
}

.alf-header__lang .block-langs .lang-flag {
  width: 22px;
  height: 17px;
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
}

.alf-header__lang .block-langs .current svg,
.alf-header__lang .block-langs .current .icon {
  display: none;
}

.alf-header__lang .block-langs .langs-list {
  display: none;
  position: absolute;
  top: 100%;
  left: -10px;
  margin-top: 8px;
  background: var(--c-white);
  border-radius: 8px;
  padding: 8px 0;
  min-width: 80px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  z-index: 10;
}

.alf-header__lang .block-langs .langs-list::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
}

.alf-header__lang .block-langs .langs-list a {
  display: block;
  padding: 6px 16px;
  font-family: var(--font-main);
  font-size: 14px;
  color: var(--c-navy);
  text-decoration: none;
}

.alf-header__lang .block-langs .langs-list a:hover {
  background: #f5f5f5;
}

/* Desktop header: current shows short code, dropdown shows full name */
.alf-header__lang .current .lang-short { display: inline; }
.alf-header__lang .current .lang-full { display: none; }
.alf-header__lang .langs-list .lang-short { display: none; }
.alf-header__lang .langs-list .lang-full { display: inline; }

/* CMS Phones module inside header */
.alf-header__phone-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.alf-header__phone-wrap .block-phones {
  display: flex;
  flex-direction: column;
  position: relative;
}

.alf-header__phone-wrap .block-phones:hover .phones-list {
  display: block;
}

.alf-header__phone-wrap .block-phones .current {
  display: flex;
  align-items: center;
  cursor: pointer;
  height: auto;
}

.alf-header__phone-wrap .block-phones .current svg {
  width: 24px;
  height: 12px;
  margin-left: 8px;
}

.alf-header__phone-wrap .content-phone {
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 400;
  line-height: 164%;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--c-white);
  white-space: nowrap;
  text-decoration: none;
  height: auto !important;
}

.alf-header__phone-wrap .phones-list {
  display: none !important;
  position: absolute !important;
  top: 100% !important;
  left: auto !important;
  right: 0 !important;
  margin-top: 0 !important;
  background: var(--c-white) !important;
  border-radius: 8px !important;
  padding: 8px 0 !important;
  min-width: 180px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
  z-index: 10 !important;
}

.alf-header__phone-wrap .block-phones:hover .phones-list {
  display: block !important;
}

.alf-header__phone-wrap .phones-list::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
}

.alf-header__phone-wrap .phones-list .content-phone {
  color: var(--c-navy) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  height: auto !important;
  width: auto !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  padding: 6px 16px !important;
  cursor: pointer;
  display: block !important;
  white-space: nowrap !important;
}

.alf-header__phone-wrap .phones-list .content-phone:hover {
  color: var(--c-blue) !important;
}

.alf-header__cta {
  display: none;
}

/* Burger */
.alf-header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.alf-header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-white);
  transition: all 0.3s;
}

.alf-header__burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.alf-header__burger.active span:nth-child(2) {
  opacity: 0;
}

.alf-header__burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.alf-mobile-menu {
  display: none;
  position: fixed;
  top: 79px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--c-navy);
  z-index: 999;
  padding: 30px 20px;
  overflow-y: auto;
  font-family: var(--font-main);
}

.alf-mobile-menu.active {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Mobile menu - Search */
.alf-mobile-menu__search {
  margin-bottom: 10px;
}

.alf-mobile-menu__search .search {
  position: relative !important;
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  z-index: auto !important;
}

.alf-mobile-menu__search .search.opened {
  z-index: auto !important;
}

.alf-mobile-menu__search .search form {
  display: flex !important;
  align-items: center !important;
  background: rgba(255,255,255,0.15) !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  border-radius: 8px !important;
  overflow: hidden;
}

.alf-mobile-menu__search .search .textbox {
  display: block !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  height: 44px !important;
  padding: 10px 16px !important;
  margin: 0 !important;
  font-family: var(--font-main) !important;
  font-size: 15px !important;
  color: var(--c-white) !important;
  background: transparent !important;
  border: none !important;
  border-bottom: none !important;
  outline: none !important;
  box-sizing: border-box !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  z-index: auto !important;
  position: relative !important;
}

.alf-mobile-menu__search .search .textbox::-webkit-search-cancel-button,
.alf-mobile-menu__search .search .textbox::-webkit-search-decoration {
  -webkit-appearance: none !important;
  display: none !important;
}

.alf-mobile-menu__search .search .textbox::placeholder {
  color: rgba(255,255,255,0.7);
}

.alf-mobile-menu__search .search .button-search {
  flex: 0 0 auto !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: none !important;
  border: none !important;
  color: var(--c-white) !important;
  cursor: pointer;
  padding: 0 !important;
  margin-right: 8px !important;
  position: static !important;
  transform: none !important;
}

.alf-mobile-menu__search .search .button-search svg,
.alf-mobile-menu__search .search .button-search .icon {
  fill: var(--c-white);
  color: var(--c-white);
  width: 20px;
  height: 20px;
}

.alf-mobile-menu__search .search-results-wrap {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  background: var(--c-white) !important;
  border-radius: 8px !important;
  margin-top: 4px !important;
  z-index: 10 !important;
  max-height: 300px !important;
  overflow-y: auto;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
}

.alf-mobile-menu__search .search-results a {
  display: block !important;
  padding: 8px 12px !important;
  margin: 0 !important;
  color: var(--c-navy) !important;
  font-size: 14px !important;
  text-decoration: none;
  border-bottom: 1px solid #eee;
  line-height: 1.3 !important;
}

.alf-mobile-menu__search .search-results {
  padding: 0 !important;
  margin: 8px 12px !important;
  max-height: 200px !important;
  font-size: 14px !important;
}

.alf-mobile-menu__search .search-results:empty {
  margin: 0 !important;
}

.alf-mobile-menu__search .search-results {
  padding: 0 !important;
  margin: 0 !important;
}

/* Mobile menu - Nav (CMS menu module) */
.alf-mobile-menu__nav {
  display: flex;
  flex-direction: column;
}

.alf-mobile-menu__nav .main-menu-wrap {
  height: auto;
}

.alf-mobile-menu__nav .menu-wrap {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.alf-mobile-menu__nav .menu-item {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.alf-mobile-menu__nav .level-1 > .menu-item > a {
  width: 100%;
  padding: 12px 0;
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--c-white);
  text-decoration: none;
}

.alf-mobile-menu__nav .level-1 > .menu-item.with-subitems > a {
  width: calc(100% - 50px);
}

.alf-mobile-menu__nav .menu-arrow {
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
  cursor: pointer;
  border-left: 1px solid rgba(255,255,255,0.2);
  align-self: stretch;
}

.alf-mobile-menu__nav .menu-arrow .icon {
  display: flex;
  transition: transform 0.3s;
}

.alf-mobile-menu__nav .menu-arrow svg {
  width: 16px;
  height: 16px;
  fill: var(--c-white);
  color: var(--c-white);
}

.alf-mobile-menu__nav .menu-item.open > .menu-arrow .icon {
  transform: rotate(180deg);
}

.alf-mobile-menu__nav .level-2,
.alf-mobile-menu__nav .menu-item-wrap {
  display: none;
  width: 100%;
  background: rgba(255,255,255,0.08);
  border-radius: 0;
  box-shadow: none;
  position: static !important;
  margin: 0;
  padding: 0 !important;
  column-count: 1;
  grid-template-columns: 1fr !important;
}

.alf-mobile-menu__nav .menu-item.open > .menu-item-wrap {
  display: block !important;
}

.alf-mobile-menu__nav .level-2 > .menu-item {
  border-top: none;
  padding: 0;
}

.alf-mobile-menu__nav .level-2 > .menu-item > a {
  width: 100% !important;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 400;
  color: var(--c-white) !important;
  text-transform: none;
  text-decoration: none;
  display: block;
}

.alf-mobile-menu__nav .level-2 > .menu-item.with-subitems > a {
  width: calc(100% - 50px) !important;
}

.alf-mobile-menu__nav .level-2 > .menu-item > a:hover {
  color: var(--c-yellow) !important;
}

/* Level 3 in mobile */
.alf-mobile-menu__nav .level-3 {
  display: none;
  width: 100%;
  background: rgba(255,255,255,0.05);
  position: static !important;
  padding: 0 !important;
  margin: 0;
  column-count: 1;
}

.alf-mobile-menu__nav .level-2 .menu-item.open > .menu-item-wrap {
  display: block !important;
}

.alf-mobile-menu__nav .level-3 > .menu-item {
  border-top: none;
  padding: 0;
}

.alf-mobile-menu__nav .level-3 > .menu-item > a {
  width: 100% !important;
  padding: 8px 32px;
  font-size: 15px;
  font-weight: 400;
  color: var(--c-white) !important;
  text-transform: none;
  text-decoration: none;
  display: block;
}

.alf-mobile-menu__nav .level-3 > .menu-item > a:hover {
  color: var(--c-yellow) !important;
}

.alf-mobile-menu__nav .menu-title {
  margin: auto 0;
}

.alf-mobile-menu__nav .level-1 > .menu-item:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.alf-mobile-menu__nav .level-1 > .menu-item.selected > a {
  color: var(--c-yellow);
}

/* Reset old styles for menu items inside mobile */
.alf-mobile-menu__nav ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Mobile menu - Phones */
.alf-mobile-menu__phones {
  margin-top: 10px;
}

.alf-mobile-menu__phones .block-phones {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.alf-mobile-menu__phones .content-phone {
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-white);
  letter-spacing: 0.05em;
}

.alf-mobile-menu__phones .title-schedule-company-mobile {
  display: none;
}

/* Mobile menu - Lang */
.alf-mobile-menu__lang {
  margin-top: 10px;
}

.alf-mobile-menu__lang .block-langs {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.alf-mobile-menu__lang .block-langs .current {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-yellow);
  padding: 8px 12px 8px 0;
  display: flex;
  align-items: center;
}

.alf-mobile-menu__lang .block-langs .current .icon {
  display: none;
}

.alf-mobile-menu__lang .block-langs .langs-list {
  display: flex;
  position: static;
  background: transparent;
  box-shadow: none;
  padding: 0;
  min-width: auto;
}

.alf-mobile-menu__lang .block-langs .langs-list a {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 400;
  color: var(--c-white);
  text-decoration: none;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.alf-mobile-menu__lang .lang-flag {
  width: 22px;
  height: 17px;
  border-radius: 2px;
  object-fit: cover;
}

.alf-mobile-menu__lang .block-langs .langs-list a:hover {
  color: var(--c-yellow);
}

/* Mobile sidebar: show full name everywhere, hide short code and flags */
.alf-mobile-menu__lang .lang-short { display: none !important; }
.alf-mobile-menu__lang .lang-full { display: inline !important; }
.alf-mobile-menu__lang .lang-flag { display: none !important; }

/* Mobile menu - Social */
.alf-mobile-menu__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.alf-mobile-menu__social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.alf-mobile-menu__social a img {
  width: 28px;
  height: 28px;
}

/* Mobile menu - CTA */
.alf-mobile-menu__cta {
  display: inline-block;
  background: var(--c-yellow);
  color: var(--c-black);
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 7px;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  margin-top: 10px;
}

/* ============================================
   HERO - Main Page
   ============================================ */
.alf-hero {
  position: relative;
  width: 100%;
  background: var(--c-black);
  overflow: hidden;
  font-family: var(--font-main);
  padding-top: 79px;
}

.alf-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.alf-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.alf-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(98deg, rgba(0, 153, 255, 0.15) -1.38%, rgba(0, 0, 0, 0.75) 96.88%);
  z-index: 2;
}

.alf-hero__inner {
  position: relative;
  z-index: 3;
  max-width: 1560px;
  margin: 0 auto;
  padding: 48px 140px 92px;
  display: flex;
  flex-direction: column;
}

.alf-hero__top-line {
  font-size: 18px;
  font-weight: 400;
  line-height: 135%;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 12px;
}

.alf-hero__content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  flex: 1;
}

.alf-hero__left {
  flex: 1;
  max-width: 740px;
  display: flex;
  flex-direction: column;
}

.alf-hero__title {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.3;
  color: #FFF;
  margin-bottom: 16px;
}

.alf-hero__subtitle {
  font-size: 24px;
  font-weight: 400;
  line-height: 135%;
  color: #FFF;
  margin-bottom: 32px;
}

.alf-hero__stats {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: linear-gradient(180deg, #F3E825 1%, #FFBE32 96%);
  border-radius: 25px;
  padding: 8px 16px 8px 9px;
  height: 48px;
  white-space: nowrap;
  vertical-align: middle;
  margin-left: 12px;
  position: relative;
  top: -6px;
}

.alf-hero__stats-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.alf-hero__stats-text {
  display: flex;
  flex-direction: column;
}

.alf-hero__stats-text {
  display: flex;
  flex-direction: column;
  margin-top: -2px;
}

.alf-hero__stats-number {
  font-size: 18px;
  font-weight: 700;
  line-height: 160%;
  color: #000;
  margin-bottom: -8px;
}

.alf-hero__stats-label {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--c-black);
}

/* Transport cards */
.alf-hero__transports {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 35px;
  row-gap: 20px;
  margin-bottom: 32px;
  justify-content: start;
}


.alf-hero__transport-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--c-white);
  border-radius: 25px;
  padding: 4px;
  padding-right: 20px;
}

.alf-hero__transport-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--c-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.alf-hero__transport-icon img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
}

.alf-hero__transport-text {
  font-size: 16px;
  font-weight: 600;
  line-height: 135%;
  color: #353535;
}

.alf-hero__transport-text span {
  font-weight: 400;
}

/* Bullet points */
.alf-hero__features {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.alf-hero__feature {
  display: flex;
  align-items: center;
  gap: 14px;
}

.alf-hero__feature-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: transparent;
  border: 3px solid #008BFF;
  flex-shrink: 0;
}

.alf-hero__feature-text {
  font-size: 20px;
  font-weight: 400;
  line-height: 160%;
  color: #FFF;
}

/* Hero form (sidebar) */
.alf-hero__form-wrap {
  width: 472px;
  min-width: 0;
  flex-shrink: 1;
  background: var(--c-white);
  border-radius: 20px;
  padding: 24px 40px 30px;
  display: flex;
  flex-direction: column;
}

.alf-hero__form-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--c-black);
  text-align: center;
  margin-bottom: 24px;
}

.alf-hero__form-title span {
  color: var(--c-blue-light);
  font-weight: 700;
}

.alf-hero__form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.alf-hero__form-group {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.alf-hero__form-group--full {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.alf-hero__form-group label,
.alf-hero__form-group--full label {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--c-gray);
}

.alf-hero__form-group input,
.alf-hero__form-group select,
.alf-hero__form-group--full input,
.alf-hero__form-group--full select {
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--c-dark-input);
  border: 2px solid var(--c-gray-border);
  border-radius: 9px;
  padding: 18px 22px;
  outline: none;
  width: 100%;
  background: var(--c-white);
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.alf-hero__form-group input::placeholder,
.alf-hero__form-group--full input::placeholder {
  color: var(--c-gray-light);
  font-weight: 600;
}

.alf-hero__form-group select,
.alf-hero__form-group--full select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23383838' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 22px center;
  padding-right: 50px;
}

.alf-hero__form-group input:focus,
.alf-hero__form-group select:focus,
.alf-hero__form-group--full input:focus,
.alf-hero__form-group--full select:focus {
  border-color: var(--c-blue);
}

.alf-hero__form-note {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--c-gray);
  text-align: center;
  margin-top: 12px;
  margin-bottom: 0;
}

.alf-hero__form-submit {
  width: 100%;
  background: var(--c-blue);
  color: var(--c-white);
  font-family: var(--font-inter);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  padding: 14.5px 20px;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.2s;
}

.alf-hero__form-submit:hover {
  background: #0055b8;
}

/* Yellow CTA button on hero */
.alf-hero__cta-btn {
  display: inline-block;
  background: var(--c-yellow);
  color: var(--c-black);
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  padding: 14.5px 40px;
  border-radius: 7px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 4;
}

.alf-hero__cta-btn:hover {
  background: #e6c525;
}

/* ============================================
   HERO - Inner Pages
   ============================================ */
.alf-hero-inner {
  position: relative;
  width: 100%;
  min-height: 300px;
  background: var(--c-navy);
  padding-top: 79px;
  font-family: var(--font-main);
  overflow: hidden;
}

.alf-hero-inner__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
}

.alf-hero-inner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.alf-hero-inner__inner {
  position: relative;
  z-index: 2;
  max-width: 1560px;
  margin: 0 auto;
  padding: 40px 140px 50px;
}

.alf-hero-inner__breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.alf-hero-inner__breadcrumbs a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.alf-hero-inner__breadcrumbs a:hover {
  color: var(--c-white);
}

.alf-hero-inner__breadcrumbs span {
  color: rgba(255,255,255,0.4);
}

.alf-hero-inner__title {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.29;
  color: var(--c-white);
  margin-bottom: 20px;
}

.alf-hero-inner__cta {
  display: inline-block;
  background: var(--c-yellow);
  color: var(--c-black);
  font-family: var(--font-inter);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 7px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.alf-hero-inner__cta:hover {
  background: #e6c525;
}

/* ============================================
   CALCULATION PAGE
   ============================================ */
.alf-calc {
  min-height: 100vh;
  background: var(--c-black);
  font-family: var(--font-main);
  padding-top: 79px;
}

.alf-calc__inner {
  max-width: 1560px;
  margin: 0 auto;
  padding: 60px 140px 80px;
}

.alf-calc__title {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.29;
  color: var(--c-white);
  margin-bottom: 56px;
}

.alf-calc__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 40px;
}

.alf-calc__group {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.alf-calc__group--full {
  grid-column: 1 / -1;
}

.alf-calc__group label {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--c-gray);
}

.alf-calc__group input,
.alf-calc__group select,
.alf-calc__group textarea {
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--c-white);
  background: transparent;
  border: 2px solid var(--c-gray-border);
  border-radius: 9px;
  padding: 18px 22px;
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.alf-calc__group input::placeholder,
.alf-calc__group textarea::placeholder {
  color: var(--c-gray-light);
}

.alf-calc__group select {
  color: var(--c-white);
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23FFFFFF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 22px center;
  padding-right: 50px;
}

.alf-calc__group select option {
  background: var(--c-navy);
  color: var(--c-white);
}

.alf-calc__group textarea {
  min-height: 56px;
  resize: vertical;
}

.alf-calc__group input:focus,
.alf-calc__group select:focus,
.alf-calc__group textarea:focus {
  border-color: var(--c-blue);
}

.alf-calc__submit {
  grid-column: 1 / -1;
  background: var(--c-blue);
  color: var(--c-white);
  font-family: var(--font-inter);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  padding: 14.5px 20px;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 16px;
  width: 100%;
}

.alf-calc__submit:hover {
  background: #0055b8;
}

/* ============================================
   MODAL FORM
   ============================================ */
.alf-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.alf-modal-overlay.active {
  display: flex;
}

.alf-modal {
  background: var(--c-white);
  border-radius: 20px;
  padding: 40px;
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  font-family: var(--font-main);
}

.alf-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.alf-modal__close:hover {
  background: #f0f0f0;
}

.alf-modal__close::before,
.alf-modal__close::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--c-dark-text);
}

.alf-modal__close::before { transform: rotate(45deg); }
.alf-modal__close::after { transform: rotate(-45deg); }

.alf-modal__title {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--c-black);
  margin-bottom: 32px;
  text-align: center;
  padding-right: 30px;
}

.alf-modal__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}

.alf-modal__group {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.alf-modal__group--full {
  grid-column: 1 / -1;
}

.alf-modal__group label {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--c-gray);
}

.alf-modal__group input,
.alf-modal__group select,
.alf-modal__group textarea {
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--c-dark-input);
  border: 2px solid var(--c-gray-border);
  border-radius: 9px;
  padding: 18px 22px;
  outline: none;
  width: 100%;
  background: var(--c-white);
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.alf-modal__group input::placeholder,
.alf-modal__group textarea::placeholder {
  color: var(--c-gray-light);
  font-weight: 600;
}

.alf-modal__group select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23383838' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 22px center;
  padding-right: 50px;
}

.alf-modal__group textarea {
  min-height: 80px;
  resize: vertical;
}

.alf-modal__group input:focus,
.alf-modal__group select:focus,
.alf-modal__group textarea:focus {
  border-color: var(--c-blue);
}

.alf-modal__consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 8px;
}

.alf-modal__consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--c-blue);
}

.alf-modal__consent label {
  font-size: 13px;
  color: var(--c-gray);
  line-height: 1.4;
  cursor: pointer;
}

.alf-modal__consent a {
  color: var(--c-blue);
  text-decoration: underline;
}

.alf-modal__submit {
  grid-column: 1 / -1;
  background: var(--c-blue);
  color: var(--c-white);
  font-family: var(--font-inter);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  padding: 14.5px 20px;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
  width: 100%;
}

.alf-modal__submit:hover {
  background: #0055b8;
}

.alf-modal__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Success message */
.alf-modal__success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.alf-modal__success.active {
  display: block;
}

.alf-modal__success-icon {
  width: 64px;
  height: 64px;
  background: #22c55e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.alf-modal__success-icon::after {
  content: '';
  width: 24px;
  height: 12px;
  border-left: 3px solid white;
  border-bottom: 3px solid white;
  transform: rotate(-45deg);
  margin-bottom: 4px;
}

.alf-modal__success-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--c-black);
  margin-bottom: 8px;
}

.alf-modal__success-text {
  font-size: 16px;
  color: var(--c-gray);
}

/* ============================================
   RESPONSIVE - Tablet (768-1024)
   ============================================ */
@media (max-width: 1280px) {
  .alf-header__inner,
  .alf-hero__inner,
  .alf-hero-inner__inner,
  .alf-calc__inner {
    padding-left: 40px;
    padding-right: 40px;
  }

  .alf-hero__title {
    font-size: 40px;
  }

  .alf-hero__subtitle {
    font-size: 20px;
  }

  .alf-hero__form-wrap {
    width: 420px;
  }
}

@media (max-width: 1024px) {
  .alf-header__nav {
    display: none;
  }

  .alf-header__phone-wrap {
    display: none;
  }

  .alf-header__lang {
    display: none;
  }

  .alf-header__burger {
    display: flex;
  }

  .alf-header__inner {
    padding: 0 20px;
  }

  .alf-hero__content {
    flex-direction: column;
  }

  .alf-hero__left {
    max-width: 100%;
  }

  .alf-hero__form-wrap {
    width: 100%;
    max-width: 500px;
  }

  .alf-hero__inner {
    padding: 30px 20px 80px;
  }

  .alf-hero__title {
    font-size: 36px;
  }

  .alf-hero__subtitle {
    font-size: 18px;
  }

  .alf-hero-inner__inner {
    padding: 30px 20px 40px;
  }

  .alf-hero-inner__title {
    font-size: 36px;
  }

  .alf-calc__inner {
    padding: 40px 20px 60px;
  }

  .alf-calc__title {
    font-size: 36px;
    margin-bottom: 40px;
  }

  .alf-calc__form {
    gap: 14px 20px;
  }
}

/* ============================================
   RESPONSIVE - Mobile (360-767)
   ============================================ */
@media (max-width: 767px) {
  .alf-header {
    height: 64px;
  }

  .alf-mobile-menu {
    top: 64px;
  }

  .alf-hero,
  .alf-hero-inner,
  .alf-calc {
    padding-top: 64px;
  }

  .alf-hero__inner {
    padding: 24px 16px 100px;
    min-height: auto;
    max-width: 100%;
    overflow-x: hidden;
  }

  .alf-hero__top-line {
    font-size: 14px;
  }

  .alf-hero__title {
    font-size: 28px;
  }

  .alf-hero__stats {
    padding: 5px 10px 5px 6px;
    border-radius: 20px;
  }

  .alf-hero__stats-icon {
    width: 24px;
    height: 24px;
  }

  .alf-hero__stats-number {
    font-size: 14px;
  }

  .alf-hero__stats-label {
    font-size: 11px;
  }

  .alf-hero__subtitle {
    font-size: 16px;
  }

  .alf-hero__transports {
    grid-template-columns: auto;
    row-gap: 12px;
    justify-content: start;
  }

  .alf-hero__feature-text {
    font-size: 16px;
  }

  .alf-hero__form-wrap {
    padding: 20px;
    border-radius: 16px;
    width: 100%;
    max-width: 100%;
  }

  .alf-hero__form-title {
    font-size: 20px;
  }

  .alf-hero__cta-btn {
    right: 8px;
    font-size: 14px;
    padding: 12px 24px;
  }

  .alf-hero-inner__inner {
    padding: 24px 16px 32px;
  }

  .alf-hero-inner__title {
    font-size: 28px;
  }

  .alf-calc__inner {
    padding: 24px 16px 40px;
  }

  .alf-calc__title {
    font-size: 28px;
    margin-bottom: 32px;
  }

  .alf-calc__form {
    grid-template-columns: 1fr;
  }

  .alf-modal {
    padding: 24px 16px;
    border-radius: 16px;
  }

  .alf-modal__title {
    font-size: 22px;
  }

  .alf-modal__form {
    grid-template-columns: 1fr;
  }

  .alf-modal__group--full {
    grid-column: 1;
  }

  .alf-calc__group--full {
    grid-column: 1;
  }
}

/* ============================================
   UTILITY
   ============================================ */
body.alf-modal-open {
  overflow: hidden;
}

/* Hide original header when new one is active */
body.alf-new-design #header {
  display: none;
}

body.alf-new-design .page-cover {
  margin-top: 0;
}
