/*
Theme Name: ZC Mattress Classic Updated
Theme URI: https://example.com/
Author: Accio Agent
Description: A professional B2B WordPress theme for Zhaoyuan Zhicheng Smart Home Co., Ltd., optimized for Europe-first mattress inquiries.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mattress-b2b
*/

/* =============================================================================
   DESIGN SYSTEM — CSS CUSTOM PROPERTIES
   ============================================================================= */
:root {
  /* Color Palette — Professional European Industrial */
  --color-primary:       #1a2e4a;   /* Deep navy — trust, authority */
  --color-primary-dark:  #0f1e33;
  --color-primary-light: #2d4a72;
  --color-accent:        #c8923a;   /* Warm gold — premium manufacturing */
  --color-accent-dark:   #a67428;
  --color-cta:           #d0392b;   /* Action red — inquiry CTA */
  --color-cta-hover:     #b02b20;
  --color-surface:       #ffffff;
  --color-bg:            #f5f6f8;
  --color-bg-dark:       #1a2e4a;
  --color-border:        #dce1e9;
  --color-text:          #1c2b3a;
  --color-text-light:    #5a6a7e;
  --color-text-muted:    #8a9ab0;
  --color-white:         #ffffff;
  --color-success:       #2e7d52;

  /* Typography */
  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'Fira Code', monospace;

  /* Type Scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  /* Font Weights */
  --fw-normal:   400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;
  --fw-black:    900;

  /* Spacing Scale */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --max-width:        1280px;
  --max-width-narrow: 860px;
  --gutter:           1.5rem;

  /* Borders & Radius */
  --radius-sm:  4px;
  --radius:     8px;
  --radius-lg:  12px;
  --radius-xl:  20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow:     0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.14);
  --shadow-xl:  0 24px 64px rgba(0,0,0,.18);

  /* Transitions */
  --transition:      0.2s ease;
  --transition-slow: 0.4s ease;

  /* Header height */
  --header-h: 72px;
}

/* =============================================================================
   GLOBAL RESET & BASE
   ============================================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--fw-normal);
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-surface);
  -webkit-font-smoothing: antialiased;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--color-accent); }

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  color: var(--color-primary);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p { margin-bottom: var(--space-4); }
p:last-child { margin-bottom: 0; }

/* =============================================================================
   LAYOUT UTILITIES
   ============================================================================= */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: var(--max-width-narrow);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--space-20);
}

.section--sm {
  padding-block: var(--space-12);
}

.section--lg {
  padding-block: var(--space-32);
}

.section--dark {
  background: var(--color-bg-dark);
  color: var(--color-white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-white);
}

.section--dark p,
.section--dark li {
  color: rgba(255,255,255,.80);
}

.section--gray {
  background: var(--color-bg);
}

.section--accent {
  background: var(--color-accent);
  color: var(--color-white);
}

.grid {
  display: grid;
  gap: var(--space-8);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

.text-center { text-align: center; }
.text-left   { text-align: left; }

/* =============================================================================
   SECTION LABELS & HEADINGS
   ============================================================================= */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.section-heading {
  margin-bottom: var(--space-4);
}

.section-subheading {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--color-text-light);
  max-width: 600px;
  margin-bottom: var(--space-12);
}

.section-heading + .section-subheading {
  margin-top: calc(-1 * var(--space-2));
}

.heading-group {
  margin-bottom: var(--space-12);
}

.heading-group.text-center .section-subheading {
  margin-inline: auto;
}

/* =============================================================================
   BUTTONS
   ============================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.8rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: .04em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}

.btn--primary {
  background: var(--color-cta);
  color: var(--color-white);
  border-color: var(--color-cta);
}
.btn--primary:hover {
  background: var(--color-cta-hover);
  border-color: var(--color-cta-hover);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn--secondary {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,.6);
}
.btn--secondary:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--accent {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}
.btn--accent:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: var(--text-base);
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: var(--text-xs);
}

.btn-group {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* =============================================================================
   HEADER & NAVIGATION
   ============================================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(26, 46, 74, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: var(--color-primary-dark);
  box-shadow: var(--shadow-lg);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo img {
  height: 40px;
  width: auto;
}

.site-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.site-logo__name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  letter-spacing: -.01em;
}

.site-logo__tagline {
  font-size: var(--text-xs);
  color: var(--color-accent);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Primary Nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.primary-nav a {
  display: block;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,.85);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a {
  color: var(--color-white);
  background: rgba(255,255,255,.1);
}

/* Dropdown */
.primary-nav .menu-item-has-children {
  position: relative;
}

