/* ==========================================================
   JACRA — JAMAICA BLUE MOUNTAIN® COFFEE QUALITY STANDARD
   PREMIUM VERSION
========================================================== */

.jacra-coffee-quality,
.jacra-coffee-quality * {
  box-sizing:border-box;
}

.jacra-coffee-quality {
  width:100%;
  overflow:hidden;
  background:#f7f6f1;
  color:#123c32;
  font-family:
    "Plus Jakarta Sans",
    "Plus Jakarta Sans Variable",
    Arial,
    sans-serif;
}


/* =========================
   HERO
========================= */

.jcq-hero {
  position:relative;
  height:430px;
  min-height:430px;
  overflow:hidden;
  display:flex;
  align-items:center;
}

.jcq-hero-image {
  position:absolute;
  inset:0;

  width:100%;
  height:100%;

  object-fit:cover;

  object-position:center center;

  transform:scale(1.015);
}

.jcq-hero-shade {
  position:absolute;
  inset:0;

  background:
    linear-gradient(
      90deg,
      rgba(2,38,28,.96) 0%,
      rgba(3,53,38,.82) 31%,
      rgba(4,53,36,.40) 56%,
      rgba(0,0,0,.06) 100%
    );
}

.jcq-hero-content {
  position:relative;
  z-index:2;

  width:min(1120px,calc(100% - 70px));

  margin:0 auto;

  padding-top:12px;
}

.jcq-kicker {
  display:inline-flex;
  align-items:center;

  color:#f4c13b;

  font-size:16px;
  font-weight:800;

  letter-spacing:1.8px;

  margin-bottom:13px;
}

.jcq-kicker:before {
  content:"";
  width:36px;
  height:3px;

  margin-right:12px;

  background:#f4c13b;
}

.jcq-hero h1 {
  margin:0;

  color:#fff;

  font-size:clamp(48px,5vw,76px);

  line-height:.95;

  letter-spacing:-2.5px;

  font-weight:800;
}

.jcq-hero p {
  max-width:600px;

  margin:18px 0 0;

  color:rgba(255,255,255,.94);

  font-size:17px;

  line-height:1.55;

  font-weight:500;
}


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

.jcq-content {
  width:min(1135px,calc(100% - 60px));

  margin:-44px auto 0;

  position:relative;
  z-index:5;
}


/* =========================
   TABS
========================= */

.jcq-tabs {
  display:grid;

  grid-template-columns:
    1.1fr
    1.35fr
    1.35fr
    1fr;

  min-height:67px;

  border-radius:15px 15px 0 0;

  overflow:hidden;

  border:1px solid rgba(205,211,203,.95);

  background:rgba(255,255,255,.96);

  box-shadow:
    0 12px 30px rgba(15,48,39,.12);

  backdrop-filter:blur(12px);
}

.jcq-tab {
  position:relative;

  border:0;

  padding:17px 18px;

  background:#fff;

  color:#62716b;

  font-family:inherit;

  font-size:14px;

  font-weight:700;

  cursor:pointer;

  transition:
    background .25s ease,
    color .25s ease;
}

.jcq-tab:not(:last-child) {
  border-right:1px solid #e2e6e2;
}

.jcq-tab:hover {
  background:#f8faf7;
  color:#15503f;
}

.jcq-tab.jcq-active {
  background:#f6cb5a;
  color:#123e33;
}

.jcq-tab.jcq-active:after {
  content:"";

  position:absolute;

  bottom:0;
  left:14%;
  right:14%;

  height:3px;

  background:#0a604a;
}


/* =========================
   PANELS
========================= */

.jcq-panel {
  display:none;
}

.jcq-panel.jcq-panel-active {
  display:block;
}


/* =========================
   TABLE CARD
========================= */

.jcq-table-card {
  background:#fff;

  border-radius:0 0 17px 17px;

  padding:15px 15px 17px;

  border:1px solid #e1e5e1;
  border-top:0;

  box-shadow:
    0 18px 42px rgba(16,54,43,.11);
}

.jcq-table-scroll {
  overflow-x:auto;

  border-radius:12px;

  scrollbar-width:thin;
  scrollbar-color:#17634f #edf1ed;
}

.jcq-quality-table {
  width:100%;

  min-width:1030px;

  border-collapse:separate;

  border-spacing:0;

  overflow:hidden;

  font-size:13px;
}


/* HEADER */

.jcq-quality-table thead th {
  background:#006044;

  color:#fff;

  padding:15px 12px;

  font-size:13px;

  line-height:1.2;

  font-weight:800;

  text-align:center;

  border-right:1px solid rgba(255,255,255,.15);
}

.jcq-quality-table thead th:first-child {
  text-align:left;
  padding-left:20px;

  border-radius:10px 0 0 0;
}

.jcq-quality-table thead th:last-child {
  border-radius:0 10px 0 0;
  border-right:0;
}


/* BODY */

.jcq-quality-table tbody th,
.jcq-quality-table tbody td {
  padding:13px 11px;

  border-right:1px solid #e0e5e1;
  border-bottom:1px solid #e0e5e1;

  line-height:1.35;

  vertical-align:middle;
}

