/* Generated by python3 site/build.py from site/styles/. Edit these source files. */
/* Hallmark · v2.0.0 · components sheet — stamp, waivers and palette live in styles.css :root */
/* ============================================================
   LABULLMED — components.css
   Hero, banners, cards, product components, contact action, detail pages
   ============================================================ */

/* ================= HERO ================= */
.hero {
  position: relative;
  overflow: hidden;
  background: #fff;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/img/hero-pattern.svg");
  background-size: 600px 400px;
  background-repeat: repeat;
  pointer-events: none;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.72), rgba(255,255,255,.18));
}

.hero__in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: var(--col-gap);
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.hero h1 {
  margin-bottom: .5em;
  font-size: clamp(2.15rem, 4.6vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -.01em;
}
.hero__eyebrow, .section-kicker {
  margin: 0 0 .75rem;
  color: var(--green-700);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.section-head .section-kicker { margin: 0 0 .75rem; color: var(--green-700); }
.hero__lead {
  max-width: 34rem;
  font-size: 1.08rem;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 1.75rem;
}

/* hero product showcase */
.hero__showcase {
  position: relative;
  isolation: isolate;
  min-height: 430px;
}
.h-card {
  position: absolute;
  display: grid;
  place-items: center;
  padding: 1.1rem;
  background: var(--white);
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.h-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.h-card figcaption {
  margin-top: .55rem;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  color: var(--blue);
}
.h-card--one {
  top: 6%;
  left: 4%;
  width: min(315px, 62%);
}
.h-card--one img { aspect-ratio: 16 / 10.3; }
.h-card--two {
  right: 0;
  bottom: 4%;
  width: min(280px, 55%);
}
.h-card--two img { aspect-ratio: 16 / 11.2; }

@media (max-width: 960px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); }
  .hero__showcase {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem;
    max-width: 520px;
  }
  .h-card { position: static; width: auto; }
  .h-card--two { bottom: auto; }
}
@media (max-width: 560px) {
  .hero__in { padding-block: 2rem; }
  .hero__actions { margin-top: 1.2rem; }
  .hero__showcase { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
}

.intro-strip { background: var(--white); border-top: 1px solid var(--border); }
.intro-strip__in { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; padding-block: clamp(2rem, 5vw, 3.5rem); }
.intro-strip h2 { max-width: 32rem; font-size: clamp(1.4rem, 3vw, 2rem); }
.intro-strip p:not(.section-kicker) { margin: 0; color: var(--muted); }
.intro-strip .link-arrow { flex-shrink: 0; }
@media (max-width: 720px) {
  .intro-strip__in { align-items: start; flex-direction: column; gap: .75rem; }
}

/* ================= PAGE BANNER (inner pages) ================= */
.page-banner {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/img/hero-pattern.svg");
  background-size: 600px 400px;
  background-repeat: repeat;
  background-position: center;
  pointer-events: none;
}
.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.8), rgba(255,255,255,.42) 60%, rgba(255,255,255,.12));
  pointer-events: none;
}
.page-banner__in {
  position: relative;
  z-index: 1;
  padding-block: clamp(2.4rem, 5.5vw, 3.8rem);
}
.page-banner h1 {
  margin: .35rem 0 0;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 700;
}
.page-banner .lead {
  max-width: 620px;
  margin: .6rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}
.page-banner__art {
  position: absolute;
  right: clamp(0rem, 4vw, 3rem);
  bottom: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: min(360px, 34%);
  color: var(--blue);
  opacity: .5;
  z-index: 1;
  pointer-events: none;
}
.page-banner__art svg { width: 100%; height: auto; max-height: 150px; }
@media (max-width: 860px) {
  .page-banner__art { display: none; }
}
@media (max-width: 720px) {
  .page-banner__in { padding-block: 1.4rem; }
  .page-banner--compact .page-banner__in { padding-block: .9rem; }
  .page-banner h1 { font-size: 1.8rem; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: .85rem;
  color: var(--muted);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
}
.breadcrumb li { display: flex; align-items: center; gap: .55rem; }
.breadcrumb li + li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--border-strong);
}
.breadcrumb a { color: var(--muted); font-weight: 500; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb [aria-current] { color: var(--blue); font-weight: 600; }

/* ================= PRODUCT CARDS ================= */
.p-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .22s ease, border-color .22s ease;
}
.p-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.p-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.4rem 1.4rem 1.15rem;
  background: linear-gradient(180deg, var(--wash-panel-a) 0%, var(--wash-panel-b) 100%);
  border-bottom: 1px solid var(--border);
}
.p-card__media img {
  width: 100%;
  height: 100%;
  max-height: 240px;
  object-fit: contain;
}
.p-card__media--tall img { max-height: 320px; }

.p-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: .5rem;
  padding: 1.2rem 1.25rem 1.35rem;
}
.p-card__name {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--blue);
  line-height: 1.3;
}
.p-card__name a { color: inherit; }
.p-card__name a::after { content: ""; position: absolute; inset: 0; }  /* whole card clickable */
.p-card__generic {
  margin: 0;
  font-size: .88rem;
  color: var(--muted);
  min-height: 2.6em;
}
.p-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .15rem;
}
.p-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  margin-top: auto;
  padding-top: .8rem;
  border-top: 1px dashed var(--border);
}
.p-card__details {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  white-space: nowrap;
  font-weight: 600;
  font-size: .88rem;
  color: var(--green-700);
}
.p-card__details svg { transition: transform .2s ease; }
.p-card:hover .p-card__details svg { transform: translateX(4px); }

