/* ============================================
   QLOO MARKETING THEME - MAIN STYLESHEET
   Fluxco-inspired dark design, Qloo brand colors
   ============================================ */

/* Google Fonts - Cairo (Arabic + Latin) */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

/* ============ CSS VARIABLES ============ */
:root {
  --green: #0E7B6C;
  --green-dark: #0A5A52;
  --green-light: #15A090;
  --green-glow: rgba(14, 123, 108, 0.18);
  --green-glow-strong: rgba(14, 123, 108, 0.35);

  --bg-primary: #090E1A;
  --bg-secondary: #0D1526;
  --bg-card: #121D30;
  --bg-card-hover: #18263C;
  --bg-section-alt: #0B1220;

  --text-white: #FFFFFF;
  --text-light: #E2E8F0;
  --text-muted: #8892A4;
  --text-dim: #4A5568;

  --border: rgba(14, 123, 108, 0.25);
  --border-light: rgba(255, 255, 255, 0.07);

  --gradient-green: linear-gradient(135deg, #0A5A52 0%, #0E7B6C 100%);
  --gradient-hero: linear-gradient(135deg, #090E1A 0%, #0D1F2D 60%, #0A1A28 100%);
  --gradient-card: linear-gradient(135deg, #121D30, #0D1526);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-green: 0 0 30px rgba(14, 123, 108, 0.25);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Cairo', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background-color: var(--bg-primary);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
  direction: rtl;
}

body.lang-en { direction: ltr; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; color: var(--text-white); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-glow);
  border: 1px solid var(--border);
  color: var(--green-light);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.section-label::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 14px;
  line-height: 1.25;
}

.section-title span { color: var(--green); }

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.8;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-green);
  color: #fff;
  box-shadow: var(--shadow-green);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(14, 123, 108, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--green);
  color: var(--green-light);
  background: var(--green-glow);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #128C7E, #25D366);
  color: #fff;
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(37, 211, 102, 0.5);
}

.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ============ HEADER ============ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 20px 0;
}

#site-header.scrolled {
  background: rgba(9, 14, 26, 0.95);
  backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transform: scaleX(0);
  transition: var(--transition);
}

.main-nav a:hover, .main-nav a.active { color: var(--text-white); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switcher a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 7px 14px;
  border: 1px solid var(--border-light);
  border-radius: 50px;
  transition: var(--transition);
}
.lang-switcher a:hover { color: var(--green-light); border-color: var(--border); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger span:nth-child(1) { width: 24px; }
.hamburger span:nth-child(2) { width: 18px; }
.hamburger span:nth-child(3) { width: 24px; }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(9, 14, 26, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--text-white);
  font-size: 1.4rem;
  font-weight: 700;
  transition: var(--transition);
}
.mobile-nav a:hover { color: var(--green-light); }
.mobile-nav-close {
  position: absolute;
  top: 24px; left: 24px;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

/* ============ HERO ============ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 90px;
  background: var(--gradient-hero);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(14,123,108,0.4) 0%, transparent 70%);
  top: -150px; right: -150px;
}
.hero-orb-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(14,71,71,0.3) 0%, transparent 70%);
  bottom: -100px; left: 10%;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(14,123,108,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,123,108,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-content { max-width: 580px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-glow);
  border: 1px solid var(--border);
  color: var(--green-light);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease both;
}

.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-white);
  animation: fadeInUp 0.8s 0.1s ease both;
}

.hero-title .highlight {
  background: var(--gradient-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s 0.2s ease both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.3s ease both;
}

/* Hero Stats Cards */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  animation: fadeInLeft 0.8s 0.4s ease both;
}

.hero-stat-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.hero-stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-green);
  opacity: 0;
  transition: var(--transition);
}

.hero-stat-card:hover { 
  border-color: var(--border); 
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.hero-stat-card:hover::before { opacity: 1; }

.stat-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--green-light);
  line-height: 1;
  margin-bottom: 6px;
  display: block;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============ STATS BAR ============ */
#stats-bar {
  background: var(--bg-section-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 48px 0;
}

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

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 24px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--border-light);
}

body.lang-en .stat-item:not(:last-child)::after {
  right: auto; left: 0;
}

.stat-big {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--green-light);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============ SERVICES ============ */
#services {
  background: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.service-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  group: true;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--green-glow);
  opacity: 0;
  transition: var(--transition);
  border-radius: var(--radius-lg);
}

.service-card:hover {
  border-color: var(--border);
  transform: translateY(-6px);
  box-shadow: var(--shadow-green), var(--shadow-card);
}

