/* ==========================================================
   Vinaayak Fab - Main Stylesheet
   Brand: slate blue and lime green, white and light grey
   ========================================================== */

:root {
  --primary: #33475f;
  --primary-dark: #263649;
  --primary-deep: #1f2d3e;
  --primary-soft: #7d8b9d;
  --primary-tint: #e9edf2;
  --lime: #b8e004;
  --lime-dark: #a3c703;
  --lime-text: #587200;
  --lime-tint: #f2f9d9;
  --ivory: #fbfcfb;
  --cream: #f1f3f5;
  --sand: #e4e8ec;
  --linen: #eef1f4;
  --ink: #22303f;
  --brown: #3f4a57;
  --muted: #6b7583;
  --line: #dce1e6;
  --white: #ffffff;
  --error: #a3402f;

  --font-head: "Cormorant Garamond", "Noto Serif Tamil", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Noto Sans Tamil", "Latha", "Segoe UI", Arial, sans-serif;

  --container: 1240px;
  --radius: 6px;
  --radius-lg: 14px;
  --shadow-sm: 0 4px 14px rgba(31, 45, 62, 0.07);
  --shadow: 0 14px 40px rgba(31, 45, 62, 0.12);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
main, .site-footer { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  line-height: 1.75;
  color: var(--brown);
  background: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--primary-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
ul { padding: 0; margin: 0; list-style: none; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
}

/* ==========================================================
   Typography - font sizes
   Desktop defaults first, then tablet (991.98px) and mobile (767.98px), matching the Bootstrap lg and md breakpoints.
   ========================================================== */
body { font-size: 18px; }
h1 { font-size: 68px; letter-spacing: .01em; }
h2, .page-title { font-size: 50px; }
h3 { font-size: 26px; }
h4 { font-size: 21px; }
.lead { font-size: 19px; }
.quote-script { font-size: 50px; }
.main-nav a, .nav-drop-toggle { font-size: 15px; }
.btn { font-size: 15px; }
.btn-sm { font-size: 13px; }

@media (max-width: 991.98px) {
  h1 { font-size: 52px; }
  h2, .page-title { font-size: 40px; }
  .quote-script { font-size: 40px; }
}

@media (max-width: 1199.98px) {
  .main-nav a, .nav-drop-toggle { font-size: 17px; }
}

@media (max-width: 767.98px) {
  body { font-size: 17px; }
  h1 { font-size: 42px; }
  h2, .page-title { font-size: 34px; }
  h3 { font-size: 24px; }
  .lead { font-size: 18px; }
  .quote-script { font-size: 34px; }
}

@media (max-width: 420px) {
  h1 { font-size: 38px; }
  h2, .page-title { font-size: 31px; }
}

/* ==========================================================
   Tamil (applied when the page language is switched to Tamil)
   Tamil words are longer than English, so headings, labels and
   buttons are scaled and un-tracked selectively.
   ========================================================== */
html[lang|="ta"] body { line-height: 1.85; }
html[lang|="ta"] h1, html[lang|="ta"] h2, html[lang|="ta"] h3, html[lang|="ta"] h4 { line-height: 1.4; letter-spacing: 0; overflow-wrap: break-word; }
html[lang|="ta"] h1 { font-size: 44px; }
html[lang|="ta"] h2, html[lang|="ta"] .page-title { font-size: 34px; }
html[lang|="ta"] h3 { font-size: 22px; }
html[lang|="ta"] .lead { font-size: 18px; }
html[lang|="ta"] .quote-script { font-size: 34px; line-height: 1.5; }
html[lang|="ta"] .page-banner h1, html[lang|="ta"] .cat-hero h1 { text-transform: none; }
html[lang|="ta"] .eyebrow, html[lang|="ta"] .breadcrumb, html[lang|="ta"] .brand-tag,
html[lang|="ta"] .feature h3, html[lang|="ta"] .value h3, html[lang|="ta"] .market h3, html[lang|="ta"] .check-item h3,
html[lang|="ta"] .trust-item, html[lang|="ta"] .stat, html[lang|="ta"] .panel-title, html[lang|="ta"] .site-footer h4,
html[lang|="ta"] .link-arrow, html[lang|="ta"] .slide-label, html[lang|="ta"] .form-field label, html[lang|="ta"] .float-enquiry {
  letter-spacing: .02em; text-transform: none;
}
html[lang|="ta"] .eyebrow { font-size: 14px; }
html[lang|="ta"] .btn { font-size: 14px; letter-spacing: .02em; text-transform: none; white-space: normal; text-align: center; line-height: 1.4; }
html[lang|="ta"] .main-nav a, html[lang|="ta"] .nav-drop-toggle { font-size: 14px; letter-spacing: 0; padding-left: 9px; padding-right: 9px; }
html[lang|="ta"] .header-actions .btn { padding: 10px 16px; max-width: 170px; }
html[lang|="ta"] .gallery-item figcaption { font-size: 19px; line-height: 1.4; }
html[lang|="ta"] .cat-wide h3, html[lang|="ta"] .info-card h3, html[lang|="ta"] .icon-row h3 { font-size: 20px; }

@media (max-width: 1339.98px) {
  html[lang|="ta"] .brand-tag { display: none; }
}
@media (max-width: 1199.98px) {
  html[lang|="ta"] .main-nav a, html[lang|="ta"] .nav-drop-toggle { font-size: 16px; padding-left: 4px; padding-right: 4px; white-space: normal; text-align: left; }
}
@media (max-width: 991.98px) {
  html[lang|="ta"] h1 { font-size: 36px; }
  html[lang|="ta"] h2, html[lang|="ta"] .page-title { font-size: 30px; }
}
@media (max-width: 767.98px) {
  html[lang|="ta"] h1 { font-size: 30px; }
  html[lang|="ta"] h2, html[lang|="ta"] .page-title { font-size: 25px; }
  html[lang|="ta"] h3 { font-size: 20px; }
  html[lang|="ta"] body { font-size: 16px; }
  html[lang|="ta"] .quote-script { font-size: 26px; }
  html[lang|="ta"] .gallery-item figcaption { font-size: 16px; }
}

:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 3px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--primary); color: #fff; padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { padding: 110px 0; }
.section-sm { padding: 70px 0; }
.bg-cream { background: var(--cream); }
.bg-linen { background: var(--linen); }
.bg-texture {
  background-color: var(--cream);
  background-image:
    repeating-linear-gradient(0deg, rgba(51, 71, 95, .035) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(51, 71, 95, .03) 0 1px, transparent 1px 4px);
}

/* ---------- Shared headings ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--lime-text);
  margin-bottom: 14px;
}
.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-head p { color: var(--muted); font-size: 18px; }
.section-head.left { margin-left: 0; text-align: left; }
.title-caps { text-transform: uppercase; letter-spacing: .06em; }
.divider {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin: 6px auto 22px;
}
.divider::before, .divider::after { content: ""; width: 70px; height: 2px; background: var(--lime); }
.divider img { width: 20px; height: 20px; }
.section-head.left .divider, .divider.left { justify-content: flex-start; }
.section-head.left .divider::before, .divider.left::before { display: none; }
.lead { color: var(--brown); font-weight: 400; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px;
  border-radius: 40px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.75;
  cursor: pointer;
  --bs-btn-active-bg: var(--primary-dark);
  --bs-btn-active-border-color: var(--primary-dark);
  --bs-btn-active-color: #fff;
  --bs-btn-focus-box-shadow: 0 0 0 3px rgba(51, 71, 95, .25);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.btn img { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(38, 54, 73, .25); }
.btn:hover img { transform: translateX(3px); }
.btn-outline { background: transparent; color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-light { background: var(--ivory); border-color: var(--ivory); color: var(--primary-dark); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--primary-dark); }
.btn-sm { padding: 10px 20px; }
.btn-row { gap: 14px !important; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
}
.link-arrow img { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover img { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--primary-deep);
  color: rgba(255, 255, 255, .88);
  font-size: 14px;
  position: relative;
  z-index: 1001;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 42px; gap: 16px; }
.topbar-info { display: flex; gap: 26px; flex-wrap: wrap; }
.topbar-info a, .topbar-info span { display: inline-flex; align-items: center; gap: 8px; color: inherit; }
.topbar-info a:hover { color: #fff; }
.topbar-info img { width: 15px; height: 15px; opacity: .85; }

/* Language selector (design only) */
.lang-select { position: relative; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 1px solid rgba(255, 255, 255, .3);
  color: inherit; padding: 4px 12px; border-radius: 30px; cursor: pointer; font-size: 14px;
}
.lang-toggle:hover { border-color: rgba(255, 255, 255, .7); }
.lang-toggle img { width: 15px; height: 15px; }
.lang-toggle .chev { width: 13px; height: 13px; transition: transform .25s; }
.lang-select.open .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 230px; background: var(--ivory); color: var(--brown);
  border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .25s var(--ease);
}
.lang-select.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu li button {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: none; border: 0; padding: 9px 12px; border-radius: 6px; cursor: pointer; text-align: left; font-size: 15px;
}
.lang-menu li button[aria-checked="true"] { background: var(--primary-tint); color: var(--primary-dark); font-weight: 500; }
.lang-menu li button img { width: 15px; height: 15px; }
.lang-menu li button[aria-checked="false"] img { visibility: hidden; }
.lang-menu li button:disabled { cursor: not-allowed; color: #9aa3ad; }
.lang-menu .lang-note { font-size: 13px; color: var(--muted); padding: 8px 12px 4px; border-top: 1px solid var(--line); margin-top: 6px; line-height: 1.5; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(251, 252, 251, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s;
}
.site-header, .site-header.scrolled { box-shadow: 0 6px 24px rgba(31, 45, 62, .08); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; transition: height .3s var(--ease); }
.site-header.scrolled .header-inner { height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand img { width: 62px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-size: 30px; font-weight: 600; letter-spacing: 0; }
.brand-tag { font-size: 11px; letter-spacing: .2em; text-align: center; text-transform: uppercase; color: var(--primary); margin-top: 6px; }

.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav a, .nav-drop-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; color: var(--ink); font-weight: 400;
  letter-spacing: .06em; background: none; border: 0; cursor: pointer; position: relative; white-space: nowrap;
}
.main-nav > ul > li > a::after, .nav-drop-toggle::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
  background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav > ul > li > a:hover::after, .main-nav > ul > li > a.active::after,
.has-drop:hover .nav-drop-toggle::after, .nav-drop-toggle.active::after { transform: scaleX(1); }
.main-nav a.active, .nav-drop-toggle.active { color: var(--primary); }
.nav-drop-toggle img { width: 14px; height: 14px; transition: transform .25s; }
.has-drop { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 240px;
  background: var(--ivory); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--ease);
}
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown, .has-drop.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-drop:hover .nav-drop-toggle img { transform: rotate(180deg); }
.dropdown a { display: flex; padding: 9px 14px; border-radius: 6px; font-size: 15px; width: 100%; }
.dropdown a:hover, .dropdown a.active { background: var(--primary-tint); color: var(--primary-dark); }
.dropdown a img { width: 18px; height: 18px; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--ivory); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle img { width: 22px; height: 22px; }
.nav-overlay { display: none; }

/* ---------- Home hero ---------- */
.hero { position: relative; padding: 70px 0 90px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -10%; top: -20%; width: 60%; height: 140%;
  background: radial-gradient(closest-side, rgba(184, 224, 4, .14), transparent);
  pointer-events: none;
}
.hero-grid { --bs-gutter-x: 70px; --bs-gutter-y: 56px; }
.hero h1 { margin-bottom: 26px; }
.hero h1 em { font-style: italic; color: var(--lime-text); font-weight: 500; }
.hero .lead { max-width: 540px; margin-bottom: 36px; }
.hero-media { position: relative; }
.hero-media .frame { border-radius: 220px 220px var(--radius-lg) var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 4.3; }
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 6s var(--ease); }
.hero-media:hover .frame img { transform: scale(1.04); }
.hero-badge {
  position: absolute; left: -36px; bottom: 50px; background: var(--ivory);
  border-radius: var(--radius-lg); padding: 20px 26px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 16px;
}
.hero-badge strong { font-family: var(--font-head); font-size: 44px; line-height: 1; color: var(--lime-text); font-weight: 600; }
.hero-badge span { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; line-height: 1.5; color: var(--brown); }
.hero-meta { display: flex; gap: 34px; margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-meta div { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.hero-meta img { width: 24px; height: 24px; }

/* Soft photographic background behind the home and category heroes */
.hero, .cat-hero.bg-texture {
  background:
    linear-gradient(90deg, rgba(251, 252, 251, .96) 0%, rgba(251, 252, 251, .88) 45%, rgba(251, 252, 251, .72) 100%),
    url("../images/hero/hero-bg-soft.jpg") center / cover no-repeat;
}

/* Home hero (centred): soft photographic background that changes every few seconds */
.hero.hero-center { position: relative; background: var(--ivory); min-height: 640px; display: flex; align-items: center; padding: 110px 0; text-align: center; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity 1.6s var(--ease), transform 8s linear; }
.hero-bg img.is-active { opacity: 1; transform: scale(1); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(255, 255, 255, .86) 0%, rgba(255, 255, 255, .74) 45%, rgba(255, 255, 255, .58) 100%); }
.hero-center .container { position: relative; z-index: 1; }
.hero-center-copy { max-width: 860px; margin: 0 auto; }
.hero-center h1 { margin-bottom: 38px; }
.hero-center h1 .h-blue { color: var(--primary); }
.hero-center h1 em { display: block; font-style: italic; color: var(--lime); text-shadow: 0 1px 1px rgba(31, 45, 62, .35), 0 2px 14px rgba(31, 45, 62, .18); }

/* Home hero background controls: dots shown, arrows kept hidden */
.hero-bg-dots { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 2; display: flex; gap: 10px; }
.hero-bg-dots button { width: 11px; height: 11px; border-radius: 11px; border: 0; padding: 0; background: rgba(51, 71, 95, .35); cursor: pointer; transition: width .4s var(--ease), background .3s; }
.hero-bg-dots button.is-active { width: 32px; background: var(--lime-dark); }
.hero-bg-arrow { display: none; position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); cursor: pointer; align-items: center; justify-content: center; }
.hero-bg-arrow img { width: 22px; height: 22px; }
.hero-bg-prev { left: 24px; }
.hero-bg-next { right: 24px; }

