:root {
  --bg: #f3f7fa;
  --surface: #ffffff;
  --surface-2: #e6eff5;
  --surface-3: #c7d9e6;
  --text: #183247;
  --muted: #5f7382;
  --line: rgba(24, 50, 71, 0.12);
  --brand: #1788b3;
  --brand-dark: #0d5c7f;
  --accent: #dd5f2a;
  --shadow: 0 18px 45px rgba(8, 62, 99, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Be Vietnam Pro", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(10, 111, 150, 0.14), transparent 30%),
    linear-gradient(180deg, #f9fbfc 0%, var(--bg) 100%);
}

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

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

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

.section {
  padding: 72px 0;
}

.section--compact {
  padding: 56px 0;
}

.section--slate {
  background: linear-gradient(180deg, rgba(199, 217, 230, 0.36), rgba(255, 255, 255, 0));
}

.section--tariff {
  padding-bottom: 88px;
}

.section__heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section__heading--wide {
  max-width: 980px;
}

.section__heading h2,
.card h2,
.card h3,
.hero h1 {
  margin: 0 0 14px;
  line-height: 1.14;
}

.section__heading p,
.card p,
.hero__lead,
.footer p,
.viewer__hint {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.section__eyebrow,
.eyebrow,
.meta,
.panel__label {
  margin: 0 0 10px;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section__eyebrow,
.eyebrow {
  color: var(--accent);
}

.meta,
.panel__label {
  color: var(--brand);
}

.panel__label {
  color: #f6b38d;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 76px;
  background:
    linear-gradient(120deg, rgba(13, 92, 127, 0.56), rgba(23, 136, 179, 0.4)),
    linear-gradient(180deg, rgba(16, 76, 104, 0.38), rgba(13, 92, 127, 0.5)),
    url("assets/BAC_9870.jpg") center/cover no-repeat;
  color: #f7fbff;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(7, 26, 39, 0.06));
  background-size: 56px 56px, 56px 56px, auto, auto;
  backdrop-filter: blur(0.5px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.72));
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 28px;
  align-items: end;
}

.hero__brand {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding-top: 2px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 3px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 36px rgba(4, 25, 38, 0.2);
  width: fit-content;
  max-width: 100%;
}

.brand img {
  display: block;
  width: 360px;
  max-width: 100%;
  height: auto;
}

.hero__content {
  padding-top: 32px;
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  max-width: 12ch;
}

.hero__lead {
  max-width: 62ch;
  color: rgba(247, 251, 255, 0.82);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #f1863f);
  box-shadow: 0 16px 28px rgba(221, 95, 42, 0.26);
}

.button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.button--fit {
  width: fit-content;
}

.panel {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.panel--glass {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.stats {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.stats li {
  display: grid;
  gap: 6px;
}

.stats strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.stats span {
  color: rgba(247, 251, 255, 0.82);
  line-height: 1.6;
}

.stats__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #f6b38d;
  font-size: 0.88rem;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.intro-card,
.split,
.content-grid,
.contact-grid,
.tariff__layout,
.tariff__controls {
  display: grid;
  gap: 20px;
}

.intro-card {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 30px 0;
}

.intro-card > div,
.card,
.tariff__sidebar,
.tariff__viewer {
  background: var(--surface);
  border: 1px solid rgba(8, 62, 99, 0.18);
  border-radius: var(--radius-lg);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.46),
    var(--shadow);
}

.intro-card > div {
  padding: 22px;
}

.intro-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

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

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

.services-card {
  background:
    radial-gradient(circle at top right, rgba(10, 111, 150, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(230, 239, 245, 0.82));
}

.services-card__heading {
  margin-bottom: 26px;
}

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

.service-item {
  min-height: 100%;
  padding: 22px;
  border: 1px solid rgba(8, 62, 99, 0.2);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 250, 0.92));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.52),
    0 14px 30px rgba(8, 62, 99, 0.1);
}

.service-item--wide {
  grid-column: span 3;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  align-items: start;
}

.service-item--wide h3,
.service-item--wide p {
  grid-column: 2;
}

.service-item h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.service-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 16px;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  background:
    linear-gradient(135deg, var(--brand-dark), var(--brand)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent);
  box-shadow: 0 14px 28px rgba(8, 62, 99, 0.18);
}

.service-item--wide .service-icon {
  margin-bottom: 0;
  grid-row: span 2;
}

.facility-panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(8, 62, 99, 0.18);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(10, 111, 150, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(230, 239, 245, 0.72));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.46),
    var(--shadow);
}

.facility-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.facility-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  line-height: 1.8;
}

.facility-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #f1863f);
  box-shadow: 0 0 0 5px rgba(221, 95, 42, 0.12);
}

.card {
  padding: 28px;
}

.card--map {
  overflow: hidden;
}

