/*
  Atech360 — Design System
  Aesthetic: Clean Minimalism · Apple-inspired
  Mobile-first · Performance · SEO-optimized
  ============================================= */

/* ── Variables ── */
:root {
  /* Brand */
  --c-navy:    #002D5B;
  --c-blue:    #0056A6;
  --c-cyan:    #00B8F0;

  /* Neutral Scale */
  --c-black:   #1d1d1f;
  --c-gray-1:  #3d3d3f;
  --c-gray-2:  #6e6e73;
  --c-gray-3:  #aeaeb2;
  --c-gray-4:  #d2d2d7;
  --c-gray-5:  #e8e8ed;
  --c-surface: #f5f5f7;
  --c-white:   #ffffff;

  /* Semantic */
  --c-text:    var(--c-black);
  --c-muted:   var(--c-gray-2);
  --c-border:  var(--c-gray-5);

  /* Typography */
  --f-display: 'DM Serif Display', Georgia, serif;
  --f-head: 'Poppins', system-ui, -apple-system, sans-serif;
  --f-body: 'Open Sans', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --sec-v:  8rem;
  --sec-h:  max(1.5rem, calc((100vw - 1200px) / 2 + 1.5rem));
  --max-w:  1200px;

  /* Radius */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-pill: 9999px;

  /* Shadows */
  --s-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --s-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --s-lg: 0 12px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);

  /* Transition */
  --ease: 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-white);
}

img, video { max-width: 100%; height: auto; display: block; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-head);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--c-text);
  margin-bottom: 0.75rem;
}

h1 { font-size: clamp(2.5rem, 6.5vw, 5.25rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem);    font-weight: 700; letter-spacing: -0.018em; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); font-weight: 600; letter-spacing: -0.01em; }
h4 { font-size: clamp(1rem, 2vw, 1.2rem);       font-weight: 600; }

a { color: var(--c-blue); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--c-navy); }

/* ── Layout Containers ── */
.at-wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.at-section {
  padding-block: var(--sec-v);
  padding-inline: var(--sec-h);
}
.at-section--white   { background: var(--c-white); }
.at-section--tinted  { background: var(--c-surface); }
.at-section--dark    {
  background: var(--c-navy);
  color: var(--c-white);
}
.at-section--dark h1,
.at-section--dark h2,
.at-section--dark h3,
.at-section--dark h4,
.at-section--dark p  { color: var(--c-white); }

/* ── Eyebrow ── */
.eyebrow {
  display: inline-block;
  font-family: var(--f-head);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--c-cyan);
  margin-bottom: 0.875rem;
}

/* ── Section Heading ── */
.s-head {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 4rem;
}
.s-head h2 { margin-bottom: 0.875rem; }
.s-head p  { color: var(--c-muted); font-size: 1.1rem; }

.s-head--left { text-align: left; margin-inline: 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), box-shadow var(--ease), transform var(--ease), color var(--ease);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
  line-height: 1;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn-primary {
  background: var(--c-navy);
  color: var(--c-white);
  border-color: var(--c-navy);
}
.btn-primary:hover {
  background: var(--c-blue);
  border-color: var(--c-blue);
  color: var(--c-white);
  box-shadow: var(--s-md);
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--c-cyan);
  color: var(--c-navy);
  border-color: var(--c-cyan);
  font-weight: 700;
}
.btn-accent:hover {
  background: #00a6d8;
  border-color: #00a6d8;
  color: var(--c-navy);
  box-shadow: 0 4px 20px rgba(0,184,240,0.35);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.65);
  color: var(--c-white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--c-navy);
  border-color: var(--c-navy);
}
.btn-outline-dark:hover {
  background: var(--c-navy);
  color: var(--c-white);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  align-items: center;
}

