/*
 * inner-pages.css
 * Layout classes for product and solution pages.
 * Supplements style.css + components.css — does NOT duplicate tokens or base classes.
 * Phase 3: Product & Solution Pages
 */

/* ─── About Hero ─────────────────────────────────────────────────────────── */
.about-hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.about-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.about-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.about-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.45) 50%,
    rgba(0,0,0,0.2) 100%
  );
}
.about-hero__content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-height) + var(--utility-bar-height) + 40px);
  padding-bottom: 72px;
  max-width: 760px;
}
.about-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red-400);
  margin: 16px 0 18px;
}
.about-hero__eyebrow i { width: 13px; height: 13px; flex-shrink: 0; }
.about-hero__heading {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
}
.about-hero__heading em {
  font-style: normal;  color: var(--red-400);
}
.about-hero__sub {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  max-width: 600px;
}
@media (max-width: 768px) {
  .about-hero { min-height: 70vh; }
  .about-hero__content { padding-bottom: 56px; }
  .about-hero__heading { font-size: clamp(1.9rem, 7vw, 2.6rem); }
}

/* ─── Factory Hero ───────────────────────────────────────────────────────── */
.factory-hero {
  background: var(--grey-950);
  padding-top: calc(var(--header-height) + var(--utility-bar-height) + 56px);
  padding-bottom: 80px;
}
.factory-hero__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.factory-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red-500);
  margin: 16px 0 18px;
}
.factory-hero__eyebrow i { width: 13px; height: 13px; flex-shrink: 0; }
.factory-hero__heading {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}
.factory-hero__heading em {
  font-style: normal;  color: var(--red-400);
}
.factory-hero__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 420px;
}
.factory-hero__embed {
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
@media (max-width: 1024px) {
  .factory-hero__split { grid-template-columns: 1fr; gap: 40px; }
  .factory-hero__sub { max-width: 100%; }
}
@media (max-width: 768px) {
  .factory-hero {
    padding-top: calc(var(--header-height-mobile) + 48px);
    padding-bottom: 60px;
  }
}

/* ─── Products Overview Grid ─────────────────────────────────────────────── */
.products-overview-grid {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1024px) {
  .products-overview-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .products-overview-grid { grid-template-columns: 1fr; }
}

/* ─── Solutions Overview Grid ────────────────────────────────────────────── */
.solutions-overview-grid {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1024px) {
  .solutions-overview-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .solutions-overview-grid { grid-template-columns: 1fr; }
}

/* ─── Benefits List ──────────────────────────────────────────────────────── */
.benefits-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin: 0;
  padding: 0;
}
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--grey-400);
  font-size: var(--text-body);
  line-height: 1.6;
}
.benefit-item__icon {
  width: 20px;
  height: 20px;
  color: var(--red-500);
  flex-shrink: 0;
  margin-top: 3px;
}
@media (max-width: 768px) {
  .benefits-list { grid-template-columns: 1fr; }
}

/* ─── Applications Grid ──────────────────────────────────────────────────── */
.applications-grid {
  grid-template-columns: repeat(3, 1fr);
}
.application-item {
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-radius: 8px;
  padding: var(--space-3);
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--grey-800);
  display: flex;
  align-items: center;
  gap: 10px;
}
.application-item i {
  width: 18px;
  height: 18px;
  color: var(--red-600);
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .applications-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .applications-grid { grid-template-columns: 1fr; }
}

/* ─── Technical Block ────────────────────────────────────────────────────── */
.technical-block {
  background: var(--grey-950);
  border-radius: 12px;
  padding: var(--space-5);
  border-left: 4px solid var(--red-600);
  margin-top: var(--space-4);
}
.technical-block__heading {
  font-size: var(--text-h4);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.technical-block__text {
  font-size: var(--text-body);
  color: var(--grey-400);
  line-height: 1.65;
  margin: 0;
}

/* ─── Inline CTA Band ────────────────────────────────────────────────────── */
.cta-band {
  text-align: center;
}
.cta-band__heading {
  font-size: var(--text-h2);
  font-weight: 700;
  color: var(--grey-950);
  margin-bottom: 16px;
}
.cta-band__sub {
  font-size: var(--text-body);
  color: var(--grey-600);
  margin-bottom: var(--space-3);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cta-band__actions {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-3);
}

/* ─── Requirements List (solution pages) ────────────────────────────────── */
.requirements-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.requirements-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--grey-700);
  font-size: var(--text-body);
  line-height: 1.6;
}
.requirements-list li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-600);
  flex-shrink: 0;
  margin-top: 8px;
}

/* ─── Recommended Products List (solution pages) ────────────────────────── */
.recommended-products {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.recommended-product-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: var(--space-2) var(--space-3);
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-radius: 8px;
  text-decoration: none;
  color: var(--grey-800);
  font-size: var(--text-body);
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}
.recommended-product-link:hover {
  border-color: var(--red-300);
  background: var(--red-50);
  color: var(--red-700);
}
.recommended-product-link i {
  width: 16px;
  height: 16px;
  color: var(--red-500);
  flex-shrink: 0;
}

