:root {
  --green: #63d6a5;
  --cyan: #2aa8ff;
  --mint: #bdf4ec;
  --text: #0f172a;
  --muted: #5b6b7a;
  --line: rgba(15, 23, 42, .1);
  --shadow: 0 10px 28px rgba(15, 23, 42, .08);
  --soft: linear-gradient(113deg, rgba(99, 214, 165, .22), rgba(42, 168, 255, .18));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: #fff;
}

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

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

/* Header */

.header {
  height: 75px;
  background: rgba(255, 255, 255, .75);
  backdrop-filter: blur(5px);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(15, 23, 42, .06);
}

.header__inner {
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.brand__text b {
  display: block;
  font-size: 16px;
  letter-spacing: .3px;
}

.brand__text small {
  display: block;
  color: var(--muted);
  font-size: 11.8px;
  line-height: 19px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.9px;
}

.nav a {
  padding: 10px 12px;
  border-radius: 12px;
}

.nav a:hover {
  background: rgba(42, 168, 255, .08);
}

.nav__catalog {
  font-weight: 700;
  background: linear-gradient(278deg, rgba(99, 251, 244, .21), rgba(25, 119, 153, .21));
}

.nav__contact {
  font-weight: 700;
  border: 1px solid rgba(42, 168, 255, .25);
  filter: drop-shadow(0 10px 28px rgba(15, 23, 42, .08));
}

/* Hero */

.hero-banner {
  margin-top: 58px;
  position: relative;
  overflow: hidden;
  border-radius: 0;

  height: 393px;
}

.hero-banner__image {
  display: block;
  width: 100%;
  height: auto;
}

.hero-banner__content {
  position: absolute;
  width: 640px;
  left: 50px;
  top: 127px;
  z-index: 2;
}

.hero-banner h1 {
  margin: 0;
  width: 640px;
  font-size: 34px;
  line-height: 39px;
  letter-spacing: -.2px;
}

.hero-banner p {
  margin: 12px 0 0;
  width: 640px;
  color: var(--muted);
  font-size: 14.9px;
  line-height: 25px;
}

.hero-banner__actions {
  display: flex;
  gap: 12px;
  margin-top: 42px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 51px;
  border-radius: 14px;
  padding: 0 16px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(42, 168, 255, .25);
}

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

.btn--soft,
.btn--wide {
  background: var(--soft);
}

.btn--blue {
  background: rgba(42, 168, 255, .25);
  border-color: var(--line);
}

.btn--wide {
  width: 297px;
  margin-top: 19px;
}

.hero-decor {
  position: absolute;
  color: #23b7a9;
}

.hero-decor--cross {
  width: 96px;
  height: 96px;
  left: 205px;
  top: 52px;
  background: rgba(33, 183, 169, .22);
  border-radius: 22px;
  transform: rotate(-7deg);
}

.hero-decor--heart {
  font-size: 62px;
  left: 476px;
  top: 58px;
}

.hero-decor--truck {
  font-size: 40px;
  letter-spacing: -9px;
  left: 474px;
  bottom: 89px;
}

/* Experience */

.experience {
  display: grid;
  grid-template-columns: 640px 426px;
  gap: 18px;
  margin-top: 84px;
}

.experience h2,
.about h2,
.section-head h2 {
  margin: 0;
  font-size: 34px;
  line-height: 39px;
  letter-spacing: -.2px;
}

.lead {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 14.9px;
  line-height: 25px;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.mini-card,
.side-card,
.panel,
.direction-card,
.strip,
.partner-card {
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 18px;
}

.mini-card {
  min-height: 112px;
  padding: 11px 12px;
}

.mini-card b {
  display: block;
  font-size: 14px;
  line-height: 22px;
}

.mini-card span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 20px;
  margin-top: 4px;
}

.experience__aside {
  display: grid;
  gap: 12px;
}

.side-card {
  padding: 16px;
}

.side-card--blue {
  background:
    radial-gradient(100% 100% at 10% 0, rgba(99, 214, 165, .18), transparent 55%),
    radial-gradient(100% 100% at 90% 0, rgba(42, 168, 255, .14), transparent 55%),
    rgba(255, 255, 255, .9);
}

.side-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 25px;
}

.side-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14.9px;
  line-height: 25px;
}