/* Trust strip */
.trust-strip { background: var(--lime); color: var(--primary-deep); }

.trust-item { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 26px 16px; font-size: 15px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }
.trust-item + .trust-item { border-left: 1px solid rgba(31, 45, 62, .18); }
.trust-item img { width: 28px; height: 28px; filter: brightness(0); opacity: .75; }

/* ---------- Split content ---------- */
.split { --bs-gutter-x: 80px; --bs-gutter-y: 56px; }
.split-media { position: relative; }
.split-media .img-main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 4.4; }
.split-media .img-main img { width: 100%; height: 100%; object-fit: cover; }
.split-media .img-accent {
  position: absolute; right: -30px; bottom: -40px; width: 44%; aspect-ratio: 1;
  border-radius: var(--radius-lg); overflow: hidden; border: 8px solid var(--ivory); box-shadow: var(--shadow);
}
.split-media .img-accent img { width: 100%; height: 100%; object-fit: cover; }
.bg-cream .split-media .img-accent { border-color: var(--cream); }
.split-media .stamp {
  position: absolute; left: -24px; top: 40px; background: var(--primary); color: var(--ivory);
  padding: 18px 22px; border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow);
}
.split-media .stamp strong { color: var(--lime); display: block; font-family: var(--font-head); font-size: 41px; line-height: 1; font-weight: 600; }
.split-media .stamp span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.check-list { margin: 10px 0 30px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list img { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--lime-tint); flex-shrink: 0; margin-top: 4px; }

