/*
 * SOLARENS — Global B2B Solar Energy Website
 * Design: Tvilight-inspired · Clean · Spacious · Professional
 * Color: Deep Teal #0E4D46 · Vibrant Orange #FF6B35
 * Philosophy: Generous whitespace. Clear hierarchy. Image-led storytelling.
 */

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:        #0E4D46;
  --teal-dark:   #0a3830;
  --teal-light:  #1a6b62;
  --teal-pale:   #e8f4f3;
  --orange:      #FF6B35;
  --orange-dark: #e55a24;
  --orange-pale: #fff3ee;
  --ink:         #1a1a2e;
  --text-primary:   #1d1d1f;
  --text-secondary: #4a4a5a;
  --text-muted:     #8a8a9a;
  --border:         #e0e0e8;
  --border-light:   #f0f0f5;
  --bg-light:       #f7f8fc;
  --bg-white:       #ffffff;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --sp-xs:  8px;  --sp-sm:  16px; --sp-md:  32px;
  --sp-lg:  64px; --sp-xl:  96px; --sp-2xl: 140px;
  --r-sm: 4px; --r-md: 8px; --r-lg: 16px;
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.12);
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dur:  0.25s;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--text-primary); background: var(--bg-white); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; color: var(--text-primary); }
h1 { font-size: clamp(38px, 5.5vw, 68px); }
h2 { font-size: clamp(30px, 4vw, 52px); }
h3 { font-size: clamp(22px, 2.8vw, 32px); }
h4 { font-size: 19px; font-weight: 600; }
p  { color: var(--text-secondary); line-height: 1.75; }

/* ── LAYOUT ─────────────────────────────────────────────────── */
.container     { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 32px; }
.container--sm { max-width: 760px; margin: 0 auto; padding: 0 32px; }
.container--lg { max-width: 1360px; margin: 0 auto; padding: 0 32px; }

/* Tvilight-style sections: very generous vertical spacing */
.section       { padding: var(--sp-2xl) 0; }
.section--sm   { padding: var(--sp-xl) 0; }
.section--xs   { padding: var(--sp-lg) 0; }
.section--white { background: var(--bg-white); }
.section--gray  { background: var(--bg-light); }
.section--teal  { background: var(--teal); }
.section--dark  { background: var(--ink); }

