/* =============================================================================
   VIDHAAN DIGITAL — STYLES
   You only need to edit this file if you want to change colors, fonts, or
   layout. For text/image edits, work directly in index.html.
   ============================================================================= */

/* ---------- 1.  Design tokens  (palette, type, sizing) ---------- */
:root {
  /* Brand palette — Option C, tuned to match the existing print catalogue */
  --navy:        #143C5B;
  --navy-deep:   #0D2B42;
  --navy-soft:   #1F4F73;
  --orange:      #F39530;
  --orange-deep: #DA7A14;
  --orange-soft: #FBC57D;

  /* Neutrals */
  --cream:       #FAF6EF;
  --paper:       #FFFCF6;
  --white:       #FFFFFF;
  --gray-50:     #F4F2ED;
  --gray-100:    #E6E2DA;
  --gray-300:    #B5AFA1;
  --gray-500:    #6B6359;
  --gray-700:    #3A332B;
  --ink:         #111827;

  /* Typography */
  --font-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', 'Helvetica Neue', Arial, sans-serif;

  /* Sizing */
  --sidebar-w:    260px;
  --topbar-h:     76px;
  --content-pad:  64px;
  --max-content:  1280px;
  --radius-sm:    4px;
  --radius:       8px;
  --radius-lg:    14px;

  /* Motion */
  --ease:         cubic-bezier(.22,.61,.36,1);
}

/* ---------- 2.  Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Push content below the fixed top bar */
  padding-top: var(--topbar-h);
}
img { max-width: 100%; height: auto; display: block; }
a  { color: var(--navy); text-decoration: none; }
a:hover { color: var(--orange-deep); }
button { font-family: inherit; cursor: pointer; }

/* Decorative paper-grain background using inline SVG noise */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 0.08  0 0 0 0 0.06  0 0 0 0 0.03  0 0 0 0.025 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  pointer-events: none; z-index: 0; opacity: .6;
}
body > * { position: relative; z-index: 1; }

/* ---------- 3.  Typography ---------- */
.display, h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 0.5em;
}
h1, .display { font-size: clamp(2.2rem, 4.8vw, 4rem); }
h2            { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3            { font-size: 1.2rem; font-weight: 600; }
h4            { font-family: var(--font-body); font-size: .85rem; letter-spacing: 1.5px; font-weight: 700; text-transform: uppercase; color: var(--navy); margin: 0 0 .8em; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--orange-deep);
  margin: 0 0 1.4rem;
}
.accent-text { color: var(--orange-deep); font-style: italic; font-weight: 500; }
.long-prose   { font-size: 1.06rem; line-height: 1.75; color: var(--gray-700); margin-bottom: 1rem; }
.page-sub     { font-size: 1.05rem; color: var(--gray-700); max-width: 64ch; margin-top: -.4rem; }

