/* ═══════════════════════════════════════════════
   TRITON Organics — Page-Specific Styles
   Uses global.css components: .s-pad, .s-inner, .section-ey,
   .section-h, .section-body, .g-2, .btn, .card, .faq-*,
   .icon-box, .icon-circle, .pill, .badge, .tag, .hero-*,
   .bq, .pq-big, .acc, .breadcrumb, .footer, .list-dot
   ═══════════════════════════════════════════════ */


/* ════════════════════════════════════════════════
   HERO — Category page (gradient bg, no video)
   ════════════════════════════════════════════════ */
.org-hero {
  height: auto;
  min-height: 75vh;
  align-items: flex-end;
  background:
    radial-gradient(ellipse 80% 60% at 30% 80%, rgba(0, 100, 102, .35), transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(3, 47, 79, .8), transparent 60%),
    var(--bp);
}

.org-hero .hero-ct {
  padding: 18vh 5vw 8vh;
}

.org-hero .hero-t {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  max-width: 22ch;
}

.org-hero .breadcrumb {
  position: absolute;
  top: calc(60px + 3rem);
  left: 0;
  right: 0;
}


/* ════════════════════════════════════════════════
   SCIENCE BRIDGE — N-DOC → Organics loop
   ════════════════════════════════════════════════ */
.org-bridge {
  background:
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(0, 100, 102, .25), transparent 65%),
    linear-gradient(180deg, var(--bp) 0%, rgba(3, 47, 79, .5) 100%);
}

.org-bridge-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(4rem, 8vw, 7rem);
  align-items: start;
}

.org-bridge-body {
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, .75);
  margin-bottom: 1.5rem;
}

.org-bridge-body strong {
  color: var(--aq);
  font-weight: 700;
}

.org-loop-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.org-loop-step {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.4rem 1.8rem;
  background: rgba(1, 24, 39, .6);
  border: 1px solid rgba(133, 255, 199, .08);
  transition: border-color .3s;
}

.org-loop-step:hover {
  border-color: rgba(133, 255, 199, .2);
}

.org-loop-step .icon-box {
  flex-shrink: 0;
}

.org-loop-step h3 {
  font-family: var(--h);
  font-weight: 900;
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .2rem;
}

.org-loop-step p {
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .65);
}

.org-bridge-quote {
  margin-top: 2rem;
}

.org-bridge-cta {
  margin-top: 2rem;
}

.org-loop-connector {
  width: 2px;
  height: 24px;
  background: linear-gradient(to bottom, var(--aq), transparent);
  margin-left: 2.2rem;
  opacity: .3;
}


/* ════════════════════════════════════════════════
   DECISION GUIDE — Alpha/Beta visual flow
   ════════════════════════════════════════════════ */
.org-decision {
  background: var(--mr);
  position: relative;
}

.org-decision::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49'%3E%3Cpath d='M14 1l13 7.5v15L14 31 1 23.5v-15z' fill='none' stroke='%2385FFC7' stroke-width='.6'/%3E%3C/svg%3E");
  background-size: 28px 49px;
}

.org-decision-intro {
  font-size: clamp(1.1rem, 1.3vw, 1.2rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, .72);
  max-width: 65ch;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

/* The root question */
.org-dg-question {
  text-align: center;
  max-width: 700px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
}

.org-dg-question h3 {
  font-family: var(--h);
  font-weight: 900;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: .6rem;
}

.org-dg-question p {
  font-size: 1rem;
  color: rgba(255, 255, 255, .6);
}

/* Two-path split */
.org-dg-paths {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.org-dg-path {
  padding: clamp(2rem, 3vw, 2.8rem);
  display: flex;
  flex-direction: column;
}

.org-dg-path--alpha {
  background: rgba(1, 24, 39, .6);
  border: 1px solid rgba(133, 255, 199, .12);
}

.org-dg-path--beta {
  background: rgba(1, 24, 39, .6);
  border: 1px solid rgba(255, 180, 80, .15);
}

.org-dg-path-label {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--h);
  font-weight: 900;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 1.2rem;
}

.org-dg-path--alpha .org-dg-path-label {
  color: var(--aq);
}

.org-dg-path--beta .org-dg-path-label {
  color: #ffb850;
}

.org-dg-path-label i {
  font-size: 1.4rem;
}

.org-dg-path-answer {
  font-family: var(--h);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.org-dg-path--alpha .org-dg-path-answer {
  color: var(--aq);
}

.org-dg-path--beta .org-dg-path-answer {
  color: #ffb850;
}

.org-dg-path-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .68);
  margin-bottom: 1.5rem;
}