.side-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.9px;
  line-height: 25px;
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 10px 0;
}

.note {
  font-size: 14px !important;
}

/* About */

.about {
  margin-top: 80px;
}

.about__grid {
  display: grid;
  grid-template-columns: 640px 391px;
  gap: 49px;
  align-items: start;
  margin-top: 16px;
}

.panel {
  padding: 17px 18px;
}

.about__text p {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 14.9px;
  line-height: 25px;
}

.about__visual {
  height: 550px;
  position: relative;
  background:
    radial-gradient(circle at 75% 20%, rgba(42, 168, 255, .12), transparent 36%),
    radial-gradient(circle at 35% 70%, rgba(99, 214, 165, .12), transparent 39%);
}

.about__visual img {
  width: 270px;
  display: block;
  margin: 35px auto 0;
}

.about__network {
  width: 120px;
  height: 120px;
  border: 5px solid #13b8ab;
  color: #13b8ab;
  border-radius: 30px;
  display: grid;
  place-items: center;
  font-size: 82px;
  margin: 20px auto;
  background: #fff;
}

.numbers-title {
  margin-top: -30px !important;
}

.numbers-panel {
  width: 354px;
  height: 168px;
  margin-top: 18px;
  padding: 17px 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  background: linear-gradient(121deg, rgba(99, 214, 165, .12), rgba(42, 168, 255, .1)), #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .07);
  border-radius: 18px;
}

.kpi {
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--line);
  border-radius: 14px;
  filter: drop-shadow(0 4px 6px rgba(115, 229, 210, .55));
  padding: 18px 12px;
}

.kpi b {
  display: block;
  font-size: 23px;
  line-height: 25px;
  text-align: center;
}

.kpi span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 20px;
  margin-top: 8px;
}

/* Directions */

.directions {
  margin-top: 18px;
  padding: 18px 0;
  background: #f6fbfb;
  border: 1px solid var(--line);
  border-left: 0;
  border-right: 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 16px;
}

.section-head p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 14.9px;
  line-height: 25px;
}

.section-head--center {
  display: block;
  text-align: center;
}

.section-head--center p {
  margin: 10px auto 0;
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.direction-card {
  height: 220px;
  padding: 17px;
  position: relative;
}

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--soft);
  border: 1px solid rgba(42, 168, 255, .18);
  border-radius: 14px;
  font-size: 14px;
}

.direction-card h3 {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 25px;
}

.direction-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14.9px;
  line-height: 25px;
}

.strip {
  min-height: 85px;
  margin-top: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background:
    radial-gradient(48% 314% at 0 0, rgba(99, 214, 165, .16), transparent 60%),
    radial-gradient(48% 314% at 100% 0, rgba(42, 168, 255, .14), transparent 60%),
    #fff;
}

.strip b {
  display: block;
  font-size: 16px;
}

.strip span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}

/* Partners */

