@import url('laravel.css');
@import url('laravel-extra.css');
@import url('laravel-media.css');

/* ============================================
   نسمة المعمار - Nasmat Al Mamar
   Premium Corporate Website Styles
   ============================================ */

:root {
  /* Brand Colors - Sharp & High Contrast */
  --primary: #0066CC;
  --primary-dark: #004C99;
  --primary-light: #1A7FE0;
  --secondary: #00A86B;
  --accent: #FF6B00;
  --accent-dark: #E05A00;
  
  /* Neutrals */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F0F4F8;
  --bg-tertiary: #E2EAF2;
  --bg-card: #FFFFFF;
  --text-primary: #0D1B2A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --border: #CBD5E1;
  --shadow: rgba(0, 102, 204, 0.12);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0066CC 0%, #00A86B 100%);
  --gradient-hero: linear-gradient(135deg, #003D7A 0%, #0066CC 45%, #0088AA 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 100%);
  --gradient-footer: linear-gradient(180deg, #0A1628 0%, #06101C 100%);
  
  /* Typography */
  --font-ar: 'Cairo', 'Tajawal', 'Segoe UI', sans-serif;
  --font-display: 'Cairo', 'Tajawal', sans-serif;
  --font-en: 'Inter', system-ui, sans-serif;
  
  /* Spacing & Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 16px rgba(0, 102, 204, 0.14);
  --shadow-lg: 0 12px 32px rgba(0, 102, 204, 0.16);
  --shadow-xl: 0 24px 48px rgba(0, 102, 204, 0.2);
  
  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s ease;
}

[data-theme="dark"] {
  --bg-primary: #0F1419;
  --bg-secondary: #1A1F26;
  --bg-tertiary: #242B33;
  --bg-card: #1A1F26;
  --text-primary: #F7FAFC;
  --text-secondary: #A0AEC0;
  --text-muted: #718096;
  --border: #2D3748;
  --shadow: rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.3);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.4);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.5);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }
body {
  font-family: var(--font-ar);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  direction: rtl;
  transition: background 0.3s, color 0.3s;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 768px) { .container { padding: 0 2rem; } }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; color: var(--text-primary); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); }
h1 { font-size: clamp(2.15rem, 5.5vw, 3.75rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.85rem, 4.2vw, 2.85rem); font-weight: 800; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.35rem, 3vw, 1.85rem); font-weight: 700; }
h4 { font-size: 1.3rem; font-weight: 700; }
.lead { font-size: 1.2rem; line-height: 1.85; }
.card-title { font-size: 1.25rem !important; font-weight: 700; }
.card-text { font-size: 1rem !important; line-height: 1.75; }
.nav-link { font-size: 1rem; font-weight: 600; }
.btn { font-size: 1rem; font-weight: 700; }
.section-badge { font-size: 0.9rem; }
p { color: var(--text-secondary); margin-bottom: 1rem; }
.lead { font-size: 1.125rem; color: var(--text-secondary); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 102, 204, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.45);
}
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
}
.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(245, 166, 35, 0.35);
}
.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}
.btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover { background: #fff; color: var(--primary); }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 1.125rem 2.25rem; font-size: 1.05rem; }
.btn-icon { width: 48px; height: 48px; padding: 0; border-radius: var(--radius-full); }

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
[data-theme="dark"] .header {
  background: rgba(15, 20, 25, 0.9);
}
.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
}
.logo img,
.logo-img {
  height: 64px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}
.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  overflow: hidden;
}
.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nav { display: none; gap: 0.25rem; }
@media (min-width: 1024px) { .nav { display: flex; } }
.nav-link {
  padding: 0.5rem 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 1rem;
  left: 1rem;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  transition: var(--transition);
}
.theme-toggle:hover { background: var(--primary); color: #fff; }
.mobile-menu-btn {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--bg-tertiary);
}
@media (min-width: 1024px) { .mobile-menu-btn { display: none; } }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 80px;
  right: 0;
  left: 0;
  bottom: 0;
  background: var(--bg-primary);
  z-index: 999;
  padding: 2rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.mobile-nav .nav-link {
  padding: 1rem;
  font-size: 1.125rem;
  border-bottom: 1px solid var(--border);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: 80px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0, 61, 122, 0.92) 0%, rgba(0, 102, 204, 0.85) 50%, rgba(0, 136, 170, 0.88) 100%),
    url('../images/hero-bg.jpg') center/cover no-repeat;
  opacity: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 700px;
  padding: 4rem 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,0.2);
}
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero .lead { color: rgba(255,255,255,0.85); margin-bottom: 2rem; font-size: 1.2rem; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  display: block;
}
.stat-label { font-size: 0.875rem; color: rgba(255,255,255,0.7); }
.hero-visual {
  position: absolute;
  left: 0;
  bottom: 0;
  top: 0;
  width: 45%;
  display: none;
  align-items: center;
  justify-content: center;
}
@media (min-width: 1024px) { .hero-visual { display: flex; } }
.hero-img-wrapper {
  width: 90%;
  height: 70%;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.hero-img-wrapper::before {
  content: '🏗️';
  font-size: 8rem;
  opacity: 0.3;
}

/* Sections */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}
.section-badge {
  display: inline-block;
  background: rgba(0, 102, 204, 0.1);
  color: var(--primary);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
[data-theme="dark"] .section-badge { background: rgba(0, 102, 204, 0.25); }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { margin-bottom: 0; }

/* Cards */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card-img {
  height: 220px;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-img img {
  transform: scale(1.08);
}
.card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover .card-img::after { opacity: 1; }
.card-body { padding: 1.5rem; }
.card-title { font-size: 1.2rem; margin-bottom: 0.75rem; }
.card-text { font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 1.25rem; }
.card-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Service Cards Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

/* Why Us */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.why-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.why-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: rgba(0, 102, 204, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary);
}
.why-card h4 { margin-bottom: 0.5rem; }
.why-card p { font-size: 0.9rem; margin-bottom: 0; }

/* Partners */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 640px) { .partners-grid { grid-template-columns: repeat(4, 1fr); } }
.partner-logo {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  transition: var(--transition);
  font-weight: 700;
  color: var(--text-secondary);
  font-size: 1.1rem;
}
.partner-logo:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: scale(1.03);
}

/* Certificates */
.certs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .certs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .certs-grid { grid-template-columns: repeat(3, 1fr); } }
.cert-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}
.cert-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.cert-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 102, 204, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  color: var(--primary);
}
.cert-info h4 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.cert-info p { font-size: 0.8rem; margin-bottom: 0; color: var(--text-muted); }