/* ─── Subcategory Links (hospital, high-security parent pages) ───────────── */
.subcategory-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.subcategory-link-card {
  display: block;
  padding: var(--space-4);
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.subcategory-link-card:hover {
  border-color: var(--red-300);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.subcategory-link-card__title {
  font-size: var(--text-h4);
  font-weight: 700;
  color: var(--grey-950);
  margin-bottom: 8px;
}
.subcategory-link-card__desc {
  font-size: var(--text-body);
  color: var(--grey-600);
  line-height: 1.6;
}
@media (max-width: 640px) {
  .subcategory-links { grid-template-columns: 1fr; }
}

/* ─── Project Card Placeholder ──────────────────────────────────────────── */
.projects-grid {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1024px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .projects-grid { grid-template-columns: 1fr; }
}

.project-card-placeholder {
  height: 220px;
  background: var(--grey-800);
  border-radius: 12px 12px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-card-placeholder span {
  font-size: var(--text-small);
  color: var(--grey-400);
  font-style: italic;
}

/* ─── Factory Photo Gallery ─────────────────────────────────────────────── */
.factory-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.factory-gallery__item {
  border-radius: 8px;
  overflow: hidden;
}
.factory-gallery__item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 300ms ease;
}
.factory-gallery__item img:hover {
  transform: scale(1.03);
}
@media (max-width: 1024px) {
  .factory-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .factory-gallery { grid-template-columns: 1fr; }
  .factory-gallery__item img { height: 200px; }
}

/* ─── Certification Logos Strip ─────────────────────────────────────────── */
.cert-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  align-items: center;
  justify-content: center;
  margin-top: var(--space-5);
}
.cert-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}
.cert-strip__item img {
  height: 72px;
  width: auto;
  object-fit: contain;
  filter: grayscale(20%);
  opacity: 0.85;
  transition: opacity 200ms ease, filter 200ms ease;
}
.cert-strip__item img:hover {
  opacity: 1;
  filter: grayscale(0%);
}
.cert-strip__label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--grey-600);
  text-align: center;
}

/* ---- VIDEO EMBED (responsive 16:9) ---- */
.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: 12px;
  overflow: hidden;
  background: var(--grey-900);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ---- WHAT WE MANUFACTURE — grouped domain grid ---- */
.manufacture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
}
.manufacture-group {
  background: rgba(255,255,255,0.03);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.manufacture-group__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--red-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.manufacture-group__label i {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.manufacture-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-small);
  color: var(--grey-400);
  text-decoration: none;
  transition: color 150ms ease;
  line-height: 1.4;
}
.manufacture-item i {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--grey-600);
  transition: color 150ms ease;
}
.manufacture-item:hover {
  color: var(--white);
}
.manufacture-item:hover i {
  color: var(--red-500);
}
@media (max-width: 1024px) {
  .manufacture-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .manufacture-grid { grid-template-columns: 1fr; }
}

/* ─── Products: Mosaic Wall ─────────────────────────────────────────────── */

/* Hero — full-bleed cinematic banner */
.pmosaic-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.pmosaic-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.pmosaic-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.04);
  animation: pmHeroZoom 12s ease-out forwards;
}
@keyframes pmHeroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.0); }
}
.pmosaic-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.55) 50%,
    rgba(0,0,0,0.25) 100%
  );
}
.pmosaic-hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: 72px;
  padding-top: 120px;
}
.pmosaic-hero__heading {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 16px 0 20px;
  max-width: 740px;
}
.pmosaic-hero__heading em {
  font-style: normal;  color: var(--red-400);
}
.pmosaic-hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  max-width: 500px;
  margin: 0 0 36px;
}
.pmosaic-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pmosaic-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  color: rgba(255,255,255,0.8);
  font-size: var(--text-small);
  font-weight: 600;
  border-radius: 999px;
}
.pmosaic-chip i {
  width: 13px;
  height: 13px;
  color: var(--red-400);
  flex-shrink: 0;
}
.pmosaic-hero__scroll-hint {
  position: absolute;
  bottom: 28px;
  right: 40px;
  z-index: 2;
  color: rgba(255,255,255,0.3);
  animation: pmBounce 2s ease-in-out infinite;
}
.pmosaic-hero__scroll-hint i { width: 22px; height: 22px; }
@keyframes pmBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}
@media (max-width: 640px) {
  .pmosaic-hero { min-height: 70vh; }
  .pmosaic-hero__heading { font-size: clamp(2rem, 8vw, 2.8rem); }
  .pmosaic-hero__scroll-hint { display: none; }
}

/* ─── Products: Editorial Catalog ───────────────────────────────────────── */
.pcat-section {
  background: var(--white);
  padding: 80px 0 0;
}

/* Chapter = one category group */
.pcat-chapter {
  padding-bottom: 80px;
  border-bottom: 1px solid var(--grey-100);
  margin-bottom: 80px;
}
.pcat-chapter--last {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 96px;
}

/* Chapter header */
.pcat-chapter__header {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
}
.pcat-chapter__num {
  font-size: 6rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--grey-200);
  user-select: none;
  flex-shrink: 0;
}
.pcat-chapter__meta {
  padding-bottom: 8px;
}
.pcat-chapter__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red-400);
  margin-bottom: 8px;
}
.pcat-chapter__eyebrow i {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.pcat-chapter__title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--grey-950);
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* ── Featured panel — full bleed with overlay text ── */
.pcat-feature {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  text-decoration: none;
  aspect-ratio: 21/9;
}
.pcat-feature__img {
  position: absolute;
  inset: 0;
}
.pcat-feature__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 700ms cubic-bezier(0.25,0.46,0.45,0.94);
}
.pcat-feature:hover .pcat-feature__img img { transform: scale(1.04); }
.pcat-feature::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.4) 55%, rgba(0,0,0,0.15) 100%);
  transition: opacity 300ms;
}
.pcat-feature__body {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 44px 52px;
  gap: 14px;
}
.pcat-feature__title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.pcat-feature__desc {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
  margin: 0;
  max-width: 480px;
}
.pcat-feature__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
  padding: 10px 20px;
  background: var(--red-600);
  border-radius: 6px;
  width: fit-content;
  transition: background 200ms, gap 200ms;
}
.pcat-feature:hover .pcat-feature__cta { background: var(--red-500); gap: 12px; }
.pcat-feature__cta i { width: 15px; height: 15px; transition: transform 200ms; }
.pcat-feature:hover .pcat-feature__cta i { transform: translateX(3px); }

