/* ============================================
   CHANFER Website - Global CSS
   Mobile-first · B2B Industrial · AI-Optimized
   ============================================ */

:root {
  --primary: #2E8B57;
  --primary-dark: #1B6B3A;
  --accent: #E67E22;
  --dark: #0A1628;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-500: #6B7280;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --white: #FFFFFF;
  --font-en: 'Inter', sans-serif;
  --font-cn: 'Noto Sans SC', 'PingFang SC', sans-serif;
  --max-w: 1280px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
  --radius: 12px;
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-en); color: var(--gray-900); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.cn-mode { font-family: var(--font-cn); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* Navigation */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200); transition: var(--transition);
}
.nav-container {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 72px;
}
.logo { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text { font-size: 22px; font-weight: 800; color: var(--primary); letter-spacing: 2px; }
.logo-sub { font-size: 10px; color: var(--gray-500); }

.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-link { font-size: 14px; font-weight: 500; color: var(--gray-700); transition: color 0.2s; }
.nav-link:hover { color: var(--primary); }

.nav-dropdown { position: relative; }
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: -12px;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 8px 0; min-width: 220px; z-index: 100;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { display: flex; align-items: center; gap: 8px; padding: 10px 16px; font-size: 14px; color: var(--gray-700); transition: background 0.2s; }
.dropdown-menu a:hover { background: var(--gray-100); color: var(--primary); }

.nav-right { display: flex; align-items: center; gap: 12px; }
.btn-nav-cta { background: var(--primary); color: var(--white); padding: 8px 20px; border-radius: 20px; font-size: 14px; font-weight: 600; }
.btn-nav-cta:hover { background: var(--primary-dark); }
.hamburger { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }

/* Hero */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 100px 24px 60px;
  background: linear-gradient(135deg, #0A1628 0%, #1a3a2e 50%, #0A1628 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; opacity: 0.05;
  background-image: radial-gradient(circle at 30% 50%, #fff 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero-content { position: relative; max-width: var(--max-w); margin: 0 auto; width: 100%; }
.hero-badge {
  display: inline-block; margin-bottom: 24px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.8); padding: 6px 16px; border-radius: 20px; font-size: 13px;
}
.hero-title {
  font-size: clamp(32px, 5vw, 64px); font-weight: 800;
  color: var(--white); line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px;
}
.hero-subtitle { font-size: clamp(16px, 2vw, 22px); color: rgba(255,255,255,0.7); margin-bottom: 48px; max-width: 600px; }

/* Inner Page Hero (page-hero / page-title used on 15+ inner pages) */
.page-hero {
  position: relative;
  padding: 120px 24px 56px;
  background: linear-gradient(135deg, #f8fafb 0%, #e8f0e9 50%, #f8fafb 100%);
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0; opacity: 0.4;
  background-image: radial-gradient(circle at 80% 40%, rgba(46,139,87,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}
.page-hero-content {
  position: relative; max-width: var(--max-w); margin: 0 auto; width: 100%;
}
.page-title {
  font-size: clamp(28px, 4vw, 44px); font-weight: 800;
  color: var(--dark); line-height: 1.15; margin-bottom: 14px; letter-spacing: -0.5px;
}
.page-subtitle {
  font-size: clamp(15px, 1.8vw, 18px); color: var(--gray-500);
  max-width: 680px; line-height: 1.6;
}

.solution-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }
.sol-card {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius); padding: 28px 24px; transition: var(--transition); cursor: pointer;
}
.sol-card:hover { background: rgba(255,255,255,0.15); transform: translateY(-4px); }
.sol-icon { font-size: 36px; margin-bottom: 12px; }

/* Solution Card with Image */
.sol-card-img { padding: 0 !important; overflow: hidden; }
.sol-card-img-wrap {
  width: 100%;
  aspect-ratio: 1.72 / 1;          /* matches new product line photos (800x464) */
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: rgba(255,255,255,0.05);
}
.sol-card-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s ease;
  filter: brightness(1);
}
.sol-card-img:hover .sol-card-img-wrap img { transform: scale(1.06); }
.sol-card-img h3 { font-size: 16px; margin-top: 14px; }
.sol-card-img p { font-size: 13px; }
.sol-card h3 { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.sol-card p { font-size: 13px; color: rgba(255,255,255,0.6); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  background: var(--accent); color: var(--white); padding: 14px 32px; border-radius: 30px;
  font-size: 15px; font-weight: 600; transition: var(--transition);
}
.btn-primary:hover { background: #c96a1a; transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--white); padding: 14px 32px; border-radius: 30px;
  font-size: 15px; border: 1px solid rgba(255,255,255,0.3); transition: var(--transition);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* Stats Bar */
.stats-bar { background: var(--white); border-bottom: 1px solid var(--gray-200); padding: 40px 0; }
.stats-container {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  padding: 0 24px; flex-wrap: wrap; gap: 32px;
}
.stat-item { text-align: center; }
.stat-num { display: block; font-size: 36px; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 13px; color: var(--gray-500); }
.stat-divider { width: 1px; height: 48px; background: var(--gray-200); }

/* Section Common */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block; background: rgba(0,87,184,0.08); color: var(--primary);
  padding: 4px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 16px;
}
.section-title { font-size: clamp(26px, 3.5vw, 42px); font-weight: 800; color: var(--dark); line-height: 1.2; margin-bottom: 16px; }
.section-desc { font-size: 17px; color: var(--gray-500); max-width: 600px; margin: 0 auto; }

/* Process Flow */
.process-section { padding: 96px 0; background: var(--gray-100); }
.process-flow { display: flex; align-items: center; gap: 0; overflow-x: auto; padding: 16px 0; }
.process-step { text-align: center; min-width: 120px; }
.process-icon {
  width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700;
  margin: 0 auto 10px;
}
.process-step.highlight .process-icon { background: var(--accent); }
.process-step h4 { font-size: 13px; font-weight: 600; color: var(--gray-900); margin-bottom: 4px; }
.process-step p { font-size: 12px; color: var(--gray-500); }
.process-arrow { font-size: 24px; color: var(--gray-300); min-width: 32px; }
.process-cta { text-align: center; margin-top: 40px; }

/* Video Section */
.video-section { padding: 0; background: var(--dark); }
.video-wrapper { max-width: 900px; margin: 0 auto; }
.video-placeholder {
  aspect-ratio: 16/9; background: linear-gradient(135deg, #1a3a2e, #0A1628);
  border-radius: var(--radius); display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 16px; cursor: pointer; position: relative;
}
.play-btn {
  width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  box-shadow: 0 0 0 12px rgba(230,126,34,0.2); transition: var(--transition);
}
.video-placeholder p { color: var(--white); font-size: 16px; }
.video-placeholder small { color: rgba(255,255,255,0.5); font-size: 13px; }
.video-hint {
  margin-top: 12px; font-size: 12px; color: rgba(255,255,255,0.4);
  padding: 4px 12px; border: 1px dashed rgba(255,255,255,0.3); border-radius: 20px;
}

/* Why Section */
.why-section { padding: 96px 0; background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.why-card { padding: 32px 28px; border-radius: var(--radius); border: 1px solid var(--gray-200); transition: var(--transition); }
.why-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-4px); }

/* Why Card with Featured Image */
.why-card-featured {
  position: relative; padding: 0 !important; min-height: 320px; overflow: hidden;
  grid-column: span 1;
}
.why-card-featured img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; top: 0; left: 0; z-index: 1;
  transition: transform 0.5s ease;
}
.why-card-featured:hover img { transform: scale(1.04); }
.why-card-featured:hover { border-color: var(--primary) !important; box-shadow: var(--shadow-lg) !important; }
.why-card-overlay {
  position: relative; z-index: 2;
  background: linear-gradient(180deg, rgba(10,22,40,0.3) 0%, rgba(10,22,40,0.88) 100%);
  padding: 32px 24px 28px; margin-top: auto;
  display: flex; flex-direction: column; justify-content: flex-end;
  height: 100%;
}
.why-card-overlay h4 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.why-card-overlay p { font-size: 14px; color: rgba(255,255,255,0.85); line-height: 1.7; }
.why-icon { font-size: 40px; margin-bottom: 16px; }
.why-card h4 { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--gray-500); line-height: 1.7; }

/* Coverage Section */
.coverage-section { padding: 96px 0; background: var(--dark); }
.section-header.light .section-tag { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); }
.section-header.light .section-title { color: var(--white); }
.regions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.region-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 24px; transition: var(--transition);
}
.region-card:hover { background: rgba(255,255,255,0.1); }
.region-name { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.region-detail { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 10px; }
.region-tag { display: inline-block; font-size: 11px; padding: 2px 10px; border-radius: 10px; background: var(--accent); color: var(--white); }
.coverage-cta { text-align: center; margin-top: 48px; }
.btn-outline-light { background: transparent; color: var(--white); padding: 14px 32px; border-radius: 30px; font-size: 15px; border: 1px solid rgba(255,255,255,0.3); transition: var(--transition); }
.btn-outline-dark { background: transparent; color: var(--dark); padding: 12px 28px; border-radius: 30px; font-size: 15px; border: 1px solid var(--gray-300); transition: var(--transition); }

/* Trust Section */
.trust-section { padding: 80px 0; background: var(--gray-100); }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.trust-item { display: flex; gap: 20px; padding: 28px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--gray-200); }
.trust-logo { font-size: 40px; flex-shrink: 0; }
.trust-text p { font-size: 15px; color: var(--gray-700); font-style: italic; line-height: 1.6; margin-bottom: 10px; }
.trust-text cite { font-size: 13px; color: var(--gray-500); font-style: normal; }