/* ---------- 4.  Top bar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  display: flex; align-items: center;
  padding: 0 32px;
  z-index: 100;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 42px; height: 42px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .5px; color: var(--navy); font-weight: 700; }
.brand-text em     { font-family: var(--font-body); font-style: normal; font-size: .7rem; letter-spacing: 2px; color: var(--gray-500); text-transform: uppercase; }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }

/* Hamburger (mobile only) */
.hamburger {
  display: none;
  background: transparent;
  border: none;
  width: 40px; height: 40px;
  padding: 8px;
  flex-direction: column;
  justify-content: space-between;
  gap: 4px;
}
.hamburger span {
  display: block;
  width: 100%; height: 2px;
  background: var(--navy);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Chat button */
.btn-chat {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy);
  color: var(--white);
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .2px;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.btn-chat:hover { background: var(--orange-deep); color: var(--white); transform: translateY(-1px); }
.btn-chat svg   { display: block; }

/* Language selector */
.lang-selector { position: relative; }
.lang-trigger {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .88rem;
  color: var(--navy);
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.lang-trigger:hover { background: var(--white); border-color: var(--navy); }
.lang-flag    { font-size: 1.05rem; line-height: 1; }
.lang-caret   { font-size: .7rem; opacity: .6; }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  list-style: none; padding: 8px;
  margin: 0;
  width: 320px;
  max-height: 60vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px -20px rgba(20,60,91,.25);
  display: none;
  z-index: 200;
}
.lang-menu.open { display: block; }
.lang-menu li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  font-size: .92rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--gray-700);
  transition: background .15s var(--ease);
}
.lang-menu li:hover { background: var(--gray-50); color: var(--navy); }
.lang-menu li.active { background: var(--navy); color: var(--white); }
.lang-menu li .native { font-weight: 600; flex-grow: 0; }
.lang-menu li .english { font-size: .8rem; color: var(--gray-500); margin-left: auto; }
.lang-menu li.active .english { color: var(--orange-soft); }
.lang-menu li .flag { font-size: 1.2rem; }
.lang-menu .group-label {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray-500);
  padding: 10px 12px 4px;
  cursor: default;
  pointer-events: none;
}
.lang-menu .group-label:hover { background: transparent; }

/* Hide Google Translate's own UI */
#google_translate_element { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; overflow: hidden; }
.goog-te-banner-frame, .skiptranslate { display: none !important; }
body { top: 0 !important; }      /* GT injects inline top:40px — override */
.goog-tooltip, .goog-tooltip:hover { display: none !important; }
.goog-text-highlight { background: transparent !important; box-shadow: none !important; }

/* ---------- 5.  Sidebar ---------- */
.sidebar {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  width: var(--sidebar-w);
  height: calc(100vh - var(--topbar-h));
  background: var(--navy);
  color: var(--white);
  padding: 48px 0 32px;
  display: flex;
  flex-direction: column;
  z-index: 50;
}
.sidebar nav { flex-grow: 1; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: flex; align-items: baseline; gap: 16px;
  padding: 14px 32px;
  color: rgba(255,255,255,.65);
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: -.01em;
  border-left: 3px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.nav-link:hover { color: var(--white); background: var(--navy-soft); }
.nav-link.active {
  color: var(--white);
  border-left-color: var(--orange);
  background: linear-gradient(90deg, rgba(243,149,48,.12), transparent 70%);
}
.nav-num {
  font-family: var(--font-body);
  font-size: .7rem;
  letter-spacing: 2px;
  color: var(--orange);
  font-weight: 600;
  width: 22px;
}
.nav-link.active .nav-num { color: var(--orange-soft); }
.sidebar-foot {
  padding: 24px 32px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.sidebar-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--orange-soft);
  margin: 0 0 16px;
  line-height: 1.3;
}
.sidebar-since {
  font-size: .68rem;
  letter-spacing: 3px;
  color: rgba(255,255,255,.4);
  margin: 0;
}

.sidebar-overlay {
  display: none;
  position: fixed; inset: var(--topbar-h) 0 0 0;
  background: rgba(13,43,66,.55);
  backdrop-filter: blur(2px);
  z-index: 40;
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.sidebar-overlay.show { display: block; opacity: 1; }

/* ---------- 6.  Main content layout ---------- */
.content {
  margin-left: var(--sidebar-w);
  padding: var(--content-pad);
  min-height: calc(100vh - var(--topbar-h));
}
.page { max-width: var(--max-content); margin: 0 auto; animation: fadein .45s var(--ease); }
.page.hidden { display: none; }
.page-head { margin-bottom: 56px; }
@keyframes fadein {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- 7.  HOME page ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}
.hero-text .lede { font-size: 1.12rem; line-height: 1.65; color: var(--gray-700); max-width: 56ch; margin: 0 0 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .3px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  border: 2px solid var(--navy);
  cursor: pointer;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--orange-deep); border-color: var(--orange-deep); color: var(--white); transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(218,122,20,.4); }
