/* =========================================================
   AZ TECHNOLOGIES — Design System
   Brand colors sourced from az-logo.svg
   ========================================================= */

:root {
  /* Brand */
  --blue-900: #012849;
  --blue-800: #013568;
  --blue-700: #00458a;   /* primary — from logo "az" */
  --blue-600: #0a5aa3;
  --blue-100: #e6eef7;
  --blue-50:  #f2f7fb;

  --red-700: #d40f14;
  --red-600: #fd1a16;    /* accent — from logo "technologies" */
  --red-100: #ffe4e2;

  --cyan-600: #00a9cc;
  --cyan-500: #00c2e0;   /* accent — from logo icon gradient */
  --cyan-100: #e0f8fc;

  --ink-900: #10161f;
  --ink-700: #1c2530;
  --ink-500: #4b5768;
  --ink-300: #8592a3;
  --ink-100: #dde3ea;

  --bg: #ffffff;
  --bg-alt: #f6f9fc;
  --bg-alt-2: #eef3f9;
  --border: #e3e9f0;

  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(16, 22, 31, 0.06), 0 1px 1px rgba(16,22,31,.04);
  --shadow-md: 0 8px 24px rgba(1, 40, 73, 0.10);
  --shadow-lg: 0 20px 48px rgba(1, 40, 73, 0.14);

  --container: 1180px;
  --gutter: 24px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink-700);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--blue-900);
  line-height: 1.18;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; color: var(--ink-500); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--blue-700); color: #fff; padding: 10px 16px;
  border-radius: var(--radius-sm); z-index: 999; transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--bg-alt); }
