/* ==========================================================================
   International Rice Mills (IRM) — Main Stylesheet
   Stack : HTML5 + Bootstrap 5.3 + Custom CSS + Vanilla JS (AOS / Swiper)
   Author: Front-end build
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette — deep emerald + warm harvest gold */
  --irm-primary: #0E5044;
  --irm-primary-600: #12695A;
  --irm-primary-700: #0B4238;
  --irm-primary-900: #07362E;
  --irm-primary-soft: #E7F1EE;

  --irm-gold: #D4A72C;
  --irm-gold-light: #EBC65C;
  --irm-gold-dark: #B8901F;
  --irm-gold-soft: #FBF3DE;

  --irm-cream: #FAF7F0;
  --irm-cream-2: #F3EEE3;
  --irm-white: #FFFFFF;

  --irm-ink: #14201C;
  --irm-body: #4F5F5A;
  --irm-muted: #7C8A85;
  --irm-line: #E4E9E7;

  /* Typography */
  --ff-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shape & depth */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-xs: 0 2px 8px rgba(14, 80, 68, .06);
  --shadow-sm: 0 6px 20px rgba(14, 80, 68, .08);
  --shadow-md: 0 14px 38px rgba(14, 80, 68, .12);
  --shadow-lg: 0 26px 60px rgba(14, 80, 68, .16);
  --shadow-gold: 0 12px 30px rgba(212, 167, 44, .3);

  --t-fast: .22s cubic-bezier(.4, 0, .2, 1);
  --t: .35s cubic-bezier(.4, 0, .2, 1);
  --t-slow: .6s cubic-bezier(.22, 1, .36, 1);

  --header-h: 62px;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
* { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--irm-body);
  background: var(--irm-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .display-font {
  font-family: var(--ff-display);
  color: var(--irm-ink);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.55rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.65rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 1.5vw, 1.3rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--irm-primary); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--irm-gold-dark); }

img { max-width: 100%; height: auto; }

::selection { background: var(--irm-gold); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--irm-cream-2); }
::-webkit-scrollbar-thumb { background: var(--irm-primary); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--irm-primary-900); }

/* --------------------------------------------------------------------------
   3. Utilities
   -------------------------------------------------------------------------- */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section-sm { padding: clamp(48px, 6vw, 76px) 0; }

.bg-cream { background: var(--irm-cream); }
.bg-cream-2 { background: var(--irm-cream-2); }
.bg-primary-deep { background: var(--irm-primary-900); }
.bg-primary-brand { background: var(--irm-primary); }

.text-brand { color: var(--irm-primary) !important; }
.text-gold { color: var(--irm-gold-dark) !important; }
.text-ink { color: var(--irm-ink) !important; }
.text-body-soft { color: var(--irm-body) !important; }

.fw-medium { font-weight: 500; }
.lead-text { font-size: 1.06rem; line-height: 1.85; }

.rounded-brand { border-radius: var(--radius); }
.rounded-brand-lg { border-radius: var(--radius-lg); }

/* Eyebrow / section heading */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--ff-body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--irm-gold-dark);
  background: var(--irm-gold-soft);
  border: 1px solid rgba(212, 167, 44, .3);
  padding: .42rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: '';
  width: 16px; height: 2px;
  background: var(--irm-gold);
  border-radius: 2px;
}
.eyebrow-light {
  color: var(--irm-gold-light);
  background: rgba(212, 167, 44, .12);
  border-color: rgba(235, 198, 92, .3);
}

.section-head { max-width: 760px; margin-inline: auto; margin-bottom: clamp(38px, 5vw, 60px); }
.section-head .section-title { margin-bottom: .9rem; }
.section-head p { color: var(--irm-body); font-size: 1.03rem; }
.section-head-start { margin-inline: 0; text-align: left; }

.title-rule {
  width: 78px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--irm-gold), rgba(212, 167, 44, 0));
  margin-top: 1.15rem;
}
.title-rule-center { margin-inline: auto; background: linear-gradient(90deg, rgba(212,167,44,0), var(--irm-gold), rgba(212,167,44,0)); width: 110px; }

.on-dark, .on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark p { color: rgba(255, 255, 255, .78); }

/* Buttons */
.btn {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: .93rem;
  letter-spacing: .015em;
  border-radius: var(--radius-pill);
  padding: .82rem 1.9rem;
  border: none;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
}
.btn:focus-visible { outline: 3px solid rgba(212, 167, 44, .5); outline-offset: 2px; }
.btn i { font-size: 1.05em; transition: transform var(--t-fast); }

