/*
 * ATC Infocom Modern Design System
 * 2026-05-14 — component rebuild
 * Brand red: #cb3840 (primary), #e03a3c (accent)
 * Loads AFTER style.css and overrides legacy 2023 visuals.
 */

:root {
  /* Brand */
  --atc-red: #cb3840;
  --atc-red-2: #e03a3c;
  --atc-red-dark: #a52126;
  --atc-red-soft: #fde8ea;

  /* Neutrals — modern slate */
  --ink-900: #0b1220;
  --ink-800: #111827;
  --ink-700: #1f2937;
  --ink-600: #374151;
  --ink-500: #4b5563;
  --ink-400: #6b7280;
  --ink-300: #9ca3af;
  --ink-200: #e5e7eb;
  --ink-100: #f3f4f6;
  --ink-50:  #f9fafb;
  --paper:   #ffffff;

  /* Surfaces */
  --bg-app: #ffffff;
  --bg-soft: #f7f8fb;
  --bg-card: #ffffff;
  --bg-elevated: #ffffff;

  /* Borders */
  --line: rgba(17, 24, 39, 0.08);
  --line-strong: rgba(17, 24, 39, 0.14);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(17, 24, 39, 0.04);
  --shadow-sm: 0 2px 8px rgba(17, 24, 39, 0.06);
  --shadow-md: 0 10px 30px rgba(17, 24, 39, 0.08);
  --shadow-lg: 0 20px 50px rgba(17, 24, 39, 0.12);
  --shadow-red: 0 12px 28px rgba(203, 56, 64, 0.28);

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Spacing */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;

  /* Type */
  --font-sans: 'Inter', 'Poppins', 'Raleway', 'Open Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Poppins', 'Raleway', 'Inter', system-ui, sans-serif;

  /* Transitions */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 0.15s var(--ease);
  --t: 0.25s var(--ease);
  --t-slow: 0.45s var(--ease);
}

/* ---------- Base resets ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans) !important;
  color: var(--ink-700) !important;
  background: var(--bg-app) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading) !important;
  color: var(--ink-900) !important;
  letter-spacing: -0.01em;
  line-height: 1.2;
  font-weight: 700;
}

p { color: var(--ink-600); }

a { color: var(--atc-red); transition: color var(--t); }
a:hover { color: var(--atc-red-dark); }

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

::selection { background: var(--atc-red); color: white; }

/* ---------- Container helper ---------- */
.atc-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

/* ---------- Header ---------- */
.atc-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: all var(--t);
  padding: var(--sp-4) 0;
}
.atc-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
  padding: 14px 0;
}
.atc-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}
.atc-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.atc-brand img {
  height: 100px;
  width: auto;
  transition: height var(--t);
}
.atc-header.is-scrolled .atc-brand img { height: 74px; }

.atc-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.atc-nav-list {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  list-style: none;
  margin: 0; padding: 0;
}
.atc-nav-list > li { position: relative; }
.atc-nav-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  color: var(--ink-700);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: all var(--t-fast);
  white-space: nowrap;
}
.atc-nav-list a:hover,
.atc-nav-list a.is-active {
  color: var(--atc-red);
  background: var(--atc-red-soft);
}
.atc-nav-list .has-submenu > a::after {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 4px;
}
.atc-submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all var(--t);
  list-style: none;
  margin: 0;
}
.atc-nav-list .has-submenu:hover .atc-submenu,
.atc-nav-list .has-submenu:focus-within .atc-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.atc-submenu li a {
  padding: 10px 12px;
  display: block;
  border-radius: var(--r-sm);
  color: var(--ink-700);
  font-size: 14.5px;
}
.atc-submenu li a:hover { background: var(--atc-red-soft); color: var(--atc-red); }

.atc-social {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: var(--sp-2);
}
.atc-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: var(--r-pill);
  color: var(--ink-500);
  background: transparent;
  transition: all var(--t-fast);
  font-size: 18px;
}
.atc-social a:hover {
  background: var(--ink-100);
  color: var(--atc-red);
  transform: translateY(-2px);
}

