/* ===============================
   ARGO SYSTEMS STYLESHEET (CLEAN)
   File: styles.v2.cleaned.txt  (CSS inside)
   Notes:
   - Safe drop-in replacement for your current stylesheet.
   - Keeps your existing class names working (nav, dropdown, hero, sections, footer).
   - Supports BOTH service layouts: .service-item (old) and .service-row (new).
================================== */

/* ---------- Reset / Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root{
  --primary:#141211;
  --accent:#F59E0B;
  --accent-hover:#DC8A04;
  --secondary:#3A3A3A;

  --text-light:rgba(255,255,255,0.90);
  --text-dim:rgba(255,255,255,0.60);
  --border:rgba(255,255,255,0.08);
}

html{ scroll-behavior:smooth; }

body{
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
  background:var(--primary);
  color:var(--text-light);
  overflow-x:hidden;
  line-height:1.6;
}

/* ---------- Loader ---------- */
.loader{
  position:fixed; inset:0;
  background:var(--primary);
  display:flex; align-items:center; justify-content:center;
  z-index:9999;
  animation:fadeOut .5s ease forwards;
  animation-delay:1.5s;
}
.loader-logo{
  width:120px;
  opacity:0;
  animation:logoReveal 1.5s ease forwards;
}
@keyframes logoReveal{ to{ opacity:1; transform:scale(1.1);} }
@keyframes fadeOut{ to{ opacity:0; pointer-events:none;} }

/* ---------- Navigation ---------- */
nav{
  position:fixed; top:0; width:100%;
  z-index:2000;
  background:rgba(20,18,17,0);
  backdrop-filter:blur(0);
  transition:all .3s ease;
  padding:1.5rem 0;
  overflow:visible; /* keep dropdown visible */
}
nav.scrolled{
  background:rgba(20,18,17,0.95);
  backdrop-filter:blur(10px);
  padding:1rem 0;
  border-bottom:1px solid var(--border);
}

.nav-container{
  max-width:1400px;
  margin:0 auto;
  padding:0 2rem;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.logo{
  display:flex;
  align-items:center;
  gap:.75rem;
  font-size:1.5rem;
  font-weight:700;
  letter-spacing:-.5px;
}
.logo img{
  height:120px;
  width:auto;
  display:block;
}

/* Nav links (desktop) */
.nav-links{
  display:flex;
  gap:2.5rem;
  align-items:center;
}
.nav-links a{
  color:var(--text-light);
  text-decoration:none;
  font-weight:500;
  font-size:.95rem;
  letter-spacing:.3px;
  transition:color .3s ease, background .2s ease;
}
.nav-links a:hover{ color:var(--accent); }

.nav-cta{
  background:var(--accent);
  color:var(--primary) !important;
  padding:.6rem 1.5rem;
  border-radius:4px;
  font-weight:600;
  transition:all .3s ease;
}
.nav-cta:hover{
  background:var(--accent-hover);
  transform:translateY(-1px);
}

/* Dropdown container */
.dropdown{ position:relative; display:flex; align-items:center; }

/* Prevent hover flicker (buffer under trigger) */
.dropdown::after{
  content:"";
  position:absolute;
  top:100%; left:0;
  width:100%; height:16px;
}

/* Trigger can be a <button class="dropdown-trigger"> or <a class="services-trigger"> */
.dropdown-trigger,
.services-trigger{
  appearance:none; -webkit-appearance:none; -moz-appearance:none;
  background:transparent; border:0; outline:none;
  padding:0; margin:0;
  font:inherit;
  color:var(--text-light);
  letter-spacing:.3px;
  font-weight:500;
  font-size:.95rem;
  cursor:default;
  line-height:1;
}
.dropdown:hover .dropdown-trigger,
.dropdown:hover .services-trigger{
  color:var(--accent);
}
/* If Services is an <a>, make it non-clickable */
.services-trigger{ pointer-events:none; }

.dropdown-trigger:focus-visible{
  outline:2px solid rgba(245,158,11,0.35);
  outline-offset:6px;
  border-radius:6px;
}

/* Dropdown menu (desktop hover) */
.dropdown-menu{
  position:absolute;
  top:120%;
  right:0;
  min-width:260px;
  background:rgba(15,15,15,0.92);
  backdrop-filter:blur(10px);
  border:1px solid rgba(255,193,7,0.15);
  border-radius:14px;
  padding:12px 8px;
  box-shadow:
    0 20px 40px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.05);

  opacity:0;
  transform:translateY(8px);
  pointer-events:none;
  transition:all .25s ease;
  z-index:2500;
}
.dropdown:hover .dropdown-menu{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}
nav.scrolled .dropdown-menu{ top:110%; }