.org-dg-products {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-top: auto;
}

.org-dg-product {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .7rem 1rem;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);
  font-family: var(--h);
  font-weight: 700;
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: all .3s;
  cursor: pointer;
}

.org-dg-product:hover {
  border-color: rgba(133, 255, 199, .3);
  background: rgba(133, 255, 199, .04);
}

.org-dg-product i {
  font-size: .75rem;
  color: var(--aq);
  opacity: .6;
}

.org-dg-product span {
  font-weight: 400;
  font-size: .82rem;
  letter-spacing: .02em;
  text-transform: none;
  color: rgba(255, 255, 255, .5);
  margin-left: auto;
}

/* Divider between paths */
.org-dg-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 .8rem;
}

.org-dg-divider span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--h);
  font-weight: 900;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .2);
}

/* Bio Base decision — below the split */
.org-dg-biobase {
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: rgba(1, 24, 39, .5);
  border: 1px solid rgba(133, 255, 199, .08);
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.org-dg-biobase-icon {
  width: 56px;
  height: 56px;
  background: rgba(133, 255, 199, .06);
  border: 1px solid rgba(133, 255, 199, .15);
  display: grid;
  place-items: center;
}

.org-dg-biobase-icon i {
  font-size: 1.4rem;
  color: var(--aq);
}

.org-dg-biobase h4 {
  font-family: var(--h);
  font-weight: 900;
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .3rem;
}

.org-dg-biobase p {
  font-size: .95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .6);
}

.org-dg-biobase-opts {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

/* CYA-NO callout */
.org-dg-callout {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: rgba(255, 180, 50, .06);
  border-left: 3px solid rgba(255, 180, 50, .4);
}

.org-dg-callout i {
  color: rgba(255, 180, 50, .7);
  flex-shrink: 0;
  font-size: 1.1rem;
  margin-top: .15rem;
}

.org-dg-callout p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .72);
}

.org-dg-callout a {
  color: var(--aq);
  font-weight: 700;
  border-bottom: 1px solid rgba(133, 255, 199, .3);
  transition: border-color .3s;
}

.org-dg-callout a:hover {
  border-color: var(--aq);
}

.org-dg-cta-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 1.5rem;
}

/* Supporting copy below the matrix */
.org-dg-signs {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.org-dg-sign-card {
  padding: 1.5rem 1.8rem;
  background: rgba(1, 24, 39, .5);
  border: 1px solid rgba(133, 255, 199, .08);
}

.org-dg-sign-card h4 {
  font-family: var(--h);
  font-weight: 900;
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--aq);
  margin-bottom: .6rem;
}

.org-dg-sign-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .65);
}


/* ════════════════════════════════════════════════
   PRODUCT CLUSTERS — Shared cluster layout
   ════════════════════════════════════════════════ */
