/* =============================================================
   رودیس — Brand Override
   Gold is the primary metal, silver the secondary. Dark ink
   replaces the previous teal so existing --brand-teal hooks
   stay readable on light backgrounds.
   ============================================================= */

:root {
  --brand-gold:        #C6A15B;
  --brand-gold-deep:   #8A6A2F;
  --brand-gold-soft:   #E6D3A1;
  --brand-silver:      #C5CCD4;
  --brand-silver-deep: #8B949C;
  --brand-ink:         #14171C;
  --brand-charcoal:    #1C2128;
  --brand-cream:       #F3F1EC;
  --brand-paper:       #F6F4F0;

  /* Legacy names still used in templates */
  --brand-teal:        #8A6A2F;
  --brand-teal-deep:   #14171C;
  --brand-teal-ink:    #14171C;
  --brand-teal-dark:   #0C0E11;

  --bs-blue:   #8A6A2F;
  --bs-blue2:  #14171C;
  --bs-blue3:  #C6A15B;
  --bs-blue4:  #8A6A2F;
  --bs-blue5:  #14171C;
  --bs-blue6:  #14171C;
  --bs-primary: #8A6A2F;
}

/* ---------- Header / Navbar ---------- */
.header-main .navbar-brand img { max-height: 56px; width: auto !important; }

.header-nav a.custom-nav-link {
  color: var(--brand-ink) !important;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.header-nav a.custom-nav-link:hover,
.header-nav a.custom-nav-link.active {
  color: var(--brand-teal) !important;
}
.main-header-menu-wrap.white-bg { background: #ffffff !important; }

/* gold underline accent under the active menu item */
.header-nav .nav-item .custom-nav-link {
  position: relative;
  padding-bottom: 4px;
}
.header-nav .nav-item .custom-nav-link::after {
  content: "";
  position: absolute;
  right: 0; left: 0;
  bottom: -2px;
  height: 2px;
  background: var(--brand-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.header-nav .nav-item:hover .custom-nav-link::after,
.header-nav .nav-item .custom-nav-link.active::after { transform: scaleX(1); }

@media (min-width: 768px) {
  .header-nav .hs-has-mega-menu > .hs-mega-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -20px;
    height: 20px;
  }
}

/* ---------- Hero ---------- */
.hero-equal-height {
  background-color: var(--brand-teal-ink);
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  height: auto;
}

/* Keep the full banner width visible. cover crops the left logo when the
   viewport gets narrower (for example Windows display scale at 125%).
   The inner container stays a normal Bootstrap container so the copy keeps
   the same right edge as the rest of the page. */
@media (min-width: 768px) {
  .hero-equal-height {
    background-size: 100% auto !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    min-height: calc(100vw * 500 / 1920);
    height: auto;
  }
  .page-header-section {
    background-size: 100% auto !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }
  .page-header-section.ptb-100 {
    min-height: calc(100vw * 400 / 1920);
    height: auto;
  }
  .page-header-section.banner-500.ptb-100 {
    min-height: calc(100vw * 500 / 1920);
  }
}

/* Pull the hero content rightward at md+ so the headline doesn't sit on top
   of the gold logo-block on the banner's far-left edge. clamp() makes it
   responsive — zero shift on mobile, up to 80px on wide viewports. */
@media (min-width: 768px) {
  .hero-equal-height .row > .col-md-8 {
    padding-inline-end: clamp(20px, 4vw, 80px);
  }
}
.hero-equal-height .hero-content-left h1 {
  font-weight: 800;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.45);
}
.hero-equal-height .hero-content-left h1 .accent { color: var(--brand-gold); }
.hero-equal-height .hero-content-left .lead {
  color: #C7D6DC;
  font-size: 18px;
  line-height: 1.7;
  text-shadow: 0 2px 18px rgba(0,0,0,0.4);
}
.hero-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 30px;
  margin: 18px 0 26px;
}
.hero-equal-height .tech-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--brand-cream);
}
.hero-equal-height .tech-feature-list li .bullet {
  width: 18px; height: 18px;
  border-radius: 6px;
  background: rgba(198, 161, 91, 0.18);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--brand-gold);
  font-size: 11px;
  flex-shrink: 0;
}

/* Small status pill in hero */
.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border: 1px solid rgba(198, 161, 91, 0.35);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--brand-gold);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-status-pill .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-gold);
  box-shadow: 0 0 12px var(--brand-gold);
}

