:root {
  /* Brand colors */
  --color-brand: #4b9222;
  --color-brand-light: #bfcc74;
  --color-black: #343434;
  --color-white: #ffffff;
  --color-bkgd-light: #f3efe7;
  --color-grey-dark: #7f7f7f;
  --color-grey-medium: #c1c1c1;
  --color-red-dark: #b00000;
  --color-hiperlink: #0000ff;
  --color-text-body: #323232;

  /* Fonts */
  --font-primary: "Roboto", sans-serif;
  --font-secondary: "Times New Roman", serif;
  --font-hiperlink: "Open Sans", sans-serif;

  /* Spacing */
  --spacing-xxs: 4px;
  --spacing-sx: 8px;
  --spacing-sm: 12px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 48px;
  --spacing-xxxl: 64px;
}

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

svg {
  max-width: 100%;
  display: block;
  height: auto;
}

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

label {
  display: block;
}

button {
  border: none;
  background-color: transparent;
  cursor: pointer;
  user-select: none;
}

::placeholder {
  color: inherit;
}

textarea {
  display: block;
}

input,
textarea,
button,
select {
  font: inherit;
  color: inherit;
  background-color: transparent;
  appearance: none;
  border: none;
  border-radius: 0;
}

ul,
ol {
  list-style-type: none;
}

picture,
img {
  display: inline-block;
  max-width: 100%;
  width: 100%;
  height: auto;
  vertical-align: bottom;
  object-fit: cover;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 1.5px solid #333333;
  outline-offset: 0px;
}

html,
body {
  overflow-x: clip;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

/* Body Styles */
body {
  min-width: 320px;
  -webkit-tap-highlight-color: transparent;
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-black);
  background-color: var(--color-white);
}

/* ===========================
   SITE HEADER
   =========================== */

.site-header {
  width: 100%;
}

/* Brand Header */
.brand-header {
  width: 100%;
  background-color: var(--color-bkgd-light);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 175px;
  padding-top: 20px;
}

.brand-header__container {
  width: 100%;
  max-width: 1075px;
  padding: 0 var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand-header__logo-wrap {
  display: flex;
  align-items: flex-end;
}

.brand-header__logo {
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand-header__logo-tree {
  width: 175px;
  height: 175px;
}

.brand-header__logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-header__logo-title {
  font-family: var(--font-secondary);
  font-size: clamp(45px, calc(52vw / 7.68), 60px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-brand);
  letter-spacing: 8px;
  margin-top: 0px;
}

.brand-header__logo-subtitle {
  font-family: var(--font-secondary);
  font-size: clamp(27px, 2.5vw, 38px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-brand);
  letter-spacing: 7.6px;
  margin-top: -40px;
}

.brand-header__info-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sx);
  justify-content: flex-end;
}

.brand-header__info-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.weather-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
}

.weather-wrap__city {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-black);
}

.brand-header__separator {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-black);
}

.brand-header__date {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-black);
}

.search-bar {
  background-color: var(--color-white);
  border: 1px solid var(--color-grey-dark);
  padding: 6px 12px;
  border-radius: 0;
  max-width: 300px;
  display: block;
}

.search-bar__placeholder {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-grey-dark);
}

/* Navigation Bar */
.nav-bar {
  width: 100%;
  background-color: var(--color-brand);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2px 8px;
  position: relative;
}

.nav-bar__list {
  display: flex;
  gap: var(--spacing-xxxl);
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-bar__item {
  display: flex;
}

.nav-bar__link {
  position: relative;
  font-family: var(--font-primary);
  font-size: clamp(16px, calc(20vw / 7.68), 20px);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-white);
  text-shadow: rgba(0, 0, 0, 0.5) 0px 1px 2px;
  padding: 1px var(--spacing-md);
  white-space: nowrap;
}

/* ===========================
   MAIN CONTENT
   =========================== */

.big-box {
  width: 100%;
  background-color: var(--color-bkgd-light);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.big-box__wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 var(--spacing-md);
}