.jcq-quality-table tbody th {
  width:145px;

  background:#f4f7f3;

  color:#17483b;

  font-size:12px;

  font-weight:800;

  text-align:left;

  padding-left:18px;

  white-space:nowrap;
}

.jcq-quality-table tbody td {
  background:#fff;

  color:#52635e;

  font-size:12px;

  font-weight:600;

  text-align:center;
}

.jcq-quality-table tbody tr:hover td {
  background:#fbfcf9;
}

.jcq-quality-table tbody tr:last-child th {
  border-radius:0 0 0 10px;
}

.jcq-quality-table tbody tr:last-child td:last-child {
  border-radius:0 0 10px 0;
}

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

.jcq-quality-table tbody td:last-child {
  border-right:0;
}


/* =========================
   SECONDARY PANEL
========================= */

.jcq-secondary-grid {
  display:grid;

  grid-template-columns:1.35fr .65fr;

  gap:18px;

  padding:18px;

  background:#fff;

  border:1px solid #e1e5e1;

  border-top:0;

  border-radius:0 0 17px 17px;

  box-shadow:
    0 18px 42px rgba(16,54,43,.11);
}

.jcq-secondary-card {
  padding:27px;

  border:1px solid #dfe8e2;

  border-radius:15px;

  background:
    linear-gradient(
      145deg,
      #f4f8f4,
      #fff
    );
}

.jcq-small-label {
  color:#b67a06;

  font-size:10px;

  font-weight:800;

  letter-spacing:1.5px;

  margin-bottom:7px;
}

.jcq-secondary-card h2 {
  margin:0;

  color:#123f34;

  font-size:28px;

  letter-spacing:-.8px;
}

.jcq-secondary-card p {
  color:#697873;

  font-size:13px;

  line-height:1.55;

  margin:8px 0 20px;
}


/* MINI TABLE */

.jcq-mini-table {
  width:100%;

  border-collapse:collapse;

  background:#fff;

  border:1px solid #dfe5e0;

  border-radius:10px;

  overflow:hidden;
}

.jcq-mini-table th,
.jcq-mini-table td {
  padding:13px 10px;

  border:1px solid #dfe5e0;

  text-align:center;

  font-size:12px;
}

.jcq-mini-table thead th {
  background:#087399;

  color:#fff;

  font-weight:800;
}

.jcq-mini-table tbody th {
  background:#eef5f2;

  color:#154639;
}


/* =========================
   HIGHLIGHT CARD
========================= */

.jcq-highlight-card {
  position:relative;

  overflow:hidden;

  padding:29px;

  border-radius:15px;

  background:
    linear-gradient(
      145deg,
      #0b5d47,
      #063d30
    );

  color:#fff;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08);
}

.jcq-highlight-card:after {
  content:"";

  position:absolute;

  width:180px;
  height:180px;

  right:-85px;
  bottom:-90px;

  border:1px solid rgba(255,255,255,.10);

  border-radius:50%;
}

.jcq-highlight-top {
  display:flex;

  align-items:center;

  gap:9px;

  color:#f4c13b;

  font-size:10px;

  font-weight:800;

  letter-spacing:1.4px;
}

.jcq-gold-symbol {
  font-size:18px;
}

.jcq-big-number {
  margin-top:34px;

  color:#fff;

  font-size:56px;

  line-height:1;

  font-weight:800;

  letter-spacing:-2px;
}

.jcq-big-number span {
  font-size:18px;

  margin-left:7px;

  color:#f4c13b;

  letter-spacing:0;
}

.jcq-highlight-card h3 {
  max-width:240px;

  margin:14px 0 0;

  color:#fff;

  font-size:18px;

  line-height:1.3;
}

.jcq-divider {
  width:45px;
  height:3px;

  margin:21px 0;

  background:#f4c13b;
}

.jcq-highlight-card p {
  margin:0;

  color:rgba(255,255,255,.74);

  font-size:12px;

  line-height:1.6;
}


/* =========================
   LIMITS
========================= */

.jcq-limits-grid {
  display:grid;

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

  gap:15px;

  padding:18px;

  background:#fff;

  border:1px solid #e1e5e1;

  border-top:0;

  border-radius:0 0 17px 17px;

  box-shadow:
    0 18px 42px rgba(16,54,43,.11);
}

.jcq-limit-item {
  display:flex;

  gap:17px;

  padding:23px;

  border:1px solid #e0e6e1;

  border-radius:14px;

  background:#fbfcfa;
}

.jcq-number {
  flex:0 0 42px;

  width:42px;
  height:42px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:50%;

  background:#f4c13b;

  color:#173f35;

  font-size:11px;

  font-weight:800;
}

.jcq-limit-item small {
  display:block;

  color:#b77c08;

  font-size:9px;

  font-weight:800;

  letter-spacing:1.2px;
}

.jcq-limit-item strong {
  display:block;

  margin-top:4px;

  color:#143f34;

  font-size:23px;

  line-height:1.15;
}