/* Standard product card grid */
.pcat-grid {
  display: grid;
  gap: 14px;
}
.pcat-grid--2 { grid-template-columns: repeat(2, 1fr); }
.pcat-grid--3 { grid-template-columns: repeat(3, 1fr); }
.pcat-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ── Overlay card — image fills card, text at bottom ── */
.pcat-card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  text-decoration: none;
  aspect-ratio: 3/4;
}
.pcat-grid--2 .pcat-card { aspect-ratio: 4/3; }
.pcat-grid--3 .pcat-card { aspect-ratio: 3/4; }
.pcat-grid--4 .pcat-card { aspect-ratio: 2/3; }

.pcat-card__img {
  position: absolute;
  inset: 0;
}
.pcat-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms cubic-bezier(0.25,0.46,0.45,0.94);
}
.pcat-card:hover .pcat-card__img img { transform: scale(1.07); }
.pcat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.3) 45%, rgba(0,0,0,0.05) 100%);
  transition: background 300ms;
}
.pcat-card:hover::after {
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 55%, rgba(0,0,0,0.1) 100%);
}
.pcat-card__body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 1;
  padding: 20px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pcat-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  line-height: 1.25;
}
.pcat-card__desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  margin: 0;
}
.pcat-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red-400);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 220ms, transform 220ms, gap 200ms;
  margin-top: 2px;
}
.pcat-card:hover .pcat-card__link {
  opacity: 1;
  transform: translateY(0);
  gap: 8px;
}
.pcat-card__link i { width: 12px; height: 12px; }

/* Tall card modifier — no-op now (overlay handles it) */
.pcat-card--tall { aspect-ratio: 3/4; }

/* Responsive */
@media (max-width: 1024px) {
  .pcat-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .pcat-grid--4 .pcat-card { aspect-ratio: 3/4; }
  .pcat-feature { aspect-ratio: 16/7; }
  .pcat-feature__body { padding: 36px 40px; }
}
@media (max-width: 768px) {
  .pcat-feature { aspect-ratio: 4/3; }
  .pcat-feature::after {
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.4) 55%, rgba(0,0,0,0.1) 100%);
  }
  .pcat-feature__body { padding: 28px 28px; justify-content: flex-end; }
  .pcat-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .pcat-chapter__num { font-size: 4rem; }
  .pcat-chapter { padding-bottom: 56px; margin-bottom: 56px; }
}
@media (max-width: 500px) {
  .pcat-grid--2,
  .pcat-grid--3,
  .pcat-grid--4 { grid-template-columns: 1fr; }
  .pcat-grid--2 .pcat-card,
  .pcat-grid--3 .pcat-card,
  .pcat-grid--4 .pcat-card { aspect-ratio: 4/3; }
  .pcat-chapter__num { font-size: 3rem; }
  .pcat-chapter { padding-bottom: 48px; margin-bottom: 48px; }
}

/* ─── Solutions Hero ────────────────────────────────────────────────────── */
.sol-hero {
  background: var(--grey-950);
  overflow: hidden;
}
.breadcrumb--light a,
.breadcrumb--light .breadcrumb__separator,
.breadcrumb--light .breadcrumb__current {
  color: var(--grey-500);
}
.breadcrumb--light a:hover { color: var(--grey-300); }

/* Header text area */
.sol-hero__header {
  padding-top: calc(var(--header-height) + var(--utility-bar-height) + 48px);
  padding-bottom: 36px;
}
.sol-hero__header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.sol-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red-500);
  margin-bottom: 14px;
}
.sol-hero__eyebrow i { width: 13px; height: 13px; flex-shrink: 0; }
.sol-hero__heading {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 600px;
}
.sol-hero__heading em {
  font-style: normal;  color: var(--red-400);
}
.sol-hero__stats {
  display: flex;
  gap: 32px;
  flex-shrink: 0;
  padding-bottom: 4px;
}
.sol-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sol-stat__number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
}
.sol-stat__label {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* 5-panel expanding strip */
.sol-hero__panels {
  display: flex;
  height: 52vh;
  min-height: 300px;
  gap: 2px;
}
.sol-panel {
  flex: 1;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: flex 500ms cubic-bezier(0.4, 0, 0.2, 1);
}
.sol-panel:hover { flex: 2.8; }
.sol-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 600ms ease, filter 400ms ease;
  filter: brightness(0.55) saturate(0.75);
}
.sol-panel:hover img {
  transform: scale(1.06);
  filter: brightness(0.72) saturate(1);
}
.sol-panel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, transparent 55%);
}
.sol-panel__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}
.sol-panel__label > i {
  width: 18px;
  height: 18px;
  color: var(--red-400);
  flex-shrink: 0;
}
.sol-panel__name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.sol-panel__cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 280ms 80ms, transform 280ms 80ms;
  white-space: nowrap;
}
.sol-panel:hover .sol-panel__cta {
  opacity: 1;
  transform: translateY(0);
}
.sol-panel__cta i { width: 11px; height: 11px; }

/* Responsive */
@media (max-width: 1024px) {
  .sol-hero__header-row { flex-direction: column; align-items: flex-start; gap: 24px; }
  .sol-hero__panels { height: 42vh; }
  .sol-hero__stats { gap: 24px; }
}
@media (max-width: 768px) {
  .sol-hero__header {
    padding-top: calc(var(--header-height-mobile) + 40px);
    padding-bottom: 24px;
  }
  .sol-hero__panels { flex-direction: column; height: auto; gap: 2px; }
  .sol-panel { height: 72px; flex: none; transition: height 400ms ease; }
  .sol-panel:hover { flex: none; height: 180px; }
  .sol-panel__cta { display: none; }
}

