/*
 * ASA Pharma Vet | Style reminder: trust-led B2B export interface.
 * These rules reinforce the original editorial hierarchy without redesigning it.
 */
.brand {
  align-items: center;
  gap: 0.62rem;
}

.brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 0.25rem 0.7rem rgba(20, 16, 50, 0.13));
}

.site-header .brand-mark {
  width: 2.35rem;
  height: 2.35rem;
}

.mobile-menu[hidden] {
  display: none !important;
}

.form-status:not(:empty) {
  margin-top: 0.8rem;
  font-weight: 700;
}

/* Catalogue CTA: primary document-access action in the export hero, with clear B2B context. */
.hero-cta .catalogue-download-btn {
  align-items: center;
  min-height: 3.5rem;
  gap: 0.65rem;
  padding: 0.62rem 0.95rem 0.62rem 0.65rem;
  color: #17142d;
  background: #ffffff;
  border: 1px solid rgba(83, 49, 145, 0.24);
  border-radius: 0.9rem;
  box-shadow: 0 0.65rem 1.4rem rgba(35, 23, 72, 0.1);
  text-decoration: none;
}

.hero-cta .catalogue-download-btn:hover {
  color: #2d1667;
  border-color: rgba(94, 52, 164, 0.5);
  box-shadow: 0 0.85rem 1.7rem rgba(57, 29, 111, 0.17);
  transform: translateY(-2px);
}

.catalogue-download-icon {
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  flex: 0 0 auto;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #6037a9, #2c1760);
  border-radius: 0.62rem;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
}

.catalogue-download-btn > span:last-child {
  display: grid;
  gap: 0.08rem;
  text-align: left;
}