.service-card:hover::after { opacity: 1; }

.service-icon {
  width: 54px; height: 54px;
  background: var(--green-glow);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.service-card:hover .service-icon {
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 0 20px rgba(14,123,108,0.5);
}

.service-icon svg {
  width: 26px; height: 26px;
  color: var(--green-light);
  transition: var(--transition);
  stroke: currentColor;
  fill: none;
}

.service-card:hover .service-icon svg { color: #fff; }

.service-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

/* ============ HOW WE WORK ============ */
#how-we-work { background: var(--bg-primary); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 48px;
  right: 12%;
  left: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--green), var(--border), transparent);
  z-index: 0;
}

body.lang-en .steps-grid::before { right: 12%; left: 12%; }

.step-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

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

.step-num {
  width: 52px; height: 52px;
  background: var(--gradient-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-green);
  flex-shrink: 0;
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ============ CASE STUDIES ============ */
#case-studies { background: var(--bg-secondary); }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.case-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
}

.case-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-green);
  transform: translateY(-4px);
}

.case-header {
  background: linear-gradient(135deg, #0A5A52, #0E7B6C);
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.case-logo {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}

.case-name { font-size: 1.1rem; font-weight: 800; color: #fff; }
.case-country { font-size: 0.82rem; color: rgba(255,255,255,0.75); margin-top: 2px; }

.case-body { padding: 28px; }

.case-section-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.case-challenge, .case-solution {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 22px;
}

.case-results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.result-item {
  background: rgba(14,123,108,0.08);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  text-align: center;
}

.result-num {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--green-light);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.result-label {
  font-size: 0.77rem;
  color: var(--text-muted);
}

/* ============ TESTIMONIALS ============ */
#testimonials { background: var(--bg-primary); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.testimonial-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-card);
}

.quote-icon {
  font-size: 3rem;
  line-height: 1;
  color: var(--green);
  opacity: 0.5;
  margin-bottom: 14px;
  font-family: serif;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 22px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 46px; height: 46px;
  background: var(--gradient-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.author-name { font-size: 0.95rem; font-weight: 700; color: var(--text-white); }
.author-info { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}
.star { color: #F5A623; font-size: 0.9rem; }

/* ============ BLOG LATEST ============ */
#blog-latest { background: var(--bg-secondary); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 50px;
}

.blog-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

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

.blog-card-img {
  height: 190px;
  background: linear-gradient(135deg, #0D1526, #141D2E);
  position: relative;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-card-img img { transform: scale(1.05); }

.blog-cat {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: var(--green);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

body.lang-en .blog-cat { right: auto; left: 14px; }

.blog-card-body { padding: 24px; }

.blog-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.blog-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-title a:hover { color: var(--green-light); }

.blog-excerpt {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 18px;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-light);
  transition: var(--transition);
}

.blog-read-more:hover { gap: 10px; }

/* ============ CTA SECTION ============ */
#cta-section {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.cta-bg-orb {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(14,123,108,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  background: linear-gradient(135deg, #0D1526, #121D30);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 60px 50px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: var(--text-white);
  margin-bottom: 14px;
}

.cta-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  text-align: right;
}

body.lang-en .contact-form { text-align: left; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(9,14,26,0.8);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-white);
  font-family: var(--font);
  font-size: 0.9rem;
  transition: var(--transition);
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group textarea { resize: vertical; min-height: 110px; }

.form-submit {
  grid-column: 1 / -1;
}

/* ============ FOOTER ============ */
#site-footer {
  background: var(--bg-section-alt);
  border-top: 1px solid var(--border-light);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border-light);
}

.footer-brand img { height: 38px; margin-bottom: 18px; }

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 22px;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px; height: 38px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  border-color: var(--green);
  background: var(--green-glow);
  color: var(--green-light);
  transform: translateY(-2px);
}

.social-link svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }

.footer-col-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 20px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  font-size: 0.87rem;
  color: var(--text-muted);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: '›';
  color: var(--green);
  font-size: 1rem;
  line-height: 1;
}

body.lang-en .footer-links a::before { transform: scaleX(-1); display: inline-block; }

.footer-links a:hover { color: var(--green-light); padding-right: 4px; }
body.lang-en .footer-links a:hover { padding-right: 0; padding-left: 4px; }