/* ---------- Category cards ---------- */

.cat-wide-grid { --bs-gutter-x: 30px; --bs-gutter-y: 30px; }
.cat-wide-grid > .col > .cat-wide, .cat-wide-grid > [class*="col-"] > .cat-wide { height: 100%; }
.cat-wide { display: flex; flex-direction: column; background: var(--ivory); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); color: var(--brown); }
.cat-wide:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--brown); }
.cat-wide .cw-img { aspect-ratio: 4 / 3.4; overflow: hidden; }
.cat-wide .cw-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat-wide:hover .cw-img img { transform: scale(1.06); }
.cat-wide .cw-body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.cat-wide .cw-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.cat-wide .cw-head img { width: 26px; height: 26px; }
.cat-wide h3 { margin: 0; }
.cat-wide p { color: var(--muted); font-size: 17px; flex: 1; }

/* ---------- Feature cards ---------- */
.feature-grid { --bs-gutter-x: 0; --bs-gutter-y: 50px; }
.feature { text-align: center; padding: 10px 30px; position: relative; }
.feature + .feature::before { content: ""; position: absolute; left: 0; top: 12%; bottom: 12%; width: 1px; background: var(--line); }
.icon-circle { width: 96px; height: 96px; border-radius: 50%; background: var(--lime-tint); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; transition: transform .4s var(--ease), background .4s; }
.icon-circle img { width: 40px; height: 40px; }
.feature:hover .icon-circle { transform: translateY(-4px); background: var(--lime); }
.header-actions .btn { background: var(--lime); border-color: var(--lime); color: var(--primary-deep); }
.header-actions .btn:hover { background: var(--lime-dark); border-color: var(--lime-dark); color: var(--primary-deep); }
.feature h3 { font-family: var(--font-body); font-size: 17px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.feature p { color: var(--muted); font-size: 17px; margin: 0; }

.card-grid, .cert-grid { --bs-gutter-x: 26px; --bs-gutter-y: 26px; }
.card-grid > div > .info-card, .cert-grid > div > .cert-card { height: 100%; }
.info-card { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 32px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.bg-ivory-cards .info-card, .section:not(.bg-cream):not(.bg-linen) .info-card { background: #fff; }
.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.info-card .ic-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.info-card .ic-icon img { width: 28px; height: 28px; }
.info-card .ic-icon.soft { background: var(--sand); }
.info-card h3 { font-size: 26px; margin-bottom: 10px; }
.info-card p { color: var(--muted); margin: 0; font-size: 17px; }
.info-card .num { font-family: var(--font-head); font-size: 51px; color: var(--lime-dark); line-height: 1; opacity: .8; float: right; }

/* Icon rows (advantage / specialities) */
.icon-rows { display: grid; gap: 28px; }
.icon-row { display: flex; gap: 24px; align-items: flex-start; }
.icon-row .ir-icon { width: 68px; height: 68px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .4s var(--ease); }
.icon-row:hover .ir-icon { transform: scale(1.07); }
.icon-row .ir-icon img { width: 30px; height: 30px; }
.icon-row h3 { font-size: 24px; margin-bottom: 6px; }
.icon-row p { margin: 0; color: var(--muted); }

/* Checkpoints panel */
.panel { background: var(--sand); border-radius: var(--radius-lg); padding: 50px; }
.panel-title { text-align: center; font-family: var(--font-body); font-size: 17px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 36px; }
.check-grid { --bs-gutter-x: 0; --bs-gutter-y: 0; }
.check-item { display: flex; gap: 18px; padding: 0 28px; }
.check-item + .check-item { border-left: 1px solid rgba(107, 117, 131, .25); }
.check-item .ci-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--ivory); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.check-item .ci-icon img { width: 30px; height: 30px; }
.check-item h3 { font-family: var(--font-body); font-size: 16px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.check-item p { margin: 0; font-size: 16px; color: var(--muted); }

/* Values */
.values-grid { --bs-gutter-x: 0; --bs-gutter-y: 40px; }
.value { text-align: center; padding: 14px 12px; position: relative; }
.value + .value::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.value img { width: 50px; height: 50px; margin: 0 auto 16px; transition: transform .4s var(--ease); }
.value:hover img { transform: translateY(-5px); }
.value h3 { font-family: var(--font-body); font-size: 15px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin: 0; }

/* Stats strip */
.stats-strip { background: var(--primary); border-radius: var(--radius-lg); --bs-gutter-x: 0; --bs-gutter-y: 0; margin-left: 0; margin-right: 0; color: var(--ivory); overflow: hidden; }
.stat { padding: 30px 22px; display: flex; gap: 14px; align-items: center; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; line-height: 1.6; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .2); }
.stat img { width: 34px; height: 34px; flex-shrink: 0; }

/* Markets */
.markets-grid { --bs-gutter-x: 20px; --bs-gutter-y: 20px; }
.markets-grid > .col > .market { height: 100%; }
.market { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 20px; text-align: center; transition: transform .4s var(--ease), box-shadow .4s; }
.market:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.market .m-code { font-family: var(--font-head); font-size: 41px; color: var(--primary); line-height: 1; margin-bottom: 10px; font-weight: 600; }
.market h3 { font-family: var(--font-body); font-size: 15px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; margin-bottom: 8px; }
.market p { font-size: 15px; color: var(--muted); margin: 0; }

/* Certifications */
.cert-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px 32px; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s; }
.cert-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cert-badge { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.cert-badge .cb-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--primary-tint); display: flex; align-items: center; justify-content: center; }
.cert-badge .cb-icon img { width: 28px; height: 28px; }
.cert-badge strong { font-family: var(--font-head); font-size: 34px; color: var(--ink); letter-spacing: .04em; }
.cert-card h3 { font-family: var(--font-body); font-size: 17px; font-weight: 500; letter-spacing: .06em; color: var(--primary); margin-bottom: 12px; }
.cert-card p { color: var(--muted); font-size: 16px; }
.pillars { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.pillars span { background: var(--primary-tint); color: var(--primary-dark); font-size: 13px; letter-spacing: .06em; padding: 5px 12px; border-radius: 20px; }

.cert-detail { display: grid; grid-template-columns: 240px 1fr; gap: 50px; padding: 50px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cert-detail:last-of-type { border-bottom: 0; }
.cert-logo-slot { aspect-ratio: 1.3; border: 1px solid var(--line); border-radius: var(--radius-lg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: var(--ivory); text-align: center; padding: 16px; }
.cert-logo-slot img { width: 30px; height: 30px; }
.cert-logo-slot strong { font-family: var(--font-head); font-size: 37px; color: var(--primary-dark); line-height: 1; }
.cert-logo-slot small { font-size: 12px; color: var(--muted); letter-spacing: .04em; line-height: 1.4; }


/* ---------- Image band / quote ---------- */
.image-band { position: relative; min-height: 460px; display: flex; align-items: center; overflow: hidden; }
.image-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.image-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(251, 252, 251, .94) 0%, rgba(251, 252, 251, .75) 38%, rgba(251, 252, 251, 0) 70%); z-index: 1; }
.image-band .container { position: relative; z-index: 2; }
.image-band .band-content { max-width: 520px; }
.quote-script { font-family: var(--font-head); font-style: italic; color: var(--primary-dark); line-height: 1.2; margin-bottom: 18px; }

/* ---------- Page banner ---------- */
.page-banner { position: relative; min-height: 400px; display: flex; align-items: center; overflow: hidden; }
.page-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(251, 252, 251, .97) 0%, rgba(251, 252, 251, .86) 40%, rgba(251, 252, 251, .15) 78%); }
.page-banner .container { position: relative; z-index: 2; padding-top: 50px; padding-bottom: 50px; }
.page-banner h1 { text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; max-width: 640px; }
.page-banner p { max-width: 520px; font-size: 18px; margin: 0; }
.breadcrumb { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; color: var(--muted); }
.breadcrumb a { color: var(--primary); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--primary-soft); }

