/*
Theme Name: شعاع المستقبل - v3
Theme URI: https://shu-a-future-forge.lovable.app
Author: شعاع المستقبل لتقنية المعلومات
Author URI: https://shu-a-future-forge.lovable.app
Description: نسخة مطابقة بالكامل لتصميم موقع shu-a-future-forge.lovable.app - قالب احترافي لشركة شعاع المستقبل لتقنية المعلومات
Version: 3.0.0
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shoaa-future
Tags: rtl-language, arabic, business, accounting
*/

/* ===== CSS Variables ===== */
:root {
  --primary:        #1e3a8a;
  --primary-light:  #2563eb;
  --primary-glow:   #3b82f6;
  --secondary:      #0ea5e9;
  --accent:         #06b6d4;
  --background:     #ffffff;
  --foreground:     #0f172a;
  --muted:          #f1f5f9;
  --muted-fg:       #64748b;
  --border:         #e2e8f0;
  --card:           #ffffff;
  --radius:         0.75rem;
  --gradient-hero:  linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #2563eb 100%);
  --gradient-primary: linear-gradient(135deg, #1e3a8a, #3b82f6);
  --gradient-cyan:  linear-gradient(135deg, #0891b2, #06b6d4);
  --shadow-soft:    0 4px 20px -8px rgba(30,58,138,0.15);
  --shadow-card:    0 8px 32px -8px rgba(30,58,138,0.12);
  --shadow-elegant: 0 20px 60px -20px rgba(30,58,138,0.35);
  --font-sans:      'Tajawal', 'Cairo', system-ui, sans-serif;
  --font-display:   'Cairo', 'Tajawal', system-ui, sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  direction: rtl;
  text-align: right;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5 { font-family: var(--font-display); letter-spacing: -0.01em; line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226,232,240,0.9);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 24px -8px rgba(30,58,138,0.15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 2rem;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  text-decoration: none;
}

/* تعديل لمنع خروج الشعار (Logo) عن حدود الهيدر */
.site-logo img,
.custom-logo-link img,
.site-header .custom-logo {
  max-height: 52px; /* يترك مسافة 10px مريحة فوق وتحت بما أن طول الهيدر 72px */
  width: auto !important;
  object-fit: contain;
  display: block;
}

.logo-icon {
  width: 42px; height: 42px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.3rem; font-weight: 900;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text .main-name { font-size: 1rem; font-weight: 700; color: var(--primary); }
.logo-text .sub-name  { font-size: 0.68rem; font-weight: 400; color: var(--muted-fg); }

.main-navigation { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: 0.2rem; }
.nav-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted-fg);
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}
.nav-menu li a:hover,
.nav-menu li.current-menu-item a {
  color: var(--primary);
  background: rgba(30,58,138,0.06);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  background: none; border: none;
  cursor: pointer; padding: 0.5rem;
  color: var(--foreground);
  flex-direction: column; gap: 5px;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--foreground);
  transition: all 0.3s ease; border-radius: 2px;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  background: var(--gradient-primary);
  color: white;
  font-size: 0.875rem; font-weight: 600;
  border-radius: 0.625rem; border: none;
  cursor: pointer; transition: all 0.2s ease;
  white-space: nowrap; font-family: var(--font-sans);
  text-decoration: none;
}
.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px -5px rgba(30,58,138,0.4);
}
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  background: transparent; color: var(--primary);
  font-size: 0.875rem; font-weight: 600;
  border-radius: 0.625rem; border: 1.5px solid rgba(30,58,138,0.25);
  cursor: pointer; transition: all 0.2s ease;
  white-space: nowrap; font-family: var(--font-sans); text-decoration: none;
}
.btn-secondary:hover { background: rgba(30,58,138,0.06); border-color: var(--primary); }
.btn-outline-white {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: rgba(255,255,255,0.1); color: white;
  font-size: 1rem; font-weight: 600;
  border-radius: 0.625rem; border: 1.5px solid rgba(255,255,255,0.4);
  cursor: pointer; transition: all 0.2s ease;
  font-family: var(--font-sans); text-decoration: none;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.7); }