@media (max-width: 720px) {
  .p-card { display: grid; grid-template-columns: minmax(96px, 34%) minmax(0, 1fr); }
  .p-card__media { padding: .65rem; border-bottom: 0; border-right: 1px solid var(--border); }
  .p-card__media img, .p-card__media--tall img { max-height: 140px; }
  .p-card__body { gap: .35rem; padding: .85rem; }
  .p-card__name { font-size: .98rem; }
  .p-card__generic { min-height: 0; font-size: .82rem; line-height: 1.45; }
  .p-card__meta { gap: .3rem; }
  .p-card__foot { display: none; }
}

/* ================= CONTACT PAGE ================= */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--col-gap);
  align-items: start;
}
.info-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.info-item__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--tint-blue);
  color: var(--blue);
}
.info-item--green .info-item__icon { background: var(--tint-green); color: var(--green-700); }
.info-item--red .info-item__icon { background: var(--tint-red); color: var(--red-700); }
.info-item h2 { margin: 0 0 .15rem; font-size: .98rem; }
.info-item p { margin: 0; font-size: .9rem; color: var(--muted); }
.info-item a { font-weight: 600; }
.info-item .info-item__sub { margin-top: .5rem; font-size: .84rem; }
.info-item .info-item__tag { margin-top: .5rem; }

@media (max-width: 940px) {
  .info-card { grid-template-columns: minmax(0, 1fr); }
}

/* ================= PRODUCT DETAIL PAGE ================= */
.pd {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: var(--col-gap);
  align-items: start;
}
@media (max-width: 940px) {
  .pd { grid-template-columns: minmax(0, 1fr); }
}

.pd__gallery { position: sticky; top: calc(var(--header-h) + 1.5rem); }
@media (max-width: 940px) {
  .pd__gallery { position: static; }
}

.gallery-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.gallery-main img {
  width: 100%;
  max-height: 430px;
  object-fit: contain;
}
.gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1rem;
}
.g-thumb {
  display: grid;
  place-items: center;
  width: 92px; height: 68px;
  padding: .45rem;
  background: transparent;
  border: 2px solid var(--border-strong);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.g-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.g-thumb:hover { border-color: var(--blue); }
.g-thumb:active { border-color: var(--blue-700); }
.g-thumb[aria-pressed="true"] {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.pd__tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .8rem; }
.pd__info h1 {
  margin-bottom: .45em;
  font-size: clamp(1.7rem, 3.4vw, 2.2rem);
  color: var(--blue-900);
}
.pd__generic {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 30rem;
}

.spec-list {
  margin: 1.5rem 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.spec-list__row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: .5rem 1rem;
  padding: .85rem 1.15rem;
  border-top: 1px solid var(--border);
  font-size: .92rem;
}
.spec-list__row:first-child { border-top: 0; }
.spec-list__row dt {
  font-weight: 600;
  color: var(--blue);
}
.spec-list__row dd { margin: 0; color: var(--ink); }
.spec-list__row dd a { font-weight: 600; }
@media (max-width: 480px) {
  .spec-list__row { grid-template-columns: 1fr; gap: .15rem; }
}

.pd__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.4rem;
}
.pd__back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1.2rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--muted);
}
.pd__back:hover { color: var(--blue); }

@media (max-width: 720px) {
  .pd { gap: 1.5rem; }
  .gallery-main { padding: 1rem; }
  .gallery-main img { max-height: 260px; }
  .gallery-thumbs { gap: .5rem; margin-top: .65rem; }
  .g-thumb { width: 72px; height: 58px; }
  .spec-list { margin: 1rem 0; }
}

/* ================= ABOUT PAGE ================= */
.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  align-items: center;
  gap: var(--col-gap);
}
.about-intro h2 { font-size: clamp(1.65rem, 3.4vw, 2.25rem); }
.about-intro p:not(.section-kicker) { color: var(--muted); max-width: 38rem; }
.about-intro__image {
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #f1f5f3;
}
.about-intro__image img { width: 100%; height: auto; border-radius: var(--radius-sm); }
.about-focus { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.about-focus article { padding: 1.5rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.about-focus h3 { font-size: 1.05rem; }
.about-focus p { margin: 0; color: var(--muted); font-size: .93rem; }
.about-contact { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
.about-contact p { margin: 0; font-weight: 600; }
@media (max-width: 720px) {
  .about-intro { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .about-intro__image { max-width: 420px; }
  .about-focus { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .about-focus article { padding: 1.1rem; }
}

/* ================= MOBILE / TABLET TOUCH TARGETS ================= */
@media (max-width: 1024px) {
  .breadcrumb a,
  .link-arrow,
  .p-card__name a,
  .p-card__details,
  .pd__back,
  .info-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .breadcrumb a {
    margin-inline: -.2rem;
    padding-inline: .2rem;
  }
}