/* ── SECTION HEADERS ────────────────────────────────────────── */
.sec-eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 16px;
  font-style: italic;
}
.sec-eyebrow--orange { color: var(--orange); }
.sec-title { font-size: clamp(30px, 4vw, 52px); font-weight: 700; line-height: 1.12; letter-spacing: -0.025em; color: var(--text-primary); margin-bottom: 20px; }
.sec-title--white { color: #fff; }
.sec-subtitle { font-size: 18px; color: var(--text-secondary); line-height: 1.75; max-width: 560px; }
.sec-subtitle--white { color: rgba(255,255,255,0.75); }
.sec-header { margin-bottom: var(--sp-lg); }
.sec-header--center { text-align: center; }
.sec-header--center .sec-subtitle { margin: 0 auto; }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: 6px; font-size: 15px; font-weight: 600; transition: all var(--dur) var(--ease); white-space: nowrap; cursor: pointer; border: 2px solid transparent; text-decoration: none; letter-spacing: 0.01em; }
.btn-primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,107,53,0.35); }
.btn-secondary { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-secondary:hover { background: var(--teal-dark); border-color: var(--teal-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(14,77,70,0.35); }
.btn-outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-ghost { background: transparent; color: var(--teal); border-color: transparent; padding-left: 0; font-size: 16px; font-weight: 600; }
.btn-ghost:hover { color: var(--orange); gap: 12px; }
.btn-sm { padding: 9px 20px; font-size: 14px; }
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-group { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* ── NAVIGATION (preserved exactly) ────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--dur) var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.nav-wrap { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.nav-logo-img { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.nav-logo-text { font-size: 1.15rem; font-weight: 800; color: var(--teal); letter-spacing: -0.02em; }
.nav-logo-text span { color: var(--orange); }
.nav-menu { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
.nav-link { padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--text-secondary); border-radius: var(--r-sm); transition: all var(--dur) var(--ease); white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--teal); background: var(--teal-pale); }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang-switcher { display: flex; align-items: center; gap: 2px; background: var(--bg-light); border: 1px solid var(--border); border-radius: 8px; padding: 3px; }
.lang-btn { padding: 5px 11px; border-radius: 6px; font-size: 12px; font-weight: 600; color: var(--text-muted); transition: all 0.2s var(--ease); letter-spacing: 0.03em; }
.lang-btn.active { background: var(--teal); color: #fff; }
.lang-btn:hover:not(.active) { color: var(--teal); background: var(--teal-pale); }
.nav-whatsapp { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #25D366; padding: 8px 14px; border-radius: 8px; border: 1.5px solid #25D366; transition: all var(--dur) var(--ease); }
.nav-whatsapp:hover { background: #25D366; color: #fff; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; border-radius: 6px; }
.nav-hamburger:hover { background: var(--bg-light); }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all var(--dur) var(--ease); }
.nav-mobile { display: none; flex-direction: column; padding: 12px 24px 20px; border-top: 1px solid var(--border); background: #fff; gap: 2px; }
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link { font-size: 16px; padding: 12px 8px; border-radius: 0; border-bottom: 1px solid var(--border-light); }
.lang-switcher-mobile { flex-direction: column !important; background: none !important; border: none !important; padding: 0 !important; gap: 4px !important; margin-top: 8px; }
.lang-switcher-mobile .lang-btn { text-align: left; padding: 10px 8px; border-radius: 6px; font-size: 14px; }
@media (max-width: 960px) { .nav-menu, .nav-whatsapp { display: none; } .nav-hamburger { display: flex; } }
@media (max-width: 640px) { .nav-actions .btn { display: none; } }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  padding-top: 64px;
  background: linear-gradient(160deg, var(--teal-dark) 0%, var(--teal) 55%, #1a6b62 100%);
  position: relative; overflow: hidden; min-height: 90vh; display: flex; flex-direction: column;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M40 40c0-11.046 8.954-20 20-20s20 8.954 20 20-8.954 20-20 20-20-8.954-20-20zm-40 0c0-11.046 8.954-20 20-20s20 8.954 20 20-8.954 20-20 20-20-8.954-20-20z'/%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none; z-index: 1;
}
.hero--with-carousel { background: none; }
.hero-carousel { position: absolute; inset: 0; z-index: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 0.9s ease; }
.hero-slide--active { opacity: 1; }
.hero-slide--gradient { background: linear-gradient(160deg, var(--teal-dark) 0%, var(--teal) 55%, #1a6b62 100%); }
.hero-carousel-overlay { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(10,56,48,0.82) 0%, rgba(14,77,70,0.70) 60%, rgba(26,107,98,0.65) 100%); }
.hero-content-wrap { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.hero-carousel-controls { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 12px; }
.hero-carousel-prev, .hero-carousel-next { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); color: #fff; font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background var(--dur) var(--ease); backdrop-filter: blur(4px); }
.hero-carousel-prev:hover, .hero-carousel-next:hover { background: rgba(255,255,255,0.28); }
.hero-carousel-dots { display: flex; gap: 8px; align-items: center; }
.hero-carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.35); border: none; cursor: pointer; transition: all var(--dur) var(--ease); padding: 0; }
.hero-carousel-dot--active { background: var(--orange); width: 24px; border-radius: 4px; }
.hero-inner { padding: var(--sp-2xl) 0 var(--sp-xl); }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 24px; font-style: normal; }
.hero-eyebrow::before { content: ''; display: inline-block; width: 28px; height: 2px; background: var(--orange); border-radius: 2px; }
.hero-title { font-size: clamp(44px, 6vw, 80px); font-weight: 800; line-height: 1.05; letter-spacing: -0.035em; color: #fff; margin-bottom: 28px; }
.hero-title em { font-style: normal; color: var(--orange); }
.hero-desc { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,0.8); max-width: 580px; line-height: 1.7; margin-bottom: 40px; }
.hero-actions { margin-bottom: 0; }

/* ── STATS BANNER ───────────────────────────────────────────── */
.stats-banner { background: var(--teal); padding: 64px 0; }
.stats-banner-inner { display: flex; align-items: center; justify-content: space-around; flex-wrap: wrap; gap: 40px; }
.stats-banner-item { text-align: center; }
.stats-banner-num { font-size: clamp(36px, 4.5vw, 56px); font-weight: 800; color: #fff; letter-spacing: -0.03em; line-height: 1; }
.stats-banner-num span { color: var(--orange); }
.stats-banner-label { font-size: 14px; color: rgba(255,255,255,0.65); margin-top: 10px; font-weight: 500; letter-spacing: 0.02em; }
.stats-banner-divider { width: 1px; height: 56px; background: rgba(255,255,255,0.15); }
@media (max-width: 640px) { .stats-banner-divider { display: none; } .stats-banner-inner { gap: 32px; } }

/* ── ALTERNATING SPLIT LAYOUT (Tvilight-style) ──────────────── */
/* Used for product cards, solutions, about sections */
.split-section { padding: var(--sp-2xl) 0; }
.split-section + .split-section { padding-top: 0; }
.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split-row--reverse { direction: rtl; }
.split-row--reverse > * { direction: ltr; }
.split-visual {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-light);
}
.split-visual-img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover; display: block;
}
.split-visual-placeholder {
  width: 100%; aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #edf6f5 0%, #d8eeec 100%);
  flex-direction: column; gap: 16px;
}
.split-visual-placeholder svg { opacity: 0.5; }
.split-visual-placeholder span { font-size: 13px; color: var(--teal); font-weight: 600; opacity: 0.7; }
.split-badge {
  position: absolute; top: 20px; left: 20px;
  background: var(--teal); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 5px 14px; border-radius: 4px;
}
.split-content { }
.split-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; font-style: italic; display: block; }
.split-eyebrow--orange { color: var(--orange); }
.split-title { font-size: clamp(26px, 3vw, 40px); font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; color: var(--text-primary); margin-bottom: 20px; }
.split-desc { font-size: 17px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 28px; max-width: 480px; }
.split-list { list-style: none; margin-bottom: 36px; display: flex; flex-direction: column; gap: 12px; }
.split-list li { font-size: 15px; color: var(--text-secondary); display: flex; align-items: baseline; gap: 12px; }
.split-list li::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex-shrink: 0; margin-top: 6px; }
.split-link { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--teal); transition: gap var(--dur) var(--ease), color var(--dur) var(--ease); }
.split-link:hover { gap: 14px; color: var(--orange); }
.split-divider { border: none; border-top: 1px solid var(--border-light); margin: 0; }

/* ── FEATURE GRID (Why Solarens) ────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border-light); border: 1px solid var(--border-light); border-radius: var(--r-lg); overflow: hidden; }
.feature-card { padding: 40px 36px; background: var(--bg-white); transition: background var(--dur) var(--ease); }
.feature-card:hover { background: var(--teal-pale); }
.feature-icon { font-size: 2rem; margin-bottom: 20px; display: block; }
.feature-title { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 12px; letter-spacing: -0.01em; }
.feature-desc { font-size: 15px; color: var(--text-muted); line-height: 1.75; }

/* ── APPLICATIONS GRID ──────────────────────────────────────── */
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: var(--sp-lg); }
.app-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--r-md); padding: 36px 28px; transition: all var(--dur) var(--ease); }
.app-card:hover { border-color: var(--teal); background: var(--teal-pale); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.app-icon { font-size: 2.2rem; margin-bottom: 18px; display: block; }
.app-card h4 { font-size: 17px; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; }
.app-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.section-cta { margin-top: var(--sp-lg); text-align: center; }

/* ── CTA SECTION ────────────────────────────────────────────── */
.cta-section { background: var(--ink); padding: var(--sp-2xl) 0; }
.cta-inner { text-align: center; max-width: 700px; margin: 0 auto; }
.cta-title { font-size: clamp(34px, 4.5vw, 56px); font-weight: 800; color: #fff; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 20px; }
.cta-desc { font-size: 18px; color: rgba(255,255,255,0.65); margin-bottom: 40px; line-height: 1.7; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ── PAGE HERO ──────────────────────────────────────────────── */
.page-hero {
  padding-top: 64px;
  background: linear-gradient(160deg, var(--teal-dark) 0%, var(--teal) 100%);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M40 40c0-11.046 8.954-20 20-20s20 8.954 20 20-8.954 20-20 20-20-8.954-20-20zm-40 0c0-11.046 8.954-20 20-20s20 8.954 20 20-8.954 20-20 20-20-8.954-20-20z'/%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.page-hero-inner { padding: var(--sp-xl) 0 var(--sp-lg); position: relative; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 600px; margin-top: 16px; font-size: 18px; line-height: 1.7; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,0.5); transition: color var(--dur) var(--ease); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb-sep { color: rgba(255,255,255,0.3); }

/* ── TABS ───────────────────────────────────────────────────── */
.tabs-wrap { background: var(--bg-white); border-bottom: 2px solid var(--border-light); position: sticky; top: 64px; z-index: 100; }
.tabs { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab-btn { padding: 18px 28px; font-size: 15px; font-weight: 600; color: var(--text-muted); border-bottom: 3px solid transparent; transition: all var(--dur) var(--ease); white-space: nowrap; border-radius: 0; margin-bottom: -2px; }
.tab-btn:hover { color: var(--teal); }
.tab-btn.active { color: var(--teal); border-bottom-color: var(--orange); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ── PRODUCT CARDS (catalog page) ──────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 32px; margin-top: var(--sp-lg); }
.product-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.product-card-header { background: var(--teal); padding: 28px 32px; display: flex; align-items: center; gap: 16px; }
.product-card-icon { font-size: 2rem; flex-shrink: 0; }
.product-card-category { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 8px; }
.product-card-title { font-size: clamp(18px, 2vw, 22px); font-weight: 700; color: #fff; letter-spacing: -0.01em; line-height: 1.2; }
.product-card-body { padding: 28px 32px; }
.product-card-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 20px; }
.product-card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tag { display: inline-block; padding: 4px 12px; background: var(--teal-pale); color: var(--teal); border-radius: 4px; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; }
.tag--orange { background: var(--orange-pale); color: var(--orange-dark); }

.product-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: var(--sp-md); margin-bottom: var(--sp-lg); }
.product-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: var(--sp-md); margin-bottom: var(--sp-lg); }
.product-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: var(--sp-md); margin-bottom: var(--sp-lg); }
@media (max-width: 960px) { .product-grid-3 { grid-template-columns: repeat(2, 1fr); } .product-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .product-grid-3, .product-grid-4, .product-grid-2 { grid-template-columns: 1fr; } }

/* Spec Table */
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 20px; }
.spec-table tr { border-bottom: 1px solid var(--border-light); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 10px 0; vertical-align: top; }
.spec-table td:first-child { color: var(--text-muted); width: 50%; }
.spec-table td:last-child { color: var(--text-primary); font-weight: 500; text-align: right; }
.spec-table .spec-highlight td:last-child { color: var(--orange); font-weight: 700; }

/* Full Spec Table */
.spec-table-full { width: 100%; border-collapse: collapse; font-size: 14px; border-radius: var(--r-md); overflow: hidden; }
.spec-table-full thead th { background: var(--teal); color: #fff; padding: 14px 16px; text-align: left; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
.spec-table-full tbody td { padding: 12px 16px; border-bottom: 1px solid var(--border-light); color: var(--text-secondary); }
.spec-table-full tbody tr:last-child td { border-bottom: none; }
.spec-table-full tbody tr:nth-child(even) td { background: var(--bg-light); }
.spec-table-full tbody td:first-child { color: var(--text-primary); font-weight: 600; }
.spec-table-full .highlight { color: var(--orange); font-weight: 700; }

/* ── ACCORDION ──────────────────────────────────────────────── */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-header { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 22px 0; font-size: 17px; font-weight: 600; color: var(--text-primary); text-align: left; cursor: pointer; transition: color var(--dur) var(--ease); background: none; border: none; font-family: inherit; }
.accordion-header:hover { color: var(--teal); }
.accordion-icon { font-size: 24px; color: var(--text-muted); transition: transform var(--dur) var(--ease); flex-shrink: 0; font-weight: 300; line-height: 1; }
.accordion-item.open .accordion-icon { transform: rotate(45deg); color: var(--orange); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.accordion-body-inner { padding-bottom: 22px; font-size: 16px; color: var(--text-secondary); line-height: 1.8; }

/* ── FORM ───────────────────────────────────────────────────── */
.form-group { margin-bottom: 24px; }
.form-label { display: block; font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.form-label span { color: var(--orange); }
.form-control { width: 100%; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: var(--r-sm); font-size: 15px; font-family: inherit; color: var(--text-primary); background: var(--bg-white); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); outline: none; -webkit-appearance: none; }
.form-control:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,77,70,0.1); }
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 140px; }
select.form-control { cursor: pointer; }