/* ---------- Buttons ---------- */
.success-solid-btn,
.primary-solid-btn {
  border: 1px solid var(--brand-gold) !important;
  background: var(--brand-gold) !important;
  color: var(--brand-ink) !important;
  border-radius: 8px !important;
  padding: 12px 24px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  transition: all .2s ease;
}
.success-solid-btn:hover,
.primary-solid-btn:hover {
  border-color: var(--brand-gold-deep) !important;
  background: var(--brand-gold-deep) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(198, 161, 91, 0.35);
}
.btn.gold-solid-btn {
  background: var(--brand-gold) !important;
  border: 1px solid var(--brand-gold) !important;
  color: var(--brand-teal-ink) !important;
  border-radius: 8px !important;
  padding: 12px 24px !important;
  font-weight: 700 !important;
}
.btn.gold-solid-btn:hover {
  background: var(--brand-gold-soft) !important;
  border-color: var(--brand-gold-soft) !important;
  transform: translateY(-1px);
}
.btn.outline-cream-btn {
  background: transparent;
  border: 1.5px solid rgba(245, 239, 227, 0.45) !important;
  color: var(--brand-cream) !important;
  border-radius: 8px;
  padding: 11px 22px;
  font-weight: 600;
}
.btn.outline-cream-btn:hover {
  background: rgba(245, 239, 227, 0.08);
  border-color: var(--brand-cream) !important;
}

/* ---------- Section base ---------- */
section h2 {
  color: var(--brand-teal-ink);
  font-weight: 800;
  letter-spacing: -0.01em;
}
section .lead { color: #4d5e66; }

/* eyebrow */
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--brand-gold);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
  position: relative;
  padding-right: 26px;
}
.section-eyebrow::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 18px;
  height: 2px;
  background: var(--brand-gold);
  transform: translateY(-50%);
}

