:root {
  --primary: #749791;
  --dark: #3d3838;
  --grey: #898484;
  --line: #ddd3d3;
  --input: #f4f2f2;
  --white: #ffffff;
  font-family: "TikTok Sans", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--dark);
  font-family: "TikTok Sans", Arial, Helvetica, sans-serif;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

a,
button,
input {
  transition:
    color 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease,
    transform 0.18s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid rgba(116, 151, 145, 0.65);
  outline-offset: 3px;
}

.button:active,
.table-button:active {
  transform: translateY(1px);
}

.page {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--white);
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 1440px;
  height: 66px;
  padding: 8px 48px;
  background: var(--white);
}

.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 175px;
  height: 50px;
  line-height: 1;
}

.brand strong {
  color: var(--primary);
  font-size: 24px;
  font-weight: 700;
  line-height: 24px;
}

.brand span {
  margin-top: 2px;
  color: var(--dark);
  font-size: 16px;
  font-weight: 700;
  line-height: 16px;
}

.brand:hover strong,
.brand:focus-visible strong,
.nav a:hover,
.nav a:focus-visible,
.map-link:hover,
.map-link:focus-visible,
.footer a:hover,
.footer a:focus-visible {
  color: #5f817b;
}

.phone-widget {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.phone-toggle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--primary);
  border-radius: 8px;
  color: var(--primary);
  background: var(--white);
  cursor: pointer;
}

.phone-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.phone-toggle:hover,
.phone-toggle:focus-visible,
.phone-toggle[aria-expanded="true"] {
  color: var(--white);
  background: var(--primary);
}

.phone-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  min-width: 190px;
  padding: 12px 14px;
  border: 1px solid rgba(116, 151, 145, 0.24);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(61, 56, 56, 0.16);
}