.dropdown-menu a{
  display:block;
  padding:12px 16px;
  font-size:.95rem;
  font-weight:500;
  color:#fff;
  text-decoration:none;
  border-radius:10px;
}
.dropdown-menu a:hover{
  background:rgba(255,193,7,0.12);
  color:#ffc107;
}

/* ---------- Buttons ---------- */
.btn-primary,.btn-secondary{
  padding:1rem 2rem;
  border-radius:4px;
  font-weight:600;
  text-decoration:none;
  transition:all .3s ease;
  display:inline-flex;
  align-items:center;
  gap:.5rem;
}
.btn-primary{ background:var(--accent); color:var(--primary); }
.btn-primary:hover{
  background:var(--accent-hover);
  transform:translateY(-2px);
  box-shadow:0 10px 30px rgba(245,158,11,0.3);
}
.btn-secondary{ border:2px solid var(--accent); color:var(--accent); }
.btn-secondary:hover{ background:var(--accent); color:var(--primary); }

/* ---------- Hero ---------- */
.hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg,var(--primary) 0%, #1f1d1a 100%);
}
.hero-bg{
  position:absolute; inset:0;
  opacity:.30;
  background-image:
    radial-gradient(circle at 20% 50%, var(--accent) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, var(--secondary) 0%, transparent 50%);
  animation:float 20s ease-in-out infinite;
}
@keyframes float{
  0%,100%{ transform:translateY(0) rotate(0deg); }
  50%{ transform:translateY(-20px) rotate(1deg); }
}
.hero-content{
  max-width:1400px;
  margin:0 auto;
  padding:0 2rem;
  position:relative;
  z-index:2;
}
.hero h1{
  font-size:clamp(2.5rem,5vw,4.5rem);
  font-weight:700;
  line-height:1.1;
  margin-bottom:1.5rem;
  letter-spacing:-2px;
  opacity:0;
  animation:slideUp 1s ease forwards;
  animation-delay:2s;
}
.hero h1 span{
  background:linear-gradient(135deg,var(--accent) 0%, #FFD700 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}
.hero p{
  font-size:1.25rem;
  color:var(--text-dim);
  max-width:600px;
  margin-bottom:2.5rem;
  opacity:0;
  animation:slideUp 1s ease forwards;
  animation-delay:2.2s;
}
.hero-cta{
  display:flex;
  gap:1.5rem;
  opacity:0;
  animation:slideUp 1s ease forwards;
  animation-delay:2.4s;
}
@keyframes slideUp{
  from{ opacity:0; transform:translateY(30px); }
  to{ opacity:1; transform:translateY(0); }
}

/* ---------- Section header ---------- */
.section-header{
  max-width:1400px;
  margin:0 auto 4rem;
  padding:0 2rem;
  text-align:center;
}
.section-header h2{
  font-size:3rem;
  font-weight:700;
  margin-bottom:1rem;
  letter-spacing:-1px;
}
.section-header p{
  font-size:1.25rem;
  color:var(--text-dim);
  max-width:700px;
  margin:0 auto;
}

/* ---------- Industry Focus ---------- */
.industry-focus{
  padding:8rem 0;
  background:linear-gradient(180deg,var(--primary) 0%, #1a1815 100%);
}
.industry-grid{
  max-width:1400px;
  margin:0 auto;
  padding:0 2rem;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
  gap:2rem;
}
.industry-card{
  background:linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  border:1px solid var(--border);
  border-radius:12px;
  padding:2.5rem;
  transition:all .3s ease;
  position:relative;
  overflow:hidden;
}
.industry-card::before{
  content:"";
  position:absolute; top:0; left:0;
  width:100%; height:2px;
  background:linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity:0;
  transition:opacity .3s ease;
  animation:shimmer 3s ease-in-out infinite;
}
.industry-card:hover::before{ opacity:1; }
.industry-card:hover{
  transform:translateY(-5px);
  border-color:rgba(245,158,11,0.3);
  background:linear-gradient(135deg, rgba(245,158,11,0.05) 0%, rgba(255,255,255,0.01) 100%);
}
@keyframes shimmer{
  0%{ transform:translateX(-100%); }
  100%{ transform:translateX(100%); }
}
.industry-icon{
  width:60px; height:60px;
  background:linear-gradient(135deg,var(--accent) 0%, #FFD700 100%);
  border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:1.5rem;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.25),
    0 8px 24px rgba(0,0,0,0.35);
  font-size:1.5rem;
}
.industry-card h3{ font-size:1.5rem; margin-bottom:1rem; }
.industry-card p{ color:var(--text-dim); line-height:1.8; }

/* ---------- Services (OLD layout: .service-item) ---------- */
.services{
  padding:8rem 0;
  background:var(--primary);
}
.service-showcase{
  max-width:1400px;
  margin:0 auto;
  padding:0 2rem;
}
.service-item{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:4rem;
  align-items:center;
  margin-bottom:6rem;
  opacity:0;
  transform:translateY(50px);
  transition:all .8s ease;
}
.service-item.visible{ opacity:1; transform:translateY(0); }
.service-item:nth-child(even){ direction:rtl; }
.service-item:nth-child(even) .service-content{ direction:ltr; }

.service-content h3{
  font-size:2rem;
  margin-bottom:1rem;
  background:linear-gradient(135deg,var(--text-light) 0%, var(--text-dim) 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}
.service-content p{
  color:var(--text-dim);
  margin-bottom:1.5rem;
  line-height:1.8;
}
.service-features{ list-style:none; }
.service-features li{
  padding:.5rem 0;
  color:var(--text-dim);
  display:flex;
  align-items:center;
  gap:.75rem;
}
.service-features li::before{
  content:"→";
  color:var(--accent);
  font-weight:700;
}
.service-visual{
  background:linear-gradient(135deg, rgba(245,158,11,0.10) 0%, rgba(255,255,255,0.02) 100%);
  border-radius:12px;
  padding:3rem;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:400px;
  border:1px solid var(--border);
  position:relative;
  overflow:hidden;
}
.service-visual::after{
  content:"";
  position:absolute;
  top:-50%; right:-50%;
  width:200%; height:200%;
  background:radial-gradient(circle,var(--accent) 0%, transparent 70%);
  opacity:.05;
  animation:rotate 20s linear infinite;
}
@keyframes rotate{ from{ transform:rotate(0deg);} to{ transform:rotate(360deg);} }

/* ---------- Services (NEW layout: wireframe + .service-row) ---------- */
.services-hero-graphic{
  max-width:1100px;
  margin:0 auto 3.5rem;
  padding:0 2rem;
}
.services-hero-graphic .wireframe-panel{
  height:320px;
  border-radius:14px;
  border:1px solid var(--border);
  background:linear-gradient(135deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.01) 100%);
  overflow:hidden;
  position:relative;
  box-shadow:0 24px 60px rgba(0,0,0,0.45);
}
.services-hero-graphic .wireframe-panel svg{
  width:100%; height:100%;
  display:block;
  opacity:.70;
  transform:translateY(6px);
}
.services-hero-graphic .wireframe-panel .plane path{
  fill:none;
  stroke:rgba(245,158,11,0.34);
  stroke-width:2;
  vector-effect:non-scaling-stroke;
}
.services-hero-graphic .wireframe-panel::after{
  content:"";
  position:absolute; inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 25% 25%, rgba(245,158,11,0.18), transparent 55%),
    radial-gradient(circle at 75% 70%, rgba(255,215,0,0.10), transparent 60%),
    linear-gradient(135deg, rgba(0,0,0,0.10), rgba(0,0,0,0.55));
}
.services-hero-graphic .wireframe-caption{
  position:absolute;
  left:20px; bottom:18px;
  font-size:.9rem;
  color:rgba(255,255,255,0.65);
  letter-spacing:.3px;
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.10);
  background:rgba(0,0,0,0.25);
  backdrop-filter:blur(10px);
}
.services-hero-graphic .wireframe-caption .dot{
  width:8px; height:8px;
  border-radius:50%;
  background:rgba(245,158,11,0.85);
  box-shadow:0 0 18px rgba(245,158,11,0.35);
}

.service-row{
  border:1px solid var(--border);
  border-radius:14px;
  background:linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  padding:2rem 2.25rem;
  display:grid;
  gap:1rem;
  transition:transform .25s ease, border-color .25s ease, background .25s ease;
  position:relative;
  overflow:hidden;
  opacity:0;
  transform:translateY(22px);
}
.service-row.visible{
  opacity:1;
  transform:translateY(0);
}
.service-row::before{
  content:"";
  position:absolute; top:0; left:-30%;
  width:60%; height:2px;
  background:linear-gradient(90deg, transparent, rgba(245,158,11,0.75), transparent);
  opacity:0;
  transition:opacity .25s ease;
}
.service-row:hover{
  transform:translateY(-3px);
  border-color:rgba(245,158,11,0.28);
  background:linear-gradient(135deg, rgba(245,158,11,0.06) 0%, rgba(255,255,255,0.01) 100%);
}
.service-row:hover::before{ opacity:1; }

.service-row-header{
  display:flex;
  align-items:center;
  gap:14px;
}
.service-icon{
  width:44px; height:44px;
  border-radius:12px;
  background:linear-gradient(135deg, rgba(245,158,11,0.25), rgba(255,215,0,0.10));
  border:1px solid rgba(245,158,11,0.22);
  display:grid;
  place-items:center;
  flex:0 0 auto;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.10),
    0 10px 26px rgba(0,0,0,0.25);
}
.service-icon svg{ width:22px; height:22px; opacity:.9; }

