/* Anchor offsets will be handled per-section; remove global padding */
/* css/overrides.css - counters styles */
/* Global page background: make all pages white */
html, body { background-color: #ffffff !important; }
.ir-heatmap svg { display: block; }
.ir-sphere { fill: #eef6ff; stroke: #93c5fd; stroke-width: 0.6px; }
.ir-graticule { fill: none; stroke: #cbd5e1; stroke-width: 0.4px; opacity: 0.6; }

/* Make all sections white (except header/footer), and add spacing between sections */
/* Also add scroll-margin-top so anchor links don't hide headings under the sticky nav */
/* Also add scroll-margin-top so anchor links don't hide headings under the sticky nav */
section { background-color: #ffffff !important; margin: 80px 0; scroll-margin-top: 100px; }

/* Apply a stronger, explicit scroll margin to common section headings and
   to specific anchor targets that animate so they land consistently below
   the sticky navbar. Adjust values if your navbar height changes. */
section h1, section h2, .heading-2, .heading-3 {
  scroll-margin-top: 120px !important;
}

/* Specific fixes for anchors that showed inconsistent positioning */
#network, #pricing {
  scroll-margin-top: 140px !important;
}
.section-home-hero { margin-top: 0; }
/* Ensure IR metrics section starts below sticky banner */
.ir-metrics-section { margin-top: 182px !important; }

/* Ensure hero also uses white now (overrides earlier light gray) */
.section-home-hero { background-color: transparent !important; }

/* Default text color inside sections to black for readability on white */
section h1, section h2, section h3, section h4, section h5, section h6,
section p, section li, section .paragraph, section .text-color-white,
section .text-color-white-opacity-72 { color: #000000 !important; }
.site-stats {
  max-width: 940px;
  margin: 0 auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 16px;
  align-items: stretch;
  padding: 0 16px;
  margin-top: 22px; /* add breathing room below the green section above */
}

/* Smooth transition: overlap the hero and add a subtle blend */
.site-stats-wrapper {
  position: relative;
  max-width: 980px;
  margin: 0 auto 0;
  padding: 10px 16px 18px;
  margin-bottom: 48px;
  z-index: 2; /* keep stats under the hero content */
}
.site-stats-wrapper::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -20px; /* reduce upward overlap */
  height: 28px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(203,72,14,0.12) 0%, rgba(203,72,14,0.06) 30%, rgba(255,255,255,0) 100%);
  z-index: 1;
}

/* wrap the grid in a soft, elevated white container so it reads as a block */
.site-stats {
  background: rgba(255,255,255,0.98);
  padding: 18px;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(17,23,41,0.08);
}
.site-stats .stat-card {
  display: flex;
  gap: 16px;
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  border: 1px solid rgba(17,23,41,0.06);
}
.site-stats .stat-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg,#CB480E,#E96429);
  box-shadow: 0 6px 14px rgba(203,72,14,0.12);
}
.site-stats .stat-icon img { width:32px; height:32px; display:block }

/* Invert only the commission icons (swap black↔white) */
.site-stats .stat-icon img[alt="commission icon"],
.site-stats .stat-icon img[alt="split commission icon"],
.ame-network-commission .stat-icon img {
  filter: invert(1);
}
.site-stats .stat-body { flex: 1; min-width:0 }
.site-stats .stat-label {font-size:13px;color:#677489;text-transform:uppercase;letter-spacing:0.04em;margin:0 0 6px}
.site-stats .stat-value {font-size:clamp(18px,2.4vw,28px);font-weight:700;color:#0e121b;margin:0;line-height:1;word-break:break-word}
.site-stats .stat-value.currency {font-size:clamp(16px,2.0vw,22px)}
.site-stats .stat-note {font-size:13px;color:#97a3b6;margin-top:6px}

/* Hero heading color override */
.section-home-hero { position: relative; z-index: 4; }
.section-home-hero .heading { color: #CB480E; }
/* Hero subhead (intro paragraph) color override */
.section-home-hero .is-subhead-hero {
  color: #000000 !important;
  margin-top: 36px !important; /* increased spacing under H1 (~3x typical) */
  font-size: 2.0rem !important; /* slightly smaller for the hero subhead */
}

/* Enforce subhead size on mobile as well */
@media (max-width: 767px) {
  .section-home-hero .is-subhead-hero {
    font-size: 1.4rem !important; /* make subhead clearly smaller than mobile H1 */
  }
}

/* Double the spacing between the hero container and the banner above */
.section-home-hero .container-large {
  margin-top: 20px !important; /* reduced top spacing so headline placement works */
}

/* Slightly smaller H1 across the site to improve layout balance */
h1 { font-size: 2.75rem; }

/* Remove hero background image and ensure the hero uses the same background as the pillars (white) */
.section-home-hero {
  background-image: none !important;
}

.home-hero-box-wrapper {
  position: relative;
  min-height: 675px;
  padding: 146px 16px 36px;
  background-image: url("../assets/bg-application-ecosystem.svg");
  background-repeat: no-repeat;
  background-position: center calc(50% + 100px);
  background-size: cover;
  border-radius: 18px;
}
@media (max-width: 991px) {
  .home-hero-box-wrapper { min-height: 675px; padding-top: 122px; background-position: center calc(50% + 88px); }
}
@media (max-width: 767px) {
  .home-hero-box-wrapper { min-height: 675px; padding-top: 114px; background-position: center calc(50% + 78px); }

/* Read-more section spacing: increase gaps above/below */
.read-more-section { margin: 120px 0 360px 0; }
}

/* Ensure larger gap below the Read-more section globally */
.read-more-section { margin-top: 120px; margin-bottom: 114px !important; }

/* Force a small top gap for the read-more section per request */
.read-more-section { margin-top: 11px !important; }

/* Network-stats: add spacing before testimonials and rounded corners */
.network-stats {
  margin-bottom: 48px;
  border-radius: 12px;
  overflow: hidden;
}

/* Round corners on major colored sections */
.section-home-hero,
.features-section,
.network-section,
.backoffice-section,
.section-405,
.section-406,
.map-section,
.testimonial-slider-small,
#features,
#value,
#network,
#pricing {
  border-radius: 18px;
  overflow: hidden;
}

/* Ensure pillars grid displays 3 columns consistently (protect against missing 'not-flow' class) */
.w-layout-grid.pillars-grid { grid-template-columns: 1fr 1fr 1fr !important; }
/* Avoid clipping reveal transforms: allow overflow for sections with inner slide */
.features-section,
.network-section,
.backoffice-section,
/* Ensure consistent vertical spacing between sections starting at #ecosystem */
#ecosystem,
#ecosystem ~ section {
  margin-top: 80px !important;
  margin-bottom: 80px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Demo scheduler (Google appointments) modal */
html.ame-modal-open,
body.ame-modal-open {
  overflow: hidden !important;
}

.ame-demo-scheduler-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.58);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.ame-demo-scheduler-modal {
  width: min(1040px, 100%);
  height: min(82vh, 780px);
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}

.ame-demo-scheduler-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(17, 23, 41, 0.08);
}

.ame-demo-scheduler-title {
  font-size: 16px;
  font-weight: 600;
  color: #0e121b;
}

.ame-demo-scheduler-close {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17, 23, 41, 0.12);
  border-radius: 12px;
  background: #ffffff;
  color: #0e121b;
  cursor: pointer;
}

.ame-demo-scheduler-close:hover {
  background: rgba(17, 23, 41, 0.04);
}

.ame-demo-scheduler-close span {
  font-size: 22px;
  line-height: 1;
}

.ame-demo-scheduler-body {
  flex: 1;
  min-height: 0;
}

.ame-demo-scheduler-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* News admin: image thumbnail preview */
.news-admin-image-preview {
  width: 120px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(17, 23, 41, 0.12);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}

@media (max-width: 767px) {
  .ame-demo-scheduler-overlay {
    padding: 12px;
  }

  .ame-demo-scheduler-modal {
    height: 90vh;
    border-radius: 14px;
  }
}

/* Reduce overly-large gaps for specific sections that previously had custom margins */
.read-more-section,
.home-hero-box-wrapper + section {
  margin-top: 80px !important;
  margin-bottom: 80px !important;
}
.section-405,
.section-406,
.testimonial-slider-small {
  overflow: visible !important;
}

/* Keep reveal transforms visible inside map section (avoid clipping) */
.map-section { overflow: visible !important; }

/* Uniform section spacing: rely on global `section { margin: 80px 0; }` */

/* Footer: with fewer columns, let the left block breathe */
.footer-content-top-start { max-width: 22rem; }

/* Footer: reduce overall height ~40% (padding-driven) */
.footer-content-top { padding-top: 2.4rem; padding-bottom: 2.4rem; }
.footer-content-end { padding-top: 0.6rem; padding-bottom: 0.9rem; }

/* Align pricing section side padding with the testimonials section above */
@media (min-width: 992px) {
  #pricing.backoffice-section { padding-left: 30px; padding-right: 30px; }
}

@media (max-width: 991px) {
  .footer-content-top { padding-top: 1.5rem; padding-bottom: 1.5rem; }
}

@media (max-width: 767px) {
  .footer-box-wrap { padding-top: 0.6rem; }
  .footer-content-top { padding-top: 0.6rem; padding-bottom: 0.6rem; }
  .footer-content-end { padding-top: 0.6rem; padding-bottom: 0.9rem; }
}

/* Narrow the gap between #faq and the CTA band on mobile */
@media (max-width: 767px) {
  #faq { margin-bottom: 18px !important; }
  .ame-cta-band { margin-top: 18px !important; }
  /* handle case where CTA band follows FAQ as an adjacent sibling */
  #faq + .ame-cta-band, #faq ~ .ame-cta-band { margin-top: 18px !important; }
}



/* News slider styles */
.news-section { padding: 3rem 0; background: transparent; }
.news-section, #news { scroll-margin-top: 140px; }

/* News thumbnails: keep filled but reduce face cropping */
.news-section .news-thumb { object-fit: cover; object-position: 50% 20%; }

/* Grid layout for news listing (homepage and news page) */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.news-grid .news-card { display: block; background: #fff; padding: 20px 12px 12px; border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,0.06); }

/* Ensure the Top News toggle has space above the thumbnail: force extra top padding
   on grid-based cards (homepage/news grid). Use !important to override other rules. */
.news-grid .news-card { padding-top: 64px !important; }
.news-grid .news-card .news-thumb { margin-top: 0; }

@media (max-width: 991px) {
  .news-grid .news-card { padding-top: 56px !important; }
}
@media (max-width: 767px) {
  .news-grid .news-card { padding-top: 44px !important; }
}
.news-grid .news-thumb { width: 100%; height: auto; display: block; border-radius: 8px; margin-bottom: 8px; }
.news-grid .news-card h4 { margin: 6px 0; font-size: 1rem; }
.news-grid .news-card p { margin: 6px 0 8px; color: #5b6b7a; }

@media (max-width: 991px) {
  .news-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid .news-card { padding: 10px; }
}

/* Legal pages (Privacy Policy / Terms) */
.ame-legal-page .div-block-6 {
  background-color: transparent !important;
  background-image: none !important;
}

.policy-container {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
  padding-left: 3rem !important;
  padding-right: 3rem !important;
}

@media (max-width: 767px) {
  .policy-container {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
}

.policy-container > .heading-2,
.policy-container > .w-richtext {
  width: 100%;
  max-width: 75rem;
  margin-left: auto;
  margin-right: auto;
}

.policy-container .w-richtext p,
.policy-container .w-richtext li {
  line-height: 1.7;
}

.policy-container .w-richtext h2,
.policy-container .w-richtext h3 {
  margin-top: 2rem;
  margin-bottom: .75rem;
}

.policy-container .w-richtext ul,
.policy-container .w-richtext ol {
  margin-top: .75rem;
  margin-bottom: 1rem;
}

/* Simple, responsive tables for legal text */
.ame-policy-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0 1.5rem;
}

.ame-policy-table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 12px;
  overflow: hidden;
}

.ame-policy-table th,
.ame-policy-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.ame-policy-table thead th {
  background: #f8fafc;
  font-weight: 600;
}

.ame-policy-table tbody tr:last-child td {
  border-bottom: none;
}

@media (max-width: 767px) {
  .ame-policy-table { min-width: 560px; }
}

/* Home page CTA band redesign */
.ame-cta-band {
  background: transparent !important;
  background-image: none !important;
  padding: 0 !important;
}

/* Framer-style headline displayed in hero area for a featured news item */

.hero-framer-headline {
  width: 100%;
  display: block;
  margin: 18px 0;
  /* nudge slightly upward so the framer headline sits higher in the hero */
  transform: translateY(-10px);
  -webkit-transform: translateY(-10px);
  padding: 12px 18px;
  box-sizing: border-box;
  background: transparent !important;
  background-image: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: center;
}

.hero-framer-headline .framer-headline-inner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 980px;
  margin: 0 auto;
  box-sizing: border-box;
}

.framer-headline-prefix {
  font-size: 12px;
  color: #ffffff;
  background-color: #CB480E;
  text-transform: uppercase;
  margin-right: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-block;
  font-weight: 700;
  white-space: nowrap;
}

.framer-headline-title {
  flex: 0 0 auto;
  min-width: 0;
  font-size: 16px;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  max-width: 60ch;
}

.framer-headline-cta {
  font-size: 13px;
  color: #CB480E;
  margin-left: 12px;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

/* Remove any leftover CTA and make the title itself a clean link */
.framer-headline-cta { display: none !important; }
.framer-headline-title,
.framer-headline-title:link,
.framer-headline-title:visited {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.framer-headline-title:focus {
  outline: 3px solid rgba(203,72,14,0.18);
  outline-offset: 2px;
  border-radius: 6px;
}

@media (max-width: 767px) {
  .hero-framer-headline { margin: 12px 0; padding: 10px 12px }
  .framer-headline-title { font-size: 15px }
  /* On mobile keep the headline in-flow at the top of the container (no negative offset) */
  .hero-framer-headline { transform: none !important; -webkit-transform: none !important; position: relative; }
  /* stack prefix above the headline and center the prefix on mobile */
  .hero-framer-headline .framer-headline-inner { flex-direction: column; align-items: center; gap: 8px; }
  .framer-headline-prefix { margin-right: 0; align-self: center; }
  .framer-headline-title { white-space: normal; overflow: visible; max-width: 100%; text-align: center; display: block; }
}

/* ensure explicit spacing between the headline and the hero content */
.hero-framer-headline + .home-hero-content-wrapper {
  margin-top: 18px;
}

@media (max-width: 767px) {
  .hero-framer-headline + .home-hero-content-wrapper { margin-top: 28px !important; }
}

@media (max-width: 767px) {
  /* Keep the headline in-flow but nudge its inner content upward within the
     hero container so the headline sits higher visually while other elements
     retain their original spacing. */
  .hero-framer-headline { transform: none !important; -webkit-transform: none !important; position: relative; }
  .hero-framer-headline .framer-headline-inner {
    display: inline-flex;
    transform: translateY(-44px); /* pulled up further by additional 22px */
    -webkit-transform: translateY(-44px);
    padding-bottom: 6px; /* keep a small breathing room inside the headline */
  }
  /* ensure following content keeps its original spacing (no extra top padding) */
  .home-hero-content-wrapper { padding-top: initial !important; }
}

.ame-cta-inner {
  width: min(100%, 38rem);
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
  padding: 2.5rem 2.25rem;
  box-sizing: border-box;
  border-radius: 18px;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.98)) padding-box,
    linear-gradient(135deg, rgba(233,100,41,0.65), rgba(42,81,64,0.35), rgba(2,6,23,0.18)) border-box;
  box-shadow: 0 24px 60px rgba(17,23,41,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.ame-cta-title {
  margin-top: 0;
  margin-bottom: .5rem;
  color: #0e121b !important;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.1;
}

.ame-cta-subtitle {
  margin: 0;
  max-width: 42rem;
  color: rgba(14,18,27,0.72) !important;
  font-size: 1.125rem;
  line-height: 1.5;
}

.ame-cta-desktop-break {
  display: inline;
}

/* adjust top spacing for the home hero container */
.section-home-hero .container-large { margin-top: 20px; }

@media (min-width: 992px) {
  .ame-cta-desktop-break {
    display: block;
  }
}

.ame-cta-actions {
  flex: 0 0 auto;
}

.ame-cta-button {
  white-space: nowrap;
  box-shadow: 0 14px 28px rgba(0,0,0,0.14);
}

@media (max-width: 767px) {
  .ame-cta-inner {
    padding: 2rem 1.25rem;
    align-items: stretch;
    text-align: left;
  }

  .ame-cta-subtitle {
    font-size: 1.05rem;
    text-wrap: balance;
  }

  .ame-cta-actions {
    width: 100%;
  }

  .ame-cta-button {
    width: 100%;
    text-align: center;
  }
}

/* News slider buttons: add border/shadow for visibility on white */
.news-prev, .news-next {
  background: #ffffff;
  border: 1px solid #000000;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  color: #000;
}

/* Explicitly remove gradient/image backgrounds Webflow applied on certain sections/blocks */
.features-section,
.network-section,
.backoffice-section,
.section-405,
.section-406,
.map-section,
.testimonial-slider,
.testimonial-slider-small,
.network-stats,
.cta-container,
.cta-band {
  background: #ffffff !important;
  background-image: none !important;
}

/* CTA text on white: switch to black for readability */
.cta-paragraph,
.heading-style-h2.text-align-center.is-heading-cta { color: #000 !important; }

/* CTA section: keep wrapper only slightly larger than its container */
.cta-section {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

/* Featured application CTA button */
.application-feature-cta { display: flex; justify-content: center; margin-top: 18px; }
.cta-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 9999px;
  background: linear-gradient(135deg,#CB480E,#E96429);
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(203,72,14,0.18);
}
.cta-read-more .cta-icon svg { display: block; }
.cta-read-more:hover { filter: brightness(1.05); box-shadow: 0 12px 26px rgba(203,72,14,0.22); }
.cta-read-more:active { transform: translateY(1px); }

/* Framer-style tilted image section (home) */
.ame-framer-section {
  background: transparent !important;
  margin-top: 18px;
  margin-bottom: 36px;
}

.ame-framer-stage {
  max-width: 75rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
  perspective: 1100px;
}

/* Network section: commission overlay centered beneath right globe */
.ame-network-globes {
  position: relative;
}

/* Place the stat card under the right half of the image */
.ame-network-globes-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

.ame-network-globes-row .ame-network-commission {
  width: min(360px, 100%);
  justify-self: center;
}

/* Reuse the site-stats card look for the network commission card */
.ame-network-commission.stat-card {
  display: flex;
  gap: 16px;
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  border: 1px solid rgba(17,23,41,0.06);
}

.ame-network-commission .stat-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg,#CB480E,#E96429);
  box-shadow: 0 6px 14px rgba(203,72,14,0.12);
}

.ame-network-commission .stat-icon img {
  width: 32px;
  height: 32px;
  display: block;
}

.ame-network-commission .stat-body { flex: 1; min-width:0 }
.ame-network-commission .stat-label {font-size:13px;color:#677489;text-transform:uppercase;letter-spacing:0.04em;margin:0 0 6px}
.ame-network-commission .stat-value {font-size:clamp(18px,2.4vw,28px);font-weight:700;color:#0e121b;margin:0;line-height:1;word-break:break-word}
.ame-network-commission .stat-value.currency {font-size:clamp(16px,2.0vw,22px)}
.ame-network-commission .stat-note {font-size:13px;color:#97a3b6;margin-top:6px}

@media screen and (max-width: 767px) {
  .ame-network-globes-row {
    grid-template-columns: 1fr;
    margin-top: 14px;
  }

  .ame-network-globes-row .ame-network-commission {
    width: min(360px, 92vw);
  }
}

.ame-framer-card {
  width: min(92vw, 820px);
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.10);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.98));
  box-shadow:
    0 34px 80px rgba(17,23,41,0.18),
    0 8px 18px rgba(17,23,41,0.10);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transform: rotateX(28deg) rotateY(-22deg) rotateZ(2deg);
}

.ame-framer-image {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .ame-framer-section { margin-top: 10px; margin-bottom: 18px; }
  .ame-framer-card { transform: rotateX(22deg) rotateY(-16deg) rotateZ(1.5deg); }
}

@media (max-width: 767px) {
  .read-more-section { margin-bottom: 42px !important; }
  .ame-framer-section { margin-top: 12px; }
}

/* FAQ section: keep wrapper only slightly larger than its container */
.section-faq {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

/* Testimonials: remove any bottom border/shadow artifacts */
.testimonial-slider-small,
.testimonial-slider-small .container-3,
.testimonial-slider-small .testimonial-wrap,
.testimonial-slider-small .w-slider {
  border-bottom: 0 !important;
  box-shadow: none !important;
}
.testimonial-slider-small::after,
.testimonial-slider-small::before {
  content: none !important;
}

/* Anchor scrolling: keep section headers visible below the fixed navbar */
html { scroll-padding-top: 0; }
#features, #value, #network, #pricing, #news, #info { scroll-margin-top: 0; }

/* Ensure anchored sections show headers fully beneath navbar */
#network { scroll-margin-top: 180px; }

/* When navigating via hash, avoid slide-up shifting content under navbar */
:target .scroll-reveal { transform: translate3d(0,0,0) !important; transition: none !important; }

/* Application section layout */
.application-section {
  padding: 3.5rem 0;
  background-image: url("../assets/bg-application-ecosystem.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.section-home-hero + .application-section {
  margin-top: 240px !important; /* triple the default 80px gap between sections */
}

/* Featured application section: single big card with connected values */
.application-section.application-featured { padding-top: 2.8rem; padding-bottom: 2.8rem; }
.application-feature-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 44px;
}
.feature-connectors {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.feature-connector {
  fill: none;
  stroke: rgba(233,100,41,0.55);
  stroke-width: 6px;
  stroke-linecap: round;
}
.feature-value { max-width: 560px; }
.feature-value.is-top { align-self: flex-start; }
.feature-value.is-middle { align-self: center; }
.feature-value.is-bottom { align-self: flex-end; }
.feature-image { display: block; margin: 0 0 10px 0; overflow: hidden; }
.feature-image.is-circle { width: 220px; height: 220px; border-radius: 50%; box-shadow: 0 14px 34px rgba(17,23,41,0.14); border: 1px solid rgba(0,0,0,0.10); }
.feature-image.is-rect { width: 320px; height: 200px; border-radius: 18px; box-shadow: 0 14px 34px rgba(17,23,41,0.14); border: 1px solid rgba(0,0,0,0.10); }
.feature-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-title { margin: 6px 0 6px; font-size: 1.15rem; font-weight: 700; }
.feature-text { margin: 0; color: #5f6b78; }

@media (max-width: 991px) {
  .application-feature-card { gap: 36px; }
  .feature-image.is-circle { width: 200px; height: 200px; }
  .feature-image.is-rect { width: 300px; height: 188px; }
}
@media (max-width: 767px) {
  .application-section.application-featured { padding-top: 2.2rem; padding-bottom: 2.2rem; }
  .feature-connectors { display: none; }
  .application-feature-card { gap: 24px; }
  .feature-value { align-self: stretch; }
  .feature-image.is-circle { width: 160px; height: 160px; }
  .feature-image.is-rect { width: 100%; height: 180px; }
  .feature-title { font-size: 1.1rem; }
}
.application-section .w-container { max-width: 1100px; }
/* Hero heading: make the second line larger */
.section-home-hero .heading .heading-bigger {
  display: inline-block;
  font-size: 1.1em !important;
  line-height: 1.08;
}
/* Subhead: desktop vs mobile variants */
.section-home-hero .is-subhead-hero .subhead-mobile { display: none; }
@media (max-width: 767px) {
  .section-home-hero .is-subhead-hero .subhead-desktop { display: none; }
  .section-home-hero .is-subhead-hero .subhead-mobile { display: inline; }
}
@media (max-width: 991px) {
  .section-home-hero .heading .heading-bigger { font-size: 1.1em !important; }
}
@media (max-width: 767px) {
  .section-home-hero .heading .heading-bigger { font-size: 1.1em !important; }
}
/* Application section anchor offset for sticky banner */
#ecosystem { scroll-margin-top: 140px; }
/* Application switcher: rectangular cards with focused details */
.application-section.application-stacked { padding-top: 3.2rem; padding-bottom: 3.2rem; }
.stacked-wrap { position: relative; min-height: 600px; }
.stack-card {
  position: absolute;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  padding: 14px;
  height: auto; /* grow to fit text */
  transition: transform 260ms ease, box-shadow 260ms ease, z-index 0s step-end;
}
.stack-media { width: 38%; min-width: 180px; height: 160px; border-radius: 12px; overflow: hidden; border: 1px solid rgba(0,0,0,0.10); }
.stack-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stack-body { flex: 1; }
.stack-title { margin: 0 0 6px 0; font-size: 1.05rem; font-weight: 700; }
.stack-text { margin: 0; color: #5f6b78; }

.stack-card.is-first { position: relative; width: 520px; left: 0; top: 0; z-index: 3; }
.stack-card.is-second { width: 600px; left: 120px; top: 80px; z-index: 2; }
.stack-card.is-third { width: 660px; left: 240px; top: 160px; z-index: 1; }

.stack-card.is-second .stack-body,
.stack-card.is-third .stack-body { opacity: 0.45; filter: blur(0.5px); transition: opacity 200ms ease, filter 200ms ease; }
/* When any card is hovered, dim non-hover cards and reveal hovered one */
.stacked-wrap:has(.stack-card:hover) .stack-card:not(:hover) .stack-body { opacity: 0.45; filter: blur(0.5px); }
.stack-card:hover .stack-body { opacity: 1; filter: none; }
.stack-card:hover { transform: translate(-40px, -30px); box-shadow: 0 22px 48px rgba(0,0,0,0.12); z-index: 4; }

@media (max-width: 991px) {
  .stacked-wrap { min-height: 360px; }
  .stack-card { position: static; width: auto; height: auto; margin: 0 0 14px 0; }
  .stack-media { height: 180px; }
  .stack-card.is-second .stack-body,
  .stack-card.is-third .stack-body { opacity: 1; max-height: none; pointer-events: auto; }
}
@media (max-width: 767px) {
  .stack-media { height: 160px; min-width: 140px; }
}

.application-header { max-width: 720px; margin: 0 auto 28px; text-align: center; }
.application-header .paragraph { color: #6b6b6b; margin-bottom: 0; }

.application-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}

.application-value {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Excerpt area aligns via JS by adding sentences; no fixed min-height */

.application-value-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.application-value-frame {
  background: rgba(255,255,255,0.98);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.12);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px;
  overflow: hidden; /* clip zoomed image within frame */
}

.application-value-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 240ms ease-out; /* slightly longer, smoother zoom */
  will-change: transform;
  transform-origin: center center;
  background-color: transparent !important; /* ignore image backgrounds */
  mix-blend-mode: normal; /* avoid blending with frame bg */
}

/* Hover zoom: subtle enlargement on desktop/tablet */
.application-value-frame:hover .application-value-image {
  transform: scale(1.12);
}

.application-value-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg,#CB480E,#E96429);
  box-shadow: 0 6px 14px rgba(203,72,14,0.12);
}

.application-value-icon img { width: 35px; height: 35px; display: block; object-fit: contain; }

.application-value-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.application-value-text { margin: 0; color: #5f6b78; display: block; overflow: visible; }

.application-value-more.w-button {
  justify-self: start;
  align-self: flex-start;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1;
}

/* Hide Read more buttons when full text is always shown */
.application-value-more { display: none !important; }

@media (max-width: 991px) {
  .application-values { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; }
  .application-value-frame { height: 230px; }
}

@media (max-width: 767px) {
  .application-header { text-align: left; margin-bottom: 18px; }
  .application-values { grid-template-columns: 1fr; gap: 18px; }
  .application-value-frame { display: none; }

  /* Mobile: render each value as a card with frame/border */
  .application-value {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    padding: 14px;
  }

  /* Mobile: tighten header spacing and shrink icon ~50% */
  .application-value-head { gap: 10px; }
  .application-value-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(203,72,14,0.12);
  }
  .application-value-icon img { width: 18px; height: 18px; object-fit: contain; }
}

/* Investor Relations modal */
.ir-overlay { position: fixed; inset: 0; background: rgba(6,10,14,0.5); display: none; align-items: center; justify-content: center; z-index: 9999; }
.ir-modal { background: #fff; width: 420px; max-width: calc(100% - 32px); border-radius: 12px; padding: 20px; box-shadow: 0 20px 60px rgba(2,6,23,0.4); }
.ir-modal h3 { margin: 0 0 8px 0; }
.ir-modal .ir-field { width: 100%; padding: 10px; margin: 8px 0; border: 1px solid #e6e6e6; border-radius: 8px; }
.ir-buttons { display:flex; gap:8px; justify-content:flex-end; margin-top:8px; }
.ir-error { color:#b00020; font-size:0.95rem; margin-top:8px; display:none }
.ir-close { position:absolute; right:12px; top:10px; background:transparent;border:0;font-size:20px;cursor:pointer }

/* show overlay when .is-visible applied */
.ir-overlay.is-visible { display:flex }

/* Investor section: embedded prospectus */
.investor-section { padding: 3rem 0; }
.investor-doc-wrap { max-width: 980px; margin: 0 auto; border: 1px solid #e6e6e6; border-radius: 10px; overflow: hidden; }
.investor-doc { width: 100%; height: 640px; border: 0; display: block; }
.investor-section .button { margin-top: 8px; }

/* IR: key metrics dashboard */
.ir-metrics-section { margin-top: 56px; padding: 3rem 0 3rem; }
.ir-metrics-section .heading-2 { margin-bottom: 28px; }
.ir-kpi-grid { display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ir-kpi-grid .news-card { min-width: 0; min-height: 230px; }

.ir-kpi-top { margin-bottom: 12px; }
.ir-kpi-title { margin: 0 0 6px 0; font-size: 1rem; }
.ir-kpi-value { font-size: 1.55rem; font-weight: 700; color: #0e121b; line-height: 1.1; }
.ir-kpi-sub { margin-top: 4px; font-size: 0.9rem; color: #666; }

.ir-kpi-viz { margin-top: auto; display: flex; gap: 14px; align-items: center; justify-content: space-between; }
.ir-kpi-gauge { width: 56px; height: 56px; flex: 0 0 56px; }
.ir-kpi-gauge-track { fill: none; stroke: rgba(17,23,41,0.10); stroke-width: 3.2; }
.ir-kpi-gauge-fill { fill: none; stroke: #CB480E; stroke-width: 3.2; stroke-linecap: round; }

.ir-kpi-spark { width: 100%; height: 36px; }
.ir-kpi-spark-line { fill: none; stroke: rgba(203,72,14,0.85); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 900px) {
  .investor-doc { height: 420px; }
}

@media (max-width: 991px) {
  .ir-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .ir-kpi-grid { grid-template-columns: 1fr; }
}

/* IR: Tabbed dashboard */
.ir-tabs {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(17,23,41,0.06);
  overflow: hidden;
}
.ir-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 12px;
}
.ir-updated { color: #677489; font-size: 0.95rem; }

/* IR Heatmap styles */
.ir-heatmap {
  width: 100%;
  height: 420px;
}
.ir-map-geo path { vector-effect: non-scaling-stroke; }
.ir-map-tooltip {
  position: absolute;
  pointer-events: none;
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 0.9rem;
  transform: translate(-50%, -120%);
  white-space: nowrap;
  z-index: 10;
}
.ir-chart-tooltip {
  position: absolute;
  pointer-events: none;
  background: rgba(17,23,41,0.9);
  color: #fff;
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 10;
}
.ir-map-legend { margin-top: 10px; }
.ir-legend-bar {
  height: 10px;
  border-radius: 6px;
  background: linear-gradient(90deg, #6b7280 0%, #0a8f35 10%, #ffd84d 50%, #e22e2e 100%);
}
.ir-legend-labels { display:flex; justify-content:space-between; font-size:0.85rem; color:#49566a; margin-top:4px; }

/* Trend toggles and charts */
.ir-trend-toggle {
  margin-left: 6px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #0f172a;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1;
  padding: 2px 6px;
  cursor: pointer;
}
.ir-trend { margin-top: 6px; }
.ir-trend svg { display:block }
.ir-metric-row.ir-trend-open .ir-trend { grid-column: 1 / -1; }
.ir-tablist {
  display: flex;
  gap: 6px;
  padding: 10px;
  border-bottom: 1px solid #eee;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.ir-tab {
  appearance: none;
  background: #f7f8fa;
  border: 1px solid #e6e6e6;
  color: #0e121b;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.92rem;
  white-space: nowrap;
  cursor: pointer;
}
.ir-tab[aria-selected="true"] {
  background: #ffffff;
  border-color: #CB480E;
  color: #CB480E;
  box-shadow: 0 6px 16px rgba(203,72,14,0.08);
}
.ir-panels { padding: 14px; }
.ir-tabpanel[hidden] { display: none; }

/* Metric list layout inside a panel */
.ir-metric-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.ir-metric-list.two-col {
  grid-template-columns: repeat(2, minmax(0,1fr));
}
@media (max-width: 767px) {
  .ir-metric-list.two-col { grid-template-columns: 1fr; }
}
.ir-metric-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #f2f2f2;
}
.ir-metric-row:last-child { border-bottom: 0; }
.ir-metric-label { color: #49566a; }
.ir-metric-value { font-weight: 700; color: #0e121b; }

.ir-bullets { margin: 6px 0 0 1rem; }
.ir-bullets li { margin: 6px 0; color: #333; }
.ir-bullets.highlight { margin-left: 0; }
.ir-bullets.highlight li { margin: 8px 0; font-size: 1rem; }

/* IR: Delta badges (daily change shown in brackets) */
.ir-delta { margin-left: 6px; font-weight: 600; }
.ir-delta.is-positive { color: #0a8f35; }
.ir-delta.is-negative { color: #c4172a; }
.ir-delta.is-neutral { color: #667085; }

.news-section .heading-2 { margin-bottom: 0.5rem; }
.news-section .paragraph { margin-bottom: 1rem; color: #6b6b6b; }
.news-slider { position: relative; overflow: hidden; width: 100%; }
.news-track { display: flex; gap: 18px; transition: transform 600ms ease; will-change: transform; }
.news-card { background: #fff; border-radius: 12px; padding: 24px 16px 38px; padding-top: 48px; min-width: 300px; box-shadow: 0 6px 18px rgba(31,31,31,0.06); display: flex; flex-direction: column; position: relative; border: 1px solid rgba(0,0,0,0.08); }
.news-card .news-thumb { width: 100%; height: 180px; object-fit: cover; object-position: 50% 20%; border-radius: 8px; margin-bottom: 10px; }

@media (max-width: 991px) {
  .news-card .news-thumb { height: 170px; }
}

@media (max-width: 767px) {
  .news-card .news-thumb { height: 160px; object-fit: contain; object-position: center; background: #f3f4f6; }
}
.news-card h4 { margin: 0 0 6px 0; font-size: 1rem; }
.news-card p { margin: 0; color: #555; font-size: 0.95rem; }
.news-date { position: absolute; right: 12px; bottom: 10px; font-size: 0.85rem; color: #888; }

.news-star { position: absolute; right: 10px; top: 12px; width: 32px; height: 32px; border-radius: 10px; border: 1px solid #eee; background: rgba(255,255,255,0.92); color: #9aa0a6; display: grid; place-items: center; cursor: pointer; padding: 0; line-height: 1; }
.news-star.is-featured { color: #CB480E; border-color: rgba(203,72,14,0.25); }
/* Top News toggle */
.news-top-toggle { position: absolute; right: 52px; top: 12px; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.92); padding: 6px 10px; border-radius: 12px; border: 1px solid #eee; font-size: 0.85rem; color: #444; }
.news-top-toggle .news-top-input { width: 36px; height: 20px; }
.news-top-toggle .news-top-label { user-select: none; }
.news-prev, .news-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.9); border: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0,0,0,0.08); cursor: pointer; }
.news-prev { left: 8px; }
.news-next { right: 8px; }
.news-prev:active, .news-next:active { transform: translateY(-50%) scale(0.98); }

.news-link { color: #CB480E; display:inline-block; margin-top:8px; }

/* News modal (long articles) */
.ame-news-modal-backdrop { position: fixed; inset: 0; background: rgba(8, 10, 14, 0.62); z-index: 9998; display: none; align-items: center; justify-content: center; padding: 24px; }
.ame-news-modal-backdrop.is-open { display: flex; }
.ame-news-modal { width: min(860px, 100%); max-height: min(80vh, 780px); overflow: auto; background: #fff; border-radius: 16px; border: 1px solid rgba(0,0,0,0.08); box-shadow: 0 20px 60px rgba(0,0,0,0.30); padding: 22px 22px 18px; position: relative; }
.ame-news-modal-title { margin: 0 0 6px 0; font-size: 1.25rem; color: #0e121b; }
.ame-news-modal-meta { margin: 0 0 14px 0; color: #6b6b6b; font-size: 0.95rem; }
.ame-news-modal-body { color: #2b2b2b; font-size: 1rem; line-height: 1.55; white-space: normal; }
.ame-news-modal-body p { margin: 0 0 12px 0; }
.ame-news-modal-body p:last-child { margin-bottom: 0; }
.news-full p { margin: 0 0 12px 0; }
.news-full p:last-child { margin-bottom: 0; }
.ame-news-modal-body > p + p { margin-top: 12px; }
.news-full > p + p { margin-top: 12px; }
.ame-news-article-body p { margin: 0 0 12px 0; }
.ame-news-article-body p:last-child { margin-bottom: 0; }
.ame-news-article-body > p + p { margin-top: 12px; }
.ame-news-modal-close { position: sticky; top: 0; float: right; margin-left: 12px; border: 0; background: rgba(0,0,0,0.06); color: #111; width: 36px; height: 36px; border-radius: 12px; cursor: pointer; }
.ame-news-modal-close:hover { background: rgba(0,0,0,0.10); }

/* Scroll reveal animations */
.scroll-reveal {
  opacity: 1; /* keep content visible the whole time */
  transform: translate3d(0, var(--sr-offset, 220px), 0);
  transition: transform var(--sr-duration, 1100ms) cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  backface-visibility: hidden;
}
.scroll-reveal.sr-in {
  transform: translate3d(0, 0, 0);
}

/* News page (list view) layout */
.news-list-section { padding-top: 120px; padding-bottom: 72px; }
.news-list-header { position: relative; margin-bottom: 2rem; }
.news-page-title { text-align: center; margin-bottom: 0; }
.news-admin-btn { position: absolute; top: 50%; right: 0; transform: translateY(-50%); background: none; border: none; color: #888; font-size: 1rem; opacity: 0.6; cursor: pointer; padding: 6px 8px; }
.news-admin-btn:hover { opacity: 0.9; }

.news-list-section .news-articles { display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.news-list-section .news-card { min-width: 0; }

.news-admin { margin: 0 0 1.5rem 0; padding: 14px; border: 1px solid #f0f0f0; border-radius: 12px; background: #fff; }
.news-admin-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: center; }
.news-admin-input { width: 100%; padding: 10px; border: 1px solid #e6e6e6; border-radius: 10px; }
.news-admin-textarea { width: 100%; padding: 10px; border: 1px solid #e6e6e6; border-radius: 10px; resize: vertical; }
.news-admin-actions { display: flex; gap: 10px; justify-content: flex-start; align-items: center; margin-top: 10px; }
.news-admin-error { margin-top: 10px; color: #b00020; font-size: 0.95rem; }
.news-admin-list { margin-top: 12px; }
.news-admin-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid #f2f2f2; }
.news-admin-item-label { color: #333; font-size: 0.95rem; }
.news-admin-item-actions { display: flex; gap: 10px; }

@media (max-width: 991px) {
  .news-list-section { padding-top: 100px; }
  .news-list-section .news-articles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-admin-row { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .news-list-section { padding-top: 96px; }
  .news-admin-btn { position: static; transform: none; display: block; margin: 10px auto 0 auto; }
  .news-list-section .news-articles { grid-template-columns: 1fr; }
}

/* manager UI removed from static, but keep list styles if needed in Webflow */
.news-list { list-style:none; padding:0; margin:8px 0 0 0; }
.news-list li { display:flex; justify-content:space-between; gap:8px; align-items:center; padding:8px 0; border-bottom:1px solid #f2f2f2; }


@media (max-width: 767px) {
  .news-card { min-width: 260px; }
  .news-prev, .news-next { width: 32px; height: 32px; }
}

/* Pricing: keep 30px gutters on tablet (match other sections) */
@media (min-width: 768px) and (max-width: 991px) {
  #pricing.backoffice-section { padding-left: 30px; padding-right: 30px; }
}

/* Pricing: make non-popular cards end at .pricing-card-inner-2 (no outer wrapper shadow/radius) */
#pricing .pricing-card-wrapper:not(.is-popular) {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

/* Pricing: apply the slider behavior ONLY on mobile */
@media (max-width: 767px) {
  /* Prevent horizontal page dragging caused by overflow/slider transforms */
  html, body { overflow-x: hidden; }
  .page-wrapper { overflow-x: hidden; }

  /* Mobile: keep gutters minimal and consistent */
  #pricing.backoffice-section { padding-left: 1rem; padding-right: 1rem; }

  /* The pricing section is a flex container; prevent the inner .w-container auto-margins from centering/narrowing the content */
  #pricing .backoffice-container {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  /* Pricing uses a slider viewport; avoid clipping the card shadows */
  #pricing { overflow: visible; }
  #pricing.backoffice-section { overflow: visible; }

  /* Keep pricing aligned to the testimonial slider width (.slider max-width: 714px) */
  #pricing .pricing-slider { width: 100%; }

  /* Keep heading/intro readable even with flush cards */
  #pricing .backoffice-container > .heading-2,
  #pricing .backoffice-container > .paragraph {
    box-sizing: border-box;
    width: 100%;
    max-width: 714px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Viewport */
  #pricing .pricing-card-list-wrapper {
    margin-top: 2rem;
    display: block;
    overflow: hidden;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding: 2px 0 8px;
    touch-action: pan-y;
  }

  /* Track */
  #pricing .pricing-track {
    display: flex;
    grid-column-gap: 0;
    grid-row-gap: 0;
    transition: transform 320ms ease;
    will-change: transform;
  }

  /* Slides */
  #pricing .pricing-card-wrapper {
    flex: 0 0 100%;
    width: 100%;
  }

  /* Controls on the left/right sides (like earlier) */
  #pricing .pricing-slider { position: relative; }

  #pricing .pricing-controls {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  #pricing .pricing-prev,
  #pricing .pricing-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    cursor: pointer;
    pointer-events: auto;
  }

  #pricing .pricing-prev { left: 8px; }
  #pricing .pricing-next { right: 8px; }

  #pricing .pricing-prev:active,
  #pricing .pricing-next:active { transform: translateY(-50%) scale(0.98); }
}

/* Hide the mobile slider controls on larger screens */
@media (min-width: 768px) {
  #pricing .pricing-controls { display: none; }

  /* Restore original desktop layout: 3 packages side-by-side */
  #pricing .pricing-card-list-wrapper { display: block; overflow: visible; }
  #pricing .pricing-track {
    display: flex;
    gap: 1.25rem;
    transform: none !important;
    transition: none;
  }
  #pricing .pricing-card-wrapper {
    flex: 1 1 0;
    width: auto;
  }
}

/* Navbar sizing tweaks */
.navbar-component {
  min-height: 58px;
  height: 58px;
}

/* Keep mobile menu workable when opened */
.navbar-component.w--open {
  height: auto;
}
/* Force exact logo size across pages */
.navbar-logo { width: 185px; height: 36px; max-width: none; }

/* Navbar buttons: make ~20% smaller (header only) */
.navbar-component .navbar-menu-buttons .button.is-small {
  font-size: 0.7rem;
  padding: 0.45rem 1.2rem;
}
.navbar-component .navbar-menu-buttons .button.is-secondary.is-small {
  padding: 0.32rem 1rem;
}
.navbar-component .navbar-menu-buttons .button.is-small.order-first-mobile {
  padding: 0.32rem 1rem;
}

@media (max-width: 991px) {
  .navbar-logo { width: 185px; height: 36px; }
}

/* ---------------------------- */
/* Cookie consent (AME custom)  */
/* ---------------------------- */

.ame-cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 99999;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(17, 23, 41, 0.12);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 50px rgba(17, 23, 41, 0.18);
  backdrop-filter: blur(10px);
}

.ame-cookie-banner.is-hidden { display: none; }

.ame-cookie-banner__left {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
}

.ame-cookie-banner__icon,
.ame-cookie-modal__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #CB480E, #E96429);
  color: #ffffff;
  flex: 0 0 auto;
}

.ame-cookie-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.ame-cookie-banner__text { min-width: 0; }
.ame-cookie-banner__title {
  font-weight: 700;
  color: #0e121b;
  font-size: 14px;
  line-height: 1.2;
}

.ame-cookie-banner__body {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(14, 18, 27, 0.78);
  max-width: 62ch;
}

.ame-cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.ame-cookie-btn {
  appearance: none;
  border: 1px solid rgba(17, 23, 41, 0.14);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
  background: #ffffff;
  color: #0e121b;
}

.ame-cookie-btn:hover { box-shadow: 0 10px 18px rgba(17, 23, 41, 0.10); }

.ame-cookie-btn--primary {
  border-color: transparent;
  background: linear-gradient(135deg, #CB480E, #E96429);
  color: #ffffff;
}

.ame-cookie-btn--secondary {
  background: rgba(17, 23, 41, 0.04);
}

.ame-cookie-btn--ghost {
  background: transparent;
}

.ame-cookie-settings {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 99998;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(17, 23, 41, 0.14);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(17, 23, 41, 0.16);
  color: #0e121b;
  cursor: pointer;
}

.ame-cookie-settings__label {
  font-size: 13px;
  font-weight: 600;
}

.ame-cookie-modal-open { overflow: hidden; }

.ame-cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(14, 18, 27, 0.54);
  z-index: 100000;
  display: none;
  padding: 18px;
}

.ame-cookie-modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ame-cookie-modal__card {
  width: 100%;
  max-width: 820px;
  max-height: 86vh;
  overflow: hidden;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(0,0,0,0.35);
  border: 1px solid rgba(17, 23, 41, 0.10);
  display: flex;
  flex-direction: column;
}

.ame-cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px;
  border-bottom: 1px solid rgba(17, 23, 41, 0.10);
}

.ame-cookie-modal__header-left {
  display: flex;
  gap: 12px;
  align-items: center;
}

.ame-cookie-modal__title {
  font-size: 16px;
  font-weight: 800;
  color: #0e121b;
  line-height: 1.2;
}

.ame-cookie-modal__subtitle {
  margin-top: 2px;
  font-size: 13px;
  color: rgba(14, 18, 27, 0.74);
}

.ame-cookie-modal__close {
  border: 1px solid rgba(17, 23, 41, 0.14);
  background: rgba(17, 23, 41, 0.04);
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.ame-cookie-modal__body {
  padding: 14px 16px;
  overflow: auto;
}

.ame-cookie-modal__section-title {
  font-size: 12px;
  font-weight: 800;
  color: rgba(14, 18, 27, 0.70);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.ame-cookie-cat {
  border: 1px solid rgba(17, 23, 41, 0.10);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 12px;
}

.ame-cookie-cat__header {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.ame-cookie-cat__title {
  font-weight: 800;
  color: #0e121b;
  font-size: 14px;
}

.ame-cookie-cat__desc {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(14, 18, 27, 0.78);
}

.ame-cookie-toggle {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.ame-cookie-toggle__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ame-cookie-toggle__track {
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: rgba(17, 23, 41, 0.18);
  border: 1px solid rgba(17, 23, 41, 0.12);
  position: relative;
  transition: background 160ms ease, border-color 160ms ease;
  flex: 0 0 auto;
}

.ame-cookie-toggle__thumb {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
  position: absolute;
  top: 1px;
  left: 1px;
  transition: transform 160ms ease;
}

.ame-cookie-toggle__text {
  font-size: 12px;
  font-weight: 700;
  color: rgba(14, 18, 27, 0.78);
}

.ame-cookie-toggle__input:checked + .ame-cookie-toggle__track {
  background: linear-gradient(135deg, #CB480E, #E96429);
  border-color: rgba(0,0,0,0);
}

.ame-cookie-toggle__input:checked + .ame-cookie-toggle__track .ame-cookie-toggle__thumb {
  transform: translateX(18px);
}

.ame-cookie-toggle__input:disabled + .ame-cookie-toggle__track {
  opacity: 0.7;
}

.ame-cookie-toggle__input:disabled ~ .ame-cookie-toggle__text {
  opacity: 0.85;
}

.ame-cookie-modal__footer {
  padding: 14px 16px;
  border-top: 1px solid rgba(17, 23, 41, 0.10);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.ame-cookie-modal__footnote {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(14, 18, 27, 0.74);
}

.ame-cookie-link {
  color: #CB480E;
  text-decoration: underline;
  font-weight: 700;
}

@media (max-width: 767px) {
  .ame-cookie-banner { left: 12px; right: 12px; bottom: 12px; flex-direction: column; align-items: stretch; }
  .ame-cookie-banner__actions { justify-content: stretch; }
  .ame-cookie-btn { width: 100%; }
  .ame-cookie-settings__label { display: none; }
  .ame-cookie-cat__header { flex-direction: column; align-items: flex-start; }
  .ame-cookie-toggle { align-self: flex-start; }
}

/* Pillar card embedded stat styling — make stat card match pillar width */
.pillar-card .stat-card,
.pillar-stat {
  width: 100%;
  box-sizing: border-box;
  margin-top: 14px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border-radius: 10px;
  border: 1px solid rgba(17,23,41,0.06);
  box-shadow: 0 8px 20px rgba(17,23,41,0.06);
}
.pillar-card .stat-icon,
.pillar-stat .stat-icon { flex: 0 0 44px; width:44px; height:44px; display:flex; align-items:center; justify-content:center; border-radius:8px; background: linear-gradient(135deg,#CB480E,#E96429); }
.pillar-card .stat-icon img,
.pillar-stat .stat-icon img { width:28px; height:28px; display:block }
.pillar-card .stat-body,
.pillar-stat .stat-body { flex:1; min-width:0 }

/* Position the outside stat as a grid item centered under the middle pillar */
.w-layout-grid.pillars-grid .pillar-card-stat-outside { grid-column: 2 / 3; justify-self: center; width: min(360px, 100%); margin-top: 18px; }

@media screen and (max-width: 767px) {
  .w-layout-grid.pillars-grid .pillar-card-stat-outside { grid-column: 1 / -1; width: 92vw; }
}

/* (heading split reverted) */

/* Network heading: constrain and center the H2 to 55rem */
.map-section .heading-2 {
  max-width: 55rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Read more section spacing adjustment (desktop only) */
@media (min-width: 768px) {
  .read-more-section { margin-top: 11px !important; }
}

/* Mobile-only: ensure home hero box has sufficient min-height */
@media (max-width: 767px) {
  .home-hero-box-wrapper { min-height: 450px !important; }
}

/* Mobile-only: extra top spacing for large vertical container */
@media (max-width: 767px) {
  .w-layout-vflex.container-large { margin-top: 120px !important; }
}

/* Contact Us: address columns should be white with black text */
html[data-wf-page="68aedcdfbc19d1e33849eeac"] .columns.w-row {
  background-color: #ffffff !important;
  color: #000000 !important;
}

html[data-wf-page="68aedcdfbc19d1e33849eeac"] .columns.w-row .text-block-2,
html[data-wf-page="68aedcdfbc19d1e33849eeac"] .columns.w-row .text-block-3 {
  color: #000000 !important;
}

/* Contact Us: hero section background should be white */
html[data-wf-page="68aedcdfbc19d1e33849eeac"] .section-contact-us-hero {
  background-color: #ffffff !important;
}

/* Contact Us: the page wrapper uses the "on-about" dark gradient; override to white */
html[data-wf-page="68aedcdfbc19d1e33849eeac"] .page-wrapper.on-about {
  background-color: #ffffff !important;
  background-image: none !important;
}

/* Contact Us: ensure the hero box itself is white (not transparent over the wrapper) */
html[data-wf-page="68aedcdfbc19d1e33849eeac"] .contact-us-box-wrap {
  background-color: #ffffff !important;
}

/* Contact Us: neutralize any hero background layers */
html[data-wf-page="68aedcdfbc19d1e33849eeac"] .background-hero-wrap.is-contact-us {
  background-color: #ffffff !important;
  background-image: none !important;
}


