/* AR Herbals: shared styles. Values measured from the WordPress site (Herbalist theme + Elementor). */

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("/assets/fonts/nunito-sans-latin.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #214842;
  --text: #556260;
  --gold: #efc360;
  --accent: #258f67;
  --light: #fafafa;
  --heading: "Nunito Sans", sans-serif;
  --body: "Montserrat", sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; vertical-align: middle; }

a { color: inherit; text-decoration: none; transition: color 0.5s, background 0.5s; }

h1, h2, h3, h4 {
  margin: 0 0 12px;
  color: var(--green);
  font-family: var(--heading);
}
h1 { font-size: 56px; line-height: 1.1; font-weight: 900; }
h2 { font-size: 36px; line-height: 1.2; font-weight: 800; }
h3 { font-size: 17px; line-height: 1.23; font-weight: 700; }
h4 { font-size: 17px; line-height: 1.23; font-weight: 700; margin-bottom: 6px; }
p { margin: 0; padding-top: 6px; }

.icon { display: inline-block; width: 1em; height: 1em; fill: currentColor; vertical-align: -0.125em; }

/* Bootstrap-style container used by the header and footer */
.container { width: 100%; margin: 0 auto; padding: 0 25px; }
@media (min-width: 992px) { .container { max-width: 960px; padding: 0 12px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }

/* Elementor-style boxed section used by page content */
.section { width: 100%; max-width: 1140px; margin: 0 auto; }

.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 26px;
  background: var(--gold);
  color: var(--green);
  font-family: var(--heading);
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.5s ease;
}
.btn:hover, .btn:focus-visible { background: var(--accent); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: #fff;
  box-shadow: 0 0 15px rgba(37, 143, 103, 0.07);
}
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 12px 0;
}
.nav-brand { display: block; margin-right: 60px; }
.nav-brand img { display: block; width: 117px; height: 86px; }
.nav-toggle { display: none; }
.nav-menu { display: flex; flex: 1; align-items: center; justify-content: space-between; }
.nav-links { display: flex; margin: 0; padding: 0; list-style: none; }
.nav-links li { padding: 20px 36px 20px 0; }
.nav-links a {
  display: block;
  padding: 3px 0;
  color: var(--green);
  font-family: var(--heading);
  font-size: 17px;
  line-height: 1;
  font-weight: 700;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent); }