/* ─── Solution Cards List ───────────────────────────────────────────────── */
.sol-list {
  display: flex;
  flex-direction: column;
}
.sol-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  border-bottom: 1px solid var(--grey-200);
}
.sol-card:nth-child(odd) {
  background: var(--white);
}
.sol-card:nth-child(even) {
  background: var(--grey-50);
}
/* Flip: image on right (default = image left) */
.sol-card--flip {
  direction: rtl;
}
.sol-card--flip > * {
  direction: ltr;
}
.sol-card__image {
  position: relative;
  overflow: hidden;
}
.sol-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms ease;
}
.sol-card:hover .sol-card__image img {
  transform: scale(1.04);
}
.sol-card__image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: var(--text-small);
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
}
.sol-card__image-badge i {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.sol-card__body {
  padding: 56px 56px 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-3);
}
.sol-card--flip .sol-card__body {
  padding: 56px 48px 56px 56px;
}
.sol-card__title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--grey-950);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
}
.sol-card__intro {
  font-size: var(--text-body);
  color: var(--grey-600);
  line-height: 1.7;
  margin: 0;
  max-width: 480px;
}
.sol-card__bullets {
  list-style: none;
  margin: 4px 0 8px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sol-card__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-body);
  color: var(--grey-700);
  line-height: 1.5;
}
.sol-card__bullets i {
  width: 16px;
  height: 16px;
  color: var(--red-600);
  flex-shrink: 0;
  margin-top: 3px;
}
@media (max-width: 1024px) {
  .sol-card {
    grid-template-columns: 1fr;
    grid-template-rows: 300px auto;
    min-height: unset;
  }
  .sol-card--flip { direction: ltr; }
  .sol-card__body,
  .sol-card--flip .sol-card__body {
    padding: 40px 32px 48px;
  }
}
@media (max-width: 640px) {
  .sol-card { grid-template-rows: 220px auto; }
  .sol-card__body,
  .sol-card--flip .sol-card__body { padding: 28px 20px 36px; }
  .sol-hero__stats { gap: 24px; }
}

/* ─── Contact Hero ──────────────────────────────────────────────────────── */
/* ─── Contact Hero ───────────────────────────────────────────────────────── */
.contact-hero {
  background: var(--grey-950);
  padding-top: calc(var(--header-height) + var(--utility-bar-height) + 56px);
  padding-bottom: 80px;
}
.contact-hero__split {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: center;
}

/* Left */
.contact-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red-500);
  margin: 16px 0 18px;
}
.contact-hero__eyebrow i { width: 13px; height: 13px; flex-shrink: 0; }
.contact-hero__heading {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}
.contact-hero__heading em {
  font-style: normal;  color: var(--red-400);
}
.contact-hero__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 36px;
}

/* Action buttons */
.contact-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.contact-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 200ms, transform 150ms;
  white-space: nowrap;
}
.contact-hero__btn:hover { transform: translateY(-1px); }
.contact-hero__btn i, .contact-hero__btn svg { flex-shrink: 0; }
.contact-hero__btn--whatsapp {
  background: #25D366;
  color: #fff;
}
.contact-hero__btn--whatsapp:hover { background: #1ebe5d; }
.contact-hero__btn--call {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
}
.contact-hero__btn--call:hover { background: rgba(255,255,255,0.14); }
.contact-hero__btn--call i { width: 17px; height: 17px; }

/* Badge pills */
.contact-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 5px 13px;
  border-radius: 999px;
}
.contact-badge i {
  width: 13px;
  height: 13px;
  color: var(--red-400);
  flex-shrink: 0;
}

/* Right: Direct Contact Card */
.contact-hero__card {
  background: var(--grey-900);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-hero__card-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red-500);
}
.contact-hero__detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: opacity 200ms;
}
a.contact-hero__detail:hover { opacity: 0.75; }
.contact-hero__detail-icon {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-hero__detail-icon i {
  width: 15px;
  height: 15px;
  color: var(--red-400);
}
.contact-hero__detail-key {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 4px;
}
.contact-hero__detail-val {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
}
.contact-hero__card-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
}
.contact-hero__wa-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  background: rgba(37,211,102,0.1);
  border: 1px solid rgba(37,211,102,0.22);
  border-radius: 8px;
  color: #4cd680;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 200ms;
}
.contact-hero__wa-row:hover { background: rgba(37,211,102,0.18); }

/* Responsive */
@media (max-width: 1024px) {
  .contact-hero__split { grid-template-columns: 1fr; gap: 48px; }
  .contact-hero__sub { max-width: 100%; }
}
@media (max-width: 768px) {
  .contact-hero {
    padding-top: calc(var(--header-height-mobile) + 48px);
    padding-bottom: 60px;
  }
}

/* ─── Contact Layout (2-column) ─────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: var(--space-6);
  align-items: start;
}
@media (max-width: 1024px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* ─── Contact Sidebar (How it works) ────────────────────────────────────── */
.contact-sidebar {
  position: sticky;
  top: 128px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-sidebar__eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red-600);
}
.contact-sidebar__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-sidebar__step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-sidebar__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--red-50);
  color: var(--red-600);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.contact-sidebar__step strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--grey-950);
  margin-bottom: 4px;
}
.contact-sidebar__step p {
  font-size: 0.82rem;
  color: var(--grey-600);
  line-height: 1.6;
  margin: 0;
}
.contact-sidebar__divider {
  height: 1px;
  background: var(--grey-200);
}
.contact-sidebar__direct {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-sidebar__direct-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey-400);
  margin-bottom: 2px;
}
.contact-sidebar__link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--grey-800);
  text-decoration: none;
  transition: color 150ms;
}
.contact-sidebar__link:hover { color: var(--grey-950); }
.contact-sidebar__link i {
  width: 15px;
  height: 15px;
  color: var(--red-500);
  flex-shrink: 0;
}
.contact-sidebar__wa {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 11px 16px;
  background: rgba(37,211,102,0.08);
  border: 1px solid rgba(37,211,102,0.2);
  border-radius: 8px;
  color: #16a34a;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 200ms;
}
.contact-sidebar__wa:hover { background: rgba(37,211,102,0.15); }

