/* ============================================================
   RS Pharmaceutical — Public Site Design System v9
   Palette: Forest Green, Gold, Orange, Blue, Leaf Green
   ============================================================ */

:root {
  --gold: #D9A335;
  --gold-bright: #FFD22F;
  --gold-light: #F4E4BC;
  --forest: #16382B;
  --forest-dark: #0B2218;
  --forest-light: #1F5038;
  --leaf: #6FA84A;
  --leaf-light: #9CC97C;
  --orange: #F4571F;
  --orange-dark: #D63E0F;
  --blue: #0B6FA8;
  --red: #D81E1E;
  --cream: #FBF7EE;
  --cream-deep: #F3EAD2;
  --surface: #FFFFFF;
  --ink: #1A2420;
  --ink-muted: #5C6B63;
  --border: #E7E0CC;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, "Segoe UI", sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(22,56,43,.06);
  --shadow-md: 0 8px 28px rgba(22,56,43,.10);
  --shadow-lg: 0 24px 60px rgba(22,56,43,.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin:0; font-family:var(--font-body); background:var(--cream); color:var(--ink); font-size:16px; line-height:1.6; -webkit-font-smoothing:antialiased; overflow-x:hidden; }
a { color:inherit; text-decoration:none; }
img { max-width:100%; display:block; }
h1,h2,h3,h4 { font-family:var(--font-display); font-weight:600; line-height:1.15; margin:0; color:var(--forest-dark); }

.container { max-width:1180px; margin:0 auto; padding:0 24px; }
.container-narrow { max-width:760px; margin:0 auto; padding:0 24px; }
section { padding:80px 0; }
@media(max-width:768px){ section { padding:52px 0; } }

/* ---------- Eyebrow ---------- */
.eyebrow { display:inline-flex; align-items:center; gap:8px; font-size:12.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--orange-dark); margin-bottom:14px; }
.eyebrow::before { content:''; width:20px; height:2px; background:var(--orange); border-radius:2px; }
.section-title { font-size:clamp(26px,4vw,40px); margin-bottom:16px; }
.section-lead { font-size:16px; color:var(--ink-muted); max-width:600px; }
.text-center { text-align:center; }
.mx-auto { margin-left:auto; margin-right:auto; }

