/* A2Z DIGITAL SOLUTIONS (A2z panel) — Global Styles */

:root {
  --brand: #0b5ed7;
  --brand-600: #0a53be;
  --ink: #101113;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --border: #e5e7eb;
  --success: #16a34a;
  --danger: #dc2626;
  --warning: #f59e0b;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 16px rgba(0,0,0,0.08);
  --container: 1200px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--space-6); }
.section { padding: var(--space-16) 0; }
.section.tight { padding: var(--space-12) 0; }

/* Header */
header.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4); padding: var(--space-4) 0;
}
.brand { display: flex; align-items: center; gap: var(--space-3); font-weight: 700; }
.brand .logo {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-600));
  box-shadow: var(--shadow-sm);
}
.nav-links { display: flex; align-items: center; gap: var(--space-6); }
.nav-links a { color: var(--ink); font-weight: 600; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--border);
  padding: 8px 10px; border-radius: 8px; cursor: pointer;
}

@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: var(--space-6); flex-direction: column; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: inline-flex; }
}

/* Hero */
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-10); align-items: center; }
.hero h1 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.2; margin: 0 0 var(--space-4); }
.hero p { font-size: 18px; color: var(--muted); margin: 0 0 var(--space-6); }
.hero-figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }

@media (max-width: 960px) { .hero { grid-template-columns: 1fr; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 18px; border-radius: 10px; border: 1px solid transparent; font-weight: 700; cursor: pointer;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-600); text-decoration: none; }
.btn-outline { background: #fff; border-color: var(--border); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); text-decoration: none; }

/* Cards & Grids */
.grid { display: grid; gap: var(--space-6); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.card .card-media { height: 180px; overflow: hidden; }
.card .card-media img { width: 100%; height: 100%; object-fit: cover; }
.card .card-body { padding: var(--space-5); }
.card h3 { margin: 0 0 var(--space-3); font-size: 20px; }
.card p { margin: 0 0 var(--space-4); color: var(--muted); }

/* CTA band */
.cta-band { background: linear-gradient(90deg, var(--bg-alt), #eef4ff); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-10); box-shadow: var(--shadow-sm); }
.cta-band h2 { margin: 0 0 var(--space-4); }

/* Testimonial */
.testimonial { border-left: 4px solid var(--brand); background: var(--bg-alt); padding: var(--space-6); border-radius: 8px; }
.testimonial p { margin: 0; color: var(--ink); }
.testimonial .who { margin-top: var(--space-3); color: var(--muted); font-size: 14px; }

/* Forms */
form label { font-weight: 600; display: block; margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; outline: none; background: #fff; color: var(--ink);
}
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(11,94,215,0.15); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }
@media (max-width: 720px) { .form-row { grid-template-columns: 1fr; } }
.form-help { color: var(--muted); font-size: 14px; }
.form-actions { display: flex; gap: 12px; align-items: center; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; }
.checkbox input { margin-top: 3px; }
.error { color: var(--danger); font-size: 14px; }

/* Toast */
.toast {
  position: fixed; right: 20px; bottom: 20px; background: #111827; color: #fff; padding: 12px 14px;
  border-radius: 10px; box-shadow: var(--shadow-md); z-index: 100; opacity: 0; transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* Footer */
footer.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: var(--space-12) 0; color: var(--muted); }
footer .grid { align-items: start; }
footer h4 { margin: 0 0 var(--space-4); color: var(--ink); }
footer .legal { margin-top: var(--space-6); color: var(--muted); font-size: 14px; }

/* Utilities */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.lead { font-size: 18px; color: var(--muted); }
.pill { display: inline-block; padding: 6px 10px; border-radius: 999px; background: #eef2ff; color: #3730a3; font-weight: 700; font-size: 12px; }
.spacer { height: var(--space-10); }

/* Focus visible */
:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }

