/* ============================================
   Deanboats v2 - Global Stylesheet
   Deep-sea blue + metal silver marine business style
   Supports 8 languages + RTL (Arabic)
   ============================================ */

:root {
  --primary: #0a3d62;
  --primary-light: #1e5f8a;
  --primary-dark: #062a44;
  --accent: #e58e26;
  --accent-light: #f6b93b;
  --silver: #c0c8d0;
  --text-dark: #1a1a2e;
  --text-gray: #555;
  --text-light: #888;
  --bg-light: #f5f7fa;
  --bg-white: #ffffff;
  --border: #e0e6ed;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
  --radius: 8px;
  --max-width: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  background: var(--bg-white);
  overflow-x: hidden;
}

/* RTL support for Arabic */
[dir="rtl"] body { text-align: right; }
[dir="rtl"] .nav-menu a::after { left: 0; right: auto; }
[dir="rtl"] .footer-col h4::after { left: auto; right: 0; }
[dir="rtl"] .hero-slider-prev { left: auto; right: 30px; }
[dir="rtl"] .hero-slider-next { right: auto; left: 30px; }

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ========== Header & Nav ========== */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: var(--transition);
}
.header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; max-width: var(--max-width); margin: 0 auto; padding: 0 20px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: 800; color: var(--primary); letter-spacing: -0.5px; }
.nav-logo img { height: 44px; width: auto; }
.nav-logo span { color: var(--accent); }
.nav-menu { display: flex; align-items: center; gap: 22px; }
.nav-menu a { font-size: 0.93rem; font-weight: 600; color: var(--text-dark); position: relative; padding: 4px 0; }
.nav-menu a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--accent); transition: var(--transition); }
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.nav-cta { background: var(--accent); color: #fff !important; padding: 9px 18px !important; border-radius: var(--radius); font-weight: 700 !important; }
.nav-cta:hover { background: var(--accent-light); transform: translateY(-1px); }
.nav-cta::after { display: none !important; }
.nav-right { display: flex; align-items: center; gap: 14px; }

/* Cart icon */
.cart-link { position: relative; font-size: 1.25rem; color: var(--primary); display: flex; align-items: center; }
.cart-count {
  position: absolute; top: -6px; right: -10px; background: var(--accent); color: #fff;
  min-width: 18px; height: 18px; border-radius: 10px; font-size: 0.7rem; font-weight: 700;
  display: none; align-items: center; justify-content: center; padding: 0 4px;
}
[dir="rtl"] .cart-count { right: auto; left: -10px; }

/* Language Switcher */
#lang-switcher { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px; background: var(--bg-light);
  border: 1px solid var(--border); border-radius: 20px; padding: 7px 14px;
  font-size: 0.85rem; font-weight: 600; color: var(--text-dark); cursor: pointer; transition: var(--transition);
}
.lang-btn:hover { border-color: var(--primary-light); background: #eef2f6; }
.lang-icon { font-size: 1rem; }
.lang-caret { font-size: 0.7rem; opacity: 0.6; }
.lang-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0; background: var(--bg-white);
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-hover);
  min-width: 160px; padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: var(--transition); z-index: 1200;
}
.lang-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-option {
  display: block; width: 100%; text-align: left; padding: 8px 12px; border: none; background: none;
  border-radius: 6px; font-size: 0.9rem; font-weight: 500; color: var(--text-dark); cursor: pointer; transition: var(--transition);
}
.lang-option:hover { background: var(--bg-light); }
.lang-option.active { background: var(--primary); color: #fff; font-weight: 700; }
[dir="rtl"] .lang-option { text-align: right; }
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--primary); border-radius: 2px; transition: var(--transition); }