.btn-gold { background: linear-gradient(135deg, var(--irm-gold-light), var(--irm-gold)); color: #3A2E06; box-shadow: var(--shadow-gold); }
.btn-gold:hover { background: linear-gradient(135deg, var(--irm-gold), var(--irm-gold-dark)); color: #2B2204; transform: translateY(-3px); box-shadow: 0 18px 40px rgba(212, 167, 44, .42); }

.btn-brand { background: var(--irm-primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-brand:hover { background: var(--irm-primary-900); color: #fff; transform: translateY(-3px); box-shadow: var(--shadow-md); }

.btn-outline-brand { background: transparent; color: var(--irm-primary); box-shadow: inset 0 0 0 2px var(--irm-primary); }
.btn-outline-brand:hover { background: var(--irm-primary); color: #fff; transform: translateY(-3px); }

.btn-outline-light-brand { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45); }
.btn-outline-light-brand:hover { background: #fff; color: var(--irm-primary); transform: translateY(-3px); }

.btn-lg-brand { padding: 1rem 2.3rem; font-size: 1rem; }
.btn:hover i.bi-arrow-right { transform: translateX(4px); }

/* Link with arrow */
.link-more {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: .9rem; letter-spacing: .02em;
  color: var(--irm-primary);
}
.link-more i { transition: transform var(--t-fast); }
.link-more:hover i { transform: translateX(5px); }

/* --------------------------------------------------------------------------
   4. Preloader
   -------------------------------------------------------------------------- */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: var(--irm-primary-900);
  transition: opacity .5s ease, visibility .5s ease;
}
#preloader.is-hidden { opacity: 0; visibility: hidden; }
.loader-grain {
  width: 58px; height: 58px; border-radius: 50%;
  border: 3px solid rgba(235, 198, 92, .22);
  border-top-color: var(--irm-gold);
  animation: spin .85s linear infinite;
}
.loader-text {
  margin-top: 1.1rem; color: var(--irm-gold-light);
  font-size: .72rem; letter-spacing: .32em; text-transform: uppercase; font-weight: 600;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   5. Top bar
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--irm-primary-900);
  color: rgba(255, 255, 255, .8);
  font-size: .8rem;
  padding: .36rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.topbar-social a { width: 26px; height: 26px; }
.topbar a { color: rgba(255, 255, 255, .8); }
.topbar a:hover { color: var(--irm-gold-light); }
.topbar-item { display: inline-flex; align-items: center; gap: .45rem; }
.topbar-item i { color: var(--irm-gold); font-size: .95rem; }
.topbar-divider { width: 1px; height: 15px; background: rgba(255, 255, 255, .18); }
.topbar-social { display: inline-flex; gap: .3rem; }
.topbar-social a {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .07);
  transition: background var(--t-fast), transform var(--t-fast);
}
.topbar-social a:hover { background: var(--irm-gold); color: #2B2204; transform: translateY(-2px); }

/* --------------------------------------------------------------------------
   6. Navbar
   -------------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 1030; }
.navbar-irm {
  /* NOTE: no backdrop-filter / transform / filter here. Any of those would
     create a containing block and trap the mobile offcanvas (position: fixed)
     inside the navbar box instead of the viewport. */
  background: #fff;
  /* Two layers: a crisp hairline that reads on any background, plus a soft
     ambient shadow. Over the dark hero the soft layer is naturally invisible;
     it becomes obvious as soon as light content scrolls underneath. */
  box-shadow: 0 1px 0 rgba(14, 80, 68, .14), 0 6px 22px rgba(14, 80, 68, .16);
  padding: .35rem 0;
  transition: padding var(--t), box-shadow var(--t), background var(--t);
}
.navbar-irm.is-stuck { padding: .2rem 0; box-shadow: 0 1px 0 rgba(14, 80, 68, .16), 0 10px 30px rgba(14, 80, 68, .24); }

/* flex:none + max-width:none — otherwise the flex row squeezes the wide
   logo and the strapline shrinks below a legible size. */
.navbar-brand-irm { display: inline-flex; align-items: center; padding: 0; flex: 0 0 auto; }
.navbar-brand-irm img { height: 42px; width: auto; max-width: none; transition: height var(--t); }
.navbar-irm.is-stuck .navbar-brand-irm img { height: 38px; }

.navbar-irm .navbar-nav { gap: .9rem; }
.navbar-irm .nav-link {
  font-size: .9rem;
  font-weight: 600;
  color: var(--irm-ink);
  padding: .5rem .95rem !important;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  position: relative;
  transition: color var(--t-fast), background var(--t-fast);
}
.navbar-irm .nav-link::after {
  content: '';
  position: absolute;
  left: 50%; bottom: .28rem;
  width: 0; height: 2px;
  background: var(--irm-gold);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width var(--t);
}
.navbar-irm .nav-link:hover,
.navbar-irm .nav-link.active { color: var(--irm-primary); }
.navbar-irm .nav-link:hover::after,
.navbar-irm .nav-link.active::after { width: 22px; }

.navbar-irm .dropdown-toggle::after {
  border: none;
  content: '\F282';
  font-family: 'bootstrap-icons';
  vertical-align: middle;
  font-size: .72rem;
  margin-left: .3rem;
  transition: transform var(--t-fast);
}
.navbar-irm .dropdown:hover .dropdown-toggle::after { transform: rotate(180deg); }

.dropdown-menu-irm {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: .6rem;
  min-width: 262px;
  margin-top: .5rem !important;
  border-top: 3px solid var(--irm-gold);
  animation: dropIn .28s ease;
}
@keyframes dropIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.dropdown-menu-irm .dropdown-item {
  font-size: .875rem;
  font-weight: 500;
  color: var(--irm-body);
  border-radius: var(--radius-sm);
  padding: .58rem .85rem;
  display: flex; align-items: center; gap: .6rem;
  transition: background var(--t-fast), color var(--t-fast), padding-left var(--t-fast);
}
.dropdown-menu-irm .dropdown-item i { color: var(--irm-gold); font-size: .7rem; }
.dropdown-menu-irm .dropdown-item:hover,
.dropdown-menu-irm .dropdown-item.active {
  background: var(--irm-primary-soft);
  color: var(--irm-primary);
  padding-left: 1.1rem;
}

/* Desktop hover dropdown */
@media (min-width: 992px) {
  .navbar-irm .dropdown:hover > .dropdown-menu { display: block; }
}

/* Mobile offcanvas nav */
.navbar-toggler-irm {
  border: none; padding: .4rem .55rem;
  width: 46px; height: 42px;
  border-radius: var(--radius-sm);
  background: var(--irm-primary-soft);
  display: grid; place-items: center; gap: 5px;
}
.navbar-toggler-irm:focus { box-shadow: none; }
.navbar-toggler-irm span { display: block; width: 22px; height: 2px; background: var(--irm-primary); border-radius: 2px; transition: var(--t); }

/* Higher specificity than Bootstrap's .offcanvas-lg.offcanvas-end width rule */
.offcanvas-irm.offcanvas-end { width: min(88vw, 340px); }
.offcanvas-irm .offcanvas-header { border-bottom: 1px solid var(--irm-line); padding: 1.1rem 1.25rem; gap: .75rem; }
/* Keep the drawer logo inside the panel, next to the close button.
   Sized by width so the strapline never drops below a legible size. */
.offcanvas-logo { width: min(246px, calc(100% - 46px)); height: auto; flex: 0 1 auto; }
.offcanvas-irm .nav-link { padding: .78rem .2rem !important; border-radius: 0; }
.offcanvas-irm .nav-link::after { display: none; }
.offcanvas-irm .dropdown-menu { border: none; box-shadow: none; padding-left: .5rem; border-top: none; background: var(--irm-cream); border-radius: var(--radius-sm); }

/* Drawer padding must stay scoped to mobile — unscoped it also padded the
   desktop navbar and inflated its height. */
@media (max-width: 991.98px) {
  .offcanvas-irm .offcanvas-body { padding: 1rem 1.25rem 2rem; }
}
@media (min-width: 992px) {
  .offcanvas-irm { flex-grow: 1; }
  .offcanvas-irm .offcanvas-body { padding: 0; overflow: visible; }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 860px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--irm-primary-900);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.12);
  transition: opacity 1.4s ease, transform 7s linear;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(100deg, rgba(7, 54, 46, .93) 0%, rgba(7, 54, 46, .8) 42%, rgba(7, 54, 46, .42) 72%, rgba(7, 54, 46, .25) 100%);
}
.hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(circle at 78% 30%, rgba(212, 167, 44, .16), transparent 55%);
}
.hero-inner { position: relative; z-index: 3; padding: clamp(90px, 12vh, 130px) 0; }

.hero-title { color: #fff; margin-bottom: 1.25rem; }
.hero-title .accent {
  color: var(--irm-gold-light);
  font-style: italic;
  position: relative;
}
.hero-sub {
  color: rgba(255, 255, 255, .84);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  max-width: 620px;
  margin-bottom: 2rem;
}
.hero-kicker {
  display: block;
  font-family: var(--ff-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--irm-gold);
  margin-bottom: 1rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 1.5rem 2.4rem; margin-top: 2.8rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .16); }
.hero-badge { display: flex; align-items: center; gap: .75rem; color: #fff; }
.hero-badge i { font-size: 1.5rem; color: var(--irm-gold); }
.hero-badge strong { display: block; font-size: 1.28rem; font-family: var(--ff-display); line-height: 1.2; }
.hero-badge span { font-size: .78rem; color: rgba(255, 255, 255, .68); letter-spacing: .04em; }

.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; z-index: 4;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .6);
  font-size: 1.6rem;
  animation: bob 2.1s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 10px); } }