.service-row h3{
  font-size:1.35rem;
  margin:0;
  color:rgba(255,255,255,0.92);
  letter-spacing:-.3px;
}
.service-row p{
  margin:0;
  color:var(--text-dim);
  line-height:1.75;
  max-width:80ch;
}
.service-row ul{
  list-style:none;
  margin:.25rem 0 0;
  padding:0;
  display:grid;
  gap:.65rem;
}
.service-row li{
  display:flex;
  gap:.8rem;
  align-items:flex-start;
  color:rgba(255,255,255,0.72);
  line-height:1.6;
}
.service-row li::before{
  content:"→";
  color:rgba(245,158,11,0.95);
  font-weight:700;
  flex:0 0 auto;
  transform:translateY(1px);
}
.service-row .service-link{
  margin-top:.5rem;
  display:inline-flex;
  gap:.6rem;
  align-items:center;
  width:fit-content;
  color:rgba(245,158,11,0.95);
  text-decoration:none;
  font-weight:600;
  letter-spacing:.2px;
  transition:transform .2s ease, opacity .2s ease;
}
.service-row .service-link:hover{ transform:translateX(4px); opacity:.95; }

/* ---------- Stats ---------- */
.stats{
  padding:6rem 0;
  background:linear-gradient(135deg, #1a1815 0%, var(--primary) 100%);
}
.stats-grid{
  max-width:1400px;
  margin:0 auto;
  padding:0 2rem;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:3rem;
}
.stat-item{ text-align:center; }
.stat-number{
  font-size:3rem;
  font-weight:700;
  color:var(--accent);
  margin-bottom:.5rem;
}
.stat-label{ font-size:1.1rem; color:var(--text-dim); }

/* ---------- About ---------- */
.about-section{ padding:8rem 0; background:var(--primary); }
.about-content-wrapper{
  max-width:1400px;
  margin:0 auto;
  padding:0 2rem;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:4rem;
  align-items:start;
}
.about-main{ padding-right:2rem; }
.about-main p{
  font-size:1.1rem;
  line-height:1.8;
  color:var(--text-dim);
  margin-bottom:1.5rem;
}
.about-main p:first-child{ font-size:1.25rem; color:var(--text-light); }
.about-values{ display:grid; gap:2rem; }
.value-item{
  padding:1.5rem;
  background:linear-gradient(135deg, rgba(245,158,11,0.05) 0%, rgba(255,255,255,0.02) 100%);
  border:1px solid var(--border);
  border-radius:8px;
  transition:all .3s ease;
}
.value-item:hover{
  transform:translateX(10px);
  border-color:rgba(245,158,11,0.3);
}
.value-item h3{
  font-size:1.25rem;
  margin-bottom:.75rem;
  color:var(--text-light);
}
.value-item p{ color:var(--text-dim); line-height:1.6; }

/* ---------- CTA ---------- */
.cta-section{
  padding:8rem 0;
  background:linear-gradient(135deg, var(--accent) 0%, #FFD700 100%);
  position:relative;
  overflow:hidden;
}
.cta-section::before{
  content:"";
  position:absolute; inset:0;
  background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-content{
  max-width:900px;
  margin:0 auto;
  padding:0 2rem;
  text-align:center;
  position:relative;
  z-index:2;
}
.cta-content h2{
  font-size:3rem;
  color:var(--primary);
  margin-bottom:1rem;
  font-weight:700;
}
.cta-content p{
  font-size:1.25rem;
  color:rgba(20,18,17,0.8);
  margin-bottom:2rem;
}
.cta-buttons{
  display:flex;
  gap:1.5rem;
  justify-content:center;
}
.btn-dark{
  background:var(--primary);
  color:white;
  padding:1rem 2rem;
  border-radius:4px;
  font-weight:600;
  text-decoration:none;
  transition:all .3s ease;
}
.btn-dark:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 30px rgba(0,0,0,0.3);
}
.btn-outline-dark{
  border:2px solid var(--primary);
  color:var(--primary);
  padding:1rem 2rem;
  border-radius:4px;
  font-weight:600;
  text-decoration:none;
  transition:all .3s ease;
}
.btn-outline-dark:hover{ background:var(--primary); color:var(--accent); }

/* ---------- Footer ---------- */
footer{
  padding:4rem 0 2rem;
  background:#0a0908;
  border-top:1px solid var(--border);
}
.footer-content{
  max-width:1400px;
  margin:0 auto;
  padding:0 2rem;
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:3rem;
  margin-bottom:3rem;
}
.footer-brand h3{ font-size:1.5rem; margin-bottom:1rem; }
.footer-brand p{
  color:var(--text-dim);
  line-height:1.8;
  margin-bottom:1.5rem;
}
.footer-column h4{ margin-bottom:1rem; color:var(--text-light); }
.footer-column ul{ list-style:none; }
.footer-column li{ margin-bottom:.75rem; }
.footer-column a{
  color:var(--text-dim);
  text-decoration:none;
  transition:color .3s ease;
}
.footer-column a:hover{ color:var(--accent); }
.footer-bottom{
  max-width:1400px;
  margin:0 auto;
  padding:2rem 2rem 0;
  border-top:1px solid var(--border);
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:var(--text-dim);
}
.social-links{ display:flex; gap:1.5rem; }
.social-links a{ color:var(--text-dim); transition:color .3s ease; }
.social-links a:hover{ color:var(--accent); }

/* ---------- Mobile menu toggle ---------- */
.mobile-menu-toggle{
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  padding:.5rem;
}
.mobile-menu-toggle span{
  display:block;
  width:25px;
  height:2px;
  background:var(--text-light);
  margin:5px 0;
  transition:.3s;
}

/* ---------- Overlay (JS creates .nav-overlay if missing) ---------- */
.nav-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.60);
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease;
  z-index:2050;
}
.nav-overlay.active{
  opacity:1;
  pointer-events:auto;
}