.atc-cta-support {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--atc-red), var(--atc-red-2));
  color: white !important;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  box-shadow: var(--shadow-red);
  transition: all var(--t);
  margin-left: var(--sp-3);
}
.atc-cta-support:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(203, 56, 64, 0.36);
  color: white !important;
}

/* Mobile nav toggle */
.atc-nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--ink-800);
  font-size: 28px;
  cursor: pointer;
  padding: 6px;
}

/* Body offset for fixed header */
body { padding-top: 124px; }

@media (max-width: 1024px) {
  .atc-nav-toggle { display: inline-flex; }
  .atc-nav {
    position: fixed;
    top: 0; right: -100%;
    bottom: 0;
    width: min(86vw, 360px);
    background: var(--bg-elevated);
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    flex-direction: column;
    align-items: stretch;
    padding: var(--sp-16) var(--sp-5) var(--sp-6);
    overflow-y: auto;
    transition: right var(--t);
  }
  .atc-nav.is-open { right: 0; }
  .atc-nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .atc-nav-list a { padding: 14px 12px; font-size: 16px; }
  .atc-submenu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none;
    border: 0;
    background: var(--ink-50);
    margin: 4px 0;
    padding: 4px;
  }
  .atc-nav-list .has-submenu > a::after { margin-left: auto; }
  .atc-social { justify-content: center; margin: var(--sp-4) 0 0; }
  .atc-cta-support { margin: var(--sp-4) 0 0; justify-content: center; }
  .atc-mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(11, 18, 32, 0.5);
    opacity: 0; visibility: hidden;
    transition: all var(--t);
    z-index: 998;
  }
  .atc-mobile-backdrop.is-open { opacity: 1; visibility: visible; }
}

/* ---------- Buttons ---------- */
.atc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-radius: var(--r-pill);
  border: 0;
  cursor: pointer;
  transition: all var(--t);
  white-space: nowrap;
}
.atc-btn-primary {
  background: linear-gradient(135deg, var(--atc-red), var(--atc-red-2));
  color: white !important;
  box-shadow: var(--shadow-red);
}
.atc-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(203, 56, 64, 0.4);
  color: white !important;
}
.atc-btn-ghost {
  background: transparent;
  color: var(--ink-800) !important;
  border: 1.5px solid var(--ink-200);
}
.atc-btn-ghost:hover {
  border-color: var(--atc-red);
  color: var(--atc-red) !important;
  background: var(--atc-red-soft);
  transform: translateY(-2px);
}
.atc-btn-dark {
  background: var(--ink-900);
  color: white !important;
}
.atc-btn-dark:hover { background: var(--ink-800); color: white !important; transform: translateY(-2px); }

/* ---------- Page hero (sub-pages) ---------- */
.atc-page-hero {
  position: relative;
  background:
    radial-gradient(ellipse at top right, rgba(203,56,64,0.12), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(17,24,39,0.06), transparent 50%),
    linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  padding: var(--sp-20) 0 var(--sp-16);
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.atc-page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(17,24,39,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,24,39,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.atc-page-hero > .atc-container { position: relative; z-index: 1; }
.atc-page-hero h1, .atc-page-hero h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin: 0 0 var(--sp-3);
  background: linear-gradient(135deg, var(--ink-900), var(--atc-red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
}
.atc-page-hero .lead {
  font-size: 1.15rem;
  color: var(--ink-500);
  max-width: 720px;
  margin: 0 auto;
}
.atc-breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-400);
  margin-top: var(--sp-4);
}
.atc-breadcrumbs a { color: var(--ink-500); text-decoration: none; }
.atc-breadcrumbs a:hover { color: var(--atc-red); }
.atc-breadcrumbs .sep { opacity: 0.5; }

/* ---------- Sections ---------- */
.atc-section { padding: var(--sp-20) 0; }
.atc-section.atc-section-tight { padding: var(--sp-12) 0; }
.atc-section.atc-section-soft { background: var(--bg-soft); }

.atc-section-title {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--sp-12);
}
.atc-section-title .atc-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--atc-red);
  background: var(--atc-red-soft);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-4);
}
.atc-section-title h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin: 0 0 var(--sp-3);
}
.atc-section-title p {
  font-size: 1.05rem;
  color: var(--ink-500);
}