.hero-dots { position: absolute; right: 34px; top: 50%; transform: translateY(-50%); z-index: 4; display: grid; gap: .7rem; }
.hero-dots button {
  width: 10px; height: 10px; padding: 0; border: none; border-radius: 50%;
  background: rgba(255, 255, 255, .3); transition: var(--t);
}
.hero-dots button.is-active { background: var(--irm-gold); height: 26px; border-radius: 6px; }

/* Page banner (inner pages) */
.page-banner {
  position: relative;
  padding: clamp(90px, 13vw, 150px) 0 clamp(70px, 10vw, 110px);
  background: var(--irm-primary-900) center/cover no-repeat;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(7, 54, 46, .94), rgba(7, 54, 46, .72) 55%, rgba(7, 54, 46, .5));
}
.page-banner > .container { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; margin-bottom: .8rem; }
.page-banner p { color: rgba(255, 255, 255, .8); max-width: 720px; }
.breadcrumb-irm { --bs-breadcrumb-divider-color: rgba(255,255,255,.4); margin: 0; }
.breadcrumb-irm .breadcrumb-item,
.breadcrumb-irm .breadcrumb-item a { color: rgba(255, 255, 255, .72); font-size: .85rem; font-weight: 500; }
.breadcrumb-irm .breadcrumb-item.active { color: var(--irm-gold-light); }
.breadcrumb-irm .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .4); }

/* --------------------------------------------------------------------------
   8. Image collage / about
   -------------------------------------------------------------------------- */
.collage { position: relative; padding-bottom: 46px; padding-right: 34px; }
.collage-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3.4;
}
.collage-main img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.collage:hover .collage-main img { transform: scale(1.06); }

.collage-sub {
  position: absolute; right: 0; bottom: 0;
  width: 47%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 7px solid #fff;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}
.collage-sub img { width: 100%; height: 100%; object-fit: cover; }

.collage-badge {
  position: absolute; left: -14px; top: 30px;
  background: linear-gradient(140deg, var(--irm-gold-light), var(--irm-gold));
  color: #3A2E06;
  border-radius: var(--radius);
  padding: 1rem 1.35rem;
  box-shadow: var(--shadow-gold);
  text-align: center;
  animation: floaty 4.5s ease-in-out infinite;
}
.collage-badge strong { display: block; font-family: var(--ff-display); font-size: 1.85rem; line-height: 1; }
.collage-badge span { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Bullet check list */
.check-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; font-size: .96rem; }
.check-list li i { color: var(--irm-gold-dark); font-size: 1.08rem; flex: none; margin-top: .2rem; }

/* Read more toggle */
.readmore-body { position: relative; }
.readmore-extra { display: none; }
.readmore-extra.is-open { display: block; animation: fadeUp .45s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.readmore-btn { margin-top: 1.1rem; }

/* --------------------------------------------------------------------------
   9. Feature cards ("Why choose us")
   -------------------------------------------------------------------------- */
.feature-card {
  position: relative;
  height: 100%;
  background: #fff;
  border: 1px solid var(--irm-line);
  border-radius: var(--radius-lg);
  padding: 2.1rem 1.7rem;
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.feature-card::before {
  content: '';
  position: absolute; inset: auto -40% -60% auto;
  width: 190px; height: 190px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 167, 44, .16), transparent 70%);
  opacity: 0; transition: opacity var(--t);
}
.feature-card:hover { transform: translateY(-9px); box-shadow: var(--shadow-md); border-color: rgba(212, 167, 44, .45); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 62px; height: 62px;
  border-radius: 18px;
  display: grid; place-items: center;
  background: var(--irm-primary-soft);
  color: var(--irm-primary);
  font-size: 1.65rem;
  margin-bottom: 1.3rem;
  transition: background var(--t), color var(--t), transform var(--t);
}
.feature-card:hover .feature-icon {
  background: linear-gradient(140deg, var(--irm-gold-light), var(--irm-gold));
  color: #3A2E06;
  transform: rotate(-8deg) scale(1.06);
}
.feature-card h4 { margin-bottom: .6rem; font-size: 1.16rem; }
.feature-card p { font-size: .93rem; margin: 0; }
.feature-num {
  position: absolute; top: 1.1rem; right: 1.4rem;
  font-family: var(--ff-display);
  font-size: 2.6rem; line-height: 1;
  color: var(--irm-cream-2);
  font-weight: 700;
  transition: color var(--t);
}
.feature-card:hover .feature-num { color: var(--irm-gold-soft); }

/* --------------------------------------------------------------------------
   10. Product cards
   -------------------------------------------------------------------------- */
.product-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--irm-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); border-color: rgba(212, 167, 44, .5); }

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--irm-cream);
  overflow: hidden;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.product-card:hover .product-media img { transform: scale(1.09); }