/* ---------- About promo tiles ---------- */
.single-promo-2.rounded-custom {
  border: 1px solid rgba(139, 148, 156, 0.10);
  border-radius: 16px !important;
  transition: all .25s ease;
  background: #fff !important;
}
.single-promo-2.rounded-custom:hover {
  border-color: rgba(139, 148, 156, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(20, 23, 28, 0.10);
}
.single-promo-2 .circle-icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-gold-deep) 100%);
  color: var(--brand-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 18px;
  position: relative;
}
.single-promo-2 .circle-icon::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 22px;
  border: 1px dashed rgba(198, 161, 91, 0.45);
}
.single-promo-2 h5 {
  color: var(--brand-teal-ink);
  font-weight: 700;
  margin-bottom: 8px;
}
.single-promo-2 p { color: #5C6E76; font-size: 14.5px; line-height: 1.65; margin-bottom: 0; }

/* ---------- Services tiles ---------- */
.single-service-plane {
  border: 1px solid rgba(139, 148, 156, 0.08) !important;
  border-radius: 16px !important;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}
.single-service-plane::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--brand-silver), var(--brand-gold));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s ease;
}
.single-service-plane:hover::before { transform: scaleX(1); }
.single-service-plane:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(20, 23, 28, 0.12);
}
a.single-service-plane {
  display: block;
  text-decoration: none !important;
  color: inherit;
  cursor: pointer;
}
.single-service-plane h3 { color: var(--brand-teal-ink); font-weight: 700; transition: color .2s ease; }
.single-service-plane p { color: #5C6E76; font-size: 14.5px; line-height: 1.65; }
a.single-service-plane:hover h3 { color: var(--brand-teal); }
.service-icon-tile {
  width: 80px; height: 80px;
  margin: 0 auto 16px;
  border-radius: 20px;
  background: rgba(139, 148, 156, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-teal);
  font-size: 32px;
  border: 1px solid rgba(139, 148, 156, 0.12);
}
.btn-link {
  color: var(--brand-teal) !important;
  font-weight: 600;
  text-decoration: none !important;
}
.btn-link:hover { color: var(--brand-teal-deep) !important; }

/* ---------- Products cards ---------- */
a.staff-member {
  display: block;
  text-decoration: none !important;
  color: inherit;
  cursor: pointer;
}
.staff-member .card {
  border-radius: 16px !important;
  overflow: hidden;
  border: 1px solid rgba(139, 148, 156, 0.10) !important;
  transition: all .25s ease;
}
.staff-member:hover .card {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(20, 23, 28, 0.12);
}
.staff-member .product-card-media,
.single-blog-card .product-card-media {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.5rem;
  background: var(--brand-paper);
  overflow: hidden;
  text-decoration: none;
}
.our-team-section .staff-member .product-card-media img,
.staff-member .product-card-media .card-img-top,
.single-blog-card .product-card-media .card-img-top {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.staff-member .teacher {
  color: var(--brand-teal-ink) !important;
  font-weight: 700;
  font-size: 16px;
}
.staff-member span {
  color: var(--brand-gold);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

/* ---------- Clients (infinite RTL marquee) ---------- */
.client-section {
  overflow: hidden;
}

.clients-marquee {
  --clients-gap: 1.25rem;
  container-type: inline-size;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.clients-marquee-track {
  display: flex;
  width: max-content;
  animation: clients-marquee-rtl max(28s, calc(var(--marquee-count, 8) * 4s)) linear infinite;
}

.clients-marquee:hover .clients-marquee-track {
  animation-play-state: paused;
}

.clients-marquee-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: var(--clients-gap);
  padding-inline-end: var(--clients-gap);
  min-width: 100cqi;
  justify-content: space-evenly;
}

.client-section .single-client {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 168px;
  height: 100px;
  margin: 0;
  padding: 0.75rem 1rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(139, 148, 156, 0.08);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.client-section .single-client:hover {
  border-color: rgba(139, 148, 156, 0.28);
  box-shadow: 0 8px 22px rgba(20, 23, 28, 0.08);
  transform: none;
}

.client-section .single-client img,
.client-section .client-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 140px;
  max-height: 72px;
  object-fit: contain;
  margin: 0 auto;
  filter: grayscale(0.35);
  opacity: 0.88;
  transition: filter .2s ease, opacity .2s ease;
}

.client-section .single-client:hover .client-img {
  filter: grayscale(0);
  opacity: 1;
}

@keyframes clients-marquee-rtl {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .clients-marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .clients-marquee-track {
    animation: none;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--clients-gap);
  }
  .clients-marquee-group {
    min-width: 0;
    flex-wrap: wrap;
    justify-content: center;
    padding-inline-end: 0;
  }
  .clients-marquee-group[aria-hidden="true"] {
    display: none;
  }
}

/* ---------- Blog cards ---------- */
.single-blog-card {
  border-radius: 16px !important;
  overflow: hidden;
  border: 1px solid rgba(139, 148, 156, 0.10) !important;
  transition: all .25s ease;
  position: relative;
}
.single-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(20, 23, 28, 0.12);
}
.single-blog-card .blog-card-media {
  --blog-media-h: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--blog-media-h);
  max-height: var(--blog-media-h);
  overflow: hidden;
  background: var(--brand-paper);
  padding: 12px;
  box-sizing: border-box;
}
.single-blog-card .blog-card-media img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: calc(var(--blog-media-h) - 24px) !important;
  object-fit: contain;
  object-position: center;
}
.single-blog-card .badge-primary {
  background: var(--brand-gold) !important;
  color: var(--brand-teal-ink) !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 999px;
}
.single-blog-card .meta-list { color: #7d8c93; font-size: 13px; }
.single-blog-card .card-title a {
  color: var(--brand-teal-ink) !important;
  font-weight: 700;
  text-decoration: none;
}
.single-blog-card .card-title a:hover { color: var(--brand-teal) !important; }
.single-blog-card .detail-link {
  color: var(--brand-teal) !important;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.single-blog-card .detail-link:hover { color: var(--brand-gold) !important; }

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.blog-sidebar-widget {
  background: #fff;
  border: 1px solid rgba(139, 148, 156, 0.10);
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
}
.blog-sidebar-title {
  color: var(--brand-teal-ink);
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(139, 148, 156, 0.10);
}
.blog-filter-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.blog-filter-link {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--brand-teal);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.blog-filter-link:hover {
  background: rgba(139, 148, 156, 0.06);
  color: var(--brand-teal-deep);
}
.blog-filter-link.is-active {
  background: var(--brand-teal);
  color: #fff;
}
.blog-latest-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.blog-latest-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  cursor: pointer;
}
.blog-latest-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--brand-paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-sizing: border-box;
}
.blog-latest-thumb img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain;
  display: block;
}
.blog-latest-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.blog-latest-title {
  color: var(--brand-teal-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}
.blog-latest-item:hover .blog-latest-title {
  color: var(--brand-teal);
}
.blog-latest-date {
  color: #7d8c93;
  font-size: 12px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
@media (max-width: 1199.98px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .blog-grid { grid-template-columns: 1fr; }
}
.custom-pagination-nav .page-link {
  color: var(--brand-teal);
  border-color: rgba(139, 148, 156, 0.16);
  min-width: 42px;
  text-align: center;
}
.custom-pagination-nav .page-item.active .page-link,
.custom-pagination-nav .page-item.active .page-link:hover {
  background: var(--brand-teal);
  border-color: var(--brand-teal);
  color: #fff;
}

/* ---------- Footer ---------- */
.gradient-bg, .footer-top.gradient-bg {
  background: linear-gradient(160deg, var(--brand-ink) 0%, var(--brand-charcoal) 72%, #2A2418 100%) !important;
  position: relative;
  overflow: hidden;
}
.footer-top.gradient-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 80%, rgba(198, 161, 91, 0.16) 0%, transparent 35%),
    radial-gradient(circle at 92% 20%, rgba(197, 204, 212, 0.12) 0%, transparent 40%);
  pointer-events: none;
}
.footer-top { padding: 60px 0 40px; }
.footer-nav-wrap h4 {
  color: #fff !important;
  font-weight: 700;
  margin-bottom: 18px;
  font-size: 15px;
  letter-spacing: 0.04em;
  position: relative;
  padding-bottom: 10px;
}
.footer-nav-wrap h4::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--brand-gold);
}
.footer-nav-wrap .nav-link {
  color: rgba(245, 239, 227, 0.75) !important;
  padding: 6px 0 !important;
  font-size: 14px;
  transition: all .2s;
}
.footer-nav-wrap .nav-link:hover {
  color: var(--brand-gold) !important;
  transform: translateX(-4px);
}
.footer-bottom.gray-light-bg {
  background: var(--brand-teal-dark) !important;
  border-top: 1px solid rgba(198, 161, 91, 0.18);
}
.footer-bottom .copyright-text {
  color: rgba(245, 239, 227, 0.6) !important;
  font-size: 13.5px;
}
.footer-bottom .copyright-text a { color: var(--brand-gold) !important; font-weight: 700; }