/* ── Icon Box ── */
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  flex-shrink: 0;
  margin-bottom: 1.25rem;
}
.icon-box svg { width: 24px; height: 24px; }
.icon-box--blue   { background: rgba(0,86,166,0.09);   color: var(--c-blue); }
.icon-box--cyan   { background: rgba(0,184,240,0.1);   color: #009dc4; }
.icon-box--navy   { background: rgba(0,45,91,0.08);    color: var(--c-navy); }
.icon-box--green  { background: rgba(39,174,96,0.09);  color: #27ae60; }
.icon-box--orange { background: rgba(230,126,34,0.09); color: #e67e22; }
.icon-box--purple { background: rgba(142,68,173,0.09); color: #8e44ad; }
.icon-box--dark   { background: var(--c-navy);         color: var(--c-white); }

/* ── Generic Card ── */
.card {
  background: var(--c-white);
  border-radius: var(--r-lg);
  padding: 2.5rem 2rem;
  border: 1px solid var(--c-border);
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}
.card:hover {
  box-shadow: var(--s-lg);
  border-color: transparent;
  transform: translateY(-4px);
}

/* ── Grid Helpers ── */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }

@media (min-width: 600px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ── Hero ── */
.hero {
  background: linear-gradient(160deg, #001629 0%, #002D5B 55%, #003d7a 100%);
  padding-block: 9rem 8rem;
  padding-inline: var(--sec-h);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% -10%, rgba(0,184,240,0.14) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 85% 80%, rgba(0,86,166,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin-inline: auto;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(0,184,240,0.4);
  color: var(--c-cyan);
  padding: 0.5rem 1.25rem;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 18px rgba(0,184,240,0.18), inset 0 1px 0 rgba(255,255,255,0.1);
}
.hero h1 {
  font-family: var(--f-display);
  color: var(--c-white);
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 6.6vw, 5.75rem);
  line-height: 1.06;
  font-weight: 400;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
}
.hero h1 em { font-style: italic; color: var(--c-cyan); }
.hero-sub {
  color: rgba(255,255,255,0.72);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}
.hero-sub strong { color: rgba(255,255,255,0.9); font-weight: 600; }
.hero-meta {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-meta-item .val {
  font-family: var(--f-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-white);
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero-meta-item .val em { font-style: normal; color: var(--c-cyan); }
.hero-meta-item .lbl {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.3rem;
}

/* ── Hero Visual (AI Dashboard Mockup) ── */
.hero-visual {
  position: absolute;
  right: clamp(2rem, 5vw, 6rem);
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  z-index: 2;
}
@media (max-width: 1180px) { .hero-visual { display: none; } }

/* Browser mockup */
.hv-browser {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.hv-browser:hover {
  transform: translateY(-3px);
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.12);
}
.hv-browser-bar {
  background: rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0.6rem 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.hv-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hv-dot--red    { background: #ff5f57; }
.hv-dot--yellow { background: #ffbd2e; }
.hv-dot--green  { background: #28ca41; }
.hv-browser-url {
  margin-left: 0.5rem;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  font-family: var(--f-mono, monospace);
  letter-spacing: 0.02em;
}

/* Chat interface */
.hv-chat { padding: 0; }
.hv-chat-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.hv-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-blue), var(--c-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--c-white);
  flex-shrink: 0;
}
.hv-chat-header strong {
  color: var(--c-white);
  font-size: 0.82rem;
  display: block;
  line-height: 1.2;
}
.hv-online {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.45);
}
.hv-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #28ca41;
  display: inline-block;
  animation: hvPulse 1.8s ease-in-out infinite;
}
@keyframes hvPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}
.hv-messages {
  padding: 0.875rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.hv-msg {
  padding: 0.6rem 0.875rem;
  border-radius: 10px;
  font-size: 0.775rem;
  line-height: 1.5;
  max-width: 88%;
}
.hv-msg--ai {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.85);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}
.hv-msg--user {
  background: var(--c-cyan);
  color: var(--c-navy);
  align-self: flex-end;
  font-weight: 600;
  border-bottom-right-radius: 3px;
}
.hv-msg--result { display: none; }
.hv-msg--result strong { color: var(--c-cyan); }
/* Typing animation */
.hv-msg--typing { display: flex; gap: 4px; align-items: center; padding: 0.625rem 0.875rem; }
.hv-msg--typing span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  animation: hvDot 1.2s ease-in-out infinite;
}
.hv-msg--typing span:nth-child(2) { animation-delay: 0.2s; }
.hv-msg--typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes hvDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%            { transform: translateY(-5px); opacity: 1; }
}
.hv-input-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.875rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.hv-input-mock {
  flex: 1;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  font-style: italic;
}
.hv-input-real {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.9);
  font-family: inherit;
  caret-color: var(--c-cyan);
}
.hv-input-real::placeholder {
  color: rgba(255,255,255,0.28);
  font-style: italic;
}
.hv-send {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--c-cyan);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-navy);
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.18s, transform 0.15s;
}
.hv-send:hover { background: var(--c-blue); transform: scale(1.1); color: #fff; }
.hv-card { pointer-events: none; }

/* Floating stat cards */
.hv-card {
  position: absolute;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  backdrop-filter: blur(16px);
  padding: 0.6rem 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.73rem;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.hv-card strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.1;
}
.hv-card span { color: rgba(255,255,255,0.5); font-size: 0.68rem; }
.hv-card--1 { top: -40px; left: -70px; animation: hvFloat 4s ease-in-out infinite; }
.hv-card--2 { top: 40px; right: -65px; animation: hvFloat 5s ease-in-out infinite reverse; }
.hv-card--3 { bottom: 100px; left: -75px; animation: hvFloat 4.5s ease-in-out infinite 0.5s; }
@keyframes hvFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

/* Mini workflow */
.hv-workflow {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.875rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
}
.hv-wf-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  font-size: 0.62rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
}
.hv-wf-icon {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
}
.hv-wf-step--highlight .hv-wf-icon { background: rgba(0,184,240,0.15); }
.hv-wf-step--highlight { color: rgba(255,255,255,0.7); }
.hv-wf-arrow { color: rgba(255,255,255,0.2); font-size: 0.7rem; }

/* ── Trust Bar ── */
.trust-bar {
  background: var(--c-surface);
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--c-border);
  overflow: hidden;
}
.trust-bar-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  white-space: nowrap;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-gray-1);
  white-space: nowrap;
  padding: 0 2.5rem;
  flex-shrink: 0;
}
.trust-item svg { width: 14px; height: 14px; color: #27ae60; flex-shrink: 0; }

/* ── Service Cards ── */
.service-card {
  background: var(--c-white);
  border-radius: var(--r-lg);
  padding: 2.5rem 2rem;
  border: 1px solid var(--c-border);
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}
.service-card:hover {
  box-shadow: var(--s-lg);
  border-color: transparent;
  transform: translateY(-4px);
}
.service-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; color: var(--c-text); }
.service-card p  { font-size: 0.9rem; color: var(--c-muted); line-height: 1.65; margin-bottom: 1.25rem; }
.card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap var(--ease), color var(--ease);
}
.card-link svg { width: 14px; height: 14px; }
.card-link:hover { gap: 0.6rem; color: var(--c-navy); }

/* ── About / Stats ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1.1fr 0.9fr; }
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 2rem;
  text-align: center;
}
.stat-item .number {
  font-family: var(--f-head);
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 700;
  color: var(--c-cyan);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-item .stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.4rem;
}

/* ── Why Cards ── */
.why-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 2rem;
  background: var(--c-white);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  transition: box-shadow var(--ease), transform var(--ease);
}
.why-card:hover { box-shadow: var(--s-md); transform: translateY(-2px); }
.why-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.why-card p  { font-size: 0.875rem; color: var(--c-muted); line-height: 1.6; }
.why-card .icon-box { margin-bottom: 0; flex-shrink: 0; }

