* {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Site-wide background (match Retail Groups / Partners / Our Journey pages) */
html,
body {
  background-color: aliceblue;
  overflow-x: hidden;
}

body {
  /* Reserve space for the fixed header once only.
     Applying this to both html and body doubled the gap below the menu. */
  padding-top: var(--top-ui-offset);
}


/* Viewport-filling hero support
   We cannot control a visitor's browser zoom. Instead, we ensure the
   opening (above-the-fold) section fills the visible viewport minus the
   fixed UI at the top (header and optional language bar).
*/
:root{
  /*
    Height reserved for the fixed top header.
    This prevents content sitting underneath the header
    and keeps the hero min-height calculation accurate.
  */
  --top-ui-offset: 76px;
  --vh-hero-min: calc(100vh - var(--top-ui-offset));
  --nav-item-font: clamp(0.95rem, 0.85rem + 0.35vw, 1.1rem);
}
@supports (height: 100svh){
  :root{
    --vh-hero-min: calc(100svh - var(--top-ui-offset));
  }
}
.vh-hero{
  min-height: var(--vh-hero-min);
}
li{
  list-style: none;
}
a{
  text-decoration: none;
  color:black;
  font-size: 1rem;
}
a:hover{
  color: #1D71B8
}

/*
  Enable a "frozen" (sticky) top navigation bar.
  Also add scroll padding so in-page anchor jumps do not land underneath the header.
*/
html{
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

/* Ensure in-page anchors (e.g., #testimonials) don't land under the sticky header */
section{
  scroll-margin-top: 92px;
}

/* HEADER */
header{
  /* Keep the top bar frozen/visible while scrolling (as per previous behaviour) */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 3000;
  padding: 0 clamp(1rem, 4vw, 2rem);
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  overflow: visible;
}

.navbar{
width: 100%;
  min-height: 64px;
  height: auto;
max-width: 1900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(1.75rem, 4.2vw, 5rem);
  overflow: visible;
}


.navbar .logo a{
  font-size: 1.5rem;
  font-weight: bold;
}


.navbar .nav-left{
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 0 0 auto;
}

.navbar .links a{
  font-size: var(--nav-item-font);
}

.navbar .nav-language select{
  font-size: var(--nav-item-font);
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.9);
  outline: none;
  max-width: 230px;
}
.navbar .links{
  display: flex;
  gap: clamp(1.25rem, 1.9vw, 2rem);
  align-items: center;
  flex: 0 0 auto;
  overflow: visible;
}

.navbar .toggle-btn{
  color: black;
  font-size: 1.5rem;
  display: none;
  cursor: pointer;
}

.action-btn{
  background-color: #1D71B8;
  color: #fff;
  padding: 0.75rem 1rem;
  border: none;
  outline: none;
  border-radius: 20px;
  font-size:  2.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: scale 0.2 ease;
}

.action-btn:hover{
  scale: 1.05;
  color: #fff;
}

.action-btn:active{
  scale: 0.95;
}

.chat-btn{
  background-color: #1D71B8;
  color: #fff;
  padding: 0.75rem 1rem;
  border: none;
  outline: none;
  border-radius: 20px;
  font-size:  2.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: scale 0.2 ease;
}

.chat-btn:hover{
  scale: 1.05;
  color: #fff;
}

.chat-btn:active{
  scale: 0.95;
}

.btn-desc{
  font-size: 1rem;
  color: #1D71B8;
}

/* Dropdown Menu */
.dropdown-menu{
  display: none;
  position: fixed;
  right: 1rem;
  top: 76px;
  width: min(92vw, 360px);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(0, 0, 0, 0.10);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
  border-radius: 12px;
  overflow: hidden;
  max-height: 0;
  padding: 0;
  transition: max-height 0.25s cubic-bezier(0.075, 0.82, 0.165, 1);
  z-index: 4200;
}

.dropdown-menu.open{
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  padding: 0.35rem 0;
}

.dropdown-menu li{
  padding: 0.65rem 0.9rem;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.dropdown-menu li a{
  width: 100%;
  display: block;
  text-align: left;
}

/* Mobile-friendly tooltip text inside the dropdown menu */
.dropdown-menu a[data-tooltip]::after{
  content: attr(data-tooltip);
  display: block;
  margin-top: 0.25rem;
  font-size: 1.05rem;
  line-height: 1.25;
  color: rgba(5, 44, 101, 0.85);
  white-space: normal;
}

.dropdown-menu .action-btn{
  width: 100%;
  display: flex;
  justify-content: center;
}
/* Hero */


/* HERO (Home page) */
section#hero{
  width: 100%;
  min-height: var(--vh-hero-min);
  background-color: aliceblue; /* fallback */
  position: relative;
  overflow: hidden;
  --hero-fade-ms: 1200ms;
}

/* Rotating hero background (dim images) — stays behind text, phone and CTAs */
#hero::before,
#hero::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity var(--hero-fade-ms) ease-in-out;
  will-change: opacity;
}

#hero::before{
  opacity: 1;
  background-image:
    linear-gradient(rgba(240,248,255,0.70), rgba(240,248,255,0.70)),
    image-set(
      var(--hero-bg-a-webp) type("image/webp"),
      var(--hero-bg-a-jpg) type("image/jpeg")
    );
}

#hero::after{
  opacity: 0;
  background-image:
    linear-gradient(rgba(240,248,255,0.70), rgba(240,248,255,0.70)),
    image-set(
      var(--hero-bg-b-webp) type("image/webp"),
      var(--hero-bg-b-jpg) type("image/jpeg")
    );
}

#hero.hero-bg--show-b::before{ opacity: 0; }
#hero.hero-bg--show-b::after{ opacity: 1; }

/* Ensure hero content renders above the background layers */
#hero .container{
  position: relative;
  z-index: 2;
}

/* Mobile: switch to mobile crops + slightly faster fade */
@media (max-width: 768px){
  #hero{ --hero-fade-ms: 1000ms; }

  #hero::before{
    background-image:
      linear-gradient(rgba(240,248,255,0.70), rgba(240,248,255,0.70)),
      image-set(
        var(--hero-bg-a-mobile-webp) type("image/webp"),
        var(--hero-bg-a-mobile-jpg) type("image/jpeg")
      );
  }

  #hero::after{
    background-image:
      linear-gradient(rgba(240,248,255,0.70), rgba(240,248,255,0.70)),
      image-set(
        var(--hero-bg-b-mobile-webp) type("image/webp"),
        var(--hero-bg-b-mobile-jpg) type("image/jpeg")
      );
  }
}

/*
  Desktop readability / opening balance
  We cannot (and should not) force browser zoom on desktop.
  Instead, gently scale typography and CTA sizing on larger viewports so the
  hero reads as "primary" on first load at 100% zoom.
*/

#hero h1{
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #052C65;
}

#hero .container{
  min-height: var(--vh-hero-min);
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding-top: clamp(28px, 4vh, 64px);
  padding-bottom: clamp(24px, 3vh, 56px);
  gap: clamp(18px, 2.5vh, 34px);
}

#hero .info{
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
  text-align: center;
}

#hero p{
  margin-bottom: 1rem;
  color: #1D71B8;
  font-size: 1.5rem;
}

#hero .hero-reassurance{
  font-size: 1.5rem;
  color: #052C65;
  font-weight: 600;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}


/* Hero split layout: text + right-hand visual (desktop), stacked (mobile) */
#hero .hero-grid{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 64px);
}

/* Desktop hero: place phone on the LEFT and text on the RIGHT to avoid the phone masking key image focal points */
@media (min-width: 901px){
  #hero .hero-grid{ flex-direction: row-reverse; }
}

#hero .info{
  flex: 1 1 520px;
}

#hero .hero-visual{
  flex: 0 0 min(520px, 42%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* Remove the light-blue surround so rotating hero images remain visible */
  background: transparent;
  border-radius: 28px;
  padding: 18px 18px 12px;
  box-shadow: none;
}

#hero .hero-phone-link{
  display: inline-block;
  line-height: 0;
  border-radius: 32px;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
  position: relative;
}

#hero .hero-phone-link:hover,
#hero .hero-phone-link:focus-visible{
  transform: translateY(-4px);
  filter: drop-shadow(0 16px 24px rgba(5,44,101,0.18));
}

#hero .hero-phone-link:focus-visible{
  outline: 3px solid rgba(29,113,184,0.35);
  outline-offset: 6px;
}

#hero .hero-phone{
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  border-radius: 0;
  /* Keep the phone readable across bright hero backgrounds */
  box-shadow: none;
  filter: drop-shadow(0 18px 36px rgba(0,0,0,0.22));
}

#hero .hero-phone-link:hover .hero-phone,
#hero .hero-phone-link:focus-visible .hero-phone{
  filter: drop-shadow(0 24px 42px rgba(0,0,0,0.28));
}

#hero .hero-demo-prompt{
  max-width: 420px;
  margin-top: 14px;
  margin-bottom: 0;
  /* Make it stand out, without competing with the main headline */
  font-size: 1.5rem;
  font-weight: 700;
  color: #052C65;
}

/* Nudge the phone block slightly INWARD on wide screens (keeps layout balanced) */
@media (min-width: 1100px){
  /* Phone is on the left at desktop sizes */
  #hero .hero-visual{ transform: none; }
}

#hero .demo-link{
  color: #1D71B8;
  font-weight: 700;
  text-decoration: underline;
}



/* Hero alignment helpers */
#hero h1{
  margin-top: 0;
}


#hero .hero-cta-guide{
  width: 100%;
  text-align: center;
  margin: 0 auto 1.1rem auto;
}

#hero .hero-cta-wide{
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 14px;
}

#hero .hero-cta-wide a{
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}


#hero .hero-cta-wide a.action-btn,
#hero .hero-cta-wide a.chat-btn{
  /* Taller primary CTAs for stronger emphasis */
  padding-top: 1.8rem;
  padding-bottom: 1.8rem;
}

/* Chat CTA: professional halo + gentle white-to-green pulse (icon + text) */
#hero .hero-cta-wide a.action-btn--chat{
  position: relative;
  overflow: visible;
  isolation: isolate; /* keep halo behind the button only */
}

/* Soft halo pulse behind the button */
#hero .hero-cta-wide a.action-btn--chat::before{
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 0 0 0 rgba(29, 113, 184, 0.28);
  animation: haccpChatHaloPulse 2.8s ease-in-out infinite;
}

/* Text pulse (mostly white, brief green accent) */
#hero .hero-cta-wide a.action-btn--chat span[data-lang="chat"]{
  animation: haccpChatColorPulse 4.6s ease-in-out infinite;
  text-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

/* Icon pulse using a "green-ish" CSS filter (works with the current white SVG) */
#hero .hero-cta-wide a.action-btn--chat .chat-icon{
  display: block;
  height: 1.4em;
  width: auto;
  animation: haccpChatIconPulse 4.6s ease-in-out infinite;
}

/* Pause attention effects on hover/focus (user has noticed it) */
#hero .hero-cta-wide a.action-btn--chat:hover::before,
#hero .hero-cta-wide a.action-btn--chat:focus-visible::before,
#hero .hero-cta-wide a.action-btn--chat:hover span[data-lang="chat"],
#hero .hero-cta-wide a.action-btn--chat:focus-visible span[data-lang="chat"],
#hero .hero-cta-wide a.action-btn--chat:hover .chat-icon,
#hero .hero-cta-wide a.action-btn--chat:focus-visible .chat-icon{
  animation-play-state: paused;
}

@keyframes haccpChatHaloPulse{
  0%{ opacity: 0; transform: scale(1); box-shadow: 0 0 0 0 rgba(29, 113, 184, 0.26); }
  35%{ opacity: 0.35; transform: scale(1.01); box-shadow: 0 0 0 18px rgba(29, 113, 184, 0.12); }
  70%{ opacity: 0; transform: scale(1.015); box-shadow: 0 0 0 26px rgba(29, 113, 184, 0); }
  100%{ opacity: 0; transform: scale(1); box-shadow: 0 0 0 0 rgba(29, 113, 184, 0); }
}

@keyframes haccpChatColorPulse{
  0%, 70%, 100%{ color: #ffffff; }
  35%{ color: #4ade80; }
}

@keyframes haccpChatIconPulse{
  0%, 70%, 100%{ filter: none; }
  35%{ filter: brightness(0) saturate(100%) invert(63%) sepia(64%) saturate(520%) hue-rotate(85deg) brightness(96%) contrast(92%); }
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce){
  #hero .hero-cta-wide a.action-btn--chat::before,
  #hero .hero-cta-wide a.action-btn--chat span[data-lang="chat"],
  #hero .hero-cta-wide a.action-btn--chat .chat-icon{
    animation: none !important;
  }
}





@media (max-width: 900px){
  #hero .hero-cta-wide{ flex-wrap: wrap; }
  #hero .hero-cta-wide a{ flex: 1 1 calc(50% - 7px); white-space: normal; }
}

@media (max-width: 520px){
  #hero .hero-cta-wide a{ flex: 1 1 100%; }
}
@media (min-width: 992px){
  /* Keep hero content centered on desktop for consistent viewing */
  #hero .info{ text-align: center; max-width: 820px; }
  #hero .hero-cta{ align-items: center; }
  #hero .cta-row{ justify-content: center; }
  #hero .hero-cta-wide{ flex-wrap: nowrap; }
}

@media (max-width: 900px){
  #hero .hero-grid{ flex-direction: column; }
  #hero .info{ text-align: center; }
  #hero .hero-visual{ width: 100%; }
  /* Slightly smaller caption uplift on narrow widths */
  #hero .hero-demo-prompt{ font-size: 1.22rem; }
  #hero .hero-cta-guide{ font-size: 1.05rem; margin-bottom: 0.9rem; }
}

/* Desktop hero: slightly larger typography and a stronger centered balance */
@media (min-width: 992px) {
  /* Use clamp so the hero scales smoothly on different desktop widths */
  #hero h1{ font-size: clamp(3.9rem, 2.4vw + 2.3rem, 5.0rem); }
  #hero p{ font-size: clamp(1.85rem, 1.0vw + 1.35rem, 2.25rem); }

  
  /* Match section headings to hero typography */
  #features h1, #feature h1, #pricing h1, #download h1, #partners h1, #testimonials h1, #contact h1{ font-size: clamp(3.9rem, 2.4vw + 2.3rem, 5.0rem); }
/* Make the CTA set feel more "hero" on desktop without becoming aggressive */
  .action-btn,
  .chat-btn{
    font-size: 1.55rem;
    padding: 0.975rem 1.25rem;
  }

  .cta-row{ gap: 18px; margin-bottom: 18px; }
}

#features h1, #feature h1, #pricing h1, #download h1, #partners h1, #testimonials h1, #contact h1{
  font-size: 3rem;
  margin-bottom: 4rem;
  margin-top: 4rem;
  color: #052C65;
  text-align: center;
}

#features .info-container, #feature .info-container{
  min-height: 420px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto 2.5rem auto;
  display: flex;
}

.feature-image, .feature-desc{
  width: 50%;
}

.feature-desc .feature-info{
  height: 100%;
  width: 85%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-info h2{
  margin-bottom: 1rem;
  color: #052C65;
  font-size: 1.7rem;
}

.feature-info p{
  margin-bottom: 1rem;
  color: #1D71B8;
  font-size: 1.3rem;
}

.paperless-today{
  background: url('images/paperless-today.png?v=20260528-i18n10-img1') no-repeat center center;
}

.free-templates{
  background: url('images/custom-templates.png?v=20260528-i18n10-img1') no-repeat center center;
}

.self-training{
  background: url('images/self-training.png?v=20260528-i18n10-img1') no-repeat center center;
}

.device-access{
  background: url('images/device-access.jpg?v=20260528-i18n10-img1') no-repeat center center;
}

.feature-image{
  background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
  min-height: 320px;
  overflow: hidden;
}

.feature-image img{
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.underline{
  height: 2px;
  width: 100%;
  text-align: center;
  background-color: #052C65;
  margin: 10px;
}


/* Home page: How It Works — controlled desktop/tablet/mobile layout */
#features{
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
}

body.page-home #features h1{
  font-size: clamp(4.4rem, 2.15vw + 2.55rem, 5.75rem) !important;
  line-height: 1.04 !important;
  margin-top: 1.35rem !important;
  margin-bottom: 1rem !important;
}

body.page-home #features > p[data-lang="featuresSubtitle"]{
  font-size: clamp(1.35rem, 0.42vw + 1.06rem, 1.68rem) !important;
  line-height: 1.42 !important;
  max-width: 860px !important;
  margin: 0 auto 1.35rem auto !important;
  color: #4b5563 !important;
}

body.page-home #features .info-container{
  width: min(92%, 1480px) !important;
  max-width: 1480px !important;
  min-height: auto !important;
  margin: 0 auto 1.6rem auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center !important;
  gap: clamp(28px, 4vw, 60px);
}

body.page-home #features .feature-image,
body.page-home #features .feature-desc{
  width: auto !important;
}

body.page-home #features .feature-image{
  min-height: 0 !important;
}

body.page-home #features .feature-image img{
  display: block;
  width: 100%;
  min-height: 0 !important;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0;
}

body.page-home #features .feature-desc{
  display: flex;
  align-items: center;
}

body.page-home #features .feature-desc .feature-info{
  width: 100% !important;
  max-width: 560px;
  margin: 0 !important;
}

body.page-home #features .info-container:nth-of-type(odd) .feature-desc .feature-info{
  margin-right: auto !important;
}

body.page-home #features .info-container:nth-of-type(even) .feature-desc .feature-info{
  margin-left: auto !important;
}

body.page-home #features .feature-info h2{
  font-size: clamp(1.95rem, 0.7vw + 1.45rem, 2.35rem) !important;
  line-height: 1.14 !important;
  margin-bottom: 0.65rem !important;
}