.org-cluster-intro {
  max-width: 70ch;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.org-cluster-intro p:not(.section-ey) {
  font-size: clamp(1.1rem, 1.3vw, 1.2rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, .72);
  margin-top: 1rem;
}

/* Cluster 1: Nitrogen */
.org-cluster-nitrogen {
  background:
    radial-gradient(ellipse 50% 60% at 90% 20%, rgba(0, 100, 102, .18), transparent 60%),
    linear-gradient(180deg, var(--bp), rgba(3, 47, 79, .35) 50%, var(--bp) 100%);
}

/* Cluster 2: Phosphorus */
.org-cluster-phosphorus {
  background:
    radial-gradient(ellipse 60% 50% at 10% 70%, rgba(0, 100, 102, .2), transparent 60%),
    var(--bp);
}

/* Cluster 3: Organic Support */
.org-cluster-organic {
  background:
    radial-gradient(ellipse 70% 60% at 80% 80%, rgba(3, 47, 79, .6), transparent 60%),
    radial-gradient(ellipse 40% 40% at 15% 30%, rgba(0, 100, 102, .12), transparent 50%),
    var(--bp);
}


/* ════════════════════════════════════════════════
   PRODUCT CARD — Progressive Disclosure
   Horizontal layout matching treatments.css
   ════════════════════════════════════════════════ */
.org-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.org-card {
  display: grid;
  grid-template-columns: 38% 1fr;
  background: rgba(1, 24, 39, .6);
  border: 1px solid rgba(133, 255, 199, .1);
  overflow: hidden;
  transition: border-color .4s;
}

.org-card:hover {
  border-color: rgba(133, 255, 199, .25);
}

/* Card image area — spans all rows on the left */
.org-card-img {
  position: relative;
  grid-column: 1;
  grid-row: 1 / -1;
  min-height: 280px;
  background: linear-gradient(135deg, rgba(3, 47, 79, .6), rgba(1, 24, 39, .8));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.org-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1);
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, .4));
}

.org-card:hover .org-card-img img {
  transform: scale(1.06);
}

.org-card-img .tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}

/* Card body — Level 1 (right column) */
.org-card-body {
  grid-column: 2;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.org-card-body h3 {
  font-family: var(--h);
  font-weight: 900;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .2rem;
}

.org-card-tagline {
  font-family: var(--h);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--aq);
  opacity: .7;
  margin-bottom: .5rem;
}

.org-card-spec {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  color: rgba(255, 255, 255, .45);
  margin-bottom: .8rem;
}

.org-card-spec i {
  font-size: .7rem;
  color: rgba(133, 255, 199, .4);
}

.org-card-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .72);
  margin-bottom: 1.2rem;
}

/* Card actions — expand toggles + CTA */
.org-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: auto;
  padding-top: .8rem;
  border-top: 1px solid rgba(133, 255, 199, .06);
}

.org-expand-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1rem;
  background: rgba(133, 255, 199, .06);
  border: 1px solid rgba(133, 255, 199, .12);
  color: var(--aq);
  font-family: var(--h);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .3s;
  -webkit-user-select: none;
  user-select: none;
}

.org-expand-btn:hover {
  background: rgba(133, 255, 199, .12);
  border-color: rgba(133, 255, 199, .3);
}

.org-expand-btn i {
  font-size: .7rem;
  transition: transform .3s;
}

.org-expand-btn.active i {
  transform: rotate(45deg);
}

.org-card-find {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .65);
  font-family: var(--h);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: all .3s;
  margin-left: auto;
}

.org-card-find:hover {
  border-color: var(--aq);
  color: var(--aq);
}

.org-card-find i {
  font-size: .7rem;
  transition: transform .3s;
}

.org-card-find:hover i {
  transform: translateX(3px);
}

/* Expandable content — Level 2 & Level 3 (right column) */
.org-card-expand {
  grid-column: 2;
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s cubic-bezier(.16, 1, .3, 1);
}

.org-card-expand-inner {
  padding: 0 clamp(1.5rem, 2.5vw, 2rem) clamp(1.5rem, 2.5vw, 2rem);
  border-top: 1px solid rgba(133, 255, 199, .08);
}

.org-card-expand-inner h4 {
  font-family: var(--h);
  font-weight: 900;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--aq);
  margin-bottom: 1rem;
  padding-top: 1.2rem;
}

.org-card-expand-inner p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .68);
  margin-bottom: .8rem;
}

.org-card-expand-inner ul {
  margin-bottom: 1rem;
}

.org-card-expand-inner ul li {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .68);
  margin-bottom: .4rem;
  padding-left: 1.4em;
  position: relative;
}

.org-card-expand-inner ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .6em;
  width: 8px;
  height: 8px;
  border: 2px solid var(--aq);
  opacity: .6;
}