/* ---------- Category hero ---------- */
.cat-hero { padding: 50px 0 80px; }
.cat-hero-grid { --bs-gutter-x: 70px; --bs-gutter-y: 56px; }
.cat-hero-grid > div:last-child { display: flex; justify-content: flex-end; }
.cat-hero h1 { text-transform: uppercase; letter-spacing: .04em; }
.cat-hero .cat-hero-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--primary-tint); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.cat-hero .cat-hero-icon img { width: 30px; height: 30px; }
.cat-hero-media { border-radius: 200px 200px var(--radius-lg) var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); max-width: 440px; width: 100%; }
.cat-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.highlights { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 34px; }
.highlights span { display: inline-flex; align-items: center; gap: 8px; background: var(--ivory); border: 1px solid var(--line); padding: 7px 14px; border-radius: 30px; font-size: 14px; }
.highlights img { width: 15px; height: 15px; }


/* Other categories strip */
.other-cats { --bs-gutter-x: 16px; --bs-gutter-y: 16px; }
.other-cats .other-cat { height: 100%; }
.other-cat { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--ivory); border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-size: 15px; transition: all .3s var(--ease); }
.other-cat img { width: 24px; height: 24px; }
.other-cat:hover { border-color: var(--primary); color: var(--primary-dark); transform: translateY(-3px); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--primary); color: var(--ivory); border-radius: var(--radius-lg); padding: 60px 64px; display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; background: url("../images/logo/vinaayak-fab-mark-white.svg") no-repeat center / contain; opacity: .07; }
.cta-band h2 { color: var(--ivory); margin-bottom: 8px; }
.cta-band p { margin: 0; opacity: .88; max-width: 560px; }
.cta-band .btn-row { position: relative; z-index: 1; flex-shrink: 0; }
.cta-band .btn-light { background: var(--lime); border-color: var(--lime); color: var(--primary-deep); }
.cta-band .btn-light:hover { background: var(--lime-dark); border-color: var(--lime-dark); color: var(--primary-deep); }
.cta-band .btn-outline { color: var(--ivory); border-color: rgba(255, 255, 255, .6); }
.cta-band .btn-outline:hover { background: var(--ivory); color: var(--primary-dark); border-color: var(--ivory); }