@media (max-width: 1024px) {
  .contact-sidebar { position: static; }
}

/* ─── Contact Form Panel ────────────────────────────────────────────────── */
.contact-form-panel {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-top: 3px solid var(--red-600);
  border-radius: 16px;
  padding: 40px 40px 44px;
}
.contact-form-panel__header {
  margin-bottom: var(--space-4);
}
.contact-form-panel__title {
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--grey-950);
  margin-bottom: 4px;
}
.contact-form-panel__sub {
  font-size: var(--text-small);
  color: var(--grey-500);
  margin: 0;
}

/* ─── Contact Form ──────────────────────────────────────────────────────── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
@media (max-width: 640px) {
  .contact-form__row { grid-template-columns: 1fr; }
  .contact-form-panel { padding: 28px 20px 32px; }
}
.contact-form__note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-small);
  color: var(--grey-500);
  margin: 0;
}
.contact-form__note i {
  flex-shrink: 0;
  color: var(--grey-400);
}
.contact-form__note a {
  color: var(--grey-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact-form__submit {
  align-self: flex-start;
  margin-top: var(--space-1);
}
@media (max-width: 480px) {
  .contact-form__submit { width: 100%; justify-content: center; }
}

/* ============================================================
   RESIDENTIAL GALLERY
   ============================================================ */
.rg-section { padding-top: 80px; padding-bottom: 96px; }

.rg-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.rg-header .section__heading { margin-bottom: 8px; }
.rg-header .section__intro { color: var(--grey-600); max-width: 52ch; margin: 0; }
.rg-count {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--grey-500);
  white-space: nowrap;
}
@media (max-width: 640px) {
  .rg-header { flex-direction: column; align-items: flex-start; }
}

/* Filter bar */
.rg-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.rg-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1.5px solid var(--grey-200);
  background: var(--white);
  font-size: 13px;
  font-weight: 500;
  color: var(--grey-700);
  cursor: pointer;
  transition: background 200ms, border-color 200ms, color 200ms;
}
.rg-filter:hover { border-color: var(--grey-400); color: var(--grey-950); }
.rg-filter--active {
  background: var(--grey-950);
  border-color: var(--grey-950);
  color: var(--white);
}
.rg-filter__count {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.65;
}

/* 4-column grid */
.rg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 1100px) { .rg-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .rg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px)  { .rg-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

.rg-item { /* no break-inside needed in grid */ }

.rg-item__btn {
  position: relative;
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  background: none;
  cursor: zoom-in;
  border-radius: 6px;
  overflow: hidden;
}
.rg-item__btn img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  border-radius: 6px;
  transition: transform 400ms ease;
}
.rg-item__btn:hover img { transform: scale(1.04); }

.rg-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 250ms ease;
  border-radius: 6px;
}
.rg-item__btn:hover .rg-item__overlay { opacity: 1; }
.rg-item__overlay i {
  color: var(--white);
  width: 28px;
  height: 28px;
}

/* Lightbox */
.rg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease;
}
.rg-lightbox--open {
  opacity: 1;
  pointer-events: all;
}
.rg-lightbox__img-wrap {
  max-width: min(90vw, 1100px);
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rg-lightbox__img-wrap img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}
.rg-lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  transition: background 200ms;
}
.rg-lightbox__close:hover { background: rgba(255,255,255,0.25); }
.rg-lightbox__close i { width: 22px; height: 22px; }
.rg-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  transition: background 200ms;
}
.rg-lightbox__nav:hover { background: rgba(255,255,255,0.25); }
.rg-lightbox__nav i { width: 26px; height: 26px; }
.rg-lightbox__nav--prev { left: 20px; }
.rg-lightbox__nav--next { right: 20px; }
.rg-lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  letter-spacing: 0.05em;
}
@media (max-width: 640px) {
  .rg-lightbox__nav--prev { left: 8px; }
  .rg-lightbox__nav--next { right: 8px; }
  .rg-lightbox__nav { width: 40px; height: 40px; }
}


/* ============================================================
   RESIDENTIAL DOORS PAGE REDESIGN
   ============================================================ */

/* Hero */
.rd-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 88vh;
  padding-top: calc(var(--header-height) + var(--utility-bar-height));
}
.rd-hero__left {
  background: var(--grey-950);
  display: flex;
  align-items: center;
}
.rd-hero__content {
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  padding: 64px 48px 64px 40px;
}
.rd-hero__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-500);
  margin-bottom: 16px;
}
.rd-hero__heading {
  font-size: clamp(2.2rem, 3.8vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--white);
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}
.rd-hero__heading em {
  font-style: normal;
  
  }
.rd-hero__sub {
  font-size: 1.0625rem;
  color: var(--grey-400);
  line-height: 1.65;
  margin: 0 0 36px;
  max-width: 44ch;
}
.rd-hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.rd-hero__browse-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--grey-300);
  text-decoration: none;
  transition: color 200ms;
}
.rd-hero__browse-btn:hover { color: var(--white); }
.rd-hero__browse-btn i { width: 16px; height: 16px; }
.rd-hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.rd-hero__stat { text-align: center; }
.rd-hero__stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.rd-hero__stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey-500);
}
.rd-hero__stat-div {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}
.rd-hero__right {
  position: relative;
  overflow: hidden;
}
.rd-hero__right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.rd-hero__badge {
  position: absolute;
  bottom: 28px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 40px;
  padding: 10px 18px;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
}
.rd-hero__badge i { width: 16px; height: 16px; color: var(--red-400); }
@media (max-width: 900px) {
  .rd-hero { grid-template-columns: 1fr; min-height: auto; }
  .rd-hero__right { height: 55vw; min-height: 320px; }
  .rd-hero__content { max-width: 100%; padding: 48px 24px; margin-left: 0; }
}
@media (max-width: 600px) {
  .rd-hero__heading { font-size: 2rem; }
  .rd-hero__stats { gap: 16px; }
  .rd-hero__right { height: 70vw; }
}

