/* ============================================
   LUMINA AV — Premium Professional Website
   Modern, clean, corporate design system
   ============================================ */

:root {
  /* Color Palette — Premium Tech */
  --primary: #0B1120;
  --primary-light: #1E293B;
  --accent: #0EA5E9;
  --accent-hover: #0284C7;
  --accent-soft: rgba(14, 165, 233, 0.12);
  --cyan: #22D3EE;
  --white: #FFFFFF;
  --off-white: #F8FAFC;
  --gray-50: #F1F5F9;
  --gray-100: #E2E8F0;
  --gray-200: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  --success: #10B981;
  --warning: #F59E0B;
  
  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Inter', system-ui, sans-serif;
  
  /* Spacing */
  --section-padding: 6rem 0;
  --container: 1200px;
  
  /* Effects */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.05);
  --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

.lead {
  font-size: 1.25rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.text-accent { color: var(--accent); }
.text-white { color: var(--white); }
.text-muted { color: var(--gray-500); }

/* 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: 9999px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 14px 0 rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(14, 165, 233, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
}

.btn-dark {
  background: var(--primary);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
}

/* ========== HEADER / NAV ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  background: transparent;
}

.header.scrolled {
  background: color-mix(in srgb, var(--primary) 95%, transparent);
  backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: white;
  font-size: 1.1rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  margin-left: 0.5rem;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  position: relative;
  z-index: 1001;
}

/* Hide the hamburger the instant the full-screen mobile nav is open, so it
   can never sit on top of the panel's own X close button. */
body.mobile-menu-open .menu-toggle {
  visibility: hidden;
  pointer-events: none;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary);
  z-index: 1200;
  padding: 6rem 2rem 2rem;
  flex-direction: column;
  gap: 1.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  color: white;
  font-size: 1.25rem;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 92%, transparent) 0%, color-mix(in srgb, var(--primary) 75%, transparent) 50%, color-mix(in srgb, var(--accent) 25%, transparent) 100%),
    url('https://images.unsplash.com/photo-1558618666-fcd25c85f82e?w=1920&q=80') center/cover no-repeat;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 4rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14,165,233,0.15);
  border: 1px solid rgba(14,165,233,0.3);
  color: var(--cyan);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero .lead {
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.25rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.stat {
  text-align: left;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.25rem;
}

/* ========== SECTIONS ========== */
.section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-header .eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-dark {
  background: var(--primary);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-gray {
  background: var(--gray-50);
}

/* ========== TRUST / LOGOS ========== */
.trust-bar {
  padding: 2.5rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.trust-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}

.logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem 3.5rem;
  opacity: 0.55;
  filter: grayscale(1);
}

.logo-strip img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

/* ========== FEATURES / WHY US ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-soft);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
}

.feature-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
}

/* ========== SERVICES OVERVIEW ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.service-image {
  height: 200px;
  background: var(--gray-100);
  position: relative;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Logo/icon style: for a transparent PNG (e.g. just a TV outline with no
   background) instead of a full-bleed photo — shown centered and whole,
   never cropped. */
.service-image.logo-style {
  background: var(--gray-50, #F8FAFC);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.service-image.logo-style img {
  width: auto;
  height: auto;
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
}
.service-card:hover .service-image.logo-style img {
  transform: scale(1.08);
}

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

.service-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-body h3 {
  margin-bottom: 0.6rem;
}

.service-body p {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  flex: 1;
}

.service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.service-price {
  font-weight: 700;
  color: var(--accent);
  font-size: 1.1rem;
}

/* ========== PROCESS ========== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  position: relative;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  margin: 0 auto 1.25rem;
  box-shadow: 0 8px 20px rgba(14,165,233,0.3);
}

.step h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.step p {
  color: var(--gray-500);
  font-size: 0.95rem;
}

/* ========== TESTIMONIALS ========== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--gray-100);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  color: var(--accent-soft);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-stars {
  color: #FBBF24;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.testimonial-text {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  font-size: 0.98rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
}

.author-info strong {
  display: block;
  color: var(--primary);
  font-size: 0.95rem;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* ========== FAQ ========== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--primary);
  gap: 1rem;
}

.faq-question i {
  color: var(--accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.35rem;
}

.faq-answer p {
  color: var(--gray-500);
  line-height: 1.7;
}

/* ========== CTA SECTION ========== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #1a2744 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(14,165,233,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-section .lead {
  color: rgba(255,255,255,0.75);
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  padding: 4.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent);
}

.footer-col h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.footer-col ul li {
  margin-bottom: 0.65rem;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
  background: var(--primary);
  padding: 9rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,165,233,0.15) 0%, transparent 60%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: white;
  margin-bottom: 0.75rem;
}

.page-hero .lead {
  color: rgba(255,255,255,0.75);
  max-width: 560px;
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
}

.breadcrumb a:hover {
  color: var(--accent);
}

/* ========== ABOUT ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Logo/icon style for a service's detail-page image — see .service-image.logo-style above. */
.about-image.logo-style {
  background: var(--gray-50, #F8FAFC);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  min-height: 320px;
}
.about-image.logo-style img {
  width: auto;
  height: auto;
  max-width: 65%;
  max-height: 260px;
  object-fit: contain;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
}

.value-card i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.team-card {
  text-align: center;
}

.team-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  border: 4px solid var(--gray-100);
  box-shadow: var(--shadow-md);
}

.team-card h3 {
  margin-bottom: 0.25rem;
  font-size: 1.15rem;
}

.team-card .role {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
  padding-left: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: 0.35rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid white;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.timeline-year {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

/* ========== PORTFOLIO ========== */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid var(--gray-200);
  background: white;
  color: var(--gray-600);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.portfolio-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--primary) 90%, transparent) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  color: white;
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.portfolio-overlay span {
  color: var(--cyan);
  font-size: 0.85rem;
}

/* ========== BLOG ========== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.blog-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 0.75rem;
}

.blog-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.blog-body h3 a:hover {
  color: var(--accent);
}

.blog-excerpt {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  flex: 1;
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.info-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--gray-50);
  border-radius: var(--radius);
}

.info-card i {
  width: 44px;
  height: 44px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.info-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.info-card p, .info-card a {
  color: var(--gray-500);
  font-size: 0.9rem;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--gray-700);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  background: var(--gray-50);
  transition: var(--transition);
  color: var(--gray-800);
}

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

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Map */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 360px;
  background: var(--gray-100);
  margin-top: 3rem;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========== FLOATING BUTTONS ========== */
.floating-actions {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.float-btn:hover {
  transform: scale(1.08);
}

.float-whatsapp {
  background: #25D366;
}

.float-phone {
  background: var(--accent);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  color: white;
  padding: 1rem 1.5rem;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.cookie-banner.show {
  display: flex;
}

.cookie-banner p {
  font-size: 0.9rem;
  opacity: 0.9;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Newsletter */
.newsletter-form {
  display: flex;
  gap: 0.5rem;
  max-width: 420px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 0.9rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: white;
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.5);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent);
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-0.visible { transition-delay: 0s; }
.fade-up-delay-1.visible { transition-delay: 0.1s; }
.fade-up-delay-2.visible { transition-delay: 0.2s; }
.fade-up-delay-3.visible { transition-delay: 0.3s; }

/* Subtle hover lift for cards across the homepage */
.service-card, .testimonial-card, .step {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover, .testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.08);
}
.step:hover .step-number {
  transform: scale(1.1);
}
.step-number {
  transition: transform 0.25s ease;
}

/* Animated hero stat counters (values are counted up by JS) */
.stat-number { transition: color 0.3s ease; }

/* Gentle floating hero badge */
.hero-badge {
  animation: heroBadgeFloat 3.5s ease-in-out infinite;
}
@keyframes heroBadgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Logo strip in trust bar drifts in on scroll */
.logo-strip img {
  transition: transform 0.25s ease, opacity 0.25s ease;
  opacity: 0.65;
}
.logo-strip img:hover {
  transform: translateY(-3px);
  opacity: 1;
}

/* Utility */
.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; }
.text-center { text-align: center; }

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-cta {
    display: none;
  }
  
  /* The header's dark mode button gets tight for space next to the
     hamburger at this width — it moves into the mobile menu panel
     instead (see .mobile-dark-toggle below). */
  .header .dark-mode-toggle {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 4rem 0;
  }
  
  .hero-stats {
    gap: 1.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .logo-strip {
    gap: 1.5rem;
  }
  
  .stat-number {
    font-size: 1.4rem;
  }
}
/* ========== BLOG ARTICLE SECTIONS ========== */
.article-sections {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.article-section-divider {
  padding-top: 2.5rem;
  border-top: 1px solid var(--gray-100);
}
.article-section-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--primary);
}
.article-section-image {
  width: 100%;
  border-radius: var(--radius-lg, 12px);
  margin-bottom: 1.25rem;
  display: block;
}
.article-section-body {
  color: var(--gray-600);
  line-height: 1.8;
  font-size: 1.05rem;
}
.article-section-body p {
  margin-bottom: 1.1rem;
}
.article-section-body p:last-child {
  margin-bottom: 0;
}

/* ========== CLICKABLE FEATURE CARDS ========== */
.feature-card-clickable {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card-clickable:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.feature-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-soft, rgba(14,165,233,0.12));
  color: var(--accent);
  margin-top: 1rem;
  transition: transform 0.2s ease;
}
.feature-card-clickable:hover .feature-card-arrow {
  transform: translateX(4px);
}

