/* SJ Global Sourcing Ltd — Production UI */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --primary: #0c1829;
  --primary-mid: #152238;
  --primary-light: #1e3a5f;
  --accent: #2563eb;
  --accent-soft: rgba(37, 99, 235, 0.1);
  --gold: #c9a962;
  --gold-soft: rgba(201, 169, 98, 0.15);
  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-muted: #f1f5f9;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 4px 24px -4px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 48px -12px rgba(15, 23, 42, 0.15);
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --header-h: 76px;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.65;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.modal-open { overflow: hidden; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--primary-light); }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.header-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.logo img { height: 52px; width: auto; }

.logo-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav {
  display: flex;
  gap: 40px;
  list-style: none;
  margin-left: auto;
}

.nav a {
  position: relative;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  padding: 8px 0;
  transition: color var(--transition);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: 2px;
  transition: width var(--transition);
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
}

.nav a:hover::after,
.nav a.active::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  margin: 5px auto;
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ── */
.hero {
  position: relative;
  color: #fff;
  padding: 140px 0 120px;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 24, 41, 0.72) 0%, rgba(12, 24, 41, 0.88) 100%),
    linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, transparent 50%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  padding: 8px 18px;
  border: 1px solid rgba(201, 169, 98, 0.35);
  border-radius: 100px;
  background: rgba(201, 169, 98, 0.08);
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-weight: 400;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
  background: var(--bg-subtle);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  color: var(--primary);
}

.btn-dark {
  background: var(--primary);
  color: #fff;
}

.btn-dark:hover {
  background: var(--primary-mid);
  transform: translateY(-2px);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding: 14px 0;
}

.btn-ghost:hover { color: var(--primary); }

.btn-sm { padding: 10px 20px; font-size: 0.875rem; }

.btn-block { width: 100%; }

/* ── Sections ── */
.section { padding: 96px 0; }

.section-alt {
  background: var(--bg-subtle);
  position: relative;
}

.section-alt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.section-intro h2 {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.25;
}

.section-intro p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.75;
}

.section-intro p:last-of-type { margin-bottom: 28px; }

/* ── Cards ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.cards-grid-3 { grid-template-columns: repeat(3, 1fr); }

.cards-grid-4 { grid-template-columns: repeat(4, 1fr); }

.cards-grid-2 { grid-template-columns: repeat(2, 1fr); }

.product-catalogue .card-photo-wrap {
  height: 240px;
  background: var(--bg-subtle);
}

.product-catalogue .card-photo-wrap img {
  object-fit: contain;
  padding: 16px;
}

/* Center a leftover single card on the last row (e.g. 7 products) */
.product-catalogue.cards-grid-3 > .card:last-child:nth-child(3n + 1) {
  grid-column: 2;
}

.product-feature {
  list-style: none;
  margin-top: 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-feature li {
  position: relative;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.45;
}

.product-feature li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.15);
}

.card-photo { padding: 0; }

.card-photo-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 24, 41, 0.25), transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}

.card-photo:hover .card-photo-wrap::after { opacity: 1; }

.card-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-photo:hover .card-photo-wrap img { transform: scale(1.07); }

.card-body { padding: 26px 28px 30px; }

.card-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.card p,
.card-body p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.card-step { position: relative; }

.card-step-num {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  width: 38px;
  height: 38px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

/* ── Stats ── */
.stats-band {
  background: var(--primary);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.stats-band::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent));
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}

.stat-item {
  padding: 0 24px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.12);
}

.stat-item h3 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item h3 span {
  font-size: 0.6em;
  color: var(--gold);
}

.stat-item p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ── Page Banner ── */
.page-banner {
  position: relative;
  color: #fff;
  padding: 100px 0 88px;
  text-align: center;
  background-size: cover;
  background-position: center;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 24, 41, 0.82) 0%, rgba(12, 24, 41, 0.92) 100%);
}

.page-banner .container { position: relative; z-index: 1; }

.page-banner .section-label {
  color: var(--gold);
  margin-bottom: 12px;
}

.page-banner h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.page-banner p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.0625rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Content ── */
.content-block {
  max-width: 780px;
  margin: 0 auto;
}

.content-block h2 {
  color: var(--primary);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 40px 0 14px;
}

.content-block h2:first-child { margin-top: 0; }

.content-block p {
  margin-bottom: 16px;
  color: var(--text-muted);
  line-height: 1.75;
}

.content-block ul {
  margin: 16px 0 16px 20px;
  color: var(--text-muted);
}

.content-block li { margin-bottom: 10px; line-height: 1.65; }

.content-block li strong { color: var(--text); }

/* ── Two Column ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.content-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.content-image-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  z-index: 1;
  pointer-events: none;
}

.content-image {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

.content-image-accent {
  position: absolute;
  bottom: -16px;
  left: -16px;
  width: 120px;
  height: 120px;
  background: var(--accent-soft);
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* ── Case Study ── */
.case-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.case-image { height: 220px; overflow: hidden; }

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.case-card:hover .case-image img { transform: scale(1.06); }

.case-card-body { padding: 28px; }