.product-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7, 54, 46, .55), transparent 45%);
  opacity: 0; transition: opacity var(--t);
}
.product-card:hover .product-media::after { opacity: 1; }

.product-tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  background: rgba(255, 255, 255, .93);
  color: var(--irm-primary);
  font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .35rem .75rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-xs);
}
.product-tag.is-gold { background: var(--irm-gold); color: #3A2E06; }

.product-body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.product-body h3 a { color: inherit; }
.product-card:hover .product-body h3 a { color: var(--irm-primary); }
.product-body p { font-size: .9rem; color: var(--irm-muted); margin-bottom: 1.1rem; }

.product-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.2rem; }
.product-meta span {
  font-size: .73rem; font-weight: 600;
  background: var(--irm-cream); color: var(--irm-body);
  border-radius: var(--radius-pill);
  padding: .3rem .7rem;
}
.product-body .link-more { margin-top: auto; }

/* --------------------------------------------------------------------------
   11. Stats counter
   -------------------------------------------------------------------------- */
.stats-band {
  position: relative;
  background: var(--irm-primary-900);
  overflow: hidden;
}
.stats-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(212, 167, 44, .16), transparent 45%),
              radial-gradient(circle at 85% 80%, rgba(18, 105, 90, .55), transparent 50%);
}
.stats-band > .container { position: relative; z-index: 2; }

.stat-item { text-align: center; padding: .5rem; }
.stat-item i { font-size: 1.9rem; color: var(--irm-gold); margin-bottom: .7rem; display: block; }
.stat-num {
  font-family: var(--ff-display);
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  font-weight: 700; color: #fff; line-height: 1;
  display: flex; justify-content: center; align-items: baseline; gap: .08em;
}
.stat-label { color: rgba(255, 255, 255, .68); font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin-top: .65rem; }
.stat-divider { width: 1px; background: rgba(255, 255, 255, .12); }

/* --------------------------------------------------------------------------
   12. Certifications
   -------------------------------------------------------------------------- */
.cert-item {
  background: #fff;
  border: 1px solid var(--irm-line);
  border-radius: var(--radius);
  padding: 1.4rem 1rem;
  text-align: center;
  height: 100%;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.cert-item:hover { transform: translateY(-7px); box-shadow: var(--shadow-sm); border-color: rgba(212, 167, 44, .5); }
.cert-item img {
  height: 66px; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: .72;
  transition: filter var(--t), opacity var(--t), transform var(--t);
}
.cert-item:hover img { filter: none; opacity: 1; transform: scale(1.07); }
.cert-item span { display: block; margin-top: .85rem; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--irm-muted); }

/* Soft edge fade so the continuous marquee reads as intentional, not clipped */
.certs-swiper {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}

/* --------------------------------------------------------------------------
   13. Testimonials
   -------------------------------------------------------------------------- */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--irm-line);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.9rem 1.9rem;
  height: 100%;
  position: relative;
  transition: transform var(--t), box-shadow var(--t);
}
.testimonial-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.testimonial-quote {
  position: absolute; top: -18px; left: 1.9rem;
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--irm-gold-light), var(--irm-gold));
  color: #3A2E06; font-size: 1.35rem;
  box-shadow: var(--shadow-gold);
}
.testimonial-stars { color: var(--irm-gold); font-size: .92rem; letter-spacing: .12em; margin-bottom: .9rem; }
.testimonial-card h4 { font-size: 1.08rem; margin-bottom: .7rem; }
.testimonial-card p { font-size: .93rem; color: var(--irm-body); margin-bottom: 1.4rem; }
.testimonial-author { display: flex; align-items: center; gap: .85rem; border-top: 1px solid var(--irm-line); padding-top: 1.1rem; }
.testimonial-author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--irm-gold-soft); }
.testimonial-author strong { display: block; font-size: .92rem; color: var(--irm-ink); font-weight: 700; }
.testimonial-author span { font-size: .8rem; color: var(--irm-muted); }

