/* =============================================================
   AdMadu Global — Design System
   Compiled 1:1 from the Lovable (Tailwind v4) source.
   Tokens, type scale, spacing and every hover state match
   src/styles.css + src/routes/index.tsx exactly.
   Breakpoints: 640px (sm) / 768px (md) / 1024px (lg)
   ============================================================= */

/* ---------- Tokens (verbatim from source) ---------- */
:root {
  --radius: 1rem;
  --background: oklch(0.985 0.003 90);
  --foreground: oklch(0.18 0.01 260);
  --surface: oklch(0.965 0.005 90);
  --surface-2: oklch(0.93 0.008 90);
  --ink: oklch(0.15 0.01 260);
  --ink-soft: oklch(0.45 0.01 260);

  --card: oklch(1 0 0);
  --primary: oklch(0.18 0.01 260);
  --primary-foreground: oklch(0.985 0.003 90);
  --muted: oklch(0.93 0.008 90);
  --muted-foreground: var(--ink-soft);

  --brand: oklch(0.68 0.22 30);
  --brand-foreground: oklch(0.99 0 0);
  --brand-soft: oklch(0.72 0.22 30);

  --dark: oklch(0.16 0.01 260);        /* Benefits / Contact sections   */
  --darker: oklch(0.14 0.01 260);      /* Footer                        */

  --destructive: oklch(0.577 0.245 27.325);
  --border: oklch(0.9 0.008 90);
  --input: oklch(0.9 0.008 90);
  --ring: var(--brand);

  --gradient-glow: radial-gradient(1200px 700px at 80% 40%, oklch(0.72 0.22 30 / 0.55), transparent 60%);
  --shadow-soft: 0 20px 60px -30px oklch(0.15 0.01 260 / 0.25);
  --shadow-pop: 0 10px 30px -10px oklch(0.68 0.22 30 / 0.45);

  --emerald: #10b981;

  /* rgb components for alpha mixes on very old engines */
  --ink-rgb: 22, 24, 31;
}

/* Hex fallbacks for engines without oklch (pre-2023) */
@supports not (color: oklch(0.5 0 0)) {
  :root {
    --background: #fbfaf6;
    --foreground: #222530;
    --surface: #f4f2ec;
    --surface-2: #e8e5dc;
    --ink: #16181f;
    --ink-soft: #5f6370;
    --primary: #222530;
    --primary-foreground: #fbfaf6;
    --brand: #f2541b;
    --brand-soft: #fb6a31;
    --dark: #1c1f28;
    --darker: #171a21;
    --border: #e0ddd3;
    --input: #e0ddd3;
    --gradient-glow: radial-gradient(1200px 700px at 80% 40%, rgba(251, 106, 49, 0.55), transparent 60%);
    --shadow-soft: 0 20px 60px -30px rgba(22, 24, 31, 0.25);
    --shadow-pop: 0 10px 30px -10px rgba(242, 84, 27, 0.45);
  }
}