body.page-home #features .feature-info p{
  font-size: 1.18rem !important;
  line-height: 1.48 !important;
  margin-bottom: 0 !important;
}

@media (max-width: 1200px){
  body.page-home #features .info-container{
    width: min(94%, 1180px) !important;
    gap: 24px;
  }

  body.page-home #features h1{
    font-size: clamp(3.8rem, 4vw, 4.9rem) !important;
  }

  body.page-home #features > p[data-lang="featuresSubtitle"]{
    font-size: clamp(1.18rem, 1.8vw, 1.45rem) !important;
    margin-bottom: 1.1rem !important;
  }

  body.page-home #features .feature-info h2{
    font-size: clamp(1.72rem, 1.7vw, 2.05rem) !important;
  }

  body.page-home #features .feature-info p{
    font-size: 1.08rem !important;
  }
}

@media (max-width: 900px){
  body.page-home #features{
    padding-top: 1rem;
    padding-bottom: 0.35rem;
  }

  body.page-home #features h1{
    font-size: clamp(3.1rem, 8vw, 4.2rem) !important;
    margin-top: 1rem !important;
    margin-bottom: 0.7rem !important;
  }

  body.page-home #features > p[data-lang="featuresSubtitle"]{
    font-size: clamp(1.15rem, 3.8vw, 1.5rem) !important;
    margin: 0 auto 1rem auto !important;
    max-width: 92% !important;
  }
}

@media (max-width: 1200px){
  body.page-home #features .info-container{
    width: min(94%, 920px) !important;
    max-width: 920px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    margin: 0 auto 1.6rem auto !important;
  }

  body.page-home #features .feature-image,
  body.page-home #features .feature-desc{
    width: 100% !important;
    display: block !important;
  }

  body.page-home #features .feature-image{
    order: 1 !important;
    min-height: 0 !important;
  }

  body.page-home #features .feature-desc{
    order: 2 !important;
  }

  body.page-home #features .feature-image img{
    aspect-ratio: 16 / 9 !important;
    width: 100% !important;
    min-height: 0 !important;
    object-fit: cover !important;
    display: block !important;
  }

  body.page-home #features .feature-desc .feature-info{
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 1rem 0 0.2rem 0 !important;
  }

  body.page-home #features .feature-info,
  body.page-home #features .feature-info.paperless-today-sm,
  body.page-home #features .feature-info.free-templates-sm,
  body.page-home #features .feature-info.self-training-sm,
  body.page-home #features .feature-info.device-access-sm{
    background: none !important;
  }

  body.page-home #features .feature-info .container{
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  body.page-home #features .feature-info h2{
    color: #052C65 !important;
    font-size: clamp(1.72rem, 1.55vw, 2.02rem) !important;
    line-height: 1.15 !important;
    margin-bottom: 0.55rem !important;
  }

  body.page-home #features .feature-info p{
    color: #1D71B8 !important;
    font-size: 1.08rem !important;
    line-height: 1.48 !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 700px){
  body.page-home #features .info-container{
    width: min(92%, 560px) !important;
    margin: 0 auto 1.35rem auto !important;
  }

  body.page-home #features .feature-image img{
    aspect-ratio: 5 / 4 !important;
  }

  body.page-home #features .feature-desc .feature-info{
    padding-top: 0.85rem !important;
  }

  body.page-home #features .feature-info h2{
    font-size: clamp(1.45rem, 5.2vw, 1.8rem) !important;
  }

  body.page-home #features .feature-info p{
    font-size: clamp(0.98rem, 3.1vw, 1.08rem) !important;
    line-height: 1.45 !important;
  }
}

/* Pricing */
.pricing-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.pricing-card{
  padding: 10%;
  margin: 5%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  border: 2px solid #052C65;
  height: 100%;
}

.pricing-notes {
  margin-top: 12px;
  font-size: 0.95rem;
  line-height: 1.25;
  color: #052C65;
}




.pricing-note-strong{
  font-weight: 700;
}

.pricing-notes p{
  margin: 0;
}

.pricing-notes p + p{
  margin-top: 14px;
}
.card{
  padding: 2%;
  width: 90%;
  max-width: 1200px;
  margin: 3rem auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  border: 2px solid #052C65;
  height: 100%;
}

.card h4{
  color: #052C65;
  font-size: 1.5rem;
}

.store-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 20px;
  margin-top: 1%;
  margin-bottom: 1%;
}

.pricing-features{
  flex-grow: 1;
}

.pricing-card ul{
  text-align: left;
  padding: 0;
}

.pricing-card li{
  margin: 1rem 0;
}

.pricing-card p{
  font-size: .7rem;
  color: #1D71B8;
}

.pricing-card h3{
  /* Tier label (Free/Basic/Premium/Enterprise) — increase readability */
  /* Match the visual prominence of the "Monthly Charge" label */
  font-size: 2.56rem;
  font-weight: bold;
  color: #000;
}


/* Free tier layout: keep notes higher within the card */
.pricing-card.free-tier .pricing-features{
  flex-grow: 0;
}
.fa-solid.fa-check{
  color: #28B863;
  font-size: 1.5rem;
}

.pricing-card .price{
  font-size: 2.5rem;
  color: #4880FF
}

#partners .container{
  /* Balance content vertically in the Hardware/NowLog box */
  /* Slightly less top padding + a bit more bottom padding */
  padding: 2% 3% 4% 3%;
  width: 90%;
  max-width: 1200px;
  margin: 3rem auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  border: 2px solid #052C65;
  height: 100%;
}

#testimonials .container{
  padding: 0;
  width: 90%;
  max-width: 1200px;
  margin: 3rem auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 28px;
  display: block;
  border: 2px solid #052C65;
  overflow: hidden;
  height: auto;
}

#testimonials .container p{
  margin: 1rem;
  color: #052C65;
}

#contact .container{
  padding: 2%;
  width: 90%;
  max-width: 1200px;
  margin: 3rem auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  border: 2px solid #052C65;
  height: 100%;
  text-align: center;
}
#contact .container p{
  margin: 1rem;
  color: #052C65;
}


/* Contact box: add Ireland pin icon + improve email prominence */
#contact .contact-box-inner{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

#contact .contact-pin{
  width: 240px;
  height: auto;
  flex: 0 0 auto;
}

#contact .contact-text{
  text-align: center;
}

#contact .contact-line1{
  margin: 0.5rem 0 0.25rem 0;
}

#contact .contact-email{
  margin: 0.35rem 0;
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1.15;
  word-break: normal;
  overflow-wrap: normal;
  white-space: nowrap;
}


#contact .contact-email a{
  color: #052C65;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

#contact .contact-email a:hover{
  text-decoration: underline;
}

#contact .contact-line2{
  margin: 0.25rem 0 0.5rem 0;
}

@media (max-width: 1000px){
  #contact .contact-email{
    font-size: clamp(1.25rem, 3vw, 1.75rem);
  }
}

@media (max-width: 768px){
  #contact .contact-box-inner{
    flex-direction: column;
    gap: 14px;
  }
  #contact .contact-pin{
    width: 180px;
  }
}

@media (max-width: 480px){
  #contact .contact-email{
    font-size: clamp(1rem, 4.6vw, 1.2rem);
  }
}

#partners h3{
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #052C65;
}

/* Hardware section heading row: keep "Optimized with NowLog" left, add a right-aligned companion title */
#partners .hardware-title-row{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

#partners .hardware-title-row h3{
  margin: 0;
}

#partners .hardware-title-row > h3:first-child{
  flex: 0 1 auto;
}

#partners .hardware-title-row .hardware-title-extra{
  flex: 1 1 auto;
  text-align: right;
}

#partners h4{
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
  color: #052C65;
}

#partners p{
  margin-bottom: 0.8rem;
  color: #1D71B8;
  font-size: 1rem;
}

/* Give the NowLog CTA button a little more separation so it sits lower in the box */
#partners .info > div{
  margin-top: 1.4rem;
}

#testimonials h5{
  margin-bottom: 0.8rem;
  color: #1D71B8;
  font-size: 1rem;
}

#testimonials h4{
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  color: #052C65;
}


/* Testimonial banner layout (translated text overlays your supplied banner images) */
#testimonials .testimonial-banner{
  position: relative;
  width: 100%;
}

#testimonials .testimonial-bg{
  width: 100%;
  height: auto;
  display: block;
}

#testimonials .testimonial-overlay{
  position: absolute;
  inset: 0;
  /* Anchor the text block to the bottom of the banner so it stays visible
     across shallow tablet banners and tall mobile banners.
     (Hover/desktop image logos are top-left; bottom anchoring avoids overlap.) */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 56px 32px 56px;
  box-sizing: border-box;
  width: 65%;
}

#testimonials .testimonial-overlay--lemon{
  /* Keep class for clarity; same bottom-anchored layout as the first banner */
  padding: 28px 56px 32px 56px;
}

#testimonials .testimonial-quote{
  margin: 0;
  color: #fff;
  font-size: clamp(1.0rem, 0.6vw + 0.9rem, 1.15rem);
  line-height: 1.35;
  font-weight: 500;
  text-align: left;
  text-shadow: 0 1px 0 rgba(0,0,0,0.15);
}

#testimonials .testimonial-byline{
  margin-top: 12px;
  display: flex;
  justify-content: center;
  width: 100%;
}

#testimonials .testimonial-byline h4{
  margin: 0;
  background: rgba(0,0,0,0.45);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 600;
  max-width: 100%;
}

/* Tablet/Small desktop */
@media (max-width: 1024px){
  #testimonials .testimonial-overlay{
    width: 100%;
    /* Extra bottom padding lifts the quote slightly on iPad/Surface where banners are shallow */
    padding: 22px 40px 42px 40px;
  }

  #testimonials .testimonial-overlay--lemon{
    padding: 22px 40px 42px 40px;
  }
  #testimonials .testimonial-byline{
    justify-content: center;
  }

  /* Slightly tighter typography on tablets so longer translations fit shallow banners */
  #testimonials .testimonial-quote{
    font-size: 0.98rem;
    line-height: 1.3;
  }
}

@media (max-width: 760px){
  #testimonials .testimonial-bg{
    /*
      Mobile: some translations (e.g., FR/DE/FI/ES) wrap to more lines.
      With a fixed 300px banner height the top lines can be clipped.
      Use a responsive height tied to viewport width, capped for larger phones.
    */
    height: clamp(320px, 100vw, 420px);
    object-fit: cover;
  }

  #testimonials .testimonial-overlay{
    width: 100%;
    padding: 18px 22px 20px 22px;
    box-sizing: border-box;
  }

  #testimonials .testimonial-overlay--lemon{
    padding: 18px 22px 20px 22px;
  }

  /* Mobile: tighten quote typography slightly to prevent clipping in longer translations */
  #testimonials .testimonial-quote{
    font-size: 0.94rem;
    line-height: 1.28;
  }

  /* Slightly tighter byline on mobile to preserve vertical space for longer quotes */
  #testimonials .testimonial-byline h4{
    font-size: 0.98rem;
    padding: 9px 12px;
  }

  #testimonials .testimonial-byline{
    justify-content: center;
  }

  section{
    scroll-margin-top: 116px;
  }
}

body.rtl #testimonials .testimonial-quote{
  text-align: right;
}

body.rtl #testimonials .testimonial-overlay{
  text-align: right;
}
/* Responsive design */

@media (max-width: 1600px) {
  /*
    Mobile/tablet header safety:
    In true device emulation (e.g., iPhone 12), the combined width of
    logo + language selector can push the hamburger icon partially off-screen.
    Reduce header side padding and allow the left group to shrink.
  */
  header{
    padding: 0 1rem;
  }

  .navbar{
    gap: 0.6rem;
  }

  .navbar .nav-left{
    flex: 1 1 auto;
    min-width: 0;
  }

  .navbar .nav-language{
    flex: 0 1 auto;
    min-width: 0;
  }

  .navbar .toggle-btn{
    flex: 0 0 auto;
    margin-left: 0.25rem;
  }

  .navbar .links,
  .navbar .action-btn{
    display: none;
  }

  .navbar .toggle-btn{
    display: block;
  }
  
  .dropdown-menu{
    display: block;
  }
  
  
  .navbar .nav-left{
    gap: 0.75rem;
  }

  .navbar .nav-language select{
    max-width: 150px;
    width: 100%;
  }
section#hero, section#partner{
    /*
      Responsive hero/partner sections:
      Avoid forcing a tall fixed height (e.g. 140vh) which can cause
      content to overflow upwards and cover the language selector.
      Use min-height and top padding that keeps the hero readable while
      preserving access to controls above.
    */
    padding-top: 24px;
    padding-bottom: 24px;
    min-height: calc(100vh - 160px);
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
  }

  #hero .info, #partner .info{
    width: 100%;
  }
}

@media (max-width: 576px) {
  .dropdown_menu{
    left: 2rem;
    width: unset;
  }
}

/* Extra-tight phones: ensure the hamburger icon is never clipped */
@media (max-width: 520px) {
  header{
    padding: 0 0.75rem;
  }

  .navbar .logo a{
    font-size: 1.25rem;
  }

  .navbar .logo a img{
    height: 2.1rem !important;
  }

  .navbar .nav-language select{
    max-width: 130px;
  }
}

/* Language selector bar */
.language-bar {
  display: flex;
  justify-content: center;
  padding: 1rem 0;
  background: #ffffff;
  /* Keep the language selector usable if hero content overflows */
  position: relative;
  z-index: 20;
}

.language-bar select {
  font-size: 1.25rem;   /* +25% */
  padding: 0.6rem 0.9rem;
  border-radius: 6px;
}

/* Hero CTA layout */
.hero-cta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  justify-content: center;
}

.chat-btn,
.action-btn {
  font-size: 1.1rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
}


.cta-email {
  margin-top: -4px;
  font-size: 1.05rem;
}

.cta-email a {
  color: #1D71B8;
  text-decoration: underline;
}


@media (max-width: 768px) {
  .cta-row {
    flex-direction: column;
    width: 100%;
  }

  .chat-btn,
  .action-btn {
    width: 100%;
    text-align: center;
  }
}


/* Retail Groups tooltip width override (only this item)
   Use '*=' to remain robust if a query string is appended (e.g. ?lang=xx). */
.links a[href*="retail-groups.html"][data-tooltip]::after {
  max-width: 520px;
}


/* Our Journey page */

section#journey{
  width: 100%;
  background-color: aliceblue;
}

#journey .journey-wrap{
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 0 72px 0;
}

#journey h1{
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #052C65;
  text-align: center;
}

#journey h2{
  font-size: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: #052C65;
  text-align: center;
}

#journey h3{
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: #052C65;
  text-align: center;
}

#journey p{
  color: #1D71B8;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

#journey ul{
  margin: 0.25rem auto 1.25rem auto;
  padding-left: 1.25rem;
}

/* Re-enable and style bullets on Our Journey page (global reset removes list markers) */
#journey ul > li{
  list-style: disc;
}

#journey ul > li::marker{
  color: #1D71B8; /* subtle blue bullet */
}

#journey li{
  color: #1D71B8;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 0.4rem;
}

/* Emphasised takeaway lines (centered, dark blue, bold — font size unchanged) */
#journey .journey-emphasis{
  text-align: center;
  color: #052C65;
  font-weight: 700;
}

/* Mobile adjustments for long-form content */
@media (max-width: 768px) {
  #journey .journey-wrap{
    padding: 28px 0 48px 0;
  }

  #journey h1{
    font-size: 2.2rem;
  }

  #journey h2{
    font-size: 1.6rem;
  }

  #journey h3{
    font-size: 1.35rem;
  }

  #journey p, #journey li{
    font-size: 1.05rem;
  }
}


/* Retail Groups long-form page (styled to match Hero / Journey) */
#retail{
  width: 100%;
  background-color: aliceblue;
}

#retail .retail-wrap{
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 0 72px 0;
}

#retail .rg-center{
  text-align: center;
}

#retail h1{
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #052C65;
}

#retail h2{
  font-size: 1.85rem;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  color: #052C65;
}

#retail h3{
  font-size: 1.45rem;
  margin-top: 1.6rem;
  margin-bottom: 0.6rem;
  color: #052C65;
}

#retail p{
  color: #1D71B8;
  font-size: 1.2rem;
  line-height: 1.75;
  margin: 0.35rem 0 1.1rem 0;
}

#retail ul{
  margin: 0.25rem auto 1.25rem auto;
  padding-left: 1.25rem;
}

/* Re-enable and style bullets on Retail Groups page (global reset removes list markers) */
#retail ul:not(.tick-list) > li{
  list-style: disc;
}

#retail ul:not(.tick-list) > li::marker{
  color: #1D71B8; /* subtle blue bullet */
}

#retail li{
  color: #1D71B8;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 0.4rem;
}

#retail .retail-keypoints{
  margin-top: 1.1rem;
  margin-bottom: 1.6rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  #retail .retail-wrap{
    padding: 28px 0 56px 0;
  }

  #retail h1{
    font-size: 2.2rem;
  }

  #retail h2{
    font-size: 1.6rem;
  }

  #retail h3{
    font-size: 1.35rem;
  }

  #retail p, #retail li{
    font-size: 1.05rem;
  }
}


/* Subtle pulse + tooltip for the main-page Chat button */
.chat-btn.pulse{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transform-origin: center;
  animation: chatPulse 2.2s ease-in-out infinite;
}
.chat-btn.pulse:hover,
.chat-btn.pulse:focus{
  animation-play-state: paused;
}

@keyframes chatPulse{
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.60); }
  50% { transform: scale(1.04); box-shadow: 0 0 0 14px rgba(46, 204, 113, 0); }
}