.primary-nav .sub-menu {
  position: absolute;
  top: calc(100% + var(--space-2));
  left: 0;
  min-width: 220px;
  background: var(--color-primary-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  flex-direction: column;
  gap: 0;
}

.primary-nav .menu-item-has-children:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-nav .sub-menu a {
  padding: var(--space-3) var(--space-5);
  border-radius: 0;
  color: rgba(255,255,255,.80);
  font-size: var(--text-sm);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.primary-nav .sub-menu li:last-child a {
  border-bottom: none;
}

.primary-nav .sub-menu a:hover {
  background: rgba(255,255,255,.08);
  color: var(--color-white);
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.header-phone {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.70);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  color: var(--color-white);
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Page offset for fixed header */
.site-main {
  padding-top: var(--header-h);
}

/* =============================================================================
   HERO SECTION
   ============================================================================= */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0f1e33 0%, #1a2e4a 50%, #1e3a5f 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(200,146,58,.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(200,146,58,.06) 0%, transparent 60%);
}

.hero--with-bg {
  background-size: cover;
  background-position: center;
}

.hero--with-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,30,51,.92) 0%, rgba(15,30,51,.65) 60%, rgba(15,30,51,.3) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding-block: var(--space-20);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-5);
  padding: var(--space-2) var(--space-4);
  border: 1px solid rgba(200,146,58,.4);
  border-radius: var(--radius-full);
}

.hero__title {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-6xl));
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: var(--space-5);
}

.hero__title em {
  font-style: normal;
  color: var(--color-accent);
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,.80);
  margin-bottom: var(--space-8);
  max-width: 540px;
}

.hero__stats {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,.12);
  flex-wrap: wrap;
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--fw-bold);
  color: var(--color-accent);
  line-height: 1;
}

.hero__stat-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.60);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: var(--space-1);
}

/* =============================================================================
   FACTORY PHOTO GALLERY
   ============================================================================= */
.factory-gallery {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(12, 1fr);
}

.factory-gallery__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
}

.factory-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 3-column on desktop */
.factory-gallery__item { grid-column: span 4; aspect-ratio: 4 / 3; }

/* Make the first image larger for visual hierarchy */
.factory-gallery__item--featured { grid-column: span 8; aspect-ratio: 16 / 9; }

@media (max-width: 980px) {
  .factory-gallery__item { grid-column: span 6; }
  .factory-gallery__item--featured { grid-column: span 12; }
}

@media (max-width: 640px) {
  .factory-gallery { grid-template-columns: repeat(6, 1fr); }
  .factory-gallery__item { grid-column: span 6; }
}

.factory-gallery__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--color-border);
  background: var(--color-bg);
  color: var(--color-text-muted);
  text-align: center;
  padding: var(--space-8);
}