/* ========== DARK MODE TOGGLE ========== */
.dark-mode-toggle {
  background: none;
  border: 1.5px solid rgba(255,255,255,0.25);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: background 0.2s ease, border-color 0.2s ease;
  margin-left: 0.5rem;
}
.dark-mode-toggle:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--accent);
}
.dark-mode-toggle .fa-sun {
  display: none;
}
body.dark-mode .dark-mode-toggle .fa-moon {
  display: none;
}
body.dark-mode .dark-mode-toggle .fa-sun {
  display: inline;
  color: var(--cyan);
}

/* ========== DARK MODE PALETTE ========== */
/* Colors below come from CSS variables set in css/theme.php, which reads
   them from Admin → Settings → Dark Mode Colors — so dark mode is just as
   editable as the rest of the site's color scheme. */
body.dark-mode {
  background: var(--dm-bg, #0F1520);
  color: var(--dm-text, #94A3B8);
}
body.dark-mode .section-gray,
body.dark-mode .trust-bar {
  background: var(--dm-surface-alt, #131B29);
}
body.dark-mode .feature-card,
body.dark-mode .service-card,
body.dark-mode .testimonial-card,
body.dark-mode .team-card,
body.dark-mode .value-card,
body.dark-mode .blog-card,
body.dark-mode .contact-form,
body.dark-mode .info-card,
body.dark-mode .faq-item,
body.dark-mode .step {
  background: var(--dm-surface, #1A2333);
  border-color: var(--dm-border, #26314A);
  color: var(--dm-text, #94A3B8);
}
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, body.dark-mode h4 {
  color: var(--dm-heading, #F1F5F9);
}
body.dark-mode p, body.dark-mode span, body.dark-mode li {
  color: var(--dm-text, #94A3B8);
}
body.dark-mode .service-price,
body.dark-mode .testimonial-stars {
  color: var(--accent);
}
body.dark-mode .footer {
  background: var(--dm-footer-bg, #05070C);
}
body.dark-mode .form-group input,
body.dark-mode .form-group textarea,
body.dark-mode .form-group select,
body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea,
body.dark-mode .contact-form select {
  background: var(--dm-surface-alt, #131B29);
  border-color: var(--dm-border, #26314A);
  color: var(--dm-heading, #E2E8F0);
}
body.dark-mode .cta-section {
  background: var(--dm-footer-bg, #05070C);
}

/* ========== EXTRA HOMEPAGE POLISH ========== */
.feature-icon {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.feature-card:hover .feature-icon {
  transform: rotate(-8deg) scale(1.12);
}

.hero .btn-primary {
  position: relative;
  animation: heroPulse 2.8s ease-in-out infinite;
}
@keyframes heroPulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); }
  50% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--accent) 0%, transparent); }
}

.section-header .eyebrow {
  display: inline-block;
  transition: transform 0.25s ease;
}
.section-header:hover .eyebrow {
  transform: translateY(-2px);
}

.faq-question {
  transition: background 0.2s ease;
}
.faq-item.active .faq-question {
  color: var(--accent);
}

/* ========== DARK MODE ROW INSIDE MOBILE MENU ========== */
.mobile-dark-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: white;
  font-size: 1.05rem;
  font-weight: 500;
}
.mobile-dark-toggle-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.mobile-dark-toggle .dark-mode-toggle {
  margin-left: 0;
  flex-shrink: 0;
}

/* ========== SERVICE ADD-ONS (Services page) ========== */
.addon-card {
  border: 1.5px solid var(--gray-100);
}
.addon-price {
  display: inline-block;
  margin-top: 0.85rem;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  background: var(--accent-soft, rgba(14,165,233,0.12));
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
}
.addon-hint {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: var(--gray-400);
}

/* ========== HOMEPAGE — AMBIENT BACKGROUND ANIMATION ========== */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-particles span {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.28;
  will-change: transform;
}
.hero-particles span:nth-child(1) {
  width: 320px;
  height: 320px;
  background: var(--accent);
  top: 8%;
  left: 6%;
  animation: heroFloat1 19s ease-in-out infinite;
}
.hero-particles span:nth-child(2) {
  width: 240px;
  height: 240px;
  background: var(--cyan);
  bottom: 12%;
  right: 10%;
  animation: heroFloat2 23s ease-in-out infinite;
}
.hero-particles span:nth-child(3) {
  width: 170px;
  height: 170px;
  background: var(--accent);
  top: 45%;
  right: 22%;
  animation: heroFloat3 16s ease-in-out infinite;
}
@keyframes heroFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(45px, -35px) scale(1.08); }
}
@keyframes heroFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-35px, 30px) scale(1.1); }
}
@keyframes heroFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, 25px) scale(0.92); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-particles span { animation: none; }
}
@media (max-width: 600px) {
  /* Keep it subtle and cheap on small phones. */
  .hero-particles span { filter: blur(36px); opacity: 0.2; }
}

/* ========== LEGAL PAGES (Privacy / Terms / Cookies) ========== */
.legal-content {
  color: var(--gray-600);
  line-height: 1.8;
  font-size: 1rem;
}
.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
  color: var(--primary);
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content p {
  margin-bottom: 1.1rem;
}
.legal-content ul {
  margin: 0 0 1.1rem 1.4rem;
}
.legal-content li {
  margin-bottom: 0.5rem;
}
.legal-content a {
  color: var(--accent);
  text-decoration: underline;
}
.legal-content em {
  color: var(--gray-400);
  font-size: 0.9rem;
}
.legal-cookie-actions {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-100);
}