.partners {
  margin-top: 74px;
  padding-bottom: 10px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.partner-card {
  min-height: 112px;
  padding: 22px;
  background: #fff;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.partner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(42, 168, 255, .28);
  box-shadow: 0 18px 42px rgba(15, 36, 64, .1);
}

.partner-card img {
  max-width: 100%;
  max-height: 62px;
  object-fit: contain;
  display: block;
}

.and-more {
  text-align: center;
  color: var(--muted);
  font-size: 15.9px;
  line-height: 25px;
  margin: 28px 0 0;
}

/* Contacts */

.contacts {
  margin-top: 64px;
  background: #f6fbfb;
  border-top: 1px solid var(--line);
  padding: 20px 0 100px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-info dl {
  margin: 0;
}

.contact-info dl div {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.contact-info dt {
  color: var(--muted);
  font-size: 14px;
}

.contact-info dd {
  margin: 0;
  font-weight: 700;
  font-size: 14px;
  line-height: 22px;
  text-align: right;
}

.contact-info p {
  color: var(--muted);
  font-size: 12px;
  line-height: 20px;
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}

.contact-form textarea {
  height: 92px;
  resize: vertical;
}

.contact-form button {
  height: 44px;
  border: 1px solid rgba(42, 168, 255, .25);
  border-radius: 14px;
  background: var(--soft);
  font-weight: 700;
  cursor: pointer;
}

.contact-form button:hover {
  transform: translateY(-1px);
}

/* Footer */

.footer {
  background: rgba(255, 255, 255, .7);
  border-top: 1px solid var(--line);
  height: 66px;
}

.footer__inner {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 14.9px;
}

.footer nav {
  display: flex;
  gap: 12px;
}

/* Responsive */

@media (max-width: 1100px) {
  .experience {
    grid-template-columns: 1fr;
  }

  .about__grid {
    grid-template-columns: 1fr;
  }

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

  .numbers-title {
    margin-top: 20px !important;
  }
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero-banner {
    height: auto;
    padding: 44px 26px;
  }

  .hero-banner__content {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
  }

  .hero-banner h1,
  .hero-banner p {
    width: auto;
  }

  .hero-decor {
    display: none;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
  }

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

  .partners-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 720px) {
  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 10px;
  }

  .mini-grid {
    grid-template-columns: 1fr;
  }

  .strip {
    display: grid;
    gap: 14px;
  }

  .strip .btn {
    width: 100%;
  }

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

  .partner-card {
    min-height: 96px;
    padding: 18px;
    border-radius: 18px;
  }

  .partner-card img {
    max-height: 52px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .header {
    height: 70px;
  }

  .header__inner {
    height: 70px;
  }

  .brand__logo {
    width: 42px;
    height: 42px;
  }

  .brand__text b {
    font-size: 15px;
  }

  .brand__text small {
    font-size: 11px;
  }

  .hero-banner {
    margin-top: 24px;
  }

  .hero-banner h1 {
    font-size: 30px;
    line-height: 34px;
  }

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

  .experience {
    margin-top: 42px;
  }

  .experience h2,
  .about h2,
  .section-head h2 {
    font-size: 29px;
    line-height: 34px;
  }

  .direction-grid {
    grid-template-columns: 1fr;
  }

  .direction-card {
    height: auto;
    min-height: 190px;
  }

  .about__visual {
    height: 320px;
  }

  .about__visual img {
    width: 180px;
  }

  .numbers-panel {
    width: 100%;
    height: auto;
    gap: 12px;
  }

  .contact-info dl div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact-info dd {
    text-align: left;
  }

  .footer {
    height: auto;
  }

  .footer__inner {
    height: auto;
    padding: 18px 0;
    display: grid;
    gap: 10px;
  }

  .footer nav {
    flex-wrap: wrap;
  }
  
}
/* FIX PARTNERS FINAL */

#partners.partners {
  margin-top: 74px !important;
  padding-bottom: 40px !important;
  overflow: hidden !important;
}

#partners .partners-grid {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(5, 172px) !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 34px 18px !important;
  margin-top: 32px !important;
}

#partners .partner-card {
  width: 172px !important;
  height: 107px !important;
  min-width: 172px !important;
  min-height: 107px !important;
  max-width: 172px !important;
  max-height: 107px !important;

  padding: 14px 18px !important;
  box-sizing: border-box !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05) !important;

  overflow: hidden !important;
  position: relative !important;
}

#partners .partner-card img {
  display: block !important;

  width: 100% !important;
  height: 100% !important;

  max-width: 132px !important;
  max-height: 58px !important;

  object-fit: contain !important;
  object-position: center !important;

  transform: none !important;
  position: static !important;
}

#partners .partner-card img[src*="garmoniya"],
#partners .partner-card img[src*="merospharm"],
#partners .partner-card img[src*="tatkhimpharm"],
#partners .partner-card img[src*="kraspharma"] {
  max-width: 136px !important;
  max-height: 54px !important;
}

#partners .and-more {
  text-align: center !important;
  margin: 30px 0 0 !important;
  color: var(--muted) !important;
}

@media (max-width: 1100px) {
  #partners .partners-grid {
    grid-template-columns: repeat(4, 172px) !important;
    justify-content: center !important;
  }
}

@media (max-width: 900px) {
  #partners .partners-grid {
    grid-template-columns: repeat(3, 172px) !important;
  }
}

@media (max-width: 640px) {
  #partners .partners-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr)) !important;
    gap: 16px !important;
  }

  #partners .partner-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 92px !important;
    min-height: 92px !important;
    max-height: 92px !important;
  }

  #partners .partner-card img {
    max-width: 120px !important;
    max-height: 50px !important;
  }
}