/* ---------- Optional close button inside mobile menu ---------- */
/* (Only matters if you add <button id="mobileClose" class="mobile-menu-close">✕</button> inside #navLinks) */
.mobile-menu-close{ display:none; }

/* ---------- Responsive ---------- */
@media (max-width: 968px){
  .mobile-menu-toggle{ display:block; }

  /* smaller logo on mobile */
  .logo img{ max-height:36px; height:auto; }

  /* slide-in panel */
  .nav-links{
    position:fixed;
    top:0;
    right:-100%;
    width:82%;
    max-width:420px;
    height:100vh;

    background:#0a0908;
    border-left:1px solid rgba(255,255,255,0.08);

    flex-direction:column;
    justify-content:flex-start;

    padding:6.5rem 2rem 2rem;
    gap:1.25rem;

    transition:right .28s ease;
    box-shadow:-10px 0 30px rgba(0,0,0,0.30);

    z-index:2100;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
  }
  .nav-links.active{ right:0; }

  .nav-links a{
    font-size:1.05rem;
    padding:.8rem .6rem;
    border-radius:10px;
  }
  .nav-links a:hover{ background:rgba(255,255,255,0.04); }

  /* keep toggle tappable */
  .mobile-menu-toggle{
    position:fixed;
    top:18px;
    right:18px;
    z-index:2600;
  }

  /* hamburger -> X */
  .mobile-menu-toggle.active span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
  .mobile-menu-toggle.active span:nth-child(2){ opacity:0; }
  .mobile-menu-toggle.active span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

  /* mobile dropdown: make it a simple list (hover doesn't exist) */
  .dropdown-menu{
    position:static;
    min-width:unset;
    width:100%;
    margin-top:.25rem;
    opacity:1;
    transform:none;
    pointer-events:auto;
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.08);
    box-shadow:none;
    padding:.5rem;
    border-radius:12px;
    display:none;
  }
  .nav-links.active .dropdown-menu{ display:block; }

  /* content layouts */
  .service-item,
  .service-item:nth-child(even){
    grid-template-columns:1fr;
    direction:ltr;
  }
  .about-content-wrapper{ grid-template-columns:1fr; }
  .about-main{ padding-right:0; }
  .footer-content{ grid-template-columns:1fr; }
  .cta-buttons{ flex-direction:column; align-items:center; }
  .stats-grid{ grid-template-columns:repeat(2,1fr); }

  .services-hero-graphic{ margin-bottom:2.25rem; padding:0 1.25rem; }
  .services-hero-graphic .wireframe-panel{ height:220px; }
  .service-showcase{ padding:0 1.25rem; }
  .service-row{ padding:1.5rem; }
  .service-row h3{ font-size:1.2rem; }
}