.map-frame {
  margin: 18px 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(8, 62, 99, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.42),
    0 12px 28px rgba(8, 62, 99, 0.08);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.check-list,
.overview-list,
.spec-list {
  display: grid;
  gap: 14px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.overview-list li,
.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.7;
}

.overview-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.spec-list span {
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}

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

.contact-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  gap: 6px;
  min-height: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(8, 62, 99, 0.18);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(230, 239, 245, 0.58));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.5),
    0 10px 22px rgba(8, 62, 99, 0.08);
}

.contact-list span {
  color: var(--muted);
}

.gallery-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.gallery-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 30%, rgba(6, 25, 36, 0.82) 100%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 40%);
}

.gallery-card__overlay {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 1;
  color: #fff;
}

.gallery-card__overlay p,
.gallery-card__overlay strong {
  display: block;
}

.gallery-card__overlay p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.74);
}

.gallery-card__overlay strong {
  font-size: 1.2rem;
}

.gallery-card--gate {
  background:
    linear-gradient(180deg, rgba(10, 111, 150, 0.18), rgba(7, 31, 44, 0.3)),
    linear-gradient(180deg, #80abc0 0 38%, #90a8b5 38% 39%, #586874 39% 44%, #323c43 44% 100%);
}

.gallery-card--gate::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  top: 38%;
  height: 16%;
  border-top: 12px solid rgba(236, 242, 246, 0.95);
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
}

.gallery-card--office {
  background:
    linear-gradient(180deg, rgba(184, 214, 228, 0.48), rgba(18, 58, 82, 0.18)),
    linear-gradient(180deg, #bfd9e7 0 40%, #ecf4f8 40% 55%, #7f90a0 55% 100%);
}

.gallery-card--yard {
  grid-column: 1 / -1;
  min-height: 260px;
  background:
    linear-gradient(180deg, rgba(10, 111, 150, 0.12), rgba(7, 31, 44, 0.25)),
    linear-gradient(180deg, #9cc4d6 0 32%, #a46249 32% 100%);
}

.gallery-card--yard::after {
  content: "";
  position: absolute;
  inset: 40% 8% 18%;
  background:
    repeating-linear-gradient(90deg, #c97f5d, #c97f5d 20px, #a85943 20px, #a85943 34px),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12) 20px, transparent 20px, transparent 36px);
  border-radius: 22px;
}

.tariff__controls {
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr) auto;
  align-items: end;
  margin-bottom: 22px;
}

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

.field span {
  font-weight: 700;
}

.field select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  font: inherit;
  color: var(--text);
}

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

.tariff__sidebar,
.tariff__viewer {
  padding: 22px;
}

.tariff__sidebar {
  display: none;
}

.tariff-item {
  width: 100%;
  padding: 16px;
  text-align: left;
  font: inherit;
  color: inherit;
  border: 1px solid rgba(8, 62, 99, 0.16);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(230, 239, 245, 0.48), rgba(255, 255, 255, 0.8));
  cursor: pointer;
  appearance: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.tariff-item:hover,
.tariff-item.is-active {
  transform: translateY(-2px);
  border-color: rgba(10, 111, 150, 0.36);
  box-shadow: 0 12px 26px rgba(8, 62, 99, 0.1);
}

.tariff-item p,
.tariff-item strong,
.tariff-item span {
  display: block;
}

.tariff-item p,
.tariff-item span {
  color: var(--muted);
}

.tariff-item strong {
  margin: 6px 0 8px;
}

.viewer__header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.viewer__header h3 {
  margin: 4px 0 0;
}

#pdf-frame {
  width: 100%;
  height: 760px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #edf3f7;
}

.footer {
  padding: 24px 0 36px;
  border-top: 1px solid var(--line);
}

.footer__content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.footer__content a {
  font-weight: 700;
  color: var(--brand-dark);
}

@media (max-width: 960px) {
  .hero__grid,
  .intro-card,
  .content-grid,
  .split,
  .contact-grid,
  .tariff__layout,
  .gallery {
    grid-template-columns: 1fr;
  }

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

  .service-item--wide {
    grid-column: span 2;
  }

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

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

  .viewer__header,
  .footer__content {
    flex-direction: column;
    align-items: flex-start;
  }

  #pdf-frame {
    height: 520px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 56px 0;
  }

  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .hero {
    padding-bottom: 56px;
  }

  .hero__brand {
    padding-top: 0;
  }

  .brand {
    padding: 2px 3px;
  }

  .brand img {
    width: 300px;
    max-width: 100%;
  }

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

  .service-item--wide {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .service-item--wide h3,
  .service-item--wide p {
    grid-column: auto;
  }

  .service-item--wide .service-icon {
    margin-bottom: 18px;
    grid-row: auto;
  }

  .card,
  .tariff__sidebar,
  .tariff__viewer,
  .intro-card > div {
    padding: 20px;
    border-radius: 22px;
  }

  .map-frame iframe {
    height: 300px;
  }

  .gallery-card {
    min-height: 220px;
  }

  .gallery-card--yard {
    min-height: 210px;
  }

  #pdf-frame {
    height: 420px;
  }
}
