/* =============================================================
   JHS SVENDGAARD RETAIL VENTURES LIMITED
   Modern Design System â€” shared across all pages
   -------------------------------------------------------------
   Layers:
     A. Design tokens
     B. Base / typography
     C. Shared header (reusable)
     D. Home page content sections (index-specific)
     E. Footer (reusable)
     F. Hero section (relocated as-is â€” do not redesign)
     G. Utilities / misc
     H. Responsive breakpoints
   ============================================================= */

/* =============================================================
   A. DESIGN TOKENS
   ============================================================= */
:root {
  /* Brand palette */
  --primary: #086000;
  --primary-dark: #064500;
  --primary-light: #e8f5e9;

  /* Neutrals */
  --dark: #0f172a;
  --dark-soft: #1e293b;
  --text: #334155;
  --text-light: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-warm: #faf8f5;
  --border: #e2e8f0;

  /* Layout */
  --gutter: 8%;          /* left/right page gutter â€” matches hero text edge */
  --gutter-r: 5%;
  --container: 1280px;

  /* Elevation */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);

  /* Radii */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;

  /* Motion */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Map onto Astra tokens so sub-pages inherit the same palette */
  --ast-global-color-0: var(--primary);
  --ast-global-color-1: var(--primary-dark);
  --ast-global-color-2: var(--dark);
  --ast-global-color-3: var(--text);
  --ast-global-color-4: var(--bg-alt);
  --ast-global-color-5: var(--bg);
  --ast-global-color-6: var(--border);
  --ast-global-color-7: var(--dark);
  --ast-global-color-8: var(--dark);
}

/* =============================================================
   B. BASE / TYPOGRAPHY
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

#content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

#content .ast-container {
  padding-top: 0 !important;
}

html {
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6,
.entry-content :where(h1,h2,h3,h4,h5,h6) {
  font-family: 'Montserrat', 'Inter', sans-serif;
}

::selection {
  background: rgba(8, 96, 0, 0.15);
  color: var(--dark);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Image loading placeholder */
img { background: var(--bg-alt); }

/* =============================================================
   C. SHARED HEADER  (present on every page)
   ============================================================= */

/* --- Sticky glass header bar ---
   Target the full wrapper chain (.main-header-bar-wrap, .ast-main-header-wrap,
   .ast-primary-header-bar) so Astra's beige #fff6e9 on .ast-primary-header-bar
   is overridden on every layer. */
.ast-desktop-header,
.ast-main-header-wrap,
.main-header-bar-wrap,
.ast-primary-header-bar,
.ast-primary-header-bar.ast-primary-header,
.site-primary-header-wrap {
  background: rgba(255,255,255,0.92) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Keep the navbar pinned to the top for the entire page scroll.
   Sticky must live on the OUTERMOST header element (#masthead) so it sticks
   relative to the document scroll â€” applying it only to the inner
   .ast-primary-header-bar (nested 3 levels deep) lets it scroll away once
   the parent <header> box passes. */
#masthead,
.ast-primary-header-bar,
.ast-primary-header-bar.ast-primary-header {
  position: sticky;
  top: 0;
  z-index: 999;
}

.ast-primary-header-bar,
.ast-primary-header-bar.ast-primary-header {
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
  min-height: 70px;
}

/* Align header to full width with consistent gutter */
.ast-primary-header-bar .ast-container,
.site-primary-header-wrap,
.ast-primary-header-bar {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
}

.ast-builder-grid-row-container,
.ast-builder-grid-row,
.ast-builder-grid-row .ast-builder-grid-row-has-sides {
  display: flex !important;
  align-items: center !important;
  padding-left: var(--gutter) !important;
  padding-right: var(--gutter-r) !important;
  max-width: 100% !important;
}

/* --- Branding: logo + name inline --- */
.ast-builder-layout-element[data-section="title_tagline"],
.site-header-focus-item {
  display: flex !important;
  align-items: center !important;
}

.site-branding {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px;
  padding: 0 !important;
  margin: 0 !important;
  width: auto;
  line-height: 0;
}

.site-logo-img {
  flex-shrink: 0;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  line-height: 0;
  padding: 0;
  margin: 0;
}

.site-logo-img img,
header .custom-logo-link img {
  display: block;
  vertical-align: middle;
  margin: 0;
  padding: 0;
  max-width: 40px !important;
  width: 40px !important;
  height: auto !important;
  position: relative;
  top: 0;
}

.ast-site-title-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 0 !important;
  margin: 0 !important;
}

.ast-site-title-wrap .site-title {
  margin: 0;
  padding: 0;
  line-height: 1;
  display: flex;
  align-items: center;
}

.ast-site-title-wrap .site-title a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem !important;
  font-weight: 700;
  color: var(--primary) !important;
  text-decoration: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  line-height: 1;
}

