/* ACL Management corporate site stylesheet. Colours matched to the ACL Management Ltd logo. */
:root {
  --silver-light: #e5e7eb;
  --silver-mid: #9ca3af;
  --charcoal-dark: #1f2937;
  --jet-black: #0f172a;
  --accent-blue: #2563eb;
  --accent-blue-hover: #1d4ed8;
  --bg-page: #f8fafc;
  --white: #ffffff;
  --border-subtle: #e2e8f0;
  --text-muted: #475569;
  --placeholder: #b45309;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--jet-black);
  line-height: 1.6;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Top Navigation --- */
.navbar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-content {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  height: 56px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--charcoal-dark);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent-blue);
}

.shop-buttons {
  display: flex;
  gap: 10px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

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

.btn-dark:hover {
  background: #334155;
  transform: translateY(-1px);
}

.btn-outline {
  border-color: var(--silver-mid);
  color: var(--jet-black);
  background: var(--white);
}

.btn-outline:hover {
  background: var(--silver-light);
}

.btn-primary {
  background: var(--accent-blue);
  color: var(--white);
  border-radius: 8px;
  padding: 13px 26px;
  font-size: 0.95rem;
}

.btn-primary:hover {
  background: var(--accent-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  padding: 13px 26px;
  font-size: 0.95rem;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.28);
}

.btn-white {
  background: var(--white);
  color: var(--jet-black);
  border-radius: 8px;
  padding: 13px 24px;
  font-size: 0.95rem;
}

.btn-white:hover {
  background: var(--silver-light);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  overflow: hidden;
  /* The overlay keeps white text readable over the lighter parts of the photo. */
  background: linear-gradient(rgba(17, 24, 39, 0.55), rgba(17, 24, 39, 0.7)), url("hero.jpg") center / cover no-repeat, #111827;
  color: var(--white);
  padding: 100px 0 130px;
  text-align: center;
}

.hero-network-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero h1 {
  font-size: 2.85rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.12rem;
  color: #e5e7eb;
  max-width: 650px;
  margin: 0 auto 34px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
}

/* --- Core Services 2x2 Grid --- */
.services-section {
  margin-top: -64px;
  position: relative;
  z-index: 10;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  padding: 36px;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-blue);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.1);
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #eff6ff;
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.service-card:hover .icon-box {
  transform: scale(1.08);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--jet-black);
}

.service-card p {
  font-size: 0.95rem;
  color: #475569;
}

/* --- Hardware Distribution Banner --- */
.hardware-banner {
  margin: 64px 0;
  padding: 42px 48px;
  border-radius: 16px;
  background: linear-gradient(90deg, #374151 0%, #1f2937 55%, #111827 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
}

.banner-text h2 {
  font-size: 1.55rem;
  margin-bottom: 6px;
}

.banner-text p {
  color: #d1d5db;
  font-size: 0.95rem;
}

.banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* --- Why Choose ACL --- */
.why-section {
  padding: 40px 0 72px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-item {
  padding: 24px;
  border-left: 3px solid var(--silver-mid);
  background: var(--white);
  border-radius: 0 10px 10px 0;
}

.why-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.why-item p {
  font-size: 0.9rem;
  color: #475569;
}

/* --- Contact Section --- */
.contact-section {
  background: var(--white);
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}

.contact-info p {
  color: #475569;
  margin-bottom: 24px;
}

.contact-details {
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--charcoal-dark);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
}

.full-width {
  width: 100%;
  text-align: center;
}

.footer {
  background: var(--jet-black);
  color: var(--silver-mid);
  text-align: center;
  padding: 24px 0;
  font-size: 0.85rem;
}

/* --- Animations --- */
@keyframes pulseNode {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.6);
  }
}

.pulse-node {
  transform-box: fill-box;
  transform-origin: center;
  animation: pulseNode 3.5s infinite ease-in-out;
}

.delay-1 { animation-delay: 1.1s; }
.delay-2 { animation-delay: 2.2s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}

.js .reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive Mobile Layout --- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero { padding: 72px 0 110px; }
  .hero h1 { font-size: 2.1rem; }
  .services-grid,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hardware-banner {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }
}

/* Store buttons wrap under the logo on a phone rather than pushing the page sideways. */
@media (max-width: 560px) {
  .navbar { position: static; }
  .nav-content { height: auto; min-height: 72px; padding-block: 12px; flex-wrap: wrap; gap: 12px; }
  .brand-logo { height: 44px; }
  .shop-buttons .btn { padding: 8px 12px; font-size: 0.8rem; }
  .hero h1 { font-size: 1.8rem; }
  .hero-actions, .banner-actions { flex-wrap: wrap; justify-content: center; }
  .service-card { padding: 28px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse-node, .fade-in-up { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service-card, .icon-box { transition: none; }
  .float-box, .prep-bar span { animation: none; }
}

/* --- Shared pieces: logo, skip link, focus, footer --- */
.brand {
  color: var(--jet-black);
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-name { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; }
@media (max-width: 560px) { .brand-name { font-size: 1rem; } }

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--jet-black);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

a:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--accent-blue);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-details a { color: var(--accent-blue); }

.contact-card {
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 32px;
}
.contact-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.contact-card p { color: var(--text-muted); margin-bottom: 14px; }
.contact-card ul { color: var(--text-muted); margin: 0 0 24px 20px; display: grid; gap: 4px; }

.footer .legal { margin-bottom: 10px; }
.footer nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-bottom: 10px;
}
.footer a { color: var(--silver-light); }

/* Owner's details still to come (plan §10). Loud on purpose, so none ships unnoticed. */
.ph {
  color: var(--placeholder);
  outline: 1px dashed currentColor;
  outline-offset: 1px;
  border-radius: 2px;
}
.footer .ph { color: #fbbf24; }

.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.92em; }

/* --- Inner pages: company details, privacy, 404 --- */
/* Short pages keep the footer at the bottom of the window. */
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

.page { padding-top: 64px; padding-bottom: 80px; }
.page .prose, .page > * { max-width: 760px; }
.page a { color: var(--accent-blue); }

.eyebrow {
  color: var(--accent-blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.page h1 { font-size: 2.4rem; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 14px; }
.page h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.page h3 { font-size: 1.1rem; margin-bottom: 12px; }
.page p { margin-bottom: 14px; }
.lead { font-size: 1.1rem; color: var(--text-muted); }

.facts {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 8px 24px;
}
.facts div {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) 2fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--text-muted); font-size: 0.9rem; }

@media (max-width: 860px) {
  .page h1 { font-size: 2rem; }
}
@media (max-width: 560px) {
  .facts div { grid-template-columns: 1fr; gap: 2px; }
}

.page ul { margin: 0 0 14px 20px; display: grid; gap: 6px; }
.updated { color: var(--text-muted); font-size: 0.9rem; }

/* --- Stores coming soon --- */
.btn .soon {
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--accent-blue);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.float-box {
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  color: var(--silver-light);
  animation: floatBox 3.2s ease-in-out infinite;
}

@keyframes floatBox {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.banner-text .soon-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border: 1px solid rgba(147, 197, 253, 0.35);
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.18);
  color: #93c5fd;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prep { margin-top: 18px; max-width: 440px; }

.prep-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.prep-bar span {
  display: block;
  width: 85%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-blue) 0%, #93c5fd 50%, var(--accent-blue) 100%);
  background-size: 200% 100%;
  animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
  from { background-position: 200% 0; }
  to { background-position: 0 0; }
}

.banner-text .prep-note { margin-top: 8px; color: #9ca3af; font-size: 0.85rem; }