/* Testimonials */
.testimonials-slider {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .testimonials-slider { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testimonials-slider { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-text { font-size: 0.95rem; margin-bottom: 1.5rem; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
}
.author-info h5 { font-size: 0.95rem; margin-bottom: 0.15rem; }
.author-info span { font-size: 0.8rem; color: var(--text-muted); }
.stars { color: var(--accent); font-size: 0.9rem; margin-bottom: 0.75rem; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--bg-card);
}
.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  text-align: right;
  transition: var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-question .icon {
  transition: transform 0.3s;
  font-size: 1.25rem;
  color: var(--primary);
}
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* CTA Sections */
.cta-section {
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-section h2 { color: #fff; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.85); margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* Footer */
.footer {
  background: var(--gradient-footer, linear-gradient(180deg, #0A1628 0%, #06101C 100%));
  color: rgba(255,255,255,0.85);
  padding: 4.5rem 0 0;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer-brand .logo { color: #fff; margin-bottom: 1.25rem; }
.footer-brand .logo img { height: 68px; filter: brightness(1.1); }
.footer-brand p {
  color: rgba(255,255,255,0.65);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
  max-width: 320px;
}
.footer-social { display: flex; gap: 0.65rem; flex-wrap: wrap; }
.social-link {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem;
  transition: var(--transition);
}
.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
}
.footer-col h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 1.35rem;
  position: relative;
  padding-bottom: 0.75rem;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 36px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}
.footer-links li { margin-bottom: 0.7rem; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}
.footer-links a:hover {
  color: #fff;
  padding-right: 4px;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
.footer-contact li span {
  width: 36px;
  height: 36px;
  background: rgba(0, 102, 204, 0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.footer-contact a { color: rgba(255,255,255,0.85); }
.footer-contact a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 639px) {
  .footer { padding: 3rem 0 0; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.75rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: pulse-wa 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 998;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* Page Banner */
.page-banner {
  background: var(--gradient-hero);
  padding: 10rem 0 5.5rem;
  text-align: center;
  color: #fff;
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.page-banner .breadcrumb {
  font-size: 1rem;
  margin-top: 0.75rem;
}
.page-banner h1 { color: #fff; margin-bottom: 0.75rem; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: 0.5; }

/* Forms */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}
.form-control {
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}
textarea.form-control { min-height: 140px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

/* Contact Info Cards */
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) { .contact-info-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .contact-info-grid { grid-template-columns: repeat(4, 1fr); } }
.contact-info-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.contact-info-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.contact-info-card .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: rgba(0, 102, 204, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
}
.contact-info-card h4 { font-size: 1rem; margin-bottom: 0.35rem; }
.contact-info-card p, .contact-info-card a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.contact-info-card a:hover { color: var(--primary); }

/* Modal / Lightbox */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s;
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 40px;
  height: 40px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  font-size: 1.25rem;
  color: var(--text-primary);
}
.modal-body { padding: 2rem; }
.modal-img { width: 100%; border-radius: var(--radius-md); margin-bottom: 1.5rem; }

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } }
.project-card .card-img { height: 220px; }
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
}
.project-meta span {
  background: var(--bg-tertiary);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  color: var(--text-muted);
}

/* Filters */
.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding: 1.25rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  align-items: center;
}
.filter-select, .search-input {
  padding: 0.65rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  min-width: 160px;
}
.search-input { flex: 1; min-width: 200px; }

/* Service Detail */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .service-detail-grid { grid-template-columns: 1fr 350px; }
}
.service-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 2rem 0;
}
@media (min-width: 640px) { .service-features { grid-template-columns: 1fr 1fr; } }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
}
.feature-item .icon { color: var(--secondary); font-size: 1.25rem; flex-shrink: 0; }
.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: sticky;
  top: 100px;
}
.sidebar-card h3 { margin-bottom: 1.25rem; font-size: 1.15rem; }
.steps-list { counter-reset: step; }
.step-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
}
.step-num {
  width: 36px;
  height: 36px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Dashboard Styles */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 280px;
  background: #0A1628;
  color: #fff;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  z-index: 100;
  transition: transform 0.3s;
}
.sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.sidebar-nav { padding: 1rem 0; }
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  transition: var(--transition);
}
.sidebar-link:hover, .sidebar-link.active {
  background: rgba(0, 102, 204, 0.3);
  color: #fff;
}
.dashboard-main {
  flex: 1;
  margin-right: 280px;
  background: var(--bg-secondary);
  min-height: 100vh;
}
.dashboard-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dashboard-content { padding: 2rem; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.stat-card .icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.stat-card .icon.blue { background: rgba(11,110,153,0.1); color: var(--primary); }
.stat-card .icon.green { background: rgba(0,168,168,0.1); color: var(--secondary); }
.stat-card .icon.orange { background: rgba(245,166,35,0.1); color: var(--accent); }
.stat-card .icon.purple { background: rgba(128,90,213,0.1); color: #805AD5; }
.stat-card h3 { font-size: 1.75rem; margin-bottom: 0.15rem; }
.stat-card p { font-size: 0.85rem; margin: 0; color: var(--text-muted); }

.table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.table-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.table { width: 100%; border-collapse: collapse; }
.table th, .table td {
  padding: 1rem 1.25rem;
  text-align: right;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.table th {
  background: var(--bg-secondary);
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
}
.table tr:hover td { background: var(--bg-secondary); }
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-success { background: rgba(72,187,120,0.15); color: #38A169; }
.badge-warning { background: rgba(245,166,35,0.15); color: #D69E2E; }
.badge-info { background: rgba(11,110,153,0.15); color: var(--primary); }
.badge-danger { background: rgba(245,101,101,0.15); color: #E53E3E; }
.action-btns { display: flex; gap: 0.5rem; }
.action-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: var(--transition);
}
.action-btn:hover { background: var(--primary); color: #fff; }
.action-btn.danger:hover { background: #E53E3E; }

/* Utilities */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.gap-2 { gap: 1rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in { animation: fadeInUp 0.6s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-secondary) 50%, var(--bg-tertiary) 75%);
  background-size: 200% 100%;
  animation: skeleton 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes skeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Responsive Sidebar for Dashboard */
@media (max-width: 1023px) {
  .sidebar { transform: translateX(100%); }
  .sidebar.open { transform: translateX(0); }
  .dashboard-main { margin-right: 0; }
}

/* Print */
@media print {
  .header, .whatsapp-float, .back-to-top, .footer { display: none; }
}

/* ========== Mobile Optimizations ========== */
@media (max-width: 767px) {
  html { font-size: 15px; }
  .header-inner { height: 72px; }
  .logo img, .logo-img { height: 48px; }
  .hero {
    min-height: auto;
    padding: 5.5rem 0 3rem;
  }
  .hero-content { padding: 1.5rem 0; }
  .hero h1 { font-size: 1.75rem; line-height: 1.35; }
  .hero .lead { font-size: 1rem; }
  .hero-btns {
    flex-direction: column;
    width: 100%;
  }
  .hero-btns .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
  }
  .stat-number { font-size: 1.5rem; }
  .section { padding: 3rem 0; }
  .section-sm { padding: 2rem 0; }
  .section-header { margin-bottom: 2rem; }
  .card-img { height: 180px; }
  .cta-section {
    padding: 2.25rem 1.25rem;
    border-radius: var(--radius-lg);
  }
  .cta-btns {
    flex-direction: column;
    width: 100%;
  }
  .cta-btns .btn { width: 100%; }
  .filters-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-select, .search-input {
    width: 100%;
    min-width: 0;
  }
  .page-banner { padding: 7rem 0 3.5rem; min-height: 260px; }
  .page-banner h1 { font-size: 1.85rem; }
  .whatsapp-float {
    width: 54px;
    height: 54px;
    bottom: 1rem;
    left: 1rem;
    font-size: 1.5rem;
  }
  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
  }
  .header-actions .btn { display: none; }
  .contact-info-grid { gap: 0.85rem; }
  .contact-info-card { padding: 1.25rem 1rem; }
  .btn-lg { padding: 0.95rem 1.5rem; font-size: 0.95rem; }
  .table { font-size: 0.8rem; }
  .table th, .table td { padding: 0.75rem 0.65rem; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 1.5rem; }
  .container { padding: 0 1rem; }
}

/* ========== Sharper accent system ========== */
:root {
  --primary: #0052CC;
  --primary-dark: #003D99;
  --primary-light: #2684FF;
  --secondary: #00B894;
  --accent: #FF5A1F;
  --accent-dark: #E0450F;
  --highlight: #FFD60A;
  --gradient-primary: linear-gradient(135deg, #0052CC 0%, #00B894 100%);
  --gradient-hero: linear-gradient(135deg, #002B6B 0%, #0052CC 40%, #0099AA 100%);
  --gradient-accent: linear-gradient(135deg, #FF5A1F 0%, #FF8C42 100%);
}

.btn-primary {
  background: linear-gradient(135deg, #0052CC 0%, #0066FF 100%);
  box-shadow: 0 6px 20px rgba(0, 82, 204, 0.4);
}
.btn-primary:hover {
  box-shadow: 0 8px 28px rgba(0, 82, 204, 0.55);
  filter: brightness(1.08);
}
.btn-accent {
  background: linear-gradient(135deg, #FF5A1F 0%, #FF8C42 100%);
  box-shadow: 0 6px 20px rgba(255, 90, 31, 0.4);
}
.section-badge {
  background: linear-gradient(135deg, rgba(0,82,204,0.12), rgba(0,184,148,0.12));
  color: var(--primary);
  border: 1px solid rgba(0,82,204,0.2);
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Modern icon boxes */
.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0,82,204,0.12), rgba(0,184,148,0.1));
  color: var(--primary);
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.icon-box svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.why-card:hover .icon-box,
.contact-info-card:hover .icon-box {
  background: var(--gradient-primary);
  color: #fff;
  transform: scale(1.08);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}
@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: var(--transition);
}
.gallery-item:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item .gallery-zoom {
  position: absolute;
  inset: 0;
  background: rgba(0, 82, 204, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  color: #fff;
  font-size: 1.5rem;
}
.gallery-item:hover .gallery-zoom { opacity: 1; }

/* Related cards */
.related-section {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.related-section h3 {
  margin-bottom: 1.5rem;
  font-size: 1.35rem;
}
.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }

/* Page banner with image */
.page-banner {
  background: var(--gradient-hero);
  background-size: cover;
  background-position: center;
  position: relative;
}
.page-banner.has-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,43,107,0.9) 0%, rgba(0,82,204,0.82) 50%, rgba(0,153,170,0.85) 100%);
}
.page-banner .container { position: relative; z-index: 1; }

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  padding: 1rem;
}
.lightbox-overlay.open { opacity: 1; visibility: visible; }
.lightbox-overlay img {
  max-width: 95%;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
}
.lightbox-close:hover { background: var(--accent); }

/* Stronger cards */
.card {
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,82,204,0.06);
}
.card:hover {
  box-shadow: 0 16px 40px rgba(0,82,204,0.18);
  border-color: rgba(0,82,204,0.25);
}

/* Contact icon modernization */
.contact-info-card .icon {
  background: linear-gradient(135deg, rgba(0,82,204,0.12), rgba(0,184,148,0.12));
  color: var(--primary);
  border-radius: 14px;
}
.contact-info-card:hover .icon {
  background: var(--gradient-primary);
  color: #fff;
}

/* Stat highlight */
.stat-number {
  background: linear-gradient(135deg, #fff 0%, #FFD60A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}
.hero .stat-number {
  -webkit-text-fill-color: #fff;
  background: none;
  filter: none;
  text-shadow: 0 2px 12px rgba(255,214,10,0.35);
}

/* Feature item accent */
.feature-item {
  border-right: 3px solid var(--secondary);
  transition: var(--transition);
}
.feature-item:hover {
  background: rgba(0,184,148,0.08);
  border-right-color: var(--accent);
}
.step-num {
  background: linear-gradient(135deg, #0052CC, #00B894);
  box-shadow: 0 4px 12px rgba(0,82,204,0.3);
}

.why-card .icon-box { margin: 0 auto 1rem; }
.contact-info-card .icon svg { display:block; }
.whatsapp-float {
  background: linear-gradient(135deg, #25D366, #128C7E) !important;
}
.section-badge {
  box-shadow: 0 2px 8px rgba(0,82,204,0.1);
}
.cta-section {
  box-shadow: 0 20px 50px rgba(0,82,204,0.25);
}


/* Typography polish */
body {
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.25;
  text-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.hero .lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.9;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 700;
}
.stat-label {
  font-size: 0.95rem;
  font-weight: 500;
}
@media (min-width: 1024px) {
  .page-banner {
    min-height: 380px;
    padding: 11rem 0 6rem;
  }
}


/* ========== Hero Slider ========== */
.hero-slider {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 88px;
}
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s ease, transform 8s ease;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 30, 70, 0.55) 0%, rgba(0, 60, 120, 0.35) 45%, rgba(0, 40, 80, 0.45) 100%);
}
.hero-slider .container {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-slider .hero-content {
  max-width: 720px;
  color: #fff;
  padding: 3rem 0 4rem;
}
.hero-slider .hero-badge {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
  animation: fadeInDown 0.8s ease;
}
.hero-slider h1 {
  color: #fff;
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.9s ease 0.1s both;
}
.hero-slider .lead {
  color: rgba(255,255,255,0.95);
  margin-bottom: 2rem;
  animation: fadeInUp 0.9s ease 0.2s both;
  text-shadow: 0 1px 8px rgba(0,0,0,0.2);
}
.hero-slider .hero-btns {
  animation: fadeInUp 0.9s ease 0.3s both;
}
.hero-slider .hero-stats {
  animation: fadeInUp 0.9s ease 0.45s both;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.6rem;
}
.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: 0.3s;
  padding: 0;
}
.slider-dot.active {
  background: var(--accent);
  border-color: #fff;
  transform: scale(1.25);
  box-shadow: 0 0 12px rgba(255,90,31,0.6);
}
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
}
.slider-nav:hover {
  background: var(--primary);
  border-color: var(--primary);
}
.slider-prev { right: 1.25rem; }
.slider-next { left: 1.25rem; }

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(255, 90, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0); }
}

/* Floating action stack */
.float-actions {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}
.float-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.15rem;
  border-radius: 50px;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  white-space: nowrap;
  animation: floatY 3s ease-in-out infinite;
}
.float-btn:nth-child(2) { animation-delay: 0.4s; }
.float-btn:nth-child(3) { animation-delay: 0.8s; }
.float-btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}
.float-btn .fb-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.float-btn.wa {
  background: linear-gradient(135deg, #25D366, #128C7E);
  animation: floatY 3s ease-in-out infinite, pulse-ring 2.5s infinite;
}
.float-btn.call {
  background: linear-gradient(135deg, #0052CC, #2684FF);
}
.float-btn.quote {
  background: linear-gradient(135deg, #FF5A1F, #FF8C42);
}
@media (max-width: 640px) {
  .float-btn span:not(.fb-icon) { display: none; }
  .float-btn { padding: 0.75rem; border-radius: 50%; }
  .float-btn .fb-icon { width: 48px; height: 48px; font-size: 1.35rem; }
  .float-actions { bottom: 1rem; left: 1rem; }
  .slider-nav { display: none; }
}

/* Hide old single whatsapp if float stack exists */
.float-actions ~ .whatsapp-float,
body:has(.float-actions) .whatsapp-float { display: none; }

/* Enhanced CTA bands */
.cta-section {
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 82, 204, 0.28);
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  top: -80px;
  left: -60px;
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,214,10,0.12);
  bottom: -60px;
  right: -40px;
  pointer-events: none;
}
.cta-section.cta-dark {
  background: linear-gradient(135deg, #0A1628 0%, #003D99 50%, #0052CC 100%);
}
.cta-section.cta-accent {
  background: linear-gradient(135deg, #FF5A1F 0%, #E0450F 50%, #FF8C42 100%);
}
.cta-section.cta-green {
  background: linear-gradient(135deg, #00B894 0%, #008F72 100%);
}
.cta-mini {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin: 2rem 0;
}
.cta-mini h3 { margin: 0; font-size: 1.15rem; }
.cta-mini p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }
.cta-mini-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }

/* Branches */
.branches-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .branches-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .branches-grid { grid-template-columns: repeat(4, 1fr); } }
.branch-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.35rem;
  transition: 0.35s;
  position: relative;
  overflow: hidden;
}
.branch-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: 0.35s;
  transform-origin: right;
}
.branch-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.branch-card:hover::before { transform: scaleX(1); }
.branch-card.main-branch {
  border-color: rgba(0,82,204,0.35);
  background: linear-gradient(180deg, rgba(0,82,204,0.06) 0%, var(--bg-card) 40%);
}
.branch-card h4 { margin-bottom: 0.75rem; font-size: 1.05rem; }
.branch-card .branch-city {
  display: inline-block;
  background: rgba(0,82,204,0.1);
  color: var(--primary);
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}
.branch-card ul { margin: 0; padding: 0; }
.branch-card li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0.55rem;
  line-height: 1.5;
}
.branch-card a { color: var(--primary); font-weight: 600; }
.branch-card a:hover { color: var(--accent); }