.footer-contact { display: flex; flex-direction: column; gap: 14px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-item svg {
  width: 18px; height: 18px;
  color: var(--green);
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item span {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-item a:hover { color: var(--green-light); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ============ ABOUT PAGE ============ */
.about-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 60px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.value-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.value-card:hover { border-color: var(--border); transform: translateY(-4px); }

.value-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--green-light);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 12px;
}

.value-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.value-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.75; }

/* ============ SERVICES PAGE ============ */
.services-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  background: var(--gradient-hero);
}

/* ============ PORTFOLIO PAGE ============ */
.portfolio-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  background: var(--gradient-hero);
}

/* ============ CONTACT PAGE ============ */
.contact-hero {
  min-height: 45vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  background: var(--gradient-hero);
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
  margin-top: 60px;
  align-items: start;
}

.contact-info-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
}

.contact-form-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
}

.contact-form-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ============ BLOG PAGE ============ */
.blog-hero {
  min-height: 45vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  background: var(--gradient-hero);
}

.blog-main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-top: 50px;
  align-items: start;
}

.blog-posts-list { display: flex; flex-direction: column; gap: 24px; }

.blog-list-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 240px 1fr;
  transition: var(--transition);
}

.blog-list-card:hover { border-color: var(--border); box-shadow: var(--shadow-card); }

.blog-list-img {
  height: 100%;
  min-height: 180px;
  overflow: hidden;
}

.blog-list-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-list-card:hover .blog-list-img img { transform: scale(1.05); }

.blog-list-body { padding: 24px; display: flex; flex-direction: column; }

.blog-sidebar { position: sticky; top: 100px; }

.sidebar-widget {
  background: var(--gradient-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px;
  margin-bottom: 22px;
}

.sidebar-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.sidebar-cats { display: flex; flex-direction: column; gap: 8px; }

.sidebar-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-size: 0.87rem;
  color: var(--text-muted);
}

.sidebar-cat:hover { background: var(--green-glow); color: var(--green-light); }
.sidebar-cat span { 
  background: var(--bg-primary); 
  border-radius: 50px;
  padding: 2px 8px;
  font-size: 0.75rem;
}

/* ============ SINGLE POST ============ */
.post-hero {
  min-height: 45vh;
  display: flex;
  align-items: flex-end;
  padding-top: 90px;
  background: var(--gradient-hero);
  padding-bottom: 50px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.post-cat-badge {
  background: var(--green);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
}

.post-date, .post-read-time {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.post-content-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-top: 50px;
  align-items: start;
}

.post-content {
  background: var(--gradient-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px;
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-light);
}

.post-content h2 { margin: 32px 0 14px; font-size: 1.4rem; }
.post-content h3 { margin: 26px 0 12px; font-size: 1.15rem; color: var(--green-light); }
.post-content p { margin-bottom: 18px; }
.post-content ul, .post-content ol { margin: 16px 0 18px 20px; }
body.lang-en .post-content ul, body.lang-en .post-content ol { margin: 16px 20px 18px 0; }
.post-content li { margin-bottom: 8px; }
.post-content blockquote {
  border-right: 3px solid var(--green);
  padding: 14px 20px;
  margin: 22px 0;
  background: var(--green-glow);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-light);
}
body.lang-en .post-content blockquote {
  border-right: none;
  border-left: 3px solid var(--green);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
.post-content img { border-radius: var(--radius-md); margin: 22px 0; width: 100%; }
.post-content a { color: var(--green-light); border-bottom: 1px dotted; }

/* ============ 404 ============ */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gradient-hero);
}

.error-num {
  font-size: 8rem;
  font-weight: 900;
  background: var(--gradient-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 20px;
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 100;
  animation: fadeIn 1s 2s both;
}

body.lang-en .whatsapp-float { left: auto; right: 28px; }

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, #128C7E, #25D366);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-page-grid { grid-template-columns: 1fr; }
  .blog-main-grid { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .post-content-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section-pad { padding: 60px 0; }
  .main-nav, .header-actions .btn { display: none; }
  .hamburger { display: flex; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .cta-inner { padding: 40px 24px; }
  .contact-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  body.lang-en .hero-actions { align-items: flex-start; }
  .blog-list-card { grid-template-columns: 1fr; }
  .blog-list-img { min-height: 160px; }
  .contact-form-page { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item::after { display: none; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--green-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--green); }

/* WordPress defaults */
.wp-block-image img, .aligncenter { display: block; margin: 0 auto; }
.alignright { float: right; margin: 0 0 20px 20px; }
.alignleft { float: left; margin: 0 20px 20px 0; }
.screen-reader-text { position: absolute; left: -9999px; }
