
* {
  box-sizing: border-box;
}

:root {
  --red: #f21b2b;
  --navy: #17365d;
  --ink: #202020;
  --paper: #f4f4f4;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Roboto, Arial, sans-serif;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.55;
  background: var(--paper);
}

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

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

/* HEADER */

.top-strip {
  height: 62px;
  background: #fff;
  border-bottom: 1px solid #ddd;
}

.top-inner {
  max-width: 1120px;
  height: 100%;
  margin: auto;
  padding: 5px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  width: 112px;
  height: 47px;
  object-fit: contain;
}

.top-contact {
  display: flex;
  gap: 26px;
  font-size: 11px;
  color: #333;
}

/* HERO */

.hero {
  min-height: 430px;
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background-image: url("https://retmrope.com/wp-content/uploads/2023/12/image007.jpg");
  background-position: center;
  background-size: cover;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.65),
    rgba(0,0,0,.58)
  );
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.2);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 50px 24px;
}

.hero h1 {
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.2;
  margin: 0 0 16px;
  font-weight: 700;
  letter-spacing: .3px;
}

.hero p {
  max-width: 680px;
  margin: 0 auto 25px;
  font-size: 14px;
}

.red-button {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 10px 25px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  transition: background .2s;
}

.red-button:hover {
  background: #c90e1b;
}

/* GENERAL SECTIONS */

.section {
  padding: 64px 0;
  background: var(--paper);
}

.container {
  width: min(100% - 48px, 980px);
  margin: 0 auto;
}

.narrow {
  max-width: 780px;
}

h2 {
  font-size: 26px;
  line-height: 1.2;
  color: var(--red);
  text-align: center;
  font-weight: 500;
  margin: 0 0 26px;
}

h3 {
  font-size: 18px;
  color: var(--red);
  font-weight: 500;
  margin: 0 0 14px;
}

h4 {
  font-size: 14px;
  color: var(--red);
  margin: 0 0 8px;
}

p {
  margin: 0 0 14px;
}

ul {
  padding-left: 18px;
  margin: 0;
}

li {
  padding-left: 2px;
  margin: 0 0 6px;
}

li::marker {
  color: var(--red);
}

/* ABOUT US */

.about-intro {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 22px;
  align-items: start;
}

.about-intro img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.photo-grid {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.photo-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.photo-grid img {
  width: 100%;
  height: 145px;
  object-fit: cover;
}

/* VISION AND MISSION */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
}

.vision-mission article {
  display: flex;
  flex-direction: column;
}

.vision-mission h2 {
  margin-bottom: 18px;
}

.vision-mission img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  margin-top: 22px;
}

/* CORE VALUES */

.core-values {
  padding-top: 40px;
  padding-bottom: 45px;
}

.core-values ul {
  max-width: 660px;
  margin: auto;
}

/* SERVICES */

.services-overview {
  padding-top: 45px;
  padding-bottom: 90px;
}

.headings-grid {
  gap: 70px;
}

.headings-grid h2 {
  margin-bottom: 18px;
}

.detail-pair {
  margin-top: 48px;
  gap: 54px;
}

.detail-pair h3 {
  font-size: 16px;
}

.detail-pair ul {
  margin-top: 12px;
}

.detail-pair li {
  margin-bottom: 7px;
}

/* CLIENTS AND PROJECTS */

.clients {
  padding-top: 30px;
  padding-bottom: 110px;
}

.clients > .container > ul {
  max-width: 680px;
  margin: 0 auto 55px;
}

.client-notes {
  gap: 50px;
}

.client-notes h3 {
  font-size: 15px;
}

/* WHITE SECTION */

.white-break {
  background: #fff;
  text-align: center;
  padding: 70px 0 90px;
  color: var(--red);
  font-size: 12px;
}

.white-break .container {
  max-width: 850px;
}

.white-break img {
  max-width: 260px;
  max-height: 170px;
  object-fit: contain;
  margin: 34px auto;
}

.white-break p {
  margin: 0 0 24px;
}

/* TECHNICAL CONTENT */

.technical {
  padding-top: 65px;
  padding-bottom: 70px;
}

.technical h3 {
  font-size: 17px;
  margin-top: 32px;
}

.technical h3:first-child {
  margin-top: 0;
}

.technical .two-col {
  gap: 48px;
  margin: 20px 0 34px;
}

.technical li {
  margin-bottom: 8px;
}

.comparison {
  row-gap: 28px;
}

.comparison h4 {
  font-size: 14px;
}

.conclusion {
  margin-top: 30px;
}

/* ORGANIZATIONAL CHART */

.organization {
  background: #fff;
  padding: 55px 0 70px;
  text-align: center;
}

.organization h3 {
  font-size: 15px;
}

.org-placeholder {
  height: 210px;
  display: grid;
  place-items: center;
  color: #d71920;
  font-size: 13px;
  letter-spacing: 2px;
}

/* CALL TO ACTION */

.callout {
  background: #050505;
  color: #fff;
  padding: 48px 0;
}

.callout-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.callout h3 {
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.callout p {
  font-size: 13px;
  margin-bottom: 5px;
}

/* FOOTER */

.footer-main {
  background: #f3f3f3;
  padding: 35px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.footer-grid h3 {
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  padding: 9px 12px;
  margin-bottom: 14px;
}

.footer-grid p {
  font-size: 12px;
  margin: 0 0 8px;
}

.footer-grid a:hover {
  text-decoration: underline;
}

.footer-bottom {
  background: #071f43;
  color: #fff;
  padding: 20px 0;
}

.bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
}

.bottom-inner img {
  width: 76px;
  height: 36px;
  object-fit: contain;
  background: #fff;
}

.bottom-inner a {
  color: #fff;
}

/* RESPONSIVE DESIGN */

@media (max-width: 700px) {

  .top-strip {
    height: auto;
    min-height: 60px;
  }

  .top-inner {
    padding: 7px 16px;
  }

  .brand img {
    width: 88px;
    height: 42px;
  }

  .top-contact {
    display: block;
    text-align: right;
    font-size: 10px;
  }

  .top-contact span {
    display: block;
  }

  .hero {
    min-height: 360px;
  }

  .hero-content {
    padding: 45px 20px;
  }

  .hero h1 {
    font-size: 23px;
  }

  .container {
    width: min(100% - 34px, 560px);
  }

  .section {
    padding: 48px 0;
  }

  .about-intro {
    grid-template-columns: 1fr;
  }

  .about-intro img {
    height: 210px;
  }

  .photo-grid.four {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-grid img {
    height: 130px;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .vision-mission img {
    height: 190px;
    margin-top: 12px;
  }

  .headings-grid {
    gap: 32px;
  }

  .detail-pair {
    margin-top: 35px;
    gap: 36px;
  }

  .clients {
    padding-bottom: 65px;
  }

  .client-notes {
    gap: 34px;
  }

  .white-break {
    padding: 55px 0 65px;
  }

  .technical .two-col {
    gap: 20px;
  }

  .callout-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .bottom-inner {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
}
