/* ============================================================
   Shared hero design — matches OPC Company Registration
   Applied on all service sub-pages
   ============================================================ */

:root {
  --hero-bg: linear-gradient(165deg, #eef3f8 0%, #f8fafc 55%, #ffffff 100%);
}

@keyframes heroZoom {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes heroZoomSoft {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* ---- Section shell ---- */
.page-hero,
.opc-hero,
.llp-hero,
.plc-hero,
.pvt-hero,
.s8-hero,
.msme-hero,
.lei-hero,
.fssai-hero,
.darpan-hero,
.apeda-hero,
.iso-hero,
.gst-hero,
.spice-hero,
.sole-hero,
.tm-hero,
.roc-hero,
.tr-hero {
  padding: clamp(0.75rem, 1.5vw, 1.15rem) 0 clamp(1.25rem, 2.5vw, 1.75rem) !important;
  background: var(--hero-bg) !important;
  color: var(--ink, #1a2332) !important;
  overflow: hidden;
  min-height: 0 !important;
}

/* Kill navy/gold full-bleed splits (LLP / Public Limited) */
.llp-hero__split,
.plc-hero__split {
  display: grid !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) !important;
  gap: clamp(1.25rem, 3vw, 2.5rem) !important;
  align-items: center !important;
  min-height: 0 !important;
  width: min(100% - 2.5rem, var(--container, 1180px)) !important;
  margin-inline: auto !important;
  background: transparent !important;
}

.llp-hero__content,
.plc-hero__content {
  display: block !important;
  background: transparent !important;
  padding: 0 !important;
  color: inherit !important;
}

.llp-hero__content-inner,
.plc-hero__content-inner {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

/* Standard 2-col grids — minmax(0) prevents perk/image column overflow */
.page-hero__grid,
.opc-hero__grid,
.llp-hero__grid,
.plc-hero__grid,
.pvt-hero__grid,
.s8-hero__grid,
.msme-hero__grid,
.lei-hero__grid,
.fssai-hero__grid,
.darpan-hero__grid,
.apeda-hero__grid,
.iso-hero__grid,
.gst-hero__grid,
.spice-hero__grid,
.sole-hero__grid,
.tm-hero__grid,
.roc-hero__grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) !important;
  gap: clamp(1.25rem, 3vw, 2.5rem) !important;
  align-items: center !important;
  width: min(100% - 2.5rem, var(--container, 1180px)) !important;
  margin-inline: auto !important;
  max-width: none !important;
}

.tr-hero__inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) !important;
  gap: clamp(1rem, 2.5vw, 2rem) !important;
  align-items: start !important;
  width: min(100% - 2.5rem, var(--container, 1180px)) !important;
  margin-inline: auto !important;
  max-width: none !important;
  min-height: 0 !important;
}

.page-hero__content,
.opc-hero__content,
.llp-hero__content,
.plc-hero__content,
.pvt-hero__content,
.s8-hero__content,
.msme-hero__content,
.lei-hero__content,
.fssai-hero__content,
.darpan-hero__content,
.apeda-hero__content,
.iso-hero__content,
.gst-hero__content,
.spice-hero__content,
.sole-hero__content,
.tm-hero__content,
.roc-hero__content,
.tr-hero__content {
  min-width: 0 !important;
  max-width: 100% !important;
  padding: 0 !important;
  background: transparent !important;
}