.section--blue {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-700) 55%, var(--blue-600));
  color: #fff;
}
.section--blue h2, .section--blue h3 { color: #fff; }
.section--blue p { color: rgba(255,255,255,.82); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-size: 13px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: #fff;
  background: var(--red-600);
  padding: 6px 14px; border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.eyebrow--onblue { color: #fff; background: rgba(255,255,255,.14); }
.eyebrow--cyan { color: #fff; background: var(--red-600); }

.section-head { max-width: 720px; margin: 0 0 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); }
.section-head p { font-size: 17.5px; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 15.5px;
  padding: 14px 26px; border-radius: var(--radius-pill);
  border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red-600); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--red-700); box-shadow: var(--shadow-lg); }
.btn-blue { background: var(--blue-700); color: #fff; box-shadow: var(--shadow-md); }
.btn-blue:hover { background: var(--blue-800); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; border-color: var(--blue-700); color: var(--blue-700); }
.btn-ghost:hover { background: var(--blue-700); color: #fff; }
.btn-ghost-onblue { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-onblue:hover { background: #fff; color: var(--blue-800); border-color: #fff; }
.btn-white { background: #fff; color: var(--blue-700); box-shadow: var(--shadow-md); }
.btn-white:hover { background: var(--bg-alt); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.topbar {
  background: var(--blue-900);
  color: #fff;
  font-size: 13.5px;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 8px; padding-bottom: 8px;
  gap: 12px;
}
.topbar a { opacity: .9; }
.topbar a:hover { opacity: 1; text-decoration: underline; }
.topbar-links { display: flex; gap: 20px; align-items: center; }
.topbar-contact { display: flex; gap: 20px; align-items: center; font-weight: 600; }
.topbar-contact .dot { opacity: .5; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; padding-bottom: 12px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 70px; width: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 10px 14px; border-radius: var(--radius-pill);
  font-family: var(--font-head); font-weight: 600; font-size: 14.5px;
  color: var(--ink-700);
  position: relative;
}
.nav a:hover { color: var(--blue-700); background: var(--blue-50); }
.nav a.is-active { color: var(--blue-700); background: var(--blue-100); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; color: var(--blue-800); }
.header-phone svg { color: var(--red-600); }

.nav-toggle {
  display: none; background: none; border: 0; padding: 8px;
}
.nav-toggle svg { width: 26px; height: 26px; color: var(--blue-800); }

/* ---------- Nav dropdown (Services) ---------- */
.nav-item { position: relative; }
.nav-drop-toggle {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: 0;
  padding: 10px 14px; border-radius: var(--radius-pill);
  font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--ink-700);
}
.nav-drop-toggle:hover, .nav-item.is-open .nav-drop-toggle, .nav-drop-toggle.is-active {
  color: var(--blue-700); background: var(--blue-50);
}
.nav-drop-toggle svg { width: 13px; height: 13px; transition: transform .15s ease; }
.nav-item.is-open .nav-drop-toggle svg { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: 10px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease; z-index: 50;
}
.nav-item.is-open .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--ink-700); }
.dropdown-menu a:hover, .dropdown-menu a.is-active { background: var(--blue-50); color: var(--blue-700); }
.dropdown-menu a svg { width: 18px; height: 18px; color: var(--blue-700); flex: none; }

@media (max-width: 980px) {
  .topbar-links { display: none; }
  .nav { position: fixed; inset: 68px 0 0 0; background: #fff; flex-direction: column;
    align-items: stretch; padding: 18px; gap: 4px; overflow-y: auto;
    transform: translateX(100%); transition: transform .25s ease; box-shadow: var(--shadow-lg); }
  .nav.is-open { transform: translateX(0); }
  .nav a { padding: 14px 16px; font-size: 16px; }
  .header-phone span { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-drop-toggle { width: 100%; justify-content: space-between; padding: 14px 16px; font-size: 16px; }
  .dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; padding: 0 0 6px 10px; display: none;
  }
  .nav-item.is-open .dropdown-menu { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--blue-800);
  background-image: linear-gradient(160deg, rgba(1,21,41,.72) 0%, rgba(1,40,73,.62) 45%, rgba(0,69,138,.55) 100%), var(--hero-photo, none);
  background-size: cover;
  background-position: center;
  color: #fff;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 80px 0;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35;
}
.hero::before { width: 480px; height: 480px; background: var(--cyan-500); top: -180px; right: -140px; }
.hero::after { width: 380px; height: 380px; background: var(--red-600); bottom: -160px; left: -120px; opacity: .25; }
.hero .container { position: relative; z-index: 1; width: 100%; }
.hero .eyebrow { margin-bottom: 26px; }
.hero h1 { color: #fff; font-size: clamp(34px, 4.8vw, 58px); max-width: 780px; margin-bottom: .55em; }
.hero p.lead { color: rgba(255,255,255,.9); font-size: 20px; max-width: 580px; text-shadow: 0 1px 8px rgba(0,0,0,.25); margin-bottom: 0; }
.hero-actions { display: flex; gap: 16px; margin-top: 44px; flex-wrap: wrap; }
@media (max-width: 640px) { .hero { min-height: 520px; padding: 56px 0; } }

.hero-panel {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(6px);
}
.hero-panel ul { display: grid; gap: 14px; }
.hero-panel li { display: flex; gap: 12px; align-items: flex-start; color: #fff; font-weight: 500; }
.hero-panel li svg { flex: none; color: var(--cyan-500); margin-top: 2px; }

.page-hero {
  background-color: var(--blue-800);
  background-image: linear-gradient(160deg, rgba(1,21,41,.72) 0%, rgba(1,40,73,.62) 45%, rgba(0,69,138,.55) 100%), var(--hero-photo, none);
  background-size: cover;
  background-position: center;
  color: #fff; position: relative; overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 80px 0;
}
.page-hero::before, .page-hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35;
}
.page-hero::before { width: 480px; height: 480px; background: var(--cyan-500); top: -180px; right: -140px; opacity: .25; filter: blur(70px); }
.page-hero::after { width: 380px; height: 380px; background: var(--red-600); bottom: -160px; left: -120px; opacity: .25; }
.page-hero .container { position: relative; z-index: 1; width: 100%; }
.breadcrumbs { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.breadcrumbs a:hover { text-decoration: underline; }
.page-hero .eyebrow { margin-bottom: 26px; }
.page-hero h1 { color: #fff; font-size: clamp(34px, 4.8vw, 58px); max-width: 780px; margin-bottom: .55em; }
.page-hero p.lead { color: rgba(255,255,255,.9); font-size: 20px; max-width: 580px; text-shadow: 0 1px 8px rgba(0,0,0,.25); margin-bottom: 0; }
.page-hero-actions { display: flex; gap: 16px; margin-top: 44px; flex-wrap: wrap; }
@media (max-width: 640px) { .page-hero { min-height: 520px; padding: 56px 0; } }

/* ---------- Icon badge ---------- */
.icon-badge {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-100); color: var(--blue-700); flex: none;
}
.icon-badge svg { width: 28px; height: 28px; }
.icon-badge--red { background: var(--red-100); color: var(--red-600); }
.icon-badge--cyan { background: var(--cyan-100); color: var(--cyan-600); }
.icon-badge--lg { width: 72px; height: 72px; }
.icon-badge--lg svg { width: 34px; height: 34px; }
.icon-badge--onblue { background: rgba(255,255,255,.14); color: #fff; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: transparent; }
.card h3 { font-size: 20px; margin-top: 18px; }
.card p:last-child { margin-bottom: 0; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; color: var(--blue-700); margin-top: 8px; }
.card-link svg { width: 16px; height: 16px; transition: transform .15s ease; }
.card:hover .card-link svg { transform: translateX(3px); }

.service-card { position: relative; overflow: hidden; }
.service-card .tag {
  position: absolute; top: 20px; right: 20px; font-size: 11.5px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; color: var(--red-600);
  background: var(--red-100); padding: 4px 10px; border-radius: var(--radius-pill);
}

.feature-row { display: flex; gap: 16px; align-items: flex-start; }
.feature-row .icon-badge { width: 44px; height: 44px; border-radius: var(--radius-sm); }
.feature-row .icon-badge svg { width: 22px; height: 22px; }
.feature-row h4 { font-size: 16.5px; margin-bottom: 6px; }
.feature-row p { font-size: 15px; margin-bottom: 0; }

.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-700); font-weight: 500; }
.check-list li svg { flex: none; color: var(--blue-700); margin-top: 3px; }

/* ---------- Why choose us ---------- */
.stat-card { text-align: center; display: flex; flex-direction: column; align-items: center; }
.stat-card strong {
  display: flex; align-items: center; justify-content: center;
  min-height: 1.3em; margin-bottom: 8px;
  font-family: var(--font-head); font-size: 30px; line-height: 1.15; color: var(--blue-700);
}
.stat-card span { font-size: 13.5px; color: var(--ink-300); text-transform: uppercase; letter-spacing: .05em; }
@media (min-width: 641px) {
  .stat-card strong { min-height: 2.3em; }
}

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--bg-alt); border-radius: var(--radius-lg); padding: 28px;
  border: 1px solid var(--border);
}
.testimonial .stars { color: var(--red-600); font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial p { color: var(--ink-700); font-style: italic; }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testimonial .avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--blue-700); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700;
}
.testimonial .name { font-family: var(--font-head); font-weight: 700; color: var(--ink-900); font-size: 14.5px; }
.testimonial .role { font-size: 12.5px; color: var(--ink-300); }

/* ---------- Logos strip ---------- */
.logo-strip { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: center; opacity: .7; }
.logo-strip span { font-family: var(--font-head); font-weight: 700; color: var(--ink-300); font-size: 18px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--red-600), #ff5b3f);
  border-radius: var(--radius-lg); padding: 48px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,.9); margin-bottom: 0; }