.site-header-primary-section-left {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

.site-header-primary-section-right {
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

.site-header .site-branding,
.site-header .ast-site-identity {
  padding: 0;
  margin: 0;
}

/* --- Navigation links --- */
.main-header-bar-navigation .menu-link {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--dark-soft) !important;
  letter-spacing: 0.01em;
  transition: color var(--transition);
  position: relative;
}

.main-header-bar-navigation .menu-link:hover {
  color: var(--primary) !important;
}

.main-header-menu > .menu-item > a {
  padding: 8px 14px;
}

/* Animated underline on top-level items */
.main-header-menu > .menu-item > .menu-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.main-header-menu > .menu-item:hover > .menu-link::after,
.main-header-menu > .menu-item.current-menu-item > .menu-link::after {
  transform: scaleX(1);
}

/* --- Dropdowns ---
   Astra sets beige #d8c9c5 on .ast-builder-menu-1 .main-header-menu AND
   .sub-menu via inline CSS, so we must use !important + match specificity. */
.ast-builder-menu-1 .main-header-menu,
.ast-builder-menu-1 .main-header-menu .sub-menu,
.main-header-menu .sub-menu,
.main-header-menu {
  background: transparent !important;
}

.main-header-menu .sub-menu,
.ast-builder-menu-1 .main-header-menu .sub-menu {
  background: #ffffff !important;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  margin-top: 8px;
}

.ast-desktop .main-header-menu .sub-menu {
  width: 350px !important;
}

.main-header-menu .sub-menu a,
.ast-builder-menu-1 .main-header-menu .sub-menu a {
  font-size: 0.85rem;
  padding: 8px 20px;
  color: var(--text) !important;
  white-space: normal !important;
  line-height: 1.2 !important;
}

.main-header-menu .sub-menu a:hover,
.ast-builder-menu-1 .main-header-menu .sub-menu a:hover {
  background: var(--primary-light);
  color: var(--primary) !important;
}

.ast-desktop .main-header-menu .sub-menu,
.ast-desktop .ast-builder-menu .sub-menu {
  overflow: visible !important;
  z-index: 99999 !important;
}

/* --- Mobile header trigger --- */
.ast-mobile-menu-trigger-fill .mobile-menu-toggle-icon span {
  color: var(--primary) !important;
}

.ast-builder-menu-mobile .main-navigation .menu-item.menu-item-has-children > .ast-menu-toggle {
  top: 0;
  color: var(--primary) !important;
}

/* --- Mobile menu backgrounds (override Astra's beige #d8c9c5 and dark #6d2f08) --- */
.ast-builder-menu-mobile .main-navigation .main-header-menu,
.ast-builder-menu-mobile .main-navigation .main-header-menu .sub-menu {
  background-color: #ffffff !important;
}

.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-link {
  color: var(--dark-soft) !important;
  background-color: transparent !important;
}

/* =============================================================
   D. COMPANY INTRO SECTION
   ============================================================= */
.jhs-company-intro {
  padding: 64px 0 56px;
  background: var(--bg);
}

.jhs-container {
  max-width: 100%;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}

.jhs-company-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.jhs-company-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  max-width: 100%;
  margin: 0 0 40px;
}

/* --- Vision / Mission cards (side-by-side, green bottom border) --- */
.jhs-vm-row {
  display: flex;
  gap: 32px;
}

.jhs-vm-card-new {
  flex: 1 1 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-bottom: 4px solid var(--primary);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 28px 28px 24px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.jhs-vm-card-new:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.jhs-vm-card-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.jhs-vm-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jhs-vm-icon svg {
  width: 20px;
  height: 20px;
}

.jhs-vm-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}

.jhs-vm-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-light);
  margin: 0;
}

/* =============================================================
   D2. CORE PILLARS SECTION
   ============================================================= */
.jhs-core-pillars {
  padding: 72px 0 80px;
  background: var(--bg-alt);
}

.jhs-pillars-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 40px;
  letter-spacing: -0.02em;
}

.jhs-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.jhs-pillar-card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

.jhs-pillar-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.jhs-pillar-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.jhs-pillar-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.jhs-pillar-card:hover .jhs-pillar-img-wrap img {
  transform: scale(1.05);
}

.jhs-pillar-number {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 36px;
  height: 36px;
  background: rgba(8, 96, 0, 0.85);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  z-index: 2;
}

.jhs-pillar-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.jhs-pillar-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 8px;
}

.jhs-pillar-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-light);
  margin: 0 0 14px;
  flex-grow: 1;
}