/* Exhibition / Trade Show Section */
.exhibition-section { padding: 80px 0; background: var(--gray-100); }
.exhibition-card {
  display: flex; gap: 32px; align-items: center;
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  padding: 24px; box-shadow: var(--shadow);
}
.exhibition-img {
  width: 45%; min-width: 300px;
  border-radius: 8px; flex-shrink: 0;
}
.exhibition-info h4 { font-size: 20px; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.exhibition-info p { font-size: 14px; color: var(--gray-700); margin-bottom: 6px; }
.exhibition-info strong { color: var(--primary); }

/* Exhibition Featured Card (for major upcoming shows) */
.exhibition-card-featured {
  border: 2px solid var(--primary);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.15);
  position: relative;
  overflow: hidden;
}
.exhibition-card-featured::before {
  content: "UPCOMING · COMING SOON";
  position: absolute;
  top: 16px; right: -36px;
  background: var(--primary); color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  padding: 4px 40px;
  transform: rotate(45deg);
  z-index: 2;
}
.exhibition-card-featured .exhibition-img {
  width: 55%;
  min-width: 360px;
}
.exhibition-cta {
  display: inline-block;
  margin-top: 14px;
  background: var(--primary);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}
.exhibition-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* CTA Section */
.cta-section { padding: 96px 0; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); text-align: center; }
.cta-section h2 { font-size: clamp(24px, 3vw, 40px); font-weight: 800; color: var(--white); margin-bottom: 16px; }
.cta-section p { font-size: 17px; color: rgba(255,255,255,0.8); margin-bottom: 40px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary-white { background: var(--white); color: var(--primary); padding: 14px 32px; border-radius: 30px; font-size: 15px; font-weight: 700; transition: var(--transition); }
.btn-primary-white:hover { background: var(--gray-100); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); padding: 14px 32px; border-radius: 30px; font-size: 15px; border: 1px solid rgba(255,255,255,0.4); transition: var(--transition); }