/* Collections Strip */
.rd-collections { background: var(--white); }
.rd-collections__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}
.rd-collections__header .section__heading { margin-bottom: 0; }
.rd-collections__all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-700);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 200ms;
}
.rd-collections__all:hover { color: var(--red-600); }
.rd-collections__all i { width: 14px; height: 14px; }
.rd-coll-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.rd-coll-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid var(--grey-100);
  transition: border-color 250ms, box-shadow 250ms, transform 250ms;
}
.rd-coll-card:hover {
  border-color: var(--grey-300);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}
.rd-coll-card__img {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--grey-100);
}
.rd-coll-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 400ms ease;
}
.rd-coll-card:hover .rd-coll-card__img img { transform: scale(1.06); }
.rd-coll-card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 14px 16px;
  background: var(--white);
}
.rd-coll-card__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--grey-950);
}
.rd-coll-card__count {
  font-size: 12px;
  color: var(--grey-500);
  font-weight: 500;
}
@media (max-width: 900px) { .rd-coll-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 580px) { .rd-coll-strip { grid-template-columns: repeat(2, 1fr); } }

/* Features Grid */
.rd-features { background: var(--grey-50); }
.rd-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.rd-feat-card {
  background: var(--white);
  border-radius: 14px;
  padding: 32px 28px 36px;
  border: 1.5px solid var(--grey-100);
  transition: border-color 250ms, box-shadow 250ms;
}
.rd-feat-card:hover {
  border-color: var(--grey-200);
  box-shadow: 0 6px 24px rgba(0,0,0,0.07);
}
.rd-feat-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--red-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.rd-feat-card__icon i { width: 22px; height: 22px; color: var(--red-600); }
.rd-feat-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--grey-950);
  margin: 0 0 10px;
}
.rd-feat-card__desc {
  font-size: 0.9375rem;
  color: var(--grey-600);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 900px) { .rd-features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .rd-features__grid { grid-template-columns: 1fr; gap: 16px; } }

/* Finishes */
.rd-finishes {
  background: var(--grey-950);
  padding: 96px 0;
}
.rd-finishes__header {
  max-width: 600px;
  margin-bottom: 48px;
}
.rd-finishes__header .eyebrow { color: var(--red-500); }
.rd-finishes__header .section__heading { color: var(--white); }
.rd-finishes__header .section__intro { color: var(--grey-400); margin: 0; }
.rd-finishes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.rd-finish-card {
  border-radius: 14px;
  overflow: hidden;
  background: var(--grey-900);
  border: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
}
.rd-finish-card__img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.rd-finish-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 400ms ease;
}
.rd-finish-card:hover .rd-finish-card__img img { transform: scale(1.05); }
.rd-finish-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
}
.rd-finish-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--red-600);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}
.rd-finish-card__body { padding: 24px 24px 28px; flex: 1; }
.rd-finish-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 10px;
}
.rd-finish-card__desc {
  font-size: 0.9rem;
  color: var(--grey-400);
  line-height: 1.6;
  margin: 0 0 18px;
}
.rd-finish-card__swatches { display: flex; gap: 8px; align-items: center; }
.rd-swatch {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
}
@media (max-width: 900px) { .rd-finishes__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) {
  .rd-finishes__grid { grid-template-columns: 1fr; }
  .rd-finishes { padding: 64px 0; }
}

/* Configurations */
.rd-config__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.rd-config__desc {
  font-size: 1rem;
  color: var(--grey-600);
  line-height: 1.7;
  margin: 0 0 36px;
}
.rd-config__tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.rd-config__tile {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: 10px;
  padding: 14px 16px;
  transition: border-color 200ms;
}
.rd-config__tile:hover { border-color: var(--grey-300); }
.rd-config__tile i { width: 18px; height: 18px; color: var(--red-600); flex-shrink: 0; margin-top: 2px; }
.rd-config__tile strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--grey-950);
  margin-bottom: 2px;
}
.rd-config__tile span { font-size: 12px; color: var(--grey-500); }
.rd-config__img {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 24px 64px rgba(0,0,0,0.12);
}
.rd-config__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
@media (max-width: 900px) {
  .rd-config__split { grid-template-columns: 1fr; gap: 48px; }
  .rd-config__img { aspect-ratio: 16/9; }
  .rd-config__img img { object-position: center; }
}
@media (max-width: 580px) {
  .rd-config__tiles { grid-template-columns: 1fr; }
}


/* ============================================================
   FIRE RATED DOORS PAGE
   ============================================================ */

/* Hero */
.fr-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 88vh;
  padding-top: calc(var(--header-height) + var(--utility-bar-height));
}
.fr-hero__left {
  background: var(--grey-950);
  display: flex;
  align-items: center;
}
.fr-hero__content {
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  padding: 64px 48px 64px 40px;
}
.fr-hero__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-500);
  margin-bottom: 16px;
}
.fr-hero__heading {
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--white);
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}
.fr-hero__heading em {
  font-style: normal;
  
  }
.fr-hero__sub {
  font-size: 1rem;
  color: var(--grey-400);
  line-height: 1.65;
  margin: 0 0 28px;
  max-width: 44ch;
}
.fr-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.fr-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(220, 38, 38, 0.30);
  border: 1px solid rgba(220, 38, 38, 0.75);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}