/* ---------- Process steps ---------- */
.steps { display: grid; gap: 24px; grid-template-columns: repeat(4, 1fr); counter-reset: step; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 8px; }
.step .num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--blue-700); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700;
  margin-bottom: 16px;
}
.step h4 { font-size: 16.5px; }
.step p { font-size: 14.5px; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: none; border: 0; text-align: left; padding: 22px 4px;
  font-family: var(--font-head); font-weight: 600; font-size: 16.5px; color: var(--ink-900);
}
.faq-q svg { flex: none; transition: transform .2s ease; color: var(--blue-700); }
.faq-item.is-open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a p { padding: 0 4px 22px; margin: 0; }
.faq-item.is-open .faq-a { max-height: 320px; }

/* ---------- Blog cards ---------- */
.blog-card .thumb {
  height: 170px; border-radius: var(--radius-md); margin: -32px -32px 20px;
  background: linear-gradient(135deg, var(--blue-700), var(--cyan-600));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.blog-card .thumb svg { width: 46px; height: 46px; color: rgba(255,255,255,.85); }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card .meta { font-size: 12.5px; color: var(--ink-300); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; font-weight: 700; }

/* ---------- Service area map block ---------- */
.area-list { display: flex; flex-wrap: wrap; gap: 12px; }
.area-list li {
  background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--blue-800);
  font-weight: 600; font-size: 14px; padding: 10px 18px; border-radius: var(--radius-pill);
}

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink-900); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 15px; color: var(--ink-900); background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-700); box-shadow: 0 0 0 4px var(--blue-100);
}
.field textarea { resize: vertical; min-height: 130px; }
.field-required { color: var(--red-600); }
.form-note { font-size: 13px; color: var(--ink-300); margin-top: 14px; }