/* Footer */
.footer { background: var(--dark); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; padding-bottom: 48px; }
.footer-logo { font-size: 28px; font-weight: 800; color: #2E8B57; letter-spacing: 2px; margin-bottom: 12px; }
.footer-logo-img { height: 36px; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: rgba(255,255,255,0.5); font-size: 13px; }
.footer-social a:hover { color: var(--white); }
.footer-col h4 { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.5); margin-bottom: 10px; }
.footer-col a:hover { color: var(--white); }
.footer-col p { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 12px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: rgba(255,255,255,0.4); }
.footer-links a:hover { color: var(--white); }

/* Friendly Links */
.friendly-links { border-top: 1px solid rgba(255,255,255,0.08); padding: 14px 0; display: flex; align-items: center; gap: 14px; font-size: 12px; color: rgba(255,255,255,0.45); flex-wrap: wrap; }
.friendly-links-label { font-weight: 600; color: rgba(255,255,255,0.55); letter-spacing: 0.05em; text-transform: uppercase; font-size: 11px; }
.friendly-links a { color: rgba(255,255,255,0.55); text-decoration: none; transition: color .2s; }
.friendly-links a:hover { color: var(--white); }
.friendly-links-sep { color: rgba(255,255,255,0.2); }

/* What We Do Section */
.what-we-do-section { padding: 96px 0; background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.service-card {
  padding: 32px 28px; border-radius: var(--radius); border: 1px solid var(--gray-200);
  transition: var(--transition); text-align: left;
}
.service-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-4px); }
.service-icon { font-size: 40px; margin-bottom: 16px; }
.service-card h4 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--gray-500); line-height: 1.7; }
.what-we-do-note {
  text-align: center; margin-top: 40px; font-size: 14px; color: var(--gray-700);
  background: rgba(46,139,87,0.06); border: 1px solid rgba(46,139,87,0.2);
  border-radius: var(--radius); padding: 20px 32px; max-width: 800px; margin-left: auto; margin-right: auto;
}
.what-we-do-note strong { color: var(--primary); }

