/* Evolve Biologix — shared site styles (restored from the 2024–2025 Divi site) */
:root {
  --text: #474747;
  --grey: #f4f4f4;
  --grey-2: #efefef;
  --blue: #7cb1c6;
  --teal-line: #7ebec5;
  --navy: #333b7b;
  --footer-light: #82b5c9;
  --charcoal: #434343;
  --link-blue: #2ea3f2;
  --heading: "Fjalla One", Helvetica, Arial, sans-serif;
  --body: "Libre Franklin", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 500 16px/1.7 var(--body);
  -webkit-font-smoothing: antialiased;
}
body.home { background: var(--grey); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--heading); font-weight: 400; margin: 0; line-height: 1.3; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.row { width: 80%; max-width: 1080px; margin: 0 auto; }
.row-wide { width: 90%; max-width: 1152px; margin: 0 auto; }
.section { padding: 51px 0; }
.page-title { font-size: 55px; color: var(--blue); text-transform: uppercase; margin-bottom: 30px; }
.section-title { font-size: 55px; }
.center { text-align: center; }

/* ---------- Header / nav ---------- */
.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-top: 50px;
}
.logo img { width: 280px; }
.nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 22px;
  margin: 18px 0 0;
  padding: 0;
  max-width: 560px;
}
.nav a {
  font: 18px/1.4 var(--heading);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  padding: 6px 0;
  display: inline-block;
  transition: opacity .2s;
}
.nav a:hover { opacity: .65; }
.nav a[aria-current="page"] { color: #222; }
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--text);
}