@media (prefers-reduced-motion: reduce){
  .chat-btn.pulse{ animation: none; }
}

/* Tooltip (hover + keyboard focus) */
#hero .hero-cta-wide a[data-tooltip]::after{
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(2px);
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 1.3rem;
  line-height: 1.2;
  white-space: normal;
  width: max-content;
  max-width: min(320px, 80vw);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 9999;
}

#hero .hero-cta-wide a[data-tooltip]::before{
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 4px);
  transform: translateX(-50%);
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.82) transparent transparent transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
  z-index: 9999;
}

#hero .hero-cta-wide a[data-tooltip]:hover::after,
#hero .hero-cta-wide a[data-tooltip]:focus::after,
#hero .hero-cta-wide a[data-tooltip]:hover::before,
#hero .hero-cta-wide a[data-tooltip]:focus::before{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Keep tooltip from showing when button is disabled (defensive) */
#hero .hero-cta-wide a[data-tooltip][aria-disabled="true"]::after,
#hero .hero-cta-wide a[data-tooltip][aria-disabled="true"]::before{
  display: none;
}

#hero .hero-phone-link[data-tooltip]::after{
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translateX(-50%) translateY(2px);
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  padding: 7px 11px;
  border-radius: 8px;
  font-size: 1.1rem;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 9999;
}

#hero .hero-phone-link[data-tooltip]::before{
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.82) transparent transparent transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
  z-index: 9999;
}

#hero .hero-phone-link:hover::after,
#hero .hero-phone-link:focus-visible::after,
#hero .hero-phone-link:hover::before,
#hero .hero-phone-link:focus-visible::before{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px){
  #hero .hero-phone-link[data-tooltip]::after,
  #hero .hero-phone-link[data-tooltip]::before{
    display: none;
  }
}


/* Partners page (styled to match Retail Groups / Our Journey) */
section#partnersPage{
  width: 100%;
  background-color: aliceblue;
}

#partnersPage .partners-wrap{
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 0 72px 0;
}

#partnersPage h1{
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #052C65;
  text-align: center;
}

#partnersPage h2{
  font-size: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: #052C65;
  text-align: center;
}

#partnersPage h3{
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: #052C65;
  text-align: center;
}

#partnersPage p{
  color: #1D71B8;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

#partnersPage a{
  color: #1D71B8;
  text-decoration: underline;
}

#partnersPage ul{
  margin: 0.25rem auto 1.25rem auto;
  padding-left: 1.25rem;
}

/* Re-enable and style bullets on Partners page (global reset removes list markers) */
#partnersPage ul.partners-bullets > li{
  list-style: disc;
}

#partnersPage ul.partners-bullets > li::marker{
  color: #1D71B8; /* subtle blue bullet */
}

#partnersPage li{
  color: #1D71B8;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 0.4rem;
}

#partnersPage .partners-emphasis{
  text-align: center;
  color: #052C65;
  font-weight: 700;
}
#partnersPage .partners-intro{
  max-width: 980px;
  margin: 0 auto 2.2rem auto;
  text-align: center;
  color: #1D71B8;
}


/* Split layout blocks on Partners page (text + image) */
#partnersPage .partners-section-split{
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 48px;
  margin: 0.75rem auto 1.4rem auto;
  flex-wrap: wrap;
}

#partnersPage .partners-section-text{
  flex: 1 1 420px;
  min-width: 280px;
}

#partnersPage .partners-section-image{
  /* Make the illustrations larger and align with the bullet list block */
  flex: 1 1 460px;
  width: 100%;
  max-width: 460px;
  margin-top: 2.6rem;
}

#partnersPage .partners-section-image img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  background: #ffffff;
  /* Reduce inner padding so cropped images look larger */
  padding: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

@media (max-width: 900px){
  #partnersPage .partners-section-split{
    flex-direction: column;
    align-items: center;
  }
  #partnersPage .partners-section-image{
    margin-top: 1.2rem;
    max-width: 520px;
    width: 100%;
  }
}

/* RTL: stack to prevent overlap on wide text */
html[dir="rtl"] #partnersPage .partners-section-split{
  flex-direction: column;
  align-items: center;
}

html[dir="rtl"] #partnersPage .partners-section-image{
  max-width: 520px;
}

#retail .retail-emphasis{
  text-align: center;
  color: #052C65;
  font-weight: 700;
}

/* Mobile adjustments for long-form content */
@media (max-width: 768px) {
  #partnersPage .partners-wrap{
    padding: 28px 0 48px 0;
  }

  #partnersPage .partners-section-split{
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  #partnersPage .partners-section-image{
    max-width: 520px;
    width: 100%;
  }

  #partnersPage h1{
    font-size: 2.2rem;
  }

  #partnersPage h2{
    font-size: 1.6rem;
  }

  #partnersPage h3{
    font-size: 1.35rem;
  }

  #partnersPage p, #partnersPage li{
    font-size: 1.05rem;
  }
}

/* Ensure CTA buttons always render white text (overrides generic <a> rules) */
a.action-btn { color: #fff !important; }
a.action-btn:hover { color: #fff !important; }

/* White card backing for green-tick lists (Retail Groups page) */
.tick-card{
  background: #ffffff;
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  margin: 1.2rem auto 1.8rem auto;
  /* Centered card that sizes to its content */
  width: fit-content;
  max-width: 900px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

@media (max-width: 960px){
  .tick-card{ max-width: calc(100% - 48px); }
}

.tick-card .tick-list{
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.tick-card .tick-list li{
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0.85rem 0;
}

.tick-card .tick-list li .fa-check{
  margin-top: 0.15rem;
  flex: 0 0 auto;
}





/* --------------------------------------------------------------------------
   Page header images (Retail Groups / Partners / Our Journey)
   - White rounded card
   - Consistent sizing
   - Mobile stacks cleanly
-------------------------------------------------------------------------- */

.page-top-image-card{
  background: #ffffff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
}

.page-top-image-card img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Partners + Our Journey: float image to the right of the opening text */
#partnersPage .page-top-image-card,
#journey .page-top-image-card{
  float: right;
  width: 260px;
  max-width: 34%;
  margin: 0.25rem 0 1.5rem 2rem;
}

/* Clear floats so the section height remains correct */
#partnersPage .partners-wrap::after,
#journey .journey-wrap::after{
  content: "";
  display: block;
  clear: both;
}

/* Retail Groups: place tick list + image side-by-side */
#retail .rg-hero-split{
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
  margin: 1.2rem auto 1.8rem auto;
}

#retail .rg-hero-split .tick-card{
  margin: 0;            /* override centered card margin */
  width: auto;
  max-width: 100%;
}

#retail .rg-hero-split .page-top-image-card{
  width: 260px;
  max-width: 320px;
  margin: 0;            /* no float in split layout */
}

/* Retail Groups: Head Office Pricing split (tick card + illustration) */
#retail .rg-pricing-split{
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 48px;
  margin: 0.75rem auto 1.4rem auto;
  flex-wrap: wrap;
}

#retail .rg-pricing-text{
  flex: 1 1 420px;
  min-width: 280px;
}

#retail .rg-pricing-image{
  flex: 1 1 460px;
  width: 100%;
  max-width: 520px;
  /* Drop the illustration into the same vertical band as the tick-card */
  margin-top: 2.2rem;
}

#retail .rg-pricing-image img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  background: #ffffff;
  padding: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

html[dir="rtl"] #retail .rg-pricing-split{
  flex-direction: column;
  align-items: center;
}

@media (max-width: 900px){
  /* Partners + Journey: un-float and center the image card */
  #partnersPage .page-top-image-card,
  #journey .page-top-image-card{
    float: none;
    width: min(320px, 92%);
    max-width: 320px;
    margin: 1rem auto 1.5rem auto;
  }

  /* Retail Groups: stack tick card and image */
  #retail .rg-hero-split{
    flex-direction: column;
    align-items: center;
  }
  #retail .rg-hero-split .tick-card{
    width: 100%;
  }

  #retail .rg-pricing-split{
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  #retail .rg-pricing-image{
    width: min(520px, 96%);
    max-width: 520px;
    margin-top: 0.75rem;
  }
}

/* --------------------------------------------------------------------------
   Our Journey: Next Chapter illustration
   - Places an additional image to the right of the Next Chapter bullets
   - Stacks cleanly on mobile
-------------------------------------------------------------------------- */

#journey .journey-next-chapter-split{
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 40px;
  margin: 0.75rem auto 0.5rem auto;
  flex-wrap: wrap;
}

#journey .journey-next-chapter-text{
  /* Keep the image closer to the bullet list on wide screens */
  flex: 0 1 600px;
  max-width: 620px;
  min-width: 320px;
}

#journey .journey-next-chapter-image{
  /* Desktop: sit opposite the bullet list, and keep it inside the free space */
  flex: 1 1 520px;
  width: 100%;
  /* Use a fixed max-width so it sits closer to the bullets (leaving whitespace on the far-right) */
  max-width: 560px;
  /* Align the top of the image card with the bullet list band */
  margin: 2.0rem 0 0 0;
}

/* Reduce the apparent whitespace inside the white card for this specific illustration */
#journey .journey-next-chapter-image-card{
  padding: 10px;
}

/* RTL safeguard: prevent desktop layout from overlapping RTL text */
html[dir="rtl"] #journey .journey-next-chapter-split{
  flex-direction: column;
  align-items: center;
}

html[dir="rtl"] #journey .journey-next-chapter-image{
  flex: none;
  width: min(560px, 96%);
  max-width: 560px;
  margin: 20px 0 0 0;
}

@media (max-width: 900px){
  #journey .journey-next-chapter-split{
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  #journey .journey-next-chapter-image{
    flex: none;
    width: min(560px, 96%);
    max-width: 560px;
    margin: 20px 0 0 0;
  }
}

/* --------------------------------------------------------------------------
   Desktop viewport balancing (Action 1)
   Goal: make the long-form pages visually fill the viewport at 100% zoom on
   typical desktop/laptop screens, without adding clutter.
   Approach: widen the readable column slightly and scale typography gently
   using clamp() on larger viewports.
-------------------------------------------------------------------------- */

@media (min-width: 1100px) {
  /* Slightly wider content column on long-form pages */
  #journey .journey-wrap,
  #partnersPage .partners-wrap,
  #retail .retail-wrap{
    max-width: 1500px;
  }

  /* Page titles / subtitles */
  #journey h1,
  #partnersPage h1,
  #retail h1{
    font-size: clamp(4.0rem, 2.625vw + 3.0rem, 5.75rem);
  }

  #journey h2,
  #partnersPage h2,
  #retail h2{
    font-size: clamp(2.6875rem, 1.5625vw + 2.3125rem, 3.9375rem);
  }

  #journey h3,
  #partnersPage h3,
  #retail h3{
    font-size: clamp(2.1875rem, 1.1875vw + 1.8125rem, 2.9375rem);
  }

  /* Body copy */
  #journey p,
  #partnersPage p,
  #retail p,
  #journey li,
  #partnersPage li,
  #retail li{
    font-size: clamp(1.5625rem, 0.6875vw + 1.3125rem, 2.0625rem);
    line-height: 1.65;
  }

  /* Keep green-tick card feeling substantial on larger screens */
  .tick-card{
    max-width: 1375px;
  }
}
/* --------------------------------------------------------------------------
   Arabic (RTL) support — Level 1
   - Enable RTL text direction/alignment for Arabic.
   - Keep overall layout stable by forcing the main layout direction to LTR.
   - Prevent emails/URLs from being visually reordered inside RTL text.
-------------------------------------------------------------------------- */

/* Mark the document as RTL for Arabic, but keep page layout stable */
html[dir="rtl"] {
  overflow-x: hidden;
}

html[dir="rtl"] body {
  direction: ltr;
  width: 100%;
}


img, svg, video, canvas {
  max-width: 100%;
  height: auto;
}

iframe {
  max-width: 100%;
}
/* Apply RTL direction/alignment to content text (not overall layout) */
body.rtl section p,
body.rtl main p,
body.rtl section li,
body.rtl main li {
  direction: rtl;
  text-align: right;
  unicode-bidi: plaintext;
}

/* Headings: keep existing alignment (many are centered), but ensure RTL shaping */
body.rtl section h1,
body.rtl section h2,
body.rtl section h3,
body.rtl section h4,
body.rtl section h5,
body.rtl main h1,
body.rtl main h2,
body.rtl main h3,
body.rtl main h4,
body.rtl main h5 {
  direction: rtl;
  unicode-bidi: plaintext;
}

/* Keep the top navigation layout stable (do not mirror flex layouts) */
body.rtl header,
body.rtl .navbar,
body.rtl .links,
body.rtl .dropdown-menu { direction: ltr; }

/* Force common LTR fragments (emails, URLs) to render correctly */
body.rtl .ltr,
body.rtl a[href^="mailto:"],
body.rtl a[href^="http"],
body.rtl a[href^="https"] {
  direction: ltr;
  unicode-bidi: bidi-override;
  display: inline-block;
}


/* === Desktop-only home page scale tuning (improves "fills viewport" feel at 100% zoom) === */
@media (min-width: 1100px){
  body.page-home{
    /* Slightly larger perceived scale on wide screens without affecting mobile/tablet */
  }

  /* Typography uplift (home page only) */
  body.page-home h1{
    font-size: clamp(3.4rem, 2.2vw + 2.2rem, 4.8rem);
  }
  body.page-home h2{
    font-size: clamp(1.95rem, 0.9vw + 1.45rem, 2.5rem);
  }
  body.page-home p,
  body.page-home li{
    font-size: clamp(1.6rem, 0.55vw + 1.25rem, 2.05rem);
  }

  /* Widen key content containers on the home page */
  body.page-home #hero .container,
  body.page-home #partners .container,
  body.page-home #testimonials .container,
  body.page-home #contact .container{
    max-width: 1900px;
  }
  body.page-home #features .info-container,
  body.page-home .pricing-container{
    max-width: 1900px;
  }

  /* Make the hero visual slightly more dominant on desktop */
  body.page-home .hero-phone{
    /* Reduced by ~15–20% so the hero background imagery remains legible */
    max-width: 450px;
  }

  /* CTA row: maintain full-width look with slightly larger buttons */
  body.page-home .hero-cta-wide .action-btn{
    font-size: clamp(1.05rem, 0.35vw + 0.95rem, 1.25rem);
    padding-top: 1.35rem;
    padding-bottom: 1.35rem;
  }
}

/* Additional HOME PAGE width expansion (desktop) */
@media (min-width: 992px){
  /* Reduce perceived left/right gutters on wide screens */
  body.page-home #hero .container,
  body.page-home #features .info-container,
  body.page-home .pricing-container,
  body.page-home #partners .container,
  body.page-home #testimonials .container,
  body.page-home #contact .container{
    width: 98%;
    max-width: 1900px;
  }

  /* Allow the hero copy to use more horizontal space */
  body.page-home #hero .info{ max-width: 980px; }

  /* Slightly enlarge the right-hand visual so the hero reads “fuller” */
  body.page-home #hero .hero-visual{ flex: 0 0 560px; max-width: 560px; }
  body.page-home #hero .hero-phone{ max-width: 450px; }
}

/* Home page hero CTA buttons: reduce width + emphasise Chat */
@media (min-width: 992px){
  /* Reduce each button’s horizontal width by ~20% while keeping the row spanning the hero */
  #hero .hero-cta-wide a{
    flex: 0 1 20%;
  }

  /* Chat button only: make icon/text fill the button better */
  #hero .hero-cta-wide a.action-btn--chat{
    font-size: 1.35em;
    font-weight: 800;
    line-height: 1.05;
    gap: 12px;
  }

  #hero .hero-cta-wide a.action-btn--chat .chat-icon{
    height: 1.65em;
  }
}

/* Global responsive safety: media must never overflow its container */
img, video, svg, canvas {
  max-width: 100%;
  height: auto;
}


/* Homepage hardware summary */
.hardware-summary-info {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.hardware-summary-info .hardware-title-row {
  justify-content: center;
}
.hardware-summary-info h3 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 2rem;
}
.hardware-summary-info h4 {
  margin-top: 2.4rem;
}

/* Hardware page */
.hardware-page-hero,
.hardware-option-section,
.hardware-compare-section,
.hardware-bottom-cta {
  padding: 5rem 2rem;
}

.hardware-page-wrap {
  max-width: 1180px;
  margin: 0 auto;
}

.hardware-page-hero {
  padding-top: 5.75rem;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.hardware-page-hero h1,
.hardware-page-hero h2,
.hardware-page-hero p,
.hardware-compare-section h3,
.hardware-bottom-cta h3 {
  text-align: center;
}

.hardware-page-hero h1 {
  color: #1D71B8;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.hardware-page-hero h2 {
  font-size: clamp(3.1rem, 2.3vw + 1.2rem, 4.0rem);
  line-height: 1.12;
  color: #052C65;
  max-width: 860px;
  margin: 0 auto 2rem;
  text-wrap: balance;
}

.hardware-page-intro {
  max-width: 900px;
  margin: 0.8rem auto;
  font-size: 2rem;
  line-height: 1.6;
  color: #254b7c;
}

.hardware-option-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem;
  background: #ffffff;
  border: 1px solid rgba(29, 113, 184, 0.12);
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(5, 44, 101, 0.06);
  margin-bottom: 2.6rem;
}

.hardware-option-card--software .hardware-option-image img {
  max-height: 420px;
  width: auto;
}

.hardware-option-kicker {
  display: inline-block;
  margin-bottom: 1rem;
  color: #1D71B8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.4rem;
}

.hardware-option-text h3 {
  font-size: 3.2rem;
  color: #052C65;
  margin-bottom: 0.6rem;
}

.hardware-option-text h4 {
  font-size: 2rem;
  color: #1D71B8;
  margin-bottom: 1.6rem;
}