/* Swiper shared */
.swiper { padding-bottom: 3.6rem !important; }
.swiper-wrapper { align-items: stretch; }
.swiper-slide { height: auto; display: flex; }
.swiper-slide > * { width: 100%; }
.swiper-pagination-bullet { background: var(--irm-primary); opacity: .22; width: 9px; height: 9px; transition: var(--t); }
.swiper-pagination-bullet-active { opacity: 1; background: var(--irm-gold); width: 28px; border-radius: 5px; }
.swiper-nav-btn {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--irm-primary);
  border: 1px solid var(--irm-line);
  box-shadow: var(--shadow-xs);
  transition: var(--t-fast);
  cursor: pointer;
}
.swiper-nav-btn:hover { background: var(--irm-primary); color: #fff; border-color: var(--irm-primary); transform: translateY(-3px); }
.swiper-nav-btn.swiper-button-disabled { opacity: .4; cursor: default; transform: none; }

/* --------------------------------------------------------------------------
   14. Contact / CTA
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  background: linear-gradient(120deg, var(--irm-primary-900), var(--irm-primary) 65%, var(--irm-primary-600));
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(2.4rem, 5vw, 3.8rem);
}
.cta-band::before {
  content: '';
  position: absolute; right: -60px; top: -60px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 167, 44, .24), transparent 68%);
}
.cta-band > * { position: relative; z-index: 2; }

.contact-form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.8rem, 3.5vw, 2.6rem);
}
.form-label { font-size: .82rem; font-weight: 700; color: var(--irm-ink); letter-spacing: .04em; margin-bottom: .4rem; }
.form-control, .form-select {
  border: 1px solid var(--irm-line);
  border-radius: var(--radius-sm);
  padding: .78rem 1rem;
  font-size: .93rem;
  background: var(--irm-cream);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.form-control:focus, .form-select:focus {
  border-color: var(--irm-gold);
  box-shadow: 0 0 0 4px rgba(212, 167, 44, .16);
  background: #fff;
}
.form-control::placeholder { color: var(--irm-muted); }
textarea.form-control { min-height: 130px; resize: vertical; }

.form-note { font-size: .8rem; color: var(--irm-muted); }
.form-alert { display: none; }
.form-alert.is-visible { display: flex; animation: fadeUp .4s ease; }

.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-item .ci-icon {
  width: 52px; height: 52px; flex: none;
  border-radius: 16px;
  display: grid; place-items: center;
  background: rgba(212, 167, 44, .16);
  color: var(--irm-gold-light);
  font-size: 1.3rem;
  transition: var(--t);
}
.contact-info-item:hover .ci-icon { background: var(--irm-gold); color: #3A2E06; transform: translateY(-3px); }
.contact-info-item h5 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--irm-gold-light); font-family: var(--ff-body); font-weight: 700; margin-bottom: .3rem; }
.contact-info-item a, .contact-info-item p { color: rgba(255, 255, 255, .84); font-size: .96rem; }
.contact-info-item a:hover { color: var(--irm-gold-light); }

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 8px solid #fff;
  line-height: 0;
}
.map-frame iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.25); }

/* --------------------------------------------------------------------------
   15. Product detail page
   -------------------------------------------------------------------------- */
.spec-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.spec-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: #fff;
  border: 1px solid var(--irm-line);
  border-left: 3px solid var(--irm-gold);
  border-radius: var(--radius-sm);
  padding: .78rem 1.1rem;
  font-size: .92rem;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.spec-list li:hover { transform: translateX(5px); box-shadow: var(--shadow-xs); }
.spec-list li .spec-key { color: var(--irm-body); font-weight: 500; }
.spec-list li .spec-val { color: var(--irm-primary); font-weight: 700; white-space: nowrap; }

.trade-card {
  background: #fff;
  border: 1px solid var(--irm-line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  height: 100%;
  text-align: center;
  transition: transform var(--t), box-shadow var(--t);
}
.trade-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-sm); }
.trade-card i { font-size: 1.7rem; color: var(--irm-gold-dark); margin-bottom: .8rem; display: block; }
.trade-card h5 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--irm-muted); font-family: var(--ff-body); font-weight: 700; margin-bottom: .45rem; }
.trade-card p { font-size: .94rem; color: var(--irm-ink); font-weight: 600; margin: 0; }

.market-chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.market-chip {
  display: inline-flex; align-items: center; gap: .45rem;
  background: #fff;
  border: 1px solid var(--irm-line);
  border-radius: var(--radius-pill);
  padding: .48rem 1rem;
  font-size: .87rem; font-weight: 600; color: var(--irm-body);
  transition: var(--t-fast);
}
.market-chip:hover { background: var(--irm-primary); color: #fff; border-color: var(--irm-primary); transform: translateY(-3px); }
.market-chip .flag { font-size: 1.05rem; line-height: 1; }

.highlight-item { display: flex; gap: 1.1rem; align-items: flex-start; }
.highlight-item .hi-num {
  flex: none;
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--irm-primary-soft); color: var(--irm-primary);
  font-weight: 700; font-size: .95rem;
  transition: var(--t);
}
.highlight-item:hover .hi-num { background: var(--irm-gold); color: #3A2E06; }
.highlight-item h4 { font-size: 1.06rem; margin-bottom: .35rem; }
.highlight-item p { font-size: .92rem; margin: 0; }

.product-gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--irm-cream);
  aspect-ratio: 1 / 1;
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }

/* Sticky enquiry box */
.enquiry-box {
  background: linear-gradient(150deg, var(--irm-primary-900), var(--irm-primary));
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.7rem;
  color: #fff;
  box-shadow: var(--shadow-md);
}
.enquiry-box h4 { color: #fff; font-size: 1.25rem; margin-bottom: .6rem; }
.enquiry-box p { color: rgba(255, 255, 255, .76); font-size: .9rem; }
.enquiry-box .btn { width: 100%; }

/* --------------------------------------------------------------------------
   16. Team & brands
   -------------------------------------------------------------------------- */
.team-card {
  background: #fff;
  border: 1px solid var(--irm-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  height: 100%;
  transition: transform var(--t), box-shadow var(--t);
}
.team-card:hover { transform: translateY(-9px); box-shadow: var(--shadow-md); }
.team-media { background: var(--irm-cream); aspect-ratio: 1 / 1; overflow: hidden; }
.team-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.team-card:hover .team-media img { transform: scale(1.07); }
.team-body { padding: 1.4rem 1.2rem 1.6rem; }
.team-body h4 { font-size: 1.1rem; margin-bottom: .25rem; }
.team-role { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--irm-gold-dark); }
.team-contact { display: block; margin-top: .7rem; font-size: .88rem; color: var(--irm-muted); }

.brand-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--irm-cream);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.brand-card:hover { transform: translateY(-9px); box-shadow: var(--shadow-md); }
.brand-media { aspect-ratio: 3 / 4; overflow: hidden; background: var(--irm-cream-2); }
.brand-media img { width: 100%; height: 100%; object-fit: contain; padding: 1.2rem; transition: transform var(--t-slow); }
.brand-card:hover .brand-media img { transform: scale(1.05); }
.brand-body { padding: 1.3rem 1.4rem 1.6rem; background: #fff; text-align: center; }
.brand-body h4 { font-size: 1.1rem; margin-bottom: .3rem; }
.brand-body p { font-size: .88rem; color: var(--irm-muted); margin: 0; }

/* Value / mission cards */
.value-card {
  background: #fff;
  border: 1px solid var(--irm-line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.7rem;
  height: 100%;
  border-top: 4px solid var(--irm-gold);
  transition: transform var(--t), box-shadow var(--t);
}
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.value-card i { font-size: 1.9rem; color: var(--irm-primary); margin-bottom: 1rem; display: block; }
.value-card h4 { font-size: 1.14rem; margin-bottom: .6rem; }
.value-card p { font-size: .93rem; margin: 0; }

/* Accordion */
.accordion-irm .accordion-item { border: 1px solid var(--irm-line); border-radius: var(--radius) !important; margin-bottom: .75rem; overflow: hidden; background: #fff; }
.accordion-irm .accordion-button {
  font-family: var(--ff-display); font-weight: 700; font-size: 1.03rem; color: var(--irm-ink);
  padding: 1.15rem 1.35rem; background: #fff; box-shadow: none;
}
.accordion-irm .accordion-button:not(.collapsed) { background: var(--irm-primary-soft); color: var(--irm-primary); }
.accordion-irm .accordion-button:focus { box-shadow: none; border-color: transparent; }
.accordion-irm .accordion-button::after { background-size: 1rem; }
.accordion-irm .accordion-body { padding: 0 1.35rem 1.35rem; font-size: .95rem; }

/* --------------------------------------------------------------------------
   16b. Blog
   -------------------------------------------------------------------------- */
.blog-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--irm-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.blog-card:hover { transform: translateY(-9px); box-shadow: var(--shadow-md); border-color: rgba(212, 167, 44, .45); }
.blog-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--irm-cream); }
.blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.blog-card:hover .blog-media img { transform: scale(1.07); }
.blog-date {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  background: linear-gradient(140deg, var(--irm-gold-light), var(--irm-gold));
  color: #3A2E06; border-radius: var(--radius-sm);
  padding: .4rem .8rem; font-size: .75rem; font-weight: 700; letter-spacing: .04em;
  box-shadow: var(--shadow-xs);
}
.blog-body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .78rem; color: var(--irm-muted); margin-bottom: .8rem; }
.blog-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.blog-meta i { color: var(--irm-gold-dark); }
.blog-body h3 { font-size: 1.16rem; margin-bottom: .6rem; }
.blog-body h3 a { color: inherit; }
.blog-card:hover .blog-body h3 a { color: var(--irm-primary); }
.blog-body p { font-size: .92rem; color: var(--irm-muted); margin-bottom: 1.1rem; }
.blog-body .link-more { margin-top: auto; }

/* Article body */
.post-body { font-size: 1.02rem; line-height: 1.9; }
.post-body h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin: 2.2rem 0 .9rem; }
.post-body h3 { font-size: 1.25rem; margin: 1.8rem 0 .7rem; }
.post-body ul { padding-left: 1.1rem; margin-bottom: 1.2rem; }
.post-body li { margin-bottom: .5rem; }
.post-body blockquote {
  border-left: 3px solid var(--irm-gold);
  background: var(--irm-gold-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.4rem;
  margin: 1.8rem 0;
  font-family: var(--ff-display);
  font-size: 1.1rem;
  color: var(--irm-ink);
}
.post-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 8;
  margin-bottom: 2.4rem;
}
.post-hero img { width: 100%; height: 100%; object-fit: cover; }

.sidebar-card {
  background: #fff;
  border: 1px solid var(--irm-line);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-card h4 { font-size: 1.08rem; margin-bottom: 1.1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--irm-line); }
.sidebar-post { display: flex; gap: .9rem; align-items: center; margin-bottom: 1rem; }
.sidebar-post:last-child { margin-bottom: 0; }
.sidebar-post img { width: 68px; height: 60px; object-fit: cover; border-radius: var(--radius-sm); flex: none; }
.sidebar-post a { font-size: .9rem; font-weight: 600; color: var(--irm-ink); line-height: 1.4; display: block; }
.sidebar-post a:hover { color: var(--irm-primary); }
.sidebar-post span { font-size: .75rem; color: var(--irm-muted); }

/* Legal / policy page */
.legal-body h2 { font-size: 1.35rem; margin: 2.2rem 0 .8rem; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body ul { padding-left: 1.1rem; }
.legal-body li { margin-bottom: .45rem; }
.legal-card {
  background: #fff;
  border: 1px solid var(--irm-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 3rem);
  box-shadow: var(--shadow-xs);
}

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--irm-primary-900); color: rgba(255, 255, 255, .68); position: relative; overflow: hidden; }
.site-footer::before {
  content: '';
  position: absolute; left: -120px; bottom: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 105, 90, .5), transparent 68%);
}
.site-footer > * { position: relative; z-index: 2; }
.footer-main { padding: clamp(54px, 7vw, 82px) 0 3rem; }
.footer-logo { height: 62px; width: auto; margin-bottom: 1.3rem; }
.footer-about { font-size: .93rem; color: rgba(255, 255, 255, .68); }