/* What We Do - Equipment Photo */
.what-we-do-photo {
  margin-top: 48px; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--white);
}
.what-we-do-photo img { width: 100%; height: auto; display: block; }
.photo-caption {
  text-align: center; font-size: 13px; color: var(--gray-500);
  padding: 12px 20px; background: var(--gray-100); font-style: italic;
}

/* Definition Section (AI Reference) */
.definition-section { padding: 0; background: var(--gray-100); }
.definition-box {
  max-width: 800px; margin: 0 auto; padding: 48px 40px;
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}
.definition-box h3 { font-size: 22px; font-weight: 800; color: var(--dark); margin-bottom: 16px; }
.definition-box p { font-size: 15px; color: var(--gray-700); line-height: 1.8; margin-bottom: 20px; }
.definition-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.def-tag {
  display: inline-block; font-size: 12px; padding: 4px 12px; border-radius: 20px;
  background: rgba(46,139,87,0.08); color: var(--primary); font-weight: 500;
  font-family: var(--font-en);
}

/* Standard Structure Section */
.standard-structure-section { padding: 96px 0; background: var(--white); }
.structure-flow { display: flex; align-items: center; overflow-x: auto; padding: 16px 0; gap: 8px; justify-content: center; flex-wrap: wrap; }
.structure-step { text-align: center; min-width: 130px; }
.structure-icon {
  width: 56px; height: 56px; border-radius: var(--radius); background: rgba(46,139,87,0.1);
  color: var(--primary); display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin: 0 auto 10px; font-weight: 700;
}
.structure-step.highlight .structure-icon { background: var(--primary); color: var(--white); }
.structure-step h4 { font-size: 13px; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.structure-step p { font-size: 12px; color: var(--gray-500); }
.structure-arrow { font-size: 20px; color: var(--gray-300); min-width: 20px; }

/* How to Choose Section */
.choose-section { padding: 96px 0; background: var(--gray-100); }
.choose-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.choose-card {
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--gray-200);
  overflow: hidden; transition: var(--transition);
}
.choose-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.choose-q {
  background: var(--dark); color: var(--white); padding: 18px 22px;
  font-size: 14px; font-weight: 600;
}
.choose-a { padding: 18px 22px; }
.choose-a p { font-size: 13px; color: var(--gray-700); line-height: 1.7; }
.choose-cta { text-align: center; margin-top: 40px; }