/* =============================================================================
   CARDS
   ============================================================================= */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card__icon {
  width: 56px;
  height: 56px;
  background: rgba(26,46,74,.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  font-size: 1.5rem;
}

.card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.card__body {
  color: var(--color-text-light);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.card--accent .card__icon {
  background: rgba(200,146,58,.12);
}

.card--highlight {
  border-color: var(--color-accent);
  border-width: 2px;
}

/* Audience Cards */
.audience-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.audience-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.audience-card__header {
  padding: var(--space-8);
  background: var(--color-primary);
  color: var(--color-white);
}

.audience-card__icon {
  font-size: 2rem;
  margin-bottom: var(--space-3);
}

.audience-card__title {
  font-size: var(--text-2xl);
  color: var(--color-white);
  margin-bottom: var(--space-1);
}

.audience-card__subtitle {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.65);
}

.audience-card__body {
  padding: var(--space-8);
  flex: 1;
}

.audience-card__features {
  margin-bottom: var(--space-6);
}

.audience-card__features li {
  padding: var(--space-2) 0;
  font-size: var(--text-sm);
  color: var(--color-text-light);
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  border-bottom: 1px solid var(--color-border);
}

.audience-card__features li:last-child {
  border-bottom: none;
}

.audience-card__features li::before {
  content: '\2713';
  color: var(--color-success);
  font-weight: var(--fw-bold);
  flex-shrink: 0;
  margin-top: 1px;
}

/* =============================================================================
   STATS / NUMBERS
   ============================================================================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-1);
}

.stat-item {
  text-align: center;
  padding: var(--space-8) var(--space-4);
  border-right: 1px solid rgba(255,255,255,.10);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: var(--fw-black);
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* =============================================================================
   PROCESS / STEPS
   ============================================================================= */
.steps {
  counter-reset: step;
}

.step {
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
  padding-bottom: var(--space-8);
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 27px;
  top: 56px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
}

.step__number {
  counter-increment: step;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.step__content h4 {
  margin-bottom: var(--space-2);
}

.step__content p {
  color: var(--color-text-light);
  font-size: var(--text-sm);
}

/* =============================================================================
   CERTIFICATIONS / BADGES
   ============================================================================= */
.cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.cert-badge__icon {
  font-size: 1.5rem;
}

.cert-badge__name {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
}

.cert-badge__desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* =============================================================================
   FORMS
   ============================================================================= */
.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.form-label .required {
  color: var(--color-cta);
  margin-left: var(--space-1);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26,46,74,.12);
}

.form-control::placeholder {
  color: var(--color-text-muted);
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a6a7e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.form-grid .form-group--full {
  grid-column: 1 / -1;
}

.form-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}

/* Inline light form */
.form-inline {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.form-inline .form-control {
  flex: 1;
  min-width: 200px;
}

/* =============================================================================
   INQUIRY BOX / CTA SECTION
   ============================================================================= */
.cta-box {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-16);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(200,146,58,.10);
}

.cta-box h2 { color: var(--color-white); margin-bottom: var(--space-4); }
.cta-box p  { color: rgba(255,255,255,.80); margin-bottom: var(--space-8); max-width: 540px; margin-inline: auto; }

/* =============================================================================
   FAQ ACCORDION
   ============================================================================= */
.faq-list {
  border-top: 1px solid var(--color-border);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--fw-medium);
  color: var(--color-text);
  transition: color var(--transition);
}

.faq-question:hover { color: var(--color-primary); }

.faq-question .faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  color: var(--color-accent);
  transition: transform var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 0 var(--space-5);
  color: var(--color-text-light);
  font-size: var(--text-sm);
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  display: block;
}

/* =============================================================================
   TABS (Solutions page)
   ============================================================================= */
.tabs {
  margin-bottom: var(--space-8);
}

.tab-nav {
  display: flex;
  gap: var(--space-2);
  border-bottom: 2px solid var(--color-border);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.tab-btn {
  padding: var(--space-4) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-text-light);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all var(--transition);
}

.tab-btn:hover {
  color: var(--color-primary);
}

.tab-btn.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-accent);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* =============================================================================
   PRODUCT GRID
   ============================================================================= */
.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card__image {
  aspect-ratio: 4 / 3;
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8edf4 0%, #d0d8e4 100%);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
}

.product-card__badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: var(--radius-full);
}

.product-card__body {
  padding: var(--space-6);
}

.product-card__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.product-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.product-card__spec {
  font-size: var(--text-xs);
  padding: var(--space-1) var(--space-3);
  background: var(--color-bg);
  border-radius: var(--radius-full);
  color: var(--color-text-light);
}

.product-card__moq {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

/* Single Product */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.product-spec-table {
  width: 100%;
  border-collapse: collapse;
}

.product-spec-table tr {
  border-bottom: 1px solid var(--color-border);
}

.product-spec-table td {
  padding: var(--space-3) 0;
  font-size: var(--text-sm);
}

.product-spec-table td:first-child {
  color: var(--color-text-muted);
  width: 40%;
  font-weight: var(--fw-medium);
}

/* =============================================================================
   TRUST INDICATORS / LOGOS
   ============================================================================= */
.logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
  opacity: .6;
  filter: grayscale(1);
  transition: opacity var(--transition);
}

.logo-strip:hover {
  opacity: .8;
}

.logo-strip img {
  height: 36px;
  width: auto;
}

.trust-bar {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

/* =============================================================================
   COUNTRY BADGES (export markets)
   ============================================================================= */
.country-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.country-tag {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-bg);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
}

/* =============================================================================
   WHATSAPP FLOATING BUTTON
   ============================================================================= */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 900;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,.5);
  color: var(--color-white);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: white;
}

.whatsapp-float__tooltip {
  position: absolute;
  right: calc(100% + var(--space-3));
  white-space: nowrap;
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  opacity: 0;
  transform: translateX(8px);
  transition: all var(--transition);
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* =============================================================================
   BREADCRUMB
   ============================================================================= */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: var(--space-4) 0;
}