.case-tag {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.case-card h3 {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.case-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.testimonial-card {
  padding: 32px;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 24px;
  font-size: 4rem;
  line-height: 1;
  color: var(--accent-soft);
  font-family: Georgia, serif;
}

.testimonial-card blockquote {
  font-style: italic;
  color: var(--text);
  margin-bottom: 20px;
  padding-top: 24px;
  line-height: 1.75;
  font-size: 0.975rem;
}

.testimonial-card cite {
  font-style: normal;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.875rem;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
}

.contact-info-item .icon {
  width: 52px;
  height: 52px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.contact-info-item .icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-info-item h4 {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 4px;
}

.contact-info-item p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.contact-form {
  background: var(--bg);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.form-group { margin-bottom: 22px; }

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-family: var(--font);
  background: var(--bg-subtle);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px;
  background: #ecfdf5;
  color: #047857;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 600;
  font-size: 0.9375rem;
}

/* ── Company Info ── */
.company-info-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 36px;
}

.company-info-box h3 {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 1.0625rem;
}

.company-info-box dl {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 12px 20px;
  font-size: 0.9375rem;
}

.company-info-box dt {
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.company-info-box dd { color: var(--text); line-height: 1.5; }

/* ── CTA ── */
.cta {
  position: relative;
  background: var(--primary);
  color: #fff;
  padding: 88px 0;
  text-align: center;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 100%, rgba(37, 99, 235, 0.2), transparent),
    radial-gradient(ellipse 50% 60% at 80% 0%, rgba(201, 169, 98, 0.12), transparent);
}

.cta .container { position: relative; z-index: 1; }

.cta h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.cta p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  font-size: 1.0625rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Footer ── */
.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.75);
  padding: 72px 0 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 98, 0.4), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  margin-top: 16px;
  line-height: 1.75;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer h4 {
  color: #fff;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9375rem;
  line-height: 1.85;
  transition: color var(--transition);
}

.footer a:hover { color: #fff; }

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 10px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-legal {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8125rem;
}

.footer-legal a:hover { color: rgba(255, 255, 255, 0.85); }

/* ── Privacy Bar ── */
.privacy-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: rgba(12, 24, 41, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.privacy-bar.visible { transform: translateY(0); }

.privacy-bar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.privacy-bar-text {
  flex: 1;
  min-width: 240px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  line-height: 1.6;
}

.privacy-bar-text a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-bar-text a:hover { color: #fff; }

.privacy-bar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.privacy-bar .btn-accept {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background var(--transition);
}

.privacy-bar .btn-accept:hover { background: #1d4ed8; }

.privacy-bar .btn-dismiss {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  padding: 10px 18px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition);
}

.privacy-bar .btn-dismiss:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

/* ── Privacy Modal ── */
.privacy-backdrop {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(12, 24, 41, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.privacy-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.privacy-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  z-index: 401;
  width: calc(100% - 32px);
  max-width: 720px;
  max-height: 85vh;
  background: var(--bg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.privacy-modal.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.privacy-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.privacy-modal-header h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.privacy-modal-close {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-muted);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 1;
  transition: background var(--transition), color var(--transition);
}

.privacy-modal-close:hover {
  background: var(--border);
  color: var(--primary);
}

.privacy-modal-body {
  padding: 28px;
  overflow-y: auto;
  flex: 1;
}

.privacy-modal-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 24px 0 10px;
}

.privacy-modal-body h3:first-child { margin-top: 0; }

.privacy-modal-body p,
.privacy-modal-body li {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-bottom: 12px;
}

.privacy-modal-body ul {
  margin: 0 0 12px 20px;
}

.privacy-modal-footer {
  padding: 20px 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 992px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stat-item:not(:last-child)::after { display: none; }
  .stat-item:nth-child(odd)::after {
    display: block;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  .cards-grid-3,
  .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .product-catalogue .card-photo-wrap { height: 210px; }
  .product-catalogue.cards-grid-3 > .card:last-child:nth-child(3n + 1) {
    grid-column: auto;
  }
  .product-catalogue.cards-grid-3 > .card:last-child:nth-child(2n + 1) {
    grid-column: 1 / -1;
    max-width: calc(50% - 14px);
    justify-self: center;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-bg { background-attachment: scroll; }
}

@media (max-width: 768px) {
  :root { --header-h: 58px; }

  .container { padding: 0 20px; }

  .header-inner { height: var(--header-h); }

  .logo img { height: 40px; }

  .logo-text { font-size: 0.9rem; }
  .logo-text span { font-size: 0.6rem; }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 12px 20px 20px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav.open { display: flex; }

  .nav li { border-bottom: 1px solid var(--border-light); }
  .nav a { display: block; padding: 14px 0; font-size: 1rem; }
  .nav a::after { display: none; }

  .nav-toggle { display: block; }

  .hero { padding: 100px 0 80px; }

  .section { padding: 64px 0; }

  .stats { grid-template-columns: 1fr 1fr; }
  .stat-item::after { display: none !important; }

  .cards-grid-3,
  .cards-grid-4,
  .cards-grid-2 { grid-template-columns: 1fr; }

  .product-catalogue .card-photo-wrap { height: 220px; }

  .product-catalogue.cards-grid-3 > .card:last-child:nth-child(3n + 1),
  .product-catalogue.cards-grid-3 > .card:last-child:nth-child(2n + 1) {
    grid-column: auto;
    max-width: none;
  }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }

  .footer-bottom { flex-direction: column; text-align: center; }

  .footer-legal { justify-content: center; }

  .company-info-box dl { grid-template-columns: 1fr; }
  .company-info-box dt { margin-top: 8px; }

  .privacy-bar-inner { flex-direction: column; align-items: stretch; }
  .privacy-bar-actions { justify-content: stretch; }
  .privacy-bar-actions button { flex: 1; }

  .contact-form { padding: 24px; }
}
