* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #4F46E5;
  --primary-light: #6366F1;
  --primary-rgb: 79, 70, 229;
  --secondary: #10B981;
  --accent: #F59E0B;

  --dark: #0F172A;
  --dark-light: #1E293B;
  --dark-lighter: #334155;
  --text-light: #E2E8F0;
  --text-gray: #94A3B8;
  --white: #FFFFFF;
  --panel: #121C31;

  --gradient: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);

  --navH: 72px;
  
    /* new accent sets */
  --success-600: #10B981;  /* emerald-500/600 */
  --success-500: #22C55E;
  --success-rgb: 16,185,129;

  --warning-600: #F59E0B;  /* amber-500/600 */
  --warning-500: #FBBF24;
  --warning-rgb: 245,158,11;

  /* optional cool accent if you want a third */
  --info-600: #06B6D4;     /* cyan-600 */
  --info-500: #22D3EE;
  --info-rgb: 6,182,212;

  --rose-600: #E11D48;   /* strong */
  --rose-500: #FB7185;   /* lighter */
  --rose-rgb: 225,29,72;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Make anchors land nicely below the fixed navbar */
section[id] { scroll-margin-top: var(--navH); }

/* Navigation */
.navbar {
  position: fixed; top: 0; width: 100%;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000; padding: 1rem 0;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.nav-container {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 2rem;
}
.logo {
  font-size: 2rem; font-weight: 800; color: var(--white);
  text-decoration: none; letter-spacing: -0.02em; transition: transform 0.3s ease;
}
.logo:hover { transform: scale(1.05); }
.nav-links { display: flex; list-style: none; gap: 2.5rem; }
.nav-links a {
  text-decoration: none; color: var(--text-gray);
  font-weight: 500; font-size: 0.95rem; transition: all 0.3s ease; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -8px; left: 0; width: 0; height: 2px;
  background: var(--primary); transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--white); }

.cta-nav {
  background: var(--gradient); color: var(--white);
  padding: 0.75rem 1.5rem; border-radius: 50px; text-decoration: none;
  font-weight: 600; font-size: 0.9rem; transition: all 0.3s ease;
}
.cta-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.4);
}