.phone-popover a {
  color: var(--dark);
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 40px;
  font-size: 16px;
  line-height: 21px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1.5px solid var(--primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 16px;
  white-space: nowrap;
  cursor: pointer;
}

.button:hover,
.button:focus-visible,
.table-button:hover,
.table-button:focus-visible {
  box-shadow: 0 8px 18px rgba(61, 56, 56, 0.12);
}

.button-fill {
  color: var(--white);
  background: var(--primary);
}

.button-fill:hover,
.button-fill:focus-visible {
  color: var(--white);
  background: #5f817b;
  border-color: #5f817b;
}

.nav .button-fill {
  width: 169px;
}

.button-outline {
  color: var(--dark);
  background: transparent;
}

.button-outline:hover,
.button-outline:focus-visible,
.table-button:hover,
.table-button:focus-visible {
  color: var(--white);
  background: #5f817b;
  border-color: #5f817b;
}

.button-ghost {
  flex: 1 1 0;
  color: var(--white);
  background: transparent;
}

.button-ghost:hover,
.button-ghost:focus-visible {
  color: var(--dark);
  background: var(--white);
  border-color: var(--white);
}

.hero {
  position: relative;
  width: 1440px;
  height: 392px;
  background: var(--white);
}

.hero-copy {
  position: absolute;
  left: 48px;
  top: 48px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 665px;
  height: 296px;
}

.hero h1 {
  width: 698px;
  margin: 0;
  color: var(--dark);
  font-size: 56px;
  font-weight: 700;
  line-height: 64px;
  letter-spacing: 0.56px;
}

.hero p {
  width: 665px;
  margin: 12px 0 0;
  color: var(--dark);
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  width: 374px;
}

.hero-actions .button-fill {
  width: auto;
  min-width: 166px;
  padding-inline: 18px;
}
.hero-actions .button-outline { width: 221px; }

.hero-image {
  position: absolute;
  left: 713px;
  top: 0;
  width: 795px;
  height: 392px;
  object-fit: cover;
  object-position: center;
}

.location {
  width: 1440px;
  height: 738px;
  padding-top: 48px;
  background: var(--white);
}

.location-wrap {
  width: 1440px;
  height: 642px;
}

h2 {
  margin: 0;
  color: var(--dark);
  font-size: 40px;
  font-weight: 700;
  line-height: 48px;
  letter-spacing: 0.4px;
}

.location h2 {
  margin-left: 48px;
  width: 291px;
  height: 48px;
}

.location-grid {
  display: flex;
  gap: 24px;
  width: 1344px;
  height: 570px;
  margin: 24px 0 0 48px;
}

.location-info {
  width: 468px;
  height: 525px;
  padding-top: 24px;
}

.info-group {
  position: relative;
  width: 468px;
  margin-bottom: 32px;
}

.info-group p {
  margin: 8px 0 0;
  color: var(--dark);
  font-size: 16px;
  font-weight: 400;
  line-height: 21px;
}

.info-group:not(:first-child) p {
  font-size: 20px;
  line-height: 28px;
}

.info-group p b {
  font-weight: 700;
}

.address-link {
  color: inherit;
  text-decoration: none;
}

.address-link:hover,
.address-link:focus-visible {
  color: var(--accent);
}

.location-icon {
  display: block;
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
}

.location-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.location-pin {
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  border-bottom: 1.5px solid var(--primary);
  color: var(--primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 21px;
}

.map-link svg {
  width: 16px;
  height: 16px;
  transform: rotate(90deg);
}

.location-map {
  width: 852px;
  height: 570px;
  object-fit: cover;
}

.areas {
  width: 1440px;
  height: 842px;
  padding: 48px;
  background: var(--white);
}

.areas-head {
  display: flex;
  justify-content: space-between;
  width: 1344px;
  height: 175px;
}

.areas-title {
  width: 790px;
  height: 175px;
}

.areas-title h2 {
  width: 790px;
  height: 96px;
}

.areas-title p {
  width: 790px;
  margin: 16px 0 0;
  color: var(--dark);
  font-size: 16px;
  font-weight: 400;
  line-height: 21px;
}

.total-badge {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 327px;
  height: 130px;
  margin-top: 45px;
  padding: 24px 40px 0 70px;
  color: var(--white);
  background: var(--primary);
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}

.total-badge strong {
  font-size: 32px;
  font-weight: 700;
  line-height: 32px;
}

.total-badge span {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 21px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 432px);
  gap: 24px;
  width: 1344px;
  height: 105px;
  margin-top: 32px;
}

.metric-row article,
.audience-grid article,
.benefit-grid article {
  background: var(--white);
  border: 1px solid rgba(221, 211, 211, .65);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
}

.metric-row article {
  padding: 24px 16px;
}

.metric-row strong {
  display: block;
  color: var(--primary);
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
}

.metric-row span {
  display: block;
  margin-top: 8px;
  color: var(--dark);
  font-size: 16px;
  line-height: 21px;
}

.tables {
  display: flex;
  gap: 32px;
  width: 1344px;
  height: 402px;
  margin-top: 32px;
}

.table-col {
  position: relative;
  width: 656px;
}

.table-row {
  display: grid;
  grid-template-columns: 328px 328px;
  width: 656px;
  min-height: 56px;
  border-bottom: 1px solid rgba(221, 211, 211, .85);
}

.table-row span,
.table-row b {
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 16px;
  line-height: 21px;
}

.table-row b {
  justify-content: flex-start;
  color: var(--primary);
  font-weight: 700;
}

.table-head span,
.table-head b {
  color: var(--primary);
  font-weight: 700;
}

.table-note {
  width: 656px;
  margin: 16px 0 0;
  color: var(--dark);
  font-size: 16px;
  line-height: 21px;
}

.table-button {
  position: absolute;
  left: 8px;
  top: 266px;
  width: 203px;
}

.facade {
  display: block;
  width: 1440px;
  height: 258.6826477050781px;
  object-fit: cover;
}

.audience {
  width: 1440px;
  height: 308px;
  padding: 48px;
  background: var(--white);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 318px);
  gap: 24px;
  width: 1344px;
  height: 132px;
  margin-top: 32px;
}