/* ========== Hero ========== */
.hero { position: relative; height: 92vh; min-height: 620px; margin-top: 72px; overflow: hidden; }
.hero-slider { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 0.8s ease; background-size: cover; background-position: center;
  display: flex; align-items: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(6,42,68,0.88) 0%, rgba(10,61,98,0.65) 100%);
}
.hero-slide-1 { background: linear-gradient(135deg, #062a44 0%, #0a3d62 50%, #1e5f8a 100%); }
.hero-slide-2 { background: linear-gradient(135deg, #0c2461 0%, #1e3799 50%, #4a69bd 100%); }
.hero-slide-3 { background: linear-gradient(135deg, #0a3d62 0%, #14527a 50%, #1e5f8a 100%); }
.hero-content { position: relative; z-index: 2; max-width: var(--max-width); margin: 0 auto; padding: 0 20px; color: #fff; width: 100%; }
.hero-badge {
  display: inline-block; background: rgba(229,142,38,0.2); border: 1px solid var(--accent);
  color: var(--accent-light); padding: 6px 18px; border-radius: 30px; font-size: 0.82rem;
  font-weight: 600; margin-bottom: 20px; letter-spacing: 1px; text-transform: uppercase;
}
.hero h1 { font-size: 3rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; letter-spacing: -1px; }
.hero h1 span { color: var(--accent-light); }
.hero p { font-size: 1.1rem; max-width: 620px; margin-bottom: 35px; opacity: 0.92; line-height: 1.8; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: var(--radius); font-weight: 700; font-size: 1rem;
  cursor: pointer; border: none; transition: var(--transition); text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(229,142,38,0.4); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-dark { background: var(--primary); color: #fff; }
.btn-dark:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn-silver { background: var(--silver); color: var(--primary-dark); }
.btn-silver:hover { background: #d4dade; transform: translateY(-2px); }

.hero-slider-dots { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.hero-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: var(--transition); border: none; }
.hero-dot.active { background: var(--accent); width: 36px; border-radius: 6px; }
.hero-slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px;
  border-radius: 50%; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
  color: #fff; font-size: 1.3rem; cursor: pointer; z-index: 5; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.hero-slider-arrow:hover { background: var(--accent); border-color: var(--accent); }
.hero-slider-prev { left: 30px; }
.hero-slider-next { right: 30px; }

/* Video play button */
.video-play-btn {
  position: absolute; bottom: 40px; right: 40px; width: 70px; height: 70px; border-radius: 50%;
  background: var(--accent); border: none; color: #fff; font-size: 1.6rem; cursor: pointer;
  z-index: 6; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 0 rgba(229,142,38,0.5); animation: pulse 2s infinite; transition: var(--transition);
}
.video-play-btn:hover { transform: scale(1.08); }
[dir="rtl"] .video-play-btn { right: auto; left: 40px; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(229,142,38,0.5); }
  70% { box-shadow: 0 0 0 18px rgba(229,142,38,0); }
  100% { box-shadow: 0 0 0 0 rgba(229,142,38,0); }
}

/* Video modal */
.video-modal-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.88);
  z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px;
}
.video-modal-overlay.active { display: flex; }
.video-modal-content { position: relative; width: 100%; max-width: 900px; background: #000; border-radius: var(--radius); overflow: hidden; }
.video-modal-content video { display: block; width: 100%; aspect-ratio: 16/9; object-fit: contain; }
.video-modal-close { position: absolute; top: -42px; right: 0; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; }
.video-modal-close:hover { color: var(--accent); transform: rotate(90deg); }
.video-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; text-align: center; padding: 40px; }
.video-placeholder-icon { font-size: 4rem; margin-bottom: 20px; opacity: 0.6; }
.video-placeholder h3 { font-size: 1.5rem; margin-bottom: 10px; }
.video-placeholder p { opacity: 0.7; font-size: 0.95rem; }

/* ========== Sections ========== */
.section { padding: 88px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-label { display: inline-block; color: var(--accent); font-size: 0.85rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-size: 2.3rem; font-weight: 800; color: var(--text-dark); margin-bottom: 16px; letter-spacing: -0.5px; }
.section-subtitle { font-size: 1.02rem; color: var(--text-gray); max-width: 680px; margin: 0 auto; }
.section-divider { width: 60px; height: 4px; background: var(--accent); margin: 20px auto 0; border-radius: 2px; }

/* ========== Features ========== */
.features { background: var(--bg-light); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.feature-card {
  background: var(--bg-white); padding: 34px 26px; border-radius: var(--radius); text-align: center;
  transition: var(--transition); border: 1px solid var(--border);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--accent); }
.feature-icon { width: 68px; height: 68px; margin: 0 auto 20px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: #fff; }
.feature-card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 12px; }
.feature-card p { font-size: 0.9rem; color: var(--text-gray); line-height: 1.7; }

/* ========== Products ========== */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
  background: var(--bg-white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--border);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.product-image { position: relative; height: 190px; overflow: hidden; background: linear-gradient(135deg, var(--primary-dark), var(--primary-light)); display: flex; align-items: center; justify-content: center; }
.product-image-icon { font-size: 3.6rem; opacity: 0.4; }
.product-tag { position: absolute; top: 14px; left: 14px; background: var(--accent); color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; }
[dir="rtl"] .product-tag { left: auto; right: 14px; }
.product-mat-tag { position: absolute; top: 14px; right: 14px; padding: 4px 10px; border-radius: 20px; font-size: 0.7rem; font-weight: 700; color: #fff; }
[dir="rtl"] .product-mat-tag { right: auto; left: 14px; }
.mat-aluminum { background: #5a7a9a; }
.mat-frp { background: #2e8b57; }
.mat-steel { background: #696969; }
.filter-label { text-align: center; font-size: 0.85rem; font-weight: 700; color: var(--text-gray); text-transform: uppercase; letter-spacing: 1px; margin: 0 0 12px; }
.material-filters { margin-bottom: 50px; }
.product-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 8px; }
.product-body p { font-size: 0.88rem; color: var(--text-gray); margin-bottom: 14px; line-height: 1.7; flex: 1; }
.product-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.product-spec { background: var(--bg-light); padding: 3px 10px; border-radius: 4px; font-size: 0.76rem; color: var(--text-gray); font-weight: 600; }
.product-meta { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--text-light); margin-bottom: 10px; }
.product-price { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.price-b2b { font-size: 1.15rem; font-weight: 800; color: var(--primary); }
.price-b2c { font-size: 1.05rem; font-weight: 700; color: var(--accent); }
.price-sep { color: var(--border); font-weight: 400; }
.product-price small { font-size: 0.7rem; color: var(--text-light); font-weight: 500; display: block; }
.product-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.product-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 700; font-size: 0.9rem; }
.product-link:hover { color: var(--accent); }
.btn-add-cart {
  background: var(--accent); color: #fff; border: none; padding: 8px 14px; border-radius: 6px;
  font-size: 0.8rem; font-weight: 700; cursor: pointer; transition: var(--transition);
}
.btn-add-cart:hover { background: var(--accent-light); }

/* Product filters */
.product-filters { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn { padding: 9px 20px; border: 2px solid var(--border); background: var(--bg-white); border-radius: 30px; font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: var(--transition); color: var(--text-gray); }
.filter-btn:hover, .filter-btn.active { border-color: var(--accent); background: var(--accent); color: #fff; }
.b2b-hint, .b2c-hint { display: inline-block; font-size: 0.75rem; font-weight: 600; padding: 3px 10px; border-radius: 4px; margin-bottom: 12px; }
.b2b-hint { background: #e8f0fa; color: var(--primary); }
.b2c-hint { background: #fdf1e0; color: var(--accent); }

/* ========== Stats ========== */
.stats { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; padding: 66px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item h3 { font-size: 2.7rem; font-weight: 800; color: var(--accent-light); margin-bottom: 8px; }
.stat-item p { font-size: 0.98rem; opacity: 0.85; font-weight: 500; }

/* ========== Process ========== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.process-step { text-align: center; position: relative; }
.process-number { width: 62px; height: 62px; margin: 0 auto 18px; background: var(--bg-white); border: 3px solid var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.45rem; font-weight: 800; color: var(--accent); position: relative; z-index: 2; }
.process-step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.process-step p { font-size: 0.87rem; color: var(--text-gray); line-height: 1.7; }

/* ========== Markets cards (home) ========== */
.markets-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.market-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: var(--transition); position: relative; overflow: hidden; }
.market-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--accent); }
.market-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.market-icon { font-size: 2rem; margin-bottom: 14px; }
.market-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; color: var(--primary); }
.market-card p { font-size: 0.88rem; color: var(--text-gray); line-height: 1.7; }

/* ========== Cases ========== */
.cases-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.case-card { background: var(--bg-light); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: var(--transition); }
.case-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.case-icon { font-size: 1.8rem; margin-bottom: 12px; }
.case-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--primary); }
.case-card p { font-size: 0.86rem; color: var(--text-gray); line-height: 1.7; }

/* ========== CTA ========== */
.cta-section { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); color: #fff; text-align: center; padding: 76px 0; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -50%; right: -10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(229,142,38,0.15) 0%, transparent 70%); border-radius: 50%; }
.cta-section h2 { font-size: 2.1rem; font-weight: 800; margin-bottom: 16px; position: relative; }
.cta-section p { font-size: 1.05rem; opacity: 0.9; margin-bottom: 32px; max-width: 620px; margin-left: auto; margin-right: auto; position: relative; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ========== Page Header ========== */
.page-header { margin-top: 72px; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; padding: 74px 0; text-align: center; position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; top: -30%; right: -5%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(229,142,38,0.12) 0%, transparent 70%); border-radius: 50%; }
.page-header h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 14px; position: relative; }
.page-header p { font-size: 1.05rem; opacity: 0.85; max-width: 620px; margin: 0 auto; position: relative; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; margin-top: 18px; font-size: 0.88rem; opacity: 0.8; position: relative; }
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb .separator { opacity: 0.5; }

/* ========== Product Detail ========== */
.detail-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: start; }
.detail-gallery { display: grid; gap: 14px; }
.detail-img { background: linear-gradient(135deg, var(--primary-dark), var(--primary-light)); border-radius: var(--radius); height: 200px; display: flex; align-items: center; justify-content: center; }
.detail-img-icon { font-size: 4rem; opacity: 0.4; }
.detail-info .detail-cat { display: inline-block; background: var(--bg-light); color: var(--accent); font-size: 0.8rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; margin-bottom: 12px; }
.detail-info h1 { font-size: 2rem; font-weight: 800; margin-bottom: 14px; }
.detail-desc { color: var(--text-gray); margin-bottom: 24px; line-height: 1.8; }
.detail-specs h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; color: var(--primary); }
.detail-specs ul { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.detail-specs li { background: var(--bg-light); padding: 6px 16px; border-radius: 6px; font-size: 0.88rem; font-weight: 600; }
.detail-params { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 26px; }
.detail-params > div { background: var(--bg-light); border-radius: var(--radius); padding: 14px 16px; }
.detail-params span { display: block; font-size: 0.78rem; color: var(--text-light); margin-bottom: 4px; }
.detail-params strong { font-size: 0.95rem; color: var(--text-dark); }
.detail-price { display: flex; gap: 30px; background: #f8fafc; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 24px; }
.detail-price .dp-label { display: block; font-size: 0.75rem; color: var(--text-light); }
.detail-price .dp-b2b { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.detail-price .dp-b2c { font-size: 1.3rem; font-weight: 800; color: var(--accent); }
.detail-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.notfound { text-align: center; padding: 80px 0; color: var(--text-gray); font-size: 1.1rem; }

/* ========== Configurator ========== */
.configurator-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.configurator-preview { position: sticky; top: 100px; }
.config-preview-box { background: linear-gradient(135deg, var(--primary-dark), var(--primary-light)); border-radius: var(--radius); height: 340px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; margin-bottom: 20px; }
.config-preview-visual { text-align: center; color: #fff; }
.config-preview-visual .boat-icon { font-size: 5.5rem; margin-bottom: 16px; opacity: 0.7; }
.config-preview-visual h3 { font-size: 1.4rem; margin-bottom: 6px; }
.config-preview-visual p { opacity: 0.7; font-size: 0.9rem; }
.config-summary { background: var(--bg-light); border-radius: var(--radius); padding: 22px; border: 1px solid var(--border); }
.config-summary h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; }
.config-summary-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: 0.9rem; }
.config-summary-row:last-child { border-bottom: none; }
.config-summary-row .label { color: var(--text-gray); }
.config-summary-row .value { font-weight: 600; }
.config-progress-wrap { margin: 14px 0; }
.config-progress-label { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--text-light); margin-bottom: 6px; }
.config-progress-bar { height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.config-progress { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-light)); border-radius: 4px; transition: width 0.4s ease; }
.config-price { margin-top: 14px; padding-top: 14px; border-top: 2px solid var(--accent); display: flex; justify-content: space-between; align-items: center; }
.config-price .label { font-size: 0.98rem; font-weight: 700; }
.config-price .price { font-size: 1.4rem; font-weight: 800; color: var(--accent); }
.config-price .note { font-size: 0.75rem; color: var(--text-light); display: block; margin-top: 4px; }

.configurator-form .form-group { margin-bottom: 26px; }
.configurator-form label { display: block; font-weight: 700; font-size: 0.93rem; margin-bottom: 12px; }
.configurator-form label .required { color: #e74c3c; }
.option-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.option-card { border: 2px solid var(--border); border-radius: var(--radius); padding: 13px 8px; text-align: center; cursor: pointer; transition: var(--transition); background: var(--bg-white); }
.option-card:hover { border-color: var(--primary-light); }
.option-card.selected { border-color: var(--accent); background: rgba(229,142,38,0.05); }
.option-card .option-icon { font-size: 1.4rem; margin-bottom: 5px; }
.option-card .option-name { font-size: 0.82rem; font-weight: 600; }
.option-card .option-price { font-size: 0.72rem; color: var(--accent); font-weight: 700; margin-top: 3px; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 12px 15px; border: 2px solid var(--border); border-radius: var(--radius); font-size: 0.93rem; font-family: inherit; transition: var(--transition); background: var(--bg-white); }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(10,61,98,0.1); }
.form-textarea { resize: vertical; min-height: 96px; }
.checkbox-group { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.checkbox-item { display: flex; align-items: center; gap: 10px; padding: 10px 13px; border: 2px solid var(--border); border-radius: var(--radius); cursor: pointer; transition: var(--transition); font-size: 0.85rem; }
.checkbox-item:hover { border-color: var(--primary-light); }
.checkbox-item.checked { border-color: var(--accent); background: rgba(229,142,38,0.05); }
.checkbox-item input { width: 17px; height: 17px; accent-color: var(--accent); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 8px; }
.form-group label .required { color: #e74c3c; }
.config-save-load { display: flex; gap: 10px; margin-bottom: 24px; }
.config-save-load button { flex: 1; padding: 10px; border: 2px solid var(--primary); background: none; color: var(--primary); border-radius: var(--radius); font-weight: 700; cursor: pointer; transition: var(--transition); font-size: 0.88rem; }
.config-save-load button:hover { background: var(--primary); color: #fff; }

/* Quote modal */
.quote-modal-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.75);
  z-index: 2500; display: none; align-items: center; justify-content: center; padding: 20px;
}
.quote-modal-overlay.active { display: flex; }
.quote-modal { background: var(--bg-white); border-radius: var(--radius); max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 32px; position: relative; }
.quote-modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 1.6rem; color: var(--text-gray); cursor: pointer; }
[dir="rtl"] .quote-modal-close { right: auto; left: 16px; }
.quote-modal h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.quote-modal > p { font-size: 0.88rem; color: var(--text-gray); margin-bottom: 20px; }
.quote-summary { background: var(--bg-light); border-radius: var(--radius); padding: 16px; margin-bottom: 20px; }
.quote-row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--border); font-size: 0.88rem; }
.quote-row:last-child { border-bottom: none; }
.quote-row span { color: var(--text-gray); }
.quote-row strong { color: var(--text-dark); }

/* ========== Contact ========== */
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; }
.contact-info-card { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; border-radius: var(--radius); padding: 36px 30px; }
.contact-info-card h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 10px; }
.contact-info-card > p { opacity: 0.85; margin-bottom: 28px; font-size: 0.92rem; }
.contact-info-item { display: flex; gap: 15px; margin-bottom: 22px; align-items: flex-start; }
.contact-info-item .icon { width: 44px; height: 44px; background: rgba(255,255,255,0.12); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-info-item h4 { font-size: 0.92rem; font-weight: 700; margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { font-size: 0.88rem; opacity: 0.85; line-height: 1.6; }
.contact-info-item a:hover { opacity: 1; color: var(--accent-light); }
.contact-form-card { background: var(--bg-white); border-radius: var(--radius); padding: 36px 30px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.contact-form-card h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 8px; }
.contact-form-card > p { color: var(--text-gray); margin-bottom: 26px; font-size: 0.92rem; }

/* ========== About ========== */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 64px; }
.about-hero-image { background: linear-gradient(135deg, var(--primary-dark), var(--primary-light)); border-radius: var(--radius); height: 380px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.about-hero-image .big-icon { font-size: 7.5rem; opacity: 0.3; }
.about-hero-content h2 { font-size: 1.9rem; font-weight: 800; margin-bottom: 18px; }
.about-hero-content p { color: var(--text-gray); margin-bottom: 15px; line-height: 1.8; }
.about-materials { background: var(--bg-light); }
.materials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.material-card { background: var(--bg-white); border-radius: var(--radius); padding: 30px; border: 1px solid var(--border); transition: var(--transition); }
.material-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.material-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; color: var(--primary); }
.material-card .material-grade { display: inline-block; background: var(--accent); color: #fff; padding: 3px 12px; border-radius: 4px; font-size: 0.78rem; font-weight: 700; margin-bottom: 13px; }
.material-card p { color: var(--text-gray); font-size: 0.9rem; line-height: 1.7; }
.material-card ul { margin-top: 13px; }
.material-card ul li { padding: 5px 0; font-size: 0.88rem; color: var(--text-gray); display: flex; align-items: center; gap: 8px; }
.material-card ul li::before { content: '✓'; color: var(--accent); font-weight: 700; }

/* ========== Custom / Cert / Logistics / Markets pages ========== */
.custom-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-bottom: 56px; }
.caps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cap-item { background: var(--bg-light); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: flex; gap: 12px; align-items: flex-start; transition: var(--transition); }
.cap-item:hover { box-shadow: var(--shadow); border-color: var(--accent); }
.cap-check { color: var(--accent); font-weight: 800; font-size: 1.1rem; flex-shrink: 0; }
.cap-item p { font-size: 0.9rem; line-height: 1.6; }

.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cert-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; text-align: center; transition: var(--transition); }
.cert-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.cert-icon { font-size: 2.6rem; margin-bottom: 14px; }
.cert-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; color: var(--primary); }
.cert-card p { font-size: 0.88rem; color: var(--text-gray); line-height: 1.7; }

.logistics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 40px; }
.logistics-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: var(--transition); }
.logistics-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.logistics-icon { font-size: 2.2rem; margin-bottom: 12px; }
.logistics-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; color: var(--primary); }
.logistics-card p { font-size: 0.86rem; color: var(--text-gray); line-height: 1.7; }

