*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }
body {
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  color: #8e8e8e;
  background: #f9f9f9;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #5199a8; transition: all .2s ease-in-out; }
a:hover { color: #8dc7d3; }

.body-wrap { background: #fff; }
.container { width: 960px; max-width: 100%; margin: 0 auto; padding: 4em 1.6em; }

/* ---------- Header ---------- */
#header { background: #fff; text-align: center; padding: 52px 1.6em 25px; position: relative; }
#header .logo { display: inline-block; }
#header .logo img { max-width: 400px; width: 100%; }

.nav-trigger { display: none; }

/* ---------- Navigation ---------- */
#navigation {
  width: 960px; max-width: 100%; margin: auto; padding-bottom: 40px;
  text-align: center; text-transform: uppercase; overflow: hidden; white-space: nowrap;
  font-family: 'Montserrat', sans-serif; font-size: 11px; letter-spacing: 1px;
}
#navigation::before, #navigation::after {
  content: ""; display: inline-block; vertical-align: middle;
  width: 50%; height: 1px; background: #d0d0d0; position: relative;
}
#navigation::before { right: .5em; margin-left: -50%; }
#navigation::after { left: .5em; margin-right: -50%; }
#navigation ul { display: inline-block; margin: 0; padding: 0; list-style: none; vertical-align: middle; }
#navigation li { display: inline-block; }
#navigation a { display: block; padding: 10px 20px; color: #484848; text-decoration: none; }
#navigation li:hover, #navigation li.active { background: #f6f6f6; }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 510px; display: flex; align-items: center;
  background: url("../img/bg-hero.jpg") center / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.1); }
.hero-inner { position: relative; width: 900px; max-width: 100%; margin: auto; padding: 4em 1.6em; }
.hero h1 {
  margin: 0 0 .3em; color: #fff; font-family: 'Questrial', sans-serif;
  font-weight: normal; font-size: 60px; line-height: 1.1;
}
.hero p { margin: 0; color: #fff; font-family: 'Questrial', sans-serif; font-size: 1.33em; }

/* ---------- Content ---------- */
#content { font-family: 'Questrial', sans-serif; }
#content p { font-size: 18px; line-height: 27px; color: #7b8c89; margin: 0; }
#content h2 { font-family: 'Questrial', sans-serif; font-weight: bold; color: #000; margin: 0 0 .3em; }

.intro {
  background: url("../img/bg-intro.jpg") 50% 81.65% / cover no-repeat;
}
.intro .container { padding-top: calc(4em + 47px); padding-bottom: calc(4em + 24px); }
#content .intro p { color: #fff; text-align: justify; }

.products-heading { padding-bottom: 0; }
.section-title { font-size: 32px; margin-bottom: 86px !important; }

.product .container { padding-top: 2em; padding-bottom: 2em; }
.product:first-of-type .container { padding-top: 4em; }
.product h2 { font-size: 24px; margin-bottom: 10px !important; }
.product-row { display: flex; gap: 30px; align-items: flex-start; }
.product-row > * { flex: 1 1 50%; min-width: 0; }
.product-row img { width: 100%; }
#content .product-row p { color: #000; font-weight: bold; }

.cta { background: #696969; text-align: center; }
.cta .container { padding-top: calc(4em + 10px); padding-bottom: calc(4em + 10px); }
.button {
  display: inline-block; padding: 14px 28px; background: #5199a8; color: #fff;
  font-family: 'Raleway', sans-serif; font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; text-decoration: none;
}
.button:hover { background: #5cb0c2; color: #fff; }
.button:active { background: #44818e; }

/* ---------- Contact page ---------- */
.contact-row { display: flex; gap: 30px; align-items: flex-start; }
.contact-map { flex: 0 0 56%; min-width: 0; }
.contact-map iframe { width: 100%; height: 400px; border: 0; display: block; }
.contact-info { flex: 1; }
#content .contact-info p { color: #2a2a2a; }

/* ---------- Footer ---------- */
#footer { background: #f9f9f9; font-family: 'Raleway', sans-serif; font-size: 14px; }
#footer .container { color: #2a2a2a; }

/* ---------- Mobile ---------- */
@media (max-width: 992px) {
  #header { padding: 20px 60px; }
  #header .logo img { max-width: 260px; }
  .nav-trigger {
    display: block; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
    background: none; border: 0; padding: 8px; cursor: pointer;
  }
  .nav-trigger span { display: block; width: 24px; height: 3px; margin: 0 0 5px; background: #484848; }
  .nav-trigger span:last-child { margin-bottom: 0; }
  #navigation { display: none; padding-bottom: 0; white-space: normal; }
  #navigation::before, #navigation::after { display: none; }
  #navigation.open { display: block; border-top: 1px solid #eee; }
  #navigation ul, #navigation li { display: block; }
  #navigation a { padding: 14px 20px; }

  .hero { height: 360px; }
  .hero h1 { font-size: 36px; }
  .container { padding: 2.5em 16px; }
  #content p { font-size: 16px; line-height: 1.5; }
  .section-title { font-size: 26px; margin-bottom: 30px !important; }
  .product h2 { font-size: 20px; }
}
@media (max-width: 600px) {
  .product-row, .contact-row { flex-direction: column; gap: 16px; }
  .product-row > *, .contact-map { flex-basis: auto; width: 100%; }
  .contact-map iframe { height: 300px; }
}
