:root {
    /* == COLORS == */
    /* background */
    --bulma-scheme-main: #fefefe;
    --bulma-scheme-invert: #424242;
    /* primary */
    --bulma-green: #9cc15a;
    --bulma-green-light: #c8e296;
    --bulma-beige: #d1a169;
    --bulma-beige-light: #e8bf89;
    /* dark */
    --bulma-dark: #424242;
}

html {
    scroll-behavior: smooth;
}

nav {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    padding-top: 3.25rem;
}

.footer {
  background-color: var(--bulma-dark);
  padding: 2rem 1.5rem;
}

.footer p {
  color: var(--bulma-scheme-main);
  font-size: 0.95rem;
  opacity: 0.8;
}

.is-primary {
    color: var(--bulma-scheme-main);
    background-color: var(--bulma-green);
}

#main {
    background-image: url('./assets/hero-background.png');
    background-size: cover;
    background-position: center;
}

#main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
#main .hero-body {
    position: relative;
    z-index: 2;
    align-items: end;
}
#main .hero-header {
    background-color: var(--bulma-green);
    display: inline-block;
    padding: 1rem 1rem;
    margin-bottom: 5rem;
    color: var(--bulma-scheme-main);
    border-radius: 4px;
}

.navbar-menu a {
    color: var(--bulma-dark)
}

.navbar-burger {
    color: var(--bulma-dark)
}

.has-background-green {
    background-color: var(--bulma-green-light);
}

.has-background-beige {
    background-color: var(--bulma-beige-light);
}

.pictogram-feature {
    width: fit-content;
    height: fit-content;
}

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

.about-link {
  font-weight: 600;
  color: var(--bulma-green);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.about-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.carousel-container {
  max-width: 800px;
  margin: 2rem auto;
}

.product-card {
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  transition: transform 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.product-card .image img {
  border-radius: 12px;
  object-fit: cover;
  width: 100%;
  height: auto;
  max-height: 200px;
}

.product-card .title.is-4 {
  margin-bottom: 0.75rem;
  color: var(--bulma-dark);
}

.product-description {
  font-size: 1rem;
  color: var(--bulma-dark);
  line-height: 1.5;
}

.dots-container {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  margin: 1.5rem 0;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--bulma-dark);
  transition: background-color 0.2s;
}

.dot.is-active {
  background-color: var(--bulma-green);
}

.catalog-link-wrapper {
  text-align: right;
  margin-top: 0.5rem;
}

.catalog-link {
    display: inline-block;
  font-weight: 600;
  color: var(--bulma-green);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.catalog-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.guide-image {
  margin-bottom: 1rem;
  width: fit-content;

}

.guide-image img {
  border-radius: 16px;
  /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); */
  width: 100%;
  height: auto;
  object-fit: cover;
}

.vertical-tabs {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tab-item {
  background-color: var(--bulma-scheme-main);
  border-radius: 12px;
  margin-bottom: 1rem;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s;
  border-left: 4px solid transparent;
}

.tab-item:hover {
  background-color: var(--bulma-green);
}

/* Активный таб */
.tab-item.is-active {
  border-left-color: var(--bulma-green);
  margin-left: 1rem;
  margin-right: -1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.tab-content {
  display: flex;
  flex-direction: column;
}

.tab-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.tab-description {
  font-size: 0.95rem;
  color: var(--bulma-dark);
  line-height: 1.5;
  margin-bottom: 0;
}

.faq-list {
  max-width: 800px;
  margin: 2rem auto;
}

.faq-item {
  display: block;
  background-color: var(--bulma-scheme-main);
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.faq-toggle {
  display: none;
}

.faq-header {
  display: flex;
  align-items: center;
  padding: 1.2rem 1.5rem;
}

.faq-triangle {
  display: inline-block;
  width: 1.5rem;
  font-size: 1.2rem;
  color: var(--bulma-dark);
  transition: transform 0.3s, color 0.3s;
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--bulma-graphite);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
  border-radius: 0 0 12px 12px;
  padding: 0 1.5rem;
}

.faq-answer p {
  margin: 0;
  padding-bottom: 1.5rem;
  color: var(--bulma-dark);
}

.faq-toggle:checked + .faq-header .faq-triangle {
  transform: rotate(90deg);
  color: var(--bulma-green);
}

.faq-toggle:checked ~ .faq-answer {
  max-height: 300px;
}

.faq-more {
  text-align: right;
  margin-top: 2rem;
}

.faq-link {
  font-weight: 600;
  color: var(--bulma-green);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.faq-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}


.partner-info {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.partner-logo {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  margin: 0;
}

.partner-logo img {
  object-fit: contain;
  border-radius: 12px;
}

.partner-text {
  flex: 1;
}

.partner-name {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--bulma-dark);
}

.partner-description {
  font-size: 1rem;
  color: var(--bulma-dark);
  line-height: 1.5;
}

.partner-photo {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.partner-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.contact-text {
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--bulma-dark);
  margin-bottom: 0.5rem;
}

.contact-email {
  display: inline-block;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--bulma-green);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
  margin-bottom: 2rem;
  line-height: 1.3;
  word-break: break-all;
}

.contact-email:hover {
  border-bottom-color: var(--bulma-green);
}

#contact .button.is-large {
  padding-left: 3rem;
  padding-right: 3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  color: var(--bulma-scheme-main);
  background-color: var(--bulma-green);
}

.social-link {
    color: var(--bulma-green);
    font-weight: 600;
}

.input.is-danger,
.textarea.is-danger,
.select.is-danger select {
    border-color: #f14668;
}

.help.is-danger {
    color: #f14668;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}