.warranty-list { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.warranty-list h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 18px; color: var(--primary); }
.warranty-list ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.warranty-list li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; }
.warranty-list li::before { content: '✓'; color: var(--accent); font-weight: 800; }
.logistics-note { background: #fdf6ec; border: 1px solid #f0d9b8; border-radius: var(--radius); padding: 18px 22px; font-size: 0.9rem; color: #7a5a28; margin-top: 24px; }

.markets-full-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.market-full-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; transition: var(--transition); position: relative; overflow: hidden; }
.market-full-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.market-full-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.market-full-card .market-flag { font-size: 2.6rem; margin-bottom: 12px; }
.market-full-card h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 10px; color: var(--primary); }
.market-full-card p { font-size: 0.9rem; color: var(--text-gray); line-height: 1.75; }

/* ========== Checkout ========== */
.checkout-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.checkout-summary { background: var(--bg-light); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; position: sticky; top: 100px; }
.checkout-summary h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 18px; }
.cart-item { display: flex; gap: 14px; align-items: center; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; margin-bottom: 12px; }
.cart-icon { font-size: 2rem; flex-shrink: 0; }
.cart-info { flex: 1; }
.cart-info h4 { font-size: 0.98rem; font-weight: 700; margin-bottom: 3px; }
.cart-mode { display: inline-block; font-size: 0.7rem; font-weight: 700; background: var(--bg-light); color: var(--primary); padding: 2px 8px; border-radius: 4px; margin-right: 8px; }
.cart-price { font-size: 0.85rem; font-weight: 700; color: var(--accent); }
.cart-actions { display: flex; align-items: center; gap: 8px; }
.cart-qty { width: 26px; height: 26px; border: 1px solid var(--border); background: var(--bg-white); border-radius: 4px; cursor: pointer; font-size: 0.9rem; }
.cart-remove { width: 26px; height: 26px; border: none; background: none; color: #e74c3c; cursor: pointer; font-size: 0.9rem; }
.cart-empty { text-align: center; padding: 40px 0; color: var(--text-gray); }
.checkout-total-row { display: flex; justify-content: space-between; align-items: center; border-top: 2px solid var(--accent); padding-top: 16px; margin-top: 16px; }
.checkout-total-row .label { font-size: 1.1rem; font-weight: 800; }
.checkout-total-row .total { font-size: 1.5rem; font-weight: 800; color: var(--accent); }
.checkout-confirm { display: none; background: #eef7ee; border: 1px solid #b7dcb7; border-radius: var(--radius); padding: 24px; margin-top: 20px; }
.checkout-confirm h3 { color: #2d7d2d; font-size: 1.2rem; margin-bottom: 10px; }
.checkout-confirm .order-no { font-size: 1.4rem; font-weight: 800; color: var(--primary); }
.checkout-confirm p { font-size: 0.9rem; color: var(--text-gray); margin: 10px 0; }
.checkout-note { font-size: 0.8rem; color: var(--text-light); margin-top: 12px; }

/* ========== Toast ========== */
.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--primary); color: #fff; padding: 13px 26px; border-radius: 8px;
  font-size: 0.9rem; font-weight: 600; z-index: 3000; opacity: 0; visibility: hidden;
  transition: all 0.3s ease; box-shadow: var(--shadow-hover); max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* ========== Footer ========== */
.footer { background: var(--primary-dark); color: rgba(255,255,255,0.8); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; margin-bottom: 46px; }
.footer-brand h3 { color: #fff; font-size: 1.45rem; font-weight: 800; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.footer-brand h3 img { height: 36px; }
.footer-brand h3 span { color: var(--accent); }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; margin-bottom: 20px; opacity: 0.8; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 0.95rem; transition: var(--transition); }
.footer-social a:hover { background: var(--accent); transform: translateY(-3px); }
.footer-col h4 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 3px; background: var(--accent); border-radius: 2px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { font-size: 0.9rem; opacity: 0.8; transition: var(--transition); }
.footer-col ul li a:hover { opacity: 1; color: var(--accent-light); padding-left: 5px; }
[dir="rtl"] .footer-col ul li a:hover { padding-left: 0; padding-right: 5px; }
.footer-contact-item { display: flex; gap: 12px; margin-bottom: 15px; font-size: 0.9rem; line-height: 1.6; }
.footer-contact-item .icon { color: var(--accent); font-size: 1.05rem; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a:hover { color: var(--accent-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; text-align: center; font-size: 0.86rem; opacity: 0.7; }
.footer-bottom a { color: var(--accent-light); }

/* ========== Floating buttons ========== */
.whatsapp-float {
  position: fixed; bottom: 28px; left: 28px; width: 56px; height: 56px; background: #25D366; color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
  z-index: 999; box-shadow: 0 4px 15px rgba(37,211,102,0.4); transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); }
[dir="rtl"] .whatsapp-float { left: auto; right: 28px; }
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; width: 46px; height: 46px; background: var(--primary);
  color: #fff; border: none; border-radius: 50%; font-size: 1.15rem; cursor: pointer; z-index: 999;
  opacity: 0; visibility: hidden; transition: var(--transition); box-shadow: var(--shadow);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent); transform: translateY(-3px); }
[dir="rtl"] .back-to-top { right: auto; left: 28px; }

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .features-grid, .stats-grid, .process-grid, .markets-grid, .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .configurator-layout, .contact-layout, .about-hero, .detail-layout, .checkout-layout { grid-template-columns: 1fr; }
  .configurator-preview, .checkout-summary { position: static; }
  .custom-steps, .logistics-grid, .cert-grid, .markets-full-grid { grid-template-columns: repeat(2, 1fr); }
  .caps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed; top: 72px; left: 0; width: 100%; background: var(--bg-white);
    flex-direction: column; padding: 20px; gap: 15px; box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(-150%); transition: transform 0.3s ease; overflow-y: auto; max-height: calc(100vh - 72px);
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .nav-right .nav-cta { display: none; }
  .hero { height: 88vh; min-height: 560px; }
  .hero h1 { font-size: 1.85rem; }
  .hero p { font-size: 0.95rem; }
  .section { padding: 56px 0; }
  .section-title { font-size: 1.7rem; }
  .features-grid, .stats-grid, .process-grid, .markets-grid, .cases-grid,
  .products-grid, .footer-grid, .materials-grid, .option-grid, .checkbox-group,
  .custom-steps, .logistics-grid, .cert-grid, .markets-full-grid, .caps-grid,
  .warranty-list ul, .detail-params { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-slider-arrow { display: none; }
  .page-header h1 { font-size: 1.7rem; }
  .cta-section h2 { font-size: 1.5rem; }
  .whatsapp-float { width: 48px; height: 48px; font-size: 1.3rem; bottom: 18px; left: 18px; }
  .back-to-top { bottom: 18px; right: 18px; }
  .video-play-btn { width: 56px; height: 56px; bottom: 24px; right: 20px; font-size: 1.3rem; }
  .lang-btn-current { display: none; }
  .lang-btn { padding: 7px 10px; }
}

/* ========== v3: Category Horizontal Scroll ========== */
.category-scroll-wrap { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 50px; }
.category-scroll { display: flex; gap: 18px; overflow-x: auto; scroll-behavior: smooth; padding: 10px 5px 25px; scrollbar-width: none; -ms-overflow-style: none; }
.category-scroll::-webkit-scrollbar { display: none; }
.cat-card { flex: 0 0 180px; background: var(--bg-white); border-radius: 16px; overflow: hidden; text-decoration: none; box-shadow: 0 4px 20px rgba(0,0,0,0.08); transition: var(--transition); border: 2px solid transparent; }
.cat-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(10,61,98,0.2); border-color: var(--accent); }
.cat-card-icon { height: 110px; display: flex; align-items: center; justify-content: center; font-size: 3rem; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.cat-card-name { padding: 14px 10px; text-align: center; font-weight: 700; font-size: 0.9rem; color: var(--primary); }
.cat-scroll-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--primary); color: #fff; font-size: 1.5rem; cursor: pointer; z-index: 2; box-shadow: 0 4px 12px rgba(0,0,0,0.2); transition: var(--transition); display: flex; align-items: center; justify-content: center; }
.cat-scroll-btn:hover { background: var(--accent); }
.cat-prev { left: 5px; }
.cat-next { right: 5px; }
[dir="rtl"] .cat-prev { left: auto; right: 5px; }
[dir="rtl"] .cat-next { right: auto; left: 5px; }
@media (max-width: 768px) {
  .category-scroll-wrap { padding: 0 10px; }
  .cat-scroll-btn { display: none; }
  .cat-card { flex: 0 0 140px; }
  .cat-card-icon { height: 90px; font-size: 2.2rem; }
}