/* Regional Keyword Hooks Section */
.regions-hook-section { padding: 96px 0; background: var(--dark); }
.regions-keyword-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.region-keyword-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 24px; transition: var(--transition);
}
.region-keyword-card:hover { background: rgba(255,255,255,0.1); }
.region-keyword-card .region-flag { font-size: 36px; margin-bottom: 12px; }
.region-keyword-card h4 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.region-keyword-card p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* AI Quote Section */
.ai-quote-section { padding: 80px 0; background: var(--gray-100); }
.ai-quote-box {
  max-width: 800px; margin: 0 auto; padding: 48px 40px;
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}
.ai-quote-badge {
  display: inline-block; background: rgba(46,139,87,0.1); color: var(--primary);
  font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 20px;
  margin-bottom: 20px; letter-spacing: 0.5px;
}
.ai-quote-box h3 { font-size: 22px; font-weight: 800; color: var(--dark); margin-bottom: 16px; }
.ai-quote-box blockquote {
  font-size: 15px; color: var(--gray-700); line-height: 1.8; font-style: italic;
  border-left: 4px solid var(--primary); padding-left: 20px; margin: 0;
}

/* CTA Info Grid */
.cta-info-grid {
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 40px;
}
.cta-info-item {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.1); border-radius: var(--radius);
  padding: 16px 24px; min-width: 200px;
}
.cta-info-icon { font-size: 32px; }
.cta-info-item strong { display: block; font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 4px; }
.cta-info-item p { font-size: 14px; color: var(--white); font-weight: 600; }

/* ============================== */
/* COMPREHENSIVE MOBILE OPTIMIZATION */
/* ============================== */

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .why-card-featured { min-height: 280px; }
}