/* ── CONTACT ────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.contact-info-item { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--border-light); }
.contact-info-icon { width: 48px; height: 48px; background: var(--teal-pale); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.contact-info-label { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.contact-info-value { font-size: 16px; color: var(--text-primary); font-weight: 500; }

/* ── ABOUT / TIMELINE ───────────────────────────────────────── */
.timeline { position: relative; padding-left: 36px; }
.timeline::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; margin-bottom: 48px; }
.timeline-item::before { content: ''; position: absolute; left: -40px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); border: 2px solid var(--bg-white); box-shadow: 0 0 0 3px var(--orange); }
.timeline-year { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: var(--orange); text-transform: uppercase; margin-bottom: 8px; }
.timeline-title { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.timeline-desc { font-size: 15px; color: var(--text-muted); line-height: 1.75; }

/* ── SOLUTIONS ──────────────────────────────────────────────── */
.solution-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: var(--sp-lg); }
.solution-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.solution-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.solution-card-header { background: var(--teal); padding: 32px; display: flex; align-items: center; gap: 20px; }
.solution-card-icon { font-size: 2.5rem; flex-shrink: 0; }
.solution-card-title { font-size: 22px; font-weight: 700; color: #fff; line-height: 1.2; }
.solution-card-subtitle { font-size: 13px; color: rgba(255,255,255,0.65); margin-top: 4px; }
.solution-card-body { padding: 32px; }
.solution-card-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 20px; }
.solution-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.solution-list li { font-size: 14px; color: var(--text-secondary); padding-left: 18px; position: relative; line-height: 1.6; }
.solution-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