.btn-secondary { background: transparent; color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--white); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-100);
}
.stat strong { display: block; font-family: var(--font-display); font-size: 2.2rem; color: var(--navy); font-weight: 600; line-height: 1; margin-bottom: 8px; }
.stat span   { display: block; font-size: .85rem; color: var(--gray-500); line-height: 1.4; }

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
}
.hero-img-main {
  position: absolute; top: 0; right: 0;
  width: 78%; height: 90%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px -20px rgba(20,60,91,.35);
  filter: contrast(1.02) saturate(.95);
}
.hero-img-sub {
  position: absolute; bottom: 0; left: 0;
  width: 48%; height: 55%;
  object-fit: cover;
  border-radius: var(--radius);
  border: 6px solid var(--paper);
  box-shadow: 0 20px 50px -15px rgba(20,60,91,.3);
}
.hero-badge {
  position: absolute;
  top: 24px;
  left: 16px;
  background: var(--orange);
  color: var(--navy-deep);
  padding: 16px 20px;
  border-radius: 50%;
  width: 110px; height: 110px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  box-shadow: 0 12px 30px -8px rgba(243,149,48,.5);
  transform: rotate(-6deg);
  z-index: 2;
}
.badge-eyebrow { font-family: var(--font-body); font-size: .55rem; letter-spacing: 2px; font-weight: 700; opacity: .8; }
.badge-text    { font-size: .82rem; line-height: 1.1; margin-top: 4px; }

.value-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  padding: 56px 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}
.value-icon { color: var(--orange); font-size: 1.4rem; margin-bottom: 12px; }
.value-item h3 { margin-bottom: 8px; font-size: 1.05rem; }
.value-item p  { font-size: .92rem; color: var(--gray-500); line-height: 1.55; margin: 0; }

/* ---------- 8.  ABOUT page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.about-mission .pillars { list-style: none; padding: 0; margin: 32px 0 0; }
.about-mission .pillars li {
  position: relative;
  padding: 14px 0 14px 28px;
  border-top: 1px solid var(--gray-100);
  font-size: .95rem;
  color: var(--gray-700);
}
.about-mission .pillars li::before {
  content: '✦';
  position: absolute; left: 0; top: 14px;
  color: var(--orange);
  font-size: 1rem;
}
.about-mission .pillars li strong { color: var(--navy); }

.founder {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-100);
}
.founder:last-child { border-bottom: none; }
.founder-photo {
  width: 140px; height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--paper);
  box-shadow: 0 12px 30px -10px rgba(20,60,91,.25);
}
.founder-body h3 { margin-bottom: 2px; }
.founder-role { color: var(--orange-deep); font-weight: 600; font-size: .85rem; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 6px; }
.founder-credentials { font-style: italic; color: var(--gray-500); font-size: .9rem; margin: 0 0 10px; }
.founder-bio { font-size: .95rem; color: var(--gray-700); margin: 0; line-height: 1.65; }

/* ---------- 9.  PRODUCTS page ---------- */
.cat-heading {
  display: flex; align-items: center; gap: 20px;
  margin: 56px 0 8px;
  font-size: 1.8rem;
}
.cat-num    { font-family: var(--font-body); font-size: .75rem; letter-spacing: 3px; color: var(--orange-deep); font-weight: 700; }
.cat-line   { flex-grow: 1; height: 1px; background: var(--gray-100); }
.cat-intro  { color: var(--gray-700); max-width: 70ch; margin: 0 0 32px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px;
  margin-bottom: 56px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  border: 1px solid var(--gray-100);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -20px rgba(20,60,91,.2);
}
.product-img-wrap {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--gray-50);
}
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-img-wrap img { transform: scale(1.04); }
.product-name { margin: 16px 18px 4px; font-size: 1.02rem; }
.product-spec { margin: 0 18px 16px; font-size: .82rem; color: var(--gray-500); line-height: 1.45; }

