* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-width: 320px;
  color: #000;
  font: 13px Arial, "Arial Unicode MS", Helvetica, sans-serif;
  background:
    url("images/pageglare.png") no-repeat top left fixed,
    url("images/page.png") repeat fixed,
    linear-gradient(#2a7aac 0, #2a7aac 420px, #0f2c3e 1050px) fixed;
}

a {
  color: #3292cd;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

p {
  margin: 12px 0;
}

ul {
  margin: 1em 0 1em 26px;
  padding: 0;
  list-style: none;
}

li {
  line-height: 2;
  margin-top: 10px;
}

li::before {
  content: url("images/postbullets.png");
  display: inline-block;
  margin-right: 6px;
  margin-left: -11px;
  vertical-align: middle;
}

.page {
  width: min(1000px, calc(100% - 28px));
  margin: 50px auto 0;
  padding: 10px;
  border: 1px solid #2b7db1;
  background: #fff;
  box-shadow: 0 0 3px 2px rgba(0, 0, 0, 0.15);
}

.header {
  position: relative;
  min-height: 100px;
  background-image: url("images/object764358266.png"), url("images/header.jpg");
  background-position: 1px 1px, 0 0;
  background-repeat: no-repeat;
}

.nav {
  position: absolute;
  right: 3px;
  bottom: 0;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 3px 3px 0;
}

.nav a {
  display: block;
  width: 144px;
  height: 50px;
  padding: 0 22px;
  border-radius: 5px 5px 0 0;
  color: #fcfdfd;
  font-size: 14px;
  font-weight: bold;
  line-height: 50px;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(#035196 0, #0475d7 85%, #0462b4 86%, #0462b4 100%);
}

.nav a.active,
.nav a:hover {
  background: linear-gradient(#098afb 0, #54aefc 85%, #2c9bfc 86%, #2c9bfc 100%);
}

.content {
  min-height: 440px;
  padding: 38px 40px 44px;
}

.narrow-copy {
  max-width: 850px;
  margin: 0 auto;
}

.offer-photo {
  float: right;
  width: 300px;
  height: auto;
  margin: 2px 10px 14px 22px;
  border: 1px solid #000;
}

.columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  align-items: start;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(240px, 400px) minmax(280px, 420px);
  gap: 34px;
  align-items: start;
}

.side-photo {
  width: 300px;
  max-width: 100%;
  height: auto;
  margin-top: 30px;
  border: 1px solid #000;
}

.form-table {
  width: 100%;
  border-collapse: collapse;
}

.form-table td {
  padding: 3px 0;
  vertical-align: top;
}

.field,
.form-table input,
.form-table select,
.form-table textarea,
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c0c0c0;
  padding: 5px;
  font: inherit;
}

.form-table select {
  height: 30px;
}

textarea {
  min-height: 72px;
  resize: vertical;
}

.contact-form label {
  display: block;
  margin-top: 12px;
}

.captcha-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.captcha-image {
  width: 72px;
  height: 24px;
  border: 1px solid #c0c0c0;
}

.captcha-input {
  max-width: 120px;
}

.button {
  width: auto !important;
  min-width: 96px;
  height: 34px;
  margin-top: 12px;
  border: 1px solid #a0abc5;
  border-radius: 2px;
  color: #1d2633;
  background: linear-gradient(#fff, #d1d1d1);
  cursor: pointer;
}

.button:hover {
  background: linear-gradient(#fff, #c6dff2);
}

.message {
  display: none;
  margin: 0 0 18px;
  padding: 10px 12px;
  border: 1px solid #8fb9d4;
  background: #eaf6fd;
}

.message.error {
  border-color: #d69b9b;
  background: #fff0f0;
}

.footer {
  margin: 20px auto 0;
  color: #b6bfd2;
  text-align: center;
  background: rgba(35, 41, 57, 0.5);
}

.footer-inner {
  width: min(1000px, 100%);
  margin: 0 auto;
  padding: 18px 15px;
  font-size: 10px;
  color: #a1cde8;
}

.text-right {
  text-align: right;
}

.text-center {
  text-align: center;
}

@media (max-width: 760px) {
  .page {
    width: calc(100% - 16px);
    margin-top: 16px;
  }

  .header {
    min-height: 166px;
    background-image: url("images/object764358266.png"), url("images/header.jpg");
    background-size: min(473px, calc(100% - 16px)) auto, cover;
    background-position: center 8px, center top;
    background-repeat: no-repeat;
  }

  .nav {
    left: 8px;
    right: 8px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .nav a {
    width: auto;
    min-width: 78px;
    height: 38px;
    padding: 0 10px;
    line-height: 38px;
  }

  .content {
    padding: 24px 16px 32px;
  }

  .offer-photo {
    float: none;
    display: block;
    max-width: 100%;
    margin: 16px auto;
  }

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

  .form-table,
  .form-table tbody,
  .form-table tr,
  .form-table td {
    display: block;
    width: 100%;
  }

  .side-photo {
    margin: 12px auto 0;
    display: block;
  }
}

/* ===== PRIVACY POLICY PAGE ===== */

.pp-hero {
  padding: 18px 0 14px;
  border-bottom: 1px solid #d7e6ef;
}

.pp-eyebrow {
  margin: 0 0 4px;
  color: #2a7aac;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pp-hero h1 {
  margin: 0 0 6px;
  color: #0f2c3e;
  font-size: 22px;
}

.pp-hero p {
  margin: 0;
  color: #5a6b75;
  font-size: 12px;
}

.pp-body h2 {
  margin: 26px 0 8px;
  padding-left: 10px;
  border-left: 4px solid #2a7aac;
  color: #0f2c3e;
  font-size: 16px;
}

.pp-body h2:first-child {
  margin-top: 0;
}

.pp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 12px;
}

.pp-table th,
.pp-table td {
  padding: 8px 10px;
  border: 1px solid #cfe1ec;
  text-align: left;
  vertical-align: top;
}

.pp-table th {
  background: #eaf6fd;
  color: #0f2c3e;
}

.info-box {
  padding: 14px 16px;
  border-left: 4px solid #2a7aac;
  background: #eaf6fd;
  font-size: 13px;
}

.info-box strong {
  display: block;
  margin-bottom: 4px;
  color: #0f2c3e;
}

.placeholder {
  color: #b4342a;
  font-weight: bold;
}

/* ===== COOKIE BAR ===== */

.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 20px;
  color: #d9e7ef;
  background: #0f2c3e;
  font: 13px Arial, Helvetica, sans-serif;
  border-top: 3px solid #2a7aac;
}

.cookie-bar p {
  margin: 0;
  max-width: 820px;
}

.cookie-bar a {
  color: #fff;
  text-decoration: underline;
}

.cookie-bar-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 7px 18px;
  border: 2px solid #fff;
  border-radius: 4px;
  color: #fff;
  background: transparent;
  font: bold 13px Arial, Helvetica, sans-serif;
  cursor: pointer;
}

.cookie-btn.accept {
  background: #2a7aac;
  border-color: #2a7aac;
}

.cookie-btn:hover {
  color: #0f2c3e;
  background: #fff;
  border-color: #fff;
}

.cookie-bar[hidden] {
  display: none;
}