.jcq-limit-item p {
  margin:8px 0 0;

  color:#687872;

  font-size:12px;

  line-height:1.55;
}


/* =========================
   GRADES
========================= */

.jcq-grades-intro {
  display:flex;

  align-items:flex-end;
  justify-content:space-between;

  gap:30px;

  padding:25px 27px;

  background:#fff;

  border:1px solid #e1e5e1;

  border-top:0;
}

.jcq-grades-intro span {
  color:#b77c08;

  font-size:10px;

  font-weight:800;

  letter-spacing:1.4px;
}

.jcq-grades-intro h2 {
  margin:4px 0 0;

  color:#123f34;

  font-size:30px;
}

.jcq-grades-intro p {
  max-width:520px;

  margin:0;

  color:#687872;

  font-size:13px;

  line-height:1.55;
}

.jcq-grade-grid {
  display:grid;

  grid-template-columns:repeat(3,1fr);

  gap:14px;

  padding:18px;

  background:#fff;

  border:1px solid #e1e5e1;

  border-top:0;

  border-radius:0 0 17px 17px;
}

.jcq-grade-card {
  position:relative;

  min-height:145px;

  padding:23px;

  border:1px solid #e0e5e0;

  border-radius:14px;

  background:#fafbf9;

  overflow:hidden;

  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.jcq-grade-card:hover {
  transform:translateY(-3px);

  box-shadow:
    0 12px 25px rgba(14,61,46,.10);
}

.jcq-grade-card:before {
  content:"";

  position:absolute;

  left:0;
  top:0;

  width:100%;
  height:4px;

  background:#0a604a;
}

.jcq-grade-card.jcq-featured:before {
  background:#f4c13b;
}

.jcq-grade-card span {
  display:block;

  color:#17483b;

  font-size:21px;

  font-weight:800;
}

.jcq-grade-card strong {
  display:block;

  margin-top:7px;

  color:#697772;

  font-size:11px;

  font-weight:600;
}

.jcq-grade-card small {
  display:block;

  margin-top:22px;

  color:#0a604a;

  font-size:13px;

  font-weight:800;
}


/* =========================
   META
========================= */

.jcq-meta {
  display:flex;

  align-items:center;
  justify-content:center;

  flex-wrap:wrap;

  gap:27px;

  padding:20px 0 35px;

  color:#687772;

  font-size:11px;

  font-weight:600;
}

.jcq-meta > div {
  display:flex;

  align-items:center;

  gap:8px;
}

.jcq-meta-line {
  width:30px;
  height:2px;

  background:#e8b52e;
}


/* =========================
   SCROLLBAR
========================= */

.jcq-table-scroll::-webkit-scrollbar {
  height:7px;
}

.jcq-table-scroll::-webkit-scrollbar-track {
  background:#eef2ee;
}

.jcq-table-scroll::-webkit-scrollbar-thumb {
  background:#17624f;
  border-radius:20px;
}


/* =========================
   RESPONSIVE
========================= */

@media(max-width:900px) {

  .jcq-hero {
    height:390px;
    min-height:390px;
  }

  .jcq-content {
    width:calc(100% - 30px);

    margin-top:-30px;
  }

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

  .jcq-tab:nth-child(2) {
    border-right:0;
  }

  .jcq-secondary-grid {
    grid-template-columns:1fr;
  }

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

}


@media(max-width:620px) {

  .jcq-hero {
    height:370px;
    min-height:370px;

    align-items:flex-end;
  }

  .jcq-hero-image {
    object-position:60% center;
  }

  .jcq-hero-content {
    width:calc(100% - 34px);

    padding-bottom:55px;
  }

  .jcq-kicker {
    font-size:11px;
    letter-spacing:1px;
  }

  .jcq-kicker:before {
    width:23px;
    margin-right:8px;
  }

  .jcq-hero h1 {
    font-size:43px;
    letter-spacing:-1.5px;
  }

  .jcq-hero p {
    margin-top:12px;

    font-size:13px;

    max-width:400px;
  }

  .jcq-content {
    width:calc(100% - 20px);

    margin-top:-25px;
  }

  .jcq-tabs {
    grid-template-columns:1fr;

    border-radius:12px 12px 0 0;
  }

  .jcq-tab {
    min-height:50px;

    border-right:0 !important;

    border-bottom:1px solid #e3e7e3;
  }

  .jcq-tab:last-child {
    border-bottom:0;
  }

  .jcq-table-card {
    padding:9px;
  }

  .jcq-quality-table {
    min-width:1010px;
  }

  .jcq-secondary-grid,
  .jcq-limits-grid {
    padding:10px;
  }

  .jcq-limits-grid {
    grid-template-columns:1fr;
  }

  .jcq-grade-grid {
    grid-template-columns:1fr;
  }

  .jcq-grades-intro {
    display:block;

    padding:22px;
  }

  .jcq-grades-intro p {
    margin-top:12px;
  }

  .jcq-meta {
    text-align:center;
  }

}