/* ── Portfolio / Case Studies ── */
.portfolio-card {
  background: var(--c-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}
.portfolio-card:hover { box-shadow: var(--s-lg); transform: translateY(-4px); border-color: transparent; }
.portfolio-card .card-visual {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.portfolio-card .card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}
.portfolio-card:hover .card-visual img { transform: scale(1.04); }
.portfolio-card .card-visual svg { width: 52px; height: 52px; color: rgba(255,255,255,0.85); }
.portfolio-card .card-body { padding: 1.75rem; }
.portfolio-card .card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.card-tag {
  background: rgba(0,86,166,0.08);
  color: var(--c-blue);
  font-size: 0.71rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  letter-spacing: 0.02em;
}
.portfolio-card h3 { font-size: 1rem; line-height: 1.45; margin-bottom: 0.5rem; }
.portfolio-card p  { font-size: 0.875rem; color: var(--c-muted); }
.result-line {
  font-size: 0.8rem;
  color: #27ae60;
  font-weight: 600;
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.result-line svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ── Testimonials ── */
.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 2.5rem 2rem 2rem;
  position: relative;
  overflow: hidden;
  transition: background var(--ease), border-color var(--ease);
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(0,184,240,0.25);
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -0.25rem;
  left: 1.25rem;
  font-family: var(--f-display);
  font-size: 6rem;
  line-height: 1;
  color: var(--c-cyan);
  opacity: 0.18;
  pointer-events: none;
  user-select: none;
}
.testimonial-card .stars {
  color: #f5a623;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.testimonial-card blockquote {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
  font-style: normal;
  margin: 0 0 1.75rem;
  position: relative;
  z-index: 1;
}
.testimonial-cite {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-blue), var(--c-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(0,184,240,0.3);
}
.testimonial-cite-text strong {
  display: block;
  font-family: var(--f-head);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-white);
}
.testimonial-cite-text span { font-size: 0.78rem; color: rgba(255,255,255,0.45); }

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.pricing-card {
  background: var(--c-white);
  border-radius: var(--r-lg);
  padding: 2.75rem 2rem;
  border: 1px solid var(--c-border);
  position: relative;
  transition: box-shadow var(--ease);
}
.pricing-card.featured {
  border-color: var(--c-cyan);
  border-width: 2px;
  box-shadow: var(--s-lg), 0 0 0 1px var(--c-cyan), 0 0 28px rgba(0,184,240,0.18);
  animation: featuredGlow 3s ease-in-out infinite;
}
@keyframes featuredGlow {
  0%, 100% { box-shadow: var(--s-lg), 0 0 0 1px var(--c-cyan), 0 0 20px rgba(0,184,240,0.15); }
  50%       { box-shadow: var(--s-lg), 0 0 0 2px var(--c-cyan), 0 0 40px rgba(0,184,240,0.32); }
}
.pricing-badge {
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  background: var(--c-navy);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pricing-card h3 { margin-bottom: 0.25rem; font-size: 1.2rem; }
.pricing-card .price {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 1rem 0;
}
.pricing-card .price span { font-size: 0.95rem; font-weight: 400; color: var(--c-muted); }
.pricing-card ul { list-style: none; padding: 0; margin: 0 0 2rem; }
.pricing-card ul li {
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--c-gray-1);
  border-bottom: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.pricing-card ul li svg { width: 15px; height: 15px; color: #27ae60; flex-shrink: 0; }

/* ── Pricing Currency Toggle ── */
.pricing-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}
.pricing-toggle {
  display: inline-flex;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  padding: 4px;
  gap: 2px;
}
.ptoggle-btn {
  padding: 8px 24px;
  border-radius: var(--r-pill);
  border: none;
  background: transparent;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--f-head);
  color: var(--c-muted);
  cursor: pointer;
  transition: background var(--ease), color var(--ease);
}
.ptoggle-btn.active {
  background: var(--c-navy);
  color: white;
  box-shadow: var(--s-sm);
}
/* Show/hide price by active currency */
#pricing-section[data-currency="usd"] .price-ngn { display: none; }
#pricing-section[data-currency="ngn"] .price-usd { display: none; }

/* ── How It Works ── */
.hiw-grid {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  position: relative;
}
@media (min-width: 768px) {
  .hiw-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  /* Connector line between steps on desktop */
  .hiw-grid::before {
    content: '';
    position: absolute;
    top: 26px;
    left: calc(16.66% + 26px);
    right: calc(16.66% + 26px);
    height: 2px;
    background: linear-gradient(90deg, var(--c-cyan) 0%, rgba(0,184,240,0.3) 50%, var(--c-cyan) 100%);
    z-index: 0;
    border-radius: 1px;
  }
}
.hiw-step {
  text-align: center;
  padding: 2.5rem 1.75rem;
  position: relative;
}
@media (max-width: 767px) {
  .hiw-step {
    padding: 1.5rem 1.25rem;
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 1.25rem;
  }
  .hiw-step .hiw-number {
    flex-shrink: 0;
    margin: 0;
  }
  .hiw-step-text { flex: 1; }
  .hiw-step h3 { margin-top: 0.2rem; }
}
.hiw-number {
  width: 52px; height: 52px;
  background: var(--c-cyan);
  color: var(--c-navy);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--f-head);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px rgba(0,184,240,0.12), 0 0 0 12px rgba(0,184,240,0.05);
}
.hiw-step h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.hiw-step p { color: var(--c-muted); font-size: 0.9rem; line-height: 1.7; margin: 0; }

/* ── Newsletter Section ── */
.newsletter-section {
  background: var(--c-navy);
  padding: 5rem var(--sec-h);
  text-align: center;
}
.newsletter-inner {
  max-width: 600px;
  margin: 0 auto;
}
.newsletter-inner h2 {
  color: white;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  margin-bottom: 0.75rem;
}
.newsletter-inner p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  margin-bottom: 2rem;
}
.newsletter-form-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form-row input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 14px 20px;
  border-radius: var(--r-pill);
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 0.95rem;
  font-family: var(--f-body);
  outline: none;
  transition: border-color var(--ease);
}
.newsletter-form-row input[type="email"]::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form-row input[type="email"]:focus { border-color: var(--c-cyan); }
.newsletter-success {
  color: var(--c-cyan);
  font-weight: 600;
  font-size: 1.05rem;
  display: none;
}

/* ── Blog ── */
.blog-card {
  background: var(--c-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}
.blog-card:hover { box-shadow: var(--s-lg); transform: translateY(-4px); border-color: transparent; }
.blog-thumb { height: 200px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.blog-thumb svg { width: 48px; height: 48px; color: rgba(255,255,255,0.8); }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--ease); }
.blog-card:hover .blog-thumb img { transform: scale(1.04); }
.blog-body { padding: 1.5rem; }
.blog-meta {
  font-size: 0.74rem;
  color: var(--c-gray-3);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 0.6rem;
  display: flex;
  gap: 0.75rem;
}
.blog-card h3  { font-size: 0.975rem; line-height: 1.45; margin-bottom: 0.6rem; }
.blog-card p   { font-size: 0.875rem; color: var(--c-muted); }
.read-more {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.75rem;
  transition: gap var(--ease), color var(--ease);
}
.read-more svg { width: 13px; height: 13px; }
.read-more:hover { gap: 0.6rem; color: var(--c-navy); }