/* ---------- Card grid ---------- */
.atc-grid {
  display: grid;
  gap: var(--sp-6);
}
.atc-grid-2 { grid-template-columns: repeat(2, 1fr); }
.atc-grid-3 { grid-template-columns: repeat(3, 1fr); }
.atc-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) {
  .atc-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .atc-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .atc-grid-4, .atc-grid-3, .atc-grid-2 { grid-template-columns: 1fr; }
}

.atc-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}
.atc-card:hover {
  transform: translateY(-4px);
  border-color: var(--atc-red);
  box-shadow: var(--shadow-md);
}
.atc-card-icon {
  width: 56px; height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  font-size: 26px;
  background: var(--atc-red-soft);
  color: var(--atc-red);
  margin-bottom: var(--sp-4);
  transition: all var(--t);
}
.atc-card:hover .atc-card-icon {
  background: var(--atc-red);
  color: white;
  transform: rotate(-6deg) scale(1.05);
}
.atc-card h3, .atc-card h4 {
  font-size: 1.2rem;
  margin: 0 0 var(--sp-2);
}
.atc-card p {
  font-size: 0.96rem;
  color: var(--ink-500);
  margin: 0;
}

/* ---------- Stats strip ---------- */
.atc-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  padding: var(--sp-8);
  background: linear-gradient(135deg, var(--ink-900), var(--ink-800));
  border-radius: var(--r-xl);
  color: white;
}
@media (max-width: 640px) { .atc-stats { grid-template-columns: repeat(2, 1fr); } }
.atc-stat-num {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: white !important;
  margin: 0;
  background: linear-gradient(135deg, #fff, #fdb6b9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.atc-stat-label {
  color: rgba(255,255,255,0.7) !important;
  font-size: 14px;
  margin: 4px 0 0;
  letter-spacing: 0.02em;
}

/* ---------- Two-column feature ---------- */
.atc-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}
.atc-feature.atc-feature-reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .atc-feature { grid-template-columns: 1fr; gap: var(--sp-8); }
  .atc-feature.atc-feature-reverse > :first-child { order: 0; }
}
.atc-feature-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin: 0 0 var(--sp-4);
}
.atc-feature-text p {
  font-size: 1.02rem;
  margin: 0 0 var(--sp-4);
}
.atc-feature-text ul {
  list-style: none;
  padding: 0; margin: var(--sp-4) 0;
}
.atc-feature-text ul li {
  position: relative;
  padding-left: 32px;
  margin-bottom: var(--sp-3);
  color: var(--ink-600);
  font-size: 1rem;
}
.atc-feature-text ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--atc-red-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23cb3840' d='M6.5 11.5L3 8l1.4-1.4 2.1 2.1L11.6 3.6 13 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
}
.atc-feature-visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.atc-feature-visual img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.8s var(--ease);
}
.atc-feature-visual:hover img { transform: scale(1.04); }

/* ---------- Client logo strip — override the broken legacy ---------- */
#clients,
.clients,
section.clients {
  padding: var(--sp-12) 0 !important;
  background: var(--bg-soft) !important;
}
.clients .swiper-slide,
#clients .swiper-slide {
  min-height: 110px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--bg-card) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--r-lg) !important;
  padding: var(--sp-4) var(--sp-5) !important;
  box-shadow: var(--shadow-xs) !important;
  transition: all var(--t) !important;
}
.clients .swiper-slide:hover,
#clients .swiper-slide:hover {
  border-color: var(--atc-red) !important;
  box-shadow: var(--shadow-md) !important;
  transform: translateY(-3px) !important;
}
.clients .swiper-slide img,
#clients .swiper-slide img {
  mix-blend-mode: normal !important;
  aspect-ratio: auto !important;
  max-height: 64px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  opacity: 0.78 !important;
  filter: grayscale(0.2) !important;
  transition: all var(--t) !important;
}
.clients .swiper-slide:hover img,
#clients .swiper-slide:hover img {
  opacity: 1 !important;
  filter: grayscale(0) !important;
}

