html, body { overflow-x: hidden; max-width: 100%; }

body::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, #10A8D1 0%, #3AAFA9 60%, #0d8aad 100%);
}

header {
  background: #ffffff !important;
  border-bottom: 1px solid #dff0f7;
  box-shadow: 0 3px 20px rgba(16,168,209,0.09);
  overflow-x: clip;
}

.main-header,
header .main-header { background: transparent !important; }

.hdr-offer {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: #08394a !important;
  background: linear-gradient(135deg, #fff4c4 0%, #ffe57a 22%, #fffaf0 100%);
  border: 2px solid #f5c542;
  border-radius: 1.15rem;
  padding: 0.7rem 1.1rem;
  font-weight: 800;
  font-size: 1.08rem;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(245,197,66,0.28);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s;
  position: relative;
  overflow: hidden;
}

.hdr-offer:hover {
  color: #062f3d !important;
  background: linear-gradient(135deg, #fff8d8 0%, #ffe46b 25%, #fffdf5 100%);
  border-color: #ecb911;
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 14px 32px rgba(245,197,66,0.34);
}

.hdr-offer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.28), transparent 45%);
  pointer-events: none;
}

.hdr-offer .hdr-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  min-height: 56px;
  background: linear-gradient(135deg, #e05550 0%, #c9302c 100%);
  border: 1.5px solid #0d95bb;
  color: #fff;
  border-radius: 0.95rem;
  padding: 0.25rem 0.9rem;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  vertical-align: middle;
  box-shadow: 0 8px 20px rgba(201,48,44,0.3);
}

.hdr-offer .hdr-offer-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  line-height: 1.1;
}

.hdr-offer .hdr-offer-kicker {
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c9302c;
}

.hdr-offer .hdr-offer-main {
  font-size: 1.08rem;
  font-weight: 900;
  color: #08394a;
}

.hdr-offer .hdr-offer-arrow {
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
  color: #c9302c;
  margin-left: 0.15rem;
}