/* Hero */
.hero{
  height: auto;
  min-height: calc(100svh - var(--navH));
  padding-top: var(--navH);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  contain: layout paint;
}
.hero-container {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero-content { z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center;
  background: rgba(var(--primary-rgb), 0.10);
  border: 1px solid rgba(var(--primary-rgb), 0.30);
  color: var(--primary-light);
  padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.85rem; font-weight: 500;
  margin-bottom: 1.5rem; animation: fadeInUp .6s ease .2s both;
}
.hero h1 {
  font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem;
  animation: fadeInUp .6s ease .4s both;
}
.hero h1 .highlight {
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero p {
  font-size: 1.2rem; color: var(--text-gray); margin-bottom: 2.5rem; line-height: 1.6;
  animation: fadeInUp .6s ease .6s both;
}
.hero-cta { display: flex; gap: 1rem; animation: fadeInUp .6s ease .8s both; }

.btn-primary {
  background: var(--gradient); color: var(--white);
  padding: 1rem 2rem; border: none; border-radius: 50px; font-weight: 600; text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.5rem; transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(var(--primary-rgb), 0.4);
}
.btn-secondary {
  background: transparent; color: var(--text-light);
  padding: 1rem 2rem; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50px;
  font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
  transition: all 0.3s ease;
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); }

.hero-image { position: relative; animation: fadeInRight .6s ease .6s both; }
.laptop-mockup {
  width: 100%; max-width: 500px; height: 350px;
  background: linear-gradient(145deg, #2D3748, #4A5568);
  border-radius: 20px 20px 5px 5px; position: relative; margin: 0 auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}
.laptop-screen {
  background: var(--dark); margin: 20px; height: calc(100% - 60px);
  border-radius: 10px; position: relative; overflow: hidden;
}
.laptop-base {
  width: 120%; height: 20px; background: linear-gradient(145deg, #1A202C, #2D3748);
  border-radius: 0 0 15px 15px; position: absolute; bottom: -20px; left: -10%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Floating particles */
.particles { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.particle {
  position: absolute; background: rgba(var(--primary-rgb), 0.3);
  border-radius: 50%;
  animation: float 8s infinite linear;
  opacity: 0.22;
}
@keyframes float {
  from { transform: translateY(100vh) rotate(0deg); opacity: 1; }
  to   { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

/* Sections */
.section { padding: 5rem 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-badge {
  display: inline-block; background: rgba(var(--primary-rgb), 0.10); color: var(--primary-light);
  padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.85rem; font-weight: 500; margin-bottom: 1rem;
}
.section-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; color: var(--white); }
.section-subtitle {
  font-size: 1.1rem; color: var(--text-gray); max-width: 600px; margin: 0 auto; line-height: 1.6;
}

/* Services: 4 columns on desktop */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}
@media (max-width: 1100px){
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  background: var(--dark-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px; padding: 2.5rem; text-align: center;
  transition: all 0.4s ease; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient); transform: scaleX(0); transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--primary-rgb), 0.30);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}
.service-icon {
  width: 80px; height: 80px; background: var(--gradient);
  border-radius: 20px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem; font-size: 2rem; transition: all 0.3s ease;
}
.service-card:hover .service-icon { transform: scale(1.1) rotate(5deg); }
.service-card h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 1rem; color: var(--white); }
.service-card p { color: var(--text-gray); line-height: 1.6; }

/* About */
.about { background: var(--dark-light); }
.about-content {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.about-text h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--white); }
.about-text p { color: var(--text-gray); margin-bottom: 1.5rem; font-size: 1.1rem; line-height: 1.7; }
.features-list { list-style: none; margin-top: 2rem; }
.features-list li {
  display: flex; align-items: center; margin-bottom: 1rem; color: var(--text-light);
}
.features-list li::before {
  content: '✓'; background: var(--gradient); color: white; width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-right: 1rem; font-weight: bold; font-size: 0.8rem;
}
.about-image { position: relative; }

/* Portfolio */
.portfolio { background: var(--dark); }
.portfolio-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem; margin-top: 3rem;
}
.portfolio-card {
  background: var(--dark-light); border-radius: 15px; overflow: hidden;
  transition: all 0.3s ease; border: 1px solid rgba(255, 255, 255, 0.1);
}
.portfolio-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2); }
.portfolio-content { padding: 1.5rem; }
.portfolio-content h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--white); }
.portfolio-content p { color: var(--text-gray); font-size: 0.9rem; }

/* Testimonials */
.testimonials { background: var(--dark-light); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem; margin-top: 3rem;
}
.testimonial-card {
  background: var(--dark); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px; padding: 2rem; position: relative;
}
.testimonial-quote { font-size: 3rem; color: var(--primary); margin-bottom: 1rem; line-height: 1; }
.testimonial-text { font-style: italic; color: var(--text-gray); margin-bottom: 1.5rem; line-height: 1.6; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar {
  width: 50px; height: 50px; background: var(--gradient); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: white; font-weight: 600;
}
.author-info h5 { color: var(--white); font-weight: 600; margin-bottom: 0.2rem; }
.author-info span { color: var(--text-gray); font-size: 0.9rem; }

/* Blog */
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem; margin-top: 3rem;
}
.blog-card {
  background: var(--dark-light); border-radius: 15px; overflow: hidden;
  transition: all 0.3s ease; border: 1px solid rgba(255, 255, 255, 0.1);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2); }
.blog-content { padding: 1.5rem; }
.blog-meta { color: var(--text-gray); font-size: 0.85rem; margin-bottom: 0.5rem; }
.blog-content h4 {
  font-size: 1.2rem; font-weight: 600; margin-bottom: 1rem; color: var(--white); line-height: 1.4;
}
.blog-excerpt { color: var(--text-gray); font-size: 0.95rem; line-height: 1.5; }

/* Contact */
.contact { background: var(--dark); }
.contact-content {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}
.contact-info h3 { font-size: 1.8rem; font-weight: 600; margin-bottom: 1.5rem; color: var(--white); }
.contact-info p { color: var(--text-gray); margin-bottom: 2rem; line-height: 1.6; }

