* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body,
.site-body,
.inner-body {
  font-family: "PT Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 18px;
  color: #1f262d;
  background-color: #f5f6f8;
}

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

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

.shell-header {
  max-width: 1240px;
  margin: 12px auto 0;
  padding: 0 20px;
}

.shell-header-main {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 20px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.06);
}

.shell-brand {
  display: flex;
  align-items: center;
}

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

.brand-mark {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: #1f5a96;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.brand-mark img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-title {
  font-size: 26px;
  font-weight: 700;
}

.brand-tagline {
  font-size: 16px;
  color: #6d7781;
}

.shell-center {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.shell-location {
  font-size: 17px;
  color: #4c5660;
}

.shell-search {
  display: flex;
  gap: 8px;
}

.shell-search-input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #d4d8dd;
  font-size: 17px;
  background: #f9fafb;
}

.shell-search-btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  background: #1f5a96;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.shell-search-btn:hover {
  background: #254f7c;
}

.shell-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
}

.shell-phone-label {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8a949d;
}

.shell-phones {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-weight: 700;
}

.shell-nav {
  max-width: 1240px;
  margin: 14px auto 0;
  padding: 0 20px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.shell-nav-link {
  flex: 0 0 auto;
  padding: 10px 18px 11px;
  border-radius: 999px;
  background: #dde5ee;
  font-size: 18px;
  color: #24313f;
  cursor: pointer;
  white-space: nowrap;
}

.shell-nav-link:hover {
  background: #cfd9e5;
}

.shell-nav-link.active {
  background: #1f5a96;
  color: #ffffff;
}

.shell-main {
  max-width: 1240px;
  margin: 18px auto 0;
  padding: 0 20px;
}

.shell-frame {
  width: 100%;
  min-height: 74vh;
  border: none;
  border-radius: 22px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.06);
  background: #f5f6f8;
}

.shell-footer {
  max-width: 1240px;
  margin: 26px auto 24px;
  padding: 0 20px;
  font-size: 16px;
}

.shell-footer-inner {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 22px 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.04);
}

.shell-footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #1f5a96;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.footer-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.footer-brand-text {
  font-size: 20px;
  font-weight: 700;
}

.footer-heading {
  font-size: 18px;
  font-weight: 700;
}

.footer-copy {
  line-height: 1.5;
  color: #4a5460;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-link {
  color: #2a3644;
}

.footer-link:hover {
  text-decoration: underline;
}

.shell-footer-bottom {
  margin-top: 10px;
  text-align: right;
  font-size: 14px;
  color: #808a95;
}

.inner-body {
  padding: 24px 24px 30px;
}

.hero-strip {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(115deg, #f0f4fa 0%, #ffffff 45%, #f6f0ea 100%);
  min-height: 320px;
  margin-bottom: 32px;
}

.hero-strip-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      circle at -10% 0%,
      rgba(31, 90, 150, 0.15),
      transparent 60%
    ),
    radial-gradient(
      circle at 120% 100%,
      rgba(230, 161, 75, 0.2),
      transparent 55%
    );
  opacity: 0.8;
}

.hero-strip-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 32px;
  padding: 28px 32px;
}

.hero-strip-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  max-width: 560px;
}

.hero-label {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #6f7b88;
}

.hero-main {
  font-size: 34px;
  line-height: 1.1;
}

.hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: #4b5662;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(31, 90, 150, 0.3);
  font-size: 16px;
  background: rgba(255, 255, 255, 0.7);
}

.hero-strip-photo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo-frame {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 3;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
  transform: translateY(6px);
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wide-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 36px;
  align-items: center;
  margin-bottom: 34px;
}

.wide-row-right {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
}

.wide-row-image {
  position: relative;
}

.wide-row-image-left .wide-row-image-inner,
.wide-row-image-right .wide-row-image-inner {
  border-radius: 22px;
}

.wide-row-image img {
  border-radius: 22px;
  width: 100%;
  height: 260px;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
}

.wide-row-text {
  max-width: 560px;
}

.wide-row-title {
  font-size: 26px;
  margin-bottom: 10px;
}

.wide-row-body {
  font-size: 18px;
  line-height: 1.6;
  color: #4a5460;
  margin-bottom: 8px;
}

.wide-row-note {
  font-size: 18px;
  color: #757f8a;
}

.info-band {
  margin-top: 6px;
  background: #ffffff;
  border-radius: 20px;
  padding: 20px 24px 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.info-band-block {
  border-left: 4px solid #1f5a96;
  padding-left: 12px;
}

.info-band-title {
  font-size: 20px;
  margin-bottom: 6px;
}

.info-band-text {
  font-size: 18px;
  color: #4b5662;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .shell-header-main {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.4fr);
  }

  .shell-contacts {
    display: none;
  }

  .hero-strip-inner {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr);
  }
}

@media (max-width: 820px) {
  .shell-header-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .shell-center {
    order: 3;
  }

  .shell-nav {
    padding-bottom: 4px;
  }

  .hero-strip-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .hero-strip-photo {
    justify-content: flex-start;
  }

  .hero-photo-frame {
    max-width: 100%;
  }

  .wide-row,
  .wide-row-right {
    grid-template-columns: minmax(0, 1fr);
  }

  .wide-row-image img {
    height: 220px;
  }
}

@media (max-width: 640px) {
  .shell-header-main {
    padding: 14px 16px;
  }

  .brand-title {
    font-size: 22px;
  }

  .inner-body {
    padding: 18px 18px 24px;
  }

  .hero-main {
    font-size: 28px;
  }
}