/* Inner pages: white header over a dark banner */
.banner {
  position: relative;
  min-height: 340px;
  background: #333 center / cover no-repeat;
}
.banner .site-header { padding-top: 40px; }
.banner .nav a, .banner .menu-toggle { color: #fff; }
.banner .nav a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.banner-about {
  background-image: linear-gradient(rgba(0,0,0,.2), rgba(0,0,0,.2)), url("../images/about-header-background_1600x380.jpg");
}
.banner-mountain { background-image: url("../images/Banner-Careers-1_1600x380.jpg"); }

/* ---------- Buttons ---------- */
.button {
  display: inline-block;
  background: var(--text);
  color: #fff;
  font: 20px/1.7 var(--heading);
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 40px;
  border: 0;
  cursor: pointer;
  transition: background .2s;
}
.button:hover { background: #2e2e2e; }
.button-outline {
  display: inline-block;
  font: 500 20px/1.7 var(--body);
  color: var(--blue);
  background: transparent;
  border: 2px solid var(--blue);
  border-radius: 3px;
  padding: 6px 20px;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.button-outline:hover { background: var(--blue); color: #fff; }

/* ---------- Home ---------- */
.hero {
  position: relative;
  min-height: 780px;
  background: #fff url("../images/eneko-urunuela-646064-unsplash-1920.jpg") center / cover no-repeat;
}
.hero-text { padding-top: 70px; padding-left: 10%; }
.hero-text img { width: 346px; }
.features { padding: 40px 0 0; }
.quote h1 { font-size: 55px; text-align: center; padding: 20px 0; }
.zigzag {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 5.5%;
  padding: 20px 0 0;
}
.col { display: flex; flex-direction: column; }
.col > * + * { margin-top: 34px; }
.col.right { padding-top: 20px; }
.feature h2 { font-size: 27px; margin-bottom: 14px; }
.divider { border: 0; border-top: 1px solid var(--teal-line); margin-left: 0; margin-right: 0; }
.showcase {
  background: linear-gradient(176deg, var(--grey) 47%, var(--blue) 48%);
  padding: 40px 0 0;
}
.showcase h2 { font-size: 34px; text-align: center; margin-bottom: 10px; }
.showcase img { width: 795px; margin: 0 auto; }
.benefits { background: var(--blue); padding: 40px 0 38px; }
.benefits .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5.5%; }
.benefits h3 { font-size: 26px; margin-bottom: 10px; }
.slant { height: 134px; background: linear-gradient(176deg, var(--blue) 47%, var(--grey) 48%); }
.purpose { padding: 20px 0 50px; }
.purpose .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 5.5%;
  align-items: start;
  padding-top: 60px;
}
.purpose h2 { font-size: 54px; color: var(--blue); text-align: right; }
.purpose .actions { text-align: right; margin-top: 30px; }

/* ---------- About ---------- */
.about-intro { background: var(--grey-2); }
.mission-list { display: grid; gap: 34px; padding-top: 50px; }
.mission-item { display: grid; grid-template-columns: 1fr 1fr; column-gap: 5.5%; align-items: start; }
.mission-item h4 { font-size: 33px; }
.mission-item strong, .mission-item b { font-weight: 700; }
.values img { margin: 40px auto 0; }
.team { background: var(--charcoal); color: #fff; text-align: center; }
.team img { width: 100px; margin: 0 auto 20px; }
.team h2 { font-size: 63px; margin-bottom: 20px; }
.team p { font-size: 22px; line-height: 1.4; max-width: 576px; margin: 0 auto; }
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 40px 0 20px;
  background: #000;
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.drives h1 { margin-bottom: 40px; }

/* ---------- Contact ---------- */
.contact-form h3 { font-size: 40px; margin-bottom: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 3%; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid p { margin: 0; }
.contact-form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  font: 500 14px/1.5 var(--body);
  color: var(--text);
  background: #eee;
  border: 0;
  border-radius: 0;
  padding: 16px;
}
.contact-form ::placeholder { color: #999; }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; }
.contact-form .invalid { outline: 2px solid #c0392b; }
.form-actions { display: flex; justify-content: flex-end; align-items: center; gap: 20px; margin-top: 18px; }
.form-actions .button-outline { color: var(--link-blue); border-color: var(--link-blue); }
.form-actions .button-outline:hover { background: var(--link-blue); color: #fff; }
.form-status { font-size: 15px; }

/* ---------- Under construction ---------- */
.construction { text-align: center; padding: 90px 0 110px; }
.construction svg { color: var(--blue); margin: 0 auto 24px; display: block; }
.construction h1 { font-size: 55px; color: var(--blue); text-transform: uppercase; margin-bottom: 16px; }
.construction p { max-width: 560px; margin: 0 auto 30px; }
.construction .links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.construction .button-outline { font: 20px/1.7 var(--heading); text-transform: uppercase; padding: 16px 38px; border-radius: 0; }

/* ---------- Footer ---------- */
footer {
  background: linear-gradient(180deg, var(--navy) 0%, var(--footer-light) 100%);
  color: #fff;
  font-size: 14px;
  padding: 18px 0;
}
footer .row { text-align: center; opacity: .9; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { min-height: 620px; }
  .site-header { align-items: center; padding-top: 30px; position: relative; }
  .banner .site-header { padding-top: 30px; }
  .banner { min-height: 260px; }
  .logo img { width: 220px; }
  .menu-toggle { display: block; }
  .nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
    flex-direction: column;
    gap: 0;
    margin: 10px 0 0;
    max-width: none;
    background: #fff;
    border-top: 3px solid var(--blue);
    padding: 10px 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,.12);
  }
  .nav.open ul { display: flex; }
  .nav li + li { border-top: 1px solid #eee; }
  .nav a, .banner .nav a { display: block; padding: 10px 0; color: var(--text); }
  .banner .nav a[aria-current="page"] { color: #222; text-decoration: none; }
  .hero-text { padding-left: 0; padding-top: 50px; }
  .hero-text img { width: 280px; }
  .zigzag, .purpose .row, .benefits .row, .mission-item { grid-template-columns: 1fr; }
  .mission-item h4 { margin-top: 20px; font-size: 28px; }
  .col.right { padding-top: 40px; }
  .benefits .row { gap: 30px; }
  .purpose h2 { text-align: left; }
  .purpose .actions { text-align: left; margin-bottom: 40px; }
  .quote h1, .purpose h2, .page-title, .section-title, .construction h1 { font-size: 42px; }
  .team h2 { font-size: 48px; }
  .slant { height: 80px; }
}
@media (max-width: 600px) {
  .row, .row-wide { width: auto; margin: 0 16px; }
  .hero { min-height: 520px; background-position: 55% center; }
  .banner { min-height: 200px; }
  .logo img { width: 180px; }
  .hero-text img { width: 220px; }
  .quote h1, .purpose h2, .page-title, .section-title, .construction h1 { font-size: 34px; }
  .contact-form h3 { font-size: 28px; }
  .showcase h2 { font-size: 26px; }
  .feature h2 { font-size: 24px; }
  .team p { font-size: 19px; }
  .form-grid { grid-template-columns: 1fr; }
}