/* ---------- Why-Us / About fixes ---------- */
.why-us, .about, #about, #why-us {
  background: var(--paper) !important;
}
.about .content h3,
.about .content h4,
.why-us .content h3 {
  color: var(--ink-900) !important;
  font-family: var(--font-heading) !important;
}
.about .icon-box,
.why-us .icon-box {
  background: var(--bg-card);
  border: 1px solid var(--line) !important;
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  transition: all var(--t);
}
.about .icon-box:hover,
.why-us .icon-box:hover {
  border-color: var(--atc-red) !important;
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.about .icon-box i,
.why-us .icon-box i {
  color: var(--atc-red) !important;
  font-size: 32px;
  background: var(--atc-red-soft);
  width: 56px; height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  margin-bottom: var(--sp-3);
}

/* ---------- Contact section ---------- */
.contact .info-box {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  text-align: center;
  transition: all var(--t);
}
.contact .info-box:hover {
  border-color: var(--atc-red);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.contact .info-box i {
  color: var(--atc-red);
  font-size: 32px;
  background: var(--atc-red-soft);
  width: 64px; height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-3);
}
.contact .info-box h3 {
  font-size: 1.1rem;
  color: var(--ink-900) !important;
  margin: 0 0 var(--sp-2);
}
.contact .info-box p { color: var(--ink-500) !important; margin: 0; }

.contact .php-email-form {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
}
.contact .form-control, .contact input, .contact textarea {
  background: var(--ink-50) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--r-sm) !important;
  padding: 12px 14px !important;
  font-size: 15px !important;
  transition: all var(--t-fast);
}
.contact .form-control:focus, .contact input:focus, .contact textarea:focus {
  border-color: var(--atc-red) !important;
  background: white !important;
  outline: none;
  box-shadow: 0 0 0 4px rgba(203, 56, 64, 0.12);
}
.contact button[type="submit"], .php-email-form button[type="submit"] {
  background: linear-gradient(135deg, var(--atc-red), var(--atc-red-2)) !important;
  color: white !important;
  border: 0;
  padding: 14px 32px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  box-shadow: var(--shadow-red);
  transition: all var(--t);
}
.contact button[type="submit"]:hover, .php-email-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(203, 56, 64, 0.4);
}

/* ---------- Footer ---------- */
.atc-footer {
  background: var(--ink-900);
  color: rgba(255,255,255,0.7);
  padding: var(--sp-16) 0 var(--sp-6);
  margin-top: var(--sp-20);
}
.atc-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr 1.4fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}
@media (max-width: 900px) {
  .atc-footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
}
@media (max-width: 540px) {
  .atc-footer-grid { grid-template-columns: 1fr; }
}
.atc-footer h3, .atc-footer h4 {
  color: white !important;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 var(--sp-4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.atc-footer-brand h3 {
  font-size: 1.3rem;
  text-transform: none;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #fff, var(--atc-red-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.atc-footer p { color: rgba(255,255,255,0.6); margin: 0 0 var(--sp-3); font-size: 14.5px; line-height: 1.7; }
.atc-footer ul { list-style: none; padding: 0; margin: 0; }
.atc-footer ul li {
  margin-bottom: 10px;
  font-size: 14.5px;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.atc-footer ul li i {
  color: var(--atc-red-2);
  flex-shrink: 0;
  font-size: 18px;
  margin-top: 2px;
}
.atc-footer ul a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color var(--t-fast);
}
.atc-footer ul a:hover { color: var(--atc-red-2); }

.atc-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--sp-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-4);
  font-size: 13.5px;
  color: rgba(255,255,255,0.5);
}
.atc-footer-bottom .atc-social a {
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.06);
}
.atc-footer-bottom .atc-social a:hover {
  background: var(--atc-red);
  color: white;
}

