/* ==========================================================================
   Home hero
   ========================================================================== */

.hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100vh;
  padding: 0 8px 0 20px;
  background:
    linear-gradient(rgba(26, 42, 34, 0.6), rgba(26, 42, 34, 0.6)),
    url("../Images/Sliki_baner/baner.webp") center / cover;
  color: var(--bg-cream);
  text-align: left;
}

.hero h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  font-size: 55px;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
}

.hero h1 i {
  font-style: normal;
  font-weight: inherit;
}

.hero p {
  max-width: 600px;
  margin-bottom: 40px;
  font-size: 20px;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

/* ==========================================================================
   Partner benefits
   ========================================================================== */

.special-section {
  padding: 100px 50px;
  border-top: 1px solid var(--border-light);
  background-color: var(--bg-cream);
}

.special-container {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.special-content {
  flex: 1.2;
}

.special-item {
  display: flex;
  gap: 25px;
  margin-bottom: 40px;
}

.special-icon {
  display: flex;
  flex-shrink: 0;
  align-items: flex-start;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding-top: 5px;
}

.special-text h3 {
  margin-bottom: 8px;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 22px;
}

.special-text p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.special-image {
  flex: 1;
}

.special-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   Products
   ========================================================================== */

.products-section {
  padding: 100px 50px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.product-card {
  overflow: hidden;
  padding-bottom: 30px;
  border-radius: 16px;
  background-color: var(--bg-cream);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  text-align: left;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.product-card:hover,
.product-card.active:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  transform: translateY(-15px);
}

.product-image {
  width: 100%;
  height: 320px;
  margin-bottom: 25px;
  object-fit: cover;
}

.product-card h3 {
  margin: 0 30px 10px;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 500;
}

.product-card p {
  min-height: 45px;
  margin: 0 30px 25px;
  color: var(--text-muted);
  font-size: 15px;
}

.product-card .view-more {
  margin-left: 30px;
}

/* ==========================================================================
   Seasonal availability and buyer specifications
   ========================================================================== */

.availability-section {
  padding: 120px 50px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background-color: #f7f4ee;
}

.availability-container {
  max-width: 1200px;
  margin: 0 auto;
}

.availability-heading {
  max-width: 780px;
  margin: 0 auto 55px;
}

.availability-heading .section-title {
  margin-bottom: 24px;
}

.availability-heading .section-subtitle:last-child {
  max-width: 680px;
  margin-bottom: 0;
  line-height: 1.75;
}

.availability-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 28px;
}

.season-card {
  min-width: 0;
  padding: 36px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  background-color: #ffffff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
}

.season-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.season-card-kicker,
.buyer-brief-label {
  display: block;
  margin-bottom: 7px;
  color: var(--accent-red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.season-card-header h3,
.buyer-brief h3 {
  font-family: var(--font-heading);
  font-size: 27px;
  line-height: 1.2;
}

.season-status {
  flex-shrink: 0;
  padding: 8px 12px;
  border: 1px solid rgba(211, 84, 0, 0.2);
  border-radius: 999px;
  background-color: rgba(211, 84, 0, 0.08);
  color: var(--accent-red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.season-table-wrap {
  max-width: 100%;
  margin: 30px 0 22px;
  overflow-x: auto;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  background: #ffffff;
  scrollbar-color: rgba(211, 84, 0, 0.45) transparent;
  scrollbar-width: thin;
}

.season-table-wrap:focus-visible {
  outline: 3px solid rgba(211, 84, 0, 0.25);
  outline-offset: 3px;
}

.season-table {
  width: 100%;
  min-width: 650px;
  border-spacing: 0;
  table-layout: fixed;
}

.season-table th,
.season-table td {
  border-bottom: 1px solid var(--border-light);
}

.season-table tr:last-child th,
.season-table tr:last-child td {
  border-bottom: 0;
}

.season-table thead th {
  height: 46px;
  background-color: #fbfaf7;
  color: #7b8190;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-align: center;
  text-transform: uppercase;
}

.season-table thead th:first-child {
  width: 190px;
  padding-left: 18px;
  text-align: left;
}

.season-table tbody th {
  width: 190px;
  padding: 14px 18px;
  background-color: #ffffff;
  text-align: left;
}

.season-product,
.season-window {
  display: block;
}

.season-product {
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 14px;
}

.season-window {
  margin-top: 2px;
  color: #8a8f9b;
  font-size: 11px;
  font-weight: 400;
}

.season-table td {
  position: relative;
  height: 64px;
  background-color: #ffffff;
}

.season-table td::after {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 12px;
  background-color: #f0ede7;
  content: "";
  transform: translateY(-50%);
}

.season-table td.is-active::after {
  background: linear-gradient(
    90deg,
    rgba(211, 84, 0, 0.72),
    var(--accent-red)
  );
  box-shadow: 0 5px 12px rgba(211, 84, 0, 0.18);
}

.season-table td.is-start::after {
  left: 7px;
  border-radius: 999px 0 0 999px;
}

.season-table td.is-end::after {
  right: 7px;
  border-radius: 0 999px 999px 0;
}

.season-table td.is-start.is-end::after {
  border-radius: 999px;
}

.season-note {
  max-width: 660px;
  color: #737986;
  font-size: 12.5px;
  line-height: 1.65;
}

.buyer-brief {
  display: none;
  flex-direction: column;
  padding: 36px;
  border-radius: 20px;
  background:
    radial-gradient(
      circle at top right,
      rgba(211, 84, 0, 0.24),
      transparent 38%
    ),
    var(--text-dark);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
  color: #ffffff;
}

.buyer-brief-label {
  color: #f2a66f;
}

.buyer-brief h3 {
  margin-bottom: 12px;
  color: #ffffff;
}

.buyer-brief > p {
  margin-bottom: 28px;
  color: #cbd1dc;
  font-size: 14px;
  line-height: 1.7;
}

.buyer-spec-list {
  margin-bottom: 30px;
  list-style: none;
}

.buyer-spec-list li {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 13px;
  padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.buyer-spec-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.spec-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(242, 166, 111, 0.38);
  border-radius: 9px;
  color: #f2a66f;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
}

.buyer-spec-list strong,
.buyer-spec-list div > span {
  display: block;
}

.buyer-spec-list strong {
  margin-bottom: 3px;
  color: #ffffff;
  font-size: 13px;
}

.buyer-spec-list div > span {
  color: #abb3c1;
  font-size: 11.5px;
  line-height: 1.5;
}

.availability-cta {
  width: 100%;
  margin-top: auto;
  padding: 14px 18px;
  font-size: 13px;
  text-align: center;
}

/* ==========================================================================
   Custom packing
   ========================================================================== */

.packing-section {
  padding: 120px 50px;
  background: #ffffff;
}

.packing-container {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 90px;
  max-width: 1200px;
  margin: 0 auto;
}

.packing-copy {
  position: sticky;
  top: 120px;
  align-self: start;
}

.packing-copy .section-title {
  margin-bottom: 25px;
}

.packing-intro {
  max-width: 460px;
  margin-bottom: 32px;
  color: var(--text-muted);
  line-height: 1.75;
}

.packing-options {
  border-top: 1px solid var(--border-light);
}

.packing-option {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 20px;
  padding: 30px 5px;
  border-bottom: 1px solid var(--border-light);
}

.packing-number {
  width: 7px;
  height: 7px;
  margin-top: 11px;
  border-radius: 50%;
  background: var(--accent-red);
}

.packing-option h3 {
  margin-bottom: 7px;
  font-family: var(--font-heading);
  font-size: 22px;
}

.packing-option p {
  max-width: 570px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ==========================================================================
   Export route
   ========================================================================== */

.route-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 50px;
}

.route-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 70px;
}

.route-timeline::before {
  position: absolute;
  top: 35px;
  left: 12.5%;
  z-index: 1;
  width: 75%;
  height: 1px;
  background: var(--accent-red);
  content: "";
  opacity: 0.3;
}

.route-step {
  position: relative;
  z-index: 2;
}

.step-number {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 25px;
  border: 1.5px solid var(--accent-red);
  border-radius: 50%;
  background-color: #ffffff;
  color: var(--accent-red);
  font-family: var(--font-heading);
  font-size: 28px;
}

.step-content {
  text-align: center;
}

.step-content h4 {
  margin-bottom: 12px;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 22px;
}

.step-content p {
  color: var(--text-dark);
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.85;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  grid-template-rows: max-content 1fr;
  align-items: start;
  column-gap: 90px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 50px;
  background: #ffffff;
  text-align: left;
}

.faq-section .section-title {
  grid-column: 1;
  grid-row: 1;
  margin: 0 0 26px;
  font-size: clamp(40px, 4.6vw, 58px);
}

.faq-section .section-subtitle {
  grid-column: 1;
  grid-row: 2;
  max-width: 360px;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-container {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  border-top: 1px solid var(--border-light);
  text-align: left;
}

.faq-item {
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
  border-left: 3px solid transparent;
  transition:
    border-left-color 0.3s ease,
    background-color 0.3s ease;
}

.faq-item:last-child {
  grid-column: auto;
}

.faq-item.active {
  border-left-color: var(--accent-red);
  background: linear-gradient(90deg, rgba(211, 84, 0, 0.025), transparent 68%);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 28px 18px 28px 24px;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}

.faq-question:focus-visible {
  outline: 3px solid rgba(211, 84, 0, 0.3);
  outline-offset: -3px;
}

.faq-text {
  flex: 1;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.35;
  transition: color 0.3s ease;
}

.faq-item.active .faq-text {
  color: var(--accent-red);
}

.faq-icon {
  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-dark);
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
  position: absolute;
  background-color: currentColor;
  content: "";
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}

.faq-icon::before {
  width: 12px;
  height: 1.5px;
}

.faq-icon::after {
  width: 1.5px;
  height: 12px;
}

.faq-item.active .faq-icon {
  background: transparent;
  color: var(--accent-red);
  transform: rotate(180deg);
}

.faq-item.active .faq-icon::before {
  transform: rotate(180deg);
}

.faq-item.active .faq-icon::after {
  opacity: 0;
  transform: rotate(90deg) scale(0);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.5s cubic-bezier(0.2, 0.7, 0.2, 1),
    opacity 0.5s ease;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-answer-inner {
  min-height: 0;
  overflow: hidden;
}

.faq-answer-inner p {
  max-width: 620px;
  margin: 0 48px 0 24px;
  padding: 0 18px 30px 0;
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.75;
}

@media (min-width: 769px) and (hover: hover) and (pointer: fine) {
  .faq-item:hover {
    background: #fbfaf7;
  }

  .faq-question:hover .faq-text,
  .faq-question:hover .faq-icon {
    color: var(--accent-red);
  }
}

/* ==========================================================================
   Product modals
   ========================================================================== */

.product-modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
}

.product-modal-content {
  position: relative;
  width: 90%;
  max-width: 750px;
  padding: 40px;
  border-radius: 15px;
  background-color: #faf8f2;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 25px;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 35px;
  font-weight: 700;
  transition: color 0.3s;
}

.close-modal:hover {
  color: var(--accent-red);
}

.modal-title {
  margin-bottom: 25px;
  color: var(--accent-red);
  font-size: 32px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.modal-images {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 25px;
}

.modal-images img {
  width: 32%;
  border-radius: 12px;
  aspect-ratio: 1 / 1;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.modal-text {
  color: #444444;
  font-size: 16px;
  line-height: 1.6;
}

/* ==========================================================================
   Home responsive rules
   ========================================================================== */

@media (max-width: 1024px) {
  .special-container {
    flex-direction: column;
  }

  .special-content {
    flex: none;
    width: 100%;
    min-width: 0;
  }

  .special-text {
    min-width: 0;
  }

  .special-content .section-title {
    text-align: center !important;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .availability-layout {
    grid-template-columns: 1fr;
  }

  .packing-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .packing-copy {
    position: static;
  }

  .buyer-brief {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .route-timeline {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-left: 20px;
  }

  .route-timeline::before {
    display: none;
  }

  .route-step {
    display: flex;
    align-items: flex-start;
    gap: 30px;
  }

  .route-step::before {
    position: absolute;
    top: 70px;
    bottom: -40px;
    left: 35px;
    width: 1px;
    background: var(--accent-red);
    content: "";
    opacity: 0.3;
  }

  .route-step:last-child::before {
    display: none;
  }

  .step-number {
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .step-content {
    padding-top: 15px;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 50px;
  }

  .hero h1 {
    font-size: clamp(36px, 11vw, 45px);
    overflow-wrap: anywhere;
  }

  .hero p {
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.5;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .products-section,
  .special-section,
  .availability-section,
  .packing-section,
  .faq-section,
  .route-section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .availability-section {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .availability-heading {
    margin-bottom: 38px;
  }

  .faq-section {
    display: block;
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .faq-section .section-title {
    margin-bottom: 22px;
  }

  .faq-section .section-subtitle {
    max-width: 620px;
    margin-bottom: 42px;
  }

  .faq-question {
    gap: 13px;
    padding: 21px 12px 21px 16px;
  }

  .faq-text {
    font-size: 17px;
  }

  .faq-icon {
    width: 32px;
    height: 32px;
  }

  .faq-answer-inner p {
    margin: 0 44px 0 16px;
    padding-bottom: 24px;
    font-size: 14.5px;
  }

  .season-card,
  .buyer-brief {
    padding: 26px 22px;
  }

  .season-card-header {
    flex-direction: column;
    gap: 14px;
  }

  .season-table {
    min-width: 610px;
  }

  .product-modal-content {
    max-height: 85vh;
    overflow-y: auto;
    padding: 20px;
  }

  .modal-images {
    flex-direction: row;
    gap: 8px;
    margin-bottom: 15px;
  }

  .modal-images img {
    flex: 1;
    width: calc((100% - 16px) / 3);
    height: 70px;
    border-radius: 6px;
  }

  .modal-text {
    font-size: 15px;
  }
}

@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .packing-option {
    grid-template-columns: 14px 1fr;
    gap: 12px;
  }
}