/* ── CTA Banner ── */
.cta-section {
  padding-block: 8rem;
  padding-inline: var(--sec-h);
  text-align: center;
  background: linear-gradient(135deg, #001020 0%, var(--c-navy) 40%, #003d7a 70%, #002050 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(0,184,240,0.22) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 15% 30%, rgba(0,86,166,0.15) 0%, transparent 55%),
    radial-gradient(ellipse 30% 30% at 85% 20%, rgba(0,184,240,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,184,240,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,184,240,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 30%, transparent 75%);
}
.cta-inner { position: relative; z-index: 1; max-width: 680px; margin-inline: auto; }
.cta-section h2 {
  font-family: var(--f-display);
  color: var(--c-white);
  margin-bottom: 1.25rem;
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.15;
}
.cta-section h2 em { font-style: italic; color: var(--c-cyan); }
.cta-section p  { color: rgba(255,255,255,0.72); font-size: 1.15rem; margin-bottom: 2.75rem; line-height: 1.7; }

/* ── Newsletter ── */
.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 460px;
  flex-wrap: wrap;
}
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 13px 18px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  font-size: 0.9375rem;
  outline: none;
  background: var(--c-white);
  transition: border-color var(--ease);
}
.newsletter-form input:focus { border-color: var(--c-cyan); }
.newsletter-form button {
  background: var(--c-navy);
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 13px 24px;
  border: none;
  border-radius: var(--r-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--ease);
}
.newsletter-form button:hover { background: var(--c-blue); }

/* ── Partner Logos ── */
.partners-section {
  background: var(--c-white);
  padding: 3rem 0 3.5rem;
  border-bottom: 1px solid var(--c-border);
  overflow: hidden;
}
.partners-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #aeaeb2;
  font-weight: 600;
  margin-bottom: 2rem;
}
.partners-overflow {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.partners-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: partnerScroll 55s linear infinite;
}
.partners-track:hover { animation-play-state: paused; }
.partner-logo {
  --p-color: #6e6e73;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 2rem;
  flex-shrink: 0;
  color: rgba(110,110,115,0.45);
  filter: grayscale(1);
  transition: color 0.35s, filter 0.35s, opacity 0.35s;
  cursor: default;
}
.partner-logo:hover {
  color: var(--p-color);
  filter: grayscale(0);
  opacity: 1 !important;
}
.partner-logo span {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.partner-sep {
  width: 1px;
  height: 24px;
  background: var(--c-border);
  flex-shrink: 0;
  opacity: 0.6;
}
@keyframes partnerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Tech Stack Badges ── */
.tech-stack { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-gray-1);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.tech-badge:hover { border-color: var(--c-cyan); box-shadow: var(--s-sm); }
.tech-badge svg { width: 16px; height: 16px; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(0,28,55,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.07);
}

/* ── Footer ── */
.site-footer {
  background: #0a0d14;
  color: rgba(255,255,255,0.55);
  padding: 5rem var(--sec-h) 2.5rem;
}
.footer-grid {
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-logo {
  font-family: var(--f-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
}
.footer-col h4 {
  color: var(--c-white);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.125rem;
  font-family: var(--f-head);
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 0.6rem; font-size: 0.875rem; }
.footer-col a { color: rgba(255,255,255,0.5); transition: color var(--ease); }
.footer-col a:hover { color: var(--c-white); }
.footer-bottom {
  max-width: var(--max-w);
  margin-inline: auto;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
}

/* ── Social Icons ── */
.social-links { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.55);
  transition: background var(--ease), color var(--ease);
}
.social-links a:hover { background: var(--c-cyan); color: var(--c-navy); }
.social-links svg { width: 16px; height: 16px; }

/* ── Location Badges ── */
.location-badges { display: flex; gap: 0.625rem; flex-wrap: wrap; }
.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(0,184,240,0.09);
  border: 1px solid rgba(0,184,240,0.18);
  color: var(--c-cyan);
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-pill);
  font-size: 0.76rem;
  font-weight: 600;
}

/* ── Floating WhatsApp ── */
.float-cta { position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 999; }
.float-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #25D366;
  color: white;
  padding: 0.875rem 1.5rem;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  text-decoration: none;
  transition: transform var(--ease), box-shadow var(--ease);
}
.float-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,211,102,0.5); color: white; }
.float-btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ── Scroll Top ── */
#scroll-top {
  position: fixed;
  bottom: 5.5rem;
  right: 1.75rem;
  width: 40px; height: 40px;
  background: var(--c-navy);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--s-md);
  opacity: 0;
  transition: opacity var(--ease), transform var(--ease), background var(--ease);
  z-index: 998;
  text-decoration: none;
}
#scroll-top.show { opacity: 1; }
#scroll-top:hover { transform: translateY(-2px); background: var(--c-blue); color: white; }
#scroll-top svg { width: 18px; height: 18px; }

/* ── Reveal Animations ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.40s; }

/* ── Skip Link / Accessibility ── */
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--c-cyan); color: var(--c-navy);
  padding: 0.5rem 1rem; border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 700; z-index: 9999; transition: top 0.1s;
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 2px solid var(--c-cyan); outline-offset: 3px; border-radius: 3px; }

/* ── FAQ ── */
details.faq { border: 1px solid var(--c-border); border-radius: var(--r-md); margin-bottom: 0.75rem; overflow: hidden; }
details.faq summary {
  cursor: pointer; padding: 1.25rem 1.5rem;
  font-family: var(--f-head); font-weight: 600; font-size: 0.9375rem;
  color: var(--c-text); list-style: none; display: flex;
  justify-content: space-between; align-items: center; user-select: none;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: '';
  width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300B8F0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain; flex-shrink: 0; transition: transform var(--ease);
}
details[open].faq summary::after { transform: rotate(45deg); }
details.faq .faq-answer { padding: 0 1.5rem 1.25rem; color: var(--c-muted); line-height: 1.7; }