.nav-phone { display: flex; align-items: center; }
.phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 500px;
  background: var(--gold);
  color: var(--green);
  font-size: 17px;
}
.phone-icon:hover { background: var(--accent); color: #fff; }
.nav-phone .tel { margin-left: 13px; color: #000; font-weight: 700; }

@media (max-width: 991px) {
  .nav { padding: 25px 0; }
  .nav-brand { margin-right: auto; }
  .nav-toggle {
    display: block;
    position: relative;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .nav-toggle span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--text);
    transition: all 0.25s ease-in-out;
  }
  .nav-toggle span:nth-child(1) { top: 0; }
  .nav-toggle span:nth-child(2) { top: 10px; }
  .nav-toggle span:nth-child(3) { top: 20px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 10px; transform: rotate(135deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { left: -50px; opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 10px; transform: rotate(-135deg); }
  .nav-menu {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 25px;
  }
  .nav-menu.open { display: flex; }
  .nav-links { flex-direction: column; width: 100%; }
  .nav-links li { padding: 0; }
  .nav-links a { padding: 14px 0; }
  .nav-phone { padding: 10px 0 0; }
}

/* ---------- Floating buttons ---------- */
.pdf-tab {
  position: fixed;
  right: 100px;
  bottom: 0;
  z-index: 9999;
  padding: 10px 20px;
  border-radius: 10px 10px 0 0;
  background: var(--gold);
  color: #000;
  font-weight: 600;
}
.pdf-tab .icon { margin-left: 9px; color: var(--green); transition: color 0.5s; }
.pdf-tab:hover { background: var(--green); color: #fff; }
.pdf-tab:hover .icon { color: #fff; }

.to-top {
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  color: var(--green);
  font-size: 25px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s, color 0.5s;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { color: var(--accent); }
@media (max-width: 767px) { .to-top { right: 20px; bottom: 20px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--green); padding-top: 50px; }
.footer-cols { display: flex; flex-wrap: wrap; margin: 0 -12px; padding-bottom: 59px; }
.footer-col { width: 25%; padding: 0 12px; color: var(--light); }
.footer-logo { display: block; width: 100px; margin: 0 0 16px; }
.footer-col p { color: #fff; }
.footer-title {
  margin: 36px 0 24px;
  color: #fff;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
}
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--light); }
.footer-links a:hover { color: var(--gold); }
.contact-list { display: flex; flex-direction: column; gap: 19px; margin-bottom: 13px; }
.contact-item { display: flex; }
.contact-item .badge {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  margin-right: 18px;
  border-radius: 500px;
  background: var(--gold);
  color: var(--green);
  font-size: 14px;
}
.contact-item p {
  margin-bottom: 8px;
  padding-top: 0;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
}
.footer-bar { background: #fafaf5; }
.footer-bar .container { padding-top: 19px; padding-bottom: 19px; }
.copyright { color: var(--green); font-size: 14px; }

@media (max-width: 991px) {
  .site-footer { padding-top: 80px; }
  .footer-cols { padding-bottom: 54px; }
  .footer-col { width: 50%; }
}
@media (max-width: 767px) {
  .footer-col { width: 100%; }
  .footer-bar .container { padding-bottom: 31px; }
}

/* ---------- Home ---------- */
.hero { display: flex; }
.hero-col { width: 50%; padding: 30px; }
.hero-text { margin-bottom: 20px; }
.hero-text h1 { margin-bottom: 12px; }
.hero-art { text-align: center; }
.hero-art img { width: 510px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; }
.tiles > div { padding: 10px; }
.tile { display: flex; align-items: center; height: 60px; }
.tile + .tile { margin-top: 20px; }
.tile-icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-right: 18px;
  border-radius: 500px;
  background: #fff;
  box-shadow: 0 0 15px rgba(37, 143, 103, 0.1);
}
.tile-icon img { width: 30px; }
.tile h4 { margin-bottom: 6px; }

.about-block { display: flex; justify-content: center; }
.about-block .inner { width: 33.333%; padding: 10px; text-align: center; }
.about-block p { padding-bottom: 6px; }
.center-btn { padding: 10px; text-align: center; }

.clients-block { padding: 30px; text-align: center; }
.clients-block h2 { margin-bottom: 33px; }

/* Client logo carousel */
.carousel { position: relative; padding: 0 30px 30px; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; transition: transform 0.5s ease; will-change: transform; }
.carousel-track img { flex: 0 0 20%; width: 20%; }
.carousel-btn {
  position: absolute;
  top: calc(50% - 15px);
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(238, 238, 238, 0.9);
  font-size: 25px;
  cursor: pointer;
}
.carousel-btn svg { display: block; width: 25px; height: 25px; }
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }
.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.carousel-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #000;
  opacity: 0.2;
  cursor: pointer;
}
.carousel-dots button[aria-current="true"] { opacity: 1; }

@media (max-width: 1024px) {
  h1 { font-size: 46px; }
  h2 { font-size: 32px; }
  .hero-art img { width: 100%; }
  .carousel-track img { flex-basis: 50%; width: 50%; }
}
@media (max-width: 767px) {
  .hero { flex-direction: column; }
  .hero-col { width: 100%; }
  .tiles { grid-template-columns: 1fr; }
  .about-block .inner { width: 100%; }
  .carousel-track img { flex-basis: 100%; width: 100%; }
}

/* ---------- Inner page title banner and breadcrumb ---------- */
.page-title { padding: 96px 0; background: #fafaf5; text-align: center; }
.page-title h1 { margin: 0; }
.breadcrumb { margin-top: 36px; line-height: 24px; }
.breadcrumb a { padding-right: 7px; color: var(--accent); font-weight: 600; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb .current { padding-left: 7px; }
.breadcrumb-line { width: 100px; height: 2px; margin-top: 19px; background: var(--accent); }

/* ---------- About Us ---------- */
.two-col { display: flex; }
.two-col > div { width: 50%; padding: 30px; }
.founder-photo { text-align: center; }
.founder-photo img { width: 270px; }
.founder-text p { margin-bottom: 6px; }

.counters { display: flex; }
.counter { width: 33.333%; padding: 30px; }
.counter-number {
  display: flex;
  margin-bottom: 9px;
  color: var(--accent);
  font-size: 70px;
  line-height: 1;
  font-weight: 900;
}
.counter-number .num { font-family: var(--heading); }
.counter-number .sfx { font-family: var(--body); }
.counter-title { font-size: 14px; line-height: 22px; font-weight: 600; text-align: center; }

.about-body { max-width: 1140px; margin: 0 auto; padding: 24px 30px; }
.about-body p { margin-bottom: 6px; font-size: 16px; }
.about-body .art { margin-top: 29px; text-align: center; }
.about-body .art img { width: 580px; }

@media (max-width: 1024px) {
  .page-title { padding: 60px 0; }
  .counter-number { font-size: 50px; }
}
@media (max-width: 767px) {
  .two-col, .counters { flex-direction: column; }
  .two-col > div, .counter { width: 100%; }
  .about-body .art { margin-top: 30px; }
}

/* ---------- Certificates ---------- */
.certificates { padding-top: 73px; padding-bottom: 143px; }
.certificate { margin-bottom: 24px; }
.certificate img { display: block; width: 500px; margin: 0 auto; }
.certificate h2 { margin: 0; line-height: 1; }
@media (max-width: 1024px) {
  .certificates { padding-top: 103px; padding-bottom: 79px; }
  .certificate img { width: 100%; max-width: 500px; }
}

/* ---------- Clients ---------- */
.client-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 124px -13.6px 219px;
}
.client-grid > div { padding: 0 13.6px; }
.client-grid img { display: block; width: 300px; margin: 0 auto; }
@media (max-width: 1024px) {
  .client-grid { margin-top: 154px; margin-bottom: 155px; }
}
@media (max-width: 767px) {
  .client-grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ accordion ---------- */
.faq { max-width: 1140px; margin: 0 auto; padding: 70px 20px 164px; }
.faq-item {
  margin: 24px 12px;
  border: 1px solid #d5d8dc;
  border-radius: 16px;
  box-shadow: 0 0 15px rgba(37, 143, 103, 0.1);
}
.faq-item + .faq-item { border-top-width: 0; }
.faq-item h3 { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1; }
.faq-q { padding: 15px 20px; color: var(--text); cursor: pointer; }
.faq-q:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 16px; }
.faq-q .faq-icon { float: right; width: 33px; padding: 14px 0 12px; text-align: right; line-height: 22px; }
.faq-q .faq-icon svg { width: 22px; height: 22px; vertical-align: top; fill: #000; }
.faq-q .faq-icon .minus, .faq-q[aria-expanded="true"] .faq-icon .plus { display: none; }
.faq-q[aria-expanded="true"] .faq-icon .minus { display: inline; }
.faq-q .faq-title { display: block; padding: 12px 0; font-size: 22px; line-height: 1.3; font-weight: 700; }
.faq-q[aria-expanded="true"] .faq-title { padding-bottom: 0; }
.faq-a { overflow: hidden; transition: height 0.4s ease; }
.faq-a[hidden] { display: none; }
.faq-a > div { padding: 0 26px 24px; border-top: 1px solid #d5d8dc; }
.faq-a a { color: var(--accent); }
.faq-a a:hover { color: var(--green); }
@media (max-width: 1024px) {
  .faq { padding-top: 100px; padding-bottom: 100px; }
}
@media (max-width: 767px) {
  .faq-q { padding: 12px 15px; }
  .faq-q .faq-icon { width: 26.4px; }
}

/* ---------- Contact Us ---------- */
.contact-top h2 { margin: 0 0 20px; line-height: 1; }
.contact-form p { display: flow-root; margin-bottom: 6px; }
.contact-form label { display: block; margin-bottom: 11px; line-height: 24px; font-weight: 600; }
.contact-form input, .contact-form textarea {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid var(--fifth, #c6c6c6);
  border-radius: 24px;
  background: #fff;
  color: var(--text);
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.4;
}
.contact-form input { height: 46px; }
.contact-form textarea { height: 222px; margin-bottom: 19px; border-radius: 16px; resize: vertical; }
.contact-form ::placeholder { color: #807e7e; opacity: 1; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form .btn { display: inline-block; width: auto; }
.form-status { min-height: 1px; font-size: 15px; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-bottom: 6px; }
.contact-form button[disabled] { opacity: 0.6; cursor: wait; }
.form-status.error { color: #b3261e; }
.form-status.ok { color: var(--accent); }
.map { display: block; width: 100%; height: 450px; margin-bottom: 6px; border: 0; border-radius: 16px; }

.info-boxes { display: flex; }
.info-boxes > div { width: 25%; padding: 30px; }
.info-box { text-align: center; }
.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  border-radius: 500px;
  background: #fff;
  box-shadow: 0 0 15px rgba(37, 143, 103, 0.1);
  color: var(--green);
  font-size: 34px;
}
.info-box h3 { margin: 0 0 12px; font-size: 22px; line-height: 1.22; }
.info-box a { color: #003c0e; }
.info-box a.plain { color: inherit; }
.info-box a:hover { color: var(--accent); }
.info-box .small { display: block; font-size: 14px; line-height: 22px; }
@media (max-width: 767px) {
  .info-boxes { flex-direction: column; }
  .info-boxes > div { width: 100%; }
}