.hardware-option-text h5 {
  font-size: 1.8rem;
  color: #052C65;
  margin-bottom: 0.8rem;
}

.hardware-option-text p,
.hardware-mini-item p,
.hardware-bottom-cta p {
  font-size: 1.75rem;
  line-height: 1.7;
  color: #38567a;
}

.hardware-option-image {
  text-align: center;
}

.hardware-option-image img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(5, 44, 101, 0.08);
}

.hardware-option-image--wide img {
  width: 100%;
}

.hardware-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 2rem;
}

.hardware-mini-item {
  padding: 1.6rem;
  background: #f7fbff;
  border-radius: 16px;
  border: 1px solid rgba(29, 113, 184, 0.12);
}

.hardware-compare-section {
  background: #f7fbff;
}

.hardware-compare-section h3,
.hardware-bottom-cta h3 {
  font-size: 3.2rem;
  color: #052C65;
  margin-bottom: 2rem;
}

.hardware-compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.hardware-compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(5, 44, 101, 0.06);
}

.hardware-compare-table th,
.hardware-compare-table td {
  padding: 1.6rem 1.8rem;
  text-align: left;
  border-bottom: 1px solid rgba(5, 44, 101, 0.08);
  font-size: 1.6rem;
  color: #38567a;
}

.hardware-compare-table th {
  background: #052C65;
  color: #ffffff;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hardware-bottom-cta {
  padding-bottom: 7rem;
}

.hardware-bottom-cta p {
  max-width: 820px;
  margin: 0 auto 2rem;
  text-align: center;
}

.hardware-bottom-cta .action-btn {
  display: table;
  margin: 0 auto;
}

@media (max-width: 980px) {
  .hardware-option-card {
    grid-template-columns: 1fr;
  }
  .hardware-mini-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hardware-page-hero {
    padding-top: 4.25rem;
    padding-bottom: 4rem;
  }
  .hardware-page-hero h2 {
    font-size: clamp(2.55rem, 5.5vw, 3.15rem);
    line-height: 1.14;
  }
  .hardware-page-intro,
  .hardware-option-text p,
  .hardware-mini-item p,
  .hardware-bottom-cta p {
    font-size: 1.6rem;
  }
  .hardware-option-card {
    padding: 2rem;
  }
  .hardware-option-text h3,
  .hardware-compare-section h3,
  .hardware-bottom-cta h3 {
    font-size: 2.6rem;
  }
  .hardware-compare-table {
    min-width: 560px;
  }
  .hardware-compare-table th,
  .hardware-compare-table td {
    padding: 1.2rem 1.4rem;
    font-size: 1.45rem;
  }
  .hardware-compare-table th {
    font-size: 1.35rem;
  }
}


/* Homepage download section clarity update */
.download-qr-block {
  margin: 18px 0 16px;
  text-align: center;
}

.download-qr-intro {
  margin: 0 0 12px;
  font-size: 1.25rem;
  color: #052C65;
  font-weight: 500;
}

.download-qr-image-wrap {
  display: flex;
  justify-content: center;
}

.apk-download-block--row {
  margin: 14px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 14px;
  row-gap: 10px;
  flex-wrap: wrap;
}

.apk-download-block--row .apk-download-note {
  margin: 0;
  font-size: 1.24rem;
  line-height: 1.35;
  color: #052C65;
  white-space: nowrap;
  width: auto;
  max-width: 100%;
  text-align: center;
  flex: 0 1 auto;
}

.apk-download-block--row .apk-download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 22px;
  border-radius: 999px;
  background: #1f78c8;
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(31, 120, 200, 0.18);
  white-space: nowrap;
  width: auto;
  max-width: 100%;
  text-align: center;
  flex: 0 0 auto;
}

.apk-download-block--row .apk-download-link:hover {
  background: #1867ac;
}

/* Homepage hardware summary typography update */
.hardware-summary-info h3 {
  font-size: 4.6rem;
  line-height: 1.18;
}

.hardware-summary-info h4 {
  font-size: 2.35rem;
  line-height: 1.22;
}

.hardware-summary-info p {
  font-size: 1.72rem;
  line-height: 1.52;
}

@media (max-width: 768px) {
  .download-qr-intro {
    font-size: 1.1rem;
  }

  .apk-download-block--row {
    flex-wrap: wrap;
    gap: 10px;
  }

  .apk-download-block--row .apk-download-note {
    font-size: 1.05rem;
    white-space: normal;
    text-align: center;
  }

  .apk-download-block--row .apk-download-link {
    white-space: nowrap;
  }

  .hardware-summary-info h3 {
    font-size: clamp(2.5rem, 8vw, 3.2rem);
  }

  .hardware-summary-info h4 {
    font-size: clamp(1.5rem, 5vw, 1.8rem);
  }

  .hardware-summary-info p {
    font-size: 1.1rem;
  }
}


/* Homepage hardware summary desktop readability fix */
#partners .hardware-summary-info h3 {
  font-size: clamp(3.4rem, 2.4vw + 1.5rem, 4.2rem);
  line-height: 1.14;
  max-width: 860px;
  margin: 0 auto 2rem;
  text-wrap: balance;
}

#partners .hardware-summary-info h4 {
  font-size: 2.35rem;
  line-height: 1.22;
  margin-top: 2.4rem;
  margin-bottom: 0.5rem;
}

#partners .hardware-summary-info p {
  font-size: 1.72rem;
  line-height: 1.52;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  #partners .hardware-summary-info h3 {
    font-size: clamp(2.5rem, 8vw, 3.2rem);
  }

  #partners .hardware-summary-info h4 {
    font-size: clamp(1.5rem, 5vw, 1.8rem);
  }

  #partners .hardware-summary-info p {
    font-size: 1.1rem;
  }
}

.hardware-probe-image-stack,
.hardware-monitoring-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
.hardware-probe-image-stack img,
.hardware-monitoring-stack img {
  max-width: 100%;
  border-radius: 18px;
}
.hardware-option-text h5 {
  font-size: 1.35rem;
  color: #052C65;
  margin: 0 0 0.5rem;
}


.hardware-mini-rows{
  display:flex;
  flex-direction:column;
  gap:1rem;
  margin-top:1.5rem;
}
.hardware-mini-row{
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:space-between;
  gap:2rem;
  border:1px solid rgba(5,44,101,0.12);
  border-radius:18px;
  padding:1.25rem 1.5rem;
  background:#f8fbff;
}
.hardware-mini-copy{
  flex:1 1 auto;
  min-width:0;
}
.hardware-mini-copy h5{
  margin:0 0 .5rem;
}
.hardware-mini-copy p{
  margin:.35rem 0;
}
.hardware-mini-photo{
  flex:0 0 220px;
  display:flex;
  justify-content:center;
  align-items:center;
  align-self:center;
}
.hardware-mini-photo img{
  max-width:160px;
  max-height:120px;
  object-fit:contain;
}


/* Hardware page image placement refinement */
.hardware-option-image--sensor img{
  max-width: 230px;
  max-height: 360px;
  object-fit: contain;
}

.hardware-mini-photo{
  flex:0 0 220px;
  display:flex;
  justify-content:center;
  align-items:center;
  align-self:center;
}

.hardware-mini-photo img{
  max-width: 200px;
  max-height: 150px;
  object-fit: contain;
}

.hardware-monitoring-layout{
  display:flex;
  flex-direction:column;
  gap:1rem;
  align-items:center;
  width:100%;
}

.hardware-monitoring-top{
  display:flex;
  gap:1rem;
  align-items:flex-end;
  justify-content:center;
  width:100%;
}

.hardware-monitoring-top img:first-child{
  max-width:120px;
  max-height:210px;
  object-fit:contain;
}

.hardware-monitoring-top img:last-child{
  max-width:170px;
  max-height:210px;
  object-fit:contain;
}

.hardware-monitoring-bottom{
  display:flex;
  justify-content:center;
  width:100%;
}

.hardware-monitoring-bottom img{
  max-width:360px;
  max-height:150px;
  object-fit:contain;
}

@media (max-width: 900px){
  .hardware-mini-row{
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:space-between;
  gap:2rem;
  border:1px solid rgba(5,44,101,0.12);
  border-radius:18px;
  padding:1.25rem 1.5rem;
  background:#f8fbff;
}
  .hardware-mini-photo{
  flex:0 0 220px;
  display:flex;
  justify-content:center;
  align-items:center;
  align-self:center;
}
  .hardware-monitoring-top{
    flex-direction:column;
    align-items:center;
  }
}


.hardware-probe-right{
  display:flex;
  flex-direction:column;
  gap:1.5rem;
  justify-content:center;
  align-items:center;
}

.hardware-probe-right img{
  max-width:200px;
  max-height:140px;
  object-fit:contain;
}

.hardware-mini-row{
  display:block; /* remove side layout */
  border:none;
  padding:0;
  background:none;
  margin-bottom:1.5rem;
}

.hardware-mini-copy{
  max-width:520px;
}


.hardware-option-image.hardware-probe-right{
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  align-items:center !important;
  gap:1.75rem !important;
  width:100%;
  min-height:100%;
}
.hardware-option-image.hardware-probe-right img{
  max-width:220px !important;
  max-height:150px !important;
  object-fit:contain !important;
}
.hardware-mini-rows{
  margin-top:1.5rem;
}
.hardware-mini-row{
  display:block !important;
  margin:0 0 1.5rem 0 !important;
  padding:0 !important;
  border:none !important;
  background:none !important;
}
.hardware-mini-row:last-child{
  margin-bottom:0 !important;
}
.hardware-mini-copy{
  max-width:100%;
}


/* Align Option 2 probe images opposite their relevant text blocks */
.hardware-probe-right{
  justify-content:flex-start !important;
  padding-top:7.2rem !important; /* aligns first image with first probe sub-block */
  gap:2.8rem !important;
}

.hardware-probe-right img{
  max-width:260px !important;
  max-height:190px !important;
  object-fit:contain !important;
}

/* Keep spacing of the two probe text blocks visually matched to image stack */
.hardware-mini-row{
  margin:0 0 2.25rem 0 !important;
}


/* Option 1 layout refinement */
.hardware-option-card:first-of-type h3{
  max-width:none !important;
  white-space:nowrap !important;
  font-size:3.2rem !important;
  line-height:1.12 !important;
  margin-bottom:0.6rem !important;
}

.hardware-option-card:first-of-type h4{
  max-width:none !important;
  white-space:nowrap !important;
  font-size:1.9rem !important;
  line-height:1.18 !important;
  margin-bottom:1.6rem !important;
}

.hardware-option-card:first-of-type{
  align-items:start !important;
}

.hardware-option-card:first-of-type .hardware-option-image{
  align-self:start !important;
  padding-top:7.4rem !important; /* move image slightly up for better visual centring */
}

.hardware-option-card:first-of-type .hardware-option-image img{
  max-width:235px !important;
  max-height:320px !important;
  object-fit:contain !important;
}

.hardware-option-card:first-of-type p{
  max-width:40rem;
}

@media (max-width: 1200px){
  .admin-feature-cards{ grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .admin-features-section h2{ white-space: normal; }
}
  .hardware-option-card:first-of-type .hardware-option-image{
    padding-top:3rem !important;
  }
}


/* ===== OPTION 2 ===== */
.hardware-option-card:nth-of-type(2) h3{
  white-space:nowrap !important;
}
.hardware-option-card:nth-of-type(2) h4{
  white-space:nowrap !important;
}
.hardware-option-card:nth-of-type(2) .hardware-probe-right{
  justify-content:flex-start !important;
  padding-top:10rem !important;
  gap:3.25rem !important;
}
.hardware-option-card:nth-of-type(2) .hardware-probe-right img:first-child{
  max-width:340px !important;
  max-height:220px !important;
}
.hardware-option-card:nth-of-type(2) .hardware-probe-right img:last-child{
  max-width:280px !important;
  max-height:200px !important;
  margin-top:2rem !important;
}

/* ===== OPTION 3 ===== */
.hardware-option-card:nth-of-type(3) h3{
  white-space:nowrap !important;
}
.hardware-option-card:nth-of-type(3) h4{
  white-space:nowrap !important;
}
.hardware-option-card:nth-of-type(3) .hardware-option-image{
  padding-top:10.5rem !important;
}
.hardware-option-card:nth-of-type(3) .hardware-monitoring-top img:first-child{
  max-width:140px !important;
  max-height:230px !important;
}
.hardware-option-card:nth-of-type(3) .hardware-monitoring-top img:last-child{
  max-width:200px !important;
  max-height:230px !important;
}
.hardware-option-card:nth-of-type(3) .hardware-monitoring-bottom img{
  max-width:420px !important;
  max-height:170px !important;
}

/* responsive fallback */
@media (max-width:1200px){
  .hardware-option-card:nth-of-type(2) h3,
  .hardware-option-card:nth-of-type(2) h4,
  .hardware-option-card:nth-of-type(3) h3,
  .hardware-option-card:nth-of-type(3) h4{
    white-space:normal !important;
  }
}


/* ===== Hardware page refinement pass 2 ===== */
.hardware-option-card:nth-of-type(2),
.hardware-option-card:nth-of-type(3){
  align-items:start !important;
}

/* Constrain left text blocks to visually match option 1 */
.hardware-option-card:nth-of-type(2) .hardware-option-text p,
.hardware-option-card:nth-of-type(2) .hardware-mini-copy,
.hardware-option-card:nth-of-type(3) .hardware-option-text p{
  max-width:40rem !important;
}

.hardware-option-card:nth-of-type(2) .hardware-option-text,
.hardware-option-card:nth-of-type(3) .hardware-option-text{
  max-width:40rem !important;
}

/* Option 2: align each probe image with its corresponding text block */
.hardware-option-card:nth-of-type(2){
  grid-template-columns: 1.05fr 0.95fr !important;
}
.hardware-option-card:nth-of-type(2) .hardware-probe-right{
  align-items:flex-start !important;
  justify-content:flex-start !important;
  padding-top:4.9rem !important;
  padding-left:0.2rem !important;
  transform:translateX(-2.6rem) !important;
  gap:2.6rem !important;
}
.hardware-option-card:nth-of-type(2) .hardware-probe-right img:first-child{
  max-width:380px !important;
  max-height:260px !important;
  margin-top:2.2rem !important;
}
.hardware-option-card:nth-of-type(2) .hardware-probe-right img:last-child{
  max-width:400px !important;
  max-height:280px !important;
  margin-top:0.9rem !important;
}
.hardware-option-card:nth-of-type(2) .hardware-mini-row:first-child{
  margin-bottom:2.7rem !important;
}

/* Option 3: keep tighter top spacing, move image cluster slightly right */
.hardware-option-card:nth-of-type(3){
  grid-template-columns: 1.05fr 0.95fr !important;
}
.hardware-option-card:nth-of-type(3) .hardware-option-image{
  padding-top:8.4rem !important;
  transform:translateX(0.8rem) !important;
}
.hardware-option-card:nth-of-type(3) .hardware-monitoring-top{
  justify-content:center !important;
}
.hardware-option-card:nth-of-type(3) .hardware-monitoring-bottom{
  justify-content:center !important;
}

@media (max-width:1200px){
  .hardware-option-card:nth-of-type(2) .hardware-option-text,
  .hardware-option-card:nth-of-type(3) .hardware-option-text,
  .hardware-option-card:nth-of-type(2) .hardware-option-text p,
  .hardware-option-card:nth-of-type(2) .hardware-mini-copy,
  .hardware-option-card:nth-of-type(3) .hardware-option-text p{
    max-width:100% !important;
  }
  .hardware-option-card:nth-of-type(2) .hardware-probe-right,
  .hardware-option-card:nth-of-type(3) .hardware-option-image{
    transform:none !important;
    padding-top:3rem !important;
  }
}


/* ================================================================
   Hardware page: separate desktop calibration from mobile layout
   - Desktop keeps the tuned visual balance
   - Mobile/tablet gets clean stacked cards without transforms spilling over
================================================================ */

@media (min-width: 1201px){
  /* Option 1 desktop centring */
  .hardware-option-card:first-of-type .hardware-option-image img{
    transform: translateX(-92px) !important;
  }

  /* Option 2 desktop positioning */
  .hardware-option-card:nth-of-type(2){
    grid-template-columns: 1.38fr 0.62fr !important;
    align-items: start !important;
    column-gap: 2.4rem !important;
  }

  .hardware-option-card:nth-of-type(2) .hardware-option-text,
  .hardware-option-card:nth-of-type(2) .hardware-option-text p,
  .hardware-option-card:nth-of-type(2) .hardware-mini-copy{
    max-width: 100% !important;
  }

  .hardware-option-card:nth-of-type(2) .hardware-mini-row--probe .hardware-mini-copy{
    flex: 1 1 62% !important;
    max-width: 62% !important;
  }

  .hardware-option-card:nth-of-type(2) .hardware-mini-row--probe .hardware-mini-photo{
    flex: 0 0 38% !important;
    max-width: 38% !important;
    justify-content: flex-end !important;
  }

  .hardware-option-card:nth-of-type(2) .hardware-probe-right{
    align-items: flex-end !important;
    justify-content: flex-start !important;
    padding-top: 2.2rem !important;
    padding-left: 0 !important;
    transform: translateX(8.4rem) !important;
    gap: 2.6rem !important;
  }

  .hardware-option-card:nth-of-type(2) .hardware-probe-right img:first-child{
    width: auto !important;
    max-width: 300px !important;
    max-height: 198px !important;
    transform: none !important;
    margin-top: 0.4rem !important;
  }

  .hardware-option-card:nth-of-type(2) .hardware-probe-right img:last-child{
    width: auto !important;
    max-width: 500px !important;
    max-height: 406px !important;
    transform: translateX(-6.2rem) !important;
    margin-top: 0.1rem !important;
  }

  /* Option 3 desktop positioning */
  .hardware-option-card:nth-of-type(3) .hardware-monitoring-layout{
    transform: translate(118px, -18px) !important;
  }
}