/* ── Page Hero (interior pages) ── */
.page-hero {
  background: linear-gradient(160deg, var(--c-navy) 0%, #003d7a 100%);
  padding: 6rem var(--sec-h) 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 0%, rgba(0,184,240,0.14) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-inner { max-width: 800px; margin: 0 auto; position: relative; }
.page-hero h1 {
  color: white;
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}
.page-hero h1 em { color: var(--c-cyan); font-style: normal; }
.page-hero-sub {
  color: rgba(255,255,255,0.72);
  font-size: 1.1rem;
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.page-hero--compact { padding: 5rem 2rem 4rem; }
.page-hero--compact h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  justify-content: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-cyan); }

/* ── Process Steps ── */
.process-flow {
  display: grid;
  gap: 1.5rem;
  counter-reset: process;
}
@media (min-width: 768px) { .process-flow { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-flow { grid-template-columns: repeat(4, 1fr); } }
.process-step {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem;
  position: relative;
}
.process-step::before {
  counter-increment: process;
  content: counter(process, decimal-leading-zero);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--c-cyan);
  font-family: var(--f-head);
  display: block;
  margin-bottom: 0.875rem;
}
.process-step h4 { margin-bottom: 0.4rem; font-size: 1rem; }
.process-step p { font-size: 0.875rem; color: var(--c-muted); margin: 0; line-height: 1.6; }

/* ── Page FAQs ── */
.page-faqs { max-width: 760px; margin: 0 auto; }
.page-faq {
  border-bottom: 1px solid var(--c-border);
}
.page-faq summary {
  padding: 1.125rem 0;
  font-weight: 600;
  font-size: 0.975rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--c-text);
}
.page-faq summary::-webkit-details-marker { display: none; }
.page-faq summary::after {
  content: '';
  width: 18px; height: 18px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230056A6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  transition: transform var(--ease);
}
.page-faq[open] summary::after { transform: rotate(180deg); }
.page-faq-answer { padding: 0 0 1.125rem; color: var(--c-muted); line-height: 1.75; font-size: 0.9rem; }

/* ── Use Cases Grid ── */
.use-cases-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.use-case-item {
  background: var(--c-surface);
  border-radius: var(--r-md);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.use-case-item .icon-box { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; }
.use-case-item h4 { font-size: 0.9rem; margin-bottom: 0.2rem; }
.use-case-item p { font-size: 0.8rem; color: var(--c-muted); margin: 0; line-height: 1.5; }

/* ── Contact page ── */
.contact-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.4fr; } }
.contact-form {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 2.5rem;
}
.contact-form h3 { margin-bottom: 1.75rem; font-size: 1.3rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 0.4rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  font-size: 0.9rem;
  font-family: var(--f-body);
  color: var(--c-text);
  background: var(--c-white);
  transition: border-color var(--ease);
  box-sizing: border-box;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--c-cyan); }
.form-group textarea { resize: vertical; min-height: 110px; }
.contact-info-block { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-info-item .icon-box { flex-shrink: 0; }
.contact-info-item h4 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.contact-info-item p, .contact-info-item a { font-size: 0.9rem; color: var(--c-muted); text-decoration: none; margin: 0; }
.contact-info-item a:hover { color: var(--c-navy); }

/* ── About page ── */
.about-story-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 900px) { .about-story-grid { grid-template-columns: 1fr 1fr; } }
.about-visual {
  background: linear-gradient(135deg, var(--c-navy), #0056A6);
  border-radius: var(--r-xl);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--r-xl);
}
.about-visual svg { width: 80px; height: 80px; color: rgba(255,255,255,0.25); }
.values-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.value-card {
  padding: 2rem 1.75rem;
  border-radius: var(--r-lg);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  transition: box-shadow var(--ease);
}
.value-card:hover { box-shadow: var(--s-md); }
.value-card h4 { margin: 1rem 0 0.5rem; font-size: 1.05rem; }
.value-card p { font-size: 0.875rem; color: var(--c-muted); margin: 0; line-height: 1.65; }

/* ── Portfolio Filter ── */
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}
.filter-tab {
  padding: 8px 20px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--c-border);
  background: var(--c-white);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--f-head);
  color: var(--c-muted);
  cursor: pointer;
  transition: all var(--ease);
}
.filter-tab:hover { border-color: var(--c-navy); color: var(--c-navy); }
.filter-tab.active { background: var(--c-navy); border-color: var(--c-navy); color: white; }
.portfolio-card.pf-hidden { display: none; }

/* ── Course Cards (Training) ── */
.course-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: box-shadow var(--ease), transform var(--ease);
}
.course-card:hover { box-shadow: var(--s-lg); transform: translateY(-3px); }
.course-card-thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.course-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.course-card:hover .course-card-thumb img { transform: scale(1.04); }
.course-card-thumb svg { width: 56px; height: 56px; color: rgba(255,255,255,0.35); }
.course-card-body { padding: 1.75rem; }
.course-card-body h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.course-card-body p { font-size: 0.875rem; color: var(--c-muted); margin-bottom: 1.25rem; line-height: 1.65; }
.course-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.course-meta-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  background: var(--c-surface);
  color: var(--c-gray-1);
}