/* ---------- Bg accents for sections ---------- */
.section-soft-bg {
  background: linear-gradient(180deg, #FBF8F2 0%, #FFFFFF 100%);
  position: relative;
}
.gray-light-bg { background: var(--brand-paper) !important; }

/* divider grid pattern */
.grid-divider {
  background-image: linear-gradient(rgba(139, 148, 156, 0.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(139, 148, 156, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  height: 80px;
  position: relative;
}
.grid-divider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.6), transparent 30%, transparent 70%, rgba(255,255,255,0.6));
}

/* ---------- Topbar (above header) ---------- */
.brand-topbar {
  background: var(--brand-teal-ink);
  color: rgba(245, 239, 227, 0.85);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(198, 161, 91, 0.18);
}
.brand-topbar a {
  color: rgba(245, 239, 227, 0.85);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-inline-start: 18px;
  transition: color .2s;
}
.brand-topbar a:hover { color: var(--brand-gold); }
.brand-topbar .topbar-cta {
  color: var(--brand-gold);
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Scroll-to-top button */
.scroll-top {
  background: var(--brand-gold) !important;
  color: var(--brand-ink) !important;
  border: 1px solid var(--brand-silver) !important;
  border-radius: 12px !important;
}
.scroll-top:hover { background: var(--brand-gold-deep) !important; color: #fff !important; }

/* Override text-bs-primary used in template */
.text-bs-primary, .text-primary { color: var(--brand-teal) !important; }
.bg-bs-primary, .bg-primary { background: var(--brand-teal) !important; }

/* Stats row (added section) */
.brand-stats {
  background: var(--brand-teal-ink);
  color: #fff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.brand-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(198, 161, 91, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 161, 91, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.6;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.brand-stats .stat-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--brand-gold);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.brand-stats .stat-label {
  font-size: 11.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(245, 239, 227, 0.75);
  font-weight: 600;
}
.brand-stats .stat-sub {
  margin-top: 6px;
  font-size: 14px;
  color: rgba(245, 239, 227, 0.55);
}
.brand-stats .stat-block { position: relative; padding-inline-end: 24px; border-inline-end: 1px solid rgba(198, 161, 91, 0.18); }
.brand-stats .stat-block:last-child { border-inline-end: none; }
@media (max-width: 767px) {
  .brand-stats .stat-block { border-inline-end: none; border-bottom: 1px solid rgba(198, 161, 91, 0.18); padding: 18px 0; }
  .brand-stats .stat-block:last-child { border-bottom: none; }
}

/* small helpers */
.ptb-100 { padding-top: 90px; padding-bottom: 90px; }

/* page header height — desktop ratio is set with the banner rules above */
@media (max-width: 767.98px) {
  .page-header-section.ptb-100 {
    min-height: 220px;
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
  }
}
@media (min-width: 768px) {
  .page-header-section.ptb-100 {
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
  }
}
.ptb-60 { padding-top: 60px; padding-bottom: 60px; }
.gradient-cream-bg { background: linear-gradient(180deg, #FFFFFF 0%, #FBF8F2 100%); }

/* ---------- Product detail image ---------- */
.product-detail-media {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 520px;
  margin: 0 auto 1.75rem;
  padding: 1.5rem 1.75rem;
  background: var(--brand-paper);
  border: 1px solid rgba(139, 148, 156, 0.10);
  border-radius: 16px;
}
.product-detail-media .product-detail-img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 360px;
  object-fit: contain;
  display: block;
}
@media (max-width: 767px) {
  .product-detail-media {
    max-width: 100%;
    padding: 1.25rem;
  }
  .product-detail-media .product-detail-img {
    max-height: 260px;
  }
}

/* ---------- Post detail image ---------- */
.post-detail-media {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 760px;
  margin: 0 auto 1.75rem;
  padding: 1rem;
  background: var(--brand-paper);
  border: 1px solid rgba(139, 148, 156, 0.10);
  border-radius: 16px;
  overflow: hidden;
}
.post-detail-media .post-detail-img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  display: block;
  border-radius: 10px;
}
@media (max-width: 767px) {
  .post-detail-media {
    max-width: 100%;
    padding: 0.75rem;
  }
  .post-detail-media .post-detail-img {
    max-height: 260px;
  }
}

/* ---------- Rodis homepage ---------- */
.rodis-body {
  color: #3c4450;
  font-size: 16px;
  line-height: 1.9;
  text-align: justify;
}
.rodis-panel {
  height: 100%;
  padding: 28px 26px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(139, 148, 156, 0.35);
  border-top: 3px solid var(--brand-gold);
}
.rodis-panel.silver {
  border-top-color: var(--brand-silver-deep);
}
.rodis-panel h3 {
  color: var(--brand-ink);
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 12px;
}
.rodis-panel p { margin-bottom: 0; }
.rodis-audience {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.rodis-audience span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(139, 148, 156, 0.45);
  color: var(--brand-ink);
  font-size: 14px;
  font-weight: 600;
}
.rodis-quote {
  margin: 0;
  padding: 36px 32px;
  border-radius: 18px;
  background: var(--brand-ink);
  color: var(--brand-cream);
  border: 1px solid rgba(198, 161, 91, 0.35);
}
.rodis-quote p {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1.7;
  color: var(--brand-gold-soft);
  margin-bottom: 16px;
}
.rodis-quote span {
  display: block;
  color: var(--brand-silver);
  font-size: 15px;
  line-height: 1.9;
}
.rodis-cap {
  height: 100%;
  padding: 24px 22px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(139, 148, 156, 0.35);
}
.rodis-cap .cap-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(197, 204, 212, 0.35);
  color: var(--brand-gold-deep);
  font-size: 18px;
  margin-bottom: 14px;
}
.rodis-cap h3 {
  color: var(--brand-ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.7;
  margin-bottom: 8px;
}
.rodis-cap p {
  color: #5c6570;
  font-size: 14.5px;
  line-height: 1.8;
  margin: 0;
}
.rodis-contact-card {
  height: 100%;
  padding: 22px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(139, 148, 156, 0.35);
}
.rodis-contact-card .label {
  display: block;
  color: var(--brand-silver-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.rodis-contact-card strong,
.rodis-contact-card a {
  color: var(--brand-ink);
  font-weight: 700;
  text-decoration: none;
  line-height: 1.7;
}
.rodis-contact-card a:hover { color: var(--brand-gold-deep); }

/* ---------- Mobile: menu on the right, equal side margins ---------- */
@media (max-width: 767.98px) {
  html, body { overflow-x: clip; }

  /* g-5 rows use a wider gutter than the container padding and spill past the viewport */
  .container > .row { --bs-gutter-x: 1.5rem; }

  .brand-topbar .container {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px 14px;
  }
  .brand-topbar a { margin-inline-start: 0; }

  .header-main .header-nav.navbar {
    justify-content: flex-start;
    column-gap: 0.35rem;
  }
  .header-main .navbar-brand {
    margin-left: 0;
    margin-right: 0;
  }
  .header-main .navbar-toggler {
    margin: 0;
    padding-inline: 10px;
    min-width: 44px;
    min-height: 44px;
  }
  .header-main #navBar.navbar-collapse {
    flex-basis: 100%;
    width: 100%;
    padding: 4px 0 12px;
  }
  .header-main .main-navbar-nav {
    align-items: stretch;
    width: 100%;
  }
  .header-main .main-navbar-nav .nav-link,
  .header-main .custom-nav-link {
    text-align: right;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .hero-points { grid-template-columns: 1fr; }
}
