/* FONTS */
@font-face {
  font-family: 'CANNAHeadingBlack';
  src: url('../fonts/cannaheading-black-webfont.woff2') format('woff2'),
       url('../fonts/cannaheading-black-webfont.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'CANNAHeadingLight';
  src: url('../fonts/cannaheading-light-webfont.woff2') format('woff2'),
       url('../fonts/cannaheading-light-webfont.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'CANNATextRegular';
  src: url('../fonts/cannatextregular-webfont.woff2') format('woff2'),
       url('../fonts/cannatextregular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'CANNATextBold';
  src: url('../fonts/cannatextbold-webfont.woff2') format('woff2'),
       url('../fonts/cannatextbold-webfont.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-primary: #00685e;
  --color-secondary: #00342f;
  --color-light-primary: #ebf3f2;
  --color-light-secondary: #c5ddda;
  --color-light-accent: #fff;
  --color-dark-primary: #001a18;
  --color-dark-accent: #aed000;
}

/* GENERAL */
html {
  margin: 0;
  scroll-behavior: smooth;
  font-size: .625em;
}
body {
  font-family: 'CANNATextRegular', sans-serif;
  font-size: 1.6rem;
  line-height: 1.5em;
  position: relative;
  margin: 0;
  color: var(--color-primary);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'CANNAHeadingBlack', sans-serif;
  font-style: normal;
  font-weight: 800;
  line-height: 1em;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke-width: 0.2px;
  -moz-osx-font-smoothing: grayscale;
}
h1 {
  margin-top: 0;
  font-size: 7rem;
  letter-spacing: -0.2rem;
  line-height: 0.8em;
  text-wrap: balance;
  margin-bottom: 1.5rem;
  text-align: center;
}
h1::after {
  content: '';
  display: inline-block;
  margin-top: -1.5rem;
  margin-left: 1.5rem;
  width: 40px;
  height: 75px;
  background: url('../img/icon-question.svg') center no-repeat;
  background-size: contain;
}
h2 {
  font-size: 4rem;
  margin: 0.5rem 0 1rem;
  color: var(--color-primary);
  text-wrap: balance;
}
h3 {
  font-size: 2rem;
  margin: 0.5rem 0;
  text-wrap: balance;
}
@media handheld, only screen and (min-width: 855px) {
  h1 {
	text-align: left;
  }
}
@media handheld, only screen and (min-width: 580px) {
  h1 {
	font-size: 12rem;
  }
  h1::after {
	width: 50px;
	height: 100px;
  }
  h2 {
	font-size: 5rem;
  }
  h3 {
	font-size: 2.6rem;
  }
}

strong {
  font-family: 'CANNATextBold', sans-serif;
}
p {
  margin: 1.8rem 0;
  color: var(--color-secondary);
}
ul li {
  color: var(--color-secondary);
}

.section-dark,
.section-dark p,
.section-dark ul li {
  color: var(--color-light-accent);
}

a {
  color: var(--color-primary);
  text-decoration: none;
}
a:hover {
  color: var(--color-dark-secondary);
  text-decoration: underline;
}
input[type="submit"],
.button {
  color: #fff;
  text-transform: uppercase;
  padding: 1.3rem 1.5rem;
  background: var(--color-primary);
  font-size: 1.6rem;
  display: inline-block;
  min-width: fit-content;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  width: 100%;
  max-width: 280px;
  font-family: 'CANNATextBold', sans-serif;
}
input[type="submit"]:hover,
.button:hover {
  color: #fff;
  background: var(--color-secondary);
  text-decoration: none;
}
@media handheld, only screen and (min-width: 580px) {
  input[type="submit"],
  .button {
	font-size: 2rem;
  }
}
img {
  max-width: 100%;
  height: auto;
}
select,
textarea,
input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 1rem;
  font-size: 1.8rem;
  font-family: 'CANNATextRegular', sans-serif;
  font-style: normal;
  border: none;
  border-radius: 0.5rem;
  box-sizing: border-box;
}
select {
  max-width: 50%;
}
.contact-form label {
  font-weight: bold;
}
.contact-form label .required {
  color: red;
}
::selection {
  background: var(--color-primary);
  color: #fff;
}

.grid-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  text-align: left;
}
.subtitle {
  margin-bottom: 3rem;
  margin-top: 0;
  font-family: 'CANNAHeadingLight', sans-serif;
  font-size: 2.6rem;
  font-style: normal;
}
.align-center {
  text-align: center;
}
.button-inverted {
  text-align: center;
  background: var(--color-light-accent);
  color: var(--color-primary);
}
.button.button-inverted:hover {
  background: var(--color-primary);
  color: var(--color-light-accent);
}
.msg-success {
  display: none;
  text-align: right;
}
.success {
  color: green;
  margin-bottom: 0;
}

/* LAY-OUT */
/* Sections */
.section {
  box-sizing: border-box;
  padding: 5rem 0;
}
.section .row {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}
.section .grid-columns .column-left,
.section .grid-columns .column-right {
  align-self: center;
}
.section-1 .grid-columns .column-right,
.section-2 .grid-columns .column-left,
.section-5 .grid-columns .column-right,
.section-7 .grid-columns .column-right,
.section-8 .grid-columns .column-left {
  text-align: center;
}
@media handheld, only screen and (min-width: 580px) {
  .section {
	padding: 8rem 0;
  }
}
@media handheld, only screen and (min-width: 835px) {
  .section {
	padding: 10rem 0;
  }
}

/* Header */
.header {
  min-height: 62vh;
  text-align: center;
  box-sizing: border-box;
  position: relative;
  background: var(--color-secondary) url('../img/bg-header.jpg') center no-repeat;
  background-size: cover;
}
.header .logo {
  max-width: 270px;
  width: 100%;
  margin: 0 auto;
}
.header .logo img {
  margin: -1.4rem auto 0;
}
.header .section {
  font-size: 1.8rem;
  line-height: 1.5em;
}
@media handheld, only screen and (max-width: 580px) {
  .header .section {
    padding-top: 3rem;
  }
}
.header .section p:first-child {
  margin-top: 0;
}

/* Section 1 */
.section-1 {

}

/* Section 2 */
.section-2 {
  padding-top: 0;
  position: relative;
}
.section-2 .grid-columns .column-left,
.section-3 .grid-columns .column-left,
.section-8 .grid-columns .column-left {
  padding: 3rem 0;
  order: 1;
}
@media handheld, only screen and (min-width: 835px) {
  .section-2 .grid-columns .column-left,
  .section-3 .grid-columns .column-left,
  .section-8 .grid-columns .column-left {
	order: 0;
  }
}

/* Section 3 */
.section-3 .grid-columns .column-right img {
  max-width: 400px;
}

/* Section 4 */
.section-4 {
  overflow: hidden;
}
.section-4 .section-bg {
  position: relative;
}
.section-4 .section-bg img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 100%;
  min-height: 2180px;
  object-fit: cover;
  z-index: -1;
}
@media handheld, only screen and (min-width: 768px) {
  .section-4 .section-bg img {
	min-height: 940px;
  }
}
.section-4 h2 {
  color: var(--color-light-accent);
}
.section-4 h2,
.section-4 .intro {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.section-4 .intro {
  font-size: 1.8rem;
  margin-bottom: 4rem;
  line-height: 1.5em;
}
.product-range-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.product-range-wrapper .product-range {
  max-width: 380px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
  background: var(--color-light-accent);
  border-radius: 3rem;
  box-shadow: 0 0.5rem 2rem rgba(0,0,0,0.15);
}
.product-range-wrapper .product-range p,
.product-range-wrapper .product-range ul li {
  color: var(--color-primary);
}
.product-range-wrapper .product-range h3 {
  color: var(--color-dark-accent);
}
.product-range-quote {
  color: var(--color-primary);
  margin-top: 2rem;
  text-align: center;
  font-size: 3.2rem;
  font-style: oblique;
  font-family: 'CANNATextBold', sans-serif;
  line-height: 1.2em;
}
.product-range-quote::after {
  content: '';
  background: url('../img/icon-marker-line.svg') center no-repeat;
  background-size: contain;
  display: block;
  width: 20%;
  margin: 1.5rem auto 0;
  height: 1rem;
}

/* Section 5 */
.section-5 {
  background: var(--color-light-primary);
}

/* Section 6 */
.section-6 {
  padding: 4rem 0 34rem;
  color: var(--color-light-accent);
  background: var(--color-primary);
  background: linear-gradient(45deg, #025D58 75%, #468b35 100%);
  position: relative;
  z-index: 0;
}
.section-6::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../img/content-premium-solutions.png') left bottom 6% no-repeat;
  background-size: 580px;
  z-index: -1;
}
@media handheld, only screen and (min-width: 835px) {
  .section-6 {
	padding: 10rem 0;
  }
  .section-6::after {
	background-position: left center;
	background-size: 48%;
  }
}
@media handheld, only screen and (min-width: 1920px) {
  .section-6 {
	padding: 10rem 0;
  }
  .section-6::after {
	background-size: auto;
  }
}
.section-6 h2 {
  color: var(--color-light-accent);
}

/* Section 7 */

/* Section 8 */
.section-8 {
  padding-top: 0;
}

/* Section 9 */
.section-9 {
  background: var(--color-light-primary);
  text-align: center;
  padding-bottom: 6rem;
}
.section-9 .row {
  max-width: 960px;
}
.contact-form .form-item {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-form .form-item label {
  align-self: center;
  text-align: left;
  font-family: 'CANNATextBold', sans-serif;
}
.contact-form .form-item-submit {
  margin: 3rem 0 0;

}
.contact-form .form-item-submit input {
  grid-column: 1;
  justify-self: center;
  width: 100%;
  max-width: 280px;
}

/* Section 10 (FAQ) */
.section-10 {
  background: var(--color-light-primary);
  padding-bottom: 16rem;
}

/* --- Accordion --- */
.faq-container {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.faq-container h2 {
  padding: 20px 24px;
  margin: 0;
  font-size: 24px;
  border-bottom: 1px solid #e0e0e0;
}
.faq-item {
  border-bottom: 1px solid #e0e0e0;
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-question {
  background-color: transparent;
  border: none;
  text-align: left;
  width: 100%;
  padding: 20px 24px;
  cursor: pointer;
  color: var(--color-primary);
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease;
}
.faq-question:hover {
  background-color: #f9f9f9;
}
.faq-icon {
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--color-dark-accent);
  transition: transform 0.3s ease-in-out;
}
/* Answer Styling & Animation */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
  padding: 0 24px;
  background-color: #f9f9f9;
}
/* --- Accordion: Active State --- */
.faq-item.active .faq-answer {
  /* Set a max-height large enough to show any answer content */
  max-height: 400px; 
  padding-bottom: 1rem;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Footer */
.footer {
  padding: 8rem 0 3rem;
  background: var(--color-dark-primary);
  text-align: center;
  position: relative;
}
.footer::before {
  content: '';
  width: 100%;
  height: 110px;
  position: absolute;
  top: -6rem;
  left: 0;
  background: url('../img/footer-texture.svg') center top no-repeat;
  background-size: cover;
}
.footer .logo {
  max-width: 300px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}
.footer .logo img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}
.footer .copy {
  margin-top: 0;
  color: var(--color-light-primary);
}
.footer .copy a {
  font-weight: 600;
  color: var(--color-light-secondary);
}

/* Min Width */
@media handheld, only screen and (min-width: 500px) {

}
@media handheld, only screen and (min-width: 768px) {
  .grid-columns {
	grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  }

  /* Section 4 */
  .product-range-wrapper {
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 1rem;
  }

  /* Section 7 */
  .contact-form .form-item {
    grid-template-columns: 1fr 70%;
    grid-template-rows: 1fr;
    gap: 2rem;
  }
  .contact-form .form-item label {
	align-self: center;
	text-align: right;
  }
  .contact-form .form-item-submit input {
    grid-column: 2;
	justify-self: end;
  }
}
@media handheld, only screen and (min-width: 835px) {
  body {
	font-size: 1.8rem;
  }
  .section-4 .intro {
	font-size: 2.2rem;
  }
}
/* Max Width */
@media handheld, only screen and (max-width: 1460px) {

}
@media handheld, only screen and (max-width: 1320px) {

}
@media handheld, only screen and (max-width: 960px) {

}
@media handheld, only screen and (max-width: 768px) {

}
@media handheld, only screen and (max-width: 500px) {

}

/* Max Height */
@media handheld, only screen and (max-height: 460px) {

}