.btn-large { padding: 0.875rem 2.25rem; font-size: 1.05rem; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 72px;
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background: url('images/hero.jpg') center center / cover no-repeat;
  opacity: 0.1;
}
.hero-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(59,130,246,0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(6,182,212,0.12) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(30,58,138,0.25) 0%, transparent 50%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  padding: 5rem 0;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem; font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero-badge-dot {
  width: 7px; height: 7px;
  background: #22d3ee; border-radius: 50%;
  animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.4} }
.hero-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800; color: white;
  line-height: 1.15; margin-bottom: 1.5rem;
}
.hero-title .highlight {
  background: linear-gradient(135deg, #38bdf8, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-description {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.85; margin-bottom: 2.5rem;
  max-width: 500px;
}
.hero-actions {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.hero-stats {
  display: flex; gap: 2rem;
  margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 1.75rem; font-weight: 800;
  color: white; font-family: var(--font-display);
}
.stat-label {
  font-size: 0.8rem; color: rgba(255,255,255,0.58); margin-top: 0.25rem;
}
.hero-image-wrapper { position: relative; }
.hero-image-wrapper img {
  width: 100%; border-radius: 1.25rem;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5);
}
.hero-floating-card {
  position: absolute;
  background: white; border-radius: 0.875rem;
  padding: 0.875rem 1.25rem;
  box-shadow: 0 10px 40px -8px rgba(0,0,0,0.2);
  display: flex; align-items: center; gap: 0.75rem;
  animation: floatUp 3s ease-in-out infinite alternate;
}
.hero-floating-card.card-1 { bottom: -1rem; right: -1rem; animation-delay: 0s; }
.hero-floating-card.card-2 { top: -1rem; left: -1rem; animation-delay: 1.5s; }
@keyframes floatUp { 0%{transform:translateY(0)} 100%{transform:translateY(-8px)} }
.floating-card-icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.floating-card-text strong { display: block; font-size: 0.85rem; font-weight: 700; color: var(--foreground); }
.floating-card-text span  { font-size: 0.75rem; color: var(--muted-fg); }

/* ============================================================
   SECTION COMMON
   ============================================================ */
section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 700;
  color: var(--primary-light);
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 0.875rem;
}
.section-eyebrow::before, .section-eyebrow::after {
  content: ''; width: 24px; height: 1.5px;
  background: var(--primary-light);
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800; color: var(--foreground);
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1rem; color: var(--muted-fg);
  line-height: 1.8; max-width: 600px; margin: 0 auto;
}

/* ============================================================
   ABOUT HOME SECTION (Homepage)
   ============================================================ */
.about-home-section { background: white; }
.about-home-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem; align-items: center;
}
.about-home-text .section-eyebrow { display: inline-flex; }
.about-home-desc {
  font-size: 1rem; color: var(--muted-fg);
  line-height: 1.85; margin-bottom: 2rem;
  max-width: 580px;
}
.about-pillars { display: flex; flex-direction: column; gap: 1.25rem; }
.about-pillar {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.25rem; border-radius: 0.875rem;
  background: var(--muted); border: 1px solid var(--border);
}
.pillar-icon {
  font-size: 1.5rem; flex-shrink: 0;
  margin-top: 0.1rem;
}
.about-pillar h4 {
  font-size: 1rem; font-weight: 700;
  color: var(--foreground); margin-bottom: 0.3rem;
}
.about-pillar p { font-size: 0.875rem; color: var(--muted-fg); margin: 0; }
.about-home-badge-wrap {
  display: flex; align-items: center; justify-content: center;
}
.about-years-badge {
  width: 180px; height: 180px;
  background: var(--gradient-hero);
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; gap: 0.25rem;
  box-shadow: 0 20px 60px -15px rgba(30,58,138,0.5);
}
.years-number {
  font-size: 2.75rem; font-weight: 900;
  color: white; font-family: var(--font-display);
  line-height: 1;
}
.years-text { font-size: 0.8rem; color: rgba(255,255,255,0.75); line-height: 1.4; }

/* ============================================================
   PRODUCTS SECTION
   ============================================================ */