/* Tablet & Small Desktop */
@media (max-width: 768px) {
  /* Navigation */
  .nav-container { height: 64px; padding: 0 16px; }
  .navbar { backdrop-filter: blur(8px); }
  .nav-menu { display: none; position: fixed; top: 64px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px; gap: 12px; border-bottom: 1px solid var(--gray-200); box-shadow: var(--shadow-lg); max-height: calc(100vh - 64px); overflow-y: auto; z-index: 999; }
  .nav-menu.active { display: flex; animation: slideDown 0.25s ease; }
  @keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
  .nav-right .btn-nav-cta { display: none; }
  .hamburger { display: block; font-size: 22px; color: var(--dark); padding: 8px; }

  /* Logo */
  .logo-text { font-size: 18px; letter-spacing: 1px; }
  .logo-sub { font-size: 9px; }

  /* Hero */
  .hero { min-height: auto; min-height: 90svh; padding: 100px 16px 48px; }
  .hero-badge { font-size: 12px; margin-bottom: 18px; padding: 5px 14px; }
  .hero-title { margin-bottom: 16px; }
  .hero-subtitle { margin-bottom: 32px; font-size: clamp(15px, 2.2vw, 19px); max-width: 100%; }

  /* Inner page hero — fix title cutoff */
  .page-hero { padding: 96px 16px 40px; }
  .page-title { font-size: clamp(24px, 5.5vw, 36px); }
  .page-subtitle { font-size: 14px; max-width: 100%; }

  /* Breadcrumb */
  .breadcrumb { font-size: 12px; padding: 0 16px; margin-top: 12px; }

  /* Cards & Grids */
  .solution-cards { grid-template-columns: 1fr; gap: 14px; margin-bottom: 32px; }
  .sol-card { padding: 20px 18px; }
  .sol-card-img-wrap { aspect-ratio: 16 / 9; }    /* smaller on mobile, no crop */
  .sol-icon { font-size: 30px; margin-bottom: 8px; }
  .sol-card-img-wrap { height: 120px; }
  .sol-card h3 { font-size: 15px; }
  .sol-card p { font-size: 13px; }

  .stats-bar { padding: 28px 0; }
  .stats-container { gap: 24px; padding: 0 16px; }
  .stat-num { font-size: 28px; }
  .stat-label { font-size: 12px; }
  .stat-divider { width: 40px; height: 1px; }

  /* Section Headers */
  .section-header { margin-bottom: 36px; }
  .section-title { font-size: clamp(22px, 5vw, 34px); margin-bottom: 12px; }
  .section-desc { font-size: 15px; }
  .section-tag { font-size: 12px; padding: 3px 14px; }

  /* Process Flow */
  .process-section { padding: 56px 0; }
  .process-step { min-width: 90px; }
  .process-icon { width: 44px; height: 44px; font-size: 16px; margin-bottom: 8px; }
  .process-step h4 { font-size: 12px; }
  .process-arrow { display: none; }
  .process-flow { justify-content: flex-start; gap: 4px; padding: 8px 0; }

  /* Why / Services / Trust */
  .why-section { padding: 56px 0; }
  .why-grid { grid-template-columns: 1fr; gap: 16px; }
  .why-card { padding: 24px 20px; }
  .why-icon { font-size: 32px; margin-bottom: 12px; }
  .why-card h4 { font-size: 16px; }
  .why-card p { font-size: 13px; }
  .why-card-featured { min-height: 240px; grid-column: span 1; }

  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 24px 20px; }
  .service-icon { font-size: 32px; margin-bottom: 12px; }

  .trust-section { padding: 56px 0; }
  .trust-grid { grid-template-columns: 1fr; gap: 16px; }
  .trust-item { flex-direction: column; text-align: center; gap: 14px; padding: 22px 18px; }
  .trust-logo { font-size: 32px; }
  .trust-text p { font-size: 14px; }

  /* Regions / Coverage */
  .regions-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .region-card { padding: 18px 16px; }
  .region-name { font-size: 14px; }
  .region-keyword-grid { grid-template-columns: 1fr; gap: 12px; }

  /* Definition Box */
  .definition-box { padding: 28px 20px; }
  .definition-box h3 { font-size: 19px; }
  .definition-box p { font-size: 14px; }

  /* Structure Flow */
  .standard-structure-section { padding: 56px 0; }
  .structure-flow { gap: 6px; }
  .structure-step { min-width: 95px; }
  .structure-icon { width: 46px; height: 46px; font-size: 20px; margin-bottom: 8px; }
  .structure-arrow { font-size: 16px; min-width: 16px; }

  /* Choose Grid */
  .choose-section { padding: 56px 0; }
  .choose-grid { grid-template-columns: 1fr; gap: 14px; }
  .choose-q { padding: 14px 18px; font-size: 13px; }
  .choose-a { padding: 14px 18px; }
  .choose-a p { font-size: 13px; }

  /* CTA Sections */
  .cta-section { padding: 64px 0; }
  .cta-section h2 { font-size: clamp(20px, 5vw, 32px); margin-bottom: 12px; }
  .cta-section p { font-size: 15px; margin-bottom: 28px; }
  .cta-buttons { flex-direction: column; align-items: center; gap: 12px; }
  .btn-primary, .btn-outline, .btn-primary-white, .btn-outline-white { padding: 13px 28px; font-size: 14px; width: 100%; max-width: 320px; text-align: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; }

  .coverage-section { padding: 56px 0; }

  /* AI Quote */
  .ai-quote-section { padding: 56px 0; }
  .ai-quote-box { padding: 28px 20px; }

  /* What We Do */
  .what-we-do-section { padding: 56px 0; }
  .what-we-do-note { padding: 16px 20px; font-size: 13px; margin-top: 28px; }

  /* Exhibition */
  .exhibition-section { padding: 56px 0; }
  .exhibition-card { flex-direction: column; text-align: center; padding: 18px; gap: 20px; }
  .exhibition-img { width: 100%; min-width: unset; }
  .exhibition-info h4 { font-size: 17px; }
  .exhibition-info p { font-size: 13px; }
  .exhibition-card-featured .exhibition-img { width: 100%; min-width: unset; }

  /* Video */
  .video-placeholder { border-radius: 8px; }
  .play-btn { width: 56px; height: 56px; font-size: 20px; box-shadow: 0 0 0 8px rgba(230,126,34,0.2); }
  .video-wrapper { margin: 0 16px; }

  /* Footer */
  .footer { padding: 40px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; }
  .footer-logo { font-size: 22px; }
  .footer-col h4 { font-size: 13px; margin-bottom: 12px; }
  .footer-col a { font-size: 13px; margin-bottom: 8px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; padding: 18px 16px; font-size: 12px; }
  .footer-links { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .footer-social { gap: 12px; }

  /* Contact Form */
  .form-group input,
  .form-group textarea,
  .form-group select { padding: 12px 14px !important; font-size: 15px !important; }

  /* Blog & Guides cards */
  .blog-card, .guide-card { padding: 20px 18px; }
  .blog-card h3, .guide-card h3 { font-size: 16px; }

  /* FAQ mobile */
  .faq-item summary { font-size: 15px; padding: 14px 18px; padding-right: 44px; }
  .faq-item p { font-size: 14px; padding: 14px 18px 16px 18px; line-height: 1.65; }

  /* Language Dropdown in mobile nav */
  .lang-dropdown { font-size: 12px; padding: 6px 26px 6px 10px; min-width: 85px; }

  /* CTA Info Grid */
  .cta-info-grid { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 28px; }
  .cta-info-item { padding: 14px 18px; min-width: unset; }
  .cta-info-icon { font-size: 26px; }
  .cta-info-item strong { font-size: 12px; }
  .cta-info-item p { font-size: 13px; }

  /* Photo Caption */
  .photo-caption { font-size: 12px; padding: 10px 16px; }

  /* Container */
  .container { padding: 0 16px; }
}