/* ── Blog Archive ── */
.blog-archive-hero {
  background: linear-gradient(160deg, var(--c-navy) 0%, #003d7a 100%);
  padding: 5rem var(--sec-h) 4rem;
  text-align: center;
}
.blog-archive-hero h1 { color: white; font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.75rem; }
.blog-archive-hero p { color: rgba(255,255,255,0.65); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.blog-post-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow var(--ease), transform var(--ease);
  display: flex;
  flex-direction: column;
}
.blog-post-card:hover { box-shadow: var(--s-md); transform: translateY(-2px); }
.blog-post-thumb {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.blog-post-thumb svg { width: 48px; height: 48px; color: rgba(255,255,255,0.3); }
.blog-post-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-post-meta { font-size: 0.75rem; color: var(--c-muted); margin-bottom: 0.6rem; display:flex; gap:0.4rem; align-items:center; }
.blog-post-body h2 { font-size: 1.05rem; margin-bottom: 0.5rem; line-height: 1.4; }
.blog-post-body h2 a { color: var(--c-text); text-decoration: none; }
.blog-post-body h2 a:hover { color: var(--c-navy); }
.blog-post-body p { font-size: 0.85rem; color: var(--c-muted); line-height: 1.65; flex: 1; margin-bottom: 1rem; }
.blog-read-more { font-size: 0.82rem; font-weight: 700; color: var(--c-navy); text-decoration: none; display:flex; align-items:center; gap:0.25rem; margin-top: auto; }
.blog-read-more:hover { color: var(--c-cyan); }
.blog-read-more svg { width:12px; height:12px; }

/* ── Legal Pages ── */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 5rem var(--sec-h);
}
.legal-content h1 { margin-bottom: 0.5rem; }
.legal-content .legal-meta { color: var(--c-muted); font-size: 0.85rem; margin-bottom: 3rem; }
.legal-content h2 { font-size: 1.25rem; margin: 2.5rem 0 0.75rem; color: var(--c-navy); }
.legal-content h3 { font-size: 1rem; margin: 1.5rem 0 0.4rem; }
.legal-content p, .legal-content li { color: var(--c-gray-1); line-height: 1.8; font-size: 0.925rem; }
.legal-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content ul li { margin-bottom: 0.3rem; }
.legal-content a { color: var(--c-navy); }

/* ── Responsive ── */
@media (max-width: 768px) {
  :root { --sec-v: 5rem; }
  .hero { padding-block: 6rem 5rem; }
  .float-btn span { display: none; }
  .float-btn { padding: 1rem; border-radius: 50%; width: 54px; height: 54px; justify-content: center; }
}
@media (max-width: 480px) {
  :root { --sec-h: 1rem; }
}

/* ── Print ── */
@media print { .site-header, .site-footer, .float-cta, #scroll-top { display: none; } }

/* ════════════════════════════════════════════════════
   PREMIUM ANIMATION LAYER
   Requires animations.js + GSAP + Lenis
════════════════════════════════════════════════════ */

/* ── GSAP takes over .reveal — reset CSS so they don't fight ── */
body.gsap-animations .reveal,
body.gsap-animations .reveal.visible {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ── Word-split spans ── */
.w-outer {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: inherit;
  padding-bottom: 0.18em;
  margin-bottom: -0.18em;
}
.w-inner { display: inline-block; }

/* ── H1 line split ── */
.h1-line { overflow: hidden; }
.h1-inner { display: block; }

/* ── Hero H1 uses display font even when GSAP splits it ── */
.hero h1 .h1-inner,
.hero h1 .w-inner {
  font-family: var(--f-display);
}

/* ── Gradient text — key headings ── */
.gradient-text,
.hero h1 em {
  background: linear-gradient(135deg, #00d4ff 0%, #00B8F0 40%, #0056A6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* ── Hero orbit decorative background ── */
.hero-orbit {
  position: absolute;
  right: -8%;
  top: 50%;
  width: 62%;
  max-width: 820px;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 768px) {
  .hero-orbit { display: none; }
}

/* ── Hero perspective grid ── */
.hero-grid {
  position: absolute;
  inset: -10% -5% -5%;
  background-image:
    linear-gradient(rgba(0, 184, 240, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 184, 240, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(360px) rotateX(42deg) scale(2.4) translateY(-16%);
  transform-origin: 50% 100%;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 65%);
  mask-image: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 65%);
}

/* ── Hero animated orbs (additional layers) ── */
.hero::after {
  content: '';
  position: absolute;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 184, 240, 0.07) 0%, transparent 65%);
  top: -180px;
  right: -120px;
  animation: orbDrift 10s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes orbDrift {
  0%   { transform: translate(0, 0)   scale(1);    opacity: 0.6; }
  100% { transform: translate(-50px, 70px) scale(1.18); opacity: 1; }
}

/* Second orb bottom-left */
.hero-inner::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 86, 166, 0.09) 0%, transparent 65%);
  bottom: -80px;
  left: -140px;
  animation: orbDrift2 12s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes orbDrift2 {
  0%   { transform: translate(0, 0)   scale(1); }
  100% { transform: translate(40px, -50px) scale(1.12); }
}

/* ── 3D card tilt setup ── */
/* NOTE: transform-style must stay FLAT (default). The cards tilt via GSAP
   rotateX/rotateY with transformPerspective on the card itself; with
   preserve-3d the child .icon-box gets placed in 3D space and Chrome culls
   it mid-tilt, which made icons vanish when hovering a section. Flat keeps
   children painted on the card face, so nothing disappears. */
.card,
.blog-card,
.ai-card,
.service-card,
.reason-card,
.portfolio-card {
  transform-style: flat;
  will-change: transform;
}

/* ── Custom cursor ── */
body.has-cursor,
body.has-cursor * { cursor: none !important; }

.at-cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  mix-blend-mode: difference;
}
.at-cursor-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.at-cursor-ring {
  position: absolute;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* ── Page transition overlay ── */
.at-page-overlay {
  position: fixed;
  inset: 0;
  background: var(--c-navy);
  z-index: 99998;
  pointer-events: none;
  transform: translateY(-105%);
}

/* ── Trust bar marquee (when JS duplicates it) ── */
.trust-bar-inner[aria-hidden] { margin-left: 0; }

/* ════════════════════════════════════════════════════
   3D & ANIMATED DECORATIVE ASSET LAYER
   Uses SVGs from /assets/images/hero/
════════════════════════════════════════════════════ */

/* ── Base: sections that hold decorative assets need position:relative
   NO overflow:hidden here — that clips the partially-offscreen SVGs ── */
.deco-section { position: relative; }

/* ─────────────────── HERO DECORATIVE ─────────────── */

/* Hero orbit — floats up/down */
.hero-orbit {
  animation: heroOrbitFloat 8s ease-in-out infinite alternate;
}
@keyframes heroOrbitFloat {
  from { transform: translateY(-48%) scale(1);    opacity: 0.55; }
  to   { transform: translateY(-54%) scale(1.06); opacity: 0.75; }
}

/* Dot grid — top-left of hero, breathes */
.hero-dot-grid {
  position: absolute;
  top: 2rem;
  left: 2rem;
  width: 160px;
  height: 160px;
  pointer-events: none;
  opacity: 0.35;
  z-index: 0;
  animation: dotBreathe 5s ease-in-out infinite;
}

/* Corner arcs — bottom-right of hero, pulses */
.hero-corner-arc {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 260px;
  height: 260px;
  pointer-events: none;
  opacity: 0.40;
  z-index: 0;
  animation: arcPulse 6s ease-in-out infinite;
}

/* ─────────────────── DARK SECTION DECOS ─────────────── */

/* Ring watermark — large, slow spin (About + Newsletter) */
.deco-ring {
  position: absolute;
  right: 3%;
  top: 50%;
  width: 480px;
  height: 480px;
  pointer-events: none;
  opacity: 0.28;
  z-index: 0;
  animation: slowSpin 30s linear infinite;
  transform-origin: center center;
}
/* Use a wrapper approach for spin + vertical centre */
.deco-ring { transform: translateY(-50%); }

.deco-ring-sm {
  width: 300px;
  height: 300px;
  right: 4%;
  opacity: 0.22;
}

/* Network nodes — full-width drifting background (Testimonials) */
.deco-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 0.22;
  z-index: 0;
  animation: nodesDrift 15s ease-in-out infinite alternate;
}

/* Dot grid corners */
.deco-dot-grid {
  position: absolute;
  width: 180px;
  height: 180px;
  pointer-events: none;
  z-index: 0;
  animation: dotBreathe 6s ease-in-out infinite;
}
.deco-dot-tr { top: 1.5rem;  right: 1.5rem;  opacity: 0.30; }
.deco-dot-bl { bottom: 1.5rem; left: 1.5rem; opacity: 0.25; }

/* Corner arcs — section corners */
.deco-corner-arc {
  position: absolute;
  width: 240px;
  height: 240px;
  pointer-events: none;
  z-index: 0;
  animation: arcPulse 7s ease-in-out infinite;
  opacity: 0.38;
}
.deco-corner-tl { top: 0; left: 0; transform: rotate(180deg); }
.deco-corner-br { bottom: 0; right: 0; }

/* ─────────────────── KEYFRAMES ─────────────── */

@keyframes slowSpin {
  from { transform: translateY(-50%) rotate(0deg); }
  to   { transform: translateY(-50%) rotate(360deg); }
}

@keyframes nodesDrift {
  from { transform: translate(0px, 0px) scale(1);    opacity: 0.18; }
  to   { transform: translate(-40px, -25px) scale(1.08); opacity: 0.28; }
}

@keyframes dotBreathe {
  0%, 100% { transform: scale(1);    opacity: 0.30; }
  50%       { transform: scale(1.1); opacity: 0.50; }
}

@keyframes arcPulse {
  0%, 100% { opacity: 0.30; transform: scale(1); }
  50%       { opacity: 0.55; transform: scale(1.04); }
}

/* ─────────────────── 3D DEPTH EFFECTS ─────────────── */

/* Icon boxes lift on card hover (GPU-safe: no 3D perspective/rotateX, which
   spawns a fragile render layer that can flicker/drop under fast repaints) */
.service-card:hover .icon-box,
.why-card:hover .icon-box {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 16px 32px rgba(0,0,0,0.12);
}
.icon-box {
  transition: transform 0.35s cubic-bezier(0.23,1,0.32,1), box-shadow 0.35s ease;
  backface-visibility: hidden;
}

/* Stat numbers — cyan emboss depth */
.stat-item .number {
  text-shadow:
    0 2px 0 rgba(0,184,240,0.25),
    0 6px 16px rgba(0,184,240,0.15);
}

/* Featured pricing card — floats above peers */
.pricing-card.featured {
  transform: translateY(-8px) scale(1.01);
}

/* ─────────────────── Z-INDEX SAFETY ─────────────── */
.deco-section > .at-wrap,
.deco-section > .newsletter-inner,
.deco-section > .cta-inner {
  position: relative;
  z-index: 1;
}

/* ─────────────────── REDUCED MOTION ─────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero-orbit,
  .hero-dot-grid, .hero-corner-arc,
  .deco-ring, .deco-network,
  .deco-dot-grid, .deco-corner-arc {
    animation: none !important;
  }
}

/* ─────────────────── MOBILE: hide heavy decos ─────────────── */
@media (max-width: 768px) {
  .hero-dot-grid, .hero-corner-arc,
  .deco-ring, .deco-network,
  .deco-corner-arc { display: none; }
  .deco-dot-grid { width: 100px; height: 100px; opacity: 0.15; }
}

/* ── Section heading eyebrow accent line ── */
.s-head .eyebrow {
  position: relative;
}
.s-head .eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--c-cyan);
  vertical-align: middle;
  margin-right: 0.5rem;
  border-radius: 1px;
}