.catalogue-download-btn strong {
  font-size: 0.84rem;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.catalogue-download-btn small {
  color: #6a6780;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.15;
}

/* Manufacturing desk refinement: evidence-led editorial geometry, not generic SaaS cards. */
.hero-v5 {
  border-bottom: 3px solid #171a35;
}

.hero-v5 .hero-cta {
  align-items: stretch;
}

.hero-v5 .catalogue-download-btn {
  display: inline-flex;
  flex: 0 0 auto;
  background: #ffffff;
}

.visual-main {
  border-radius: 0.8rem;
}

.visual-caption {
  border-top: 3px solid #c7a14b;
  background: linear-gradient(180deg, transparent 0%, rgba(17, 22, 46, 0.97) 42%);
}

.visual-mini {
  border-radius: 0.55rem;
  border-color: rgba(17, 22, 46, 0.22);
  box-shadow: 0 0.75rem 1.8rem rgba(17, 22, 46, 0.16);
}

.visual-mini span {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-number {
  border-color: #c7a14b;
  box-shadow: 0 1rem 2.2rem rgba(17, 22, 46, 0.2);
}

.hero-number strong {
  color: #f0dfae;
}

.v6-conversion .btn-primary,
.hero-cta > .btn-primary {
  background: #c7a14b;
  color: #17142d;
  box-shadow: 0 0.8rem 1.6rem rgba(143, 108, 31, 0.2);
}

.v6-conversion .btn-primary:hover,
.hero-cta > .btn-primary:hover {
  background: #dfbf72;
}

.platform-grid {
  gap: 0;
  border-top: 1px solid rgba(17, 22, 46, 0.22);
  border-left: 1px solid rgba(17, 22, 46, 0.22);
}

.platform-card {
  position: relative;
  border: 0;
  border-right: 1px solid rgba(17, 22, 46, 0.22);
  border-bottom: 1px solid rgba(17, 22, 46, 0.22);
  border-radius: 0;
  box-shadow: none;
}

.platform-card:hover {
  box-shadow: inset 0 -0.28rem 0 #c7a14b;
}

.platform-img {
  position: relative;
  overflow: hidden;
  background: #eef0f5;
}

.platform-img::before {
  position: absolute;
  z-index: 3;
  top: 0.8rem;
  left: 0.8rem;
  padding: 0.34rem 0.5rem;
  color: #f0dfae;
  background: #11162e;
  content: "ASA / FORMAT";
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.platform-img::after {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid rgba(17, 22, 46, 0.28);
  content: "";
  background: linear-gradient(135deg, transparent 48%, #c7a14b 49% 54%, transparent 55%);
}

.platform-img img {
  padding: 0;
  filter: saturate(0.78) contrast(1.04);
}

.platform-img.neutral,
.platform-img.care,
.platform-img.mark {
  color: #11162e;
  background: linear-gradient(135deg, #edf0f4 0%, #fdfdfd 100%);
}

.platform-img.neutral span,
.platform-img.care span,
.platform-img.mark span {
  position: relative;
  z-index: 2;
  padding: 0.35rem 0.15rem;
  border-bottom: 3px solid #c7a14b;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.08em;
}

.platform-card.accent {
  border-color: rgba(17, 22, 46, 0.22);
}

.platform-card > div:last-child {
  padding: 1.55rem 1.45rem 1.65rem;
}

@media (prefers-reduced-motion: no-preference) {
  .btn,
  .brand-mark,
  .platform-card,
  .route-card {
    transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 180ms cubic-bezier(0.23, 1, 0.32, 1);
  }

  .btn:active {
    transform: scale(0.97);
  }

  .brand-mark:hover {
    transform: rotate(-5deg) scale(1.045);
  }
}

@media (max-width: 720px) {
  .site-header .brand-mark {
    width: 2rem;
    height: 2rem;
  }

  .hero-cta .catalogue-download-btn {
    width: 100%;
    justify-content: flex-start;
  }

  .platform-grid {
    gap: 0;
  }
}

/* U.S. documentation pages: corporate editorial evidence blocks with clear scope boundaries. */
.quality-actions,
.readiness-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.readiness-eyebrow {
  margin-bottom: 0.8rem;
  color: #c7a14b;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.docs-hero {
  background:
    linear-gradient(90deg, rgba(17, 22, 46, 0.97) 0%, rgba(17, 22, 46, 0.9) 56%, rgba(40, 23, 83, 0.8) 100%),
    url('/manus-storage/asa-hero-manufacturing_0cbd395a.png') center/cover;
}

.docs-hero .breadcrumbs,
.docs-hero h1,
.docs-hero p {
  color: #fff;
}

.docs-hero p {
  max-width: 52rem;
  color: rgba(255, 255, 255, 0.84);
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(17, 22, 46, 0.22);
  border-left: 1px solid rgba(17, 22, 46, 0.22);
}

.document-card {
  position: relative;
  display: flex;
  min-height: 23rem;
  flex-direction: column;
  padding: 1.8rem;
  border-right: 1px solid rgba(17, 22, 46, 0.22);
  border-bottom: 1px solid rgba(17, 22, 46, 0.22);
  background: #fff;
}

.document-card.featured {
  background: #f7f5fb;
  box-shadow: inset 0 4px 0 #c7a14b;
}

.document-code {
  margin-bottom: 2.7rem;
  color: #c7a14b;
  font-family: Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.document-card > span,
.document-card .document-meta {
  color: #5d5975;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.document-card h3 {
  margin: 0.55rem 0 0.8rem;
  color: #171a35;
  font-size: 1.45rem;
}

.document-card p {
  margin: 0;
  color: #504d61;
  font-size: 0.92rem;
  line-height: 1.65;
}

.document-meta {
  display: grid;
  gap: 0.35rem;
  margin: auto 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(17, 22, 46, 0.16);
}

.document-download {
  display: flex;
  justify-content: space-between;
  padding: 0.9rem 0 0;
  color: #171a35;
  border-top: 2px solid #171a35;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.document-download:hover { color: #7147b8; }
.document-download b { font-size: 1.1rem; }

.us-readiness-promo {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.us-readiness-promo h2 { margin: 0.3rem 0 0.75rem; }
.us-readiness-promo p { max-width: 48rem; margin: 0; }

.readiness-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.readiness-principles article {
  padding: 1.6rem;
  border-top: 3px solid #c7a14b;
  background: #f5f2f8;
}

.readiness-principles b {
  color: #663ca8;
  font-family: Georgia, serif;
  font-size: 1.75rem;
}

.readiness-principles h3 { margin: 1.2rem 0 0.55rem; color: #171a35; }
.readiness-principles p { margin: 0; color: #504d61; line-height: 1.65; }

.dark-readiness { background: #11162e; }
.light-head h2 { color: #fff; }
.light-head p { color: rgba(255,255,255,.7); }

.readiness-matrix { border-top: 1px solid rgba(255,255,255,.25); }
.matrix-row {
  display: grid;
  grid-template-columns: 0.8fr 1.25fr 1.25fr;
  gap: 1.8rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.78);
  font-size: .9rem;
  line-height: 1.58;
}

.matrix-row > span:first-child { color: #f2dfaa; font-weight: 900; }
.matrix-head { padding: .75rem 0; color: #fff; font-size: .68rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.matrix-head > span:first-child { color: #fff; }

.readiness-process {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 4rem;
}

.readiness-process h2 { margin: 0.35rem 0 0; }
.readiness-process ol { margin: 0; padding: 0; list-style: none; }
.readiness-process li { position: relative; padding: 0 0 1.3rem 6rem; border-bottom: 1px solid rgba(17,22,46,.16); }
.readiness-process li + li { padding-top: 1.3rem; }
.readiness-process li span { position: absolute; top: 0; left: 0; color: #663ca8; font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.readiness-process li b { color: #171a35; }
.readiness-process li p { margin: .38rem 0 0; color: #5d5975; line-height: 1.58; }

.source-section { padding-top: 1rem; }
.sources-list { display: grid; gap: .65rem; padding-left: 1.4rem; color: #171a35; }
.sources-list a { color: #4b277f; font-weight: 700; }

@media (max-width: 900px) {
  .document-grid,
  .readiness-principles { grid-template-columns: 1fr; }
  .document-card { min-height: auto; }
  .document-code { margin-bottom: 1.3rem; }
  .us-readiness-promo,
  .readiness-process { grid-template-columns: 1fr; flex-direction: column; align-items: flex-start; gap: 2rem; }
}

@media (max-width: 680px) {
  .matrix-row { grid-template-columns: 1fr; gap: .55rem; padding: 1.15rem 0; }
  .matrix-head { display: none; }
  .readiness-process li { padding-left: 0; padding-top: 1.9rem; }
  .readiness-process li + li { padding-top: 3.2rem; }
  .readiness-process li span { top: .45rem; }
}

/* Cross-site CTA logic: gold is exclusively commercial conversion; evidence remains navy, purple or neutral. */
.actions .btn-primary,
.readiness-hero-actions .btn-primary,
.us-readiness-promo .btn-primary,
.quality-actions .btn-gold,
.dark-quote .btn-gold,
.cta-band .btn,
.form-actions .btn-gold {
  color: #17142d;
  background: #c7a14b;
  box-shadow: 0 0.8rem 1.6rem rgba(143, 108, 31, 0.2);
}

.actions .btn-primary:hover,
.readiness-hero-actions .btn-primary:hover,
.us-readiness-promo .btn-primary:hover,
.quality-actions .btn-gold:hover,
.dark-quote .btn-gold:hover,
.cta-band .btn:hover,
.form-actions .btn-gold:hover {
  color: #17142d;
  background: #dfbf72;
}

.document-code,
.readiness-eyebrow,
.readiness-principles b {
  color: #55338e;
}

.document-card.featured { box-shadow: inset 0 4px 0 #55338e; }
.readiness-principles article { border-top-color: #55338e; }

/* Consistent technical-catalog treatment replaces decorative product-name panels. */
.platform-img.technical-format {
  display: grid;
  align-content: end;
  justify-items: start;
  padding: 1.35rem;
  background:
    linear-gradient(135deg, transparent 0 40%, rgba(85, 51, 142, 0.07) 40% 40.5%, transparent 40.5% 100%),
    repeating-linear-gradient(90deg, rgba(17,22,46,.09) 0 1px, transparent 1px 1.35rem),
    #f0f1f5;
}

.platform-img.technical-format::before {
  position: static;
  padding: 0;
  color: #55338e;
  background: transparent;
  content: attr(data-code);
  font-size: .64rem;
  letter-spacing: .15em;
}

.platform-img.technical-format::after {
  width: 4.5rem;
  height: 1px;
  right: 1.35rem;
  bottom: 1.35rem;
  border: 0;
  background: #171a35;
}

.platform-img.technical-format span {
  max-width: 10rem;
  padding: .55rem 0 .25rem;
  color: #171a35;
  border-bottom: 0;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: .86;
  text-align: left;
}

.v5-pillar-grid article,
.route-card,
.market-cards-v5 a {
  border-radius: 0;
}

/* Contact and U.S. launch-kit modules: named accountability and operational readiness. */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(17,22,46,.22);
  border-left: 1px solid rgba(17,22,46,.22);
}

.team-card {
  min-height: 18rem;
  padding: 1.7rem;
  border-right: 1px solid rgba(17,22,46,.22);
  border-bottom: 1px solid rgba(17,22,46,.22);
  background: #fff;
}

.team-card.featured { background: #f5f2f8; box-shadow: inset 0 4px 0 #55338e; }
.team-index { margin-bottom: 2.5rem; color: #55338e; font-family: Georgia,serif; font-size: 2.3rem; font-weight: 700; }
.team-card > span { color:#5d5975; font-size:.67rem; font-weight:900; letter-spacing:.12em; }
.team-card h3 { margin:.6rem 0 .3rem; color:#171a35; font-size:1.45rem; }
.team-card p { margin:0 0 2rem; color:#5d5975; }
.team-card a { display:inline-block; padding-top:.7rem; color:#171a35; border-top:2px solid #171a35; font-weight:800; text-decoration:none; }
.team-card a:hover { color:#55338e; }

.email-band { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; margin-top:1.5rem; background:#d9d6e2; }
.email-band > div { display:grid; gap:.35rem; padding:1rem 1.15rem; background:#171a35; }
.email-band small { color:#dfbf72; font-size:.62rem; font-weight:900; letter-spacing:.12em; }
.email-band a { color:#fff; font-size:.88rem; font-weight:700; overflow-wrap:anywhere; text-decoration:none; }

.form-divider { display:grid; grid-template-columns:3rem 1fr; column-gap:.8rem; align-items:center; margin:1.1rem 0 .25rem; padding:.85rem 0; border-top:2px solid #55338e; border-bottom:1px solid rgba(17,22,46,.16); }
.form-divider span { grid-row:span 2; color:#55338e; font-family:Georgia,serif; font-size:1.9rem; font-weight:700; }
.form-divider b { color:#171a35; font-size:1rem; }
.form-divider small { color:#5d5975; font-size:.77rem; line-height:1.45; }

@media (max-width: 760px) {
  .team-grid,.email-band { grid-template-columns:1fr; }
  .team-card { min-height:auto; }
  .team-index { margin-bottom:1.3rem; }
}

/* Page-specific export imagery: contact = coordination; U.S. launch = dossier and SKU readiness. */
body:has(#exportForm) .docs-hero {
  background-image: linear-gradient(90deg, rgba(11,19,48,.97) 0%, rgba(20,25,58,.90) 42%, rgba(49,29,91,.66) 100%), url('/manus-storage/asa-contact-export-desk-hero_d3dceec8.png');
  background-position: center;
  background-size: cover;
}

body:has(#usLaunchForm) .docs-hero {
  background-image: linear-gradient(90deg, rgba(11,19,48,.98) 0%, rgba(20,25,58,.91) 42%, rgba(49,29,91,.65) 100%), url('/manus-storage/asa-us-document-dossier-hero_211ec9ff.png');
  background-position: center;
  background-size: cover;
}

/* Commercial conversions resolve to the ASA gold signal; forms retain technical navy/purple hierarchy. */
.form-wrap form {
  border-radius: 0 !important;
  border-top: 4px solid #d7af4a;
  box-shadow: 14px 14px 0 rgba(29,24,67,.09);
}

.form-actions .btn-primary,
.form-actions button.btn-primary {
  background: #d7af4a !important;
  border-color: #d7af4a !important;
  color: #171a35 !important;
  box-shadow: none !important;
}

.form-actions .btn-primary:hover,
.form-actions button.btn-primary:hover {
  background: #ecc66a !important;
  border-color: #ecc66a !important;
  transform: translateY(-1px);
}

.form-wrap form .form-grid { position: relative; }
.form-wrap form .form-grid::before {
  content: 'PROJECT DOSSIER';
  position: absolute;
  top: -2.5rem;
  right: 0;
  color: #6a6385;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .16em;
}

@media (max-width: 760px) {
  .form-wrap form { box-shadow: 7px 7px 0 rgba(29,24,67,.08); }
  .form-wrap form .form-grid::before { top: -2.15rem; }
}