/* ---- Typography ---- */
.breadcrumb {
  font-size: 0.85rem !important;
  color: var(--muted, #5a6a7a) !important;
  opacity: 1 !important;
  margin-bottom: 0.85rem !important;
}

.breadcrumb a:hover {
  color: var(--navy, #0b2a4a) !important;
}

.page-hero h1,
.opc-hero h1,
.llp-hero h1,
.plc-hero h1,
.pvt-hero h1,
.s8-hero h1,
.msme-hero h1,
.lei-hero h1,
.fssai-hero h1,
.darpan-hero h1,
.apeda-hero h1,
.iso-hero h1,
.gst-hero h1,
.spice-hero h1,
.sole-hero h1,
.tm-hero h1,
.roc-hero h1,
.tr-hero__title {
  font-family: var(--display, Outfit, Manrope, system-ui, sans-serif) !important;
  font-size: clamp(2rem, 4vw, 2.9rem) !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  color: var(--navy, #0b2a4a) !important;
  margin-bottom: 0.9rem !important;
  text-transform: uppercase !important;
  -webkit-text-fill-color: var(--navy, #0b2a4a);
}

.page-hero h1 em,
.opc-hero h1 em,
.llp-hero h1 em,
.plc-hero h1 em,
.pvt-hero h1 em,
.s8-hero h1 em,
.msme-hero h1 em,
.lei-hero h1 em,
.fssai-hero h1 em,
.darpan-hero h1 em,
.apeda-hero h1 em,
.iso-hero h1 em,
.gst-hero h1 em,
.spice-hero h1 em,
.sole-hero h1 em,
.tm-hero h1 em,
.roc-hero h1 em,
.tr-hero__title-green {
  font-style: normal !important;
  color: var(--green, #1a7a4c) !important;
  -webkit-text-fill-color: var(--green, #1a7a4c) !important;
  background: none !important;
  animation: none !important;
}

.tr-hero__title {
  display: flex;
  flex-direction: column;
}

.tr-hero__title-navy {
  color: var(--navy, #0b2a4a) !important;
}

/* Green pill tagline (OPC banner style) */
.page-hero__banner,
.opc-hero__banner,
.pvt-hero__banner,
.s8-hero__tag,
.llp-hero__tag,
.plc-hero__tag,
.tr-hero__pill,
.msme-hero__banner,
.lei-hero__banner,
.fssai-hero__banner,
.darpan-hero__banner,
.apeda-hero__banner,
.iso-hero__banner,
.gst-hero__banner,
.spice-hero__banner,
.sole-hero__banner,
.tm-hero__banner,
.roc-hero__banner {
  display: inline-block !important;
  background: var(--green, #1a7a4c) !important;
  color: var(--white, #fff) !important;
  font-family: var(--display, Outfit, Manrope, system-ui, sans-serif) !important;
  font-weight: 800 !important;
  font-size: 0.88rem !important;
  padding: 0.55rem 1.1rem !important;
  border-radius: 999px !important;
  margin-bottom: 1rem !important;
  letter-spacing: 0.01em;
  -webkit-text-fill-color: #fff !important;
}

.page-hero__banner::before {
  display: none !important;
}

.page-hero__text,
.opc-hero__text,
.llp-hero__text,
.plc-hero__text,
.pvt-hero__text,
.s8-hero__text,
.tr-hero__text,
.msme-hero__text,
.lei-hero__text,
.fssai-hero__text,
.darpan-hero__text,
.apeda-hero__text,
.iso-hero__text,
.gst-hero__text,
.spice-hero__text,
.sole-hero__text,
.tm-hero__text,
.roc-hero__text {
  color: var(--muted, #5a6a7a) !important;
  opacity: 1 !important;
  max-width: 36rem !important;
  margin-bottom: 1.4rem !important;
}

/* ---- Perks: always one equal row (4 / 5 / 6 items) ---- */
.page-hero__perks,
.page-hero__perks--five,
.opc-hero__perks,
.llp-hero__perks,
.plc-hero__perks,
.pvt-hero__perks,
.s8-hero__perks,
.msme-hero__perks,
.lei-hero__perks,
.fssai-hero__perks,
.darpan-hero__perks,
.apeda-hero__perks,
.iso-hero__perks,
.gst-hero__perks,
.spice-hero__perks,
.sole-hero__perks,
.tm-hero__perks,
.roc-hero__perks,
.tr-hero__icons {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 0.35rem 0.45rem !important;
  margin-bottom: 1.6rem !important;
  max-width: none !important;
  width: 100% !important;
}

.perk--wide {
  grid-column: auto !important;
  width: auto !important;
  max-width: none !important;
  flex: 1 1 0 !important;
}

.perk,
.tr-hero__icon-item {
  text-align: center !important;
  font-size: clamp(0.58rem, 1.05vw, 0.72rem) !important;
  font-weight: 700 !important;
  color: var(--navy, #0b2a4a) !important;
  display: grid !important;
  gap: 0.35rem !important;
  justify-items: center !important;
  align-content: start !important;
  flex: 1 1 0 !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
  line-height: 1.25 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  flex-direction: column !important;
}

.perk i,
.tr-hero__icon-circle {
  width: clamp(34px, 4.2vw, 46px) !important;
  height: clamp(34px, 4.2vw, 46px) !important;
  border-radius: 50% !important;
  background: var(--white, #fff) !important;
  border: 1px solid var(--line, #e2e8f0) !important;
  color: var(--green, #1a7a4c) !important;
  display: grid !important;
  place-items: center !important;
  box-shadow: 0 6px 16px rgba(11, 42, 74, 0.05) !important;
  font-size: clamp(0.85rem, 1.2vw, 1.05rem) !important;
  flex-shrink: 0 !important;
}

.perk span {
  display: block !important;
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

.tr-hero__icon-circle svg,
.tr-hero__icon-circle .ico {
  width: 1.15rem !important;
  height: 1.15rem !important;
  color: var(--green, #1a7a4c) !important;
  fill: currentColor;
}

/* ---- CTA button (navy like OPC primary) ---- */
.page-hero .btn,
.opc-hero .btn,
.llp-hero .btn,
.plc-hero .btn,
.pvt-hero .btn,
.s8-hero .btn,
.tr-hero .btn,
.msme-hero .btn,
.lei-hero .btn,
.fssai-hero .btn,
.darpan-hero .btn,
.apeda-hero .btn,
.iso-hero .btn,
.gst-hero .btn,
.spice-hero .btn,
.sole-hero .btn,
.tm-hero .btn,
.roc-hero .btn,
.btn--trust,
.btn--gold {
  background: var(--navy, #0b2a4a) !important;
  color: var(--white, #fff) !important;
  border-radius: 8px !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
}

.page-hero .btn:hover,
.opc-hero .btn:hover,
.llp-hero .btn:hover,
.plc-hero .btn:hover,
.pvt-hero .btn:hover,
.s8-hero .btn:hover,
.tr-hero .btn:hover,
.msme-hero .btn:hover,
.lei-hero .btn:hover,
.fssai-hero .btn:hover,
.darpan-hero .btn:hover,
.apeda-hero .btn:hover,
.iso-hero .btn:hover,
.gst-hero .btn:hover,
.spice-hero .btn:hover,
.sole-hero .btn:hover,
.tm-hero .btn:hover,
.roc-hero .btn:hover,
.btn--trust:hover,
.btn--gold:hover {
  background: var(--navy-mid, #123a62) !important;
  color: var(--white, #fff) !important;
}

/* ---- Visual / figure — consistent frame & centered crop on every page ---- */
.page-hero__visual,
.opc-hero__visual,
.llp-hero__visual,
.plc-hero__visual,
.pvt-hero__visual,
.s8-hero__visual,
.tr-hero__visual,
.msme-hero__visual,
.lei-hero__visual,
.fssai-hero__visual,
.darpan-hero__visual,
.apeda-hero__visual,
.iso-hero__visual,
.gst-hero__visual,
.spice-hero__visual,
.sole-hero__visual,
.tm-hero__visual,
.roc-hero__visual {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-height: none !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  overflow: hidden !important;
  justify-self: center !important;
}

.page-hero__glow,
.pvt-hero__glow,
.s8-hero__glow,
.opc-hero__glow,
.llp-hero__visual::before,
.plc-hero__visual::before {
  display: none !important;
}

.page-hero__figure,
.opc-hero__figure,
.llp-hero__figure,
.plc-hero__figure,
.pvt-hero__figure,
.s8-hero__figure,
.msme-hero__figure,
.lei-hero__figure,
.fssai-hero__figure,
.darpan-hero__figure,
.apeda-hero__figure,
.iso-hero__figure,
.gst-hero__figure,
.spice-hero__figure,
.sole-hero__figure,
.tm-hero__figure,
.roc-hero__figure,
.tr-hero__photo-frame {
  position: relative !important;
  margin: 0 auto !important;
  width: 100% !important;
  max-width: min(100%, 520px) !important;
  aspect-ratio: 4 / 3 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow:
    0 8px 20px rgba(11, 42, 74, 0.08),
    0 24px 50px rgba(11, 42, 74, 0.12) !important;
  border: 1px solid rgba(197, 210, 224, 0.7) !important;
  background: #e8eef4 !important;
  padding: 0 !important;
  animation: none !important;
  transform-origin: center center !important;
  isolation: isolate;
  min-height: 0 !important;
}

/* About office photo — native 3:2, keep wall logo in frame */
.about-hero__figure {
  position: relative !important;
  margin: 0 auto !important;
  width: 100% !important;
  max-width: min(100%, 560px) !important;
  aspect-ratio: 3 / 2 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow:
    0 8px 20px rgba(11, 42, 74, 0.08),
    0 24px 50px rgba(11, 42, 74, 0.12) !important;
  border: 1px solid rgba(197, 210, 224, 0.7) !important;
  background: #e8eef4 !important;
  padding: 0 !important;
  animation: none !important;
  min-height: 0 !important;
}

/* Trust wrap stays overflow-visible so badge is not clipped */
.tr-hero__photo-wrap {
  position: relative !important;
  margin: 0 auto !important;
  width: 100% !important;
  max-width: min(100%, 520px) !important;
  overflow: visible !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  aspect-ratio: auto !important;
  padding: 0 0 0.85rem !important;
}

.tr-hero__photo-frame {
  aspect-ratio: 4 / 3 !important;
  border-radius: 20px !important;
  border: 1px solid rgba(197, 210, 224, 0.7) !important;
  overflow: hidden !important;
  background: #e8eef4 !important;
  box-shadow:
    0 8px 20px rgba(11, 42, 74, 0.08),
    0 24px 50px rgba(11, 42, 74, 0.12) !important;
}

.tr-hero__visual {
  overflow: visible !important;
  padding: 0 0 1.25rem !important;
  min-height: 0 !important;
  align-items: flex-start !important;
}

.tr-hero__img,
.tr-hero__photo-frame img {
  object-fit: cover !important;
  object-position: center 42% !important;
  animation: heroZoomSoft 6.5s ease-in-out infinite !important;
}

/* LLP/PLC bare images — wrap look */
.llp-hero__img,
.plc-hero__img,
.page-hero__figure img,
.opc-hero__img,
.pvt-hero__img,
.s8-hero__img,
.tr-hero__img,
.msme-hero__img,
.lei-hero__img,
.fssai-hero__img,
.darpan-hero__img,
.apeda-hero__img,
.iso-hero__img,
.gst-hero__img,
.spice-hero__img,
.sole-hero__img,
.tm-hero__img,
.roc-hero__img,
.tr-hero__photo-frame img,
.hero__figure img,
.hero__image,
.about-hero__figure img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  min-height: 0 !important;
  aspect-ratio: unset !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 0 !important;
  margin: 0 !important;
  animation: heroZoom 6.5s ease-in-out infinite !important;
  transform-origin: center center !important;
}

/* About office photo — native 3:2, keep wall logo in frame */
.about-hero__figure img {
  object-position: center 28% !important;
}

/* Private Limited — 4:3 card fill like Public Limited */
.pvt-hero__img {
  object-fit: cover !important;
  object-position: center center !important;
}

.llp-hero__visual > .llp-hero__img,
.plc-hero__visual > .plc-hero__img {
  border-radius: 20px !important;
  box-shadow:
    0 8px 20px rgba(11, 42, 74, 0.08),
    0 24px 50px rgba(11, 42, 74, 0.12) !important;
  border: 1px solid rgba(197, 210, 224, 0.7) !important;
  max-width: min(100%, 520px) !important;
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  height: auto !important;
  object-fit: cover !important;
  object-position: center center !important;
  margin-inline: auto !important;
}

/* Caption / badge — navy pill like OPC */
.llp-hero__caption,
.plc-hero__caption,
.opc-hero__caption,
.s8-hero__caption,
.page-hero__caption,
.pvt-hero__caption,
.plc-badge {
  position: absolute !important;
  left: 1rem !important;
  bottom: 1rem !important;
  right: auto !important;
  max-width: 200px !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  background: var(--navy, #0b2a4a) !important;
  color: var(--white, #fff) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  padding: 0.85rem 0.95rem !important;
  border-radius: 999px !important;
  text-align: center !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22) !important;
  border: none !important;
  animation: none !important;
}

/* Trust badge — sit on the frame edge so plaque text stays readable */
.tr-hero__badge {
  position: absolute !important;
  left: 1rem !important;
  bottom: 0 !important;
  right: auto !important;
  max-width: none !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  background: var(--navy, #0b2a4a) !important;
  color: var(--white, #fff) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  padding: 0.7rem 1.1rem !important;
  border-radius: 999px !important;
  text-align: center !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22) !important;
  border: 2px solid #fff !important;
  animation: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 4 !important;
  transform: none !important;
}

.tr-hero__badge strong,
.tr-hero__badge span {
  color: #fff !important;
  font-size: inherit !important;
}

.tr-hero__badge .ico,
.tr-hero__badge svg {
  color: #fff !important;
  width: 1.1rem !important;
  height: 1.1rem !important;
  margin-bottom: 0.2rem;
}

@media (max-width: 900px) {
  .page-hero__grid,
  .opc-hero__grid,
  .llp-hero__grid,
  .llp-hero__split,
  .plc-hero__grid,
  .plc-hero__split,
  .pvt-hero__grid,
  .s8-hero__grid,
  .msme-hero__grid,
  .lei-hero__grid,
  .fssai-hero__grid,
  .darpan-hero__grid,
  .apeda-hero__grid,
  .iso-hero__grid,
  .gst-hero__grid,
  .spice-hero__grid,
  .sole-hero__grid,
  .tm-hero__grid,
  .roc-hero__grid,
  .tr-hero__inner {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
  }

  .page-hero__visual,
  .opc-hero__visual,
  .llp-hero__visual,
  .plc-hero__visual,
  .pvt-hero__visual,
  .s8-hero__visual,
  .tr-hero__visual {
    order: -1 !important;
  }
}

@media (max-width: 560px) {
  .perk i,
  .tr-hero__icon-circle {
    width: 38px !important;
    height: 38px !important;
    font-size: 0.9rem !important;
  }
}