.products-section { background: var(--muted); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
  gap: 2rem;
}
.product-card {
  background: white; border-radius: 1.25rem;
  overflow: hidden; box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-elegant);
}
.product-image { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.product-content { padding: 2rem; }
.product-tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.875rem; border-radius: 100px;
  font-size: 0.75rem; font-weight: 600; margin-bottom: 1rem;
}
.tag-blue { background: rgba(30,58,138,0.08); color: var(--primary); }
.tag-cyan { background: rgba(6,182,212,0.1); color: #0891b2; }
.product-title { font-size: 1.4rem; font-weight: 700; color: var(--foreground); margin-bottom: 0.75rem; }
.product-description { color: var(--muted-fg); line-height: 1.8; margin-bottom: 1.5rem; font-size: 0.95rem; }
.product-features {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.625rem; margin-bottom: 2rem;
}
.feature-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; color: var(--muted-fg);
}
.feature-check {
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; flex-shrink: 0; font-weight: 700;
}
.check-blue { background: rgba(30,58,138,0.1); color: var(--primary); }
.check-cyan { background: rgba(6,182,212,0.12); color: #0891b2; }

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-section { background: white; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}
.feature-card {
  padding: 2rem; border-radius: 1rem;
  background: var(--muted); border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.feature-card:hover {
  background: white; box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}
.feature-icon-wrap {
  width: 54px; height: 54px;
  border-radius: 14px; background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.25rem;
}
.feature-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--foreground); margin-bottom: 0.625rem; }
.feature-card p  { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.7; }

/* ============================================================
   COUNTER SECTION
   ============================================================ */
.counter-section {
  background: var(--gradient-hero);
  padding: 4rem 0; position: relative; overflow: hidden;
}
.counter-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 10% 50%, rgba(59,130,246,0.2) 0%, transparent 40%),
    radial-gradient(circle at 90% 50%, rgba(6,182,212,0.15) 0%, transparent 40%);
}
.counter-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; text-align: center;
}
.counter-item { display: flex; flex-direction: column; align-items: center; }
.counter-number {
  font-size: 3rem; font-weight: 900;
  font-family: var(--font-display); color: white;
  line-height: 1; display: inline;
}
.counter-plus { font-size: 1.5rem; font-weight: 700; color: var(--accent); display: inline; }
.counter-label { font-size: 0.9rem; color: rgba(255,255,255,0.65); margin-top: 0.625rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { padding: 5rem 0; background: var(--muted); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.testimonial-card {
  background: white; border-radius: 1rem;
  padding: 2rem; border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elegant); }
.testimonial-quote {
  font-size: 4rem; line-height: 1;
  color: var(--primary); opacity: 0.14;
  font-family: Georgia, serif; margin-bottom: -1rem;
}
.testimonial-text { font-size: 0.95rem; color: var(--muted-fg); line-height: 1.8; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.875rem; }
.author-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gradient-primary); color: white;
  font-size: 0.8rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.author-name { font-size: 0.9rem; font-weight: 700; color: var(--foreground); }
.author-role { font-size: 0.78rem; color: var(--muted-fg); margin-top: 0.1rem; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--gradient-hero);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(59,130,246,0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(6,182,212,0.2) 0%, transparent 50%);
}
.cta-inner {
  position: relative; z-index: 2;
  text-align: center; max-width: 720px; margin: 0 auto;
}
.cta-inner h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800; color: white; margin-bottom: 1.25rem;
}
.cta-inner p { font-size: 1.05rem; color: rgba(255,255,255,0.75); line-height: 1.8; margin-bottom: 2.5rem; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   PAGE BANNER
   ============================================================ */
.page-banner {
  background: var(--gradient-hero);
  padding: 8rem 0 5rem; margin-top: 72px;
  text-align: center; position: relative; overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(59,130,246,0.22) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(6,182,212,0.14) 0%, transparent 50%);
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800; color: white; margin-bottom: 1rem;
}
.page-banner p { font-size: 1.05rem; color: rgba(255,255,255,0.75); max-width: 600px; margin: 0 auto; line-height: 1.8; }