/* ---------- Buttons ---------- */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:14px 28px; border-radius:999px; font-weight:600; font-size:14.5px; border:2px solid transparent; cursor:pointer; transition:transform .18s ease, box-shadow .18s ease, background .18s ease; white-space:nowrap; }
.btn-primary { background:linear-gradient(135deg,var(--orange),var(--orange-dark)); color:#fff; box-shadow:0 8px 20px rgba(244,87,31,.3); }
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 12px 28px rgba(244,87,31,.4); }
.btn-outline { background:transparent; border-color:var(--forest); color:var(--forest); }
.btn-outline:hover { background:var(--forest); color:#fff; transform:translateY(-2px); }
.btn-gold { background:linear-gradient(135deg,var(--gold-bright),var(--gold)); color:var(--forest-dark); box-shadow:0 8px 20px rgba(217,163,53,.3); }
.btn-gold:hover { transform:translateY(-2px); box-shadow:0 12px 28px rgba(217,163,53,.4); }
.btn-light { background:rgba(255,255,255,.15); border-color:rgba(255,255,255,.4); color:#fff; backdrop-filter:blur(6px); }
.btn-light:hover { background:rgba(255,255,255,.25); transform:translateY(-2px); }
.btn-sm { padding:10px 20px; font-size:13px; }
.btn-block { width:100%; justify-content:center; }

/* ---------- Header ---------- */
.site-header { position:sticky; top:0; z-index:100; background:rgba(251,247,238,.94); backdrop-filter:blur(10px); border-bottom:1px solid var(--border); transition:box-shadow .2s; }
.site-header.scrolled { box-shadow:var(--shadow-sm); }
.nav-wrap { display:flex; align-items:center; justify-content:space-between; padding:14px 0; }
.brand { display:flex; align-items:center; gap:12px; }
.brand img { width:52px; height:52px; border-radius:50%; object-fit:cover; }
.brand-text { display:flex; flex-direction:column; line-height:1.15; }
.brand-text strong { font-family:var(--font-display); font-size:17px; color:var(--forest-dark); }
.brand-text span { font-size:11px; letter-spacing:.06em; color:var(--ink-muted); text-transform:uppercase; }
.nav-links { display:flex; align-items:center; gap:28px; }
.nav-links a { font-size:14px; font-weight:600; color:var(--forest-dark); position:relative; padding:6px 0; }
.nav-links a::after { content:''; position:absolute; left:0; bottom:0; width:0; height:2px; background:var(--orange); transition:width .2s; }
.nav-links a:hover::after, .nav-links a.active::after { width:100%; }
.nav-write-cta { background:var(--gold-bright) !important; color:var(--forest-dark) !important; padding:6px 14px !important; border-radius:999px; font-size:13px; font-weight:700; }
.nav-write-cta::after { display:none !important; }
.nav-write-cta:hover { background:var(--gold) !important; transform:translateY(-1px); }
.nav-cta { display:flex; align-items:center; gap:12px; }
.mobile-nav-toggle { display:none; width:42px; height:42px; border-radius:10px; border:1px solid var(--border); background:#fff; align-items:center; justify-content:center; cursor:pointer; }
.mobile-nav-toggle svg { width:20px; height:20px; }
.mobile-nav-panel { display:none; position:fixed; inset:0; background:var(--forest-dark); z-index:200; padding:24px; flex-direction:column; }
.mobile-nav-panel.open { display:flex; }
.mobile-nav-panel .panel-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:32px; }
.mobile-nav-panel a { color:#fff; font-family:var(--font-display); font-size:22px; padding:12px 0; border-bottom:1px solid rgba(255,255,255,.1); }
.mobile-nav-close { width:40px; height:40px; border-radius:10px; background:rgba(255,255,255,.1); display:flex; align-items:center; justify-content:center; cursor:pointer; }
.mobile-nav-close svg { width:18px; height:18px; color:#fff; }
@media(max-width:900px){ .nav-links { display:none; } .mobile-nav-toggle { display:flex; } .nav-cta .btn:not(.btn-sm) { display:none; } }

/* ---------- Hero ---------- */
.hero { position:relative; background:radial-gradient(ellipse at top right,var(--forest-light) 0%,var(--forest) 45%,var(--forest-dark) 100%); color:#fff; overflow:hidden; padding:100px 0 80px; }
.hero::before { content:''; position:absolute; inset:0; background-image:radial-gradient(circle,rgba(255,255,255,.05) 1px,transparent 1px); background-size:26px 26px; opacity:.5; }
.trust-bar { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; padding-top:40px; margin-top:48px; border-top:1px solid rgba(255,255,255,.15); }
.trust-stat { text-align:center; }
.trust-stat strong { display:block; font-family:var(--font-display); font-size:28px; color:var(--gold-bright); }
.trust-stat span { font-size:12px; color:rgba(255,255,255,.65); }

/* ---------- Responsive grid utility ---------- */
.split-grid { display:grid; gap:48px; }
.split-even { grid-template-columns:1fr 1fr; }
.split-left-wide { grid-template-columns:1.1fr 0.9fr; }
.split-right-wide { grid-template-columns:0.85fr 1.15fr; }
.split-narrow-right { grid-template-columns:0.9fr 1.1fr; }
.split-grid.gap-sm { gap:16px; }
.split-grid.gap-md { gap:28px; }
@media(max-width:900px){
  .split-grid { grid-template-columns:1fr !important; gap:32px; }
  .trust-bar { grid-template-columns:repeat(2,1fr); margin-top:32px; padding-top:32px; }
  .hero { padding:72px 0 56px; }
}

/* ---------- Path cards ---------- */
.path-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:48px; }
.path-card { background:var(--surface); border-radius:var(--radius-md); padding:28px; border:1px solid var(--border); transition:transform .25s, box-shadow .25s; }
.path-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-md); }
.path-icon { width:52px; height:52px; border-radius:14px; display:flex; align-items:center; justify-content:center; margin-bottom:18px; }
.path-card h3 { font-size:18px; margin-bottom:8px; }
.path-card p { font-size:13.5px; color:var(--ink-muted); margin:0 0 16px; line-height:1.65; }

/* ---------- Product cards ---------- */
.product-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.product-card { background:var(--surface); border-radius:var(--radius-md); overflow:hidden; border:1px solid var(--border); transition:transform .25s, box-shadow .25s; display:flex; flex-direction:column; }
.product-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-md); }
.product-card-img { aspect-ratio:1; background:var(--cream-deep); display:flex; align-items:center; justify-content:center; overflow:hidden; position:relative; }
.product-card-img img { width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.product-card:hover .product-card-img img { transform:scale(1.04); }
.product-card-body { padding:18px 20px 20px; display:flex; flex-direction:column; flex:1; }
.product-card-cat { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color:var(--leaf); margin-bottom:6px; display:block; }
.product-card h4 { font-size:15.5px; margin-bottom:6px; }
.product-card p { font-size:13px; color:var(--ink-muted); margin:0 0 14px; flex:1; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* ---------- Feature grid ---------- */
.feature-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; margin-top:48px; }
.feature-item { display:flex; gap:16px; }
.feature-icon { width:48px; height:48px; border-radius:14px; background:var(--cream-deep); color:var(--forest); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.feature-icon svg { width:24px; height:24px; }
.feature-item h4 { font-size:15.5px; margin-bottom:6px; }
.feature-item p { font-size:13.5px; color:var(--ink-muted); margin:0; line-height:1.65; }

/* ---------- Blog cards ---------- */
.blog-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.blog-card { background:var(--surface); border-radius:var(--radius-md); overflow:hidden; border:1px solid var(--border); transition:transform .25s, box-shadow .25s; display:flex; flex-direction:column; }
.blog-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-md); }
.blog-card-img { aspect-ratio:16/10; background:var(--cream-deep); overflow:hidden; }
.blog-card-img img { width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.blog-card:hover .blog-card-img img { transform:scale(1.04); }
.blog-card-body { padding:20px 22px; flex:1; display:flex; flex-direction:column; }
.blog-card-meta { font-size:11.5px; color:var(--ink-muted); text-transform:uppercase; letter-spacing:.04em; margin-bottom:10px; }
.blog-card h4 { font-size:17px; margin-bottom:8px; }
.blog-card p { font-size:13.5px; color:var(--ink-muted); margin:0 0 14px; flex:1; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.blog-card .read-more { font-size:13px; font-weight:700; color:var(--orange-dark); }

/* ---------- CTA band ---------- */
.cta-band { background:linear-gradient(120deg,var(--orange),var(--orange-dark)); border-radius:var(--radius-lg); padding:52px; display:flex; align-items:center; justify-content:space-between; gap:28px; color:#fff; position:relative; overflow:hidden; }
.cta-band h3 { color:#fff; font-size:26px; margin-bottom:8px; }
.cta-band p { margin:0; color:rgba(255,255,255,.82); font-size:14.5px; }

/* ---------- Footer ---------- */
.site-footer { background:var(--forest-dark); color:rgba(255,255,255,.75); padding:68px 0 24px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1.3fr; gap:40px; margin-bottom:44px; }
.footer-brand { display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.footer-brand img { width:46px; height:46px; border-radius:50%; }
.footer-brand strong { font-family:var(--font-display); color:#fff; font-size:16px; }
.footer-divider { width:36px; height:3px; background:linear-gradient(90deg,var(--gold-bright),var(--orange)); border-radius:2px; margin:14px 0; }
.site-footer p { font-size:13.5px; line-height:1.7; }
.footer-col h5 { color:#fff; font-size:12px; text-transform:uppercase; letter-spacing:.07em; margin-bottom:16px; font-family:var(--font-body); font-weight:700; }
.footer-col a { display:block; font-size:13.5px; margin-bottom:10px; color:rgba(255,255,255,.65); transition:color .15s, padding-left .15s; }
.footer-col a:hover { color:var(--gold-bright); padding-left:4px; }
.footer-social { display:flex; gap:8px; margin-top:16px; }
.footer-social a { width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; transition:background .2s, transform .2s; padding-left:0 !important; margin-bottom:0 !important; }
.footer-social a:hover { background:var(--orange); transform:translateY(-2px); }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1); padding-top:22px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; font-size:12px; }
.footer-bottom-links { display:flex; gap:18px; flex-wrap:wrap; }
.footer-bottom-links a { color:rgba(255,255,255,.5); font-size:12px; margin-bottom:0 !important; padding-left:0 !important; }
.footer-bottom-links a:hover { color:var(--gold-bright); }
.footer-disclaimer { font-size:11.5px; color:rgba(255,255,255,.4); margin-top:16px; line-height:1.65; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float { position:fixed; bottom:24px; right:24px; z-index:90; width:56px; height:56px; border-radius:50%; background:#25D366; display:flex; align-items:center; justify-content:center; box-shadow:0 8px 24px rgba(37,211,102,.4); transition:transform .2s; }
.whatsapp-float:hover { transform:scale(1.08); }
.whatsapp-float svg { width:28px; height:28px; color:#fff; }

/* ---------- Forms ---------- */
.form-label { font-size:13px; font-weight:600; margin-bottom:7px; display:block; color:var(--forest-dark); }
.form-control { width:100%; padding:13px 16px; border:1.5px solid var(--border); border-radius:var(--radius-sm); font-size:14.5px; font-family:inherit; background:#fff; color:var(--ink); transition:border-color .15s, box-shadow .15s; }
.form-control:focus { outline:none; border-color:var(--leaf); box-shadow:0 0 0 4px rgba(111,168,74,.14); }
.form-select { width:100%; padding:13px 44px 13px 16px; border:1.5px solid var(--border); border-radius:var(--radius-sm); font-size:14.5px; font-family:inherit; background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C6B63' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center/18px; color:var(--ink); -webkit-appearance:none; appearance:none; cursor:pointer; transition:border-color .15s, box-shadow .15s; }
.form-select:focus { outline:none; border-color:var(--leaf); box-shadow:0 0 0 4px rgba(111,168,74,.14); }
.form-group { margin-bottom:18px; }
textarea.form-control { resize:vertical; }
.form-control.field-invalid { border-color:var(--red); }
.field-error { display:none; color:var(--red); font-size:12px; margin-top:5px; }

/* ---------- Alerts ---------- */
.alert-box { display:flex; align-items:center; gap:10px; padding:14px 18px; border-radius:var(--radius-sm); margin-bottom:16px; font-size:14px; font-weight:500; }
.alert-success-box { background:#EAF7EC; color:#1F7A3D; }
.alert-error-box { background:#FDEDED; color:var(--red); }

/* ---------- Surface card ---------- */
.surface-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-md); padding:28px; }
.tag { display:inline-flex; align-items:center; padding:4px 12px; border-radius:999px; font-size:11.5px; font-weight:700; background:var(--cream-deep); color:var(--forest); text-transform:uppercase; letter-spacing:.03em; }

/* ---------- Page header ---------- */
.page-header { background:linear-gradient(120deg,var(--forest) 0%,var(--forest-dark) 100%); color:#fff; padding:64px 0 52px; position:relative; overflow:hidden; }
.page-header::before {
  content:'';
  position:absolute; inset:0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .6;
}
.page-header .container { position:relative; z-index:2; }
.page-header h1 { color:#fff; font-size:clamp(26px,4vw,38px); }
.breadcrumb { font-size:13px; color:rgba(255,255,255,.6); margin-bottom:12px; }
.breadcrumb a { color:rgba(255,255,255,.8); }
.breadcrumb a:hover { color:var(--gold-bright); }
/* Pulse dot — shows before breadcrumb on all page headers */
.page-header .breadcrumb::before {
  content:'';
  display:inline-block;
  width:11px; height:11px;
  background:var(--gold-bright);
  border-radius:50%;
  margin-right:10px;
  vertical-align:middle;
  box-shadow: 0 0 0 3px rgba(255,210,47,.35), 0 0 12px rgba(255,210,47,.5);
  animation:pulseDot 1.8s ease-in-out infinite;
}
@keyframes pulseDot {
  0%   { opacity:1; transform:scale(1);    box-shadow: 0 0 0 3px rgba(255,210,47,.35), 0 0 12px rgba(255,210,47,.5); }
  50%  { opacity:.7; transform:scale(.85); box-shadow: 0 0 0 6px rgba(255,210,47,.15), 0 0 8px rgba(255,210,47,.3); }
  100% { opacity:1; transform:scale(1);    box-shadow: 0 0 0 3px rgba(255,210,47,.35), 0 0 12px rgba(255,210,47,.5); }
}

/* ---------- FAQ accordion ---------- */
.faq-item { border-bottom:1px solid var(--border); padding:20px 0; }
.faq-question { display:flex; justify-content:space-between; align-items:center; cursor:pointer; font-weight:600; font-size:15px; color:var(--forest-dark); gap:12px; }
.faq-question svg { width:18px; height:18px; transition:transform .25s; flex-shrink:0; }
.faq-item.open .faq-question svg { transform:rotate(45deg); }
.faq-answer { max-height:0; overflow:hidden; transition:max-height .3s ease; }
.faq-answer-inner { padding-top:12px; font-size:14px; color:var(--ink-muted); line-height:1.7; }

/* ---------- Gallery ---------- */
.gallery-masonry { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.g-item { border-radius:var(--radius-md); overflow:hidden; aspect-ratio:1; cursor:pointer; }
.g-item img { width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.g-item:hover img { transform:scale(1.06); }

/* ---------- Job cards ---------- */
.job-card { display:flex; justify-content:space-between; align-items:center; padding:22px 26px; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-md); margin-bottom:14px; flex-wrap:wrap; gap:14px; transition:box-shadow .2s; }
.job-card:hover { box-shadow:var(--shadow-sm); }
.job-card h4 { font-size:16px; margin-bottom:5px; }
.job-meta { display:flex; gap:14px; flex-wrap:wrap; font-size:12.5px; color:var(--ink-muted); }
.job-meta span { display:flex; align-items:center; gap:5px; }

/* ---------- Lightbox ---------- */
.lightbox-overlay { position:fixed; inset:0; background:rgba(11,34,24,.94); z-index:300; display:none; align-items:center; justify-content:center; padding:24px; }
.lightbox-overlay.open { display:flex; }
.lightbox-overlay img { max-width:90vw; max-height:85vh; border-radius:var(--radius-sm); }
.lightbox-close { position:absolute; top:24px; right:24px; width:44px; height:44px; border-radius:50%; background:rgba(255,255,255,.1); display:flex; align-items:center; justify-content:center; cursor:pointer; }

/* ---------- Pagination ---------- */
.pagination-nav { margin-top:32px; display:flex; flex-direction:column; align-items:center; gap:10px; }
.pagination-list { display:flex; list-style:none; gap:6px; padding:0; margin:0; flex-wrap:wrap; justify-content:center; }
.page-link { display:inline-flex; align-items:center; justify-content:center; min-width:38px; height:38px; padding:0 10px; border-radius:var(--radius-sm); font-size:13px; font-weight:700; color:var(--ink-muted); border:1.5px solid var(--border); background:#fff; text-decoration:none; }
.page-link:hover { background:var(--cream-deep); color:var(--forest); }
.page-link.active { background:var(--forest); color:#fff; border-color:var(--forest); }
.page-link.disabled { opacity:.4; pointer-events:none; }

/* ---------- Scroll animations ---------- */
.animate-fade-up { opacity:0; transform:translateY(20px); transition:opacity .55s ease, transform .55s ease; }
.animate-fade-up.visible { opacity:1; transform:translateY(0); }
.animate-fade-up:nth-child(2) { transition-delay:.07s; }
.animate-fade-up:nth-child(3) { transition-delay:.14s; }
.animate-fade-up:nth-child(4) { transition-delay:.21s; }
@keyframes safeFallback { to { opacity:1; transform:translateY(0); } }
.animate-fade-up { animation:safeFallback 0s 1.5s forwards; }
.animate-fade-up.visible { animation:none; }
@keyframes fadeUpIn { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }
.fade-up { animation:fadeUpIn .7s ease both; }
.fade-up:nth-child(2) { animation-delay:.08s; }
.fade-up:nth-child(3) { animation-delay:.16s; }

/* ---------- Quill on public pages ---------- */
.quill-editor-holder { background:#fff; border-radius:var(--radius-sm); border:1.5px solid var(--border); }
.quill-editor-holder .ql-toolbar.ql-snow { border:none; border-bottom:1.5px solid var(--border); background:var(--cream-deep); border-radius:var(--radius-sm) var(--radius-sm) 0 0; }
.quill-editor-holder .ql-container.ql-snow { border:none; min-height:200px; font-family:inherit; font-size:14.5px; border-radius:0 0 var(--radius-sm) var(--radius-sm); }
.quill-editor-holder .ql-editor.ql-blank::before { color:var(--ink-muted); font-style:normal; }

/* ---------- Responsive — tested at 320,360,375,390,414,768,820,1024,1280,1366,1440,1920px ---------- */

/* Product image sticky only on desktop */
.product-image-col { align-self:start; }
@media (min-width:901px) { .product-image-col { position:sticky; top:80px; } }

/* Composition table scrollable on narrow screens */
.composition-table-wrap { overflow-x:auto; -webkit-overflow-scrolling:touch; }
.composition-table-wrap table { min-width:320px; }

/* 1920px — constrain max widths */
@media(min-width:1920px){
  .container { max-width:1320px; }
}

/* 1024px */
@media(max-width:1024px){
  .product-grid { grid-template-columns:repeat(2,1fr); }
  .feature-grid { grid-template-columns:1fr 1fr; }
}

/* 900px — tablet */
@media(max-width:900px){
  .split-grid { grid-template-columns:1fr !important; gap:28px; }
  .path-grid { grid-template-columns:1fr; }
  .blog-grid { grid-template-columns:1fr 1fr; }
  .gallery-masonry { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; gap:32px; }
  .cta-band { flex-direction:column; text-align:center; padding:36px 20px; }
  .trust-bar { grid-template-columns:repeat(2,1fr); margin-top:28px; padding-top:28px; }
  .hero { padding:72px 0 52px; }
  .nav-write-cta { font-size:12px !important; padding:5px 12px !important; }
  .product-image-col { position:static; }
}

/* 768px */
@media(max-width:768px){
  .product-grid { grid-template-columns:1fr 1fr; gap:16px; }
  .feature-grid { grid-template-columns:1fr; }
  .page-header { padding:48px 0 38px; }
  .page-header h1 { font-size:clamp(22px,5vw,32px); }
  section { padding:60px 0; }
}

/* 640px */
@media(max-width:640px){
  .product-grid { grid-template-columns:1fr 1fr; gap:12px; }
  .blog-grid { grid-template-columns:1fr; }
  .trust-bar { grid-template-columns:1fr 1fr; gap:12px; }
  .footer-grid { grid-template-columns:1fr; gap:24px; }
  .footer-bottom { flex-direction:column; text-align:center; gap:8px; }
  .footer-bottom-links a { margin-bottom:0 !important; padding-left:0 !important; }
  .page-header { padding:40px 0 32px; }
  .cta-band { padding:28px 16px; }
  section { padding:48px 0; }
  .btn { padding:12px 22px; font-size:13.5px; }
}

/* 414px — large phones */
@media(max-width:414px){
  .container { padding:0 16px; }
  .container-narrow { padding:0 16px; }
  .hero h1 { font-size:28px !important; }
  .hero { padding:60px 0 44px; }
  .product-grid { grid-template-columns:1fr 1fr; gap:10px; }
  .product-card-body { padding:14px 14px 16px; }
  .product-card h4, .product-card h3 { font-size:14px !important; }
  .nav-write-cta { display:none; } /* hide badge on very small screens - it's also in mobile menu */
}

/* 390px — iPhone 14 */
@media(max-width:390px){
  .trust-bar { grid-template-columns:1fr 1fr; gap:10px; }
  .trust-stat strong { font-size:22px; }
}

/* 375px — iPhone SE etc */
@media(max-width:375px){
  .product-grid { grid-template-columns:1fr; }
  .split-grid.gap-sm { gap:12px; }
  .btn-block { font-size:14px; }
}

/* 360px */
@media(max-width:360px){
  .container { padding:0 12px; }
  .hero h1 { font-size:25px !important; line-height:1.2 !important; }
  .section-title { font-size:22px; }
  .trust-bar { grid-template-columns:1fr 1fr; }
  .product-grid { grid-template-columns:1fr; }
}

/* 320px — smallest supported */
@media(max-width:320px){
  .container { padding:0 10px; }
  .brand img { width:40px; height:40px; }
  .brand-text strong { font-size:14px; }
  .trust-bar { grid-template-columns:1fr; }
  .hero { padding:48px 0 36px; }
  .btn { padding:11px 18px; font-size:13px; }
  .cta-band h3 { font-size:20px; }
}

/* ============================================================
   PRODUCT DETAIL — Mobile & Tablet specific fixes
   ============================================================ */

/* Desktop: side-by-side 2 column */
@media (min-width: 901px) {
  .product-image-col { position: sticky; top: 80px; }
  .split-right-wide { grid-template-columns: 0.85fr 1.15fr; }
}

/* Tablet (768-900px): stack but keep trust badges horizontal */
@media (max-width: 900px) and (min-width: 641px) {
  .product-image-col {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
  }
  .product-image-col > div:first-child { grid-column: 1 / -1; } /* image full width */
  .composition-table-wrap { overflow-x: auto; }
}

/* Mobile (≤640px): full stack */
@media (max-width: 640px) {
  .product-image-col { position: static; display: block; }
  
  /* Composition table horizontal scroll */
  .composition-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -16px; padding: 0 16px; }
  .composition-table-wrap table { min-width: 380px; }
  
  /* Spec pills wrap nicely */
  .product-spec-pills { gap: 6px; }
  .product-spec-pills .tag { font-size: 11px; padding: 4px 10px; }
  
  /* Trust badges: 3-column mini grid on mobile */
  .product-trust-badges { display: grid !important; grid-template-columns: 1fr; gap: 8px !important; }
  
  /* Product detail CTA buttons full width on mobile */
  .product-cta-wrap { flex-direction: column; gap: 10px; }
  .product-cta-wrap .btn { width: 100%; justify-content: center; }
  
  /* Enquiry form sections */
  #enquire .surface-card { padding: 20px 16px; }
  #enquire .split-grid { grid-template-columns: 1fr !important; }
}

/* Small mobile (≤375px) */
@media (max-width: 375px) {
  .composition-table-wrap table { min-width: 320px; }
  .composition-table-wrap th, .composition-table-wrap td { padding: 8px 10px !important; font-size: 12px !important; }
}


/* ============================================================
   HERO SLIDER — Full Screen Image Background
   Fixed: uses fixed min-height container so no height collapse
   ============================================================ */
.hero-slider-section { padding:0 !important; position:relative; overflow:hidden; }

/* Slider container — fixed min-height prevents collapse during fade */
.hero-slider {
  position: relative;
  width: 100%;
  min-height: 640px;
}

/* All slides stack via absolute positioning */
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.9s ease-in-out;
  pointer-events: none;
}
/* Active slide visible on top */
.hero-slide.active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

/* Spacer div inside slider to give it height (= first slide height) */
.hero-slider-spacer {
  visibility: hidden;
  pointer-events: none;
  min-height: 640px;
}

/* Full-cover background image per slide */
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-color: #0B2218;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Dark gradient overlay — ensures text readable over any image */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0,0,0,.82) 0%,
    rgba(0,0,0,.55) 50%,
    rgba(0,0,0,.25) 100%
  );
  z-index: 1;
}

/* Content above overlay */
.hero-slide-content {
  position: relative;
  z-index: 2;
  padding-top: 90px;
  padding-bottom: 80px;
  min-height: 640px;
  display: flex;
  align-items: center;
}

/* Two-column layout inside slide */
.hero-content-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;
  width: 100%;
}

/* Badge pill */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,210,47,.12);
  border: 1px solid rgba(255,210,47,.3);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hero-badge-dot {
  width: 9px; height: 9px;
  background: var(--gold-bright);
  border-radius: 50%;
  animation: heroPulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 3px rgba(255,210,47,.3);
  flex-shrink: 0;
}
@keyframes heroPulse {
  0%,100% { opacity:1; box-shadow:0 0 0 3px rgba(255,210,47,.3); }
  50%      { opacity:.6; box-shadow:0 0 0 6px rgba(255,210,47,.08); }
}

/* Title */
.hero-title {
  color: #fff;
  font-size: clamp(28px, 4.2vw, 50px);
  line-height: 1.1;
  margin: 0 0 14px;
  font-family: var(--font-display);
}
.hero-em { font-style:normal; color:var(--gold-bright); }
.hero-tagline {
  font-size: 13.5px;
  color: var(--gold-bright);
  font-style: italic;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: .02em;
}
.hero-desc {
  font-size: 15.5px;
  color: rgba(255,255,255,.85);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 30px;
}
.hero-btns { display:flex; gap:14px; flex-wrap:wrap; }

/* Right-column cards */
.hero-info-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg);
  padding: 22px;
  backdrop-filter: blur(10px);
  margin-bottom: 14px;
}
.hero-logo-img { width:60px; height:60px; border-radius:50%; flex-shrink:0; }
.hero-card-title { color:#fff; font-size:17px; margin:0 0 3px; }
.hero-card-sub { color:rgba(255,255,255,.6); font-size:12px; margin:0; }
.hero-card-badge { color:var(--gold-bright); font-size:11px; margin:4px 0 0; font-weight:600; }

/* Stats 2×2 grid */
.hero-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.hero-stat {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  text-align: center;
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--gold-bright);
  margin-bottom: 2px;
}
.hero-stat span { font-size:11px; color:rgba(255,255,255,.6); }

/* GMP cert bar */
.hero-gmp-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}
.hero-gmp-img { width:46px; height:46px; object-fit:contain; flex-shrink:0; }
.hero-gmp-card strong { display:block; color:#fff; font-size:12.5px; }
.hero-gmp-card span { font-size:11px; color:rgba(255,255,255,.6); }

/* Slide 2 feature items */
.hero-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-md);
  padding: 13px 15px;
  margin-bottom: 10px;
}
.hero-feature-icon { font-size:20px; flex-shrink:0; margin-top:1px; }
.hero-feature-item strong { display:block; color:#fff; font-size:13px; margin-bottom:2px; }
.hero-feature-item span { font-size:11.5px; color:rgba(255,255,255,.65); }

/* Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  outline: none;
  transition: background .2s, border-color .2s, transform .25s;
}
.hero-arrow:hover {
  background: rgba(255,210,47,.3);
  border-color: rgba(255,210,47,.7);
  transform: translateY(-50%) scale(1.1);
}
.hero-arrow svg { width:20px; height:20px; }
.hero-prev { left:20px; }
.hero-next { right:20px; }

/* Nav dots */
.hero-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
  align-items: center;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.5);
  background: transparent;
  cursor: pointer;
  padding: 0;
  outline: none;
  transition: all .3s ease;
}
.hero-dot.active {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  width: 28px;
}
.hero-dot:hover:not(.active) { background:rgba(255,255,255,.5); border-color:#fff; }

/* ---- Responsive ---- */
@media(max-width:1024px){
  .hero-content-inner { grid-template-columns:1.1fr 0.9fr; gap:36px; }
}
@media(max-width:900px){
  .hero-slider { min-height: 520px; }
  .hero-slider-spacer { min-height: 520px; }
  .hero-slide-content { min-height:520px; padding-top:72px; padding-bottom:60px; }
  .hero-content-inner { grid-template-columns:1fr; gap:0; }
  .hero-card-col { display:none; }
  .hero-prev { left:10px; }
  .hero-next { right:10px; }
  .hero-arrow { width:40px; height:40px; }
  .hero-dots { bottom:14px; }
}
@media(max-width:640px){
  .hero-slider { min-height: 460px; }
  .hero-slider-spacer { min-height: 460px; }
  .hero-slide-content { min-height:460px; padding-top:56px; padding-bottom:52px; }
  .hero-title { font-size:clamp(24px,7vw,34px); }
  .hero-desc { font-size:14px; margin-bottom:22px; }
  .hero-btns .btn { padding:12px 20px; font-size:13.5px; }
  .hero-arrow { display:none; }
  .hero-dots { bottom:12px; gap:8px; }
  .hero-dot { width:8px; height:8px; }
  .hero-dot.active { width:20px; }
  .hero-slide-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,.65) 0%, rgba(0,0,0,.75) 100%);
  }
}
@media(max-width:375px){
  .hero-slide-content { padding-top:48px; }
  .hero-title { font-size:22px; }
  .hero-tagline { font-size:12.5px; }
  .hero-desc { font-size:13.5px; margin-bottom:20px; }
}

/* ============================================================
   PRODUCT IMAGE CAROUSEL
   ============================================================ */
.prd-carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--cream-deep);
  aspect-ratio: 1 / 1;
  width: 100%;
}
.prd-carousel-slide {
  display: none;
  position: absolute;
  inset: 0;
}
.prd-carousel-slide.active { display: block; }
.prd-carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.prd-no-img {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--cream-deep), #e0d8c0);
  position: absolute; inset: 0;
}