.audience-grid article {
  height: 132px;
  padding: 24px 16px;
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--primary);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.audience h3 {
  margin: 16px 0 0;
  color: var(--dark);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

.logistics {
  width: 1440px;
  height: 568px;
  padding: 48px;
  background: var(--white);
}

.logistics-table {
  width: 1344px;
  height: 392px;
  margin-top: 32px;
}

.log-row {
  display: grid;
  grid-template-columns: repeat(4, 336px);
  min-height: 56px;
  border-bottom: 1px solid rgba(221, 211, 211, .85);
}

.log-row span {
  display: flex;
  align-items: center;
  padding: 0 8px;
  color: var(--dark);
  font-size: 16px;
  line-height: 21px;
}

.log-head span {
  color: var(--primary);
  font-weight: 700;
}

.benefits {
  width: 1440px;
  height: 408px;
  padding: 48px;
  background: var(--white);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 318px);
  gap: 24px;
  width: 1344px;
  height: 232px;
  margin-top: 32px;
}

.benefit-grid article {
  height: 232px;
  padding: 24px 16px;
}

.benefit-grid b {
  display: block;
  color: var(--primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 21px;
}

.benefit-grid h3 {
  margin: 8px 0;
  color: var(--dark);
  font-size: 16px;
  font-weight: 700;
  line-height: 21px;
}

.benefit-grid p {
  margin: 0;
  color: var(--dark);
  font-size: 16px;
  line-height: 21px;
}

.cta {
  width: 1440px;
  height: 512px;
  padding-top: 48px;
  background: var(--white);
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 1440px;
  height: 464px;
  padding: 48px;
  overflow: hidden;
  background: var(--dark);
}

.cta-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/figma-retail-cta.png") center 42% / cover no-repeat;
  mix-blend-mode: multiply;
  opacity: .78;
}

.cta-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  width: 781px;
}

.cta h2 {
  width: 781px;
  color: var(--white);
}

.cta-buttons {
  display: flex;
  gap: 24px;
  width: 781px;
}

.lead-form,
.feedback-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 380px;
  padding: 24px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
}

.lead-form input,
.feedback-dialog input[type="text"],
.feedback-dialog input[type="tel"] {
  width: 332px;
  height: 40px;
  border: 0;
  border-radius: 4px;
  padding: 0 16px;
  background: var(--input);
  color: var(--dark);
  font-size: 16px;
  line-height: 16px;
}

.lead-form input:focus,
.feedback-dialog input[type="text"]:focus,
.feedback-dialog input[type="tel"]:focus {
  background: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(116, 151, 145, 0.55);
}

.lead-form input::placeholder,
.feedback-dialog input::placeholder {
  color: var(--grey);
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 120px;
  color: var(--dark);
  font-size: 12px;
  font-weight: 700;
  line-height: 12px;
}

.checkbox input {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
}

.checkbox a {
  color: var(--primary);
}

.submit {
  width: 332px;
}

.footer {
  display: flex;
  align-items: flex-start;
  width: 1440px;
  height: 127px;
  padding: 24px 48px;
  background: var(--dark);
  color: var(--white);
}

.footer .brand span {
  color: var(--white);
}

.footer-links,
.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 244px;
  color: var(--white);
  font-size: 16px;
  line-height: 21px;
}

.footer-links {
  margin-left: auto;
}

.footer-contacts {
  margin-left: 24px;
}

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

.feedback-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
}

.feedback-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(61, 56, 56, .52);
}

.feedback-dialog h2 {
  margin: 0;
  color: var(--dark);
  font-size: 32px;
  line-height: 38px;
}

.feedback-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: var(--grey);
  font-size: 28px;
  line-height: 28px;
  cursor: pointer;
}

.feedback-close:hover,
.feedback-close:focus-visible {
  color: var(--white);
  background: var(--primary);
}