/* Link & nav hover polish */
.nav-link {
  position: relative;
  overflow: hidden;
}
.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 50%;
  left: 50%;
  height: 2px;
  background: var(--accent);
  transition: 0.3s;
  border-radius: 2px;
}
.nav-link:hover::before,
.nav-link.active::before {
  right: 0.75rem;
  left: 0.75rem;
}
.footer-links a {
  position: relative;
}
.footer-links a::after {
  content: '←';
  opacity: 0;
  margin-right: 0.35rem;
  transition: 0.25s;
  color: var(--accent);
}
.footer-links a:hover::after { opacity: 1; }
.footer-links a:hover {
  color: #fff;
  padding-right: 6px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Icon hover spin-lite */
.icon-box {
  transition: 0.4s cubic-bezier(0.4,0,0.2,1);
}
.why-card:hover .icon-box {
  transform: scale(1.1) rotate(-6deg);
}
.contact-info-card .icon {
  transition: 0.35s;
}
.contact-info-card:hover .icon {
  transform: scale(1.12);
}

/* Card lift */
.card {
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s, border-color 0.3s;
}

/* Back to top position with float stack */
.back-to-top {
  bottom: 1.5rem;
  right: 1.5rem;
}


/* ========== Contrast & Button Fix (final) ========== */
.btn {
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.4;
}
.btn-primary,
a.btn-primary {
  background: linear-gradient(135deg, #0052CC 0%, #0066FF 100%) !important;
  color: #ffffff !important;
  border: none;
  box-shadow: 0 6px 20px rgba(0, 82, 204, 0.4);
}
.btn-primary:hover,
a.btn-primary:hover {
  color: #ffffff !important;
  filter: brightness(1.08);
}
.btn-accent,
a.btn-accent {
  background: linear-gradient(135deg, #FF5A1F 0%, #FF8C42 100%) !important;
  color: #ffffff !important;
  border: none;
  box-shadow: 0 6px 20px rgba(255, 90, 31, 0.4);
}
.btn-accent:hover,
a.btn-accent:hover {
  color: #ffffff !important;
}
.btn-secondary,
a.btn-secondary {
  background: transparent !important;
  color: #0052CC !important;
  border: 2px solid #0052CC !important;
}
.btn-secondary:hover,
a.btn-secondary:hover {
  background: #0052CC !important;
  color: #ffffff !important;
}
.btn-white,
a.btn-white {
  background: #ffffff !important;
  color: #0052CC !important;
  border: none;
  font-weight: 700;
}
.btn-white:hover,
a.btn-white:hover {
  color: #003D99 !important;
  background: #f0f7ff !important;
}
.btn-outline-white,
a.btn-outline-white {
  background: transparent !important;
  color: #ffffff !important;
  border: 2px solid rgba(255,255,255,0.85) !important;
}
.btn-outline-white:hover,
a.btn-outline-white:hover {
  background: #ffffff !important;
  color: #0052CC !important;
}

/* Dark mode button contrast */
[data-theme="dark"] .btn-secondary {
  color: #5B9FFF !important;
  border-color: #5B9FFF !important;
}
[data-theme="dark"] .btn-secondary:hover {
  background: #0052CC !important;
  color: #fff !important;
}
[data-theme="dark"] .card-text,
[data-theme="dark"] .text-muted {
  color: #A0AEC0 !important;
}

/* Text contrast improvements */
.card-title { color: var(--text-primary); }
.card-text { color: var(--text-secondary); }
.section-header p { color: var(--text-secondary); font-size: 1.05rem; }

/* Mobile polish final */
@media (max-width: 767px) {
  .hero-slider {
    min-height: auto;
    padding-top: 72px;
  }
  .hero-slider .hero-content {
    padding: 2.5rem 0 3.5rem;
  }
  .hero-slider h1 {
    font-size: 1.65rem !important;
    line-height: 1.35;
  }
  .hero-slider .lead {
    font-size: 0.95rem !important;
  }
  .hero-btns {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
  }
  .hero-btns .btn {
    width: 100%;
    justify-content: center;
    padding: 0.95rem 1rem;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.85rem;
  }
  .float-actions {
    bottom: 1rem;
    left: 0.75rem;
    gap: 0.55rem;
  }
  .back-to-top {
    bottom: 1rem;
    right: 0.75rem;
  }
  .cta-mini {
    flex-direction: column;
    text-align: center;
  }
  .cta-mini-actions {
    width: 100%;
    justify-content: center;
  }
  .cta-mini-actions .btn {
    flex: 1;
    min-width: 0;
    justify-content: center;
  }
  .branches-grid {
    grid-template-columns: 1fr !important;
  }
  .slider-dots {
    bottom: 1rem;
  }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    bottom: 0;
    background: var(--bg-primary);
    padding: 1.5rem;
    gap: 0.5rem;
    z-index: 999;
    box-shadow: var(--shadow-xl);
  }
  .nav.open .nav-link {
    padding: 1rem;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border);
  }
}

/* Prevent layout overflow */
img { max-width: 100%; height: auto; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-primary); padding: 0.35rem; line-height: 1; }
@media (max-width: 900px) {
  .menu-toggle { display: block !important; }
  .nav { display: none; }
  .nav.open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 72px; right: 0; left: 0; bottom: 0;
    background: var(--bg-primary);
    padding: 1.25rem;
    z-index: 998;
    gap: 0.25rem;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
  }
  .header-actions .btn { display: none; }
}