/* ── Service card top accent on hover ── */
.service-card {
  position: relative;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 1.5rem; right: 1.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--c-cyan), transparent);
  border-radius: 0 0 1px 1px;
  opacity: 0;
  transition: opacity var(--ease);
}
.service-card:hover::before { opacity: 1; }

/* ── Course Info Strip (training pages) ── */
.course-info-strip {
  background: linear-gradient(90deg, #001a38 0%, var(--c-navy) 55%, #003d7a 100%);
  color: white;
  padding: 1rem var(--sec-h);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.course-info-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}
.course-info-strip .strip-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.course-info-strip .strip-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
}
.course-info-strip .strip-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: white;
}
.course-info-strip .strip-cta {
  margin-left: auto;
  padding: 10px 20px;
  font-size: 0.85rem;
}
@media (max-width: 720px) {
  .course-info-strip-inner { gap: 1rem; }
  .course-info-strip .strip-cta { margin-left: 0; width: 100%; justify-content: center; }
}

/* ── Enrolment Section ── */
.enroll-section {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  padding: 5rem var(--sec-h);
  scroll-margin-top: 90px;
}
.enroll-wrap {
  max-width: 800px;
  margin: 0 auto;
}
.enroll-section .s-head { margin-bottom: 2.5rem; }
.enroll-section .s-head p {
  color: var(--c-muted);
  font-size: 0.98rem;
  max-width: 600px;
  margin: 0.75rem auto 0;
}
.enroll-form {
  background: white;
  padding: 2.25rem;
  border-radius: var(--r-lg);
  box-shadow: 0 10px 40px rgba(0,45,91,0.08);
  border: 1px solid var(--c-border);
}
.enroll-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (max-width: 620px) {
  .enroll-row { grid-template-columns: 1fr; }
  .enroll-form { padding: 1.5rem; }
  .enroll-section { padding: 3rem 1rem; }
}
.enroll-form .form-group { margin-bottom: 1rem; }
.enroll-form .form-group:last-of-type { margin-bottom: 0; }
.enroll-form label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 0.4rem;
}
.enroll-form .form-optional {
  font-weight: 400;
  color: var(--c-muted);
  font-size: 0.78rem;
}
.enroll-form input[type="text"],
.enroll-form input[type="email"],
.enroll-form input[type="tel"],
.enroll-form select,
.enroll-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--c-border);
  border-radius: 10px;
  font-family: var(--f-body);
  font-size: 0.94rem;
  color: var(--c-text);
  background: white;
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.enroll-form input:focus,
.enroll-form select:focus,
.enroll-form textarea:focus {
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(0,86,166,0.12);
}
.enroll-form textarea {
  resize: vertical;
  min-height: 90px;
  font-family: var(--f-body);
}
.enroll-form select { cursor: pointer; }
.enroll-submit {
  width: 100%;
  justify-content: center;
  margin-top: 1.5rem;
  padding: 14px 24px;
  font-size: 0.95rem;
}
.enroll-note {
  font-size: 0.78rem;
  color: var(--c-muted);
  text-align: center;
  margin-top: 1rem;
}
.ef-fb {
  display: none;
  font-size: 0.9rem;
  text-align: center;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  line-height: 1.5;
}
.ef-fb.ok  { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.ef-fb.err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ── Reduced-motion: disable everything decorative ── */
@media (prefers-reduced-motion: reduce) {
  .hero::after,
  .hero-inner::after,
  .hero-grid,
  .at-cursor,
  .at-page-overlay { display: none !important; }

  body.gsap-animations .reveal,
  body.gsap-animations .reveal.visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .pricing-card.featured { animation: none; }
}

/* ── Logo orbit — ring + satellite rotate around the "a" ── */
.at-logo .at-logo-orbit {
  transform-box: view-box;
  transform-origin: 48px 48px;
  animation: at-orbit 9s linear infinite;
}
@keyframes at-orbit { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .at-logo .at-logo-orbit { animation: none; }
}

/* ════════════════════════════════════════════════════
   PREMIUM POLISH LAYER v2 (July 2026)
   Hero 2-col fix · grain · depth · card glow · serif stats
════════════════════════════════════════════════════ */

/* ── Hero: two-column on large screens (fixes text/visual overlap) ── */
.hero-btns { justify-content: center; }
@media (min-width: 1181px) {
  .hero { text-align: left; }
  .hero-layout {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 360px);
    align-items: center;
    gap: clamp(2rem, 4vw, 4.5rem);
  }
  .hero-inner  { margin-inline: 0; max-width: none; }
  .hero-sub    { margin-inline: 0; max-width: 34rem; }
  .hero-meta   { justify-content: flex-start; }
  .hero-btns   { justify-content: flex-start; }
  .hero-visual {
    position: relative;
    transform: none;
    top: auto; right: auto;
    width: 100%;
    margin: 0;
  }
  /* keep floating cards framing the mockup, not poking into the text column */
  .hv-card--1 { top: -30px; left: -38px; }
  .hv-card--3 { bottom: 90px; left: -42px; }
}