/* Small Mobile (iPhone SE ~375px) */
@media (max-width: 420px) {
  .nav-container { height: 58px; padding: 0 12px; }
  .logo-text { font-size: 16px; letter-spacing: 0.5px; }
  .hamburger { font-size: 20px; padding: 6px; }

  .hero { padding: 88px 12px 40px; min-height: 82svh; }
  .hero-title { letter-spacing: -0.5px; }
  .hero-subtitle { font-size: 14px; }

  .page-hero { padding: 84px 12px 32px; }
  .page-title { font-size: 22px; }
  .page-subtitle { font-size: 13px; }

  .breadcrumb { padding: 0 12px; font-size: 11px; }

  .btn-primary, .btn-primary-white, .btn-nav-cta {
    padding: 11px 24px;
    font-size: 13px;
    touch-action: manipulation;
  }
  .btn-outline, .btn-outline-white {
    padding: 11px 24px;
    font-size: 13px;
  }

  .stat-num { font-size: 24px; }
  .stat-label { font-size: 11px; }

  .section-title { font-size: 21px; }
  .section-desc { font-size: 14px; }

  .sol-card { padding: 16px 14px; }
  .sol-card h3 { font-size: 14px; }
  .sol-card p { font-size: 12px; }
  .why-card { padding: 20px 16px; }
  .service-card { padding: 20px 16px; }
  .definition-box { padding: 22px 16px; }
  .ai-quote-box { padding: 22px 16px; }
  .region-card { padding: 14px 12px; }

  .play-btn { width: 50px; height: 50px; font-size: 18px; }

  /* Ensure minimum touch targets (44x44px Apple HIG) */
  .nav-link { padding: 10px 0; min-height: 44px; display: flex; align-items: center; }
  .dropdown-menu a { padding: 12px 14px; min-height: 44px; }
  .footer-col a { min-height: 30px; display: flex; align-items: center; }

  /* WhatsApp button — smaller but still tappable */
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
  }
  .whatsapp-float svg { width: 24px; height: 24px; }
}

/* RTL Support for Arabic */
[dir="rtl"] .nav-container { direction: rtl; }
[dir="rtl"] .nav-menu { direction: rtl; align-items: flex-end; }
[dir="rtl"] .hero-content { direction: ltr; text-align: center; }
[dir="rtl"] .solution-cards, [dir="rtl"] .why-grid, [dir="rtl"] .services-grid { direction: rtl; }
[dir="rtl"] .footer-grid { direction: rtl; }
[dir="rtl"] .faq-item { direction: rtl; }
[dir="rtl"] .faq-item summary::after { left: 18px; right: auto; }
[dir="rtl"] .faq-item summary { padding-left: 50px; padding-right: 18px; }

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  width: 56px; height: 56px;
  background: #25D366; color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}