.main-content {
  width: 100%;
  max-width: 1075px;
  background-color: var(--color-white);
  box-shadow: 0px 6px 20px 0px rgba(184, 182, 179, 0.6);
  display: flex;
  gap: 0;
}

/* Main Box (Article) */
.main-box {
  min-width: 715px;
  flex: 1;
  padding: var(--spacing-xxl) var(--spacing-xl) 0 var(--spacing-xl);
  flex-shrink: 0;
}

.article {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.article__header {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.article__title {
  font-family: var(--font-secondary);
  font-size: clamp(35px, calc(40vw / 7.68), 46px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-black);
}

.article__figure {
  padding-top: 12px;
  max-width: 790px;
}

.article__figure-img {
  width: 100%;
  max-width: 790px;
  height: auto;
  object-fit: cover;
}

.article__caption {
  position: relative;
  background-color: var(--color-red-dark);
  padding: 0 var(--spacing-md) var(--spacing-sx);
  font-family: var(--font-primary);
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: 700;
  line-height: 1.7;
  color: var(--color-white);
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.article__caption--small {
  width: 99.9%;
  border-radius: 0 0 20px 20px;
  padding: 0 var(--spacing-md) var(--spacing-sx);
}

.article__caption--small p {
  max-width: 650px;
  margin: 0 auto;
}

.article__caption::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  width: 100%;
  height: 15px;
  background-color: var(--color-red-dark);
  z-index: 0;
}

.article__lead {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-black);
}

.article__content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.article__paragraph {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-black);
}

.article__quote {
  border: 1px solid var(--color-grey-medium);
  padding: var(--spacing-lg) var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  align-items: center;
  justify-content: center;
  position: relative;
}

.article__quote-img {
  position: absolute;
  right: 15.78px;
  top: 64px;
  width: 275.225px;
  height: 214px;
  object-fit: cover;
  pointer-events: none;
}

.article__quote-text {
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-black);
  position: relative;
  z-index: 1;
}

.article__image-wrap {
  padding: var(--spacing-md) 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.article__image {
  width: 665px;
  max-width: 100%;
  height: auto;
}

.article__subheading {
  font-family: var(--font-secondary);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-black);
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: var(--spacing-md);
}

.testimonial {
  border: 1px solid var(--color-brand);
  padding: var(--spacing-xl);
  display: flex;
  gap: var(--spacing-xl);
}

.testimonial__image {
  width: 115px;
  height: 160px;
  flex-shrink: 0;
}

.testimonial__content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  flex: 1;
}

.testimonial__title {
  font-family: var(--font-primary);
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-brand);
}

.testimonial__text {
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-black);
}

.testimonial__author {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-black);
  text-align: right;
}

/* Benefits */
.benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefits__header {
  background-color: var(--color-brand-light);
  padding: var(--spacing-sx) var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.benefits__header-text {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-black);
}

.benefits__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits__item {
  display: flex;
  gap: var(--spacing-sx);
  align-items: center;
  justify-content: center;
  width: 100%;
}

.benefits__icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.benefits__text {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-black);
  flex: 1;
}

/* Hiperlink */
.hiperlink-wrap {
  padding: var(--spacing-xxl) 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hiperlink {
  font-family: var(--font-hiperlink);
  font-size: clamp(25px, calc(28vw / 7.68), 30px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-hiperlink);
  text-decoration: underline;
  text-underline-position: from-font;
  display: block;
  width: 100%;
}

/* Comments Section */
.section-comment {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-comment__title {
  font-family: var(--font-secondary);
  font-size: clamp(24px, 2vw, 30px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-black);
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comment-wrap {
  display: flex;
  gap: 16px;
  padding: 16px 16px 16px 0;
}

.comment-wrap__avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.comment-wrap__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.comment-wrap__name {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text-body);
}

.comment-wrap__text {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-black);
}

/* ===========================
   SIDEBAR
   =========================== */

.side-bar {
  width: 360px;
  padding: var(--spacing-xxl) 0;
  flex-shrink: 0;
  padding-right: 32px;
  padding-left: 16px;
}

.side-bar__content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.side-bar__title {
  font-family: var(--font-secondary);
  font-size: clamp(24px, 2vw, 30px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-black);
}

.side-bar__articles {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sx);
  align-items: flex-start;
  justify-content: center;
}