@media (max-width: 1200px){
  .admin-feature-cards{ grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .admin-features-section h2{ white-space: normal; }
}

  /* Remove desktop transforms and oversizing */
  .hardware-option-image--sensor img,
  .hardware-option-card:nth-of-type(2) .hardware-probe-right img:first-child,
  .hardware-option-card:nth-of-type(2) .hardware-probe-right img:last-child,
  .hardware-option-card:nth-of-type(3) .hardware-monitoring-layout{
    transform: none !important;
    width: auto !important;
  }

  /* Restore clean stacked card behavior */
  .hardware-option-card,
  .hardware-option-card:nth-of-type(2),
  .hardware-option-card:nth-of-type(3){
    grid-template-columns: 1fr !important;
    gap: 1.6rem !important;
    align-items: start !important;
  }

  .hardware-option-card:first-of-type .hardware-option-image,
  .hardware-option-card:nth-of-type(2) .hardware-probe-right,
  .hardware-option-card:nth-of-type(3) .hardware-option-image{
    padding-top: 0 !important;
    padding-left: 0 !important;
    align-self: center !important;
  }

  .hardware-option-card:nth-of-type(2) .hardware-probe-right{
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 1.4rem !important;
  }

  .hardware-option-card:nth-of-type(2) .hardware-probe-right img:first-child{
    max-width: min(100%, 320px) !important;
    max-height: none !important;
    margin-top: 0 !important;
  }

  .hardware-option-card:nth-of-type(2) .hardware-probe-right img:last-child{
    max-width: min(100%, 280px) !important;
    max-height: none !important;
    margin-top: 0 !important;
  }

  .hardware-option-card:nth-of-type(3) .hardware-option-image{
    transform: none !important;
  }

  .hardware-option-card:nth-of-type(3) .hardware-monitoring-layout{
    align-items: center !important;
    gap: 0.8rem !important;
  }

  .hardware-option-card:nth-of-type(3) .hardware-monitoring-top,
  .hardware-option-card:nth-of-type(3) .hardware-monitoring-bottom{
    justify-content: center !important;
  }

  .hardware-option-card:nth-of-type(3) .hardware-monitoring-top img:first-child{
    max-width: 120px !important;
    max-height: 190px !important;
  }

  .hardware-option-card:nth-of-type(3) .hardware-monitoring-top img:last-child{
    max-width: 160px !important;
    max-height: 190px !important;
  }

  .hardware-option-card:nth-of-type(3) .hardware-monitoring-bottom img{
    max-width: min(100%, 320px) !important;
    max-height: none !important;
  }
}

@media (max-width: 768px){
  .hardware-page-hero,
  .hardware-option-section,
  .hardware-compare-section,
  .hardware-bottom-cta{
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .hardware-option-card{
    padding: 1.35rem !important;
    border-radius: 18px !important;
  }

  .hardware-option-text h3{
    font-size: 2.35rem !important;
    line-height: 1.18 !important;
  }

  .hardware-option-text h4{
    font-size: 1.4rem !important;
    line-height: 1.25 !important;
    margin-bottom: 1rem !important;
  }

  .hardware-option-text p,
  .hardware-option-text h5{
    font-size: 1rem !important;
    line-height: 1.45 !important;
  }

  .hardware-option-kicker,
  .hardware-kicker{
    font-size: 0.85rem !important;
    margin-bottom: 0.55rem !important;
  }

  .hardware-mini-rows{
    margin-top: 1rem !important;
    gap: 0.55rem !important;
  }

  .hardware-mini-row{
    margin-bottom: 1rem !important;
  }
}


/* ===== Final hardware page fix: stable desktop + clean mobile for Option 2 ===== */
.hardware-option-card--probes{
  display:block !important;
}
.hardware-option-card--probes .hardware-option-text{
  max-width:none !important;
}
.hardware-mini-rows--probes{
  margin-top:1.5rem !important;
}
.hardware-mini-row--probe{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:2.2rem !important;
  margin:0 0 2rem 0 !important;
  padding:0 !important;
  border:none !important;
  background:none !important;
}
.hardware-mini-row--probe:last-child{
  margin-bottom:0 !important;
}
.hardware-mini-row--probe .hardware-mini-copy{
  flex:1 1 auto !important;
  max-width:40rem !important;
}
.hardware-mini-row--probe .hardware-mini-photo{
  flex:0 0 34% !important;
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  align-self:center !important;
}
.hardware-mini-photo--probe1 img{
  max-width:340px !important;
  max-height:220px !important;
  object-fit:contain !important;
}
.hardware-mini-photo--probe2 img{
  max-width:255px !important;
  max-height:210px !important;
  object-fit:contain !important;
}

@media (max-width: 1200px){
  .admin-feature-cards{ grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .admin-features-section h2{ white-space: normal; }
  .hardware-mini-row--probe{
    flex-direction:column !important;
    align-items:center !important;
    gap:1.2rem !important;
    margin:0 0 2rem 0 !important;
  }
  .hardware-mini-row--probe .hardware-mini-copy{
    max-width:100% !important;
    width:100% !important;
  }
  .hardware-mini-row--probe .hardware-mini-photo{
    flex:none !important;
    width:100% !important;
    margin-top:0.25rem !important;
  }
  .hardware-mini-photo--probe1 img,
  .hardware-mini-photo--probe2 img{
    max-width:min(100%, 300px) !important;
    max-height:none !important;
  }
}

@media (min-width: 1201px){
  .hardware-option-card:first-of-type .hardware-option-image{
    padding-top:7.4rem !important;
  }
  .hardware-option-card--probes .hardware-mini-row--probe{
    gap:4.2rem !important;
  }
  .hardware-option-card--probes .hardware-mini-row--probe .hardware-mini-copy{
    flex:0 1 48% !important;
    max-width:48% !important;
  }
  .hardware-option-card--probes .hardware-mini-row--probe .hardware-mini-photo{
    flex:0 0 42% !important;
    max-width:42% !important;
    justify-content:flex-end !important;
    padding-right:0.5rem !important;
  }
  .hardware-mini-photo--probe1 img{
    max-width:430px !important;
    max-height:250px !important;
  }
  .hardware-mini-photo--probe2 img{
    max-width:290px !important;
    max-height:225px !important;
  }
  .hardware-option-card:nth-of-type(3){
    grid-template-columns: 1.05fr 0.95fr !important;
    align-items:start !important;
  }
  .hardware-option-card:nth-of-type(3) .hardware-option-image{
    padding-top:8.4rem !important;
    transform:translateX(0.8rem) !important;
  }
  .hardware-option-card:nth-of-type(3) .hardware-option-text,
  .hardware-option-card:nth-of-type(3) .hardware-option-text p{
    max-width:40rem !important;
  }
}


/* Desktop fix: Option 2 lower display probe image */
@media (min-width: 761px) {
  .hardware-option-card:nth-of-type(2) .hardware-probe-right img:last-child,
  .hardware-option-card:nth-of-type(2) .hardware-probe-right img.display-probe,
  .hardware-option-card:nth-of-type(2) .hardware-mini-photo--display img,
  .hardware-option-card:nth-of-type(2) .hardware-mini-row:last-child .hardware-mini-photo img {
    width: auto !important;
    max-width: 425px !important;
    max-height: 340px !important;
    transform: translateX(-1.4rem) scale(0.95) !important;
    transform-origin: center center !important;
    margin-top: 0.1rem !important;
  }

  .hardware-option-card:nth-of-type(2) .hardware-mini-photo--display,
  .hardware-option-card:nth-of-type(2) .hardware-mini-row:last-child .hardware-mini-photo {
    overflow: visible !important;
  }
}



/* === Hardware page hero spacing fix === */
.hardware-hero{
  padding-top: 36px !important;
  padding-bottom: 28px !important;
}
@media (max-width: 768px){
  .hardware-hero{
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
}


/* Post-pricing admin features */
.admin-features-section{
  background: #eef5fb;
  padding: 58px 20px 72px;
}
.admin-features-section .container{
  max-width: 1200px;
  margin: 0 auto;
}
.admin-features-section h2{
  text-align:center;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color:#133f84;
  margin-bottom:14px;
  line-height: 1.08;
  white-space: nowrap;
}
.admin-features-intro{
  max-width: 980px;
  margin: 0 auto 36px;
  text-align:center;
  font-size: 1.12rem;
  line-height:1.65;
  color:#2f5f9f;
}
.admin-feature-cards{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  max-width: 1220px;
  margin: 0 auto;
}
.admin-feature-card{
  background:#fff;
  border-radius:24px;
  padding:22px 18px 24px;
  box-shadow: 0 10px 28px rgba(19,63,132,0.08);
  border:1px solid rgba(19,63,132,0.08);
}
.admin-feature-icon{
  width:48px;
  height:48px;
  border-radius:50%;
  background:#e8f1fb;
  color:#1d67c1;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:14px;
}
.admin-feature-icon svg{ width:24px; height:24px; }
.admin-feature-card h3{
  font-size:1.05rem;
  line-height:1.22;
  color:#133f84;
  margin:0 0 10px;
  min-height: 2.5em;
}
.admin-feature-card p{
  font-size:0.98rem;
  line-height:1.58;
  color:#3769ab;
  margin:0;
}
.admin-features-reassurance{
  max-width: 900px;
  margin: 20px auto 0;
  text-align: center;
  font-size: 1.02rem;
  line-height: 1.55;
  color: #4b6f9f;
}
@media (max-width: 1200px){
  .admin-feature-cards{ grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .admin-features-section h2{ white-space: normal; }
}
}
@media (max-width: 700px){
  .admin-feature-cards{ grid-template-columns:1fr; }
  .admin-features-section{ padding:52px 20px 60px; }
  .admin-feature-card{ padding:24px 20px; }
  .admin-features-section h2{ white-space: normal; }
}
  .admin-features-section{
  background: #eef5fb;
  padding: 58px 20px 72px;
}
  .admin-feature-card{
  background:#fff;
  border-radius:24px;
  padding:22px 18px 24px;
  box-shadow: 0 10px 28px rgba(19,63,132,0.08);
  border:1px solid rgba(19,63,132,0.08);
}
}




/* FINAL POLISH: decouple How It Works from early hamburger breakpoint */
@media (max-width: 1500px) and (min-width: 1051px){
  body.page-home #features .feature-image{ display:block !important; }
  body.page-home #features .feature-desc{ width:auto !important; }
  body.page-home #features .feature-desc .feature-info{
    max-width: 520px !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    margin: 0 !important;
  }
  body.page-home #features .feature-info h2,
  body.page-home #features .feature-info p{ color: inherit !important; }
  body.page-home #features .info-container{
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
    gap: clamp(24px, 3vw, 44px) !important;
    margin-bottom: 1.3rem !important;
  }
  body.page-home #features .feature-image img{
    aspect-ratio: 16 / 10 !important;
  }
}

@media (max-width: 1050px) and (min-width: 701px){
  body.page-home #features .info-container{
    width: min(92%, 860px) !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin: 0 auto 1.4rem auto !important;
  }
  body.page-home #features .feature-image{ display:block !important; order:1; }
  body.page-home #features .feature-desc{ display:block !important; order:2; width:auto !important; }
  body.page-home #features .feature-desc .feature-info{
    max-width: none !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }
  body.page-home #features .feature-info h2,
  body.page-home #features .feature-info p{ color: inherit !important; }
  body.page-home #features .feature-image img{
    width: 100% !important;
    aspect-ratio: 16 / 8.8 !important;
    object-fit: cover !important;
  }
  body.page-home #features .feature-info h2{ font-size: clamp(1.55rem, 1.2vw + 1.1rem, 1.9rem) !important; }
  body.page-home #features .feature-info p{ font-size: 1rem !important; }
}

@media (max-width: 700px){
  body.page-home #features .info-container{
    width: min(92%, 520px) !important;
    display:grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin: 0 auto 1rem auto !important;
  }
  body.page-home #features .feature-image{ display:block !important; }
  body.page-home #features .feature-desc{ display:block !important; width:auto !important; }
  body.page-home #features .feature-desc .feature-info{
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    max-width: none !important;
  }
  body.page-home #features .feature-info h2,
  body.page-home #features .feature-info p{ color: inherit !important; }
  body.page-home #features .feature-image img{
    aspect-ratio: 16 / 9.2 !important;
    width: 100% !important;
    object-fit: cover !important;
  }
  body.page-home #features .feature-info h2{ font-size: clamp(1.45rem, 4vw, 1.75rem) !important; }
  body.page-home #features .feature-info p{ font-size: 0.98rem !important; line-height: 1.45 !important; }
}

/* =========================================================
   HOME PAGE PASS 1 — DESKTOP/LAPTOP WIDTH NORMALISATION
   Structural-only alignment pass for a single content rhythm.
   ========================================================= */
body.page-home{
  --home-max: 1440px;
  --home-pad: 32px;
  --home-pad-tight: 24px;
  --home-section-space: 80px;
  --home-section-space-tight: 60px;
}

@media (max-width: 1400px){
  body.page-home{
    --home-pad: 24px;
    --home-section-space: 60px;
  }
}

/* Master horizontal frame */
body.page-home #hero .container,
body.page-home #admin-features > .container,
body.page-home #partners > .container,
body.page-home #testimonials > .container,
body.page-home #contact > .container{
  width: min(calc(100% - (var(--home-pad) * 2)), var(--home-max)) !important;
  max-width: var(--home-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.page-home #features .info-container,
body.page-home #pricing .pricing-container,
body.page-home #download .card{
  width: min(calc(100% - (var(--home-pad) * 2)), var(--home-max)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Consistent section spacing */
body.page-home #features,
body.page-home #pricing,
body.page-home #admin-features,
body.page-home #download,
body.page-home #partners,
body.page-home #testimonials,
body.page-home #contact{
  padding-top: var(--home-section-space) !important;
  padding-bottom: var(--home-section-space) !important;
}

/* Shared heading rhythm */
body.page-home #features > h1,
body.page-home #pricing > h1,
body.page-home #download > h1,
body.page-home #partners > h1,
body.page-home #testimonials > h1,
body.page-home #contact > h1{
  width: min(calc(100% - (var(--home-pad) * 2)), var(--home-max));
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 22px !important;
  text-align: center;
}

body.page-home #features > p[data-lang="featuresSubtitle"],
body.page-home #pricing .pricing-section-subtitle,
body.page-home .admin-features-final-intro{
  max-width: 860px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
}

/* Undo earlier over-widening on desktop */
@media (min-width: 992px){
  body.page-home #hero .container,
  body.page-home #features .info-container,
  body.page-home #pricing .pricing-container,
  body.page-home #partners .container,
  body.page-home #testimonials .container,
  body.page-home #contact .container{
    width: min(calc(100% - (var(--home-pad) * 2)), var(--home-max)) !important;
    max-width: var(--home-max) !important;
  }
}

@media (min-width: 1100px){
  body.page-home #hero .container,
  body.page-home #partners .container,
  body.page-home #testimonials .container,
  body.page-home #contact .container,
  body.page-home #features .info-container,
  body.page-home .pricing-container{
    max-width: var(--home-max) !important;
  }
}

/* Hero: keep inside the same desktop frame */
body.page-home #hero .info{
  max-width: 820px !important;
}

body.page-home #hero .hero-visual{
  flex: 0 0 500px !important;
  max-width: 500px !important;
}

body.page-home #hero .hero-phone{
  max-width: 420px !important;
}

body.page-home #hero .hero-cta-wide{
  width: 100%;
  max-width: none;
  justify-content: center;
  gap: 24px;
}

@media (min-width: 992px){
  body.page-home #hero .hero-cta-wide a{
    flex: 1 1 0 !important;
    min-width: 0;
    max-width: none;
  }
}

/* How It Works: one clean two-column frame */
body.page-home #features{
  padding-top: var(--home-section-space) !important;
  padding-bottom: 32px !important;
}

body.page-home #features .info-container{
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 48px !important;
  align-items: center !important;
  margin-bottom: 36px !important;
}

body.page-home #features .feature-desc .feature-info{
  max-width: 640px !important;
}

body.page-home #features .feature-image img{
  border-radius: 0 !important;
}

/* Pricing: align to same page frame */
body.page-home #pricing{
  padding-top: 48px !important;
}

body.page-home #pricing .pricing-container{
  max-width: var(--home-max) !important;
  gap: 32px !important;
}

body.page-home #pricing .pricing-footer{
  width: min(calc(100% - (var(--home-pad) * 2)), var(--home-max));
  max-width: 980px;
  margin: 28px auto 0 auto !important;
  text-align: center;
}

/* Admin cards: use same frame as the other sections */
body.page-home #admin-features > .container{
  max-width: var(--home-max) !important;
}

body.page-home .admin-cards-grid{
  max-width: none !important;
  width: 100%;
  margin: 40px auto 18px auto !important;
}

/* Download: narrower centered inner box inside the shared page frame */
body.page-home #download .card{
  max-width: 900px !important;
  padding: 34px 28px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.page-home #download .store-buttons{
  margin-top: 18px !important;
  margin-bottom: 18px !important;
}

body.page-home #download .apk-download-block--row{
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 14px !important;
  flex-wrap: nowrap !important;
  margin-top: 18px !important;
}

body.page-home #download .apk-download-note,
body.page-home #download .apk-download-link{
  margin: 0 !important;
}
body.page-home #download .apk-download-note{
  font-size: 1.26rem !important;
  line-height: 1.38 !important;
  white-space: nowrap !important;
  text-align: center !important;
}
body.page-home #download .apk-download-link{
  min-width: 220px !important;
}