/* ========== v3: R&D Page ========== */
.rd-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.rd-intro-text h2 { font-size: 2rem; margin: 10px 0 20px; color: var(--primary); }
.rd-intro-text p { color: var(--text-gray); line-height: 1.8; margin-bottom: 15px; }
.rd-stats { display: flex; gap: 30px; margin-top: 30px; }
.rd-stat { text-align: center; }
.rd-stat strong { display: block; font-size: 2.2rem; color: var(--accent); font-weight: 800; }
.rd-stat span { font-size: 0.82rem; color: var(--text-gray); }
.rd-visual-card { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-radius: 20px; padding: 50px 30px; text-align: center; color: #fff; }
.rd-visual-icon { font-size: 4rem; margin-bottom: 20px; }
.rd-visual-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.rd-visual-card p { opacity: 0.85; font-size: 0.9rem; line-height: 1.6; }
.rd-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; }
.rd-card { background: var(--bg-white); border-radius: 16px; padding: 35px 28px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: var(--transition); border-top: 4px solid var(--accent); }
.rd-card:hover { transform: translateY(-5px); box-shadow: 0 12px 35px rgba(10,61,98,0.15); }
.rd-card-icon { font-size: 2.5rem; margin-bottom: 18px; }
.rd-card h3 { font-size: 1.15rem; color: var(--primary); margin-bottom: 12px; }
.rd-card p { color: var(--text-gray); font-size: 0.88rem; line-height: 1.7; }
.material-compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.mat-compare-card { border-radius: 16px; padding: 35px 28px; color: #fff; }
.mat-compare-card.mat-aluminum { background: linear-gradient(135deg, #5a7a9a, #3d5a7a); }
.mat-compare-card.mat-frp { background: linear-gradient(135deg, #2e8b57, #1a5c3a); }
.mat-compare-card.mat-steel { background: linear-gradient(135deg, #696969, #404040); }
.mat-compare-icon { font-size: 2.5rem; margin-bottom: 15px; }
.mat-compare-card h3 { font-size: 1.2rem; margin-bottom: 18px; }
.mat-compare-card ul { list-style: none; padding: 0; }
.mat-compare-card li { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.15); font-size: 0.88rem; line-height: 1.5; }
.mat-compare-card li:last-child { border-bottom: none; }
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.process-step { background: var(--bg-white); border-radius: 16px; padding: 30px 25px; position: relative; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.process-num { position: absolute; top: -15px; right: 20px; background: var(--accent); color: #fff; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem; }
[dir="rtl"] .process-num { right: auto; left: 20px; }
.process-step h4 { font-size: 1.05rem; color: var(--primary); margin-bottom: 10px; margin-top: 5px; }
.process-step p { color: var(--text-gray); font-size: 0.85rem; line-height: 1.6; }
@media (max-width: 900px) {
  .rd-intro { grid-template-columns: 1fr; }
  .rd-grid, .material-compare, .process-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .rd-grid, .material-compare, .process-steps { grid-template-columns: 1fr; }
  .rd-stats { flex-direction: column; gap: 15px; }
}

/* ========== v4: Project Cases ========== */
.cases-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 50px; }
.cases-stat { text-align: center; padding: 25px 15px; background: var(--bg-white); border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.cases-stat strong { display: block; font-size: 2.2rem; color: var(--accent); font-weight: 800; }
.cases-stat span { font-size: 0.85rem; color: var(--text-gray); }
.cases-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.case-preview-card { background: var(--bg-white); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); transition: var(--transition); }
.case-preview-card:hover { transform: translateY(-5px); box-shadow: 0 12px 35px rgba(10,61,98,0.15); }
.case-preview-img { height: 140px; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.case-preview-body { padding: 22px; }
.case-tag { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 0.72rem; font-weight: 700; background: var(--accent); color: #fff; margin-bottom: 10px; }
.case-tag-region { background: var(--primary); margin-left: 6px; }
.case-preview-body h3 { font-size: 1.05rem; color: var(--primary); margin-bottom: 8px; line-height: 1.4; }
.case-preview-body p { font-size: 0.85rem; color: var(--text-gray); line-height: 1.6; }
.case-detail-card { display: grid; grid-template-columns: 280px 1fr; gap: 30px; background: var(--bg-white); border-radius: 16px; padding: 30px; margin-bottom: 30px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.case-detail-img { display: flex; align-items: center; justify-content: center; font-size: 5rem; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-radius: 12px; min-height: 200px; }
.case-detail-body h2 { font-size: 1.4rem; color: var(--primary); margin: 12px 0 15px; }
.case-meta { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 15px; font-size: 0.85rem; color: var(--text-gray); }
.case-meta span strong { color: var(--primary); }
.case-detail-body > p { color: var(--text-gray); line-height: 1.8; margin-bottom: 18px; font-size: 0.92rem; }
.case-highlights { display: flex; flex-wrap: wrap; gap: 12px; }
.case-highlight { display: flex; align-items: center; gap: 8px; background: var(--bg-light); padding: 8px 14px; border-radius: 8px; font-size: 0.82rem; color: var(--text-gray); }
.case-highlight span:first-child { color: #2e8b57; font-weight: 700; }
@media (max-width: 900px) {
  .cases-stats { grid-template-columns: repeat(2, 1fr); }
  .cases-preview-grid { grid-template-columns: 1fr 1fr; }
  .case-detail-card { grid-template-columns: 1fr; }
  .case-detail-img { min-height: 150px; }
}
@media (max-width: 600px) {
  .cases-preview-grid { grid-template-columns: 1fr; }
  .cases-stats { grid-template-columns: 1fr 1fr; }
}

/* ========== v5: Hero Video Background ========== */
.hero-video { position: relative; overflow: hidden; }
.hero-video-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.hero-video-bg video { width: 100%; height: 100%; object-fit: cover; }
.hero-video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(10,61,98,0.85), rgba(10,61,98,0.6)); }
.hero-video .hero-slider, .hero-video .hero-slider-arrow, .hero-video .hero-slider-dots, .hero-video .video-play-btn { z-index: 2; }
.hero-video .hero-slide { background: transparent; }
.hero-video .hero-slide[data-bg] { background-size: cover; background-position: center; }

/* ========== v5: Recent Deliveries Carousel ========== */
.recent-deliveries { background: var(--bg-light); padding-bottom: 60px; }
.delivery-carousel-wrap { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 50px; }
.delivery-carousel { display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth; padding: 10px 5px 25px; scrollbar-width: none; -ms-overflow-style: none; }
.delivery-carousel::-webkit-scrollbar { display: none; }
.delivery-card { flex: 0 0 320px; background: var(--bg-white); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); transition: var(--transition); }
.delivery-card:hover { transform: translateY(-5px); box-shadow: 0 12px 35px rgba(10,61,98,0.15); }
.delivery-img { height: 180px; display: flex; align-items: center; justify-content: center; font-size: 4rem; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); overflow: hidden; }
.delivery-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.delivery-card:hover .delivery-img img { transform: scale(1.06); }
.delivery-body { padding: 20px; }
.delivery-date { display: inline-block; font-size: 0.75rem; font-weight: 700; color: var(--accent); background: rgba(218,165,32,0.1); padding: 3px 10px; border-radius: 12px; margin-bottom: 10px; }
.delivery-body h4 { font-size: 1.05rem; color: var(--primary); margin-bottom: 8px; line-height: 1.4; }
.delivery-body p { font-size: 0.85rem; color: var(--text-gray); line-height: 1.6; margin-bottom: 12px; }
.delivery-meta { display: flex; gap: 12px; font-size: 0.78rem; color: var(--text-light); }
.delivery-meta span { display: flex; align-items: center; gap: 4px; }
.delivery-carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--primary); color: #fff; font-size: 1.5rem; cursor: pointer; z-index: 2; box-shadow: 0 4px 12px rgba(0,0,0,0.2); transition: var(--transition); display: flex; align-items: center; justify-content: center; }
.delivery-carousel-btn:hover { background: var(--accent); }
.delivery-prev { left: 5px; }
.delivery-next { right: 5px; }
[dir="rtl"] .delivery-prev { left: auto; right: 5px; }
[dir="rtl"] .delivery-next { right: auto; left: 5px; }
@media (max-width: 768px) {
  .delivery-carousel-wrap { padding: 0 10px; }
  .delivery-carousel-btn { display: none; }
  .delivery-card { flex: 0 0 260px; }
}

/* ========== v5: Certificate Showcase ========== */
.cert-showcase { padding: 60px 0; }
.cert-carousel-wrap { position: relative; max-width: 1100px; margin: 0 auto; padding: 0 60px; }
.cert-carousel { display: flex; gap: 25px; overflow-x: auto; scroll-behavior: smooth; padding: 10px 5px 25px; scrollbar-width: none; -ms-overflow-style: none; }
.cert-carousel::-webkit-scrollbar { display: none; }
.cert-card { flex: 0 0 240px; background: var(--bg-white); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.08); transition: var(--transition); border: 1px solid var(--border); }
.cert-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(10,61,98,0.15); }
.cert-card-img { height: 180px; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; background: linear-gradient(135deg, #f8f9fa, #e9ecef); border-bottom: 1px solid var(--border); }
.cert-card-body { padding: 15px; text-align: center; }
.cert-card-body h4 { font-size: 0.92rem; color: var(--primary); margin-bottom: 4px; }
.cert-card-body p { font-size: 0.78rem; color: var(--text-gray); }
.cert-carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: none; background: var(--primary); color: #fff; font-size: 1.3rem; cursor: pointer; z-index: 2; box-shadow: 0 3px 10px rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center; }
.cert-carousel-btn:hover { background: var(--accent); }
.cert-prev { left: 10px; }
.cert-next { right: 10px; }
@media (max-width: 768px) {
  .cert-carousel-wrap { padding: 0 10px; }
  .cert-carousel-btn { display: none; }
}

/* ========== v5: Info Page ========== */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 40px; }
.info-card { background: var(--bg-white); border-radius: 16px; padding: 30px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.info-card h3 { font-size: 1.3rem; color: var(--primary); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.info-card h3 .icon { font-size: 1.5rem; }
.info-list { list-style: none; padding: 0; }
.info-list li { padding: 12px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; }
.info-list li:last-child { border-bottom: none; }
.info-list .info-title { font-weight: 600; color: var(--primary); font-size: 0.92rem; }
.info-list .info-date { font-size: 0.78rem; color: var(--text-light); white-space: nowrap; }
.info-list .info-desc { font-size: 0.85rem; color: var(--text-gray); margin-top: 4px; line-height: 1.5; }
.info-news-item { cursor: pointer; transition: var(--transition); }
.info-news-item:hover { background: var(--bg-light); margin: 0 -10px; padding: 12px 10px; border-radius: 8px; }
@media (max-width: 768px) {
  .info-grid { grid-template-columns: 1fr; }
}

/* ========== v5: Smart Configurator ========== */
.config-wizard { display: none; }
.config-wizard.active { display: block; }
.wizard-steps { display: flex; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.wizard-step { flex: 1; min-width: 100px; padding: 12px 15px; background: var(--bg-light); border-radius: 10px; text-align: center; font-size: 0.82rem; font-weight: 600; color: var(--text-gray); border: 2px solid transparent; transition: var(--transition); }
.wizard-step.active { background: var(--primary); color: #fff; border-color: var(--accent); }
.wizard-step.completed { background: rgba(46,139,87,0.1); color: #2e8b57; border-color: #2e8b57; }
.wizard-question { background: var(--bg-white); border-radius: 16px; padding: 30px; margin-bottom: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.06); }
.wizard-question h3 { font-size: 1.2rem; color: var(--primary); margin-bottom: 8px; }
.wizard-question p { color: var(--text-gray); margin-bottom: 20px; font-size: 0.92rem; }
.wizard-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.wizard-option { padding: 18px 15px; border: 2px solid var(--border); border-radius: 12px; text-align: center; cursor: pointer; transition: var(--transition); background: var(--bg-white); }
.wizard-option:hover { border-color: var(--primary); transform: translateY(-2px); }
.wizard-option.selected { border-color: var(--accent); background: rgba(218,165,32,0.08); }
.wizard-option .opt-icon { font-size: 2rem; margin-bottom: 8px; }
.wizard-option .opt-label { font-size: 0.85rem; font-weight: 600; color: var(--primary); }
.wizard-textarea { width: 100%; min-height: 100px; padding: 15px; border: 2px solid var(--border); border-radius: 12px; font-size: 0.92rem; font-family: inherit; resize: vertical; transition: var(--transition); }
.wizard-textarea:focus { outline: none; border-color: var(--accent); }
.wizard-nav { display: flex; justify-content: space-between; gap: 15px; margin-top: 20px; }
.wizard-nav button { padding: 12px 30px; border-radius: 30px; font-weight: 600; cursor: pointer; transition: var(--transition); border: none; font-size: 0.92rem; }
.wizard-prev { background: var(--bg-light); color: var(--text-gray); }
.wizard-prev:hover { background: var(--border); }
.wizard-next { background: var(--primary); color: #fff; }
.wizard-next:hover { background: var(--primary-dark); }
.wizard-next:disabled { opacity: 0.5; cursor: not-allowed; }

/* Config Preview - Dynamic Boat Render */
.config-preview-area { background: linear-gradient(180deg, #87CEEB 0%, #87CEEB 60%, #1e90ff 60%, #0066cc 100%); border-radius: 16px; min-height: 320px; position: relative; overflow: hidden; margin-bottom: 20px; }
.config-preview-boat { position: absolute; bottom: 35%; left: 50%; transform: translateX(-50%); transition: all 0.5s ease; }
.boat-svg { width: 280px; height: auto; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.3)); }
.config-preview-info { position: absolute; top: 15px; left: 15px; right: 15px; display: flex; justify-content: space-between; align-items: flex-start; }
.preview-badge { background: rgba(255,255,255,0.9); padding: 6px 14px; border-radius: 20px; font-size: 0.78rem; font-weight: 700; color: var(--primary); }
.preview-specs { background: rgba(255,255,255,0.9); padding: 8px 14px; border-radius: 10px; font-size: 0.75rem; color: var(--text-gray); text-align: right; line-height: 1.6; }
.color-picker { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.color-swatch { width: 32px; height: 32px; border-radius: 50%; cursor: pointer; border: 3px solid transparent; transition: var(--transition); }
.color-swatch:hover { transform: scale(1.1); }
.color-swatch.selected { border-color: var(--accent); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent); }
.config-section-title { font-size: 1rem; font-weight: 700; color: var(--primary); margin: 25px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--border); }
.furniture-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.furniture-item { padding: 12px; border: 2px solid var(--border); border-radius: 10px; text-align: center; cursor: pointer; transition: var(--transition); font-size: 0.82rem; }
.furniture-item:hover { border-color: var(--primary); }
.furniture-item.selected { border-color: var(--accent); background: rgba(218,165,32,0.08); }
.furniture-item .f-icon { font-size: 1.5rem; margin-bottom: 5px; }
@media (max-width: 768px) {
  .wizard-options { grid-template-columns: repeat(2, 1fr); }
  .config-preview-area { min-height: 250px; }
  .boat-svg { width: 200px; }
}