.contact-form {
  background: var(--dark-light); padding: 2.5rem; border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block; margin-bottom: 0.5rem; color: var(--text-light); font-weight: 500;
}
.form-group input, .form-group textarea {
  width: 100%; padding: 0.875rem 1rem; background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px; color: var(--white);
  font-family: 'Poppins', sans-serif; transition: all 0.3s ease;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(36, 60, 100, 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* Footer */
.footer {
  background: var(--dark-light);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 0 2rem;
}
.footer-content {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 2rem;
}
.footer-brand h3 { font-size: 1.5rem; font-weight: 700; color: var(--white); margin-bottom: 1rem; }
.footer-brand p { color: var(--text-gray); line-height: 1.6; }
.footer-section h4 { font-size: 1.1rem; font-weight: 600; color: var(--white); margin-bottom: 1rem; }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.5rem; }
.footer-section ul li a { color: var(--text-gray); text-decoration: none; transition: color 0.3s ease; }
.footer-section ul li a:hover { color: var(--white); }
.footer-bottom {
  text-align: center; padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1); color: var(--text-gray);
}

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }

.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.animate-on-scroll.animated { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .about-content { grid-template-columns: 1fr; gap: 3rem; }
  .contact-content { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 2.5rem; }
  .section-title { font-size: 2rem; }
  .footer-content { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll, .hero, .particle, .service-card, .portfolio-card, .blog-card, .testimonial-card {
    animation: none !important; transition: none !important; transform: none !important;
  }
}

/* Sections that were grey -> near-background panel */
.about,
.testimonials,
.footer {
  background: var(--panel) !important;
}

/* Inner cards/panels tone-down */
.service-card,
.portfolio-card,
.blog-card,
.testimonial-card,
.contact-form {
  background: var(--panel);
  border-color: rgba(255,255,255,0.06);
  box-shadow: none;
}

/* Image sizing & fit */
.laptop-screen-img{ width:100%; height:100%; object-fit:cover; display:block; border-radius:10px; }
.about-image-el{ width:100%; height:400px; object-fit:cover; display:block; border-radius:20px; }
img.portfolio-image,
img.blog-image{
  width:100%;
  height:200px;
  object-fit:cover;
  display:block;
  background:none;
  align-items:unset; justify-content:unset; font-size:inherit; color:inherit;
}
.author-avatar-img{
  width:50px; height:50px; border-radius:50%; object-fit:cover; display:block;
}

/* --- Performance patch --- */
.section,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

/* Unify dark canvas site-wide on index */
.theme-unified { background: var(--dark); color: var(--text-light); }

/* Let the global overlay show through — cards keep their own bg */
.theme-unified .section,
.theme-unified .about,
.theme-unified .portfolio,
.theme-unified .testimonials,
.theme-unified .contact,
.theme-unified .footer { background: transparent !important; }

/* Ensure content sits above the overlay (no pointer hit issues) */
.theme-unified .section,
.theme-unified .about,
.theme-unified .portfolio,
.theme-unified .testimonials,
.theme-unified .contact,
.theme-unified .footer { position: relative; z-index: 1; }

/* theme-CONSTEL: subtle starfield + blueprint lines, seamless page-wide */
.theme-CONSTEL::before{
  content:"";
  position: fixed; inset: -8vmax; z-index: 0; pointer-events: none;
  background-image:
    url("/assets/img/constel.svg"),
    radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.8px),
    radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.8px);
  background-size: 520px 520px, 36px 36px, 56px 56px; /* tile, dot layers */
  background-position: 0 0, 12px 18px, 6px 4px;
  background-repeat: repeat;
  opacity: .32;
}
@media (max-width:640px){
  .theme-CONSTEL::before{
    background-size: 600px 600px, 40px 40px, 64px 64px;
    opacity: .28;
  }
}