.footer-title {
  font-family: var(--ff-body);
  font-size: .82rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: #fff; margin-bottom: 1.4rem;
  position: relative; padding-bottom: .7rem;
}
.footer-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--irm-gold); border-radius: 2px; }

.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-links a {
  color: rgba(255, 255, 255, .68);
  font-size: .91rem;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: color var(--t-fast), transform var(--t-fast);
}
.footer-links a i { font-size: .62rem; color: var(--irm-gold); transition: transform var(--t-fast); }
.footer-links a:hover { color: var(--irm-gold-light); transform: translateX(5px); }

.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.footer-contact li { display: flex; gap: .8rem; align-items: flex-start; font-size: .91rem; }
.footer-contact li i { color: var(--irm-gold); font-size: 1.05rem; margin-top: .2rem; flex: none; }
.footer-contact a { color: rgba(255, 255, 255, .68); }
.footer-contact a:hover { color: var(--irm-gold-light); }

.footer-social { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .8);
  font-size: 1rem;
  transition: var(--t-fast);
}
.footer-social a:hover { background: var(--irm-gold); color: #2B2204; transform: translateY(-4px); }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.35rem 0; font-size: .86rem; }
.footer-bottom a { color: rgba(255, 255, 255, .68); }
.footer-bottom a:hover { color: var(--irm-gold-light); }

.newsletter-form { position: relative; margin-top: 1.4rem; }
.newsletter-form .form-control {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .14);
  color: #fff;
  padding-right: 3.4rem;
}
.newsletter-form .form-control::placeholder { color: rgba(255, 255, 255, .45); }
.newsletter-form .form-control:focus { background: rgba(255, 255, 255, .12); border-color: var(--irm-gold); }
.newsletter-form button {
  position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border: none; border-radius: 10px;
  background: var(--irm-gold); color: #3A2E06;
  display: grid; place-items: center;
  transition: var(--t-fast);
}
.newsletter-form button:hover { background: var(--irm-gold-light); }

/* --------------------------------------------------------------------------
   18. Floating actions
   -------------------------------------------------------------------------- */
.float-stack { position: fixed; right: 20px; bottom: 22px; z-index: 1040; display: grid; gap: .65rem; }
.float-btn {
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.3rem; border: none;
  box-shadow: var(--shadow-md);
  transition: transform var(--t-fast), box-shadow var(--t-fast), opacity var(--t), visibility var(--t);
}
.float-btn:hover { transform: translateY(-4px) scale(1.06); }
.float-whatsapp { background: #25D366; color: #fff; }
.float-whatsapp:hover { color: #fff; }
.float-whatsapp::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366; animation: pulseRing 2s ease-out infinite;
}
.float-whatsapp { position: relative; }
@keyframes pulseRing { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.55); opacity: 0; } }

