:root {
  --sg-dark: #071a31;
  --sg-dark-2: #0c294b;
  --sg-blue: #1769db;
  --sg-blue-2: #0e55ba;
  --sg-orange: #ff652f;
  --sg-text: #1d2d42;
  --sg-muted: #65758a;
  --sg-border: #dbe4ee;
  --sg-bg: #f3f7fb;
  --sg-white: #fff;
}

.selection-guide-home {
  padding: 76px 0;
  background: var(--sg-bg);
  color: var(--sg-text);
}

.sg-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.sg-eyebrow {
  margin: 0 0 12px;
  color: var(--sg-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.selection-guide-home h2,
.guide-page h1,
.guide-page h2,
.guide-page h3 {
  color: var(--sg-dark);
}

.selection-guide-home h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(31px, 4vw, 50px);
  line-height: 1.08;
}

.sg-lead {
  max-width: 790px;
  margin: 18px 0 0;
  color: var(--sg-muted);
  font-size: 18px;
  line-height: 1.65;
}

.sg-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.sg-card {
  padding: 24px;
  background: var(--sg-white);
  border: 1px solid var(--sg-border);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(7, 26, 49, .05);
}

.sg-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--sg-dark);
  font-size: 18px;
}

.sg-card span {
  color: var(--sg-muted);
  font-size: 14px;
  line-height: 1.55;
}

.sg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.sg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--sg-blue);
  border-radius: 9px;
  font-weight: 800;
  text-decoration: none;
  transition: .2s ease;
}

.sg-button-primary {
  background: var(--sg-blue);
  color: var(--sg-white) !important;
}

.sg-button-primary:hover {
  background: var(--sg-blue-2);
}

.sg-button-secondary {
  background: var(--sg-white);
  color: var(--sg-blue) !important;
}

.sg-more {
  display: inline-block;
  margin-top: 22px;
  color: var(--sg-blue);
  font-weight: 800;
  text-underline-offset: 4px;
}

.knowledge-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  width: min(1500px, calc(100% - 40px));
  margin: 20px auto 0;
  padding: 18px 0 4px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: 13px;
  line-height: 1.5;
}

.knowledge-footer-links a {
  color: #bdcee3;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.guide-page {
  margin: 0;
  background: var(--sg-bg);
  color: var(--sg-text);
  font-family: Arial, Helvetica, sans-serif;
}

.guide-header {
  background: var(--sg-dark);
  color: var(--sg-white);
}

.guide-topbar,
.guide-nav,
.guide-shell,
.guide-footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.guide-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 18px;
}

.guide-brand {
  color: var(--sg-white);
  font-size: 23px;
  font-weight: 900;
  text-decoration: none;
}

.guide-tagline {
  margin-top: 5px;
  color: #aebed1;
  font-size: 12px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.guide-phone {
  color: var(--sg-white);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.guide-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 15px 0 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.guide-nav a {
  color: #d7e4f3;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.guide-nav a[aria-current="page"] {
  color: var(--sg-white);
  text-decoration: underline;
  text-decoration-color: var(--sg-orange);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}

.guide-hero {
  padding: 70px 0 58px;
  background: linear-gradient(135deg, var(--sg-dark), var(--sg-dark-2));
  color: var(--sg-white);
}

.guide-hero-inner {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
}

.guide-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--sg-white);
  font-size: clamp(36px, 6vw, 62px);
  line-height: 1.04;
}

.guide-hero p {
  max-width: 780px;
  margin: 22px 0 0;
  color: #cfdbeb;
  font-size: 19px;
  line-height: 1.65;
}

.guide-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 30px;
  align-items: start;
  padding: 40px 0 70px;
}

.guide-article,
.guide-aside-card,
.guide-request {
  background: var(--sg-white);
  border: 1px solid var(--sg-border);
  border-radius: 16px;
  box-shadow: 0 10px 32px rgba(7, 26, 49, .06);
}

.guide-article {
  padding: 42px 46px;
}

.guide-article h2 {
  margin: 42px 0 14px;
  font-size: 28px;
  line-height: 1.2;
}

.guide-article h2:first-child {
  margin-top: 0;
}

.guide-article h3 {
  margin: 28px 0 9px;
  font-size: 20px;
}

.guide-article p,
.guide-article li {
  font-size: 16px;
  line-height: 1.72;
}

.guide-article li {
  margin-bottom: 8px;
}

.guide-note {
  margin: 26px 0;
  padding: 18px 20px;
  background: #eef5ff;
  border-left: 4px solid var(--sg-blue);
  border-radius: 8px;
}

.guide-table-wrap {
  overflow-x: auto;
  margin: 22px 0;
}

.guide-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.guide-table th,
.guide-table td {
  padding: 14px;
  border: 1px solid var(--sg-border);
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}