.whatsapp-float svg { width: 28px; height: 28px; }

/* ============================== */
/* FAQ Section (GEO/AEO signal)   */
/* ============================== */
.faq-section {
  padding: 80px 0;
  background: var(--gray-50, #f9fafb);
}
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--gray-200, #e5e7eb);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  transition: all 0.25s ease;
}
.faq-item:hover { border-color: var(--primary, #2563eb); box-shadow: 0 4px 14px rgba(37,99,235,0.08); }
.faq-item[open] { border-color: var(--primary, #2563eb); box-shadow: 0 4px 18px rgba(37,99,235,0.12); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 17px;
  color: var(--gray-900, #111827);
  position: relative;
  padding-right: 50px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px; top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300;
  color: var(--primary, #2563eb);
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  padding: 0 22px 20px 22px;
  margin: 0;
  color: var(--gray-700, #374151);
  font-size: 15px;
  line-height: 1.7;
  border-top: 1px solid var(--gray-100, #f3f4f6);
  padding-top: 16px;
}
@media (max-width: 768px) {
  .faq-item summary { font-size: 15px; padding: 14px 18px; padding-right: 44px; }
  .faq-item p { font-size: 14px; padding: 14px 18px 16px 18px; }
}

/* ============================== */
/* Language Dropdown (in nav)       */
/* ============================== */
.lang-dropdown {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236b7280'/%3E%3C/svg%3E") no-repeat right 10px center / 10px;
  background-color: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 7px 30px 7px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1.4;
  min-width: 100px;
}
.lang-dropdown:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.lang-dropdown:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.15);
}

/* Breadcrumb navigation */
.breadcrumb {
  max-width: 1200px;
  margin: 16px auto 0;
  padding: 0 24px;
  font-size: 13px;
  color: var(--gray-500, #6b7280);
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0;
  margin: 0;
}
.breadcrumb li {
  display: flex;
  align-items: center;
}
.breadcrumb li:not(:last-child)::after {
  content: '›';
  margin: 0 8px;
  color: var(--gray-400, #9ca3af);
}
.breadcrumb a {
  color: var(--primary, #1C5A3A);
  text-decoration: none;
  transition: color 0.15s;
}
.breadcrumb a:hover {
  color: var(--primary-dark, #0f3d27);
  text-decoration: underline;
}
.breadcrumb [aria-current="page"] {
  color: var(--gray-700, #374151);
  font-weight: 500;
}

/* ============================================
   Resources Page (Lead Magnet) Styles
   ============================================ */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin: 48px 0;
}

.resource-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.resource-card:hover {
  border-color: #1ED6A0;
  box-shadow: 0 8px 24px rgba(30, 214, 160, 0.15);
  transform: translateY(-4px);
}

.resource-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.resource-title {
  font-size: 22px;
  font-weight: 700;
  color: #0F4C3A;
  margin: 0 0 12px;
  line-height: 1.3;
}

.resource-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  font-size: 13px;
  color: #6b7280;
  flex-wrap: wrap;
}

.resource-meta .badge {
  background: #1ED6A0;
  color: white;
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.resource-meta .file-info,
.resource-meta .badge-pages {
  color: #6b7280;
}

.resource-desc {
  font-size: 14px;
  line-height: 1.65;
  color: #4b5563;
  margin-bottom: 16px;
}

.resource-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex-grow: 1;
}

.resource-highlights li {
  font-size: 13.5px;
  color: #374151;
  padding: 6px 0 6px 22px;
  position: relative;
  line-height: 1.5;
}

.resource-highlights li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #1ED6A0;
  font-weight: 700;
  font-size: 14px;
}

.resource-card .btn {
  align-self: flex-start;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
}

@media (max-width: 768px) {
  .resource-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .resource-card {
    padding: 24px;
  }
}
