/* Premium touch across inner pages */

/* Inner page hero — matches home chrome, denser */
.hero-page {
  min-height: auto;
  position: relative;
  overflow: hidden;
}
.hero-page .hero-media {
  animation: none;
  transform: scale(1.02);
}
.hero-page .hero-content {
  padding: 1.7rem 0 1.55rem;
  max-width: 640px;
}
.hero-page.is-wide .hero-content { max-width: 720px; }
.hero-page .section-kicker {
  display: inline-block;
  margin-bottom: .45rem;
}
.hero-page h1 {
  margin: 0 0 .45rem;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.3;
  max-width: 20ch;
  color: var(--navy);
}
.hero-page .lead {
  margin: 0;
  font-size: .92rem;
  line-height: 1.7;
  max-width: 34rem;
  color: var(--muted);
}
.hero-page .hero-media::after { height: 70px; }

/* Soft page-hero fallback (cart/checkout when not using bleed) */
.page-hero {
  position: relative;
  padding: 1.5rem 0 1rem;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0 -1rem auto;
  height: 100%;
  border-radius: 1rem;
  background:
    radial-gradient(420px 120px at 100% 0%, rgba(227,6,19,.07), transparent 60%),
    linear-gradient(180deg, rgba(31,61,122,.05), transparent);
  pointer-events: none;
  z-index: -1;
}
.page-hero .section-kicker { margin-bottom: .35rem; }
.page-hero h1 {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  margin: 0 0 .35rem;
}
.page-hero p {
  font-size: .9rem;
  line-height: 1.65;
}

/* Buttons — shared shine */
.btn {
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.22) 45%, transparent 70%);
  transform: translateX(120%);
  transition: transform .55s ease;
  pointer-events: none;
}
.btn:hover::after { transform: translateX(-120%); }
.btn:hover { transform: translateY(-1px); }
.btn-solid { box-shadow: 0 8px 18px rgba(31,61,122,.18); }
.btn-solid:hover { box-shadow: 0 12px 24px rgba(31,61,122,.22); }
.btn-gold { box-shadow: 0 8px 18px rgba(227,6,19,.18); }
.btn-light:hover { transform: translateY(-1px); }

/* Panels & interactive surfaces */
.panel,
.about-card,
.quality-copy,
.career-card,
.post-card,
.detail-media,
.detail-info,
.empty-state,
.success-card {
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, border-color .35s ease;
}
.panel:hover,
.about-card:hover,
.career-card:hover,
.post-card:hover,
.detail-info:hover,
.detail-media:hover {
  border-color: rgba(31,61,122,.16);
  box-shadow: 0 14px 30px rgba(26,50,104,.08);
}

.gallery-item,
.partner-item,
.process-step,
.trust-item {
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, border-color .35s ease;
}
.gallery-item {
  position: relative;
  overflow: hidden;
}
.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(26,50,104,.12);
}
.gallery-item img {
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.process-step:hover,
.partner-item:hover {
  transform: translateY(-3px);
  border-color: rgba(31,61,122,.18);
  box-shadow: 0 12px 26px rgba(26,50,104,.08);
}

/* Filters / search */
.filters a {
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.filters a:hover {
  transform: translateY(-1px);
  color: var(--navy);
  border-color: rgba(31,61,122,.28);
}
.filters a.is-active {
  box-shadow: 0 6px 14px rgba(31,61,122,.14);
}
.search-bar {
  gap: .5rem;
  margin-bottom: .9rem;
}
.search-bar input[type="search"] {
  border-radius: .8rem;
  border: 1px solid rgba(26,50,104,.12);
  background: #fff;
  box-shadow: 0 4px 12px rgba(26,50,104,.04);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.search-bar input[type="search"]:focus {
  outline: none;
  border-color: rgba(31,61,122,.35);
  box-shadow: 0 0 0 3px rgba(31,61,122,.1);
}

/* About pillar chips */
.about-pillar-nav a {
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.about-pillar-nav a:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(31,61,122,.1);
}

/* Contact lines */
.contact-line {
  padding: .55rem .7rem;
  border-radius: .75rem;
  border: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.contact-line:hover {
  background: rgba(31,61,122,.04);
  border-color: rgba(31,61,122,.1);
  transform: translateX(-2px);
}

/* Career meta chips */
.career-meta span {
  display: inline-flex;
  padding: .28rem .6rem;
  border-radius: 999px;
  background: rgba(31,61,122,.07);
  color: var(--navy);
  font-size: .78rem;
}

/* Forms focus */
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: rgba(31,61,122,.35);
  box-shadow: 0 0 0 3px rgba(31,61,122,.1);
}

/* CTA band motion */
.cta-band .btn-light {
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
}
.cta-inner {
  align-items: center;
}

/* News thumb polish */
.news-thumb {
  display: block;
  overflow: hidden;
}
.news-thumb img {
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.news-card:hover .news-thumb img { transform: scale(1.04); }

/* Product thumb */
.product-card .thumb img {
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.product-card:hover .thumb img { transform: scale(1.04); }

/* Trust strip items */
.trust-item {
  position: relative;
}
.trust-item::before {
  content: "";
  position: absolute;
  inset: .55rem auto .55rem 0;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand-blue), var(--brand-red));
  opacity: .55;
}
html[dir="rtl"] .trust-item::before {
  inset: .55rem 0 .55rem auto;
}

/* FAQ */
.faq-item {
  transition: background .2s ease;
}
.faq-item[open] {
  background: rgba(31,61,122,.03);
  border-radius: .75rem;
  padding-inline: .35rem;
}

/* Success / empty */
.success-card,
.empty-state {
  text-align: center;
  padding: 1.6rem 1.2rem;
  margin: 1rem 0 2rem;
}
.success-mark {
  width: 56px;
  height: 56px;
  margin: 0 auto .85rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #2d4f94, #1f3d7a);
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 10px 22px rgba(31,61,122,.2);
}

/* Crumbs */
.crumbs a {
  transition: color .2s ease;
}
.crumbs a:hover { color: var(--brand-blue); }

/* Soft stagger helpers already in style; ensure visible when IO misses */
@media (prefers-reduced-motion: reduce) {
  .btn::after,
  .gallery-item img,
  .news-thumb img,
  .product-card .thumb img { transition: none !important; }
  .btn:hover,
  .gallery-item:hover,
  .process-step:hover,
  .partner-item:hover,
  .product-card:hover,
  .news-card:hover { transform: none !important; }
}

/* Utilities used by polished pages */
.para-gap { margin-top: .85rem; }
.inline-actions {
  margin-top: 1.15rem;
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
}
.post-actions { margin-top: 1.4rem; }
.trust-flush { margin-top: 0; }
.flash-gap { margin-bottom: 1rem; }
.form-stack { grid-template-columns: 1fr; }
.btn-block { width: 100%; }
.btn-block + .btn-block { margin-top: .65rem; }
.section-shop { padding-top: 1.4rem; }
.section-tight-top { padding-top: 1rem; }

@media (max-width: 980px) {
  .hero-page .hero-content { padding: 1.45rem 0 1.35rem; }
  .hero-page h1 { max-width: none; }
}
