:root {
  --bg: #eef5fb;
  --surface: #ffffff;
  --text: #12283a;
  --muted: #4b6172;
  --brand: #e97f22;
  --brand-dark: #bd6315;
  --accent-blue: #4fa9d9;
  --line: #d5e3ef;
  --shadow: 0 16px 36px rgba(18, 40, 58, 0.1);
  --hero-overlap: clamp(150px, 18vh, 210px);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.section {
  padding: 56px 0;
}

.section--muted {
  background: rgba(255, 255, 255, 0.75);
  border-block: 1px solid var(--line);
}

.hero {
  position: relative;
  isolation: isolate;
  padding: 90px 0 80px;
  z-index: 1;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: calc(100% + var(--hero-overlap));
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 350px at 18% 12%, rgba(255, 255, 255, 0.78), transparent 65%),
    radial-gradient(1200px 420px at 78% 0%, rgba(128, 206, 242, 0.5), transparent 70%),
    linear-gradient(160deg, #d4ecfb 0%, #c6e3f7 35%, #dff1fc 100%);
  border-bottom: 1px solid rgba(79, 169, 217, 0.24);
}

.hero__bg::after {
  content: "";
  position: absolute;
  width: 45%;
  max-width: 540px;
  aspect-ratio: 1 / 1;
  right: -12%;
  top: -25%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 190, 126, 0.32) 0%, rgba(255, 190, 126, 0) 68%);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.95;
}

main {
  position: relative;
  z-index: 2;
}

.hero__content {
  position: relative;
  max-width: 1120px;
  text-align: left;
}

.hero__topline {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 6px;
}

.eyebrow {
  display: inline-block;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(79, 169, 217, 0.2);
  color: #165478;
  font-weight: 700;
  font-size: 0.92rem;
}

.eyebrow--orange {
  background: rgba(233, 127, 34, 0.22);
  color: #a54f0b;
}

.hero__phone {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  text-decoration: none;
  color: #124f70;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(79, 169, 217, 0.45);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(3px);
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 1000px;
  background: linear-gradient(100deg, #1a5f89 0%, #3a9ccf 33%, #e97f22 66%, #225f86 100%);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: titleGradientFlow 8s ease-in-out infinite;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  margin-bottom: 20px;
  background: linear-gradient(100deg, #1a5f89 0%, #3a9ccf 33%, #e97f22 66%, #225f86 100%);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: titleGradientFlow 9s ease-in-out infinite;
}

h2::after {
  content: "";
  display: block;
  width: 78px;
  height: 6px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e97f22, #f2a341);
}

h3 {
  font-size: 1.2rem;
  background: linear-gradient(100deg, #1a5f89 0%, #3a9ccf 33%, #e97f22 66%, #225f86 100%);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: titleGradientFlow 10s ease-in-out infinite;
}

p {
  margin: 0 0 14px;
}

.hero__lead {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1rem, 2.5vw, 1.15rem);
}

.btn {
  display: inline-block;
  margin-top: 12px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand), #f29b3b);
  padding: 14px 22px;
  border-radius: 12px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 10px 24px rgba(233, 127, 34, 0.33);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(233, 127, 34, 0.4);
}

.grid {
  display: grid;
  gap: 16px;
}

.grid--cards {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card,
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card {
  position: relative;
  padding-top: 52px;
}

.card::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 16px;
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%25' stop-color='%232dbd64'/%3E%3Cstop offset='100%25' stop-color='%23188f48'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='1' y='1' width='20' height='20' rx='6' fill='url(%23g)'/%3E%3Cpath d='M6.5 11.2L9.5 14.2L15.7 8.3' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(0 6px 14px rgba(31, 135, 69, 0.28));
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 36px rgba(18, 40, 58, 0.18);
  border-color: rgba(233, 127, 34, 0.45);
}

.panel:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 36px rgba(18, 40, 58, 0.18);
  border-color: rgba(233, 127, 34, 0.45);
}

.card::first-line {
  font-weight: 800;
}

.grid--split {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.panel-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.panel-title::before {
  content: "";
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  background-repeat: no-repeat;
  background-size: contain;
}

.panel-title--growth::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect x='3' y='12' width='4' height='8' rx='1.2' fill='%234FA9D9'/%3E%3Crect x='10' y='9' width='4' height='11' rx='1.2' fill='%232f94c4'/%3E%3Crect x='17' y='5' width='4' height='15' rx='1.2' fill='%23E97F22'/%3E%3Cpath d='M3.5 6.5 8 9l4-3 3.5 2.2L21 4.5' stroke='%2312283A' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.panel-title--docs::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect x='4' y='3' width='14' height='18' rx='2' fill='%234FA9D9'/%3E%3Cpath d='M14 3v5h5' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8 12h6M8 16h8' stroke='white' stroke-width='1.7' stroke-linecap='round'/%3E%3Cpath d='M18 8h2a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1H9' stroke='%23E97F22' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

.section__head {
  margin-bottom: 14px;
}

.hint {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.photo {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.photo img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.photo:hover img {
  transform: scale(1.03);
}

.photo figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 20, 31, 0.8);
  backdrop-filter: blur(4px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__image {
  width: min(1200px, 92vw);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.38);
  background: #f7fbff;
}

.lightbox__btn {
  position: fixed;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #173b54;
  font-size: 1.9rem;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.lightbox__btn--close {
  top: 18px;
  right: 18px;
  font-size: 2.1rem;
}

.lightbox__btn--prev {
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__btn--next {
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.footer {
  padding-top: 42px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: 18px;
  align-items: center;
  margin-top: 8px;
}

.contact-card,
.map-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  min-height: 400px;
}

.contact-card p {
  margin-bottom: 10px;
}

.contact-row {
  position: relative;
  padding-left: 34px;
}

.contact-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 22px;
  height: 22px;
  background-repeat: no-repeat;
  background-size: contain;
}

.contact-row--address::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 22s7-5.2 7-12a7 7 0 1 0-14 0c0 6.8 7 12 7 12Z' fill='%234FA9D9'/%3E%3Ccircle cx='12' cy='10' r='3' fill='white'/%3E%3C/svg%3E");
}

.contact-row--phone::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6.7 3h3.1l1.2 4.2-1.9 1.9a15.6 15.6 0 0 0 5.8 5.8l1.9-1.9L21 14.2v3.1A2.7 2.7 0 0 1 18.3 20C10.4 20 4 13.6 4 5.7A2.7 2.7 0 0 1 6.7 3Z' fill='%23E97F22'/%3E%3C/svg%3E");
}

.contact-row--email::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect x='3' y='5' width='18' height='14' rx='3' fill='%234FA9D9'/%3E%3Cpath d='m5 8 7 5 7-5' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.contact-card a {
  color: #155b80;
  text-decoration: none;
  font-weight: 700;
}

.contact-card a:hover {
  text-decoration: underline;
}

.map-card {
  overflow: hidden;
}

.map-card > * {
  display: block;
  width: 100%;
  min-height: 400px;
}

.quote {
  margin-top: 14px;
  font-style: italic;
  color: var(--muted);
}

.copyright {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.94rem;
  color: var(--muted);
}

@keyframes titleGradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  h1,
  h2,
  h3 {
    animation: none;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: clamp(1.55rem, 7vw, 2.05rem);
    line-height: 1.12;
    letter-spacing: -0.01em;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero {
    padding-top: 72px;
    padding-bottom: 56px;
  }

  .hero__topline {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  .section {
    padding: 44px 0;
  }
}

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

  .lightbox {
    padding: 14px;
  }

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