/* ============================================================
   ABOUT PAGE (Full)
   ============================================================ */
.about-full-section { background: white; }
.about-full-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.about-full-img { border-radius: 1.25rem; overflow: hidden; box-shadow: var(--shadow-elegant); }
.about-full-img img { width: 100%; height: 100%; object-fit: cover; }
.about-full-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800; color: var(--foreground); margin-bottom: 1.25rem;
}
.about-full-text p {
  font-size: 0.975rem; color: var(--muted-fg); line-height: 1.85; margin-bottom: 1rem;
}
.about-values { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.value-item { display: flex; gap: 1rem; align-items: flex-start; }
.value-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(30,58,138,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0; margin-top: 0.15rem;
}
.value-text h4 { font-size: 0.95rem; font-weight: 700; color: var(--foreground); margin-bottom: 0.25rem; }
.value-text p  { font-size: 0.85rem; color: var(--muted-fg); margin: 0; line-height: 1.6; }

/* Company story section (lovable-style full-width cards) */
.about-story-section { background: var(--muted); }
.story-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.story-card {
  background: white; border-radius: 1rem;
  padding: 2rem; border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.story-card-icon { font-size: 2rem; margin-bottom: 1rem; }
.story-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--foreground); margin-bottom: 0.75rem; }
.story-card p  { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.7; }

/* ============================================================
   SYSTEM PAGES
   ============================================================ */
.system-detail { background: white; }
.system-content-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center; margin-bottom: 5rem;
}
.system-img { border-radius: 1.25rem; overflow: hidden; box-shadow: var(--shadow-elegant); }
.system-img img { width: 100%; }
.system-text h2 { font-size: clamp(1.5rem,2.5vw,2rem); font-weight: 800; color: var(--foreground); margin-bottom: 1rem; }
.system-text p  { color: var(--muted-fg); line-height: 1.8; margin-bottom: 1.5rem; }
.system-features-list { display: flex; flex-direction: column; gap: 0.75rem; }
.sys-feature { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; color: var(--foreground); }
.sys-feature-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gradient-primary); flex-shrink: 0; }
.system-modules-section { background: var(--muted); }
.modules-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem;
}
.module-card {
  background: white; border-radius: 1rem;
  padding: 1.75rem; border: 1px solid var(--border);
  box-shadow: var(--shadow-soft); text-align: center;
  transition: transform 0.25s ease;
}
.module-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.module-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.module-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--foreground); margin-bottom: 0.5rem; }
.module-card p  { font-size: 0.8rem; color: var(--muted-fg); line-height: 1.6; }