/* Hardware summary box aligned to master frame */
body.page-home #partners .container{
  padding: 32px 36px 40px 36px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.page-home #partners .info{
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

body.page-home #partners .hardware-title-row{
  justify-content: center !important;
}

/* Testimonials: keep cards within the same container width */
body.page-home #testimonials .container{
  margin-top: 0 !important;
  margin-bottom: 28px !important;
}

body.page-home #testimonials .container:last-child{
  margin-bottom: 0 !important;
}

/* Contact: centered content within shared frame */
body.page-home #contact .container{
  max-width: var(--home-max) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 34px 28px !important;
}

body.page-home #contact .contact-box-inner{
  max-width: 980px;
  margin: 0 auto;
}

/* Smaller laptops: keep the same rhythm, slightly tighter */
@media (max-width: 1400px){
  body.page-home #features .info-container{
    gap: 32px !important;
  }

  body.page-home #hero .hero-visual{
    flex-basis: 450px !important;
    max-width: 450px !important;
  }

  body.page-home #hero .hero-phone{
    max-width: 380px !important;
  }
}

/* === PASS 2 HOMEPAGE POLISH (non-structural) === */
body.page-home #hero .container{
  row-gap: 14px !important;
}
body.page-home #hero .hero-grid{
  column-gap: 56px !important;
  align-items: center !important;
}
body.page-home #hero .info{
  gap: 8px !important;
}
body.page-home #hero .hero-cta{
  margin-top: 8px !important;
}

body.page-home #features{
  padding-bottom: 44px !important;
}
body.page-home #features .info-container{
  gap: 56px !important;
  margin-bottom: 52px !important;
}
body.page-home #features .feature-desc .feature-info h3{
  margin-bottom: 14px !important;
}
body.page-home #features .feature-desc .feature-info p{
  max-width: 600px;
  line-height: 1.58 !important;
}

body.page-home #pricing{
  padding-top: 60px !important;
  padding-bottom: 34px !important;
}
body.page-home #pricing .pricing-section-subtitle{
  margin-bottom: 24px !important;
}
body.page-home #pricing .pricing-card{
  padding-top: 26px !important;
  padding-bottom: 24px !important;
}
body.page-home #pricing .pricing-footer{
  margin: 34px auto 0 auto !important;
}
body.page-home #pricing .pricing-notes p{
  line-height: 1.45 !important;
}

body.page-home #admin-features{
  padding-top: 64px !important;
  padding-bottom: 52px !important;
}
body.page-home .admin-cards-grid{
  margin: 34px auto 22px auto !important;
}
body.page-home .admin-card{
  padding: 34px 30px !important;
}
body.page-home .admin-card p{
  line-height: 1.6 !important;
}

body.page-home #download{
  padding-top: 42px !important;
  padding-bottom: 54px !important;
}
body.page-home #download .card > p:first-of-type{
  margin-bottom: 14px !important;
}
body.page-home #download .card h3{
  margin: 18px 0 14px 0 !important;
}
body.page-home #download .apk-download-block--row{
  gap: 34px !important;
  margin-top: 22px !important;
}
body.page-home #download .apk-download-note{
  max-width: 260px;
  text-align: center;
  line-height: 1.35;
}

body.page-home #partners{
  padding-top: 44px !important;
}
body.page-home #partners .container{
  padding: 36px 38px 44px 38px !important;
}

body.page-home #testimonials{
  padding-top: 56px !important;
  padding-bottom: 34px !important;
}
body.page-home #testimonials h1{
  margin-bottom: 28px !important;
}
body.page-home #testimonials .testimonial-overlay{
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}
body.page-home #testimonials .container{
  margin-bottom: 34px !important;
}

body.page-home #contact{
  padding-top: 34px !important;
}

@media (max-width: 1400px){
  body.page-home #hero .hero-grid{ column-gap: 40px !important; }
  body.page-home #features .info-container{ gap: 40px !important; margin-bottom: 42px !important; }
  body.page-home #admin-card{ padding: 30px 26px !important; }
}

@media (max-width: 900px){
  body.page-home #hero .container{ row-gap: 10px !important; }
  body.page-home #features .info-container{ gap: 22px !important; margin-bottom: 34px !important; }
  body.page-home #pricing{ padding-top: 44px !important; }
  body.page-home #admin-features{ padding-top: 48px !important; padding-bottom: 42px !important; }
  body.page-home #download .apk-download-block--row{ gap: 12px !important; }
}


/* === PASS 3 HOMEPAGE MICRO-POLISH === */
@media (min-width: 992px){
  /* Slightly reduce hero text scale so it feels less top-heavy while preserving presence */
  body.page-home #hero h1{
    font-size: clamp(3.65rem, 2.15vw + 2.2rem, 4.7rem) !important;
    line-height: 1.04 !important;
    margin-bottom: 0.7rem !important;
  }

  body.page-home #hero p{
    font-size: clamp(1.72rem, 0.9vw + 1.28rem, 2.08rem) !important;
    line-height: 1.16 !important;
    margin-bottom: 0.72rem !important;
  }

  /* Keep the copy block feeling centered against the phone without narrowing it too much */
  body.page-home #hero .info{
    max-width: 790px !important;
  }

  /* Tighten the text stack and CTA lead-in very slightly */
  body.page-home #hero .container{
    row-gap: 10px !important;
  }

  body.page-home #hero .info{
    gap: 6px !important;
  }

  body.page-home #hero .hero-demo-prompt{
    margin-top: 10px !important;
  }

  body.page-home #hero .hero-cta{
    margin-top: 4px !important;
  }

  body.page-home #hero .hero-cta-guide{
    max-width: 900px;
    margin-bottom: 0.8rem !important;
  }

  body.page-home #hero .hero-cta-wide{
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 1400px) and (min-width: 992px){
  body.page-home #hero h1{
    font-size: clamp(3.35rem, 1.95vw + 2.0rem, 4.3rem) !important;
  }

  body.page-home #hero p{
    font-size: clamp(1.55rem, 0.75vw + 1.18rem, 1.88rem) !important;
  }
}

/* === PASS 4: wide-desktop uniformity micro-tweaks === */
body.page-home #pricing .pricing-card{
  display:flex !important;
  flex-direction:column !important;
}

body.page-home #pricing .pricing-features,
body.page-home #pricing .pricing-features--simple,
body.page-home #pricing .pricing-card.free-tier .pricing-features{
  flex:1 1 auto !important;
}

body.page-home #pricing .pricing-card > .action-btn{
  margin-top:auto !important;
  align-self:center !important;
}

@media (min-width: 1600px){
  body.page-home #features h1,
  body.page-home #pricing h1,
  body.page-home #download h1,
  body.page-home #partners h1,
  body.page-home #testimonials h1,
  body.page-home #contact h1,
  body.page-home .admin-features-final-title{
    font-size: clamp(3.95rem, 1.9vw + 2.2rem, 5.0rem) !important;
    line-height: 1.08 !important;
    font-weight: 500 !important;
    letter-spacing: -0.02em !important;
    color: #052C65 !important;
  }

  body.page-home #features h1{
    margin-top: 1.35rem !important;
  }
}

/* =========================================================
   HOME PAGE PASS 4 — RESPONSIVE TYPOGRAPHY UNIFICATION
   Keep wide desktop unchanged; unify heading scaling below it.
   ========================================================= */

/* Mid-width desktops / responsive laptop checks */
@media (max-width: 1700px) {
  body.page-home #features > h1,
  body.page-home #pricing > h1,
  body.page-home #admin-features h2,
  body.page-home #download > h1,
  body.page-home #partners > h1,
  body.page-home #testimonials > h1,
  body.page-home #contact > h1 {
    font-size: clamp(2.9rem, 2.0vw + 1.35rem, 3.9rem) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.02em;
    white-space: normal !important;
    text-wrap: balance;
  }

  body.page-home #features > h1,
  body.page-home #pricing > h1,
  body.page-home #download > h1,
  body.page-home #partners > h1,
  body.page-home #testimonials > h1,
  body.page-home #contact > h1 {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
  }

  body.page-home #admin-features h2 {
    margin-top: 0 !important;
    margin-bottom: 14px !important;
    font-weight: 500 !important;
  }
}

/* Tablet / narrow laptop widths */
@media (max-width: 1200px) {
  body.page-home #features > h1,
  body.page-home #pricing > h1,
  body.page-home #admin-features h2,
  body.page-home #download > h1,
  body.page-home #partners > h1,
  body.page-home #testimonials > h1,
  body.page-home #contact > h1 {
    font-size: clamp(2.35rem, 2.2vw + 1.2rem, 3.15rem) !important;
    line-height: 1.14 !important;
  }
}

/* Phone / very narrow responsive checks */
@media (max-width: 700px) {
  body.page-home #features > h1,
  body.page-home #pricing > h1,
  body.page-home #admin-features h2,
  body.page-home #download > h1,
  body.page-home #partners > h1,
  body.page-home #testimonials > h1,
  body.page-home #contact > h1 {
    font-size: clamp(2.0rem, 5vw, 2.55rem) !important;
    line-height: 1.16 !important;
    text-wrap: balance;
  }
}

/* PASS 7 — How It Works responsive stack restoration */
@media (max-width: 1099px){
  body.page-home #features .info-container{
    display: flex !important;
    flex-direction: column !important;
    width: min(92%, 860px) !important;
    gap: 16px !important;
    margin: 0 auto 1.5rem auto !important;
  }
  body.page-home #features .feature-image{
    display: block !important;
    order: 1 !important;
    width: 100% !important;
    flex: 0 0 auto !important;
  }
  body.page-home #features .feature-desc{
    display: block !important;
    order: 2 !important;
    width: 100% !important;
    flex: 0 0 auto !important;
  }
  body.page-home #features .feature-image img{
    display: block !important;
    width: 100% !important;
    aspect-ratio: 16 / 8.8 !important;
    object-fit: cover !important;
  }
  body.page-home #features .feature-desc .feature-info{
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
  }
}

@media (max-width: 700px){
  body.page-home #features .info-container{
    width: min(92%, 520px) !important;
    gap: 12px !important;
    margin-bottom: 1.1rem !important;
  }
  body.page-home #features .feature-image img{
    aspect-ratio: 16 / 9.2 !important;
  }
}


/* === PASS 11 — ultra-tight cleanup only === */
body.page-home .admin-features-final-title,
body.page-home .admin-features-final-intro{
  width: min(100%, 860px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

body.page-home #download .apk-download-block--row{
  width: 100% !important;
  text-align: center !important;
}

body.page-home #download .apk-download-note{
  width: 100% !important;
  max-width: 560px !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

@media (max-width: 600px){
  body.page-home #download .apk-download-note{
    max-width: 320px !important;
  }
}

/* PASS: hardware option 1 isolated restore */
@media (min-width: 1201px){
  .hardware-option-card:first-of-type{
    grid-template-columns: 1.08fr 0.92fr !important;
    gap: 3rem !important;
    align-items: center !important;
  }

  .hardware-option-card:first-of-type .hardware-option-text{
    max-width: 100% !important;
  }

  .hardware-option-card:first-of-type .hardware-option-image{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    padding-top: 0 !important;
  }

  .hardware-option-card:first-of-type .hardware-option-image img{
    transform: none !important;
    max-width: 235px !important;
    max-height: 320px !important;
    width: auto !important;
  }
}

@media (max-width: 1200px){
  .hardware-option-card:first-of-type{
    grid-template-columns: 1fr !important;
    gap: 1.6rem !important;
    align-items: start !important;
  }

  .hardware-option-card:first-of-type .hardware-option-image{
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    align-self: center !important;
    padding-top: 0 !important;
  }

  .hardware-option-card:first-of-type .hardware-option-image img{
    transform: none !important;
    max-width: min(100%, 235px) !important;
    max-height: 320px !important;
    width: auto !important;
  }
}

@media (max-width: 768px){
  .hardware-option-card:first-of-type h3,
  .hardware-option-card:first-of-type h4{
    white-space: normal !important;
  }

  .hardware-option-card:first-of-type h3{
    font-size: 2.35rem !important;
    line-height: 1.18 !important;
  }

  .hardware-option-card:first-of-type h4{
    font-size: 1.4rem !important;
    line-height: 1.25 !important;
  }

  .hardware-option-card:first-of-type p{
    max-width: 100% !important;
  }
}

/* === Hardware page stabilisation pass: prevent long translated strings pushing images خارج cards === */
.hardware-option-card,
.hardware-option-text,
.hardware-option-image,
.hardware-mini-row--probe,
.hardware-mini-row--probe .hardware-mini-copy,
.hardware-mini-row--probe .hardware-mini-photo,
.hardware-monitoring-layout,
.hardware-monitoring-top,
.hardware-monitoring-bottom {
  min-width: 0;
}

.hardware-option-card {
  overflow: hidden;
}

.hardware-option-card .hardware-option-text h3,
.hardware-option-card .hardware-option-text h4,
.hardware-option-card .hardware-option-text h5,
.hardware-option-card .hardware-mini-copy h5,
.hardware-option-card .hardware-mini-copy p,
.hardware-option-card .hardware-option-text p {
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (min-width: 981px) {
  .hardware-option-card {
    grid-template-columns: minmax(0, 1.08fr) minmax(220px, 0.92fr) !important;
    align-items: start !important;
    column-gap: 2.4rem !important;
  }

  .hardware-option-card:first-of-type .hardware-option-text,
  .hardware-option-card:first-of-type .hardware-option-text p,
  .hardware-option-card:nth-of-type(3) .hardware-option-text,
  .hardware-option-card:nth-of-type(3) .hardware-option-text p {
    max-width: 100% !important;
  }

  .hardware-option-card:first-of-type h3,
  .hardware-option-card:first-of-type h4,
  .hardware-option-card:nth-of-type(2) h3,
  .hardware-option-card:nth-of-type(2) h4,
  .hardware-option-card:nth-of-type(3) h3,
  .hardware-option-card:nth-of-type(3) h4 {
    white-space: normal !important;
    max-width: 100% !important;
  }

  .hardware-option-card:first-of-type .hardware-option-image,
  .hardware-option-card:nth-of-type(3) .hardware-option-image,
  .hardware-option-card:nth-of-type(3) .hardware-monitoring-layout {
    padding-top: 0 !important;
    transform: none !important;
    align-self: center !important;
    justify-self: center !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .hardware-option-card:first-of-type .hardware-option-image img {
    transform: none !important;
    max-width: min(100%, 235px) !important;
    width: auto !important;
  }

  .hardware-option-card:nth-of-type(3) .hardware-monitoring-top,
  .hardware-option-card:nth-of-type(3) .hardware-monitoring-bottom {
    justify-content: center !important;
  }

  .hardware-option-card--probes {
    display: block !important;
    overflow: hidden;
  }

  .hardware-option-card--probes .hardware-option-text,
  .hardware-option-card--probes .hardware-option-text p,
  .hardware-option-card--probes .hardware-mini-row--probe .hardware-mini-copy {
    max-width: 100% !important;
  }

  .hardware-option-card--probes .hardware-mini-row--probe {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 340px) !important;
    align-items: center !important;
    column-gap: 2rem !important;
  }

  .hardware-option-card--probes .hardware-mini-row--probe .hardware-mini-copy {
    width: auto !important;
    max-width: none !important;
  }

  .hardware-option-card--probes .hardware-mini-row--probe .hardware-mini-photo {
    width: auto !important;
    max-width: 340px !important;
    justify-content: center !important;
    padding-right: 0 !important;
    transform: none !important;
    overflow: hidden !important;
  }

  .hardware-option-card--probes .hardware-mini-photo--probe1 img,
  .hardware-option-card--probes .hardware-mini-photo--probe2 img,
  .hardware-option-card:nth-of-type(2) .hardware-mini-row:last-child .hardware-mini-photo img,
  .hardware-option-card:nth-of-type(2) .hardware-mini-photo--display img {
    transform: none !important;
    margin-top: 0 !important;
    max-width: 100% !important;
    width: auto !important;
  }
}

@media (max-width: 980px) {
  .hardware-option-card,
  .hardware-option-card:nth-of-type(2),
  .hardware-option-card:nth-of-type(3) {
    grid-template-columns: 1fr !important;
  }
}


/* Hardware page probe image scale restore */
@media (min-width: 981px) {
  .hardware-option-card--probes .hardware-mini-photo {
    flex: 0 0 260px;
  }

  .hardware-option-card--probes .hardware-mini-photo--probe1 img {
    max-width: 250px;
    max-height: 185px;
  }

  .hardware-option-card--probes .hardware-mini-photo--probe2 img {
    max-width: 155px;
    max-height: 235px;
  }
}

/* ===== Hardware page refinement pass 3: restore Option 2 desktop image scale ===== */
@media (min-width: 1201px){
  .hardware-option-card--probes .hardware-mini-row--probe .hardware-mini-photo{
    flex: 0 0 320px !important;
    max-width: 320px !important;
    width: 320px !important;
    justify-content: center !important;
    padding-right: 0 !important;
    overflow: visible !important;
  }

  .hardware-option-card--probes .hardware-mini-photo--probe1 img{
    width: auto !important;
    max-width: 300px !important;
    max-height: 180px !important;
    transform: none !important;
    margin: 0 !important;
  }

  .hardware-option-card--probes .hardware-mini-photo--probe2 img,
  .hardware-option-card:nth-of-type(2) .hardware-mini-row:last-child .hardware-mini-photo img{
    width: auto !important;
    max-width: 220px !important;
    max-height: 250px !important;
    transform: none !important;
    margin: 0 !important;
  }
}


/* PASS 12 — home admin heading true centering */
body.page-home #admin-features > .container{display:block !important;text-align:center !important;}
body.page-home .admin-features-final-title,
body.page-home .admin-features-final-intro,
body.page-home .admin-features-final-footer{display:block !important;width:100% !important;max-width:none !important;margin-left:auto !important;margin-right:auto !important;text-align:center !important;}
body.page-home .admin-features-final-intro{white-space:normal !important;}


/* Primary navigation dropdowns */
.navbar .links .nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 5000;
}