.breadcrumb a {
  color: var(--color-text-muted);
}

.breadcrumb a:hover { color: var(--color-accent); }

.breadcrumb__sep { color: var(--color-border); }

/* =============================================================================
   PAGE HERO (inner pages)
   ============================================================================= */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  padding: var(--space-20) 0 var(--space-16);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(200,146,58,.12) 0%, transparent 70%);
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 {
  color: var(--color-white);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  margin-bottom: var(--space-4);
}

.page-hero p {
  color: rgba(255,255,255,.75);
  font-size: var(--text-lg);
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: 0;
}

/* =============================================================================
   TWO-COLUMN SPLIT (image + text)
   ============================================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.split.split--reverse .split__media { order: 2; }
.split.split--reverse .split__content { order: 1; }

.split__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-bg);
  position: relative;
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split__media-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8edf4 0%, #c8d2e0 100%);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
}

/* =============================================================================
   FOOTER
   ============================================================================= */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,.75);
}

.footer-top {
  padding: var(--space-16) 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
}

.footer-brand .site-logo__name { font-size: var(--text-xl); }

.footer-brand p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.55);
  margin-top: var(--space-4);
  margin-bottom: var(--space-6);
  line-height: 1.7;
}

.footer-contact-line {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(255,255,255,.65);
  margin-bottom: var(--space-3);
}

.footer-nav h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(255,255,255,.40);
  margin-bottom: var(--space-4);
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-nav a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}

.footer-nav a:hover { color: var(--color-accent); }

.footer-bottom {
  padding: var(--space-6) 0;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.40);
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: var(--space-6);
}

.footer-legal a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.40);
}

.footer-legal a:hover { color: rgba(255,255,255,.70); }

.footer-certifications {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.footer-cert {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: rgba(255,255,255,.50);
  padding: var(--space-2) var(--space-3);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-full);
}

/* =============================================================================
   NOTIFICATION BANNER
   ============================================================================= */
.top-bar {
  background: var(--color-accent);
  color: var(--color-white);
  text-align: center;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  letter-spacing: .03em;
}

/* =============================================================================
   UTILITY CLASSES
   ============================================================================= */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.text-accent  { color: var(--color-accent); }
.text-muted   { color: var(--color-text-muted); }
.text-white   { color: var(--color-white); }
.bg-primary   { background: var(--color-primary); }
.bg-dark      { background: var(--color-primary-dark); }
.mt-0  { margin-top: 0; }
.mb-0  { margin-bottom: 0; }
.mt-4  { margin-top: var(--space-4); }
.mb-4  { margin-bottom: var(--space-4); }
.mt-8  { margin-top: var(--space-8); }
.mb-8  { margin-bottom: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-12 { margin-bottom: var(--space-12); }

/* =============================================================================
   RESPONSIVE
   ============================================================================= */
@media (max-width: 1024px) {
  :root {
    --header-h: 64px;
  }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .product-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }

  .primary-nav { display: none; }
  .primary-nav.open {
    display: flex;
    position: fixed;
    inset: var(--header-h) 0 0;
    background: var(--color-primary-dark);
    flex-direction: column;
    padding: var(--space-6);
    overflow-y: auto;
  }
  .primary-nav.open ul {
    flex-direction: column;
    gap: 0;
  }
  .primary-nav.open a {
    padding: var(--space-4);
    font-size: var(--text-base);
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .primary-nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(0,0,0,.2);
    border-radius: 0;
    padding-left: var(--space-4);
  }
  .menu-toggle { display: flex; }

  .header-phone { display: none; }

  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }

  .split,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .split.split--reverse .split__media { order: 0; }
  .split.split--reverse .split__content { order: 0; }

  .form-grid { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.10); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.10); }

  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .cta-box {
    padding: var(--space-8) var(--space-6);
  }

  .hero__stats {
    gap: var(--space-6);
  }

  .tab-nav { gap: 0; }
  .tab-btn { padding: var(--space-3) var(--space-4); font-size: var(--text-xs); }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .section { padding-block: var(--space-12); }
  .section--lg { padding-block: var(--space-20); }
}

@media (max-width: 480px) {
  :root { --gutter: 1rem; }

  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }

  .btn-group { flex-direction: column; }
  .btn-group .btn { text-align: center; justify-content: center; }

  .stats-grid { grid-template-columns: 1fr 1fr; }

  .hero { min-height: 500px; }
  .hero__content { padding-block: var(--space-12); }
}