.jhs-pillar-btn {
  display: inline-block;
  padding: 10px 28px;
  margin-top: auto;
  align-self: flex-start;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: #fff;
  background: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 6px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: all var(--transition);
}

.jhs-pillar-btn:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(8, 96, 0, 0.3);
}

/* =============================================================
   D2b. BRAND PARTNERS
   ============================================================= */
.jhs-brand-partners {
  padding: 48px 0 56px;
  background: var(--bg);
}

.jhs-brand-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: nowrap;
}

.jhs-brand-logos img {
  max-height: 72px;
  width: auto;
  object-fit: contain;
  opacity: 0.75;
  filter: grayscale(30%);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.jhs-brand-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* =============================================================
   D3. PRODUCT RANGE SECTION
   ============================================================= */
.jhs-product-range {
  padding: 80px 0 72px;
  background: var(--bg-warm);
  position: relative;
  overflow: hidden;
}

/* Subtle decorative background pattern */
.jhs-product-range::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 96, 0, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.jhs-pr-header {
  margin-bottom: 48px;
}

.jhs-pr-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.jhs-pr-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--dark);
  margin: 14px 0 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.jhs-pr-title-accent {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  border-radius: 2px;
}

/* Two-column layout: description + highlights */
.jhs-pr-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}

.jhs-pr-lead {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.5;
  margin: 0 0 18px;
}

.jhs-pr-desc {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
  margin: 0 0 28px;
}

/* Highlight cards (Quality Assurance, Sustainability) */
.jhs-pr-highlights-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.jhs-pr-highlight {
  display: flex;
  gap: 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.jhs-pr-highlight:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.jhs-pr-highlight-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}

.jhs-pr-highlight:hover .jhs-pr-highlight-icon {
  transform: scale(1.08);
}

.jhs-pr-highlight-icon svg {
  width: 24px;
  height: 24px;
}

.jhs-pr-icon-sustainability {
  background: linear-gradient(135deg, #2d8a4e, var(--primary-dark));
}

.jhs-pr-highlight-body {
  flex: 1;
}

.jhs-pr-highlight-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 8px;
}

.jhs-pr-highlight-text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-light);
  margin: 0;
}

/* Category tags */
.jhs-pr-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}

.jhs-pr-cat {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  transition: all var(--transition);
  cursor: default;
}

.jhs-pr-cat:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(8, 96, 0, 0.1);
}

/* =============================================================
   E. FOOTER (new design)
   ============================================================= */
.jhs-footer {
  background: linear-gradient(135deg, #1a3a1a 0%, var(--dark) 100%);
  color: #cbd5e1;
  padding: 0;
}

.jhs-footer-inner {
  display: flex;
  gap: 80px;
  max-width: 100%;
  padding: 56px var(--gutter-r) 48px var(--gutter);
}

.jhs-footer-col {
  flex: 1 1 0;
}

.jhs-footer-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 14px;
}

.jhs-footer-text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #94a3b8;
  margin: 0;
}

.jhs-footer-links-grid {
  display: flex;
  gap: 48px;
}

.jhs-footer-links-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.jhs-footer-links-grid li {
  margin-bottom: 10px;
}

.jhs-footer-links-grid a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color var(--transition);
}

.jhs-footer-links-grid a:hover {
  color: #fff;
}

.jhs-footer-bottom {
  background: rgba(0,0,0,0.25);
  padding: 18px var(--gutter);
  text-align: center;
}

.jhs-footer-bottom p {
  color: #64748b;
  font-size: 0.82rem;
  margin: 0;
}

.jhs-footer-bottom a {
  color: #94a3b8;
  text-decoration: none;
}

.jhs-footer-bottom a:hover {
  color: #fff;
}

/* =============================================================
   F. HERO SECTION  (relocated verbatim â€” do NOT redesign)
   ============================================================= */
.hero-section {
  position: relative;
  width: 100%;
  /* --app-vh is fed from the parent's real viewport height via postMessage
     (1vh inside an auto-sized iframe is circular, which stretches the hero).
     Falls back to 1vh when opened standalone. */
  height: calc(var(--app-vh, 1vh) * 70);
  background-color: #f4f6f8;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 50%;
  background: linear-gradient(90deg, rgba(255,255,255,1) 50%, rgba(255,255,255,0.85) 70%, rgba(255,255,255,0) 100%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: var(--gutter) !important;
  padding-right: 10% !important;
}

.hero-overlay h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark) !important;
  margin-bottom: 1rem;
  text-transform: uppercase;
  max-width: 90%;
  letter-spacing: -0.03em;
}

.hero-overlay p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.btn-group { display: flex; gap: 1rem; }