.export-proof, .inside-pages {
  margin-top: 64px;
  padding: 48px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
}
.export-proof h2, .inside-pages h2 { margin-bottom: 12px; }
.export-proof > p, .inside-pages > p { color: var(--gray-700); max-width: 70ch; margin: 0 0 32px; }
.export-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}
.export-grid figure {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--gray-100);
}
.export-grid img { aspect-ratio: 3/4; width: 100%; object-fit: cover; }
.export-grid figcaption { padding: 10px 14px; font-size: .8rem; color: var(--gray-700); }

.inside-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.inside-grid figure { margin: 0; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-100); }
.inside-grid img    { aspect-ratio: 4/3; width: 100%; object-fit: cover; }
.inside-grid figcaption { padding: 14px 18px; font-size: .9rem; color: var(--navy); font-weight: 500; }

/* ---------- 10.  CERTIFICATES page ---------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px;
}
.cert-card {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  cursor: zoom-in;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -20px rgba(20,60,91,.25);
}
.cert-card img {
  aspect-ratio: 7/9;
  width: 100%;
  object-fit: cover;
  background: var(--cream);
}
.cert-card figcaption { padding: 16px 20px 20px; }
.cert-card figcaption h3 { font-size: 1.05rem; margin-bottom: 4px; }
.cert-issuer  { font-size: .82rem; color: var(--gray-500); margin: 0 0 8px; }
.cert-ref     { font-family: 'Courier New', monospace; font-size: .8rem; color: var(--navy); margin: 0; letter-spacing: .5px; }
.cert-note    { margin-top: 40px; font-size: .85rem; color: var(--gray-500); text-align: center; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(13,43,66,.92);
  display: none;
  align-items: center; justify-content: center;
  z-index: 300;
  padding: 40px;
}
.lightbox.show { display: flex; }
.lightbox img { max-width: min(700px, 92vw); max-height: 92vh; box-shadow: 0 30px 80px -10px rgba(0,0,0,.6); border-radius: var(--radius); }
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  background: transparent; border: none;
  color: var(--white); font-size: 2.4rem; line-height: 1;
  cursor: pointer;
}

/* ---------- 11.  MANUFACTURING page ---------- */
.capacity-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 48px;
  background: var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
}
.capacity-item {
  padding: 28px 24px;
  color: var(--white);
  border-right: 1px solid rgba(255,255,255,.1);
}
.capacity-item:last-child { border-right: none; }
.capacity-item strong { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1; margin-bottom: 8px; color: var(--orange-soft); }
.capacity-item span   { display: block; font-size: .82rem; color: rgba(255,255,255,.7); }