/* ── BLOG NEWSPAPER ─────────────────────────────────────────── */
.newspaper-article {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border-light);
  align-items: start;
  transition: background var(--dur) var(--ease);
}
.newspaper-article:hover { background: var(--bg-light); margin: 0 -32px; padding: 48px 32px; }
.newspaper-article--hidden { display: none; }
.newspaper-article--visible { display: grid; }
.article-img-wrap { border-radius: var(--r-md); overflow: hidden; background: var(--bg-light); aspect-ratio: 16/10; }
.article-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.article-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #edf6f5 0%, #d8eeec 100%); font-size: 3rem; }
.article-num { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--text-muted); text-transform: uppercase; margin-bottom: 12px; }
.article-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.article-meta-tag { background: var(--teal-pale); color: var(--teal); padding: 2px 10px; border-radius: 4px; font-weight: 600; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
.article-title { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; color: var(--text-primary); line-height: 1.25; margin-bottom: 14px; letter-spacing: -0.02em; transition: color var(--dur) var(--ease); }
.newspaper-article:hover .article-title { color: var(--teal); }
.article-excerpt { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--teal); transition: gap var(--dur) var(--ease), color var(--dur) var(--ease); }
.article-link:hover { gap: 14px; color: var(--orange); }
.blog-featured { border: 2px solid var(--teal); border-radius: var(--r-lg); padding: 48px; margin-bottom: var(--sp-lg); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: linear-gradient(135deg, var(--teal-pale) 0%, #fff 100%); }
.blog-featured-meta { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); margin-bottom: 16px; }
.blog-featured-title { font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: var(--text-primary); line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.025em; }
.blog-featured-excerpt { font-size: 16px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 24px; }
.blog-featured-img { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16/10; background: var(--bg-light); }
.blog-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-featured-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #d8eeec 0%, #edf6f5 100%); font-size: 4rem; }
.view-more-btn-wrap { text-align: center; padding: var(--sp-lg) 0; }

/* ── PRODUCT LINE GALLERY (About page) ──────────────────────── */
.pl-block { margin-bottom: var(--sp-2xl); }
.pl-block:last-child { margin-bottom: 0; }
.pl-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; margin-bottom: var(--sp-lg); padding-bottom: var(--sp-md); border-bottom: 2px solid var(--border-light); }
.pl-header-left { }
.pl-line-badge { display: inline-block; background: var(--teal); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 14px; border-radius: 4px; margin-bottom: 14px; }
.pl-title { font-size: clamp(24px, 2.8vw, 36px); font-weight: 700; color: var(--text-primary); letter-spacing: -0.025em; margin-bottom: 10px; }
.pl-desc { font-size: 16px; color: var(--text-secondary); line-height: 1.75; max-width: 520px; }
.pl-header-right { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; padding-top: 4px; }
.pl-tag { display: inline-block; padding: 5px 14px; background: var(--teal-pale); color: var(--teal); border-radius: 4px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pl-gallery-label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 20px; }
.pl-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.pl-photo { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/3; background: var(--bg-light); }
.pl-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.pl-photo:hover img { transform: scale(1.04); }
.pl-photo-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(135deg, #edf6f5 0%, #d8eeec 100%); }
.pl-photo-placeholder span { font-size: 12px; color: var(--teal); font-weight: 600; opacity: 0.6; }

/* ── SITE FOOTER ───────────────────────────────────────────── */
.site-footer { background: var(--ink); padding: var(--sp-xl) 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 64px;
  padding-bottom: var(--sp-xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand-desc { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.8; margin: 20px 0 24px; max-width: 320px; }
.footer-social { display: flex; gap: 10px; }
.footer-social-link { width: 36px; height: 36px; border-radius: 6px; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; transition: all var(--dur) var(--ease); text-decoration: none; }
.footer-social-link:hover { background: var(--orange); color: #fff; }
.footer-col-title { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.9); margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-link { font-size: 14px; color: rgba(255,255,255,0.5); transition: color var(--dur) var(--ease); text-decoration: none; }
.footer-link:hover { color: var(--orange); }
.footer-bottom { padding: 24px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom span { font-size: 13px; color: rgba(255,255,255,0.35); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } .footer-brand-desc { max-width: 100%; } }

/* ── FLOATING WHATSAPP ──────────────────────────────────────── */
.whatsapp-float { position: fixed; bottom: 28px; right: 28px; z-index: 999; width: 56px; height: 56px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,0.5); }

/* ── BACK TO TOP ────────────────────────────────────────────── */
.back-to-top { position: fixed; bottom: 96px; right: 28px; z-index: 999; width: 40px; height: 40px; background: var(--bg-white); border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--text-muted); box-shadow: var(--shadow-sm); transition: all var(--dur) var(--ease); opacity: 0; pointer-events: none; }
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

/* ── LINK ARROW ─────────────────────────────────────────────── */
.link-arrow { font-size: 15px; font-weight: 600; color: var(--teal); display: inline-flex; align-items: center; gap: 6px; transition: gap var(--dur) var(--ease), color var(--dur) var(--ease); }
.link-arrow:hover { gap: 10px; color: var(--orange); }

/* ── FADE IN ANIMATION ──────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .split-row { grid-template-columns: 1fr; gap: 40px; }
  .split-row--reverse { direction: ltr; }
  .split-desc { max-width: 100%; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .blog-featured { grid-template-columns: 1fr; }
  .newspaper-article { grid-template-columns: 1fr; gap: 24px; }
  .newspaper-article:hover { margin: 0; padding: 48px 0; }
  .pl-header { flex-direction: column; gap: 20px; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: var(--sp-xl) 0; }
  .features-grid { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .stats-banner-inner { gap: 24px; }
  .hero-inner { padding: var(--sp-xl) 0 var(--sp-lg); }
  .pl-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-featured { padding: 28px; }
}

/* ── RTL (Arabic) ───────────────────────────────────────────── */
[dir="rtl"] .nav-logo { flex-direction: row-reverse; }
[dir="rtl"] .hero-eyebrow { flex-direction: row-reverse; }
[dir="rtl"] .hero-eyebrow::before { order: 1; }
[dir="rtl"] .split-row--reverse { direction: ltr; }
[dir="rtl"] .split-badge { left: auto; right: 20px; }
[dir="rtl"] .split-list li::before { margin-top: 6px; }
[dir="rtl"] .timeline { padding-left: 0; padding-right: 36px; }
[dir="rtl"] .timeline::before { left: auto; right: 0; }
[dir="rtl"] .timeline-item::before { left: auto; right: -40px; }
[dir="rtl"] .solution-list li { padding-left: 0; padding-right: 18px; }
[dir="rtl"] .solution-list li::before { left: auto; right: 0; }
[dir="rtl"] .whatsapp-float { right: auto; left: 28px; }
[dir="rtl"] .back-to-top { right: auto; left: 28px; }
[dir="rtl"] body { font-size: 17px; line-height: 1.85; }