.navbar .links .nav-dropdown:hover,
.navbar .links .nav-dropdown:focus-within {
  z-index: 9000;
}

.navbar .links .nav-dropdown::after {
  content: "";
  position: absolute;
  left: -0.5rem;
  right: -0.5rem;
  top: 100%;
  height: 12px;
  display: none;
}

.navbar .links .nav-dropdown:hover::after,
.navbar .links .nav-dropdown:focus-within::after {
  display: block;
}

.navbar .links .nav-dropdown > .nav-dropdown-toggle {
  cursor: default;
  padding: 0.85rem 0;
}

.navbar .links .nav-solutions > .solutions-toggle {
  color: #1D71B8;
  font-weight: 700;
}

.navbar .links .nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 300px;
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.16);
  padding: 0.55rem 0;
  z-index: 9999;
}

.navbar .links .nav-explore .nav-dropdown-menu {
  min-width: 190px;
}

.navbar .links .nav-dropdown:hover .nav-dropdown-menu,
.navbar .links .nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}

.navbar .links .nav-dropdown-menu li {
  margin: 0 !important;
  display: block;
}

.navbar .links .nav-dropdown-menu a {
  display: block;
  padding: 0.72rem 1rem;
  white-space: nowrap;
  font-size: var(--nav-item-font);
}

.navbar .links .nav-dropdown-menu a:hover {
  background: rgba(29,113,184,0.08);
}

.dropdown-menu .mobile-enterprise-label {
  font-weight: 700;
  color: #052C65;
  padding-bottom: 0.25rem;
}

.dropdown-menu .mobile-subitem {
  padding-left: 1.7rem;
}

.dropdown-menu .mobile-subitem a {
  font-size: 1.05rem;
}

/* 2026-05-21 mobile fixes for enterprise/telemetry pages */
@media (max-width: 768px) {
  header {
    padding-left: 0.7rem !important;
    padding-right: 0.7rem !important;
  }

  .navbar {
    gap: 0.45rem !important;
    justify-content: space-between !important;
  }

  .navbar .nav-left {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    gap: 0.45rem !important;
  }

  .navbar .logo a {
    font-size: 1.15rem !important;
    white-space: nowrap !important;
  }

  .navbar .logo a img {
    height: 2rem !important;
  }

  .navbar .nav-language select {
    max-width: 120px !important;
    font-size: 0.9rem !important;
    padding: 0.42rem 0.55rem !important;
  }

  .navbar .links,
  .navbar .action-btn {
    display: none !important;
  }

  .navbar .toggle-btn {
    display: flex !important;
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 42px !important;
    align-items: center !important;
    justify-content: center !important;
    color: #052C65 !important;
    font-size: 1.8rem !important;
    line-height: 1 !important;
    margin-left: 0.25rem !important;
    z-index: 4300 !important;
  }

  /* Use plain text symbols so the hamburger works even when Font Awesome is unavailable offline. */
  .navbar .toggle-btn i {
    font-family: Arial, Helvetica, sans-serif !important;
    font-style: normal !important;
    font-weight: 700 !important;
  }

  .navbar .toggle-btn i.fa-bars::before {
    content: "☰" !important;
  }

  .navbar .toggle-btn i.fa-xmark::before {
    content: "×" !important;
  }

  .dropdown-menu {
    display: block !important;
    right: 0.75rem !important;
    left: auto !important;
    width: min(92vw, 360px) !important;
    top: var(--top-ui-offset, 76px) !important;
  }

  .enterprise-two-col {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .enterprise-two-col > * {
    min-width: 0 !important;
    width: 100% !important;
  }

  .enterprise-list-panel {
    width: 100% !important;
    max-width: 100% !important;
    padding: 24px !important;
  }

  .enterprise-list-panel div[style*="grid"] {
    width: 100% !important;
  }
}

/* 2026-05-21: align new page hamburger visibility with site navigation breakpoint.
   The site switches from desktop nav to hamburger at 1600px. Enterprise and
   telemetry pages must show a visible plain-text icon at that same breakpoint,
   including offline/local testing where Font Awesome may not load. */
@media (max-width: 1600px) {
  .navbar .toggle-btn {
    display: flex !important;
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 42px !important;
    align-items: center !important;
    justify-content: center !important;
    color: #052C65 !important;
    font-size: 1.8rem !important;
    line-height: 1 !important;
    margin-left: 0.25rem !important;
    z-index: 4300 !important;
  }

  .navbar .toggle-btn i {
    font-family: Arial, Helvetica, sans-serif !important;
    font-style: normal !important;
    font-weight: 700 !important;
  }

  .navbar .toggle-btn i.fa-bars::before {
    content: "☰" !important;
  }

  .navbar .toggle-btn i.fa-xmark::before {
    content: "×" !important;
  }

  .navbar .links,
  .navbar .action-btn {
    display: none !important;
  }
}

/* Enterprise hero background fix: keep image-only atmosphere visible */
@media (max-width: 768px) {
  .enterprise-hero-section {
    padding: 72px 18px 140px !important;
    background-position: center 38% !important;
  }
}


/* --------------------------------------------------------------------------
   Retail Groups visual hero refresh
   - Uses generated multi-country supermarket image as a full-width hero
   - Keeps headline text centred over the clean pale image area
   - Moves the operational tick list below the hero image
-------------------------------------------------------------------------- */
#retail{
  background: #F7FAFF;
}

#retail .retail-visual-hero{
  position: relative;
  width: 100%;
  min-height: var(--vh-hero-min);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(247,251,255,0.08) 0%, rgba(247,251,255,0.04) 58%, rgba(247,251,255,0.92) 100%),
    image-set(
      url("images/retail-groups-hero.webp?v=20260528-i18n10-img1") type("image/webp"),
      url("images/retail-groups-hero.png?v=20260528-i18n10-img1") type("image/png")
    );
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

#retail .retail-visual-overlay{
  width: min(1180px, 92vw);
  margin: 0 auto;
  padding: clamp(36px, 5vh, 76px) 24px clamp(80px, 12vh, 150px);
  text-align: center;
  position: relative;
  z-index: 1;
}

#retail .retail-visual-overlay h1{
  color: #052C65;
  font-size: clamp(3.2rem, 5.3vw, 6.4rem);
  line-height: 1.05;
  margin: 0 0 clamp(18px, 2.4vh, 36px);
  letter-spacing: -0.035em;
  text-shadow: 0 2px 18px rgba(255,255,255,0.88);
}

#retail .retail-visual-overlay h2{
  color: #052C65;
  font-size: clamp(2.0rem, 3.3vw, 4.6rem);
  line-height: 1.16;
  max-width: 1180px;
  margin: 0 auto clamp(20px, 2.8vh, 34px);
  letter-spacing: -0.026em;
  text-shadow: 0 2px 18px rgba(255,255,255,0.9);
}

#retail .retail-hero-intro{
  color: #1D71B8;
  font-size: clamp(1.15rem, 1.55vw, 2.05rem);
  line-height: 1.45;
  max-width: 1040px;
  margin: 0 auto clamp(24px, 3vh, 38px);
  text-align: center;
  text-shadow: 0 2px 14px rgba(255,255,255,0.92);
}

#retail .retail-hero-cta{
  align-items: center;
  margin-top: 0;
}

#retail .retail-hero-cta .cta-row{
  justify-content: center;
}

#retail .retail-wrap{
  padding-top: clamp(24px, 4vw, 56px);
}

#retail .retail-hero-benefits{
  margin-top: 0;
  margin-bottom: clamp(34px, 4vw, 64px);
  max-width: 960px;
}

#retail .retail-hero-benefits .retail-keypoints{
  margin: 0;
}

#retail .retail-hero-benefits .tick-list li{
  justify-content: flex-start;
}

@media (max-width: 900px){
  #retail .retail-visual-hero{
    min-height: max(620px, var(--vh-hero-min));
    background-position: 38% center;
  }
  #retail .retail-visual-overlay{
    width: min(680px, 94vw);
    padding-top: 58px;
    padding-bottom: 92px;
  }
  #retail .retail-hero-cta .cta-row{
    gap: 12px;
  }
}

@media (max-width: 560px){
  #retail .retail-visual-hero{
    min-height: 640px;
    background-position: 30% center;
  }
  #retail .retail-visual-overlay{
    padding: 42px 16px 86px;
  }
  #retail .retail-visual-overlay h1{
    font-size: clamp(2.4rem, 13vw, 3.35rem);
  }
  #retail .retail-visual-overlay h2{
    font-size: clamp(1.45rem, 7.5vw, 2.15rem);
  }
  #retail .retail-hero-intro{
    font-size: 1.05rem;
    line-height: 1.45;
  }
  #retail .retail-hero-cta .cta-row{
    flex-direction: column;
    align-items: stretch;
    width: min(320px, 100%);
    margin: 0 auto;
  }
  #retail .retail-hero-cta .cta-row a{
    width: 100%;
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   About page refresh (former Our Journey)
   Irish rolling-fields hero + compact content cards
-------------------------------------------------------------------------- */
#journey{
  width: 100%;
  background: #eef8f1;
  color: #052C65;
}

#journey .about-hero{
  min-height: clamp(380px, 43vw, 640px);
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.78) 0%, rgba(255,255,255,0.52) 31%, rgba(255,255,255,0.08) 66%),
    url('./images/about-ireland-hero.webp?v=20260528-i18n10-img1');
  background-size: cover;
  background-position: center center;
  border-bottom: 1px solid rgba(29, 113, 184, 0.10);
}

#journey .about-hero-panel{
  width: min(90%, 720px);
  margin-left: clamp(24px, 10vw, 176px);
  padding: clamp(24px, 3.2vw, 46px);
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(255,255,255,0.84);
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(5, 44, 101, 0.12);
  backdrop-filter: blur(4px);
}

#journey .about-hero-panel h1{
  margin: 0 0 0.55rem 0;
  color: #052C65;
  text-align: left;
  font-size: clamp(3rem, 5.2vw, 6.8rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 700;
}

#journey .about-hero-panel p{
  margin: 0;
  max-width: 620px;
  color: #1D71B8;
  font-size: clamp(1.25rem, 1.15vw + 0.95rem, 2.05rem);
  line-height: 1.35;
  font-weight: 500;
}

#journey .journey-wrap.about-content{
  width: min(90%, 1180px);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(44px, 5vw, 78px) 0 clamp(58px, 6vw, 96px);
}

#journey .about-section{
  margin: 0 auto clamp(42px, 5vw, 70px);
}

#journey .about-section:last-child{
  margin-bottom: 0;
}

#journey .about-intro{
  max-width: 980px;
  padding: clamp(28px, 3vw, 42px);
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(29, 113, 184, 0.10);
  border-radius: 28px;
  box-shadow: 0 14px 34px rgba(5, 44, 101, 0.07);
}

#journey .about-section h2{
  margin: 0 0 1rem 0;
  color: #052C65;
  text-align: center;
  font-size: clamp(2.2rem, 2vw + 1.4rem, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 650;
}

#journey .about-section h3{
  margin: 0 0 0.55rem 0;
  color: #052C65;
  text-align: left;
  font-size: clamp(1.25rem, 0.45vw + 1.05rem, 1.65rem);
  line-height: 1.2;
  font-weight: 700;
}

#journey .about-section p,
#journey .about-section li{
  color: #1D71B8;
  font-size: clamp(1.08rem, 0.55vw + 0.9rem, 1.42rem);
  line-height: 1.62;
}

#journey .about-section p{
  margin: 0 0 1rem 0;
}

#journey .about-intro a{
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

#journey .about-intro a:hover,
#journey .about-intro a:focus-visible{
  color: #052C65;
}

#journey .about-difference{
  text-align: center;
}

#journey .about-difference .about-section-lead{
  display: block;
  width: min(100%, 980px);
  max-width: 980px;
  margin: 0 auto 1.7rem auto;
  text-align: center !important;
  text-wrap: balance;
  color: #1D71B8;
}

#journey .about-difference .about-difference-grid{
  width: 100%;
}

#journey .about-barrier-list{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 1.35rem 0 1.6rem 0;
  padding: 0;
}

#journey .about-barrier-list li{
  list-style: none;
  margin: 0;
  padding: 15px 16px;
  text-align: center;
  color: #052C65;
  background: rgba(255,255,255,0.74);
  border: 1px solid rgba(29, 113, 184, 0.12);
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(5, 44, 101, 0.055);
  font-weight: 650;
  line-height: 1.28;
}

#journey .about-difference-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: 1.75rem;
}

#journey .about-difference-card{
  padding: clamp(22px, 2vw, 30px);
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(70, 151, 96, 0.18);
  border-radius: 24px;
  box-shadow: 0 14px 32px rgba(5, 44, 101, 0.07);
  text-align: center;
}

#journey .about-difference-card i{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  color: #1D71B8;
  background: linear-gradient(135deg, rgba(29,113,184,0.11), rgba(70,151,96,0.14));
  border-radius: 14px;
  font-size: 1.35rem;
}

#journey .about-difference-card h3{
  text-align: center;
}

#journey .about-difference-card p{
  margin: 0;
  text-align: center;
  font-size: clamp(1rem, 0.35vw + 0.9rem, 1.18rem);
  line-height: 1.55;
}

#journey .about-cta-row{
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 3vw, 42px);
}

#journey .about-cta-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 56px;
  padding: 0.95rem 1.55rem;
  border-radius: 999px;
  background: #1D71B8;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(29, 113, 184, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

#journey .about-cta-button:hover,
#journey .about-cta-button:focus-visible{
  color: #ffffff;
  background: #052C65;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(5, 44, 101, 0.24);
}

#journey .about-mission{
  max-width: 960px;
  padding: clamp(30px, 4vw, 48px);
  background: linear-gradient(135deg, rgba(255,255,255,0.86), rgba(233,248,236,0.86));
  border: 1px solid rgba(70, 151, 96, 0.20);
  border-radius: 30px;
  box-shadow: 0 16px 42px rgba(5, 44, 101, 0.08);
}

#journey .about-mission p{
  text-align: center;
}

#journey .about-artwork{
  max-width: 1040px;
  margin-top: clamp(34px, 5vw, 72px);
}

#journey .about-artwork-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 34px);
  align-items: start;
}

#journey .about-artwork-figure{
  margin: 0;
}

#journey .about-artwork img{
  display: block;
  width: 100%;
  aspect-ratio: 1.36 / 1;
  height: auto;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(5, 44, 101, 0.10);
}

#journey .about-artwork-credit{
  margin: 1.25rem 0 0;
  color: rgba(5, 44, 101, 0.52);
  font-size: clamp(1.7rem, 0.36vw + 1.6rem, 1.96rem);
  line-height: 1.4;
  text-align: center;
}

#journey .about-artwork-credit a{
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

#journey .about-artwork-credit a:hover,
#journey .about-artwork-credit a:focus-visible{
  color: #1976c9;
}


@media (max-width: 1050px){
  #journey .about-barrier-list{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #journey .about-difference-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px){
  #journey .about-hero{
    min-height: 430px;
    align-items: flex-end;
    background-position: 58% center;
  }
  #journey .about-hero-panel{
    width: calc(100% - 32px);
    margin: 0 auto 24px auto;
    padding: 22px;
    border-radius: 22px;
  }
  #journey .about-hero-panel h1{
    font-size: clamp(2.45rem, 10vw, 4rem);
  }
  #journey .about-hero-panel p{
    font-size: 1.1rem;
  }
  #journey .journey-wrap.about-content{
    width: min(92%, 720px);
    padding-top: 34px;
  }
  #journey .about-difference-grid,
  #journey .about-barrier-list{
    grid-template-columns: 1fr;
  }
  #journey .about-section h2{
    text-align: left;
    font-size: 2rem;
  }
  #journey .about-section-lead{
    text-align: center;
  }
  #journey .about-mission p{
    text-align: left;
  }
  #journey .about-artwork-grid{
    grid-template-columns: 1fr;
  }
  #journey .about-artwork img{
    aspect-ratio: auto;
    border-radius: 18px;
  }
  #journey .about-artwork-credit{
    text-align: center;
  }
}


/* --------------------------------------------------------------------------
   Partners page visual hero refresh
   - Uses the new partner ecosystem image as a desktop/tablet hero background
   - Uses semi-opaque text cards so live translated HTML remains readable
   - Keeps the four supplied partner icons in a supporting card strip below hero
-------------------------------------------------------------------------- */
#partnersPage{
  background: #F7FAFF;
}

#partnersPage .partners-visual-hero{
  position: relative;
  width: 100%;
  min-height: max(650px, var(--vh-hero-min));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(5,44,101,0.10) 0%, rgba(247,251,255,0.05) 48%, rgba(247,251,255,0.88) 100%),
    image-set(
      url("images/partners-hero.webp?v=20260528-i18n10-img1") type("image/webp"),
      url("images/partners-hero.png?v=20260528-i18n10-img1") type("image/png")
    );
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

#partnersPage .partners-visual-hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 47%, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.06) 42%, rgba(5,44,101,0.08) 100%);
  pointer-events: none;
}

#partnersPage .partners-hero-overlay{
  position: relative;
  z-index: 1;
  width: min(1080px, 92vw);
  margin: 0 auto;
  padding: clamp(30px, 4vh, 64px) 18px clamp(58px, 8vh, 112px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(18px, 2.4vh, 28px);
  text-align: center;
}