.float-top { background: var(--irm-primary); color: #fff; opacity: 0; visibility: hidden; }
.float-top.is-visible { opacity: 1; visibility: visible; }
.float-top:hover { background: var(--irm-primary-900); color: #fff; }

/* --------------------------------------------------------------------------
   19. Marquee strip
   -------------------------------------------------------------------------- */
.marquee { overflow: hidden; background: var(--irm-primary); padding: .85rem 0; }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: slide 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: .7rem;
  color: rgba(255, 255, 255, .9);
  font-family: var(--ff-display); font-size: 1.05rem; font-weight: 600;
  white-space: nowrap;
}
.marquee-item i { color: var(--irm-gold); font-size: .8rem; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   20. AOS fallback (if library blocked)
   -------------------------------------------------------------------------- */
[data-aos]:not(.aos-init) { opacity: 1 !important; transform: none !important; }

/* --------------------------------------------------------------------------
   21. Responsive
   -------------------------------------------------------------------------- */
/* Nav CTA sits tighter than a body button and must never wrap */
.navbar-irm .btn-gold { padding: .62rem 1.35rem; font-size: .87rem; white-space: nowrap; }
.navbar-irm .navbar-nav > .nav-item:last-child { flex: none; }

/* xl container is 1140px — tighten so eight links + CTA never wrap */
@media (max-width: 1399.98px) {
  .navbar-irm .navbar-nav { gap: .3rem; }
  .navbar-irm .nav-link { padding: .5rem .6rem !important; font-size: .84rem; }
  .navbar-irm .btn-gold { padding: .55rem 1rem; font-size: .82rem; }
  .navbar-brand-irm img { height: 41px; }
  .navbar-irm.is-stuck .navbar-brand-irm img { height: 37px; }
}

/* lg container is 960px — tightest desktop step before the mobile drawer */
@media (max-width: 1199.98px) {
  .navbar-irm .navbar-nav { gap: .2rem; }
  .navbar-irm .nav-link { padding: .45rem .55rem !important; font-size: .8rem; }
  .navbar-irm .btn-gold { padding: .5rem .9rem; font-size: .78rem; }
  .navbar-brand-irm img { height: 39px; }
  .navbar-irm.is-stuck .navbar-brand-irm img { height: 37px; }
}

/* Mobile: no inline nav competing for space, so the bar can breathe again */
@media (max-width: 991.98px) {
  .navbar-irm { padding: .95rem 0; }
  .navbar-irm.is-stuck { padding: .7rem 0; }
  /* Width-driven on mobile so the logo can never overflow a narrow phone,
     while the strapline stays above ~8px on every size. */
  .navbar-brand-irm img { height: auto; width: min(330px, calc(100vw - 108px)); }
  .navbar-irm.is-stuck .navbar-brand-irm img { width: min(296px, calc(100vw - 116px)); }
  .navbar-toggler-irm { width: 50px; height: 46px; }

  .offcanvas-irm .navbar-nav { gap: 0; }
  .offcanvas-irm .nav-link { font-size: .95rem !important; padding: .78rem .2rem !important; }
  .offcanvas-irm .btn-gold { padding: .82rem 1.6rem; font-size: .92rem; }
}

@media (max-width: 991.98px) {
  :root { --header-h: 80px; }
  .hero { min-height: auto; }
  .hero-inner { padding: 100px 0 90px; }
  .hero-dots { display: none; }
  .hero-badges { gap: 1.2rem 1.8rem; }
  .collage { padding-bottom: 0; padding-right: 0; margin-bottom: 2.4rem; }
  .collage-sub { position: static; width: 100%; margin-top: 1rem; border-width: 0; box-shadow: none; }
  .collage-badge { left: auto; right: 14px; top: 14px; }
  .stat-divider { display: none; }
  .map-frame iframe { height: 340px; }
  .navbar-irm .nav-link { color: var(--irm-ink); }
}

@media (max-width: 767.98px) {
  .section { padding: 56px 0; }
  .topbar { font-size: .76rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-badge strong { font-size: 1.1rem; }
  .cta-band { padding: 2rem 1.4rem; }
  .float-stack { right: 14px; bottom: 14px; }
  .float-btn { width: 46px; height: 46px; font-size: 1.15rem; }
  .spec-list li { flex-direction: column; align-items: flex-start; gap: .2rem; }
  .collage-badge { padding: .8rem 1rem; }
  .collage-badge strong { font-size: 1.45rem; }
}

@media (max-width: 575.98px) {
  .container { padding-left: 1.15rem; padding-right: 1.15rem; }
  h1 { font-size: 1.95rem; }
  .eyebrow { font-size: .68rem; padding: .35rem .8rem; }
  .btn { padding: .74rem 1.5rem; font-size: .88rem; }
  .testimonial-card, .feature-card { padding: 1.7rem 1.3rem; }
  .marquee-item { font-size: .92rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Print */
@media print {
  .topbar, .site-header, .float-stack, .site-footer, #preloader, .marquee { display: none !important; }
  body { color: #000; }
}


/* --------------------------------------------------------------------------
   22. Language switcher

   Real SVG flags rather than emoji: Windows renders flag emoji as bare letter
   pairs, so the picker would show "GB" instead of a flag.
   -------------------------------------------------------------------------- */
.lang-switcher { position: relative; }

.lang-flag {
  width: 24px; height: 18px;
  object-fit: cover;
  border-radius: 3px;
  flex: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
  display: block;
}
.lang-flag-fallback {
  display: grid; place-items: center;
  font-size: .58rem; font-weight: 700; letter-spacing: .02em;
  background: var(--irm-cream-2); color: var(--irm-body);
}

/* Toggle: white pill, flag + code + chevron */
.lang-toggle {
  display: inline-flex; align-items: center; gap: .45rem;
  background: #fff;
  border: 1px solid var(--irm-line);
  border-radius: var(--radius-sm);
  padding: .3rem .6rem;
  font-size: .82rem; font-weight: 700; letter-spacing: .04em;
  color: var(--irm-ink);
  box-shadow: var(--shadow-xs);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.lang-toggle:hover { border-color: var(--irm-gold); box-shadow: var(--shadow-sm); }
.lang-toggle:focus-visible { outline: 3px solid rgba(212, 167, 44, .5); outline-offset: 2px; }
.lang-toggle i { font-size: .62rem; color: var(--irm-muted); transition: transform var(--t-fast); }
.lang-switcher.show .lang-toggle i { transform: rotate(180deg); }

/* Dropdown: one language per row, flag then name */
.lang-menu {
  min-width: 236px;
  max-height: 340px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: .4rem;
}
.lang-menu .dropdown-item {
  display: flex; align-items: center; gap: .65rem;
  padding: .5rem .7rem;
  font-size: .9rem; font-weight: 500;
  color: var(--irm-body);
  border-radius: var(--radius-sm);
}
.lang-menu .dropdown-item:hover { background: var(--irm-primary-soft); color: var(--irm-primary); padding-left: .7rem; }
.lang-menu .dropdown-item.active { background: var(--irm-primary-soft); color: var(--irm-primary); font-weight: 600; }
.lang-menu .lang-name { flex: 1; white-space: nowrap; }
.lang-menu .lang-check { font-size: .95rem; color: var(--irm-gold-dark); }

/* Keep the scrollbar unobtrusive inside the menu */
.lang-menu::-webkit-scrollbar { width: 6px; }
.lang-menu::-webkit-scrollbar-thumb { background: var(--irm-line); border-radius: 6px; }
.lang-menu::-webkit-scrollbar-thumb:hover { background: var(--irm-muted); }

/* Top-bar variant sits on the dark strip */
.lang-switcher-dark .lang-toggle {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .2);
  color: #fff;
  box-shadow: none;
}
.lang-switcher-dark .lang-toggle:hover { background: rgba(255, 255, 255, .18); border-color: var(--irm-gold); }
.lang-switcher-dark .lang-toggle i { color: rgba(255, 255, 255, .7); }

/* Full-width variant inside the mobile drawer */
.lang-switcher-block { width: 100%; }
.lang-switcher-block .lang-toggle { width: 100%; justify-content: flex-start; padding: .7rem .9rem; }
.lang-switcher-block .lang-toggle i { margin-left: auto; }
.lang-switcher-block .lang-menu { width: 100%; }

/* The top bar sits above the sticky header so its language menu is never
   clipped by, or drawn behind, the navbar below it. */
.topbar { position: relative; z-index: 1035; }
.topbar .lang-switcher .dropdown-menu { z-index: 1045; }

/* Keep the menu inside the viewport when it opens at the far right edge */
.topbar .lang-menu { max-width: calc(100vw - 2rem); }