/* Recolor any .btn-primary by overriding the gradient only */
.u-grad-success { 
  --gradient: linear-gradient(135deg, var(--success-600) 0%, var(--success-500) 100%);
}
.u-grad-warning {
  --gradient: linear-gradient(135deg, var(--warning-600) 0%, var(--warning-500) 100%);
}
.u-grad-info {
  --gradient: linear-gradient(135deg, var(--info-600) 0%, var(--info-500) 100%);
}

/* Match the hover shadow to the chosen gradient (keeps it polished) */
.btn-primary.u-grad-success:hover { box-shadow: 0 15px 35px rgba(var(--success-rgb), .40); }
.btn-primary.u-grad-warning:hover { box-shadow: 0 15px 35px rgba(var(--warning-rgb), .40); }
.btn-primary.u-grad-info:hover    { box-shadow: 0 15px 35px rgba(var(--info-rgb),    .40); }

/* Outline variants (for secondary buttons) */
.btn-outline-success{
  background: transparent;
  color: #E6FFF3; /* readable on dark; tweak if needed */
  border: 1px solid rgba(var(--success-rgb), .45);
}
.btn-outline-success:hover{
  background: rgba(var(--success-rgb), .10);
}

.btn-outline-warning{
  background: transparent;
  color: #FFF8E6;
  border: 1px solid rgba(var(--warning-rgb), .45);
}
.btn-outline-warning:hover{
  background: rgba(var(--warning-rgb), .10);
}

/* Badges/pills you can drop into section headers */
.badge-success{
  background: rgba(var(--success-rgb), .14);
  border: 1px solid rgba(var(--success-rgb), .30);
  color: var(--success-500);
}
.badge-warning{
  background: rgba(var(--warning-rgb), .14);
  border: 1px solid rgba(var(--warning-rgb), .30);
  color: var(--warning-500);
}
/* Gradient override for primary buttons */
.u-grad-rose{
  --gradient: linear-gradient(135deg, var(--rose-600) 0%, var(--rose-500) 100%);
}
.btn-primary.u-grad-rose:hover{
  box-shadow: 0 15px 35px rgba(var(--rose-rgb), .40);
}

/* Outline button variant */
.btn-outline-rose{
  background: transparent;
  color: #FFE9EE; /* readable on dark */
  border: 1px solid rgba(var(--rose-rgb), .45);
}
.btn-outline-rose:hover{
  background: rgba(var(--rose-rgb), .10);
}

/* Badge / pill */
.badge-rose{
  background: rgba(var(--rose-rgb), .14);
  border: 1px solid rgba(var(--rose-rgb), .30);
  color: var(--rose-500);
}

/* Stack hero buttons on mobile; full-width */
@media (max-width: 540px){
  .hero-cta{ flex-direction: column; }
  .hero-cta .btn-primary,
  .hero-cta .btn-secondary{
    width: 100%;
    justify-content: center;
  }
}

/* Visibility helper: hide on mobile only */
@media (max-width: 640px){
  .hide-mobile{ display: none !important; }
}

/* Testimonials: fix overflow and right-edge touch on small devices */
@media (max-width: 480px){
  #testimonials .container{ padding-inline: 1.25rem; }    /* softer gutter */
  .testimonials-grid{ grid-template-columns: 1fr !important; }
}
/* Service cards as anchors: remove default link styling */
.services-grid .service-card {
  display: block;               /* keep it a block card */
  text-decoration: none;        /* no underlines */
  color: inherit;               /* no purple/visited color */
  -webkit-tap-highlight-color: transparent; /* nicer on iOS */
}
.services-grid .service-card:visited {
  color: inherit;
}
.services-grid .service-card:hover,
.services-grid .service-card:focus {
  text-decoration: none;
}

/* keep strong focus ring for a11y (you already have this—repeat here if needed) */
.services-grid .service-card:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 20px;
}

/* Reset link styling for service cards (covers both patterns) */
.services-grid a.service-card,
.services-grid .service-card a,
.services-grid a.service-card:link,
.services-grid a.service-card:visited,
.services-grid .service-card a:link,
.services-grid .service-card a:visited {
  text-decoration: none !important;
  color: inherit !important;
}

/* Kill decorative underline pseudo-elements some link rules add */
.services-grid a.service-card::after,
.services-grid .service-card a::after {
  content: none !important;
}