/* Carousel arrows */
.prd-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(0,0,0,.45);
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 5; outline: none;
  transition: background .2s, transform .2s;
}
.prd-arrow:hover { background: rgba(22,56,43,.8); transform: translateY(-50%) scale(1.08); }
.prd-arrow svg { width:16px; height:16px; }
.prd-prev { left: 10px; }
.prd-next { right: 10px; }

/* Thumbnail strip */
.prd-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
}
.prd-thumbs::-webkit-scrollbar { height: 3px; }
.prd-thumbs::-webkit-scrollbar-track { background: transparent; }
.prd-thumbs::-webkit-scrollbar-thumb { background: var(--border); border-radius:3px; }

.prd-thumb {
  flex-shrink: 0;
  width: 68px; height: 68px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  padding: 0; background: none;
  transition: border-color .2s, transform .2s;
}
.prd-thumb:hover { border-color: var(--leaf); transform: scale(1.05); }
.prd-thumb.active { border-color: var(--forest); border-width: 2.5px; }
.prd-thumb img { width:100%; height:100%; object-fit:cover; display:block; }

/* PDF download button */
.prd-pdf-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 13px 18px;
  background: var(--cream-deep);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--forest-dark);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .15s;
}
.prd-pdf-btn:hover {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
  transform: translateY(-1px);
}
.prd-pdf-btn:hover svg { stroke: #fff; }

/* Responsive: thumbnail size on mobile */
@media(max-width:640px){
  .prd-thumb { width:54px; height:54px; border-radius:8px; }
  .prd-arrow { width:32px; height:32px; }
  .prd-arrow svg { width:14px; height:14px; }
}