.table-wrap { overflow-x: auto; }
.machines {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-100);
}
.machines thead { background: var(--navy); }
.machines th    { color: var(--white); text-align: left; padding: 16px 24px; font-size: .8rem; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; }
.machines td    { padding: 16px 24px; border-top: 1px solid var(--gray-100); font-size: .94rem; }
.machines tbody tr:nth-child(odd) td { background: var(--cream); }
.machines tbody tr:hover td { background: #FFF4E2; }
.machines td:first-child { font-weight: 600; color: var(--navy); width: 18%; }
.machines td:last-child  { color: var(--gray-700); }

.paper-specs {
  margin-top: 56px;
  padding: 48px;
  background: var(--cream);
  border-radius: var(--radius-lg);
}
.paper-specs h2 { margin-bottom: 32px; }
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.spec-item h4 { color: var(--orange-deep); margin-bottom: 6px; }
.spec-item p  { margin: 0; color: var(--gray-700); font-size: .95rem; }

/* ---------- 12.  CONTACT page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
}
.contact-info h2, .contact-form-wrap h2 { margin-bottom: 24px; }
.contact-block { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--gray-100); }
.contact-block:last-of-type { border-bottom: none; }
.contact-label { font-size: .72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--orange-deep); margin: 0 0 6px; font-weight: 600; }
.contact-value     { font-family: var(--font-display); font-size: 1.25rem; margin: 0; color: var(--navy); font-weight: 500; }
.contact-value a   { color: var(--navy); border-bottom: 1px dotted var(--gray-300); }
.contact-value a:hover { color: var(--orange-deep); }
.contact-value-sm  { font-size: .95rem; color: var(--gray-700); line-height: 1.6; margin: 0; }
.contact-meta      { font-size: .82rem; color: var(--gray-500); margin: 6px 0 0; font-style: italic; }

.map-wrap {
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  aspect-ratio: 16/10;
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }

.contact-form-wrap { background: var(--cream); padding: 40px; border-radius: var(--radius-lg); border: 1px solid var(--gray-100); }
.form-intro { color: var(--gray-700); margin: 0 0 24px; font-size: .95rem; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: .78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 6px;
}
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(20,60,91,.1);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-submit { width: 100%; justify-content: center; margin-top: 8px; }
.form-status { margin: 16px 0 0; font-size: .9rem; }
.form-status.success { color: #1B7E3F; }
.form-status.error   { color: #B0341C; }

/* ---------- 13.  Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  margin-top: 80px;
  margin-left: var(--sidebar-w);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1fr 1fr;
  gap: 48px;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 56px var(--content-pad) 40px;
}
.footer-brand .footer-logo { width: 56px; margin-bottom: 16px; }
.footer-tag { font-family: var(--font-display); font-style: italic; color: var(--orange-soft); font-size: 1.05rem; margin: 0; line-height: 1.4; }
.footer-col h4 { color: var(--white); margin-bottom: 16px; }
.footer-col p  { font-size: .88rem; line-height: 1.55; margin: 0 0 14px; }
.footer-col p strong { color: var(--orange-soft); font-weight: 600; display: block; font-size: .72rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 2px; }
.footer-col a  { color: rgba(255,255,255,.85); border-bottom: 1px dotted rgba(255,255,255,.3); }
.footer-col a:hover { color: var(--orange-soft); }
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { font-size: .88rem; border: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 20px var(--content-pad);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .8rem; color: rgba(255,255,255,.5);
}
.footer-bottom p { margin: 0; }

/* ---------- 14.  Floating WhatsApp ---------- */
.float-whatsapp {
  position: fixed; bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -5px rgba(37,211,102,.5);
  z-index: 90;
  animation: pulse-ring 2.4s ease-out infinite;
  transition: transform .25s var(--ease);
}
.float-whatsapp:hover { transform: scale(1.06); color: var(--white); }
@keyframes pulse-ring {
  0%   { box-shadow: 0 10px 30px -5px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 10px 30px -5px rgba(37,211,102,.5), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 30px -5px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- 15.  RTL support (Arabic, Hebrew, Urdu, Persian) ---------- */
html[dir="rtl"] { direction: rtl; }
html[dir="rtl"] .content { margin-left: 0; margin-right: var(--sidebar-w); }
html[dir="rtl"] .sidebar { left: auto; right: 0; }
html[dir="rtl"] .nav-link { border-left: none; border-right: 3px solid transparent; }
html[dir="rtl"] .nav-link.active { border-right-color: var(--orange); background: linear-gradient(-90deg, rgba(243,149,48,.12), transparent 70%); }
html[dir="rtl"] .site-footer { margin-left: 0; margin-right: var(--sidebar-w); }
html[dir="rtl"] .float-whatsapp { right: auto; left: 24px; }
html[dir="rtl"] .topbar-actions { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .lang-menu { right: auto; left: 0; }
html[dir="rtl"] .hero-img-main { right: auto; left: 0; }
html[dir="rtl"] .hero-img-sub  { left: auto; right: 0; }
html[dir="rtl"] .hero-badge    { left: auto; right: 16px; }

/* ---------- 16.  Responsive — tablet ---------- */
@media (max-width: 1100px) {
  :root { --content-pad: 40px; }
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 480px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .value-strip { grid-template-columns: repeat(2, 1fr); }
  .capacity-banner { grid-template-columns: repeat(2, 1fr); }
  .capacity-item { border-right: 1px solid rgba(255,255,255,.1); }
  .capacity-item:nth-child(even) { border-right: none; }
  .capacity-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ---------- 17.  Responsive — mobile ---------- */
@media (max-width: 720px) {
  :root {
    --topbar-h: 64px;
    --content-pad: 24px;
  }
  body { font-size: 15px; }

  /* Show hamburger, hide some topbar items */
  .hamburger { display: flex; }
  .brand-text { display: none; }
  .btn-chat { padding: 9px 14px; font-size: .8rem; }
  .btn-chat svg { width: 14px; height: 14px; }
  .lang-trigger .lang-name { display: none; }

  /* Sidebar becomes a sliding drawer */
  .sidebar {
    transform: translateX(-100%);
    transition: transform .3s var(--ease);
    width: 280px;
    padding-top: 24px;
  }
  .sidebar.open { transform: translateX(0); box-shadow: 20px 0 60px -10px rgba(0,0,0,.3); }
  html[dir="rtl"] .sidebar { transform: translateX(100%); }
  html[dir="rtl"] .sidebar.open { transform: translateX(0); }

  /* Content fills full width on mobile */
  .content { margin-left: 0 !important; padding: 32px var(--content-pad); }
  .site-footer { margin-left: 0 !important; }
  html[dir="rtl"] .content,
  html[dir="rtl"] .site-footer { margin-right: 0; }

  /* Hero adjustments */
  .hero { gap: 32px; margin-bottom: 48px; }
  .hero-stats { grid-template-columns: 1fr; gap: 20px; padding-top: 24px; }
  .hero-badge { width: 88px; height: 88px; top: 12px; left: 8px; }

  /* Value strip stacks */
  .value-strip { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }

  /* Founders stack */
  .founder { grid-template-columns: 1fr; text-align: center; }
  .founder-photo { margin: 0 auto; }

  /* Products: smaller grid */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .product-name { font-size: .92rem; margin: 12px 12px 2px; }
  .product-spec { font-size: .75rem; margin: 0 12px 12px; }

  /* Certificates */
  .cert-grid { grid-template-columns: 1fr; }

  /* Capacity stacks */
  .capacity-banner { grid-template-columns: 1fr; }
  .capacity-item { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,.1); }
  .capacity-item:last-child { border-bottom: none; }

  /* Paper specs */
  .paper-specs, .export-proof, .inside-pages { padding: 28px; }
  .inside-grid { grid-template-columns: 1fr; }

  /* Tables: convert to card-style stacked layout */
  .machines, .machines thead, .machines tbody, .machines tr, .machines th, .machines td { display: block; }
  .machines thead { position: absolute; left: -9999px; }
  .machines tbody tr { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius); margin-bottom: 12px; padding: 16px; }
  .machines tbody tr:nth-child(odd) td { background: transparent; }
  .machines td { padding: 4px 0 4px 110px; position: relative; border: none; }
  .machines td:first-child { width: auto; padding-left: 110px; }
  .machines td::before {
    content: attr(data-label);
    position: absolute; left: 0; top: 4px;
    width: 100px;
    font-size: .65rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gray-500);
    font-weight: 600;
  }

  /* Contact form */
  .contact-form-wrap { padding: 24px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; padding: 40px var(--content-pad) 32px; }
  .footer-bottom { padding: 20px var(--content-pad); }

  /* Floating WhatsApp slightly smaller */
  .float-whatsapp { width: 54px; height: 54px; bottom: 18px; right: 18px; }
  .float-whatsapp svg { width: 24px; height: 24px; }

  /* Language menu adapts */
  .lang-menu { width: 280px; right: -8px; }
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
.btn-chat:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.lang-trigger:focus-visible,
.float-whatsapp:focus-visible { outline-offset: 4px; }