@media (max-width: 768px){
  .section-header h2{ font-size:2.1rem; line-height:1.25; }
  .section-header p{ font-size:1rem; line-height:1.6; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto; }
  .service-item, .service-row, .hero-bg{ transition:none !important; animation:none !important; transform:none !important; }
}

/* ===============================
   FAILSAFE: Always show service cards
   (Even if JS doesn't load)
================================== */
.service-item {
  opacity: 1 !important;
  transform: none !important;
}

.service-item { opacity: 1; transform: none; }
.js .service-item { opacity: 0; transform: translateY(50px); transition: all 0.8s ease; }
.js .service-item.visible { opacity: 1; transform: translateY(0); }

/* === EMERGENCY: force service rows to display === */
.service-showcase { display: grid !important; }
.service-showcase .service-row {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  height: auto !important;
  overflow: visible !important;

  background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 14px !important;
  padding: 1.6rem !important;
}

/* =========================================
   SERVICES SECTION (polish override)
   Paste at very bottom of CSS
========================================= */

/* Section spacing + centre */
.services {
  padding: 7rem 0;
}

.services .section-header {
  max-width: 900px;
  margin: 0 auto 2.5rem;
  padding: 0 2rem;
  text-align: center;
}

.services-hero-graphic {
  max-width: 1100px;
  margin: 0 auto 2.25rem;
  padding: 0 2rem;
}