.fr-badge i { width: 13px; height: 13px; }
.fr-hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.fr-hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--grey-300);
  text-decoration: none;
  transition: color 200ms;
}
.fr-hero__scroll:hover { color: var(--white); }
.fr-hero__scroll i { width: 16px; height: 16px; }
.fr-hero__right {
  position: relative;
  overflow: hidden;
}
.fr-hero__right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.fr-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.3) 0%, transparent 60%);
}
@media (max-width: 900px) {
  .fr-hero { grid-template-columns: 1fr; min-height: auto; }
  .fr-hero__right { height: 55vw; min-height: 300px; }
  .fr-hero__content { max-width: 100%; padding: 48px 24px; margin-left: 0; }
}
@media (max-width: 600px) {
  .fr-hero__heading { font-size: 2rem; }
}

/* Product Type Cards */
.fr-types__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.fr-type-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid var(--grey-100);
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: box-shadow 250ms, transform 250ms;
}
.fr-type-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}
.fr-type-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--grey-100);
}
.fr-type-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 400ms ease;
}
.fr-type-card:hover .fr-type-card__img img { transform: scale(1.05); }
.fr-type-card__body {
  padding: 20px 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.fr-type-card__icon {
  width: 36px;
  height: 36px;
  color: var(--red-600);
  margin-bottom: 12px;
}
.fr-type-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--grey-950);
  margin: 0 0 8px;
}
.fr-type-card__desc {
  font-size: 0.875rem;
  color: var(--grey-600);
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}
.fr-type-card__specs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--grey-100);
  padding-top: 14px;
}
.fr-type-card__specs li {
  font-size: 12px;
  font-weight: 600;
  color: var(--grey-700);
  display: flex;
  align-items: center;
  gap: 6px;
}
.fr-type-card__specs li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-500);
  flex-shrink: 0;
}
@media (max-width: 1000px) { .fr-types__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .fr-types__grid { grid-template-columns: 1fr; } }

/* Technical Specifications */
.fr-specs { background: var(--grey-50); }
.fr-specs__layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.fr-specs__intro {
  font-size: 1rem;
  color: var(--grey-600);
  line-height: 1.7;
  margin: 0 0 32px;
}
.fr-compliance-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fr-compliance-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: 100px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--grey-700);
}
.fr-compliance-tag i { width: 12px; height: 12px; color: var(--red-600); }
.fr-specs-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border: 1.5px solid var(--grey-100);
}
.fr-specs-table tbody tr:nth-child(even) { background: var(--grey-50); }
.fr-specs-table tbody tr:hover { background: var(--red-50); }
.fr-specs-table th {
  text-align: left;
  padding: 13px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--grey-950);
  white-space: nowrap;
  width: 38%;
  border-right: 1px solid var(--grey-100);
}
.fr-specs-table td {
  padding: 13px 18px;
  font-size: 13px;
  color: var(--grey-700);
  line-height: 1.5;
}
.fr-specs-table tr { border-bottom: 1px solid var(--grey-100); }
.fr-specs-table tr:last-child { border-bottom: none; }
.fr-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  margin-right: 4px;
}
.fr-tag--red {
  background: var(--red-50);
  color: var(--red-600);
  border: 1px solid var(--red-100);
}
@media (max-width: 960px) {
  .fr-specs__layout { grid-template-columns: 1fr; gap: 40px; }
}

/* Hardware Grid */
.fr-hardware { background: var(--white); }
.fr-hw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.fr-hw-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid var(--grey-100);
  background: var(--white);
  transition: box-shadow 250ms, border-color 250ms;
}
.fr-hw-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  border-color: var(--grey-200);
}
.fr-hw-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--grey-50);
}
.fr-hw-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 300ms ease;
}
.fr-hw-card:hover .fr-hw-card__img img { transform: scale(1.04); }
.fr-hw-card__body { padding: 16px 18px 20px; }
.fr-hw-card__name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--grey-950);
  margin: 0 0 6px;
}
.fr-hw-card__desc {
  font-size: 0.875rem;
  color: var(--grey-600);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 860px) { .fr-hw-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .fr-hw-grid { grid-template-columns: 1fr; } }

/* Gallery — reuse .rg-grid / .rg-filter styles, just name items frg-item */
.frg-item { /* same as rg-item */ }
.frg-item__btn {
  position: relative;
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  background: none;
  cursor: zoom-in;
  border-radius: 6px;
  overflow: hidden;
}
.frg-item__btn img {
  display: block;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  border-radius: 6px;
  transition: transform 400ms ease;
}
.frg-item__btn:hover img { transform: scale(1.04); }
.frg-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 250ms;
  border-radius: 6px;
}
.frg-item__btn:hover .frg-item__overlay { opacity: 1; }
.frg-item__overlay i { color: var(--white); width: 28px; height: 28px; }

/* ─── Shaft & Duct Doors Page ─────────────────────────────────────────────── */

/* Hero */
.sd-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-height) + var(--utility-bar-height));
  overflow: hidden;
}
.sd-hero__bg {
  position: absolute;
  inset: 0;
}
.sd-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.sd-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.5) 55%, rgba(0,0,0,0.18) 100%);
}
.sd-hero__content {
  position: relative;
  z-index: 1;
  padding-bottom: 72px;
  padding-top: 48px;
}
.sd-hero__body { max-width: 680px; display: flex; flex-direction: column; gap: 20px; }
.sd-hero__heading {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--white);
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.sd-hero__heading em {
  font-style: normal;  color: var(--red-400);
}
.sd-hero__sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  margin: 0;
  max-width: 580px;
}
.sd-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Types grid */
.sd-types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.sd-type-card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 250ms, transform 250ms;
}
.sd-type-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.10);
  transform: translateY(-3px);
}
.sd-type-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.sd-type-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms ease;
}
.sd-type-card:hover .sd-type-card__img img { transform: scale(1.05); }
.sd-type-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.sd-type-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--red-50);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sd-type-card__icon i { width: 18px; height: 18px; color: var(--red-600); }
.sd-type-card__name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--grey-950);
  margin: 0;
}
.sd-type-card__desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--grey-600);
  margin: 0;
}
.sd-type-card__specs {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sd-type-card__specs li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--grey-700);
}
.sd-type-card__specs i { width: 13px; height: 13px; color: var(--red-500); flex-shrink: 0; }