/* ---------- Floating action buttons (WhatsApp + Call) ---------- */
.atc-fab-stack {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 996;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}
.atc-fab {
  pointer-events: auto;
  width: 56px; height: 56px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white !important;
  font-size: 26px;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0,0,0,0.2);
  transition: all var(--t);
  position: relative;
}
.atc-fab::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 2px solid currentColor;
  opacity: 0;
  animation: atc-fab-pulse 2.4s ease-out infinite;
}
@keyframes atc-fab-pulse {
  0%   { transform: scale(0.85); opacity: 0.6; }
  100% { transform: scale(1.35); opacity: 0; }
}
.atc-fab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 18px 36px rgba(0,0,0,0.25);
}
.atc-fab-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
}
.atc-fab-call {
  background: linear-gradient(135deg, var(--atc-red), var(--atc-red-2));
}
.atc-fab-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--ink-900);
  color: white;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all var(--t-fast);
  box-shadow: var(--shadow-md);
}
.atc-fab-tooltip::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--ink-900);
}
.atc-fab:hover .atc-fab-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
@media (max-width: 640px) {
  .atc-fab-tooltip { display: none; }
  .atc-fab { width: 52px; height: 52px; font-size: 24px; }
}

/* Back to top button restyle */
.back-to-top {
  background: var(--ink-900) !important;
  bottom: 100px !important;
}
.back-to-top:hover { background: var(--atc-red) !important; }

/* ---------- Hide legacy floating WhatsApp from header.php ---------- */
.wtspp-div { display: none !important; }

/* ---------- Misc legacy overrides ---------- */
section { background: transparent; }
.section-pages {
  display: none !important;
}
/* The old red banner h2 page-title pattern — hide so we use new hero */

/* Generic section spacing rescue */
section.py-5, section[class*="page-section"], #page-section {
  padding: var(--sp-16) 0 !important;
}

/* Service.php section-title fix */
.section-title h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem) !important;
  color: var(--ink-900) !important;
  margin-bottom: var(--sp-2);
}
.section-title h2::after { display: none; }
.section-title p { color: var(--ink-500) !important; font-size: 1.05rem; }

/* Existing list items in product pages */
.atc-prose ul, section ul {
  padding-left: 0;
  list-style: none;
}
.atc-prose ul li, #page-section ul li {
  position: relative;
  padding-left: 32px;
  margin-bottom: var(--sp-3);
  color: var(--ink-600);
}
.atc-prose ul li::before,
#page-section ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--atc-red-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23cb3840' d='M6.5 11.5L3 8l1.4-1.4 2.1 2.1L11.6 3.6 13 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}
#page-section h1, #page-section h2, #page-section h3 {
  font-family: var(--font-heading) !important;
}
#page-section h1 { font-size: clamp(1.8rem, 4vw, 2.4rem) !important; }
#page-section .display-9 { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 700; }
#page-section hr { display: none; }

/* Team section */
.team .member {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  text-align: center;
  transition: all var(--t);
  overflow: hidden;
}
.team .member:hover {
  transform: translateY(-4px);
  border-color: var(--atc-red);
  box-shadow: var(--shadow-md);
}
.team .member-img {
  width: 120px; height: 120px;
  margin: 0 auto var(--sp-3);
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--atc-red-soft);
}
.team .member-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.team .member-info h4 {
  font-size: 1.1rem;
  margin: 0 0 4px;
  color: var(--ink-900) !important;
}
.team .member-info span {
  color: var(--ink-500);
  font-size: 14px;
}

/* ---------- Hero (homepage 3D) preserve but tighten ---------- */
.after-add.atc-hero-3d {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
  padding: var(--sp-16) 0 var(--sp-12);
}
.atc-hero-kicker {
  color: var(--atc-red) !important;
  background: var(--atc-red-soft);
}
.after-add h1 {
  background: linear-gradient(135deg, var(--ink-900) 30%, var(--atc-red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
}

/* ---------- Animations ---------- */
@media (prefers-reduced-motion: no-preference) {
  [data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  }
  [data-animate].is-visible {
    opacity: 1;
    transform: none;
  }
  [data-animate][data-delay="100"] { transition-delay: 0.1s; }
  [data-animate][data-delay="200"] { transition-delay: 0.2s; }
  [data-animate][data-delay="300"] { transition-delay: 0.3s; }
}