/* ---------- Base / preflight ---------- */
*, *::before, *::after { box-sizing: border-box; border: 0 solid var(--border); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: "Inter Tight", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  font-size: 16px;
}
h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol { margin: 0; }
h1, h2, h3, h4 { letter-spacing: -0.03em; line-height: 0.95; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.screen-reader-text, .amg-skip-link {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.amg-skip-link:focus {
  position: fixed !important; top: 8px; left: 8px; z-index: 100000;
  width: auto; height: auto; clip: auto; clip-path: none;
  background: var(--primary); color: #fff; padding: .6rem 1rem; border-radius: 999px;
}

/* ---------- Layout primitives ---------- */
.amg-container { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: 1.5rem; }
.amg-sec { padding-block: 7rem; }
.amg-bg-bg      { background: var(--background); }
.amg-bg-surface { background: var(--surface); }
.amg-center { text-align: center; }
.amg-rel { position: relative; }

/* Two-column rows (Belief / Stats / FAQ / Contact grids) */
div.amg-row { display: grid; gap: 4rem; }
@media (min-width: 768px) { div.amg-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.amg-row--gap10 { gap: 2.5rem !important; }

/* Section header rows: heading left, note right, baseline-aligned */
div.amg-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.amg-sec-head--gap6 { gap: 1.5rem; }
.amg-side-note { display: none; max-width: 24rem; color: var(--ink-soft); }
.amg-side-note--sm { font-size: .875rem; max-width: 20rem; }
@media (min-width: 768px) { .amg-side-note { display: block; } }

/* ---------- Elementor container adapters ----------
   Top-level containers in the supplied .json templates carry the same
   classes; these rules make Elementor's flex wrappers behave exactly
   like the hand-written markup, independent of site-wide defaults.  */
.e-con.amg-sec { padding-block: 7rem; }
.e-con.amg-sec > .e-con-inner,
.e-con.amg-sec.e-con-boxed > .e-con-inner {
  max-width: 72rem; width: 100%; padding-inline: 1.5rem; gap: 0;
}
.e-con.amg-sec, .e-con.amg-sec > .e-con-inner { row-gap: 0; }
.e-con.amg-row > .e-con-inner { display: grid; gap: 4rem; max-width: none; padding-inline: 0; }
@media (min-width: 768px) { .e-con.amg-row > .e-con-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.e-con.amg-row.amg-row--gap10 > .e-con-inner { gap: 2.5rem; }
.e-con.amg-col { width: 100%; max-width: 100%; row-gap: 0; }
.e-con.amg-col > .e-con-inner { padding: 0; max-width: none; row-gap: 0; }
.e-con.amg-sec-head > .e-con-inner {
  display: flex; flex-direction: row; align-items: flex-end;
  justify-content: space-between; gap: 2rem;
}
.amg-sec .elementor-widget { margin-block-end: 0; }
.amg-sec .elementor-widget > .elementor-widget-container { margin: 0; }
.elementor-widget.amg-full { width: 100%; }

/* ---------- Spacing / width utilities (only those the design uses) ---------- */
.amg-mt-2,  .elementor-widget.amg-mt-2  { margin-top: .5rem; }
.amg-mt-4,  .elementor-widget.amg-mt-4  { margin-top: 1rem; }
.amg-mt-6,  .elementor-widget.amg-mt-6  { margin-top: 1.5rem; }
.amg-mt-8,  .elementor-widget.amg-mt-8  { margin-top: 2rem; }
.amg-mt-10, .elementor-widget.amg-mt-10 { margin-top: 2.5rem; }
.amg-mt-16, .elementor-widget.amg-mt-16 { margin-top: 4rem; }
.amg-maxw-sm  { max-width: 24rem; }
.amg-maxw-md  { max-width: 28rem; }
.amg-maxw-2xl { max-width: 42rem; }
.amg-maxw-3xl { max-width: 48rem; }
.amg-mx-auto  { margin-inline: auto; }
.amg-center .amg-maxw-2xl, .amg-center .amg-maxw-3xl { margin-inline: auto; }

/* ---------- Eyebrow label ---------- */
.amg-label, .amg-label .elementor-heading-title {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .75rem; font-weight: 400; line-height: 1.4;
  text-transform: uppercase; letter-spacing: .2em; color: var(--ink-soft);
}
.amg-label { margin-bottom: 1rem; }
.elementor-widget.amg-label { margin-bottom: 1rem; }
.elementor-widget.amg-label .elementor-heading-title { margin: 0; }
.amg-label .elementor-heading-title::before,
p.amg-label::before, div.amg-label::before, span.amg-label::before, h6.amg-label::before {
  content: ""; width: .375rem; height: .375rem; border-radius: 999px;
  background: var(--brand); flex: none;
}
.amg-label--light, .amg-label--light .elementor-heading-title { color: rgba(255,255,255,.6); }

/* ---------- Heading scale ---------- */
.amg-h, .amg-h .elementor-heading-title {
  font-weight: 600; letter-spacing: -0.05em; line-height: 1; color: var(--ink); margin: 0;
}
.amg-h--light, .amg-h--light .elementor-heading-title { color: #fff; }

.amg-h-mega, .amg-h-mega .elementor-heading-title { font-size: 3rem; }              /* hero  */
.amg-h-xl,   .amg-h-xl   .elementor-heading-title { font-size: 3rem; }              /* 5xl→7xl */
.amg-h-xxl,  .amg-h-xxl  .elementor-heading-title { font-size: 3rem; }              /* 5xl→8xl */
.amg-h-lg,   .amg-h-lg   .elementor-heading-title { font-size: 3rem; }              /* 5xl→6xl */
@media (min-width: 640px) {
  .amg-h-mega, .amg-h-mega .elementor-heading-title { font-size: 4.5rem; }
}
@media (min-width: 768px) {
  .amg-h-mega, .amg-h-mega .elementor-heading-title { font-size: 7.5rem; }
  .amg-h-xl,   .amg-h-xl   .elementor-heading-title { font-size: 4.5rem; }
  .amg-h-xxl,  .amg-h-xxl  .elementor-heading-title { font-size: 6rem; }
  .amg-h-lg,   .amg-h-lg   .elementor-heading-title { font-size: 3.75rem; }
}

/* ---------- Body text helpers ---------- */
.amg-lead, .amg-lead p { font-size: 1.125rem; color: var(--ink-soft); }
.amg-body, .amg-body p { font-size: 1rem;     color: var(--ink-soft); }
.amg-lead p, .amg-body p { margin: 0; }
.amg-lead--light, .amg-lead--light p { color: rgba(255,255,255,.7); }
.amg-band-note, .amg-band-note p { text-align: center; font-size: .875rem; color: var(--ink-soft); margin: 0; }

/* ---------- Buttons ---------- */
.amg-btn,
.amg-btnw .elementor-button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: 999px; padding: .875rem 1.5rem;
  font-size: .875rem; font-weight: 500; line-height: 1.25;
  background: transparent; color: inherit; border: 0; box-shadow: none;
  transition: background-color .15s cubic-bezier(.4,0,.2,1),
              color .15s cubic-bezier(.4,0,.2,1),
              box-shadow .15s cubic-bezier(.4,0,.2,1);
  cursor: pointer; text-align: center;
}
.amg-btnw .elementor-button .elementor-button-content-wrapper { display: inline-flex; align-items: center; gap: .5rem; }
.amg-btnw .elementor-button-text { line-height: 1.25; }

.amg-btn--dark, .amg-btnw--dark .elementor-button { background: var(--primary); color: #fff; }
.amg-btn--dark:hover, .amg-btnw--dark .elementor-button:hover,
.amg-btnw--dark .elementor-button:focus { background: #000; color: #fff; }

.amg-btn--ghost, .amg-btnw--ghost .elementor-button {
  background: rgba(255,255,255,.8); color: var(--ink);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 0 0 1px rgba(0,0,0,.05);
}
.amg-btn--ghost:hover, .amg-btnw--ghost .elementor-button:hover { background: #fff; color: var(--ink); }

.amg-btn--brand, .amg-btnw--brand .elementor-button { background: var(--brand); color: #fff; }
.amg-btn--brand:hover, .amg-btnw--brand .elementor-button:hover { background: var(--brand); color: #fff; }

.amg-btn--white-sm { background: #fff; color: var(--primary); padding: .625rem 1.25rem; }
.amg-btn--white-sm:hover { background: rgba(255,255,255,.9); }

.amg-btn--full, .amg-btnw--full .elementor-button { width: 100%; }
.amg-btnw--full, .amg-btnw--full .elementor-button-wrapper { width: 100%; }

/* Icon-after arrows (Lucide, drawn via mask so they inherit color) */
.amg-btn--arrow::after, .amg-btnw--arrow .elementor-button-content-wrapper::after,
.amg-btn--arrow-r::after, .amg-btnw--arrow-r .elementor-button-content-wrapper::after {
  content: ""; width: 1rem; height: 1rem; flex: none; background: currentColor;
  transition: transform .15s cubic-bezier(.4,0,.2,1);
  -webkit-mask: var(--amg-arrow) center / contain no-repeat;
          mask: var(--amg-arrow) center / contain no-repeat;
}
.amg-btn--arrow, .amg-btnw--arrow .elementor-button-content-wrapper {
  --amg-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M7 17 17 7'/%3E%3C/svg%3E");
}
.amg-btn--arrow-r, .amg-btnw--arrow-r .elementor-button-content-wrapper {
  --amg-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
}
/* Hero primary CTA: arrow nudges up-right on hover (group-hover in source) */
.amg-btn--lift:hover::after { transform: translate(2px, -2px); }

/* ---------- Small pills ---------- */
.amg-pill {
  display: inline-flex; align-items: center; gap: .5rem; border-radius: 999px;
  font-size: .75rem; color: var(--ink-soft);
  background: rgba(255,255,255,.7); padding: .5rem 1rem;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 0 0 1px rgba(0,0,0,.05);
}
.amg-pill svg { width: .875rem; height: .875rem; }

/* ============================================================
   HEADER — floating pill nav (absolute over the first section)
   ============================================================ */
.amg-nav-wrap {
  pointer-events: none; position: absolute; left: 0; right: 0; top: 1.5rem;
  z-index: 40; display: flex; justify-content: center; padding-inline: 1rem;
}
body.admin-bar .amg-nav-wrap { top: calc(1.5rem + 32px); }
@media (max-width: 782px) { body.admin-bar .amg-nav-wrap { top: calc(1.5rem + 46px); } }
.amg-nav {
  pointer-events: auto; display: flex; width: 100%; max-width: 64rem;
  align-items: center; justify-content: space-between; border-radius: 999px;
  background: var(--primary); padding: .5rem .5rem .5rem 1.5rem;
  box-shadow: var(--shadow-soft);
}
.amg-nav__links { display: none; align-items: center; gap: 1.75rem; font-size: .875rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .amg-nav__links { display: flex; } }
.amg-nav__links a { color: rgba(255,255,255,.8); transition: color .15s; }
.amg-nav__links a:hover { color: #fff; }
.amg-nav__links .is-active > a,
.amg-nav__links a.is-active,
.amg-nav__links .current-menu-item > a { color: var(--brand); }

.amg-logo { display: inline-flex; align-items: center; gap: .5rem; color: #fff; }
.amg-logo__mark { position: relative; height: 1.5rem; width: 1.5rem; border-radius: 999px; background: #fff; flex: none; }
.amg-logo__mark::before {
  content: ""; position: absolute; inset: .25rem; border-radius: 999px; background: var(--primary);
}
.amg-logo__mark::after {
  content: ""; position: absolute; right: 0; top: 0; height: .75rem; width: .75rem;
  border-radius: 999px; background: #fff;
}
.amg-logo__text { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.025em; line-height: 1; }
.amg-logo img.custom-logo { height: 3.5rem; width: auto; }

/* ============================================================
   HERO
   ============================================================ */
.amg-hero { position: relative; min-height: 100vh; overflow: hidden; background: var(--surface); }
.amg-hero__bg {
  position: absolute; inset: 0; height: 100%; width: 100%;
  object-fit: cover; opacity: .9; max-width: none;
}
.amg-hero__fade {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    color-mix(in srgb, var(--surface) 40%, transparent) 0%,
    transparent 50%,
    var(--surface) 100%);
}
@supports not (background: color-mix(in srgb, red 40%, transparent)) {
  .amg-hero__fade { background: linear-gradient(to bottom, rgba(244,242,236,.4) 0%, transparent 50%, var(--surface) 100%); }
}
.amg-hero__inner {
  position: relative; margin-inline: auto; display: flex; min-height: 100vh;
  max-width: 72rem; flex-direction: column; align-items: center; justify-content: center;
  padding: 8rem 1.5rem 0; text-align: center;
}
.amg-badge {
  display: inline-flex; align-items: center; gap: .5rem; border-radius: 999px;
  background: rgba(255,255,255,.7); padding: .375rem 1rem;
  font-size: .875rem; font-weight: 500; color: var(--brand);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 0 0 1px rgba(0,0,0,.05);
}
.amg-badge svg { width: 1rem; height: 1rem; }
.amg-hero__title { margin-top: 2rem; }
.amg-hero__title .amg-line { display: block; }
.amg-hero__title .amg-line2 { display: inline-flex; align-items: center; gap: 1rem; margin-top: .5rem; }
.amg-chip {
  display: inline-flex; height: 3.5rem; align-items: center; gap: .5rem;
  border-radius: 999px; background: var(--brand); padding-inline: 1.25rem; margin-left: .5rem;
}
.amg-chip__sq {
  display: grid; place-items: center; height: 2rem; width: 2rem;
  border-radius: .875rem; background: #fff; color: var(--brand);
}
.amg-chip__sq svg { width: 1rem; height: 1rem; }
.amg-chip__sq--dot { color: var(--emerald); }
.amg-chip__dot { height: .5rem; width: .5rem; border-radius: 999px; background: var(--emerald); }
@media (min-width: 768px) {
  .amg-chip { height: 5rem; }
  .amg-chip__sq { height: 3rem; width: 3rem; }
  .amg-chip__sq svg { width: 1.5rem; height: 1.5rem; }
  .amg-chip__sq--dot { margin-left: -1rem; }
  .amg-chip__dot { height: .75rem; width: .75rem; }
}
.amg-hero__sub { margin-top: 2rem; max-width: 42rem; font-size: 1rem; color: var(--ink-soft); }
@media (min-width: 768px) { .amg-hero__sub { font-size: 1.125rem; } }
.amg-hero__ctas {
  margin-top: 2.5rem; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center; gap: .75rem;
}
.amg-hero__scroll { margin-top: 4rem; }

/* ============================================================
   BELIEF
   ============================================================ */
.amg-bcard { border-radius: 1.75rem; background: var(--surface); padding: 2rem; }
.amg-bcard__img { margin-inline: auto; width: 100%; max-width: 24rem; }
.amg-bcard__text { margin-top: 1.5rem; font-size: 1.125rem; color: var(--ink); }
.amg-bcard__text strong { font-weight: 600; }
.amg-bcard__foot {
  margin-top: 1.5rem; display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border); padding-top: 1.5rem;
}
.amg-bcard__badge { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--ink-soft); }
.amg-bcard__badge svg { width: 1rem; height: 1rem; color: var(--brand); fill: var(--brand); }
.amg-bcard__brand { font-size: 1.875rem; font-weight: 600; color: var(--ink); letter-spacing: -0.03em; }

/* ============================================================
   PARTNERS MARQUEE
   ============================================================ */
.amg-band { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); padding-block: 4rem; }
.e-con.amg-band { padding-block: 4rem; }
.amg-marquee { margin-top: 2.5rem; overflow: hidden; }
.amg-marquee__track {
  display: flex; width: max-content; gap: 4rem;
  animation: amg-marquee 40s linear infinite;
}
.amg-marquee__item {
  white-space: nowrap; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.025em;
  color: color-mix(in srgb, var(--ink) 60%, transparent);
}
@supports not (color: color-mix(in srgb, red 60%, transparent)) {
  .amg-marquee__item { color: rgba(var(--ink-rgb), .6); }
}
@keyframes amg-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .amg-marquee__track { animation: none; } }

/* ============================================================
   SERVICES — hover-invert cards
   ============================================================ */
.amg-scards { margin-top: 4rem; display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .amg-scards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.amg-scard {
  position: relative; overflow: hidden; border-radius: 1.75rem;
  background: var(--surface); padding: 2rem;
  transition: background-color .15s cubic-bezier(.4,0,.2,1);
}
.amg-scard:hover { background: var(--primary); }
.amg-scard__head { display: flex; align-items: flex-start; justify-content: space-between; }
.amg-scard__title {
  font-size: 1.875rem; line-height: 1.2; font-weight: 600; letter-spacing: -0.025em;
  color: var(--ink); transition: color .15s;
}
@media (min-width: 768px) { .amg-scard__title { font-size: 2.25rem; line-height: 1.11; } }
.amg-scard__num { font-size: .875rem; color: var(--ink-soft); transition: color .15s; }
.amg-scard__body { margin-top: 1.5rem; max-width: 24rem; color: var(--ink-soft); transition: color .15s; }
.amg-scard__tags { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.amg-scard__tag {
  border-radius: 999px; background: #fff; padding: .375rem .75rem; font-size: .75rem;
  color: var(--ink); box-shadow: 0 0 0 1px rgba(0,0,0,.05);
  transition: background-color .15s, color .15s, box-shadow .15s;
}
.amg-scard__arrow {
  position: absolute; right: 1.5rem; bottom: 1.5rem; width: 1.5rem; height: 1.5rem;
  color: var(--ink-soft); opacity: 0; transition: opacity .15s, color .15s;
}
.amg-scard:hover .amg-scard__title { color: #fff; }
.amg-scard:hover .amg-scard__num { color: rgba(255,255,255,.6); }
.amg-scard:hover .amg-scard__body { color: rgba(255,255,255,.7); }
.amg-scard:hover .amg-scard__tag { background: rgba(255,255,255,.1); color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.1); }
.amg-scard:hover .amg-scard__arrow { opacity: 1; color: var(--brand); }

/* ============================================================
   INDUSTRIES — arrow-driven carousel (full-bleed)
   ============================================================ */
.amg-ind { position: relative; margin-top: 4rem; }
.amg-ind__btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 20;
  display: grid; place-items: center; height: 3rem; width: 3rem; border-radius: 999px;
  background: var(--background); color: var(--ink);
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(0,0,0,.05);
  transition: background-color .15s, color .15s;
}
.amg-ind__btn:hover { background: var(--primary); color: #fff; }
.amg-ind__btn svg { width: 1.25rem; height: 1.25rem; }
.amg-ind__btn--prev { left: .75rem; }
.amg-ind__btn--next { right: .75rem; }
@media (min-width: 768px) {
  .amg-ind__btn--prev { left: 2rem; }
  .amg-ind__btn--next { right: 2rem; }
}
.amg-ind__viewport { overflow: hidden; padding-bottom: 1.5rem; }
.amg-ind__track {
  margin-inline: auto; display: flex; width: max-content; gap: 1.25rem; padding-inline: 1.5rem;
  transition: transform .5s cubic-bezier(0, 0, .2, 1);
  transform: translate3d(0, 0, 0);
}
@media (min-width: 768px) {
  .amg-ind__track { padding-inline: max(1.5rem, calc((100vw - 72rem) / 2)); }
}
.amg-icard {
  position: relative; width: 320px; flex-shrink: 0; overflow: hidden; border-radius: 1.75rem;
  background: var(--background); box-shadow: var(--shadow-soft);
  transition: background-color .15s cubic-bezier(.4,0,.2,1);
}
@media (min-width: 640px) { .amg-icard { width: 380px; } }
@media (min-width: 768px) { .amg-icard { width: 420px; } }
.amg-icard:hover { background: var(--primary); }
.amg-icard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.amg-icard__media img { height: 100%; width: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.amg-icard:hover .amg-icard__media img { transform: scale(1.05); }
.amg-icard__tag {
  position: absolute; bottom: 1rem; left: 1rem; border-radius: 999px;
  background: rgba(255,255,255,.9); padding: .25rem .75rem; font-size: .75rem; font-weight: 500;
  color: var(--ink); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.amg-icard__cta {
  position: absolute; right: 1rem; top: 1rem; display: inline-flex; align-items: center; gap: .25rem;
  border-radius: 999px; background: #fff; padding: .5rem 1rem; font-size: .75rem; font-weight: 500;
  color: var(--ink); opacity: 0; transition: opacity .15s;
}
.amg-icard__cta svg { width: .875rem; height: .875rem; }
.amg-icard:hover .amg-icard__cta { opacity: 1; }
.amg-icard__body { padding: 1.5rem; }
.amg-icard__title { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); transition: color .15s; }
.amg-icard__grid { margin-top: 1.5rem; display: grid; grid-template-columns: 1fr; gap: 1rem; font-size: .875rem; }
.amg-icard__k { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); transition: color .15s; }
.amg-icard__v { margin-top: .25rem; color: var(--ink); transition: color .15s; }
.amg-icard:hover .amg-icard__title { color: #fff; }
.amg-icard:hover .amg-icard__k { color: rgba(255,255,255,.6); }
.amg-icard:hover .amg-icard__v { color: rgba(255,255,255,.8); }

/* ============================================================
   FRAMEWORK
   ============================================================ */
.amg-fgrid { margin-top: 4rem; display: grid; gap: 1.25rem; }
@media (min-width: 768px)  { .amg-fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .amg-fgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.amg-fcard { border-radius: 1.75rem; background: var(--surface); padding: 2rem; }
.amg-fcard__meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft);
}
.amg-fcard__title { margin-top: 2.5rem; font-size: 1.875rem; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); }
.amg-fcard__body { margin-top: 1rem; color: var(--ink-soft); }

/* ============================================================
   DARK SECTIONS (Benefits + Contact) with radial glow
   ============================================================ */
.amg-dark { position: relative; overflow: hidden; background: var(--dark); color: #fff; }
.amg-dark::before { content: ""; position: absolute; inset: 0; background: var(--gradient-glow); pointer-events: none; }
.amg-dark > * { position: relative; }
.e-con.amg-dark > .e-con-inner { position: relative; }

.amg-chips { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.amg-chips__item {
  border-radius: 999px; background: rgba(255,255,255,.05); padding: .5rem 1rem;
  font-size: .875rem; color: rgba(255,255,255,.8); box-shadow: 0 0 0 1px rgba(255,255,255,.1);
}
.amg-gcards { margin-top: 4rem; display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .amg-gcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.amg-gcard {
  border-radius: 1.75rem; background: rgba(255,255,255,.05); padding: 2rem;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.amg-gcard__title { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.025em; color: #fff; }
.amg-gcard__body { margin-top: 1rem; color: rgba(255,255,255,.7); }

/* ============================================================
   PRINCIPLES — hairline grid
   ============================================================ */
.amg-plist {
  margin-top: 4rem; display: grid; gap: 1px; overflow: hidden;
  border-radius: 1.75rem; background: var(--border);
}
@media (min-width: 768px) { .amg-plist { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.amg-pcell { background: var(--background); padding: 2rem; }
.amg-pcell__icon {
  display: grid; place-items: center; height: 2.5rem; width: 2.5rem; border-radius: 1.25rem;
  background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--brand);
}
@supports not (background: color-mix(in srgb, red 10%, transparent)) {
  .amg-pcell__icon { background: rgba(242, 84, 27, .1); }
}
.amg-pcell__icon svg { width: 1.25rem; height: 1.25rem; }
.amg-pcell__title { margin-top: 1.5rem; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); }
.amg-pcell__body { margin-top: .75rem; font-size: .875rem; color: var(--ink-soft); }

/* ============================================================
   TOOLS / CHANNELS
   ============================================================ */
.amg-tools { margin-top: 4rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
@media (min-width: 640px) { .amg-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 768px) { .amg-tools { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.amg-tool {
  display: flex; align-items: center; justify-content: center; gap: .75rem;
  border-radius: 1.5rem; background: var(--background); padding: 1.5rem;
}
.amg-tool img { height: 1.75rem; width: 1.75rem; flex-shrink: 0; object-fit: contain; }
.amg-tool span { font-size: 1rem; font-weight: 500; color: var(--ink); }

/* ============================================================
   FIVE PRINCIPLES cards
   ============================================================ */
.amg-five { margin-top: 4rem; display: grid; gap: 1.25rem; }
@media (min-width: 768px)  { .amg-five { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .amg-five { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.amg-fivecard__media {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 1.5rem;
  background: linear-gradient(to bottom right, var(--surface-2), var(--surface));
}
.amg-fivecard__media::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at var(--amg-glow-x, 30%) 40%, oklch(0.72 0.22 30 / 0.4), transparent 60%);
}
@supports not (color: oklch(0.5 0 0)) {
  .amg-fivecard__media::before { background: radial-gradient(circle at var(--amg-glow-x, 30%) 40%, rgba(251,106,49,.4), transparent 60%); }
}
.amg-fivecard:nth-child(1) .amg-fivecard__media { --amg-glow-x: 30%; }
.amg-fivecard:nth-child(2) .amg-fivecard__media { --amg-glow-x: 40%; }
.amg-fivecard:nth-child(3) .amg-fivecard__media { --amg-glow-x: 50%; }
.amg-fivecard:nth-child(4) .amg-fivecard__media { --amg-glow-x: 60%; }
.amg-fivecard:nth-child(5) .amg-fivecard__media { --amg-glow-x: 70%; }
.amg-fivecard__num {
  position: absolute; inset-inline: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 2rem; font-size: 3.75rem; font-weight: 600; line-height: 1;
  color: color-mix(in srgb, var(--ink) 20%, transparent);
}
@supports not (color: color-mix(in srgb, red 20%, transparent)) {
  .amg-fivecard__num { color: rgba(var(--ink-rgb), .2); }
}
.amg-fivecard__name { margin-top: 1rem; font-size: 1.125rem; font-weight: 600; color: var(--ink); }
.amg-fivecard__role { font-size: .875rem; color: var(--ink-soft); }

/* ============================================================
   STATS rows
   ============================================================ */
.amg-stats { display: grid; gap: 1.25rem; }
.amg-strow {
  display: flex; align-items: flex-end; justify-content: space-between;
  border-radius: 1.75rem; background: var(--background); padding: 2rem;
}
.amg-strow__l { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); }
.amg-strow__v { font-size: 3rem; font-weight: 600; letter-spacing: -0.05em; line-height: 1; color: var(--ink); }
@media (min-width: 768px) { .amg-strow__v { font-size: 3.75rem; } }

/* ============================================================
   CAPABILITIES rows
   ============================================================ */
.amg-caps { margin-top: 4rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.amg-caprow {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center; gap: 1rem; padding-block: 2rem;
  transition: background-color .15s;
}
.amg-caprow + .amg-caprow { border-top: 1px solid var(--border); }
.amg-caprow:hover { background: var(--surface); }
.amg-caprow__n { grid-column: span 1 / span 1; font-size: .875rem; color: var(--ink-soft); }
.amg-caprow__t { grid-column: span 5 / span 5; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); }
@media (min-width: 768px) { .amg-caprow__t { font-size: 1.875rem; } }
.amg-caprow__s { grid-column: span 4 / span 4; font-size: .875rem; color: var(--ink-soft); }
.amg-caprow__y { grid-column: span 2 / span 2; text-align: right; font-size: .875rem; color: var(--ink-soft); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.amg-testi { margin-top: 4rem; display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .amg-testi { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.amg-tcard { display: flex; flex-direction: column; border-radius: 1.75rem; background: var(--background); padding: 2rem; }
.amg-stars { display: flex; gap: .25rem; color: var(--brand); }
.amg-stars svg { width: 1rem; height: 1rem; fill: currentColor; }
.amg-tcard__quote { margin-top: 1.5rem; flex: 1 1 0%; font-size: 1.125rem; color: var(--ink); }
.amg-tcard__cap { margin-top: 2rem; border-top: 1px solid var(--border); padding-top: 1.5rem; }
.amg-tcard__name { font-weight: 500; color: var(--ink); }
.amg-tcard__role { font-size: .875rem; color: var(--ink-soft); }

/* ============================================================
   PRICING / ENGAGEMENTS
   ============================================================ */
.amg-prices { margin-top: 4rem; display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .amg-prices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.amg-price { border-radius: 1.75rem; padding: 2.5rem; background: var(--surface); color: var(--ink); }
.amg-price--featured { background: var(--primary); color: #fff; }
.amg-price__head { display: flex; align-items: center; justify-content: space-between; }
.amg-price__name { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.025em; }
.amg-price__flag { border-radius: 999px; background: var(--brand); padding: .25rem .75rem; font-size: .75rem; font-weight: 500; color: #fff; }
.amg-price__line { margin-top: 2rem; display: flex; align-items: flex-end; gap: .5rem; }
.amg-price__amount { font-size: 3.75rem; font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.amg-price__per { color: var(--ink-soft); }
.amg-price--featured .amg-price__per { color: rgba(255,255,255,.6); }
.amg-price__desc { margin-top: 1rem; font-size: .875rem; color: var(--ink-soft); }
.amg-price--featured .amg-price__desc { color: rgba(255,255,255,.7); }
.amg-price .amg-btn { margin-top: 2rem; width: 100%; }
.amg-price__inc { margin-top: 2rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); }
.amg-price--featured .amg-price__inc { color: rgba(255,255,255,.6); }
.amg-price__list { margin-top: 1rem; list-style: none; padding: 0; display: grid; gap: .75rem; }
.amg-price__list li { display: flex; align-items: center; gap: .75rem; font-size: .875rem; }
.amg-price__list svg { width: 1rem; height: 1rem; flex: none; color: var(--brand); }

/* ============================================================
   FAQ — theme accordion (front-page fallback)
   ============================================================ */
.amg-faq { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.amg-faq__item + .amg-faq__item { border-top: 1px solid var(--border); }
.amg-faq__btn { display: block; width: 100%; padding-block: 1.5rem; text-align: left; }
.amg-faq__head { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.amg-faq__q { font-size: 1.125rem; font-weight: 500; color: var(--ink); }
.amg-faq__icon { position: relative; width: 1.25rem; height: 1.25rem; flex: none; color: var(--ink); }
.amg-faq__icon::before, .amg-faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; border-radius: 1px;
  transform: translate(-50%, -50%);
}
.amg-faq__icon::before { width: 100%; height: 2px; }
.amg-faq__icon::after  { width: 2px; height: 100%; transition: transform .15s; }
.amg-faq__item.is-open .amg-faq__icon { color: var(--brand); }
.amg-faq__item.is-open .amg-faq__icon::after { transform: translate(-50%, -50%) scaleY(0); }
.amg-faq__a { display: none; padding-bottom: 1.5rem; }
.amg-faq__a p { margin-top: 0; color: var(--ink-soft); }
.amg-faq__item.is-open .amg-faq__a { display: block; }
.amg-faq__btn .amg-faq__a { margin-top: 1rem; padding-bottom: 0; }

/* ---- FAQ — Elementor Free Accordion widget, restyled to match ---- */
.amg-acc .elementor-accordion { border: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.amg-acc .elementor-accordion .elementor-accordion-item { border: 0; }
.amg-acc .elementor-accordion .elementor-accordion-item + .elementor-accordion-item { border-top: 1px solid var(--border); }
.amg-acc .elementor-accordion .elementor-tab-title {
  padding: 1.5rem 0; background: transparent; border: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  font-size: 1.125rem; font-weight: 500; line-height: 1.4; color: var(--ink);
}
.amg-acc .elementor-accordion .elementor-tab-title a { color: inherit; flex: 1 1 auto; }
.amg-acc .elementor-accordion .elementor-tab-title.elementor-active { color: var(--ink); }
.amg-acc .elementor-accordion .elementor-accordion-icon { width: auto; color: var(--ink); font-size: 1.125rem; }
.amg-acc .elementor-accordion .elementor-tab-title.elementor-active .elementor-accordion-icon { color: var(--brand); }
.amg-acc .elementor-accordion .elementor-tab-content {
  padding: 0 0 1.5rem; border: 0; background: transparent; color: var(--ink-soft); font-size: 1rem;
}

/* ============================================================
   CONTACT
   ============================================================ */
.amg-cinfo { display: grid; gap: 2rem; align-content: start; }
.amg-cinfo__k { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.5); }
.amg-cinfo__v { margin-top: .5rem; display: block; font-size: 1.5rem; font-weight: 500; color: #fff; }
.amg-cinfo__card { border-radius: 1.75rem; background: rgba(255,255,255,.05); padding: 1.5rem; box-shadow: 0 0 0 1px rgba(255,255,255,.1); }
.amg-cinfo__card .amg-cinfo__v { font-size: 1.125rem; font-weight: 400; }

.amg-form {
  border-radius: 1.75rem; background: rgba(255,255,255,.05); padding: 2rem;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.amg-form__title { font-size: 1.25rem; font-weight: 600; color: #fff; letter-spacing: -0.025em; }
.amg-form__fields { margin-top: 1.5rem; display: grid; gap: 1rem; }
.amg-input, .amg-textarea {
  width: 100%; border-radius: 999px; background: rgba(255,255,255,.1);
  padding: .875rem 1.25rem; font-size: .875rem; color: #fff; border: 0; outline: none;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1); transition: box-shadow .15s;
}
.amg-input::placeholder, .amg-textarea::placeholder { color: rgba(255,255,255,.4); }
.amg-input:focus, .amg-textarea:focus { box-shadow: 0 0 0 1px var(--brand); }
.amg-textarea { border-radius: 1.75rem; resize: vertical; min-height: 7.5rem; }
.amg-hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.amg-form__ok {
  display: none; margin-top: 1.5rem; border-radius: 1rem; padding: 1rem 1.25rem;
  background: rgba(255,255,255,.08); box-shadow: 0 0 0 1px rgba(255,255,255,.15);
  font-size: .875rem; color: #fff;
}
.amg-form.is-sent .amg-form__ok { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.amg-footer { background: var(--darker); padding-block: 3rem; color: rgba(255,255,255,.7); }
.amg-footer__inner {
  margin-inline: auto; display: flex; max-width: 72rem; flex-direction: column;
  align-items: center; justify-content: space-between; gap: 1.5rem; padding-inline: 1.5rem;
}
@media (min-width: 768px) { .amg-footer__inner { flex-direction: row; } }
.amg-footer__tag { font-size: .875rem; text-align: center; }
.amg-footer__copy { font-size: .875rem; }
.amg-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: .875rem; }
.amg-footer__menu a:hover { color: #fff; }

/* ============================================================
   INNER PAGES / BLOG / SEARCH / 404
   (No blog exists in the Lovable source; these extend the same
   design system so WP archives, posts and utility pages match.)
   ============================================================ */
.amg-page-hero { background: var(--surface); padding: 10rem 0 4rem; }
.amg-page-hero--flush { padding-bottom: 0; }
.amg-page-hero .amg-h-lg { max-width: 56rem; }
.amg-breadcrumb-note { margin-top: 1.5rem; font-size: 1.125rem; color: var(--ink-soft); max-width: 42rem; }

.amg-main { background: var(--background); }
.amg-main--pad { padding-block: 4rem 7rem; }

/* Post cards (archive / search / blog) */
.amg-postgrid { display: grid; gap: 1.25rem; }
@media (min-width: 640px)  { .amg-postgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .amg-postgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.amg-post {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 1.75rem;
  background: var(--surface); transition: background-color .15s;
}
.amg-post:hover { background: var(--primary); }
.amg-post__media { aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(to bottom right, var(--surface-2), var(--surface)); }
.amg-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.amg-post:hover .amg-post__media img { transform: scale(1.05); }
.amg-post__body { display: flex; flex: 1; flex-direction: column; padding: 1.75rem; }
.amg-post__meta { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); transition: color .15s; }
.amg-post__title { margin-top: .75rem; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; color: var(--ink); transition: color .15s; }
.amg-post__excerpt { margin-top: .75rem; flex: 1; font-size: .9375rem; color: var(--ink-soft); transition: color .15s; }
.amg-post__more { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 500; color: var(--ink); transition: color .15s; }
.amg-post__more svg { width: 1rem; height: 1rem; }
.amg-post:hover .amg-post__title, .amg-post:hover .amg-post__more { color: #fff; }
.amg-post:hover .amg-post__meta, .amg-post:hover .amg-post__excerpt { color: rgba(255,255,255,.7); }
.amg-post:hover .amg-post__more { color: var(--brand); }

/* Single entry typography */
.amg-entry { max-width: 46rem; margin-inline: auto; font-size: 1.0625rem; color: var(--foreground); }
.amg-entry > * + * { margin-top: 1.25rem; }
.amg-entry h2 { font-size: 2rem; letter-spacing: -0.03em; margin-top: 3rem; color: var(--ink); }
.amg-entry h3 { font-size: 1.5rem; letter-spacing: -0.025em; margin-top: 2.5rem; color: var(--ink); }
.amg-entry h4 { font-size: 1.25rem; margin-top: 2rem; color: var(--ink); }
.amg-entry p { color: var(--ink-soft); }
.amg-entry a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.amg-entry ul, .amg-entry ol { padding-left: 1.5rem; color: var(--ink-soft); }
.amg-entry li + li { margin-top: .5rem; }
.amg-entry blockquote {
  border-left: 3px solid var(--brand); padding: .5rem 0 .5rem 1.25rem;
  font-size: 1.25rem; color: var(--ink);
}
.amg-entry img { border-radius: 1.5rem; }
.amg-entry pre { background: var(--primary); color: #fff; padding: 1.25rem 1.5rem; border-radius: 1rem; overflow: auto; font-size: .875rem; }
.amg-entry code { font-size: .9em; }
.amg-entry figcaption { font-size: .8125rem; color: var(--ink-soft); margin-top: .5rem; }
.amg-entry .wp-block-image, .amg-entry figure { margin-block: 2rem; }
.amg-entry hr { border: 0; border-top: 1px solid var(--border); margin-block: 2.5rem; }
.amg-entry table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.amg-entry th, .amg-entry td { border: 1px solid var(--border); padding: .6rem .8rem; text-align: left; }

.amg-single-meta { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .8125rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); }
.amg-single-thumb { margin-top: 3rem; border-radius: 1.75rem; overflow: hidden; }
.amg-single-thumb img { width: 100%; height: auto; }
.amg-postnav { margin-top: 4rem; display: flex; justify-content: space-between; gap: 1rem; font-size: .875rem; }
.amg-postnav a { color: var(--ink); font-weight: 500; }
.amg-postnav a:hover { color: var(--brand); }

/* Pagination */
.amg-pagination { margin-top: 4rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.amg-pagination .page-numbers {
  display: inline-flex; min-width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center;
  border-radius: 999px; padding-inline: 1rem; font-size: .875rem; font-weight: 500;
  background: var(--surface); color: var(--ink); transition: background-color .15s, color .15s;
}
.amg-pagination .page-numbers:hover { background: var(--primary); color: #fff; }
.amg-pagination .page-numbers.current { background: var(--primary); color: #fff; }
.amg-pagination .page-numbers.dots { background: transparent; }

/* Search form */
.amg-searchform { display: flex; gap: .75rem; max-width: 34rem; }
.amg-searchform input[type="search"] {
  flex: 1; border-radius: 999px; border: 0; background: #fff; padding: .875rem 1.5rem;
  font-size: .875rem; color: var(--ink); box-shadow: 0 0 0 1px rgba(0,0,0,.06);
}
.amg-searchform input[type="search"]:focus { outline: none; box-shadow: 0 0 0 1px var(--brand); }

/* 404 — replicates the source NotFoundComponent exactly */
.amg-404 { display: flex; min-height: 100vh; align-items: center; justify-content: center; background: var(--background); padding-inline: 1rem; }
.amg-404__inner { max-width: 28rem; text-align: center; }
.amg-404__code { font-size: 4.5rem; font-weight: 700; color: var(--foreground); letter-spacing: -0.03em; line-height: 1; }
.amg-404__title { margin-top: 1rem; font-size: 1.25rem; font-weight: 600; color: var(--foreground); letter-spacing: -0.025em; }
.amg-404__text { margin-top: .5rem; font-size: .875rem; color: var(--muted-foreground); }
.amg-404__actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.amg-btn--sm { padding: .625rem 1.25rem; }
.amg-btn--outline { box-shadow: 0 0 0 1px var(--input); color: var(--foreground); }
.amg-btn--outline:hover { background: var(--surface); }

/* Comments (kept minimal, on-system) */
.amg-comments { max-width: 46rem; margin: 4rem auto 0; }
.amg-comments h2, .amg-comments h3 { font-size: 1.5rem; letter-spacing: -0.025em; color: var(--ink); }
.amg-comments .comment-list { list-style: none; padding: 0; margin-top: 1.5rem; display: grid; gap: 1rem; }
.amg-comments .comment-body { border-radius: 1.25rem; background: var(--surface); padding: 1.25rem 1.5rem; font-size: .9375rem; color: var(--ink-soft); }
.amg-comments .comment-body .fn { color: var(--ink); font-style: normal; font-weight: 600; }
.amg-comments .comment-list .children { list-style: none; margin: 1rem 0 0; padding-left: 1.5rem; display: grid; gap: 1rem; }
.amg-comments .comment-reply-link, .amg-comments .comment-edit-link { font-size: .8125rem; color: var(--brand); }
.amg-comments .comment-form { margin-top: 2rem; display: grid; gap: 1rem; }
.amg-comments .comment-form label { display: block; font-size: .8125rem; margin-bottom: .35rem; color: var(--ink-soft); }
.amg-comments .comment-form input[type="text"], .amg-comments .comment-form input[type="email"],
.amg-comments .comment-form input[type="url"], .amg-comments .comment-form textarea {
  width: 100%; border-radius: 1rem; border: 0; background: var(--surface);
  box-shadow: 0 0 0 1px var(--border); padding: .75rem 1rem; font-size: .9375rem; color: var(--ink);
}
.amg-comments .comment-form textarea { border-radius: 1.25rem; }
.amg-comments .form-submit input[type="submit"] {
  display: inline-flex; border: 0; border-radius: 999px; background: var(--primary); color: #fff;
  padding: .875rem 1.5rem; font-size: .875rem; font-weight: 500; cursor: pointer;
}
.amg-comments .form-submit input[type="submit"]:hover { background: #000; }

/* WordPress core alignment helpers */
.alignleft { float: left; margin: .25rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .25rem 0 1rem 1.5rem; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.sticky, .bypostauthor, .gallery-caption, .wp-caption-text { /* core class hooks */ }

/* Elementor page chrome: let Elementor own the canvas */
body.amg-elementor .amg-main { padding: 0; }

/* ============================================================
   Elementor structural adapters v2 (generated)
   Make Elementor flex containers behave exactly like the
   hand-written markup regardless of site-wide defaults.
   ============================================================ */
.e-con.amg-hero-con { padding: 0 !important; }
.e-con.amg-hero-con > .e-con-inner { max-width: none; width: 100%; padding: 0; gap: 0; }

.e-con.amg-ind-sec { padding-block: 7rem !important; }
.e-con.amg-ind-sec > .e-con-inner { max-width: none; width: 100%; padding: 0; gap: 0; }
.e-con.amg-boxed { width: 100% !important; max-width: 72rem; margin-inline: auto; padding-inline: 1.5rem; row-gap: 0; }

.e-con.amg-band { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* rows / columns rendered as nested full-width containers */
.e-con.amg-row { display: grid !important; gap: 4rem; width: 100% !important; max-width: none; }
@media (min-width: 768px) { .e-con.amg-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.e-con.amg-row.amg-row--gap10 { gap: 2.5rem; }
.e-con.amg-row > .e-con.amg-col { width: 100% !important; max-width: 100%; min-width: 0; padding: 0; row-gap: 0; }
.e-con.amg-mt-16 { margin-top: 4rem; }

/* section header: heading left / note right, baseline aligned */
.e-con.amg-sec-head { display: flex !important; flex-direction: row !important; flex-wrap: nowrap;
  align-items: flex-end !important; justify-content: space-between !important; gap: 2rem;
  width: 100% !important; max-width: none; }
.e-con.amg-sec-head.amg-sec-head--gap6 { gap: 1.5rem; }
.e-con.amg-sec-head > .e-con.amg-shcol { width: auto !important; max-width: 100%; min-width: 0; padding: 0; row-gap: 0; }
.e-con.amg-sec-head > .elementor-widget { width: auto; }
.e-con.amg-sec-head > .elementor-widget.amg-side-note { max-width: 24rem; }
.e-con.amg-sec-head > .elementor-widget.amg-side-note--sm { max-width: 20rem; }

/* widgets inside our containers never inherit stray gaps/margins */
.e-con[class*="amg-"] { row-gap: 0; }
.e-con[class*="amg-"] > .elementor-widget { margin-block: 0; }

/* PHP fallback helper for button rows */
.amg-btn-row { display: block; }

/* ---------- final refinements ---------- */
.amg-nav__links li { display: flex; }
.amg-icon-xs { width: .875rem; height: .875rem; }
.amg-post__excerpt p { margin: 0; }
.amg-breadcrumb-note .amg-searchform { margin-top: 0; }
.amg-hero__scroll svg { width: .875rem; height: .875rem; }
.amg-btnw--dark .elementor-button:visited,
.amg-btnw--brand .elementor-button:visited,
.amg-btnw--ghost .elementor-button:visited { color: inherit; }
.amg-btnw--dark .elementor-button, .amg-btnw--dark .elementor-button:visited { color: #fff; }
.amg-btnw--brand .elementor-button, .amg-btnw--brand .elementor-button:visited { color: #fff; }

/* Elementor structural adapters v3: neutralize Elementor default container padding */
.e-con.amg-sec,
.e-con.amg-ind-sec,
.e-con.amg-band { padding-inline: 0; }
.e-con.amg-row { padding: 0; }
.e-con.amg-boxed { padding-block: 0; }