/* Gallery */
.sd-gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.sd-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.sd-gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--grey-100);
}
.sd-gallery-item .rg-item__btn {
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  background: none;
  cursor: zoom-in;
}
.sd-gallery-item .rg-item__btn img {
  display: block;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 400ms ease;
}
.sd-gallery-item .rg-item__btn:hover img { transform: scale(1.05); }
.sd-gallery-item .rg-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 250ms;
}
.sd-gallery-item .rg-item__btn:hover .rg-item__overlay { opacity: 1; }
.sd-gallery-item .rg-item__overlay i { color: var(--white); width: 28px; height: 28px; }
.sd-gallery-item__label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
}
.sd-gallery-item__tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 20px;
}
.sd-gallery-item__tag i { width: 11px; height: 11px; }
.sd-gallery-item__tag--fire { background: rgba(220,38,38,0.88); color: #fff; }
.sd-gallery-item__tag--elec { background: rgba(234,179,8,0.90); color: #1a1a00; }
.sd-gallery-item__tag--std  { background: rgba(30,64,175,0.85); color: #fff; }
.sd-gallery-item__tag--plain{ background: rgba(30,30,30,0.75); color: #fff; }

@media (max-width: 1024px) {
  .sd-types { grid-template-columns: repeat(2, 1fr); }
  .sd-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .sd-types { grid-template-columns: 1fr; }
  .sd-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .sd-hero__heading { font-size: 2rem; }
}

/* ─── X-Ray / MRI Doors Page ──────────────────────────────────────────────── */

/* Hero — split layout */
.xm-hero {
  padding-top: calc(var(--header-height) + var(--utility-bar-height) + 56px);
  padding-bottom: 80px;
  background: var(--grey-950);
}
.xm-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.xm-hero__content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.xm-hero__heading {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  color: var(--white);
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.xm-hero__heading em {
  font-style: normal;  color: var(--red-400);
}
.xm-hero__sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  margin: 0;
}
.xm-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.xm-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 6px 14px;
  border-radius: 20px;
}
.xm-badge i { width: 13px; height: 13px; flex-shrink: 0; }
.xm-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.xm-hero__image {
  border-radius: 16px;
  overflow: hidden;
  background: var(--grey-900);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}
.xm-hero__image img {
  width: 100%;
  height: auto;
  max-height: 580px;
  object-fit: contain;
  display: block;
}

/* Variants */
.xm-variants {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.xm-variant-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--grey-100);
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: box-shadow 250ms;
}
.xm-variant-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.09); }
.xm-variant-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.xm-variant-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms ease;
}
.xm-variant-card:hover .xm-variant-card__image img { transform: scale(1.04); }
.xm-variant-card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.xm-variant-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.xm-variant-card--xray .xm-variant-card__icon { background: var(--red-50); }
.xm-variant-card--xray .xm-variant-card__icon i { color: var(--red-600); width: 22px; height: 22px; }
.xm-variant-card--mri .xm-variant-card__icon { background: #eff6ff; }
.xm-variant-card--mri .xm-variant-card__icon i { color: #1d4ed8; width: 22px; height: 22px; }
.xm-variant-card__name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--grey-950);
  margin: 0;
}
.xm-variant-card__desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--grey-600);
  margin: 0;
}
.xm-variant-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--grey-100);
  padding-top: 14px;
}
.xm-variant-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.88rem;
  color: var(--grey-700);
  line-height: 1.5;
}
.xm-variant-card__list i { width: 14px; height: 14px; color: var(--red-500); flex-shrink: 0; margin-top: 2px; }

/* Features grid */
.xm-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.xm-feature {
  padding: 28px;
  border: 1px solid var(--grey-100);
  border-radius: 12px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.xm-feature__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--red-50);
  display: flex;
  align-items: center;
  justify-content: center;
}
.xm-feature__icon i { width: 20px; height: 20px; color: var(--red-600); }
.xm-feature__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--grey-950);
  margin: 0;
}
.xm-feature__desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--grey-600);
  margin: 0;
}

/* Applications */
.xm-apps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.xm-app {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--grey-100);
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--grey-800);
  background: var(--white);
}
.xm-app i { width: 20px; height: 20px; color: var(--red-500); flex-shrink: 0; }

/* Process note */
.xm-note {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
  border-radius: 10px;
  padding: 28px 32px;
}
.xm-note__icon { flex-shrink: 0; margin-top: 3px; }
.xm-note__icon i { width: 22px; height: 22px; color: #b45309; }
.xm-note__heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: #78350f;
  margin: 0 0 8px;
}
.xm-note__text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #92400e;
  margin: 0;
}

@media (max-width: 1024px) {
  .xm-hero__inner { grid-template-columns: 1fr; }
  .xm-hero__image { max-width: 560px; }
  .xm-features { grid-template-columns: repeat(2, 1fr); }
  .xm-apps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .xm-variants { grid-template-columns: 1fr; }
  .xm-features { grid-template-columns: 1fr; }
  .xm-apps { grid-template-columns: 1fr; }
  .xm-hero__heading { font-size: 2rem; }
}