/* FORCE PARTNERS FIX V3 */

section#partners .partners-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 172px) !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 34px 18px !important;
  width: 100% !important;
  margin-top: 32px !important;
}

section#partners .partner-card {
  width: 172px !important;
  height: 107px !important;
  min-width: 172px !important;
  min-height: 107px !important;
  max-width: 172px !important;
  max-height: 107px !important;
  padding: 14px 18px !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

section#partners .partner-card img,
section#partners img.partner-logo {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 132px !important;
  max-height: 58px !important;
  object-fit: contain !important;
  object-position: center !important;
  position: static !important;
  transform: none !important;
}

@media (max-width: 1100px) {
  section#partners .partners-grid {
    grid-template-columns: repeat(4, 172px) !important;
    justify-content: center !important;
  }
}

@media (max-width: 900px) {
  section#partners .partners-grid {
    grid-template-columns: repeat(3, 172px) !important;
  }
}

@media (max-width: 640px) {
  section#partners .partners-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr)) !important;
    gap: 16px !important;
  }

  section#partners .partner-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 92px !important;
    min-height: 92px !important;
    max-height: 92px !important;
  }

  section#partners .partner-card img,
  section#partners img.partner-logo {
    max-width: 120px !important;
    max-height: 50px !important;
  }
}

/* FIX DIRECTIONS TEXT OVERFLOW */

.direction-grid {
  align-items: stretch !important;
}

.direction-card {
  height: auto !important;
  min-height: 220px !important;
  padding: 24px 24px 26px !important;
  overflow: visible !important;
}

.direction-card h3 {
  margin: 18px 0 12px !important;
  line-height: 1.35 !important;
}

.direction-card p {
  margin: 0 !important;
  font-size: 14.5px !important;
  line-height: 1.55 !important;
  overflow-wrap: break-word !important;
}

.directions {
  padding-bottom: 28px !important;
}

.strip {
  margin-top: 20px !important;
}

@media (max-width: 980px) {
  .direction-card {
    min-height: 190px !important;
  }
}


/* Contact form sending status */

.form-status {
  margin: 4px 0 0;
  min-height: 20px;
  font-size: 13px;
  line-height: 1.4;
}

.form-status--success {
  color: #13988f;
  font-weight: 700;
}

.form-status--error {
  color: #dc2626;
  font-weight: 700;
}

.contact-form button:disabled {
  opacity: 0.7;
  cursor: wait;
}

/* MOBILE HERO FIX */

@media (max-width: 980px) {
  .hero-banner {
    height: 260px;
    padding: 0;
    margin-top: 32px;
    position: relative;
    overflow: hidden;
  }

  .hero-banner__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .hero-banner__content {
    position: absolute;
    left: 24px;
    top: 62px;
    width: calc(100% - 48px);
    z-index: 2;
  }

  .hero-banner h1,
  .hero-banner p {
    width: auto;
    max-width: 460px;
  }

  .hero-banner h1 {
    font-size: 25px;
    line-height: 30px;
  }

  .hero-banner p {
    font-size: 13.5px;
    line-height: 21px;
    max-width: 420px;
  }

  .hero-banner__actions {
    display: flex;
    gap: 10px;
    margin-top: 24px;
  }

  .hero-banner__actions .btn {
    height: 44px;
    font-size: 14px;
    padding: 0 13px;
  }
}

@media (max-width: 620px) {
  .hero-banner {
    height: 245px;
    margin-top: 24px;
  }

  .hero-banner__image {
    object-fit: cover;
    object-position: center top;
  }

  .hero-banner__content {
    left: 18px;
    top: 50px;
    width: calc(100% - 36px);
  }

  .hero-banner h1 {
    font-size: 20px;
    line-height: 24px;
    max-width: 330px;
  }

  .hero-banner p {
    font-size: 12.5px;
    line-height: 19px;
    max-width: 330px;
    margin-top: 8px;
  }

  .hero-banner__actions {
    display: flex;
    grid-template-columns: unset;
    gap: 8px;
    margin-top: 18px;
  }

  .hero-banner__actions .btn {
    height: 40px;
    font-size: 12.5px;
    padding: 0 10px;
    border-radius: 12px;
  }
}