.btn {
  padding: 0.8rem 2rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  border: 2px solid var(--primary);
  box-shadow: 0 4px 14px rgba(8, 96, 0, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8, 96, 0, 0.4);
}

.btn-outline {
  background: rgba(255,255,255,0.8);
  color: var(--dark);
  border: 2px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
  transform: translateY(-2px);
}

.montage-container {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
  display: flex;
  overflow: hidden;
}

.scrolling-track {
  display: flex;
  height: 100%;
  width: max-content;
  will-change: transform;
}

.scroll-panel {
  height: 100%;
  width: 14.7vw;
  min-width: 160px;
}

.scroll-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sketch-effect img {
  filter: grayscale(100%) contrast(120%) opacity(0.8);
}

/* =============================================================
   G. UTILITIES / MISC
   ============================================================= */

/* Scroll-to-top button */
#ast-scroll-top {
  background: var(--primary) !important;
  border-radius: 50% !important;
  width: 48px !important;
  height: 48px !important;
  line-height: 48px !important;
  font-size: 18px !important;
  box-shadow: var(--shadow) !important;
  transition: all var(--transition) !important;
}

#ast-scroll-top:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg) !important;
}

/* =============================================================
   H. RESPONSIVE BREAKPOINTS
   ============================================================= */

/* ---- Tablet (<= 1024px) ---- */
@media (max-width: 1024px) {
  .ast-site-title-wrap .site-title a {
    font-size: 0.85rem !important;
  }

  .site-logo-img img,
  header .custom-logo-link img {
    width: 36px !important;
    max-width: 36px !important;
  }

  .site-branding { gap: 8px; }

  .jhs-company-title { font-size: 2rem; }
  .jhs-pillars-title { font-size: 1.8rem; }
  .jhs-pr-title { font-size: 2rem; }
  .jhs-pr-content { gap: 32px; }

  .hero-overlay { width: 70% !important; padding-left: var(--gutter) !important; }
  .hero-overlay h1 { font-size: 2.8rem; }
}

/* ---- Mobile (<= 768px) ---- */
@media (max-width: 768px) {
  /* Branding scales down */
  .site-branding { gap: 8px; }

  .site-logo-img img,
  header .custom-logo-link img {
    width: 32px !important;
    max-width: 32px !important;
  }

  .ast-site-title-wrap .site-title a {
    font-size: 0.7rem !important;
    white-space: nowrap;
  }

  /* Mobile header bar */
  .ast-header-break-point #masthead .ast-mobile-header-wrap .ast-primary-header-bar,
  .ast-header-break-point #masthead .ast-mobile-header-wrap .ast-below-header-bar,
  .ast-header-break-point #masthead .ast-mobile-header-wrap .ast-above-header-bar {
    border-bottom: 0;
    position: static !important;
    width: 100% !important;
  }

  #masthead { position: sticky !important; top: 0; }

  .ast-header-break-point .ast-mobile-header-wrap .ast-flex.stack-on-mobile {
    flex-wrap: wrap;
    padding-top: 0 !important;
    position: relative !important;
  }

  /* Company Intro */
  .jhs-company-intro { padding: 40px 0 36px; }
  .jhs-container { padding: 0 20px; }
  .jhs-company-title { font-size: 1.6rem; }
  .jhs-vm-row { flex-direction: column; gap: 20px; }

  /* Core Pillars */
  .jhs-core-pillars { padding: 48px 0 56px; }
  .jhs-pillars-title { font-size: 1.5rem; }
  .jhs-pillars-grid { grid-template-columns: 1fr; gap: 24px; }

  /* Brand Partners */
  .jhs-brand-partners { padding: 36px 0 44px; }
  .jhs-brand-logos { gap: 24px; }

  /* Product Range */
  .jhs-product-range { padding: 48px 0 56px; }
  .jhs-pr-title { font-size: 1.6rem; }
  .jhs-pr-lead { font-size: 1.1rem; }
  .jhs-pr-content { grid-template-columns: 1fr; gap: 32px; }
  .jhs-pr-categories { gap: 8px; }
  .jhs-pr-cat { padding: 6px 16px; font-size: 0.82rem; }

  /* Hero overlay full width on mobile */
  .hero-overlay {
    width: 100% !important;
    background: rgba(255,255,255,0.9);
    padding: 5% !important;
  }
  .hero-overlay h1 { font-size: 2rem; }
  .btn-group { flex-direction: column; }
  .scroll-panel { width: 60vw; }

  /* Footer */
  .jhs-footer-inner {
    flex-direction: column;
    gap: 32px;
    padding: 40px 20px 32px;
  }

  .jhs-footer-links-grid {
    flex-direction: column;
    gap: 20px;
  }
}



