
:root {
  --ink: #292929;
  --blue: #0877ab;
  --orange: #f88735;
  --surface: #ececec;
  --dark: #202020;
}

/* Global */

* {
  box-sizing: border-box;
}

html {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--dark);
  color: var(--ink);
}

body {
  margin: 0;
  background: radial-gradient(circle at top, #393939 0%, #222 55%, #1c1c1c 100%);
  font-size: 15px;
  line-height: 1.65;
}

a {
  color: inherit;
}

/* Header */

.site-header {
  color: #eee;
}

.site-header__inner {
  max-width: 1000px;
  width: 100%;
  margin: auto;
  min-height: 75px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 14px 16px 10px;
}

.phone-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  order: 1;
}

.phone-label {
  color: #eee;
  font-size: 16px;
  font-weight: bold;
}

.phone-button {
  display: inline-block;
  background: linear-gradient(#ffbf87, #f88735);
  color: #292929;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 17px;
  font-weight: bold;
  text-align: center;
}

.phone-button:hover {
  filter: brightness(1.1);
}

.phone {
  color: #ffac72;
  text-decoration: none;
  font-size: 17px;
  order: 1;
}

.tagline {
  margin: 0;
  order: 2;
  text-align: center;
  white-space: nowrap;
  font-size: 15px;
}

/* Main site container */

.site-shell {
  width: min(100% - 32px, 980px);
  margin: 0 auto 36px;
  border: 7px solid #333;
  border-radius: 17px 17px 3px 3px;
  box-shadow: 0 4px 22px #0008;
  overflow: hidden;
}

/* Navigation */

.nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 4px;
  background: linear-gradient(#f3f3f3, #adadad);
  padding: 13px 12px;
  border-bottom: 1px solid #8d8d8d;
}

.nav-links {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.nav a {
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
  padding: 1px 5px;
}

.nav a:hover,
.nav a:focus-visible {
  color: #005c8d;
  text-decoration: underline;
}

.menu-toggle {
  display: none;
}

/* Hero banner */

.hero {
  padding: 0;
  background: linear-gradient(115deg, #09172d, #214b70 50%, #07152c);
}

.hero__banner {
  display: block;
  width: 100%;
  height: auto;
}

/* Optional image placeholders */

.image-placeholder {
  border: 2px dashed #9cb3c6;
  border-radius: 5px;
  background: repeating-linear-gradient(
    135deg,
    #eff5fa,
    #eff5fa 12px,
    #dce8f1 12px,
    #dce8f1 24px
  );
  color: #36566c;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  font-weight: bold;
}

.image-placeholder small {
  font-weight: normal;
}

.hero__image {
  height: 265px;
  max-width: 100%;
  background: repeating-linear-gradient(
    135deg,
    #14324e,
    #14324e 12px,
    #254565 12px,
    #254565 24px
  );
  color: #fff;
  border-color: #6c9bc1;
}

.hero__image strong {
  font-size: clamp(20px, 4vw, 35px);
}

/* Main content */

.main-content {
  background: #e8e8e8;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 235px;
  gap: 26px 38px;
  padding: 23px 46px 18px;
}

.intro h1,
.results h2 {
  color: var(--blue);
  font-size: 23px;
  line-height: 1.2;
  margin: 0 0 9px;
}

.intro p {
  margin: 0 0 19px;
}

/* Call to action */

.cta {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: linear-gradient(#ffcfaa, #ff8f36 60%, #f26a1a);
  border-radius: 22px;
  padding: 5px 15px;
  color: #4a443a;
  text-decoration: none;
  font-weight: bold;
  line-height: 1.5;
  box-shadow: 0 2px 1px #0002;
}

.cta:hover {
  filter: brightness(1.05);
}

/* Proven results */

.results {
  background: #d6d6d6;
  border-radius: 12px;
  padding: 18px 18px 16px;
  align-self: start;
}

.results h2 {
  font-size: 22px;
}

.results ul {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}

.results li {
  position: relative;
  padding-left: 20px;
  line-height: 1.55;
  font-size: 13px;
}

.results li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #26a443;
  font-weight: bold;
}

/* Awards section */

.awards {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  margin: 20px 0;
  padding: 0;
}

#awards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 16px;
  width: 100%;
  min-width: 0;
}

#awards img,
.awards > img {
  display: block;
  width: 100%;
  max-width: 135px;
  height: 135px;
  object-fit: contain;
}

.awards:not(:has(#awards)) {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 16px;
}

/* Footer */

.footer {
  background: linear-gradient(#bfbfbf, #a7a7a7);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
  font-size: 12px;
  min-height: 58px;
}

.footer a {
  color: #245e8e;
  font-size: 14px;
  font-weight: bold;
}

/* Tablet */

@media (max-width: 800px) {
  .main-content {
    padding: 25px;
    gap: 25px;
    grid-template-columns: minmax(0, 1fr) 215px;
  }

  .nav {
    justify-content: center;
    gap: 7px 14px;
  }

  .nav a {
    font-size: 14px;
  }

  #awards,
  .awards:not(:has(#awards)) {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
  }

  #awards img,
  .awards > img {
    max-width: 120px;
    height: 115px;
  }
}

/* Phones */

@media (max-width: 640px) {

  /* Center the full header, not just the text */

  .site-header__inner {
    width: 100%;
    max-width: 100%;
    min-height: 60px;
    padding: 14px 10px 12px;
    align-items: center;
    justify-content: center;
  }

  .phone-contact {
    width: 100%;
    align-items: center;
    text-align: center;
    gap: 6px;
  }

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

  .phone-button {
    padding: 12px 24px;
    min-height: 48px;
  }

  .tagline {
    align-self: center;
    width: 100%;
    max-width: 100%;
    text-align: center;
    white-space: nowrap;
    font-size: clamp(9px, 2.75vw, 13px);
    line-height: 1.5;
    margin: 4px 0 0;
    overflow: visible;
  }

  /* Site container */

  .site-shell {
    width: 100%;
    border: 0;
    border-radius: 0;
    margin: 0;
  }

  /* Mobile navigation */

  .nav {
    display: block;
    padding: 0;
  }

  .menu-toggle {
    display: block;
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(#f3f3f3, #b9b9b9);
    border: 0;
    color: #292929;
    font-size: 17px;
    font-weight: bold;
    text-align: left;
    cursor: pointer;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 13px 20px;
    border-top: 1px solid #ccc;
    font-size: 15px;
  }

  /* Mobile hero */

  .hero {
    padding: 0;
  }

  .hero__banner {
    width: 100%;
    height: auto;
  }

  .hero__image {
    height: 190px;
  }

  /* Mobile content */

  .main-content {
    display: flex;
    flex-direction: column;
    padding: 22px 20px;
    gap: 20px;
  }

  .results {
    width: 100%;
  }

  /* Mobile awards: two per row */

  .awards {
    display: block;
    width: 100%;
    margin: 15px 0;
    padding: 0;
  }

  #awards,
  .awards:not(:has(#awards)) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    justify-items: center;
    gap: 16px;
    width: 100%;
  }

  #awards img,
  .awards > img {
    width: 100%;
    max-width: 145px;
    height: 125px;
    object-fit: contain;
  }

  #awards img:last-child,
  .awards > img:last-child {
    grid-column: 1 / -1;
    width: 50%;
    max-width: 145px;
    justify-self: center;
  }

  /* Mobile footer */

  .footer {
    padding: 15px 20px;
    gap: 12px;
  }
}
