/* Agilex Custom - all selectors prefixed with ax- so Divi/WooCommerce styles do not clash */

.ax {
  --ax-navy: #1f3f7a;
  --ax-navy-deep: #0f2a57;
  --ax-blue: #2558ab;
  --ax-green: #4fbf6b;
  --ax-green-deep: #2e9a4d;
  --ax-tint: #eef1fb;
  --ax-tint2: #f6f8fd;
  --ax-ink: #1b2438;
  --ax-muted: #5d6781;
  --ax-line: #dde3f2;
  --ax-radius: 22px;
  --ax-shadow: 0 10px 30px rgba(15, 42, 87, .10);
  --ax-wrapw: 1440px;
  font-family: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ax-ink);
  font-size: 16px;
  line-height: 1.55;
  box-sizing: border-box;
}
.ax *, .ax *::before, .ax *::after { box-sizing: border-box; }
.ax img { max-width: 100%; height: auto; display: block; }
.ax a { text-decoration: none; box-shadow: none; }
.ax h1, .ax h2, .ax h3, .ax p { padding: 0; }
.ax h2, .ax h3 { font-family: inherit; text-transform: none; }
.ax .ax-serif { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; }
.ax-wrap { width: min(var(--ax-wrapw, 1440px), 100% - 40px); margin-inline: auto; }
.ax-sec { padding: 56px 0 0; }
.ax-hero { padding-top: 12px; }
.ax-sec:last-child { padding-bottom: 40px; }

/* full-width page mode (body.ax-fullpage added by the plugin) */
.ax-fullpage #sidebar { display: none; }
.ax-fullpage #main-content .container { width: 100%; max-width: none; padding: 0; }
.ax-fullpage #main-content .container::before { display: none; }
.ax-fullpage #left-area { width: 100%; padding: 0; float: none; }
.ax-fullpage .entry-title.main_title { display: none; }
.ax-fullpage .et_pb_row { width: 100%; max-width: none; }
.ax-fullpage .et-l--post .et_pb_section { padding: 0 !important; }
.ax-fullpage .et-l--post .et_pb_row { width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }
.ax-fullpage .et-l--post .et_pb_column, .ax-fullpage .et-l--post .et_pb_text { margin-bottom: 0 !important; }
.ax-fullpage #main-content { overflow-x: clip; }