.hdr-support { color: #555 !important; font-size: 0.95rem; }
.hdr-alert { color: #d9534f !important; font-weight: 700; margin: 0.45rem 0 0.55rem; }

.hdr-phone {
  color: #0d2d3d !important;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid #10A8D1;
  padding-bottom: 1px;
  transition: color 0.15s;
}

.hdr-phone:hover { color: #10A8D1 !important; }

.hdr-quote-link {
  color: #d9534f !important;
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.15s;
}

.hdr-quote-link:hover { color: #c9302c !important; }

.hdr-text-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  background: linear-gradient(135deg, #e05550 0%, #c9302c 100%);
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 999px;
  padding: 0.34rem 0.85rem;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(201,48,44,0.24);
  border: 1px solid rgba(255,255,255,0.22);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  white-space: nowrap;
}

.hdr-text-cta:hover {
  color: #fff !important;
  background: linear-gradient(135deg, #e46761 0%, #be2621 100%);
  transform: translateY(-1px);
  box-shadow: 0 9px 18px rgba(201,48,44,0.3);
}

.hdr-text-cta::before {
  content: 'Text';
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  opacity: 0.92;
}

.hdr-logo-col { position: relative; }

@media (min-width: 768px) {
  .hdr-logo-col::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    bottom: 10%;
    width: 2px;
    background: linear-gradient(to bottom, transparent, #b3e4f5, transparent);
  }
}

.hdr-towns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.hdr-town {
  background: #f0fbfd;
  border: 1px solid #c5e9f5;
  color: #0d6e8a;
  border-radius: 999px;
  padding: 0.15rem 0.65rem;
  font-size: 0.73rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
}

.hdr-cta {
  background: linear-gradient(135deg, #e05550 0%, #c9302c 100%);
  color: #fff !important;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.85rem;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(201,48,44,0.30);
  transition: transform 0.15s, box-shadow 0.15s;
}

.hdr-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 22px rgba(201,48,44,0.38);
}

.hdr-price-hint {
  font-size: 0.75rem;
  color: #888;
  margin-top: 0.35rem;
  text-align: center;
}

.hdr-price-hint strong { color: #10A8D1; }

.hdr-mobile-service {
  display: none;
  color: #0d2d3d;
  font-weight: 900;
  font-size: 1.02rem;
  line-height: 1.2;
  margin: 0 0 0.55rem;
}

.hdr-mobile-service span {
  display: block;
  color: #4d6570;
  font-size: 0.84rem;
  font-weight: 700;
  margin-top: 0.22rem;
}

.hdr-mobile-cta {
  display: flex;
  justify-content: center;
  margin: 0.75rem 0 0.25rem;
}

.hdr-mobile-cta button {
  background: linear-gradient(135deg, #e05550 0%, #c9302c 100%);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1.75rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

@media (max-width: 767.98px) {
  header .main-header {
    padding-top: 1rem !important;
    padding-bottom: 0.75rem !important;
  }

  .hdr-logo-col img {
    width: 114px !important;
  }

  .hdr-mobile-service {
    display: block;
  }

  .hdr-logo-col::after { display: none; }
  .hdr-towns { display: none !important; }

  .hdr-offer {
    width: 100%;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.6rem 0.8rem;
  }

  .hdr-offer .hdr-badge {
    min-width: 66px;
    min-height: 46px;
    font-size: 0.95rem;
  }

  .hdr-offer .hdr-offer-copy {
    align-items: flex-start;
  }

  .hdr-offer .hdr-offer-kicker {
    font-size: 0.72rem;
  }

  .hdr-offer .hdr-offer-main {
    font-size: 0.9rem;
  }

  .hdr-offer .hdr-offer-arrow {
    font-size: 1.05rem;
  }

  .hdr-support.mb-2 {
    display: none;
  }

  .hdr-support.mb-0 {
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .hdr-text-cta {
    padding: 0.32rem 0.78rem;
    font-size: 0.92rem;
  }

  .hdr-text-cta::before {
    font-size: 0.7rem;
  }

  .hdr-mobile-cta {
    display: none !important;
  }

  #hero {
    padding: 2rem 1rem;
    text-align: center;
  }

  #hero .display-headline {
    font-size: 1.75rem !important;
  }

  #hero p.mb-3 {
    font-size: 1rem !important;
    margin-bottom: 0.65rem !important;
  }

  #hero p.lead {
    font-size: 1rem;
    margin-bottom: 1rem !important;
  }

  #hero .mt-4 {
    margin-top: 0.9rem !important;
  }

  #hero .mt-4 p {
    font-size: 0.88rem;
  }
}

@media (max-width: 767.98px) and (max-height: 760px) {
  header .main-header {
    padding-top: 0.65rem !important;
    padding-bottom: 0.55rem !important;
  }

  .hdr-logo-col {
    margin-bottom: 0 !important;
  }

  .hdr-logo-col img {
    width: 82px !important;
  }

  .hdr-mobile-service {
    font-size: 0.88rem;
    line-height: 1.12;
    margin-bottom: 0.22rem;
  }

  .hdr-mobile-service span {
    display: none;
  }

  .hdr-offer {
    padding: 0.44rem 0.64rem;
    gap: 0.5rem;
  }

  .hdr-offer .hdr-badge {
    min-width: 56px;
    min-height: 38px;
    font-size: 0.82rem;
    padding: 0.2rem 0.7rem;
  }

  .hdr-offer .hdr-offer-kicker {
    font-size: 0.66rem;
  }

  .hdr-offer .hdr-offer-main {
    font-size: 0.79rem;
  }

  .hdr-offer .hdr-offer-arrow {
    font-size: 0.95rem;
  }

  .hdr-alert {
    display: none;
  }

  .hdr-support.mb-0 {
    font-size: 0.78rem;
    line-height: 1.28;
  }

  .hdr-text-cta {
    padding: 0.24rem 0.62rem;
    font-size: 0.84rem;
  }

  .hdr-text-cta::before {
    content: 'Text';
    font-size: 0.66rem;
  }

  #hero {
    padding: 0.8rem 0.85rem 1.2rem;
  }

  #hero .display-headline {
    font-size: 1.48rem !important;
  }

  #hero p.mb-3 {
    font-size: 0.92rem !important;
  }

  #hero p.lead {
    font-size: 0.9rem;
    margin-bottom: 0.8rem !important;
  }

  #hero .mt-4 {
    margin-top: 0.6rem !important;
  }

  #hero .mt-4 p {
    font-size: 0.8rem;
  }
}