/* Cards container */
.service-showcase {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  gap: 1.25rem;
}

/* Card */
.service-row {
  background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.012));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 1.6rem 1.8rem;
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
}

.service-row-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.75rem;
}

.service-row h3 {
  font-size: 1.15rem;
  line-height: 1.25;
  margin: 0;
}

.service-row p {
  margin: 0 0 1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  max-width: 78ch;
}

/* Icon */
.service-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.service-icon svg {
  width: 20px;
  height: 20px;
}

/* List */
.service-row ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.55rem;
}

.service-row li {
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
  position: relative;
  padding-left: 1.15rem;
}

.service-row li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  opacity: 0.95;
}

/* Learn more */
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  color: var(--accent);
  opacity: 0.95;
}

.service-link:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Mobile tightening */
@media (max-width: 768px) {
  .services { padding: 5.5rem 0; }
  .services .section-header { padding: 0 1.25rem; }
  .services-hero-graphic { padding: 0 1.25rem; }
  .service-showcase { padding: 0 1.25rem; gap: 1rem; }

  .service-row { padding: 1.25rem 1.25rem; }
  .service-row h3 { font-size: 1.05rem; }
}

/* ===============================
   Services (new cards) hover fix
   Put near BOTTOM of stylesheet
================================ */

.service-row {
  position: relative;
  overflow: hidden;

  /* Lock default transform so other hover rules don't "stack" weirdly */
  transform: translate3d(0, 0, 0);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.service-row:hover {
  /* Force no sideways movement */
  transform: translate3d(0, -6px, 0);

  border-color: rgba(245, 158, 11, 0.28);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.06) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
}

.service-row::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(circle at 20% 30%, rgba(245, 158, 11, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.service-row:hover::before {
  opacity: 1;
}

