@charset "UTF-8";
/* CSS Document */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Avenir Next', sans-serif;
  line-height: 1.6;
  color: #003878;
  background: #fff;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Typography */
h1, h2, h3 {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  color: #003878;
}
h1 {
  font-size: 7rem;
    line-height: 0.9em;
}
h1 span {
  display: inline-block;
  background-image: url("images/up-to-spec-underline.svg");
    background-size: 600px;
        background-repeat: no-repeat;
        background-position: 0px 80px;
    padding-bottom: 10px;
}
h2 {
  font-size: 75px;
     line-height: 1em;
    margin-bottom: 30px;
}

h2 span {
  display: inline-block;
  background-image: url("images/up-to-spec-underline.svg");
    background-size: 500px;
        background-repeat: no-repeat;
        background-position: 0px 55px;
    padding-bottom: 10px;
}


h3 {
  font-size: 3rem;
    line-height: 3rem;
    margin-bottom: 40px;
}
h4 {
  font-size: 1.2rem;
    font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid #F16737;
  color: #003878;
font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  transition: 0.3s;
    font-size: 20px;
}
.btn:hover {
  background: #F16737;
  color: #fff;
}
.btn-center {
    display: flex;
    justify-content: center;
}

/* Navigation */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 3rem;
    border-bottom: 1px solid #FFF;
}
.logo {
  font-family: 'Anton', sans-serif;
  font-size: 1.5rem;
  color: #003878;
}
.nav-links li {
  display: inline-block;
  margin-left: 5vw;
}
.nav-links a {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  border-bottom: 6px solid transparent;
    font-size: 1.2em;
}
.nav-links a:hover {
  border-bottom: 6px solid #F16737;
}

/* Hero Section */
.hero {
  background: #FFEADE;
  position: relative;
  text-align: left;
}
.hero-content {
    position: relative;
  z-index: 1;
  margin: auto;
    padding: 10vw 3rem;
    background-image: url("images/hero-image.png");
    background-position: right;
    background-repeat: no-repeat;
    background-size: contain;
}
.hero-text{    
     position: relative;
  z-index: 2;
}
.hero-overlay {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,234,222,0.90);
  z-index: 0;
  pointer-events: none;
}
.hero p {
  margin-top: 1rem;
  font-weight: 500;
}

/* Sections */
.why,
.what-we-do,
.services,
.why-us {
  background: #fff;
  margin: auto;
    padding: 6vw 3rem;
}
.why p {
  margin-top: 1rem;
}
.what-we-do {
  background: #003878;
  color: white;
     background-image: url("images/fire-door-mock.png");
    background-position: -5vw;
    background-repeat: no-repeat;
    background-size: contain;
}
.what-we-do h2 {
  color: white;
}
.what-we-do ul, .why-us ul {
  margin-top: 1rem;
  padding-left: 0px;
}
.what-we-do li, .why-us li {
  margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.20);
    padding-bottom: 1rem;
     padding-left: 40px;
    background-image: url("images/up-to-spec-tick.svg");
    background-position: -3px left;
    background-repeat: no-repeat;   
}
.why-us li {
    border-bottom: 1px solid rgba(0,56,120,0.21);
}

.two-col-grid {
    display: grid;
  grid-template-columns: 50% auto;
  gap: 2rem;
}
.services .service-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.services {
    background-color: #FFEADE;
}
.service {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.service-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.service-text h3,
.service-text p {
  margin: 0;
}

.why-us .split {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.priority-box {
  clip-path: polygon(0 2vw,2vw 0,100% 0,100% calc(100% - 2vw),calc(100% - 2vw) 100%,0 100%); 
  background: #E7EBF4;
  padding: 6vw;
  border-radius: 8px;
  flex: 1;
    margin-left: 7vw;
}
.priority-box h3 {
  margin-bottom: 1rem;
}
.contact {
  padding: 4rem 1rem 2rem;
  text-align: left;
    border-top: rgba(0,56,120,0.50) solid 1px;
}
.contact .split {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}
.logo-footer {
  text-align: right;
  padding: 2rem 1rem 0;
  font-family: 'Anton', sans-serif;
  color: #003878;
  font-size: 1.2rem;
}
.footer-text {
    max-width: 400px;
}
/* Responsive */
@media (max-width: 996px) {
  h1 {
    font-size: 4.5rem;
      line-height: 3.8rem;
  }
    
    h1 span {
        background-position: 0px 40px;
    padding-bottom: 10px;
}    
      h2 {
    font-size: 3rem;
  }
  .nav-links li {
    margin-left: 1rem;
  }
  .why-us .split,
  .contact .split {
    flex-direction: column;
  }
    .two-col-grid {
  grid-template-columns: auto;
         gap: 0rem;
}
.services .service-items {
  grid-template-columns: repeat(auto-fit, minmax( 1fr));
}
    .priority-box {
    margin-left: 0px;
}
    .hero-content {
    background-size: cover;
        
}
    .what-we-do {
     background-image: none;
    }
    .hero-overlay {
    display: block;
  }
    .why,
.what-we-do,
.services,
.why-us {
    padding: 6vw 2rem;
}
    .container {
  padding: 1rem 0rem;
}
    .nav-links li {
  display: list-item;
}
    .contact-details {
        margin-top: 20px;
    }
}