/* ── Editorial serif numbers (display font on big stats) ── */
.stat-item .number,
.hero-meta-item .val { font-family: var(--f-display); font-weight: 400; letter-spacing: -0.02em; }

/* ── Depth on dark sections (soft cyan/blue light instead of flat navy) ── */
.at-section--dark {
  background:
    radial-gradient(55% 55% at 12% 0%,  rgba(0,184,240,0.10), transparent 62%),
    radial-gradient(55% 65% at 100% 100%, rgba(0,86,166,0.20), transparent 60%),
    var(--c-navy);
}

/* ── Card hover: cyan ring glow ── */
.service-card:hover {
  box-shadow: 0 20px 48px -14px rgba(0,45,91,0.22), 0 0 0 1px rgba(0,184,240,0.38);
}
.portfolio-card:hover {
  box-shadow: 0 26px 60px -18px rgba(0,45,91,0.30), 0 0 0 1px rgba(0,184,240,0.40);
}
.why-card { transition: transform var(--ease), box-shadow var(--ease); }
.why-card:hover { transform: translateY(-3px); }

/* ── Film-grain overlay (site-wide premium texture) ── */
.site-grain {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 1;
  /* No mix-blend-mode: a full-viewport blended layer forces a whole-page
     recomposite on every hover, which drops GPU layers and makes card icons
     flicker/vanish. Plain low-alpha greyscale noise gives the same texture. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.05'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 170px 170px;
}
@media (prefers-reduced-motion: reduce) {
  .hero::after { animation: none; }
}

/* ── Hero headline: prevent clipping on small phones ── */
@media (max-width: 560px) {
  .hero h1 { font-size: clamp(2.1rem, 9.2vw, 3rem); }
}

/* ════════════════════════════════════════════════════
   MOBILE OVERFLOW FIX (all-device optimization, July 2026)
════════════════════════════════════════════════════ */
/* Safety net: nothing may create a horizontal scroll on any screen */
html, body { overflow-x: clip; max-width: 100%; }

/* Small phones: hero headline must fit the viewport, not force width */
@media (max-width: 560px) {
  .hero h1 { font-size: clamp(1.75rem, 8.2vw, 2.55rem); line-height: 1.08; }
  .hero-sub { font-size: 0.98rem; }
}

/* Very small phones: drop the header CTA so logo + menu button fit cleanly.
   The slide-out menu and the floating Call/Quote buttons still provide the CTA. */
@media (max-width: 600px) {
  .header-cta { display: none !important; }
}

/* ── Fix: the skip-link is the first child of .site-header, so WordPress gave
   the nav row (2nd child) a 36px block-gap top margin, which collapsed up and
   showed as a white band above the header. Zero it at the source. ── */
.site-header > .wp-block-group { margin-block-start: 0; margin-top: 0; }