.single-article {
  display: flex;
  gap: 16px;
  align-items: center;
  width: 100%;
  text-decoration: none;
}

.single-article__image-wrap {
  width: 74px;
  height: 74px;
  border-radius: 100px;
  overflow: hidden;
  flex-shrink: 0;
}

.single-article__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-article__text {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-black);
  flex: 1;
}

/* ===========================
   FOOTER
   =========================== */

.footer {
  width: 100%;
  background-color: var(--color-bkgd-light);
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  padding: 64px 0 var(--spacing-xxxl) 0;
}

.footer__copyright {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  align-items: center;
  max-width: 660px;
  width: 100%;
  padding: 0 var(--spacing-md);
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-black);
  text-align: center;
}

.footer__links {
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-black);
  text-decoration: underline;
}

.footer__text {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-black);
  text-align: center;
  width: 100%;
}

/* ===========================
   RESPONSIVE (Mobile)
   =========================== */

@media (max-width: 1200px) {
  .brand-header__info-wrap {
    display: none;
  }

  .brand-header__logo-subtitle {
    margin-top: -20px;
  }

  .brand-header__info-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-sm);
  }

  .weather-wrap {
    gap: var(--spacing-sx);
  }

  /* Navigation - Hamburger */
  .nav-bar {
    justify-content: flex-start;
    padding: 10px 0;
  }

  .nav-bar__list {
    display: none;
  }

  .nav-bar__list.active {
    left: 0;
  }

  .nav-bar__item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .nav-bar__link {
    display: block;
    width: 100%;
    padding: var(--spacing-md);
    font-size: 18px;
  }

  /* Main Content */

  .big-box__wrapper {
    padding: 0;
  }

  .main-content {
    flex-direction: column;
    gap: 0;
  }

  .main-box {
    width: 100%;
    min-width: auto;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-md) 0 var(--spacing-md);
  }

  .article__figure-img {
    max-width: 100%;
  }

  .article__quote-img {
    width: 150px;
    height: auto;
    right: 10px;
    top: 40px;
  }

  .article__image {
    max-width: 790px;
    width: 100%;
  }

  .testimonial {
    flex-direction: column;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
  }

  .testimonial__image {
    width: 80px;
    height: 110px;
  }

  .testimonial__author {
    text-align: left;
  }

  .benefits__header {
    padding: var(--spacing-md);
  }

  .comment-wrap {
    flex-direction: column;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) 0;
  }

  /* Sidebar */
  .side-bar {
    display: none;
  }

  /* Footer */
  .footer__links {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sx);
  }
}

@media (max-width: 768px) {
  /* Header - Brand */
  .brand-header {
    min-height: auto;
    padding: var(--spacing-lg) 0 0;
  }

  .brand-header__container {
    flex-direction: column;
    align-items: flex-end;
    gap: var(--spacing-md);
  }

  .brand-header__logo-wrap {
    width: 100%;
    justify-content: center;
  }

  .brand-header__logo {
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 717 / 209;
  }

  .brand-header__logo-tree {
    width: 29%;
    height: 100%;
  }

  .brand-header__logo-text {
    left: 35.5%;
    width: 64.5%;
  }

  .brand-header__logo-title {
    letter-spacing: 4px;
  }

  .brand-header__logo-subtitle {
    letter-spacing: 3px;
    margin-top: -25px;
  }
}