@media (max-width: 1439px) {
  .page {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .header,
  .hero,
  .location,
  .areas,
  .facade,
  .audience,
  .logistics,
  .benefits,
  .cta,
  .cta-inner,
  .footer {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .header {
    width: 100%;
    height: auto;
    min-height: 66px;
    padding: 12px 16px;
  }

  .brand {
    width: 150px;
  }

  .brand strong {
    font-size: 18px;
    line-height: 18px;
  }

  .brand span {
    font-size: 12px;
    line-height: 12px;
  }

  .nav {
    gap: 8px;
  }

  .nav a {
    display: none;
  }

  .button {
    height: 36px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .phone-toggle {
    width: 36px;
    height: 36px;
  }

  .phone-toggle svg {
    width: 18px;
    height: 18px;
  }

  .phone-popover {
    right: 0;
    min-width: 174px;
    padding: 10px 12px;
  }

  .phone-popover a {
    font-size: 14px;
    line-height: 18px;
  }

  .hero,
  .location,
  .areas,
  .audience,
  .logistics,
  .benefits,
  .cta {
    height: auto;
    padding: 32px 16px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .hero-copy,
  .hero-image {
    position: static;
    width: 100%;
    height: auto;
  }

  .hero h1,
  .hero p,
  .areas-title,
  .areas-title h2,
  .areas-title p,
  .cta h2,
  .cta-copy,
  .cta-buttons {
    width: 100%;
  }

  .areas-title,
  .areas-title h2 {
    height: auto;
  }

  .hero h1,
  h2 {
    font-size: 28px;
    line-height: 34px;
    letter-spacing: 0;
  }

  .hero p {
    font-size: 16px;
    line-height: 23px;
  }

  .hero-actions,
  .cta-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    width: auto;
    margin-top: 18px;
    gap: 10px;
  }

  .hero-actions .button-fill,
  .hero-actions .button-outline,
  .cta-buttons .button {
    width: auto;
    min-width: 156px;
    height: 36px;
    padding: 8px 14px;
    font-size: 13px;
  }

  .cta-buttons .button {
    flex: 0 0 auto;
    min-width: 156px;
  }

  .hero-image,
  .facade {
    height: auto;
    aspect-ratio: 795 / 392;
  }

  .location-wrap,
  .location-grid,
  .location-info,
  .info-group,
  .areas-head,
  .metric-row,
  .tables,
  .audience-grid,
  .logistics-table,
  .benefit-grid,
  .cta-inner,
  .footer {
    width: 100%;
    height: auto;
  }

  .location h2 {
    margin-left: 0;
  }

  .location-grid,
  .areas-head,
  .tables,
  .cta-inner,
  .footer {
    flex-direction: column;
    display: flex;
  }

  .location-grid,
  .metric-row,
  .tables,
  .audience-grid,
  .benefit-grid {
    margin-top: 24px;
  }

  .location-info,
  .info-group {
    margin-left: 0;
    padding-left: 0;
  }

  .location-map {
    width: 100%;
    height: auto;
  }

  .total-badge {
    width: 100%;
    margin-top: 16px;
  }

  .metric-row,
  .audience-grid,
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .metric-row article,
  .audience-grid article,
  .benefit-grid article {
    width: 100%;
    height: auto;
  }

  .metric-row article {
    min-height: 82px;
    padding: 14px 16px;
  }

  .metric-row strong {
    font-size: 22px;
    line-height: 27px;
  }

  .metric-row span {
    margin-top: 4px;
    font-size: 13px;
    line-height: 18px;
  }

  .audience-grid article {
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 14px;
  }

  .card-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
  }

  .card-icon svg {
    width: 17px;
    height: 17px;
  }

  .audience h3 {
    margin: 0;
    font-size: 15px;
    line-height: 19px;
  }

  .table-col,
  .table-row,
  .table-note {
    width: 100%;
  }

  .table-row,
  .log-row {
    grid-template-columns: 1fr 1fr;
  }

  .table-button {
    position: static;
    margin-top: 16px;
    width: fit-content;
    min-width: 190px;
    height: 36px;
    padding: 8px 16px;
  }

  .log-row span {
    min-height: 44px;
  }

  .cta-inner {
    padding: 24px 16px;
    gap: 24px;
  }

  .lead-form,
  .feedback-dialog,
  .lead-form input,
  .feedback-dialog input[type="text"],
  .feedback-dialog input[type="tel"],
  .submit {
    width: 100%;
  }

  .footer-links,
  .footer-contacts {
    width: 100%;
    margin-left: 0;
  }
}