.guide-table th {
  background: #eef4fa;
  color: var(--sg-dark);
}

.guide-aside {
  position: sticky;
  top: 20px;
}

.guide-aside-card {
  padding: 24px;
}

.guide-aside-card + .guide-aside-card {
  margin-top: 16px;
}

.guide-aside-card h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.guide-aside-card p {
  color: var(--sg-muted);
  font-size: 14px;
  line-height: 1.55;
}

.guide-aside-card a:not(.sg-button) {
  color: var(--sg-blue);
  font-weight: 700;
}

.guide-request-section {
  padding: 70px 0;
  background: #e9f1f9;
}

.guide-request {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 38px 42px;
  box-sizing: border-box;
}

.guide-request h2 {
  margin: 0 0 10px;
  font-size: 30px;
}

.guide-request > p {
  margin: 0 0 25px;
  color: var(--sg-muted);
  line-height: 1.6;
}

.guide-form {
  display: grid;
  gap: 16px;
}

.guide-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.guide-form label {
  display: grid;
  gap: 7px;
  color: var(--sg-dark);
  font-size: 14px;
  font-weight: 800;
}

.guide-form input,
.guide-form textarea,
.guide-form select {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 14px;
  border: 1px solid #cbd7e3;
  border-radius: 8px;
  background: var(--sg-white);
  color: var(--sg-text);
  font: inherit;
}

.guide-form textarea {
  min-height: 125px;
  resize: vertical;
}

.guide-form input:focus,
.guide-form textarea:focus,
.guide-form select:focus {
  outline: 3px solid rgba(23, 105, 219, .15);
  border-color: var(--sg-blue);
}

.guide-file small {
  color: var(--sg-muted);
  font-weight: 400;
}

.guide-submit {
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 9px;
  background: var(--sg-blue);
  color: var(--sg-white);
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}

.guide-submit:disabled {
  opacity: .65;
  cursor: wait;
}

.guide-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  max-width: 360px;
  padding: 15px 18px;
  border-radius: 9px;
  background: var(--sg-dark);
  color: var(--sg-white);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .24);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: .25s ease;
}

.guide-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.guide-footer {
  padding: 38px 0;
  background: var(--sg-dark);
  color: #bdcee3;
}

.guide-footer-inner {
  display: grid;
  gap: 14px;
}

.guide-footer a {
  color: var(--sg-white);
}

.guide-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
}

@media (max-width: 900px) {
  .sg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-shell {
    grid-template-columns: 1fr;
  }

  .guide-aside {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .guide-aside-card + .guide-aside-card {
    margin-top: 0;
  }
}

@media (max-width: 620px) {
  .selection-guide-home,
  .guide-request-section {
    padding: 52px 0;
  }

  .sg-grid,
  .guide-field-row,
  .guide-aside {
    grid-template-columns: 1fr;
  }

  .sg-actions {
    display: grid;
  }

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

  .guide-hero {
    padding: 50px 0 44px;
  }

  .guide-article,
  .guide-request {
    padding: 27px 20px;
  }
}


/* SITE_MAIN_NAV_START */
.site-main-nav {
    box-sizing: border-box;
    width: min(1500px, calc(100% - 40px));
    margin: 0 auto;
    padding: 16px 0 20px;
}

.site-main-nav a:last-child {
    margin-left: auto;
    padding: 11px 17px;
    border: 1px solid rgba(255,255,255,.30);
    border-radius: 9px;
    color: #fff;
}

@media (max-width: 900px) {
    .site-main-nav a:last-child {
        margin-left: 0;
    }
}
/* SITE_MAIN_NAV_END */


/* MENU_OFFER_RIGHT_START */
nav .menu-offer {
    margin-left: auto;
}

@media (max-width: 900px) {
    nav .menu-offer {
        margin-left: 0;
    }
}
/* MENU_OFFER_RIGHT_END */


/* CATALOG_STRIP_START */
.catalog-strip {
    width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    border-bottom: 1px solid #dbe4ee;
    box-shadow: 0 3px 12px rgba(7, 26, 49, .04);
}

.catalog-strip-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 34px;
    width: min(1500px, calc(100% - 40px));
    margin: 0 auto;
    padding: 20px 0;
    box-sizing: border-box;
}

.catalog-strip-title {
    color: #071a31;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.catalog-strip a {
    color: #162c49;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    text-decoration: none;
}

.catalog-strip a:hover {
    color: #1769db;
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 800px) {
    .catalog-strip-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding: 18px 0;
    }
}
/* CATALOG_STRIP_END */


/* CATALOG_CENTER_FIX_START */
.catalog-strip-inner {
    justify-content: center;
}

@media (max-width: 800px) {
    .catalog-strip-inner {
        justify-content: flex-start;
    }
}
/* CATALOG_CENTER_FIX_END */