/* ===== 2026 content, projects and mobile action refinements ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.logo img,
.logo-img {
  height: 74px;
  max-width: 150px;
}

.header-inner { height: 96px; }
.mobile-menu { top: 96px; }
.nav { gap: 0; }
.nav-link { padding-inline: 0.72rem; }

.projects-heading-row,
.blog-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.projects-count {
  display: inline-flex;
  padding: .55rem 1rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 700;
}

.projects-grid { gap: 1.75rem; }
.project-card {
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 12px 36px rgba(4, 56, 104, .09);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.project-card:hover {
  transform: translateY(-7px);
  border-color: rgba(0, 102, 204, .35);
  box-shadow: 0 22px 48px rgba(4, 56, 104, .16);
}
.project-media {
  display: block;
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--bg-tertiary);
}
.project-media::after {
  content: '';
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg, transparent, rgba(1, 24, 49, .72));
}
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.project-card:hover .project-media img { transform: scale(1.055); }
.project-service {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  max-width: calc(100% - 2rem);
  padding: .55rem .8rem;
  color: #fff;
  background: rgba(1, 35, 70, .72);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  font-size: .78rem;
  font-weight: 700;
}
.project-service svg,
.project-facts svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; flex: 0 0 auto; }
.project-body { padding: 1.35rem; }
.project-kicker { color: var(--primary); font-size: .75rem; font-weight: 800; margin-bottom: .5rem; }
.project-body h3 { font-size: 1.16rem; margin-bottom: .35rem; line-height: 1.55; }
.project-client { min-height: 1.6em; margin-bottom: 1rem; color: var(--text-muted); font-size: .86rem; }
.project-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
  padding-block: .9rem;
  border-block: 1px solid var(--border);
}
.project-facts span { display: flex; flex-direction: column; align-items: center; gap: .28rem; min-width: 0; color: var(--primary); text-align: center; }
.project-facts b { color: var(--text-secondary); font-size: .74rem; font-weight: 700; overflow-wrap: anywhere; }
.project-summary { margin: 1rem 0; color: var(--text-secondary); font-size: .88rem; line-height: 1.75; }
.project-link,
.text-link { display: inline-flex; align-items: center; gap: .45rem; color: var(--primary); font-weight: 800; font-size: .9rem; }
.project-link:hover,
.text-link:hover { gap: .7rem; }
.filters-bar { position: sticky; top: 108px; z-index: 20; border: 1px solid var(--border); box-shadow: 0 12px 30px rgba(7, 52, 94, .08); }
.filter-select:focus,
.search-input:focus { outline: 3px solid rgba(0, 102, 204, .16); border-color: var(--primary); }
.empty-state { grid-column: 1 / -1; padding: 4rem 1.5rem; text-align: center; border: 1px dashed var(--border); border-radius: var(--radius-xl); background: var(--bg-secondary); }

/* Blog */
.blog-banner p { position: relative; z-index: 1; max-width: 640px; color: rgba(255,255,255,.86); }
.blog-search { width: min(100%, 360px); }
.blog-search .search-input { width: 100%; }
.featured-article {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: 2.25rem;
  padding: 1.25rem;
  margin-bottom: 2.25rem;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-secondary));
  box-shadow: var(--shadow-md);
}
.featured-article > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; }
.featured-article h2 { margin: .9rem 0; font-size: clamp(1.65rem, 3vw, 2.35rem); }
.featured-article .btn { margin-top: .7rem; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.blog-card { overflow: hidden; border: 1px solid var(--border); border-radius: 20px; background: var(--bg-card); box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover img { transform: scale(1.045); }
.blog-card-body { padding: 1.25rem; }
.blog-card h3 { margin: .65rem 0; font-size: 1.12rem; line-height: 1.55; }
.blog-card p { font-size: .88rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .75rem; color: var(--text-muted); font-size: .78rem; }
.article-hero { padding: 10rem 0 4.5rem; background: linear-gradient(150deg, #05284b, #0066cc); color: #fff; }
.article-hero h1 { max-width: 900px; color: #fff; font-size: clamp(2rem, 5vw, 3.5rem); margin-block: 1rem; }
.article-hero p { max-width: 800px; color: rgba(255,255,255,.82); font-size: 1.1rem; }
.article-hero .breadcrumb a,
.article-hero .breadcrumb span { color: rgba(255,255,255,.72); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 2rem; }
.article-card { overflow: hidden; background: var(--bg-card); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow-md); }
.article-cover,
.article-video { display: block; width: 100%; max-height: 620px; object-fit: cover; background: #000; }
.article-content { padding: clamp(1.4rem, 4vw, 3.25rem); }
.article-content h2 { margin: 2.2rem 0 .8rem; font-size: 1.7rem; }
.article-content h3 { margin: 1.8rem 0 .7rem; font-size: 1.35rem; }
.article-content p,
.article-content li { font-size: 1.04rem; line-height: 2; }
.article-content ul,
.article-content ol { margin: 1rem 1.25rem 1.5rem 0; }
.article-content li { list-style: disc; margin-bottom: .45rem; }
.article-aside { position: sticky; top: 116px; display: grid; gap: 1rem; }
.article-aside .card { padding: 1.25rem; }
.article-aside h3 { margin-bottom: .75rem; font-size: 1.15rem; }
.aside-actions { display: grid; gap: .65rem; }
.related-link { display: grid; grid-template-columns: 78px 1fr; align-items: center; gap: .7rem; padding-block: .75rem; border-bottom: 1px solid var(--border); font-size: .82rem; font-weight: 700; line-height: 1.55; }
.related-link img { width: 78px; height: 60px; object-fit: cover; border-radius: 9px; }

/* Professional floating communication actions */
.float-btn { animation: none; padding: .72rem .95rem; border: 1px solid rgba(255,255,255,.28); }
.float-btn .fb-icon { width: 34px; height: 34px; }
.float-btn .fb-icon svg { width: 20px; height: 20px; fill: currentColor; }
.float-btn.wa { animation: none; }
.float-btn.quote { display: none !important; }

@media (max-width: 1023px) {
  body { padding-bottom: 76px; }
  .header-inner { height: 78px; }
  .logo img,
  .logo-img { height: 58px; max-width: 110px; }
  .mobile-menu { top: 78px; }
  .header-actions > .btn { display: none; }
  .menu-toggle { display: none !important; }
  .filters-bar { top: 88px; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .float-actions {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1200;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: max(.45rem, env(safe-area-inset-bottom)) .65rem .45rem;
    background: rgba(255,255,255,.96);
    border-top: 1px solid var(--border);
    box-shadow: 0 -10px 30px rgba(4, 35, 66, .12);
    backdrop-filter: blur(16px);
  }
  [data-theme="dark"] .float-actions { background: rgba(15,20,25,.96); }
  .float-btn { justify-content: center; min-height: 56px; border-radius: 12px; padding: .5rem; animation: none !important; }
  .float-btn .fb-icon { width: 28px; height: 28px; background: transparent; }
  .float-btn span:not(.fb-icon) { display: inline; }
  .back-to-top { bottom: 88px !important; }
}

@media (max-width: 700px) {
  .projects-heading-row,
  .blog-toolbar { align-items: stretch; flex-direction: column; gap: 1rem; }
  .blog-search { width: 100%; }
  .featured-article { grid-template-columns: 1fr; padding: .8rem; gap: 1.15rem; }
  .featured-article > div { padding: .4rem .65rem 1rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .article-hero { padding: 7.5rem 0 3.25rem; }
  .article-content { padding: 1.25rem; }
}
  