/* Ensure hover/focus doesn't reintroduce underlines */
.services-grid a.service-card:hover,
.services-grid a.service-card:focus,
.services-grid .service-card a:hover,
.services-grid .service-card a:focus {
  text-decoration: none !important;
}

/* Keep a11y focus on the whole card */
.services-grid a.service-card:focus-visible,
.services-grid .service-card a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 20px;
}

/* Nice tap behavior on mobile */
.services-grid a.service-card,
.services-grid .service-card a {
  -webkit-tap-highlight-color: transparent;
}

/* Make entire feature cards clickable without link underlines */
a.portfolio-card {
  display: block;
  color: inherit;
  text-decoration: none;
}
a.portfolio-card:hover { text-decoration: none; }

/* Optional: ensure image space is stable (works with your 200px rule) */
.portfolio-image { width:100%; height:200px; object-fit:cover; display:block; }

/* Capabilities: centered CTA under the grid */
#capabilities .capabilities-cta {
  text-align: center;
  margin-top: 1.25rem;
}

/* Make CTA span the grid and center itself */
#capabilities .portfolio-grid .capabilities-cta {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 1.25rem;
}

/* Footer bottom: place legal links subtly to the right; stack on mobile */
.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
  flex-wrap:wrap;
  padding-top:2rem;                 /* preserves your original spacing */
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--text-gray);
  text-align:left;                  /* override old center if present */
}

.footer-legal{
  font-size:.875rem;
  color: var(--text-gray);
  display:flex; align-items:center; gap:.5rem;
}
.footer-legal a{
  color: var(--text-gray);
  text-decoration:none;
}
.footer-legal a:hover{
  color: var(--white);
  text-decoration: underline;
}

@media (max-width:640px){
  .footer-bottom{
    flex-direction:column;
    align-items:center;
    text-align:center;
  }
}

/* Constrain the bottom bar to container width */
.footer-bottom{
  max-width: 1200px;          /* same as .container */
  margin: 0 auto;             /* center within full-width footer */
  padding: 2rem 2rem 0;       /* keep your spacing */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--text-gray);
  text-align: left;
}

.footer-legal{
  font-size: .875rem;
  color: var(--text-gray);
  display: flex; align-items: center; gap: .5rem;
}
.footer-legal a{ color: var(--text-gray); text-decoration: none; }
.footer-legal a:hover{ color: var(--white); text-decoration: underline; }

@media (max-width:640px){
  .footer-bottom{
    padding: 1.5rem 1.25rem 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ===== Global FAQ (shared across services) ===== */
.faq-section .container{ max-width: 900px; margin: 0 auto; padding: 0 2rem; }

.faq-list{ display: grid; gap: .6rem; margin-top: .75rem; }

.faq{ 
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  overflow: hidden;
}

.faq summary{
  cursor: pointer; list-style: none;
  padding: .9rem 1rem;
  display: flex; align-items: center; gap: .6rem;
  color: var(--text-light); font-weight: 600;
  position: relative;
}
.faq summary::-webkit-details-marker{ display:none; }

.faq summary::before{
  content:"";
  width: 10px; height: 10px; flex: 0 0 10px;
  border-right: 2px solid rgba(255,255,255,.7);
  border-bottom: 2px solid rgba(255,255,255,.7);
  transform: rotate(-45deg);
  transition: transform .18s ease, border-color .18s ease;
  margin-right: .1rem;
}
.faq[open] summary{ color: var(--white); }
.faq[open] summary::before{ transform: rotate(45deg); border-color: rgba(255,255,255,1); }

.faq-body{
  padding: .6rem 1rem 1rem;
  color: var(--text-gray);
  border-top: 1px solid rgba(255,255,255,.06);
}

/* Small screens: keep it comfy */
@media (max-width: 560px){
  .faq-section .container{ padding: 0 1.25rem; }
  .faq summary{ padding: .85rem 1rem; }
  .faq-body{ padding: .5rem 1rem 1rem; }
}

/* COMPLETED COPY - ANYTHING UNDER IS NEW CODE*/