.page-body {
  font-family: "PT Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 18px;
  background-color: #f5f6f8;
  color: #1f262d;
}

.page-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 24px 32px;
}

.page-heading-band {
  background: #1f5a96;
  border-radius: 18px;
  padding: 14px 18px;
  margin-bottom: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.page-heading-inner {
  color: #ffffff;
  font-size: 26px;
  font-weight: 700;
  text-align: center;
}

.page-banner {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.page-banner img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.page-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.75fr);
  gap: 26px;
  align-items: flex-start;
}

.page-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-main {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px 22px 24px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
}

.page-intro {
  font-size: 18px;
  line-height: 1.6;
  color: #3f4954;
  margin-bottom: 18px;
}

.info-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 14px 14px 16px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.06);
}

.info-box-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.info-box-row {
  display: flex;
  justify-content: space-between;
  font-size: 17px;
  padding: 3px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
}

.info-box-row:last-child {
  border-bottom: none;
}

.info-box-text {
  font-size: 17px;
  line-height: 1.6;
  color: #4a5460;
}

.info-box-list {
  list-style: disc;
  padding-left: 20px;
  font-size: 17px;
  line-height: 1.6;
  color: #4a5460;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.category-card {
  background: #f9fafc;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.06);
  min-height: 100%;
}

.category-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.category-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.category-title {
  font-size: 20px;
  font-weight: 700;
}

.category-text {
  font-size: 18px;
  color: #4a5460;
  line-height: 1.6;
}

.category-meta {
  font-size: 17px;
  color: #7a8591;
}

.category-btn {
  align-self: flex-start;
  margin-top: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  background: #1f5a96;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.category-btn:hover {
  background: #254f7c;
}

.text-section {
  margin-top: 20px;
}

.section-title {
  font-size: 22px;
  margin-bottom: 10px;
}

.text-section p {
  font-size: 18px;
  line-height: 1.7;
  color: #3f4954;
  margin-bottom: 10px;
}

.bullet-list {
  list-style: disc;
  padding-left: 22px;
  font-size: 18px;
  line-height: 1.7;
  color: #3f4954;
}

.text-section a {
  color: #1f5a96;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .page-wrapper {
    padding: 20px 18px 26px;
  }

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

  .page-main {
    padding: 18px 18px 22px;
  }

  .page-banner img {
    height: 220px;
  }
}

@media (max-width: 640px) {
  .page-heading-band {
    border-radius: 14px;
    padding: 10px 12px;
  }

  .page-heading-inner {
    font-size: 22px;
  }

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

.page-main .info-box {
  margin-top: 14px;
}

.page-main .info-box .info-box-row span:first-child {
  max-width: 70%;
  padding-right: 10px;
}

.page-main .info-box .info-box-row span:last-child {
  white-space: nowrap;
}

.review-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 6px;
}

.review-card {
  background: #f9fafc;
  border-radius: 18px;
  padding: 16px 18px 18px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);
}

.review-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 6px;
}

.review-name {
  font-size: 20px;
  font-weight: 700;
}

.review-meta {
  font-size: 17px;
  color: #7a8591;
}

.review-rating {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 18px;
  margin-bottom: 8px;
  color: #d98b1a;
}

.review-rating span:last-child {
  color: #3f4954;
}

.review-text {
  font-size: 18px;
  line-height: 1.7;
  color: #3f4954;
}

@media (max-width: 640px) {
  .review-card {
    padding: 14px 14px 16px;
  }

  .review-name {
    font-size: 19px;
  }
}

.contact-section {
  margin-top: 6px;
}

.contact-form {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: flex;
  gap: 14px;
}

.form-row-full {
  flex-direction: column;
}

.form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 18px;
  font-weight: 700;
  color: #2a3644;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: 18px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #cfd6df;
  background: #f9fafc;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.form-field textarea {
  resize: vertical;
  min-height: 130px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #1f5a96;
  box-shadow: 0 0 0 1px rgba(31, 90, 150, 0.3);
  background: #ffffff;
}

.form-submit-btn {
  margin-top: 4px;
  align-self: flex-start;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  background: #1f5a96;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.form-submit-btn:hover {
  background: #254f7c;
}

.form-note {
  margin-top: 4px;
  font-size: 16px;
  color: #76808b;
}

.form-success {
  display: none;
  margin-top: 16px;
  background: #f0f7ec;
  border-radius: 16px;
  padding: 18px 18px 20px;
  border: 1px solid #a4c88b;
}

.form-success-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-success p {
  font-size: 18px;
  line-height: 1.6;
  color: #3f4954;
}

.form-error-shake {
  animation: form-shake 0.2s linear 0s 2;
}

@keyframes form-shake {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-4px);
  }
  50% {
    transform: translateX(4px);
  }
  75% {
    transform: translateX(-4px);
  }
  100% {
    transform: translateX(0);
  }
}

/* overlay */

.form-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 15, 24, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease;
  z-index: 9999;
}

.form-overlay.active {
  opacity: 1;
  visibility: visible;
}

.form-overlay-inner {
  background: #ffffff;
  border-radius: 18px;
  padding: 22px 26px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.4);
}

.loader-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 4px solid #dde4ec;
  border-top-color: #1f5a96;
  animation: loader-spin 0.9s linear infinite;
}

.form-overlay-text {
  font-size: 18px;
  text-align: center;
  color: #2a3644;
}

@keyframes loader-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 820px) {
  .form-row {
    flex-direction: column;
  }

  .form-row-full {
    flex-direction: column;
  }

  .contact-form {
    gap: 10px;
  }

  .form-submit-btn {
    width: 100%;
    text-align: center;
  }
}