.org-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.5rem;
  margin-top: .8rem;
  padding-top: .8rem;
  border-top: 1px solid rgba(133, 255, 199, .06);
}

.org-card-meta span {
  font-size: .9rem;
  color: rgba(255, 255, 255, .55);
}

.org-card-meta strong {
  color: var(--aq);
  font-weight: 700;
}

.org-card-note {
  font-size: .95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .6);
  padding: .6rem 1rem;
  margin-top: .6rem;
  background: rgba(0, 100, 102, .08);
  border-left: 3px solid rgba(133, 255, 199, .3);
}

.org-card-note a {
  color: var(--aq);
  font-weight: 700;
  border-bottom: 1px solid rgba(133, 255, 199, .3);
  transition: border-color .3s;
}

.org-card-note a:hover {
  border-color: var(--aq);
}

.org-card-link {
  color: var(--aq);
  font-weight: 700;
  border-bottom: 1px solid rgba(133, 255, 199, .3);
  transition: border-color .3s;
}

.org-card-link:hover {
  border-color: var(--aq);
}

/* Tag variants */
.tag-beta {
  background: #ffb850;
  color: var(--bp);
}

.tag-ulns {
  background: rgba(133, 200, 255, .9);
  color: var(--bp);
}


/* ════════════════════════════════════════════════
   SIBLING NAVIGATION — reuses .product-siblings from treatments
   ════════════════════════════════════════════════ */
.org-siblings {
  background: var(--mr);
}


/* ════════════════════════════════════════════════
   WHERE TO BUY CTA
   ════════════════════════════════════════════════ */
.org-cta {
  background:
    radial-gradient(ellipse 50% 70% at 50% 100%, rgba(0, 100, 102, .3), transparent),
    var(--bp);
  text-align: center;
}

.org-cta .section-h {
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.org-cta p:not(.section-ey) {
  font-size: clamp(1.1rem, 1.3vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, .7);
  max-width: 55ch;
  margin: 1rem auto 0;
}

.org-cta-btns {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}


/* ════════════════════════════════════════════════
   RESPONSIVE — Tablet (≤1024px)
   ════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .org-bridge-grid {
    grid-template-columns: 1fr;
  }

  .org-dg-paths {
    grid-template-columns: 1fr auto 1fr;
  }

  .org-dg-biobase {
    grid-template-columns: auto 1fr;
  }

  .org-dg-biobase-opts {
    grid-column: 1 / -1;
  }

  .org-card {
    grid-template-columns: 32% 1fr;
  }

  .org-dg-signs {
    grid-template-columns: 1fr;
  }
}


/* ════════════════════════════════════════════════
   RESPONSIVE — Mobile (≤768px)
   ════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .org-hero {
    min-height: 60vh;
  }

  .org-hero .hero-ct {
    padding: 16vh 6vw 6vh;
  }

  .org-hero .breadcrumb {
    top: calc(50px + 2rem);
  }

  .org-dg-paths {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .org-dg-divider {
    padding: .5rem 0;
  }

  .org-dg-divider span {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
  }

  .org-dg-biobase {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .org-dg-biobase-icon {
    justify-self: center;
  }

  .org-card {
    grid-template-columns: 1fr;
  }

  .org-card-img {
    grid-column: 1;
    grid-row: 1;
    min-height: 200px;
  }

  .org-card-body {
    grid-column: 1;
    overflow: visible;
  }

  .org-card-expand {
    grid-column: 1;
  }

  .org-card-actions {
    flex-direction: column;
  }

  .org-card-find {
    margin-left: 0;
    align-self: flex-end;
  }

  .org-cta-btns {
    flex-direction: column;
  }

  .org-cta-btns .btn {
    width: 100%;
  }
}


/* ════════════════════════════════════════════════
   RESPONSIVE — Small Mobile (≤480px)
   ════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .org-hero .hero-t {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
}


/* ════════════════════════════════════════════════
   REDUCED MOTION
   ════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .org-card-img img,
  .org-expand-btn i {
    transition: none;
  }
}