/* Specs Grid */
.specs-section { background: white; }
.specs-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem; padding: 3rem; background: var(--muted); border-radius: 1.25rem;
}
.spec-item {
  text-align: center; padding: 1.5rem;
  background: white; border-radius: 0.875rem; border: 1px solid var(--border);
}
.spec-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.spec-item h4 { font-size: 0.875rem; font-weight: 700; color: var(--foreground); margin-bottom: 0.25rem; }
.spec-item p  { font-size: 0.8rem; color: var(--muted-fg); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section { background: white; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 4rem; align-items: start;
}
.contact-info h2 {
  font-size: clamp(1.5rem,2.5vw,2rem);
  font-weight: 800; color: var(--foreground); margin-bottom: 1rem;
}
.contact-info > p { font-size: 0.95rem; color: var(--muted-fg); line-height: 1.8; margin-bottom: 2rem; }
.contact-items { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(30,58,138,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.contact-item-text { font-size: 0.9rem; color: var(--muted-fg); }
.contact-item-text strong {
  display: block; font-weight: 600; color: var(--foreground);
  margin-bottom: 0.15rem; font-size: 0.85rem;
}
.contact-social { margin-top: 2rem; }
.contact-social p { font-size: 0.85rem; font-weight: 600; color: var(--foreground); margin-bottom: 0.75rem; }
.social-icons { display: flex; gap: 0.75rem; }
.social-link-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--muted); color: var(--muted-fg);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.social-link-icon:hover { background: var(--primary); color: white; border-color: var(--primary); }
.contact-form-wrap {
  background: var(--muted); border-radius: 1.25rem;
  padding: 2.5rem; border: 1px solid var(--border);
}
.form-title { font-size: 1.25rem; font-weight: 700; color: var(--foreground); margin-bottom: 1.75rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--foreground); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 0.625rem;
  font-size: 0.9rem; font-family: var(--font-sans);
  color: var(--foreground); background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  direction: rtl; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(30,58,138,0.1);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-message {
  padding: 1rem; border-radius: 0.625rem;
  margin-bottom: 1rem; font-size: 0.9rem;
  text-align: center; display: none;
}
.form-message.success { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.form-message.error   { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }

/* Map embed */
.map-wrap {
  margin-top: 2rem; border-radius: 1rem;
  overflow: hidden; border: 1px solid var(--border);
  height: 280px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0f172a; color: white;
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand .site-logo { color: white; margin-bottom: 1.25rem; }
.footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.8; max-width: 280px; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.social-link {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.55);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.social-link:hover { background: var(--primary-light); color: white; }
.footer-col h4 {
  font-size: 0.875rem; font-weight: 700;
  color: white; margin-bottom: 1.25rem;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.footer-links { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-links a, .footer-links span {
  font-size: 0.875rem; color: rgba(255,255,255,0.5);
  transition: color 0.2s; display: block;
}
.footer-links a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-copyright { font-size: 0.8rem; color: rgba(255,255,255,0.38); }

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
.float-whatsapp, .float-phone {
  position: fixed; bottom: 1.5rem; z-index: 999;
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; box-shadow: 0 6px 24px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.float-whatsapp:hover, .float-phone:hover {
  transform: scale(1.1); box-shadow: 0 10px 32px rgba(0,0,0,0.25);
}
.float-whatsapp { right: 1.5rem; background: #25d366; }
.float-phone    { right: 6.25rem; background: var(--gradient-primary); }

/* ============================================================
   WP Default Content
   ============================================================ */
.entry-content {
  max-width: 800px; margin: 0 auto; padding: 4rem 1.5rem;
  font-size: 1rem; line-height: 1.85; color: var(--foreground);
}
.entry-content h2 { font-size: 1.5rem; margin: 2rem 0 1rem; }
.entry-content p  { margin-bottom: 1.25rem; color: var(--muted-fg); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner           { grid-template-columns: 1fr; text-align: center; padding: 3rem 0; }
  .hero-image-wrapper   { display: none; }
  .hero-actions         { justify-content: center; }
  .hero-stats           { justify-content: center; }
  .hero-description     { margin: 0 auto 2.5rem; }
  .about-home-grid      { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-home-badge-wrap{ order: -1; }
  .about-full-grid      { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid         { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid          { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .system-content-grid  { grid-template-columns: 1fr; gap: 2rem; }
  .counter-grid         { grid-template-columns: repeat(2,1fr); gap: 2.5rem; }
  .testimonials-grid    { grid-template-columns: 1fr; }
  .products-grid        { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .header-cta .btn-secondary { display: none; }
  .main-navigation {
    display: none;
    position: absolute; top: 100%; right: 0; left: 0;
    background: white; border-bottom: 1px solid var(--border);
    padding: 1rem; box-shadow: 0 8px 24px -8px rgba(0,0,0,0.1);
    z-index: 999;
  }
  .main-navigation.open { display: block; }
  .nav-menu { flex-direction: column; align-items: center; gap: 0; }
  .nav-menu li a { padding: 0.75rem 1rem; }
  .footer-grid   { grid-template-columns: 1fr; gap: 2rem; }
  .form-grid     { grid-template-columns: 1fr; }
  .counter-grid  { grid-template-columns: repeat(2,1fr); }
  .about-years-badge { width: 140px; height: 140px; }
  .years-number  { font-size: 2.25rem; }
  .float-whatsapp{ right: 1rem; bottom: 1rem; }
  .float-phone   { right: 5rem; bottom: 1rem; }
}

@media (max-width: 480px) {
  .counter-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .hero-stats   { flex-direction: column; align-items: center; gap: 1.5rem; }
  .hero-title   { font-size: 2rem; }
}