#partnersPage .partners-hero-title-card,
#partnersPage .partners-hero-copy-card{
  width: min(960px, 100%);
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(5,44,101,0.16);
  backdrop-filter: blur(5px);
}

#partnersPage .partners-hero-title-card{
  padding: clamp(26px, 4vw, 46px) clamp(22px, 4vw, 56px);
}

#partnersPage .partners-hero-copy-card{
  padding: clamp(20px, 3vw, 34px) clamp(20px, 4vw, 54px) clamp(22px, 3vw, 38px);
}

#partnersPage .partners-hero-title-card h1{
  margin: 0 0 clamp(12px, 1.8vh, 22px);
  color: #052C65;
  font-size: clamp(3.2rem, 5vw, 6.2rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-align: center;
}

#partnersPage .partners-hero-title-card h2{
  margin: 0;
  color: #052C65;
  font-size: clamp(1.75rem, 2.9vw, 3.65rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
  text-align: center;
}

#partnersPage .partners-hero-copy-card p{
  margin: 0 auto clamp(18px, 2.4vh, 28px);
  max-width: 900px;
  color: #1D71B8;
  font-size: clamp(1.05rem, 1.35vw, 1.55rem);
  line-height: 1.5;
  text-align: center;
}

#partnersPage .partners-hero-cta{
  margin-top: 0;
}

#partnersPage .partners-hero-cta .cta-row{
  flex-wrap: wrap;
  margin-bottom: 14px;
}

#partnersPage .partners-hero-cta .action-btn{
  text-decoration: none;
  min-width: 180px;
  box-shadow: 0 10px 24px rgba(29,113,184,0.20);
}

#partnersPage .partners-hero-cta .action-btn-secondary{
  background: #052C65;
}

#partnersPage .partners-wrap{
  padding-top: clamp(28px, 4vw, 64px);
}

#partnersPage .partner-card-strip{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  margin: 0 auto clamp(42px, 5vw, 76px);
}

#partnersPage .partner-card-strip-card{
  background: #ffffff;
  border-radius: 20px;
  padding: 20px 18px 22px;
  text-align: center;
  box-shadow: 0 14px 34px rgba(5,44,101,0.09);
  border: 1px solid rgba(29,113,184,0.10);
}

#partnersPage .partner-card-strip-card img{
  display: block;
  width: 100%;
  height: 132px;
  object-fit: contain;
  margin: 0 auto 14px;
}

#partnersPage .partner-card-strip-card h3{
  margin: 0 0 10px;
  color: #052C65;
  font-size: clamp(1.15rem, 1.2vw, 1.45rem);
  line-height: 1.2;
}

#partnersPage .partner-card-strip-card p{
  margin: 0;
  color: #1D71B8;
  font-size: clamp(0.98rem, 0.8vw, 1.1rem);
  line-height: 1.45;
}

@media (max-width: 1100px){
  #partnersPage .partner-card-strip{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px){
  #partnersPage .partners-visual-hero{
    min-height: max(620px, var(--vh-hero-min));
    background-position: center center;
  }
  #partnersPage .partners-hero-overlay{
    width: min(760px, 94vw);
    padding-top: 48px;
    padding-bottom: 76px;
  }
  #partnersPage .partners-hero-title-card,
  #partnersPage .partners-hero-copy-card{
    background: rgba(255,255,255,0.88);
    border-radius: 20px;
  }
}

@media (max-width: 560px){
  #partnersPage .partners-visual-hero{
    min-height: 690px;
    background-size: cover;
    background-position: 52% center;
  }
  #partnersPage .partners-visual-hero::after{
    background: linear-gradient(180deg, rgba(247,251,255,0.18) 0%, rgba(247,251,255,0.28) 48%, rgba(247,251,255,0.88) 100%);
  }
  #partnersPage .partners-hero-overlay{
    width: 94vw;
    padding: 34px 0 58px;
    gap: 14px;
  }
  #partnersPage .partners-hero-title-card,
  #partnersPage .partners-hero-copy-card{
    width: 100%;
    background: rgba(255,255,255,0.91);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(5,44,101,0.15);
  }
  #partnersPage .partners-hero-title-card{
    padding: 24px 18px;
  }
  #partnersPage .partners-hero-copy-card{
    padding: 20px 18px 24px;
  }
  #partnersPage .partners-hero-title-card h1{
    font-size: clamp(2.6rem, 13vw, 3.55rem);
  }
  #partnersPage .partners-hero-title-card h2{
    font-size: clamp(1.45rem, 7.2vw, 2.05rem);
  }
  #partnersPage .partners-hero-copy-card p{
    font-size: 1.02rem;
    line-height: 1.45;
  }
  #partnersPage .partners-hero-cta .cta-row{
    flex-direction: column;
    align-items: stretch;
    width: min(320px, 100%);
    margin-left: auto;
    margin-right: auto;
  }
  #partnersPage .partners-hero-cta .action-btn{
    width: 100%;
    min-width: 0;
  }
  #partnersPage .partner-card-strip{
    grid-template-columns: 1fr;
  }
  #partnersPage .partner-card-strip-card img{
    height: 118px;
  }
}

/* 2026-05-25 Partners trim: compact category and model grids */
#partnersPage .partner-category-grid,
#partnersPage .partner-model-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(18px,2vw,26px);
  margin:clamp(24px,3vw,38px) auto clamp(46px,5vw,70px);
}

#partnersPage .partner-category-card,
#partnersPage .partner-model-card{
  background:#ffffff;
  border:1px solid rgba(29,113,184,0.12);
  border-radius:20px;
  padding:26px 24px;
  text-align:center;
  box-shadow:0 14px 34px rgba(5,44,101,0.08);
}

#partnersPage .partner-category-card i{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:54px;
  height:54px;
  border-radius:18px;
  background:#eef6ff;
  color:#1D71B8;
  font-size:1.65rem;
  margin-bottom:14px;
}

#partnersPage .partner-category-card h3,
#partnersPage .partner-model-card h3{
  margin:0 0 10px;
  font-size:clamp(1.15rem,1.25vw,1.45rem);
  line-height:1.2;
}

#partnersPage .partner-category-card p,
#partnersPage .partner-model-card p{
  margin:0;
  font-size:clamp(1rem,0.95vw,1.12rem);
  line-height:1.48;
}

#partnersPage .partner-category-card-wide{
  grid-column:span 3;
  max-width:720px;
  justify-self:center;
}

#partnersPage .partner-model-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
}

#partnersPage .partner-model-card{
  padding:24px 20px;
}

#partnersPage .partner-why-card{
  margin-bottom:clamp(42px,5vw,68px);
}

@media (max-width:1100px){
  #partnersPage .partner-category-grid,
  #partnersPage .partner-model-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  #partnersPage .partner-category-card-wide{
    grid-column:span 2;
  }
}

@media (max-width:680px){
  #partnersPage .partner-category-grid,
  #partnersPage .partner-model-grid{
    grid-template-columns:1fr;
  }
  #partnersPage .partner-category-card-wide{
    grid-column:span 1;
  }
  #partnersPage .partner-category-card,
  #partnersPage .partner-model-card{
    padding:22px 18px;
  }
}

/* Wider content width for trimmed partner card layout */
#partnersPage .partners-wrap{
  max-width:1180px;
}

/* Retail Groups trimmed content: compact cards for multi-site / multilingual proposition */
#retail .retail-section-card{
  margin: 0.8rem auto 1.8rem auto;
}

#retail .retail-card-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 1rem auto 1.9rem auto;
}

#retail .retail-info-card{
  background: #ffffff;
  border: 1px solid #dbe8f7;
  border-radius: 20px;
  padding: 22px 20px;
  box-shadow: 0 12px 28px rgba(5, 44, 101, 0.08);
}

#retail .retail-info-card h3{
  margin: 0 0 0.55rem 0;
  font-size: 1.22rem;
  line-height: 1.25;
  text-align: center;
}

#retail .retail-info-card p{
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  text-align: center;
}

@media (max-width: 900px){
  #retail .retail-card-grid{
    grid-template-columns: 1fr;
  }
}


/* Strategic page CTA rationalisation */
.strategic-cta-panel{
  max-width: 980px;
  margin: 0 auto;
  background: #EEF4FB;
  border: 1px solid #DCE7F5;
  border-radius: 24px;
  padding: 42px 30px;
  text-align: center;
}
.strategic-cta-panel h2{
  font-size: clamp(2rem, 2vw + 1rem, 3.2rem);
  line-height: 1.15;
  color: #052C65;
  margin: 0 0 18px;
  font-weight: 500;
}
.strategic-cta-panel p{
  font-size: clamp(1.05rem, 0.5vw + 0.9rem, 1.35rem);
  line-height: 1.7;
  color: #4A5A78;
  max-width: 780px;
  margin: 0 auto 28px;
}
.strategic-cta-row{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.strategic-cta-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid #C8D8EE;
  background: #ffffff;
  color: #052C65;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(5,44,101,0.04);
}
.strategic-cta-button:hover,
.strategic-cta-button:focus-visible{
  color: #052C65;
  transform: translateY(-1px);
}
.strategic-cta-button.primary{
  background: #052C65;
  border-color: #052C65;
  color: #ffffff;
}
.strategic-cta-button.primary:hover,
.strategic-cta-button.primary:focus-visible{
  color: #ffffff;
  background: #0b4dbb;
  border-color: #0b4dbb;
}
.strategic-top-cta{
  padding: 28px 20px 0;
  background: #F7FAFF;
}
.strategic-top-cta .strategic-cta-panel{
  max-width: 760px;
  padding: 24px 24px;
  border-radius: 20px;
}
.strategic-top-cta .strategic-cta-button{
  min-height: 44px;
  padding: 12px 20px;
}
@media (max-width: 680px){
  .strategic-cta-panel{
    padding: 30px 18px;
  }
  .strategic-cta-button{
    width: 100%;
  }
}


/* Final CTA visibility fixes */
#partnersPage .strategic-cta-panel .strategic-cta-button{
  text-decoration: none;
}
#partnersPage .strategic-cta-panel .strategic-cta-button.primary,
#partnersPage .strategic-cta-panel .strategic-cta-button.primary:hover,
#partnersPage .strategic-cta-panel .strategic-cta-button.primary:focus-visible,
.strategic-cta-panel .strategic-cta-button.primary,
.strategic-cta-panel .strategic-cta-button.primary:hover,
.strategic-cta-panel .strategic-cta-button.primary:focus-visible{
  color: #ffffff !important;
  text-decoration: none !important;
}
.strategic-top-cta .strategic-cta-button.primary{
  background: #052C65;
  border-color: #052C65;
  color: #ffffff !important;
}


/* =========================================================
   I18N PASS 2 — TRANSLATION-RESILIENCE LAYOUT GUARDS
   Purpose: prevent longer translated strings (German/Danish/Polish/Greek etc.)
   from forcing horizontal overflow, clipping, or broken mobile cards.
   ========================================================= */

/* Flex/grid children must be allowed to shrink when translated text is longer. */
.container,
.hero-container,
.hero-grid,
.info,
.feature-info,
.feature-desc,
.admin-card,
.pricing-card,
.hardware-summary-info,
.hardware-title-row,
.retail-visual-overlay,
.partners-hero-overlay,
.partners-hero-title-card,
.partners-hero-copy-card,
.strategic-cta-panel,
.strategic-cta-row,
.cta-row,
.action-btn,
.chat-btn,
.strategic-cta-button {
  min-width: 0;
  max-width: 100%;
}

/* General translated text safety. */
[data-lang],
[data-tooltip],
[data-tooltip-lang],
p,
li,
h1,
h2,
h3,
h4,
h5,
h6,
a,
button {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

/* Headings and CTA labels need stronger protection on narrow translated layouts. */
h1,
h2,
h3,
h4,
h5,
h6,
.action-btn,
.chat-btn,
.strategic-cta-button,
.navbar a,
.dropdown-menu a {
  overflow-wrap: anywhere;
  text-wrap: balance;
}

/* Buttons should be allowed to grow vertically rather than clip translated text. */
.action-btn,
.chat-btn,
.strategic-cta-button,
.apk-download-link,
.about-cta-button {
  white-space: normal !important;
  line-height: 1.2;
  min-height: 44px;
  height: auto;
  text-align: center;
}

/* Homepage hardware/automation summary: the German/Danish heading exposed
   overflow below ~656px. Keep the desktop look but scale safely on mobile. */
body.page-home #partners .container {
  overflow: visible;
}

body.page-home #partners .hardware-summary-info,
body.page-home #partners .hardware-summary-info * {
  min-width: 0;
  max-width: 100%;
}

body.page-home #partners .hardware-summary-info h3 {
  font-size: clamp(2.0rem, 4.1vw, 3rem);
  line-height: 1.14;
  overflow-wrap: anywhere;
  hyphens: auto;
}

@media (max-width: 656px) {
  body.page-home #partners .container {
    width: min(94vw, 620px);
    padding: 22px 16px 28px;
    overflow: visible;
  }

  body.page-home #partners .hardware-summary-info h3 {
    font-size: clamp(1.65rem, 7.0vw, 2.25rem) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.015em;
    margin-bottom: 1.2rem;
  }

  body.page-home #partners .hardware-summary-info p {
    font-size: clamp(0.98rem, 3.5vw, 1.1rem);
    line-height: 1.48;
  }

  body.page-home #partners .hardware-summary-info h4 {
    font-size: clamp(1.12rem, 4.5vw, 1.4rem);
    line-height: 1.2;
  }
}

@media (max-width: 420px) {
  body.page-home #partners .container {
    width: 94vw;
    padding-left: 14px;
    padding-right: 14px;
  }

  body.page-home #partners .hardware-summary-info h3 {
    font-size: clamp(1.5rem, 6.6vw, 1.95rem) !important;
  }
}

/* Strategic/visual pages: allow translated hero text to wrap rather than
   overflow background cards or CTA rows. */
#retail .retail-visual-overlay h1,
#retail .retail-visual-overlay h2,
#partnersPage .partners-hero-title-card h1,
#partnersPage .partners-hero-title-card h2,
#journey .about-hero-panel h1,
.enterprise-hero-section h1,
.telemetry-hero-section h1 {
  overflow-wrap: anywhere;
  hyphens: auto;
}

@media (max-width: 560px) {
  #retail .retail-visual-overlay,
  #partnersPage .partners-hero-overlay,
  #journey .about-hero-panel {
    max-width: 100%;
  }
}



/* SEO polish: home page now uses one H1 in the hero; section headings are H2 but retain original visual scale. */
#features > h2, #pricing > h2, #download > h2, #partners > h2, #testimonials > h2, #contact > h2{
  font-size: 3rem;
  margin-bottom: 4rem;
  margin-top: 4rem;
  color: #052C65;
  text-align: center;
}
@media (min-width: 992px){
  #features > h2, #pricing > h2, #download > h2, #partners > h2, #testimonials > h2, #contact > h2{font-size: clamp(3.9rem, 2.4vw + 2.3rem, 5.0rem);}
}
body.page-home #features > h2{
  font-size: clamp(4.4rem, 2.15vw + 2.55rem, 5.75rem) !important;
  line-height: 1.04 !important;
  margin-top: 1.35rem !important;
  margin-bottom: 1rem !important;
}
body.page-home #testimonials > h2{margin-bottom: 28px !important;}
@media (max-width: 1200px){
  body.page-home #features > h2{font-size: clamp(3.8rem, 4vw, 4.9rem) !important;}
}
@media (max-width: 900px){
  body.page-home #features > h2{font-size: clamp(3.1rem, 8vw, 4.2rem) !important;margin-top: 1rem !important;margin-bottom: 0.7rem !important;}
}
@media (min-width: 1600px){
  body.page-home #features > h2, body.page-home #pricing > h2, body.page-home #download > h2, body.page-home #partners > h2, body.page-home #testimonials > h2, body.page-home #contact > h2{
    font-size: clamp(3.95rem, 1.9vw + 2.2rem, 5.0rem) !important;
    line-height: 1.08 !important;
    font-weight: 500 !important;
    letter-spacing: -0.02em !important;
    color: #052C65 !important;
  }
  body.page-home #features > h2{margin-top: 1.35rem !important;}
}
@media (max-width: 1700px){
  body.page-home #features > h2, body.page-home #pricing > h2, body.page-home #download > h2, body.page-home #partners > h2, body.page-home #testimonials > h2, body.page-home #contact > h2{
    font-size: clamp(2.9rem, 2.0vw + 1.35rem, 3.9rem) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.02em;
    white-space: normal !important;
    text-wrap: balance;
    margin-top: 0 !important;
    margin-bottom: 18px !important;
  }
}
@media (max-width: 1200px){
  body.page-home #features > h2, body.page-home #pricing > h2, body.page-home #download > h2, body.page-home #partners > h2, body.page-home #testimonials > h2, body.page-home #contact > h2{
    font-size: clamp(2.35rem, 2.2vw + 1.2rem, 3.15rem) !important;
    line-height: 1.14 !important;
  }
}
@media (max-width: 700px){
  body.page-home #features > h2, body.page-home #pricing > h2, body.page-home #download > h2, body.page-home #partners > h2, body.page-home #testimonials > h2, body.page-home #contact > h2{
    font-size: clamp(2.0rem, 5vw, 2.55rem) !important;
    line-height: 1.16 !important;
    text-wrap: balance;
  }
}

/* Mobile localisation polish: hardware CTA in the narrow homepage summary card.
   Keep the button readable in languages where the translated label is longer. */
@media (max-width: 700px) {
  body.page-home .hardware-summary-info .action-btn[data-lang="homeHardwareCta"] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    max-width: min(100%, 220px);
    min-height: 48px;
    padding: 0.72rem 1.05rem;
    line-height: 1.15;
    white-space: normal !important;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }
}