.contact-info-card { background: var(--blue-900); color: #fff; border-radius: var(--radius-lg); padding: 36px; }
.contact-info-card h3 { color: #fff; }
.contact-info-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.contact-info-row:last-child { border-bottom: 0; }
.contact-info-row .icon-badge { background: rgba(255,255,255,.12); color: var(--cyan-500); }
.contact-info-row h4 { color: #fff; font-size: 15px; margin-bottom: 4px; }
.contact-info-row p, .contact-info-row a { color: rgba(255,255,255,.78); font-size: 14.5px; margin: 0; }
.contact-info-row a:hover { color: #fff; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.map-embed iframe { display: block; width: 100%; height: 340px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: rgba(255,255,255,.75); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 66px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { color: rgba(255,255,255,.6); font-size: 14.5px; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; transition: background .15s ease;
}
.footer-social a:hover { background: var(--red-600); }
.footer-social svg { width: 16px; height: 16px; color: #fff; }
.footer-col h4 { color: #fff; font-size: 14.5px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: 14.5px; color: rgba(255,255,255,.68); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding: 22px 0; font-size: 13px; color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Photo banner ---------- */
.photo-banner { position: relative; height: 340px; overflow: hidden; background: var(--blue-900); }
.photo-banner img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .96; }
.photo-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(1,15,30,.82) 0%, rgba(1,15,30,.15) 55%, rgba(1,15,30,.05) 100%);
}
.photo-banner .caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 24px clamp(20px, 4vw, 48px);
}
.photo-banner .caption .container { padding: 0; }
.photo-banner .caption strong {
  display: block; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: clamp(17px, 2vw, 21px);
}
.photo-banner .caption span { color: rgba(255,255,255,.78); font-size: 14px; }
@media (max-width: 640px) { .photo-banner { height: 220px; } }

/* ---------- Hero illustration (device mockup) ---------- */
.hero-illustration { position: relative; }
.hero-illustration .device-mock {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(0 24px 48px rgba(1, 15, 30, .35));
}
.hero-illustration.on-light .device-mock { filter: drop-shadow(var(--shadow-lg)); }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: var(--radius-md); padding: 10px 16px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.float-chip strong { display: block; font-family: var(--font-head); font-size: 15px; color: var(--blue-900); line-height: 1.2; }
.float-chip span { display: block; font-size: 11px; color: var(--ink-300); }
.float-chip .icon-badge { width: 34px; height: 34px; border-radius: 9px; }
.float-chip .icon-badge svg { width: 17px; height: 17px; }
.float-chip--tl { top: 14px; left: 14px; }
.float-chip--br { bottom: 14px; right: 14px; }
@media (max-width: 640px) {
  .float-chip { padding: 8px 12px; gap: 8px; }
  .float-chip strong { font-size: 13px; }
}

/* ---------- Article / blog post ---------- */
.article-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: rgba(255,255,255,.75); font-size: 14px; margin-top: 18px; }
.article-meta .dot { opacity: .5; }
.article-body { max-width: 740px; margin: 0 auto; }
.article-body p { font-size: 17.5px; line-height: 1.8; color: var(--ink-700); }
.article-body h2 { font-size: 27px; margin-top: 1.8em; margin-bottom: .6em; }
.article-body h3 { font-size: 20px; margin-top: 1.5em; margin-bottom: .5em; color: var(--blue-900); }
.article-body ul, .article-body ol { margin: 0 0 1.2em; padding-left: 1.3em; color: var(--ink-700); font-size: 17.5px; line-height: 1.8; }
.article-body li { margin-bottom: .5em; }
.article-body strong { color: var(--ink-900); }
.article-body a { color: var(--blue-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.article-body blockquote {
  margin: 1.8em 0; padding: 20px 24px; border-left: 4px solid var(--red-600);
  background: var(--bg-alt); border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic; color: var(--ink-700); font-size: 18px;
}
.takeaways { background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--radius-lg); padding: 28px 30px; margin: 2em 0; }
.takeaways h3 { margin-top: 0; color: var(--blue-900); font-size: 17px; text-transform: uppercase; letter-spacing: .04em; }
.takeaways ul { margin-bottom: 0; }
.article-share { display: flex; align-items: center; gap: 14px; margin: 40px 0; padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.article-share span { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink-500); }
.author-box { display: flex; gap: 16px; align-items: center; background: var(--bg-alt); border-radius: var(--radius-lg); padding: 24px; margin-top: 48px; }
.author-box .avatar {
  width: 52px; height: 52px; border-radius: 50%; background: var(--blue-700); color: #fff; flex: none;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 18px;
}
.author-box h4 { margin: 0 0 4px; font-size: 15px; }
.author-box p { margin: 0; font-size: 14px; color: var(--ink-300); }
.blog-index-card .meta-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-300); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }

/* ---------- Motion: header, hero entrance, scroll reveal ---------- */
.site-header { transition: box-shadow .25s ease, background-color .25s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(1,15,30,.10); }

@media (prefers-reduced-motion: no-preference) {
  @keyframes az-fade-up {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
  }
  @keyframes az-pop-in {
    from { opacity: 0; transform: translateY(10px) scale(.94); }
    to   { opacity: 1; transform: none; }
  }

  .hero .eyebrow, .page-hero .eyebrow { animation: az-fade-up .7s cubic-bezier(.16,.8,.24,1) both; }
  .hero h1, .page-hero h1 { animation: az-fade-up .7s cubic-bezier(.16,.8,.24,1) .08s both; }
  .hero p.lead, .page-hero p.lead { animation: az-fade-up .7s cubic-bezier(.16,.8,.24,1) .16s both; }
  .hero-actions, .page-hero-actions { animation: az-fade-up .7s cubic-bezier(.16,.8,.24,1) .24s both; }
  .article-meta { animation: az-fade-up .7s cubic-bezier(.16,.8,.24,1) .3s both; }

  .hero-illustration.is-visible .float-chip--tl { animation: az-pop-in .5s cubic-bezier(.16,.8,.24,1) .35s both; }
  .hero-illustration.is-visible .float-chip--br { animation: az-pop-in .5s cubic-bezier(.16,.8,.24,1) .5s both; }

  /* Scroll reveal: JS adds .reveal-init on load, .is-visible when scrolled into view */
  .reveal-init {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s cubic-bezier(.16,.8,.24,1), transform .7s cubic-bezier(.16,.8,.24,1);
  }
  .reveal-init.is-visible { opacity: 1; transform: none; }
}

/* Slightly livelier hover on interactive elements (motion-safe only) */
@media (prefers-reduced-motion: no-preference) {
  .card-link svg { transition: transform .2s ease; }
  .icon-badge { transition: transform .25s ease; }
  .card:hover .icon-badge { transform: translateY(-2px) scale(1.06); }
  .nav a, .nav-drop-toggle { transition: color .15s ease, background-color .15s ease; }
}

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--border); border: 0; margin: 0; }
.badge-list { display: flex; flex-wrap: wrap; gap: 10px; }
.badge-list span {
  font-size: 13px; font-weight: 600; color: var(--blue-700); background: var(--blue-50);
  border: 1px solid var(--blue-100); padding: 6px 14px; border-radius: var(--radius-pill);
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }
.reverse .col-1 { order: 2; }

.pill-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.pill-nav a {
  padding: 10px 18px; border-radius: var(--radius-pill); border: 1.5px solid var(--border);
  font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink-500);
}
.pill-nav a.is-active, .pill-nav a:hover { border-color: var(--blue-700); color: var(--blue-700); background: var(--blue-50); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .footer-grid { row-gap: 32px; }
}