/* buttons */
.ax .ax-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 600; border: 0; cursor: pointer; font-size: 15px; line-height: 1.2; transition: transform .15s, box-shadow .15s, background .15s; }
.ax .ax-btn:hover { transform: translateY(-2px); }
.ax .ax-btn-green { background: var(--ax-green); color: #07310f; box-shadow: 0 8px 20px rgba(79, 191, 107, .35); }
.ax .ax-btn-green:hover { background: #5ccb78; color: #07310f; }
.ax .ax-btn-light { background: #fff; color: var(--ax-navy-deep); }
.ax .ax-btn-navy { background: var(--ax-navy); color: #fff; }
.ax .ax-btn-navy:hover { background: var(--ax-blue); color: #fff; }
.ax .ax-btn-outline { border: 1.5px solid rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.ax .ax-btn-outline:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* hero */
.ax-hero-card {
  position: relative; overflow: hidden; border-radius: 32px; color: #fff;
  background: radial-gradient(1200px 500px at 85% 20%, rgba(255, 255, 255, .16) 0%, transparent 60%), linear-gradient(135deg, var(--ax-navy-deep) 0%, var(--ax-navy) 55%, var(--ax-blue) 100%);
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 24px;
  padding: 48px 56px; min-height: 480px;
}
.ax-hero-card::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -140px; bottom: -220px; background: rgba(255, 255, 255, .06); }
.ax .ax-eyebrow { display: block; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 600; color: #a9c2f5; margin-bottom: 4px; }
.ax-split .ax-eyebrow { color: var(--ax-blue); }
.ax .ax-hero-title { font-size: clamp(32px, 4vw, 54px); line-height: 1.06; margin: 14px 0 18px; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.ax .ax-hero-title .ax-serif { color: #cfe0ff; font-size: 1.08em; }
.ax .ax-hero-txt p { color: #d3e0fb; max-width: 520px; font-size: 17px; margin: 0; }
.ax-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.ax-hero-img { position: relative; z-index: 1; }
.ax-hero-img img { border-radius: 24px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.ax-float { position: absolute; left: -28px; bottom: -22px; background: rgba(255, 255, 255, .95); color: var(--ax-ink); padding: 16px 20px; border-radius: 18px; box-shadow: var(--ax-shadow); max-width: 220px; }
.ax-float small { color: var(--ax-muted); display: block; line-height: 1.3; }
.ax-float strong { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; font-size: 42px; color: var(--ax-blue); line-height: 1; display: block; }

/* section heading */
.ax-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.ax .ax-title { font-size: clamp(28px, 3.4vw, 44px); margin: 0; line-height: 1.1; font-weight: 600; letter-spacing: -.02em; color: var(--ax-ink); }
.ax .ax-title .ax-serif { color: var(--ax-blue); font-size: 1.1em; }
.ax .ax-kicker { display: block; color: var(--ax-muted); font-size: 16px; font-weight: 500; margin-bottom: 6px; letter-spacing: 0; }
.ax .ax-more { font-weight: 600; color: var(--ax-blue); border-bottom: 1.5px solid currentColor; }

/* categories */
.ax-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.ax .ax-cat { position: relative; border-radius: var(--ax-radius); overflow: hidden; aspect-ratio: 3/4; background: var(--ax-navy-deep); color: #fff; display: flex; align-items: flex-end; transition: transform .25s; }
.ax .ax-cat:hover { transform: translateY(-6px); color: #fff; }
.ax .ax-cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: transform .5s, opacity .3s; }
.ax .ax-cat:hover img { transform: scale(1.06); opacity: .9; }
.ax-cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 22, 50, .92) 0%, rgba(8, 22, 50, .15) 60%); }
.ax-in { position: relative; z-index: 1; padding: 18px; width: 100%; }
.ax-in small { color: #bcd0f6; display: block; }
.ax .ax-in .ax-cname { margin: 0 0 12px; font-size: 21px; font-weight: 600; line-height: 1.15; color: #fff; }
.ax-pill { background: #fff; color: var(--ax-navy-deep); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; display: inline-block; }

/* tabs and product cards */
.ax-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.ax .ax-tab { border: 1.5px solid var(--ax-line); background: #fff; padding: 8px 18px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; color: var(--ax-muted); line-height: 1.3; text-transform: none; }
.ax .ax-tab.ax-on, .ax .ax-tab:hover { background: var(--ax-navy); border-color: var(--ax-navy); color: #fff; }
.ax-panel[hidden] { display: none; }
.ax-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ax-card { background: var(--ax-tint2); border-radius: var(--ax-radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid transparent; transition: box-shadow .25s, border-color .25s, transform .25s; }
.ax-card:hover { box-shadow: var(--ax-shadow); border-color: var(--ax-line); transform: translateY(-4px); }
.ax-ph { position: relative; display: block; background: linear-gradient(180deg, #e9eefb, #dfe6f7); aspect-ratio: 1080/1225; overflow: hidden; }
.ax .ax-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ax-card:hover .ax-ph img { transform: scale(1.05); }
.ax-badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(255, 255, 255, .92); border: 1px solid var(--ax-line); padding: 4px 12px; border-radius: 999px; font-family: 'Instrument Serif', serif; font-style: italic; font-size: 15px; color: var(--ax-navy); line-height: 1.3; }
.ax-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ax-catl { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ax-blue); font-weight: 600; }
.ax .ax-name { margin: 0; font-size: 17px; line-height: 1.3; font-weight: 600; }
.ax .ax-name a { color: var(--ax-ink); }
.ax .ax-name a:hover { color: var(--ax-blue); }
.ax .ax-body p { margin: 0; color: var(--ax-muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ax-foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ax-price { font-weight: 700; font-size: 19px; color: var(--ax-navy-deep); white-space: nowrap; }
.ax-price del { color: var(--ax-muted); font-weight: 500; font-size: 14px; margin-right: 4px; }
.ax-price ins { text-decoration: none; }
.ax .ax-add, .ax .added_to_cart { background: var(--ax-navy); color: #fff; border-radius: 999px; padding: 9px 14px; font-weight: 600; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; line-height: 1.2; }
.ax .ax-add:hover, .ax .added_to_cart:hover { background: var(--ax-blue); color: #fff; }
.ax .ax-add.loading { opacity: .6; pointer-events: none; }
.ax .ax-add.added { display: none; }
.ax .added_to_cart { background: var(--ax-green); color: #07310f; }

/* split blocks */
.ax-split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: var(--ax-tint); border-radius: 32px; overflow: hidden; }
.ax-split.ax-noimg { grid-template-columns: 1fr; }
.ax-split.ax-rev .ax-txt { order: 2; }
.ax-txt { padding: 48px 56px; align-self: center; }
.ax .ax-txt .ax-title { margin: 6px 0 14px; font-size: clamp(28px, 3.2vw, 42px); }
.ax .ax-txt p { color: var(--ax-muted); max-width: 460px; margin: 0; }
.ax .ax-txt ul { list-style: none; padding: 0; margin: 16px 0 26px; display: grid; gap: 8px; }
.ax .ax-txt ul, .ax .ax-txt li { list-style: none !important; }
.ax .ax-txt ul { margin-left: 0 !important; padding-left: 0 !important; }
.ax .ax-txt li { padding: 0; }
.ax .ax-txt li::before { content: "\2713"; color: var(--ax-green-deep); font-weight: 700; margin-right: 10px; }
.ax-im { min-height: 380px; background: #dfe6f7; position: relative; }
.ax .ax-im img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* why */
.ax-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ax-why > div { border: 1.5px solid var(--ax-line); border-radius: var(--ax-radius); padding: 26px; background: #fff; }
.ax-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--ax-tint); display: grid; place-items: center; font-size: 22px; margin-bottom: 14px; }
.ax .ax-why h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; }
.ax .ax-why p { margin: 0; color: var(--ax-muted); font-size: 15px; }

/* reviews */
.ax-reviews { background: var(--ax-tint); border-radius: 32px; padding: 40px; display: grid; grid-template-columns: 240px 1fr; gap: 30px; align-items: center; }
.ax-score { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 76px; line-height: 1; color: var(--ax-navy); }
.ax-score small { font-size: 22px; color: var(--ax-muted); }
.ax .ax-reviews > div > p { margin: 6px 0 0; color: var(--ax-muted); }
.ax-rvlist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ax-rv { background: #fff; border-radius: 18px; padding: 20px; box-shadow: var(--ax-shadow); font-size: 15px; }
.ax-st { color: #f5a623; letter-spacing: 2px; }
.ax .ax-rv p { margin: 8px 0 0; }
.ax-rv b { display: block; margin-top: 10px; font-size: 14px; }

/* cta */
.ax-cta-band { background: linear-gradient(135deg, var(--ax-navy-deep), var(--ax-blue)); color: #fff; border-radius: 32px; padding: 56px; text-align: center; }
.ax .ax-cta-band .ax-title { color: #fff; margin-bottom: 12px; }
.ax .ax-cta-band .ax-title .ax-serif { color: #cfe0ff; }
.ax .ax-cta-band p { color: #cfe0ff; margin: 0 auto; max-width: 560px; }
.ax-cta-band .ax-ctas { justify-content: center; }

/* responsive */
@media (max-width: 1000px) {
  .ax-grid { grid-template-columns: repeat(2, 1fr); }
  .ax-cats { grid-template-columns: repeat(3, 1fr); }
  .ax-hero-card { grid-template-columns: 1fr; padding: 40px 28px; }
  .ax-float { left: 12px; }
  .ax-split, .ax-reviews { grid-template-columns: 1fr; }
  .ax-split.ax-rev .ax-txt { order: 0; }
  .ax-txt { padding: 32px 26px; }
  .ax-why { grid-template-columns: repeat(2, 1fr); }
  .ax-rvlist { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ax-sec { padding-top: 48px; }
  .ax-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ax-cats { grid-template-columns: repeat(2, 1fr); }
  .ax-foot { flex-direction: column; align-items: stretch; }
  .ax .ax-add { justify-content: center; }
  .ax-hero-card { padding: 32px 20px; min-height: 0; border-radius: 24px; }
  .ax-why { grid-template-columns: 1fr; }
  .ax-cta-band { padding: 36px 20px; }
  .ax-reviews { padding: 24px 18px; }
}

/* headings that keep the original page outline (H5 eyebrow, H4 items, H3 FAQ) */
.ax h5.ax-eyebrow, .ax h4, .ax h5 { font-family: inherit; text-transform: none; padding: 0; }
.ax h5.ax-eyebrow { margin: 0 0 4px; font-size: 13px; text-transform: uppercase; }
.ax .ax-why h4 { margin: 0 0 6px; font-size: 18px; font-weight: 600; color: var(--ax-ink); line-height: 1.3; }
.ax .ax-lead { color: var(--ax-muted); max-width: 820px; margin: -12px 0 28px; font-size: 17px; }

/* deployment cards */
.ax-deploy { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ax-dcard { background: var(--ax-tint); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; }
.ax-dimg { display: block; aspect-ratio: 16/10; overflow: hidden; background: #dfe6f7; }
.ax .ax-dimg img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ax-dcard:hover .ax-dimg img { transform: scale(1.04); }
.ax-dbody { padding: 26px 30px 30px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.ax .ax-dbody h4 { margin: 0; font-size: 26px; font-weight: 600; line-height: 1.2; }
.ax .ax-dbody h4 a { color: var(--ax-ink); }
.ax .ax-dbody h4 a:hover { color: var(--ax-blue); }
.ax .ax-dbody p { margin: 0 0 8px; color: var(--ax-muted); }

/* FAQ */
.ax-faq { max-width: 900px; margin-inline: auto; }
.ax .ax-faq > .ax-title { margin-bottom: 10px; }
.ax .ax-faq .ax-lead { margin: 0 0 24px; }
.ax-qa { border: 1.5px solid var(--ax-line); border-radius: 18px; background: #fff; margin-bottom: 12px; overflow: hidden; }
.ax-qa[open] { background: var(--ax-tint2); border-color: #c9d4ee; }
.ax-qa summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; position: relative; }
.ax-qa summary::-webkit-details-marker { display: none; }
.ax-qa summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 26px; line-height: 1; color: var(--ax-blue); font-weight: 400; }
.ax-qa[open] summary::after { content: "−"; }
.ax .ax-qa h5 { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--ax-ink); display: block; }
.ax-ans { padding: 0 22px 20px; color: var(--ax-muted); }

@media (max-width: 1000px) { .ax-deploy { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ax-dbody { padding: 20px; } .ax-qa summary { padding: 16px 48px 16px 16px; } .ax-ans { padding: 0 16px 16px; } }