/* ---------- Contact ---------- */
.contact-grid { --bs-gutter-x: 60px; --bs-gutter-y: 56px; }
.contact-list { display: grid; gap: 22px; margin: 30px 0; }
.contact-list li { display: flex; gap: 18px; align-items: flex-start; }
.contact-list .cl-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--primary-tint); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-list .cl-icon img { width: 22px; height: 22px; }
.contact-list strong { display: block; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--primary); font-weight: 500; }
.contact-list a, .contact-list span { color: var(--ink); }
.contact-list a:hover { color: var(--primary); }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 7; background: var(--sand); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.3) sepia(.15); }
.script-line { font-family: var(--font-head); font-style: italic; font-size: 31px; color: var(--primary-dark); }

/* ---------- Forms (shared by popup and contact page) ---------- */
.form-grid { --bs-gutter-x: 20px; --bs-gutter-y: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--brown); font-weight: 500; }
.form-field label .req { color: var(--error); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--ivory); font-size: 17px; color: var(--ink); transition: border-color .25s, box-shadow .25s, background .25s;
}
.form-field select { appearance: none; -webkit-appearance: none; background-image: url("../images/icons/chevron-down.svg"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 42px; }
.form-field textarea { min-height: 110px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(51, 71, 95, .14); }
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea { border-color: var(--error); background: #fdf6f4; }
.field-error { display: none; align-items: center; gap: 6px; font-size: 14px; color: var(--error); line-height: 1.4; }
.field-error::before { content: ""; width: 14px; height: 14px; flex-shrink: 0; background: url("../images/icons/alert.svg") no-repeat center / contain; filter: hue-rotate(-60deg) saturate(2); }
.form-field.has-error .field-error { display: flex; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); font-size: 14px; max-width: 300px; line-height: 1.5; }
.form-success { display: none; text-align: center; padding: 20px 10px; }
.form-success .fs-icon { width: 78px; height: 78px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; animation: pop .5s var(--ease); }
.form-success .fs-icon img { width: 36px; height: 36px; }
.form-success h3 { font-size: 34px; }
.form-success p { color: var(--muted); }
.is-submitted .form-success { display: block; }
.is-submitted form { display: none; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- Enquiry modal ---------- */
.modal-backdrop { --bs-backdrop-bg: #141c26; --bs-backdrop-opacity: .6; }
.enquiry-modal .modal-dialog { max-width: 860px; }
.enquiry-content { display: grid; grid-template-columns: .8fr 1.2fr; background: var(--ivory); border: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.modal-aside { position: relative; background: var(--primary) url("../images/about/about-fabric-label.jpg") center / cover; color: var(--ivory); padding: 40px 32px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100%; }
.modal-aside::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31, 45, 62, .25), rgba(31, 45, 62, .92)); }
.modal-aside > * { position: relative; }
.modal-aside .eyebrow { color: var(--lime); }
.modal-aside h2 { color: var(--ivory); font-size: 37px; }
.modal-aside p { font-size: 16px; opacity: .9; }
.modal-aside .ma-contact { display: grid; gap: 8px; font-size: 15px; }
.modal-aside .ma-contact a { color: var(--ivory); display: inline-flex; align-items: center; gap: 10px; }
.modal-aside .ma-contact img { width: 16px; height: 16px; }
.modal-body { padding: 40px 38px 34px; }
.modal-body h3 { font-size: 32px; margin-bottom: 4px; }
.modal-body > p { color: var(--muted); font-size: 16px; margin-bottom: 24px; }
.modal-close { position: absolute; right: 16px; top: 16px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2; transition: transform .3s var(--ease); }
.modal-close:hover { transform: rotate(90deg); }
.modal-close img { width: 20px; height: 20px; }
body.lightbox-open { overflow: hidden; }

/* ---------- Floating buttons ---------- */
.float-enquiry {
  position: fixed; right: 0; top: 50%; z-index: 900;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  background: var(--lime); color: var(--primary-deep); border: 0; cursor: pointer;
  padding: 22px 12px; border-radius: 10px 0 0 10px;
  font-size: 13px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500;
  display: flex; align-items: center; gap: 12px; box-shadow: -4px 6px 20px rgba(0, 0, 0, .15);
  transition: background .3s, padding .3s;
}
.float-enquiry img { width: 18px; height: 18px; transform: rotate(90deg); filter: brightness(0); opacity: .8; }
.float-enquiry:hover { background: var(--lime-dark); padding-right: 16px; }
.float-left { position: fixed; left: 20px; bottom: 24px; z-index: 900; display: flex; flex-direction: column; gap: 12px; }
.float-btn { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(0, 0, 0, .18); transition: transform .3s var(--ease); position: relative; }
.float-btn img { width: 26px; height: 26px; }
.float-btn:hover { transform: scale(1.08); }
.float-btn.whatsapp { background: #25d366; }
.float-btn.whatsapp::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s infinite; }
.float-btn.phone { background: var(--primary); }
.float-btn .tip { position: absolute; left: calc(100% + 12px); white-space: nowrap; background: var(--ink); color: #fff; font-size: 13px; padding: 6px 12px; border-radius: 6px; opacity: 0; visibility: hidden; transform: translateX(-6px); transition: all .25s; }
.float-btn:hover .tip, .float-btn:focus-visible .tip { opacity: 1; visibility: visible; transform: none; }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.55); opacity: 0; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary-deep); color: rgba(255, 255, 255, .78); padding-top: 90px; font-size: 16px; }
.footer-grid { --bs-gutter-x: 50px; --bs-gutter-y: 40px; padding-bottom: 60px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; color: var(--ivory); }
.footer-brand img { width: 60px; }
.footer-brand .brand-name { color: var(--ivory); white-space: nowrap; font-size: 27px; }
.footer-brand .brand-tag { color: rgba(255, 255, 255, .7); }
.site-footer h4 { color: var(--lime); font-family: var(--font-body); font-size: 14px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; margin-bottom: 22px; }
.footer-links li + li { margin-top: 10px; }
.footer-links a { color: rgba(255, 255, 255, .78); }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact li + li { margin-top: 14px; }
.footer-contact img { width: 18px; height: 18px; margin-top: 4px; flex-shrink: 0; }
.footer-contact a { color: rgba(255, 255, 255, .85); word-break: break-word; }
.footer-contact a:hover { color: #fff; }
.footer-script { font-family: var(--font-head); font-style: italic; font-size: 26px; color: var(--lime); margin-top: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); padding: 24px 0; font-size: 14px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom a { color: rgba(255, 255, 255, .78); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; } .reveal-d4 { transition-delay: .4s; } .reveal-d5 { transition-delay: .5s; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Utilities */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }

/* ---------- v2: Hero slider ---------- */
.hero-slider { position: relative; touch-action: pan-y; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.hero-slide.is-active img { transform: scale(1); }
.hero-slide .slide-label {
  position: absolute; display: inline-flex; writing-mode: horizontal-tb; top: auto; transform: none;
  right: 22px; bottom: 26px; align-items: center; gap: 8px;
  background: rgba(251, 252, 251, .94); color: var(--primary-dark); padding: 9px 16px; border-radius: 30px;
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
}
.hero-slide .slide-label img { width: 15px; height: 15px; transform: none; }
.slider-dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: 24px; display: flex; gap: 8px; z-index: 2; }
.slider-dots button { width: 10px; height: 10px; border-radius: 10px; border: 0; padding: 0; background: rgba(251, 252, 251, .85); box-shadow: 0 1px 4px rgba(0, 0, 0, .25); cursor: pointer; transition: width .4s var(--ease), background .3s; }
.slider-dots button.is-active { width: 28px; background: var(--lime); }

/* ---------- v2: Category gallery ---------- */
.gallery-grid { --bs-gutter-x: 30px; --bs-gutter-y: 30px; }
.gallery-item { margin: 0; height: 100%; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.gallery-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.gallery-open { display: block; position: relative; width: 100%; padding: 0; border: 0; background: var(--sand); cursor: zoom-in; aspect-ratio: 1; overflow: hidden; }
.gallery-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-open::after { content: ""; position: absolute; inset: 0; background: rgba(31, 45, 62, .28); opacity: 0; transition: opacity .4s; }
.gallery-zoom { position: absolute; left: 50%; top: 50%; z-index: 1; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.7); transition: all .4s var(--ease); }
.gallery-zoom img { width: 26px; height: 26px; }
.gallery-item:hover .gallery-open img { transform: scale(1.06); }
.gallery-item:hover .gallery-open::after, .gallery-open:focus-visible::after { opacity: 1; }
.gallery-item:hover .gallery-zoom, .gallery-open:focus-visible .gallery-zoom { opacity: 1; transform: scale(1); }
.gallery-item figcaption { padding: 18px 20px; text-align: center; font-family: var(--font-head); font-size: 25px; font-weight: 600; color: var(--ink); }

/* ---------- v2: Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 3100; display: flex; align-items: center; justify-content: center; padding: 70px 80px; visibility: hidden; opacity: 0; transition: opacity .3s var(--ease), visibility .3s; }
.lightbox.open { visibility: visible; opacity: 1; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(20, 28, 38, .92); }
.lightbox-figure { position: relative; margin: 0; max-width: min(900px, 100%); text-align: center; transform: scale(.96); transition: transform .4s var(--ease); }
.lightbox.open .lightbox-figure { transform: none; }
.lightbox-img { max-width: 100%; max-height: calc(100vh - 200px); margin: 0 auto; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .4); }
.lightbox-caption { display: none; color: var(--ivory); font-family: var(--font-head); font-size: 31px; margin-top: 18px; }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .3s; z-index: 1; }
.lb-btn:hover { background: var(--primary); border-color: var(--primary); }
.lb-btn img { width: 24px; height: 24px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; margin-top: -25px; }
.lb-next { right: 20px; top: 50%; margin-top: -25px; }
.lb-count { position: absolute; top: 32px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .7); font-size: 14px; letter-spacing: .2em; z-index: 1; }

/* ---------- v2: Google Translate (hide default widget and banner) ---------- */
.gt-hidden, .goog-te-banner-frame, .skiptranslate iframe, #goog-gt-tt, .goog-te-balloon-frame, .goog-tooltip { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
font[style] { background: transparent !important; box-shadow: none !important; }

/* v10: certification logos */
.cert-logos { list-style: none; margin: 30px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.cert-logos li { width: 120px; height: 84px; background: #fff; border: 1px solid var(--line); border-radius: 14px; display: flex; align-items: center; justify-content: center; padding: 10px; box-shadow: var(--shadow-sm); }
.cert-logos img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.cert-logo-slot { background: #fff; }
.cert-logo-slot img.cert-logo { width: auto; height: auto; max-width: 78%; max-height: 120px; object-fit: contain; }

/* ==========================================================
   v11: gradient highlight and first-screen layouts
   ========================================================== */
.text-gradient {
  background: linear-gradient(100deg, #5b8a00 0%, #9ac400 45%, #1f8f86 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.hero-center h1 em.text-gradient { display: table; margin: 0 auto; text-shadow: none; padding: 0 .08em .06em; filter: drop-shadow(0 1px 1px rgba(31, 45, 62, .2)); }
.page-title .text-gradient { padding-right: .04em; }

/* Gallery heading on product pages */
.gallery-head .gh-title .eyebrow { margin-bottom: 8px; }
.gallery-head .page-title { margin: 0; }

/* Certifications: four logos in one row */
.cert-logo-row { --bs-gutter-x: 30px; --bs-gutter-y: 30px; max-width: 1100px; margin-left: auto; margin-right: auto; }
.cert-logo-row .cert-logo-slot { height: 100%; box-shadow: var(--shadow-sm); }

@media (min-width: 992px) {
  /* Home: hero and green bar fill the first screen */
  .hero.hero-center { min-height: calc(100vh - 42px - var(--header-h) - 76px); padding: 40px 0 70px; }
  .trust-item { padding-top: 23px; padding-bottom: 23px; }
  .hero-center h1 { margin-bottom: 32px; }

  .first-screen { padding-top: 32px; }

  /* About: intro fills the first screen */
  .about-intro { min-height: calc(100vh - 44px - var(--header-h)); display: flex; align-items: center; padding: 28px 0; }
  .about-intro .container { width: 100%; }
  .about-intro .split { --bs-gutter-x: 60px; }
  .about-intro .split-media .img-main { aspect-ratio: 4 / 4; max-height: calc(100vh - 42px - var(--header-h) - 72px); width: 100%; }
  .about-intro .divider { margin: 4px 0 16px; }
  .about-intro p { margin-bottom: 14px; }
  .about-intro .mt-40 { margin-top: 24px; }

  /* Products: first three category cards in the first screen */
  .compact-head { margin-bottom: 26px; max-width: 980px; }
  .compact-head .page-title { margin-bottom: 0; }
  .compact-head .divider { margin: 2px auto 10px; }
  .compact-head p { margin-bottom: 0; font-size: 17px; }
  .products-intro .cat-wide .cw-img { aspect-ratio: auto; height: calc(100vh - 42px - var(--header-h) - 332px); min-height: 170px; max-height: 340px; }
  .products-intro .cat-wide .cw-body { padding: 18px 22px 18px; }
  .products-intro .cat-wide .cw-head { margin-bottom: 6px; }
  .products-intro .cat-wide h3 { font-size: 26px; }
  .products-intro .cat-wide p { font-size: 15px; line-height: 1.6; margin-bottom: 8px; }

  /* Product pages: heading in one row so the first three images show */
  .gallery-head { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; text-align: left; margin-bottom: 30px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
  .gallery-head .divider { display: none; }
  .first-screen .gallery-open { aspect-ratio: auto; height: calc(100vh - 42px - var(--header-h) - 196px); min-height: 260px; max-height: 400px; }
  .gallery-head p { margin: 0 0 6px; font-size: 16px; }
}

@media (max-width: 991.98px) {
  .first-screen { padding-top: 50px; }
  .about-intro .split-media { max-width: 560px; margin: 0 auto; }
}

/* v12: certificate downloads */
a.cert-logo-slot { color: inherit; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
a.cert-logo-slot:hover, a.cert-logo-slot:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--lime); }
.cert-dl { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--lime-text); }

/* ==========================================================
   v13: first screen on Sustainability, Global Markets, Contact
   ========================================================== */
@media (min-width: 992px) {
  .fs-split { min-height: calc(100vh - 44px - var(--header-h)); display: flex; align-items: center; padding: 28px 0; }
  .fs-split .container { width: 100%; }
  .fs-split .split { --bs-gutter-x: 60px; }
  .fs-split .split-media .img-main { aspect-ratio: auto; height: calc(100vh - 44px - var(--header-h) - 56px); min-height: 420px; max-height: 640px; }
  .fs-split .divider { margin: 4px 0 16px; }
  .fs-split p { margin-bottom: 14px; }
  .fs-split .check-list { margin-top: 12px; }

  .fs-global .compact-head { margin-bottom: 28px; }
  .fs-global .market { padding: 22px 16px; }
  .fs-global .market .m-code { font-size: 36px; margin-bottom: 8px; }
  .fs-global .fs-stats { margin-top: 24px; }
  .fs-global .stat { padding: 18px 18px; }
  .fs-global .stat img { width: 30px; height: 30px; }

  .fs-contact .divider { margin: 4px 0 14px; }
  .fs-contact .contact-list { gap: 14px; margin: 20px 0 24px; }
  .fs-contact .contact-list .cl-icon { width: 46px; height: 46px; }
  .fs-contact .form-card { padding: 26px 34px 28px; }
  .fs-contact .form-card h3 { margin-bottom: 4px; }
  .fs-contact .form-card > p { margin-bottom: 14px; }
  .fs-contact .form-grid { --bs-gutter-y: 12px; }
  .fs-contact .form-field { gap: 5px; }
  .fs-contact .form-field input, .fs-contact .form-field select { padding-top: 11px; padding-bottom: 11px; }
  .fs-contact .form-field textarea { min-height: 72px; height: 72px; }
  .fs-contact { padding-top: 22px; }
  .fs-contact .form-foot { margin-top: 16px; }
  .fs-split .check-list { gap: 8px; margin-bottom: 0; }
  .fs-split .page-title { margin-bottom: 4px; }
}

/* ==========================================================
   v14: certificate boxes, long translated words
   ========================================================== */
.cert-logo-row .cert-logo-slot { aspect-ratio: auto; justify-content: flex-start; padding: 26px 16px 22px; gap: 8px; }
.cert-logo-row .cert-logo-slot img.cert-logo { height: 110px; width: 100%; max-width: 190px; max-height: none; object-fit: contain; margin-bottom: 6px; }
.cert-logo-row .cert-logo-slot small { min-height: 34px; display: flex; align-items: center; justify-content: center; }
.trust-item, .btn, h1, h2, h3, .eyebrow { overflow-wrap: break-word; }
html:not([lang="en"]) .trust-item, html:not([lang="en"]) h1, html:not([lang="en"]) h2, html:not([lang="en"]) h3 { hyphens: auto; -webkit-hyphens: auto; }

/* v16 */
.year-green { color: var(--lime); font-family: var(--font-body); font-weight: 400; letter-spacing: 0; }
.cert-status { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--lime-text); }

/* v17: form spam trap and reCAPTCHA notice */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.grecaptcha-badge { visibility: hidden !important; }
.rc-note { display: block; margin-top: 4px; font-size: 11px; line-height: 1.4; opacity: .75; }
.rc-note a { text-decoration: underline; }
button[type="submit"]:disabled { opacity: .7; cursor: wait; }

/* v17: thank-you page */
.thanks-section { min-height: calc(100vh - 44px - var(--header-h)); display: flex; align-items: center; }
.thanks-section .container { width: 100%; }
.thanks-card { max-width: 720px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 50px 40px; box-shadow: var(--shadow-sm); }
.thanks-card .fs-icon { width: 78px; height: 78px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }
.thanks-card .fs-icon img { width: 36px; height: 36px; }
.thanks-card .fs-icon-alert { background: #b42318; color: #fff; font-size: 38px; font-weight: 600; }
.thanks-card .page-title { margin-bottom: 14px; }
.thanks-card .lead { margin-bottom: 18px; }
.thanks-wa { color: var(--muted); margin-bottom: 26px; }
.thanks-errors { list-style: none; padding: 0; margin: 0 0 26px; color: #b42318; }
@media (max-width: 767.98px) { .thanks-card { padding: 36px 20px; border-radius: 18px; } }