/* Extra small screens - Logo and text in column */
@media (max-width: 600px) {
  .brand-header {
    min-height: auto;
    padding: var(--spacing-lg) 0;
  }

  .brand-header__logo {
    position: static;
    width: 100%;
    max-width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
  }

  .brand-header__logo-tree {
    position: static;
    width: 150px;
    height: auto;
  }

  .brand-header__logo-text {
    position: static;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .brand-header__logo-title {
    margin-top: 0;
    font-size: clamp(40px, 10vw, 54px);
    letter-spacing: 5px;
  }

  .brand-header__logo-subtitle {
    margin-top: 0;
    font-size: clamp(20px, 5vw, 27px);
    letter-spacing: 3px;
  }
}

/* ===========================
   SUMMARY/CALLPAGE
   =========================== */

.section-callpage {
  width: 100%;
  max-width: 1075px;
  background-color: var(--color-white);
  box-shadow: 0px 6px 20px 0px rgba(184, 182, 179, 0.6);
  margin: 0 auto;
}

.callpage__content {
  max-width: 998px;
  margin: 0 auto;
}

.callpage__header {
  padding-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-bottom: 16px;
}

.callpage__title {
  font-family: var(--font-secondary);
  font-size: clamp(35px, calc(40vw / 7.68), 46px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-brand);
  text-align: center;
}

.callpage__divider {
  width: 500px;
  max-width: 100%;
  height: 0;
  border-bottom: 3px solid var(--color-brand);
}

.callpage__main {
  padding: 48px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.callpage__product {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.callpage__product-image {
  width: 316px;
  height: 274px;
  object-fit: cover;
  flex-shrink: 0;
}

.text-green {
  color: var(--color-brand);
}

.callpage__text {
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.callpage__subtitle {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-black);
  padding-top: 16px;
}

.callpage__paragraph {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-black);
}

.callpage__button-wrap {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}

.callpage__instruction {
  font-family: var(--font-primary);
  font-size: clamp(16px, calc(18vw / 7.68), 20px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-black);
  text-align: center;
}

.text-orange {
  color: #ff8c00;
}

.text-red {
  color: var(--color-red-dark);
}

.callpage__button,
.callpage__phone-number {
  display: block;
  background-color: #fff;
  color: #00d26a;
  font-family: var(--font-primary);
  font-size: clamp(28px, 2.5vw, 35px);
  font-weight: 700;
  line-height: 1.5;
  padding: 16px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  max-width: 645px;
  width: 100%;
  transition: all 0.2s ease;
  border: 2px solid #00d26a;
  box-shadow: 3px 3px 10px 0 rgba(0, 0, 0, 0.2);
}

.callpage__button:hover,
.callpage__phone-number:hover {
  background-color: #00d26a;
  color: #fff;
}

.callpage__phone-number.hidden,
.callpage__button.hidden {
  display: none;
}

.callpage__info {
  margin-top: 16px;
  padding: 0 114px;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.callpage__hours {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-black);
}

.callpage__contact-info {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-black);
  margin-top: 16px;
}

.callpage__warning {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  margin-top: 16px;
  color: #f00;
}

.callpage__trust-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
}

.callpage__trust-icon {
  height: 74px;
  width: auto;
  object-fit: contain;
}

/* Responsive for Summary/Callpage */
@media (max-width: 768px) {
  .callpage__content {
    padding: 0 var(--spacing-md);
  }

  .callpage__product {
    flex-direction: column;
    align-items: center;
  }

  .callpage__product-image {
    width: 100%;
    max-width: 280px;
    height: auto;
  }

  .callpage__text {
    text-align: center;
  }

  .callpage__subtitle {
    padding-top: 0;
  }

  .callpage__button-wrap {
    gap: var(--spacing-md);
  }

  .callpage__info {
    padding: 0;
  }

  .callpage__trust-icons {
    flex-wrap: wrap;
    gap: var(--spacing-md);
  }

  .callpage__trust-icon {
    height: 60px;
  }
}

@media (max-width: 600px) {
  .callpage__divider {
    width: 100%;
  }
}
