/*!
 * Grandstream India — main stylesheet (the only stylesheet on the site).
 *
 * No framework. Organised top-down from tokens to page-specific pieces:
 *   1. Tokens            8. Page header & breadcrumb   15. Footer & fixed bars
 *   2. Base / reset      9. Section headings           16. Dialogs
 *   3. Layout           10. Product cards & grids      17. Media embeds
 *   4. Utilities        11. Carousels                  18. Content pages
 *   5. Buttons          12. Product detail             19. Home page
 *   6. Icons            13. Datasheets & documents     20. Solutions pages
 *   7. Header & nav     14. Solutions showcase         21. Print
 *
 * Breakpoints (match the original layout):
 *   sm ≥ 768px, md ≥ 992px, lg ≥ 1200px, mobile nav ≤ 900px.
 * Class naming: BEM-style  .block, .block__element, .block--modifier.
 */

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
  --c-primary: #295288;
  --c-accent: #f23415;
  --c-accent-dark: #d8290c;
  --c-orange: #ff853f;
  --c-tag: #f55e45;
  --c-text: #333;
  --c-heading: #333;
  --c-muted: #999;
  --c-link: #999;
  --c-link-hover: #737373;
  --c-border: #eee;
  --c-rule: #e1e1e1;
  --c-bg-light: #f7f7f7;
  --c-bg-lightest: #fcfcfc;
  --c-white: #fff;
  --c-black: #222;

  --font-base: "Open Sans", Arial, Helvetica, sans-serif;
  --font-quote: "Playfair Display", Georgia, serif;
  --fs-base: 14px;
  --lh-base: 1.7;
  --lh-heading: 1.42857;

  --container: 100%;
  --gutter: 15px;
  --section-space: 60px;
  --radius: 4px;
  --shadow-bar: 0 4px 2px #888, 0 0 5px #888;
  --ease: .3s ease;
}

/* ==========================================================================
   2. Base / reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--c-text);
  background: var(--c-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-base);
  font-weight: 600;
  line-height: var(--lh-heading);
  color: var(--c-heading);
}
h1, h2, h3 { margin: 20px 0 10px; }
h4, h5, h6 { margin: 10px 0; }
h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; font-weight: 500; }
h5 { font-size: 15px; font-weight: 500; }
h6 { font-size: 12px; font-weight: 500; line-height: 1.1; color: inherit; }

p { margin: 0 0 9px; }
ul, ol { margin: 0 0 9px; padding: 0; list-style: none; }
ul ul { margin: 0 0 0 15px; }
b, strong { font-weight: 700; }
small { font-size: 85%; }
address { margin-bottom: 20px; font-style: normal; line-height: 1.42857; }

a { color: var(--c-link); text-decoration: none; transition: color var(--ease); }
a:hover, a:focus { color: var(--c-link-hover); }

img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
iframe { border: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
select { font: inherit; }

blockquote {
  margin: 20px 0;
  padding: 30px;
  border-left: 3px solid var(--c-border);
}
blockquote p { font-family: var(--font-quote); font-size: 16px; font-style: italic; }
blockquote footer { display: block; font-size: 80%; line-height: 1.42857; color: #777; }
blockquote footer::before { content: "\2014 \00A0"; }

::selection { background: var(--c-text); color: var(--c-white); }

:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }

/* ==========================================================================
   3. Layout
   ========================================================================== */
.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (min-width: 768px)  { .container { max-width: 750px; } }
@media (min-width: 992px)  { .container { max-width: 970px; } }
@media (min-width: 1200px) { .container { max-width: 1170px; } }

.main-content { display: block; }
/* Sections establish a block formatting context (no margin collapsing),
   matching the original layout. */
section { display: flow-root; position: relative; }
.product-hero, .feature-icons { overflow: hidden; }

/* Generic section rhythm (60px top/bottom; 30px bottom on small screens). */
.section { position: relative; }
.section > .container { padding-block: var(--section-space); }
@media (max-width: 991px) {
  .section > .container { padding-bottom: 30px; }
}

.bg-light { background-color: var(--c-bg-light); }
.bg-lightest { background-color: var(--c-bg-lightest); }

/* Simple responsive grids for content pages. Columns collapse below 768px. */
.grid { display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) {
  .grid--2, .grid--sm-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--sm-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--sm-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Main column + right sidebar (9/3 split, see section 18). */
.with-sidebar { display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr); }

/* ==========================================================================
   4. Utilities (kept deliberately small)
   ========================================================================== */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-justify { text-align: justify; }
.text-primary { color: var(--c-primary) !important; }
.text-white { color: var(--c-white) !important; }
.text-uppercase { text-transform: uppercase; }
.font-italic { font-style: italic; }
.text-lg, .text-lg p { font-size: 16px; text-align: justify; }
.text-lg li { text-align: justify; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-15 { margin-bottom: 15px !important; }

.skip-link {
  position: absolute;
  left: 8px; top: -60px;
  z-index: 100000;
  padding: 8px 16px;
  background: var(--c-primary);
  color: var(--c-white);
}
.skip-link:focus { top: 8px; color: var(--c-white); }

/* ==========================================================================
   5. Buttons
   ========================================================================== */
.btn {
  display: inline-block;
  margin: 0;
  padding: 8px 22px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.42857;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: color var(--ease), background-color var(--ease), border-color var(--ease);
}
.btn:hover, .btn:focus { text-decoration: none; }

/* Outline (white with blue border) — the most common button. */
.btn--primary {
  color: var(--c-primary);
  background-color: var(--c-white);
  border-color: var(--c-primary);
  text-transform: uppercase;
}
.btn--primary:hover, .btn--primary:focus, .btn--primary:active {
  color: var(--c-white);
  background-color: var(--c-primary);
  border-color: var(--c-primary);
}

/* Solid blue, red on hover (mixed case). */
.btn--solid {
  color: var(--c-white);
  background-color: var(--c-primary);
  border-color: var(--c-primary);
}
.btn--solid:hover, .btn--solid:focus, .btn--solid:active {
  color: var(--c-white);
  background-color: var(--c-accent);
  border-color: var(--c-accent);
}

/* Solid blue, red on hover (uppercase). */
.btn--dark {
  color: var(--c-white);
  background-color: var(--c-primary);
  border-color: var(--c-primary);
  text-transform: uppercase;
}
.btn--dark:hover, .btn--dark:focus, .btn--dark:active {
  color: var(--c-white);
  background-color: var(--c-accent);
  border-color: var(--c-accent);
}

/* Solid red, orange on hover (uppercase). */
.btn--accent {
  color: var(--c-white);
  background-color: var(--c-accent);
  border-color: var(--c-accent);
  text-transform: uppercase;
}
.btn--accent:hover, .btn--accent:focus { color: var(--c-white); background-color: #fda425; border-color: #fda425; }

/* White with blue 2px border, red fill on hover (uppercase). */
.btn--outline {
  color: var(--c-primary);
  background-color: var(--c-white);
  border: 2px solid var(--c-primary);
  text-transform: uppercase;
}
.btn--outline:hover, .btn--outline:focus, .btn--outline:active {
  color: var(--c-white);
  background-color: var(--c-accent);
  border-color: var(--c-accent);
}

.btn--lg { padding: 10px 26px; font-size: 14px; line-height: 1.33333; border-radius: 6px; }
.btn--sm { padding: 5px 17px; font-size: 12px; line-height: 1.5; border-radius: 3px; }
.btn--xs { padding: 3px 14px; font-size: 11px; line-height: 1.5; border-radius: 3px; }
.btn--pill { border-radius: 25px; }
.btn--flat { border-radius: 0; }

/* "→ Read More" text link used under product cards. */
.read-more {
  display: inline-block;
  padding-bottom: 2px;
  font-size: 16px;
  line-height: 22.857px;
  color: var(--c-primary);
  border: 1px solid transparent;
}
.read-more:hover, .read-more:focus { color: var(--c-primary); }
.read-more .icon { margin-right: 5px; }

/* ==========================================================================
   6. Icons (SVG sprite: /images/icons.svg)
   ========================================================================== */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: -.125em;
  flex-shrink: 0;
}
.icon--lg { font-size: 1.33333em; vertical-align: -.2em; }
.icon--2x { font-size: 2em; vertical-align: middle; }
.icon--whatsapp { color: #0dc143; }

/* ==========================================================================
   7. Header, top bar & navigation
   ========================================================================== */
.topbar {
  padding: 5px 0;
  background-color: var(--c-primary);
  color: var(--c-text);
}
.topbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: 40px; }

.social-links { display: flex; align-items: flex-start; min-height: 40px; margin: 0; }
.social-links a {
  display: block;
  width: 30px; height: 30px;
  margin: 2px 7px 2px 0;
  line-height: 30px;
  text-align: center;
  transition: transform var(--ease);
}
.social-links a:hover { transform: scale(1.1); }
.social-links img { width: 30px; height: auto; }

.topbar__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 5px 0 0;
}
.topbar__contact > li { padding: 0 10px; color: var(--c-white); }
.topbar__contact > li > .icon { margin-right: 5px; }
.topbar__contact a { color: var(--c-white); }
.topbar__contact a:hover { color: var(--c-white); text-decoration: underline; }
.topbar__translate:empty, .topbar__translate > div:empty { padding: 0; }

.btn-demo {
  padding: 5px 10px;
  border: 0;
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--c-white);
  background-color: var(--c-accent);
  transition: background-color var(--ease);
}
.btn-demo:hover, .btn-demo:focus { background-color: #fda425; }

@media (max-width: 991px) {
  .topbar__inner { flex-direction: column; justify-content: center; text-align: center; }
  .topbar__contact { justify-content: center; margin-bottom: 10px; }
  .topbar__cta { flex-basis: 100%; margin-top: 10px; }
}

/* Navigation bar ----------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--c-white);
}
.navbar__inner { position: relative; }
.navbar__inner::after { content: ""; display: table; clear: both; }

.brand {
  float: left;
  margin: 22px 30px 10px 0;
  line-height: 1.3;
}
.brand img { display: block; max-height: 60px; width: auto; }

.nav-toggle {
  display: none;
  float: right;
  width: 60px;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #777;
  font-size: 22px;
}

.nav { float: right; }
.nav__menu { display: flex; flex-wrap: wrap; margin: 0; }
.nav__item { padding: 22px 0; }
.nav__link {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 0;
  background: transparent;
  font-family: var(--font-base);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.42857;
  color: var(--c-primary);
  text-transform: uppercase;
  transition: color var(--ease), background-color var(--ease);
}
.nav__caret { width: 9px; height: 13px; margin-left: 3px; }
.nav__item:hover > .nav__link,
.nav__item.is-open > .nav__link,
.nav__link:focus-visible { color: var(--c-white); background-color: var(--c-primary); }

/* Simple dropdown */
.dropdown {
  display: none;
  position: absolute;
  z-index: 99;
  min-width: 180px;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  background: var(--c-white);
  border: 1px solid #f0f0f0;
}
.dropdown a {
  display: block;
  padding: 7px 25px 7px 22px;
  font-size: 12px;
  color: #888;
  transition: padding .2s linear, background-color var(--ease), color var(--ease);
}
.dropdown a:hover, .dropdown a:focus {
  padding-left: 28px;
  padding-right: 19px;
  color: var(--c-white);
  background: var(--c-primary);
}

/* Mega menu */
.mega {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  z-index: 99;
  padding: 20px 30px;
  background: var(--c-white);
  border: 1px solid #f0f0f0;
}
.mega__col { min-width: 0; }
.mega__list { margin: 0; }
.mega__list li {
  margin: 0 0 7px;
  padding: 2px 2px 7px;
  font-size: 12px;
  border-bottom: 1px dashed #d3d3d3;
}
.mega__list a {
  display: block;
  padding: 1px 8px 1px 10px;
  font-size: 12px;
  color: var(--c-link);
  transition: padding .2s linear, color var(--ease);
}
.mega__list a:hover, .mega__list a:focus { padding-left: 15px; color: var(--c-primary); }
.mega__heading a {
  margin: 10px 0;
  padding-left: 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-text);
}

@media (min-width: 901px) {
  .has-dropdown { position: relative; }
  .has-mega { position: static; }
  .dropdown { top: 100%; left: 0; }
  .mega {
    top: 100%;
    display: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 3%;
    row-gap: 15px;
  }
  .nav__item:hover > .dropdown,
  .nav__item:focus-within > .dropdown,
  .nav__item.is-open > .dropdown { display: block; }
  .nav__item:hover > .mega,
  .nav__item:focus-within > .mega,
  .nav__item.is-open > .mega { display: grid; }
}

/* Mobile navigation (≤ 900px) */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .brand { margin: 8px 30px 10px 8px; }
  .nav { float: none; clear: both; display: none; }
  .nav.is-open { display: block; }
  .nav__menu { display: block; }
  .nav__item { padding: 0; position: relative; }
  .nav__link {
    display: flex;
    width: 100%;
    padding: 12px 20px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
  }
  .nav__item:first-child > .nav__link { border-top: 1px solid #f0f0f0; }
  .nav__caret { margin-left: auto; width: 14px; height: 18px; }
  .nav__item:hover > .nav__link { color: var(--c-primary); background: transparent; }
  .nav__item.is-open > .nav__link { color: var(--c-white); background: var(--c-primary); }
  .dropdown, .mega { position: static; width: 100%; border: 0; border-bottom: 1px solid #f0f0f0; }
  .nav__item.is-open > .dropdown { display: block; }
  .nav__item.is-open > .mega { display: block; }
  .dropdown a { border-bottom: 1px solid #f0f0f0; }
  .mega__col + .mega__col { margin-top: 15px; }
}

/* Floating quick-contact buttons --------------------------------------------- */
.quick-contact__btn {
  position: fixed;
  left: 0;
  z-index: 99999;
  display: block;
  width: 46px;
  height: 46px;
}
.quick-contact__btn img { width: 46px; height: 46px; }
.quick-contact__btn--call     { bottom: 68%; }
.quick-contact__btn--whatsapp { bottom: 53%; }
.quick-contact__btn--support  { bottom: 37%; }
.expert-tab {
  position: fixed;
  right: 0;
  bottom: 40%;
  z-index: 99999;
  padding: 0;
  border: 0;
  background: none;
  line-height: 0;
}
.expert-tab img { width: 41px; height: 200px; }
@media (max-width: 991px) { .expert-tab { display: none; } }

/* ==========================================================================
   8. Page header, breadcrumb & category navigation
   ========================================================================== */
.page-header { background-color: var(--c-bg-light); }
.page-header > .container { padding-block: 10px; text-align: center; }
.page-header__title { margin: 20px 0 10px; font-size: 36px; font-weight: 600; }
.page-header__title--sm { font-size: 30px; }

.breadcrumb { margin: 10px 0 20px; padding: 8px 15px; }
.breadcrumb ol { margin: 0; text-align: center; }
.breadcrumb li { display: inline-block; color: var(--c-text); }
.breadcrumb li + li::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 11px;
  margin: 0 5px;
  vertical-align: -1px;
  background-color: var(--c-text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1280 1536'%3E%3Cpath d='M1171 768q0 53-37 90l-651 651q-37 37-90 37t-90-37l-74-74q-37-37-37-90t37-90l487-487-487-486q-37-38-37-91t37-90l74-74q37-37 90-37t90 37l651 651q37 37 37 90z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1280 1536'%3E%3Cpath d='M1171 768q0 53-37 90l-651 651q-37 37-90 37t-90-37l-74-74q-37-37-37-90t37-90l487-487-487-486q-37-38-37-91t37-90l74-74q37-37 90-37t90 37l651 651q37 37 37 90z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.breadcrumb a { color: #4f4f4f; }
.breadcrumb a:hover { color: var(--c-link-hover); }
.breadcrumb [aria-current] { color: var(--c-text); }
.breadcrumb--left ol { text-align: left; }

/* Category page variant: breadcrumb at the top-left, intro, jump select. */
.page-header--category > .container { max-width: none; padding-block: 10px; }
.page-header--category .breadcrumb { margin: 10px auto 20px; }
@media (min-width: 768px)  { .page-header--category .breadcrumb { max-width: 720px; } }
@media (min-width: 992px)  { .page-header--category .breadcrumb { max-width: 940px; } }
@media (min-width: 1200px) { .page-header--category .breadcrumb { max-width: 1140px; } }
.page-header__body { padding-block: 10px; }
@media (min-width: 992px) {
  .page-header__body { width: 66.6667%; margin-inline: auto; padding-inline: 15px; }
  .page-header__body--narrow { width: 50%; }
  .page-header__body--wide { width: auto; max-width: none; }
}
.page-header__intro { margin: 0 0 9px; text-align: center; }

.category-select { margin-bottom: 10px; }
.category-select select {
  display: block;
  width: 100%;
  height: 45px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857;
  color: #555;
  background-color: var(--c-white);
  border: 1px solid #ccc;
  border-radius: 0;
}
.category-select select:focus { border-color: rgba(0, 0, 0, .3); box-shadow: 0 0 3px rgba(0, 0, 0, .1); outline: none; }
@media (min-width: 1199px) { .category-select { display: none; } }

.category-tabs { background-color: var(--c-bg-light); padding-inline: 15px; }
.category-tabs__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
}
.category-tabs__list > li { width: 33.3333%; padding-inline: 15px; text-align: center; }
@media (min-width: 992px) { .category-tabs__list > li { width: 16.6667%; } }
.category-tabs__list a {
  display: block;
  padding: 10px 5px 5px;
  border: 1px solid transparent;
  font-size: 12px;
  line-height: 1.42857;
  color: #555;
}
.category-tabs__list a:hover { color: var(--c-text); font-weight: 700; }
.category-tabs__list img { display: inline-block; }
.category-tabs__label { display: block; margin: 14px 0 10px; font-size: 12px; font-weight: 500; line-height: 1.1; }
@media (max-width: 767px) { .category-tabs { display: none; } }

/* ==========================================================================
   9. Section headings
   ========================================================================== */
.section-head { margin-bottom: 60px; text-align: center; }
.section-head__kicker {
  position: relative;
  display: inline-block;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.42857;
  color: var(--c-heading);
}
.section-head__kicker::before,
.section-head__kicker::after {
  content: "";
  position: absolute;
  top: 10px;
  width: 30px;
  height: 2px;
  background: var(--c-primary);
}
.section-head__kicker::before { left: -40px; }
.section-head__kicker::after { right: -40px; }
.section-head__title { margin: 0 0 10px; font-size: 42px; line-height: 52px; }
.section-head__text { margin: 0; font-size: 14px; font-style: italic; }
.section-head--md .section-head__title { font-size: 36px; }
.section-head--lg .section-head__title { font-size: 42px; }
.section--similar-compact > .container { padding-top: 30px; }
.section--video .video-embed { margin: 10px 0 40px; }
.section-head--similar { margin-bottom: 30px; }
.section-head--tight { margin-bottom: 20px; }
.section-head--datasheet { margin: 30px 0 20px; padding-inline: 15px; }

/* ==========================================================================
   10. Product cards & grids
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.product-grid--center { display: flex; flex-wrap: wrap; justify-content: center; }
.product-grid--center > * { width: 100%; }
@media (min-width: 768px) { .product-grid--center > * { width: calc(50% - 15px); } }
@media (min-width: 992px) { .product-grid--center > * { width: calc(25% - 22.5px); } }

.product-card {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.product-card__link { display: block; color: var(--c-link); }
.product-card__link:hover { color: var(--c-link-hover); }
.product-card__thumb { position: relative; display: block; }
.product-card__thumb img { display: block; width: 100%; transition: opacity var(--ease); }
/* Corner-sweep hover highlight */
.product-card__thumb::before,
.product-card__thumb::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  background-color: rgba(255, 255, 255, .15);
  transition: all .3s ease-out;
}
.product-card__thumb::before { top: 0; left: 0; z-index: 1; }
.product-card__thumb::after { right: 0; bottom: 0; }
.product-card:hover .product-card__thumb::before,
.product-card:hover .product-card__thumb::after { width: 100%; height: 100%; transition-duration: .4s; }
.product-card__title { margin: 10px 0 0; font-size: 18px; font-weight: 500; }
.product-card__text { margin: 0 0 9px; }
.product-card__tag {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 9;
  padding: 4px 10px 4px 16px;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  color: var(--c-white);
  text-transform: uppercase;
  background: var(--c-tag);
}
/* Card with padded caption (used in some "Similar Products" carousels). */
.product-card--boxed .product-card__title { margin: 0; padding: 15px 15px 0; }
.product-card--boxed .product-card__text { padding: 0 15px; color: #666; }
.product-card--boxed .read-more { margin-bottom: 15px; }

/* ==========================================================================
   11. Carousels (CSS scroll-snap; behaviour in main.js)
   ========================================================================== */
.carousel { position: relative; --per-view: 1; --gap: 15px; }
.carousel__track {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide {
  flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  min-width: 0;
  scroll-snap-align: start;
}
.carousel__slide img { display: block; width: 100%; }
.carousel__btn {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  color: var(--c-white);
  background: rgba(0, 0, 0, .5);
  transition: left .4s, right .4s, background-color var(--ease);
}
.carousel__btn:hover { background: rgba(0, 0, 0, .7); }
.carousel.is-static .carousel__btn { display: none; }

/* Product gallery (1 image, arrows slide in on hover). */
.carousel--gallery { --gap: 0px; }
.carousel--gallery .carousel__btn { top: 40%; width: 44px; height: 35px; font-size: 24px; }
.carousel--gallery .carousel__btn--prev { left: -40px; }
.carousel--gallery .carousel__btn--next { right: -40px; }
.carousel--gallery:hover .carousel__btn--prev { left: 0; }
.carousel--gallery:hover .carousel__btn--next { right: 0; }

/* "Similar products" carousel: 1 → 2 → 3 → 4 cards, arrows above-left. */
.carousel--products { margin-top: 10px; }
@media (min-width: 600px)  { .carousel--products { --per-view: 2; } }
@media (min-width: 960px)  { .carousel--products { --per-view: 3; } }
@media (min-width: 1300px) { .carousel--products { --per-view: 4; } }
@media (max-width: 991px)  { .carousel--products { max-width: 400px; margin-inline: auto; } }
.carousel--products .carousel__btn { top: -35px; width: 30px; height: 30px; font-size: 30px; }
.carousel--products .carousel__btn--prev { left: 0; }
.carousel--products .carousel__btn--next { left: 35px; }

/* ==========================================================================
   12. Product detail page
   ========================================================================== */
.product-hero > .container { padding-block: var(--section-space); }
@media (max-width: 991px) { .product-hero > .container { padding-bottom: 45px; } }
.product-hero__inner { position: relative; margin: 0 -15px; }
.product-hero__gallery, .product-hero__summary { padding-inline: 15px; }
.product-hero__summary { margin-left: 20px; }
@media (min-width: 992px) {
  .product-hero__inner { display: flex; align-items: flex-start; }
  .product-hero__gallery { width: 41.6667%; }
  .product-hero__summary { width: 50%; }
}
.product-hero__name { margin: 0; font-size: 42px; line-height: 1.42857; }
.product-hero__name--lg { font-size: 28px; }
.product-hero__subtitle { margin: 0; font-size: 18px; font-weight: 500; line-height: 1.42857; color: var(--c-heading); }
.product-hero__text { margin-bottom: 15px; }
.product-hero__text--gap { padding-top: 23.8px; }
.product-hero__text p { font-size: 16px; text-align: justify; }
.product-hero__actions { margin: 20px 0 15px; }
.product-hero__actions .btn { margin: 5px 5px 5px 0; }
.product-hero__actions .btn + .btn { margin-left: 5px; }

.share { margin-top: 20px; }

/* Titled content block (Description, Features, …). */
.block { margin-bottom: 40px; }
.block__head {
  position: relative;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--c-rule);
}
.block__head::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 40px;
  height: 1px;
  background: var(--c-orange);
}
.block__title {
  margin: 0 0 12px;
  padding-top: 14px;
  font-size: 22px;
  font-weight: 400;
  color: #000;
}
.block__split > * { padding-inline: 15px; }
.block__aside { display: none; }
@media (min-width: 768px) {
  .block__split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .block__aside { display: block; }
}

.check-list { margin: 13px 0 9px; }
.check-list li { margin: 5px 0; }
.check-list > li:first-child, .bullet-list > li:first-child { margin-top: 0; }
.check-list > li:last-child, .bullet-list > li:last-child { margin-bottom: 0; }
.check-list li::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 11px;
  margin-right: 10px;
  background-color: var(--c-primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1792 1408'%3E%3Cpath d='M1671 270q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1792 1408'%3E%3Cpath d='M1671 270q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.check-list.text-base { font-size: 14px; }
.bullet-list { margin: 13px 0 9px; }
.bullet-list li { margin: 5px 0; }
.bullet-list li::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  margin: 0 10px 2px 0;
  border-radius: 50%;
  background: var(--c-primary);
}
.bullet-list--muted li::before { background: #a9a9a9; }

/* Feature icons strip */
.feature-icons > .container { padding-block: var(--section-space); }
@media (max-width: 991px) { .feature-icons > .container { padding-bottom: 30px; } }
.feature-icons__list { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.feature-icons__item {
  width: 50%;
  min-height: 190px;
  margin-bottom: 30px;
  padding-inline: 15px;
  text-align: center;
}
@media (min-width: 768px) { .feature-icons__item { width: 25%; } }
@media (min-width: 992px) { .feature-icons__item { width: 16.6667%; } }
.feature-icons__item img { max-width: 130px; }
.feature-icons__label { margin: 10px 0; font-size: 15px; font-weight: 500; }

.link-accent { color: #46a7c9; text-decoration: underline; }
.link-accent:hover { color: #46a7c9; }
.store-badges img { margin: 0 20px; }

/* ==========================================================================
   13. Datasheets & document lists
   ========================================================================== */
.datasheets { margin-top: 20px; }
.datasheets > .container { padding-block: var(--section-space); }
@media (max-width: 991px) { .datasheets > .container { padding-bottom: 30px; } }

.doc-columns { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 30px; }
@media (min-width: 992px) {
  .doc-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .doc-columns--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.doc-list { margin: 0; padding: 0; }
.doc-list li { display: table; padding: 7px 0 10px; line-height: 30px; }
.doc-list a { font-size: 14px; color: var(--c-link-hover); }
.doc-list a:hover { color: var(--c-orange); }
.doc-list .icon { margin-right: 5px; vertical-align: -6px; }
.doc-columns--indented { padding-inline: 15px; }
.doc-heading { margin: 20px 0; padding-inline: 15px; font-size: 15px; font-weight: 700; color: #0054a4; }
.doc-heading--first { margin-top: 0; }

/* ==========================================================================
   14. "Solutions & Success Stories" showcase
   ========================================================================== */
.solutions-showcase > .container { padding-bottom: 30px; }
.solutions-showcase__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0 30px;
  margin-bottom: 30px;
  padding-left: 30px;
  border-left: 4px solid var(--c-primary);
}
.solutions-showcase__head > div { flex: 1 1 60%; }
.solutions-showcase__head .btn { margin-top: 30px; margin-left: auto; }
.solutions-showcase__kicker { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.42857; text-transform: uppercase; }
.solutions-showcase__title { margin: 0 0 10px; font-size: 42px; line-height: 52px; }
.solutions-showcase__head p:last-child { margin: 0; font-style: italic; }

.solution-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px 30px; margin-bottom: 30px; }
@media (min-width: 768px) { .solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .solution-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.solution-card { padding: 10px; }
@media (max-width: 991px) { .solution-card { max-width: 400px; margin-inline: auto; width: 100%; } }
.solution-card__media { position: relative; overflow: hidden; }
.solution-card__media img { display: block; width: 100%; transition: transform .5s; }
.solution-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: scale(.8);
  transition: opacity .5s, transform .5s, background-color .3s;
}
.solution-card__overlay p { padding-inline: 20px; color: #777; }
.solution-card__title { margin: 0 0 10px; font-size: 18px; font-weight: 500; color: var(--c-primary); }
.solution-card__label { margin: 10px 0; font-size: 15px; font-weight: 500; line-height: 1.42857; color: var(--c-heading); }
.solution-card:hover .solution-card__overlay,
.solution-card:focus-within .solution-card__overlay { opacity: 1; transform: none; background: rgba(255, 255, 255, .75); }
.solution-card:hover img { transform: scale(2); }
.solution-card:hover .solution-card__label { opacity: 0; }

/* ==========================================================================
   15. Call strip, footer & fixed bars
   ========================================================================== */
.call-us > .container { padding-block: var(--section-space); text-align: center; }
@media (max-width: 991px) { .call-us > .container { padding-bottom: 30px; } }
.call-us__lead { margin: 0 0 10px; font-size: 24px; font-weight: 600; line-height: 1.42857; color: var(--c-heading); }
.call-us__title { margin: 20px 0 10px; font-size: 30px; font-weight: 600; line-height: 1.42857; color: var(--c-heading); }

.contact-bar {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 200;
  width: 100%;
  padding: 20px;
  text-align: center;
  background: var(--c-bg-light);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-bar);
}
.contact-bar .btn { margin-left: 20px; }
.contact-bar .btn .icon { width: 12px; height: 12px; margin-right: 5px; vertical-align: -1px; }
@media (max-width: 991px) {
  .contact-bar { padding: 5px 20px; }
  .contact-bar .btn { margin: 0 0 5px 5px; padding: 3px 14px; font-size: 11px; }
}

.site-footer { padding-top: 60px; background-color: var(--c-primary); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 30px; padding-bottom: 20px; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .site-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer-widget { margin-bottom: 40px; }
.footer-widget__title {
  position: relative;
  margin: 0 0 30px;
  font-size: 15px;
  font-weight: 500;
  color: var(--c-white);
  text-transform: uppercase;
}
.footer-widget__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 50px;
  height: 1px;
  border: 1px solid var(--c-white);
}
.footer-links li, .footer-contact li { margin-bottom: 10px; padding-bottom: 10px; }
.footer-links li:last-child, .footer-contact li:last-child { margin-bottom: 0; }
.footer-links, .footer-contact { margin: 0; }
.site-footer a { color: var(--c-white); }
.site-footer a:hover, .site-footer a:focus { color: #fafafa; text-decoration: underline; }
.footer-contact li { color: var(--c-white); }
.footer-contact li::after { content: ""; display: table; clear: both; }
.footer-contact .icon { margin-right: 5px; padding-right: 5px; width: 18px; }
.footer-contact__tagline { font-size: 12px; color: #ff0; }
.footer-contact__value { float: right; }
.site-footer__bottom { padding: 20px; text-align: center; background-color: var(--c-black); }
.site-footer__bottom p { margin: 0; font-size: 11px; }

.back-to-top {
  position: fixed;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 2px;
  font-size: 42px;
  color: var(--c-white);
  background: rgba(0, 0, 0, .1);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--ease), visibility var(--ease), background-color var(--ease);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; }
.back-to-top:hover, .back-to-top:focus { color: var(--c-white); background: rgba(0, 0, 0, .6); }

/* ==========================================================================
   16. Dialogs (native <dialog>)
   ========================================================================== */
.modal {
  width: calc(100% - 20px);
  max-width: 600px;
  max-height: calc(100% - 20px);
  margin: 10px auto auto;
  padding: 0;
  color: var(--c-text);
  background: var(--c-white);
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 6px;
  box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
}
@media (min-width: 768px) {
  .modal { margin-top: 30px; box-shadow: 0 5px 15px rgba(0, 0, 0, .5); }
}
.modal::backdrop { background: rgba(0, 0, 0, .5); }
.modal[open] { animation: modal-in .3s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(-25%); } to { opacity: 1; transform: none; } }
.modal__body { padding: 25px; border: 1px solid var(--c-border); }
.modal__close {
  float: right;
  padding: 0;
  border: 0;
  background: none;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: .2;
}
.modal__close:hover, .modal__close:focus { opacity: .5; }
.modal__title { margin: 0; font-size: 18px; font-weight: 500; color: var(--c-primary); text-transform: uppercase; }
.modal__rule { margin-bottom: 30px; }
.modal__intro { margin: -20px 0 9px; }
.modal__frame { display: block; width: 99%; height: 500px; border: 0; }

.modal--video .modal__body { padding: 0; border: 0; }
@media (min-width: 992px) { .modal--lg { max-width: 900px; } }
.modal__header { padding: 15px; border-bottom: 1px solid #e5e5e5; }
.modal__header .modal__close { margin-top: -2px; }
.modal__heading { margin: 0; font-size: 18px; font-weight: 500; line-height: 1.42857; }

/* ==========================================================================
   17. Media embeds
   ========================================================================== */
.video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.video-embed--banner { aspect-ratio: auto; height: 500px; }
.video-embed--3x2 { aspect-ratio: 3 / 2; }
.video-embed--2x1 { aspect-ratio: 2 / 1; }
.video-embed--20x11 { aspect-ratio: 20 / 11; }


/* ==========================================================================
   18. Content pages (company, resources, legal, contact)
   ========================================================================== */
/* Main column + sidebar, column widths identical to a 9/3 split. */
@media (min-width: 992px) {
  .with-sidebar { grid-template-columns: minmax(0, calc(75% - 7.5px)) minmax(0, calc(25% - 22.5px)); }
}
.with-sidebar > .block, .with-sidebar > div > .block:last-child { margin-bottom: 40px; }

.sidebar-widget { margin-bottom: 40px; }
.sidebar-widget__title { margin: 0 0 30px; font-size: 18px; font-weight: 500; line-height: 1.42857; }
.link-list { margin: 13px 0 0; }
.link-list li { margin: 5px 0 10px; padding-bottom: 10px; border-bottom: 1px dashed #d3d3d3; }
.link-list li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 10px;
  margin-right: 10px;
  background-color: #a9a9a9;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1056 1280'%3E%3Cpath d='M595 704q0 13-10 23l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393-393-393q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23zm384 0q0 13-10 23l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393-393-393q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1056 1280'%3E%3Cpath d='M595 704q0 13-10 23l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393-393-393q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23zm384 0q0 13-10 23l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393-393-393q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.media-post { margin-bottom: 10px; }
.media-post::after { content: ""; display: table; clear: both; }
.media-post__thumb { float: left; margin: 0 10px 10px 0; }
.media-post__body { overflow: hidden; }
.media-post__title { margin: 0 0 5px; font-size: 15px; font-weight: 500; }
.media-post__title a { font-size: 13px; color: var(--c-heading); }
.media-post__title a:hover { color: var(--c-primary); }
.media-post__date { margin: 0; font-size: 12px; }

/* Image + text rows (products overview, partners, CSR, testimonials). */
.media-row { display: grid; gap: 0 30px; grid-template-columns: minmax(0, 1fr); margin-bottom: 20px; }
@media (min-width: 768px) { .media-row { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); } }
.media-row__media img { margin: 5px 0; }
.media-row__body h3 { margin: 0 0 10px; font-size: 18px; font-weight: 500; }
.media-row__body blockquote { padding-top: 0; padding-left: 10px; }
.media-row--quote .media-row__media img { margin: 20px 0 0; }

/* Logo / image tiles (customers, awards, brochures). */
.tile-grid { display: grid; gap: 0 30px; grid-template-columns: minmax(0, 1fr); margin-bottom: 25px; }
@media (min-width: 768px) { .tile-grid { row-gap: 25px; } }
@media (min-width: 768px) { .tile-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile-grid--3 { gap: 10px 30px; }
@media (min-width: 768px) { .tile-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Card with image and caption box. */
.caption-card__caption { padding: 10px 20px; background: var(--c-bg-light); text-align: center; }
.caption-card__caption--left { text-align: left; padding: 15px 20px; }
.caption-card__title { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.42857; color: var(--c-heading); }
.caption-card__caption--left .caption-card__title { margin-bottom: 10px; }
.video-grid { row-gap: 15px; margin-bottom: 15px; }
.video-card { margin: 0; }
.award-grid { margin-top: 20px; row-gap: 0; }
@media (min-width: 768px) { .award-grid { row-gap: 30px; } }
.award { padding-block: 5px; }
.support-grid { row-gap: 10px; }
.contact-card { padding-block: 5px; }
.contact-card__name { margin-bottom: 10px; }
.contact-card__links { margin: 20px 0 0; }
.contact-card__links li { margin-bottom: 10px; }
.contact-card__links .icon { margin-right: 10px; }
.contact-card__phone { font-weight: 700; }
.award__year { margin: 0 0 20px; padding-left: 15px; font-size: 15px; font-weight: 700; color: #0054a4; }


/* Free-form text column */
.prose { display: flow-root; }
.prose__h3 { font-size: 24px; }
.prose__h1 { font-size: 36px; }
@media (max-width: 1199px) { .prose__media { margin-top: 30px; } }
.job { padding-inline: 5px; }
.job p, .job h3, .job ul { padding: 10px; }
.job h3 { margin: 10px 0; font-size: 18px; font-weight: 500; }
.job__apply { margin-top: 30px; }

.prose__h1--spaced { margin-top: 10px; }
.prose__h3--tight { margin: 10px 0; }

/* Download / link boxes (company overview) */
.icon-boxes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin: 0; }
.icon-box {
  display: block;
  height: 100%;
  padding: 15px;
  text-align: center;
  color: var(--c-link);
  border: 1px solid var(--c-border);
  transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}
.icon-box__icon { width: 40px; height: 40px; color: var(--c-primary); vertical-align: text-bottom; transition: color var(--ease); }
.icon-box__label { display: block; margin: 10px 0; font-size: 14px; font-weight: 600; line-height: 20px; color: var(--c-heading); }
.icon-box:hover, .icon-box:focus { color: var(--c-white); background: var(--c-primary); border-color: var(--c-primary); }
.icon-box:hover .icon-box__icon, .icon-box:hover .icon-box__label,
.icon-box:focus .icon-box__icon, .icon-box:focus .icon-box__label { color: var(--c-white); }
@media (max-width: 991px) { .icon-boxes { margin-bottom: 20px; } }
@media (max-width: 767px) { .icon-boxes { margin-block: 30px; } }

.story-grid { margin-bottom: 10px; }
.brochure-grid { row-gap: 30px; }
.case-grid { display: grid; gap: 0 30px; grid-template-columns: minmax(0, 1fr); margin: 0; padding-bottom: 15px; }
/* Original markup grouped logos in rows of six with a 15px gap between rows. */
@media (max-width: 767px) { .case-card:nth-child(6n):not(:last-child) { margin-bottom: 15px; } }
@media (min-width: 768px) { .case-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 15px; } }
.case-grid .caption-card__title { margin-bottom: 10px; }
.brochure-grid__caption { min-height: 72px; }
.suniye__text { margin-top: 20px; padding-inline: 15px; }

/* Single-image gallery with large arrows (Suniye) */
.carousel--feature { --gap: 15px; margin-inline: 15px; }
.carousel--feature .carousel__btn { top: 40%; font-size: 40px; padding: 15px 18px; }
.carousel--feature .carousel__btn--prev { left: -40px; }
.carousel--feature .carousel__btn--next { right: -40px; }
.carousel--feature:hover .carousel__btn--prev { left: 0; }
.carousel--feature:hover .carousel__btn--next { right: 0; }
.story-grid a { display: block; }
.story-grid .caption-card__caption { display: block; }

/* Team carousel (company overview) */
.team { margin: 25px 0; text-align: center; }
.team__photos { display: flex; align-items: center; justify-content: center; margin: 0 0 30px; }
.team__photo { display: block; width: 137px; padding: 0; border: 0; background: none; transition: width var(--ease); }
.team__photo img { display: block; width: 100%; }
.team__photo.is-active { width: 240px; }
.team__name { margin: 0; font-size: 29.33px; font-weight: 300; }
.team__role { margin: 3px; font-size: 20px; font-weight: 300; line-height: 1.42857; color: #787878; }
.team__email { margin: 4px; color: var(--c-black); }
@media (max-width: 767px) { .team__photo { width: 18%; } .team__photo.is-active { width: 34%; } }

/* Contact page */
.contact-page__grid { display: grid; gap: 0 30px; grid-template-columns: minmax(0, 1fr); padding-top: 90px; padding-bottom: 10px; }
@media (min-width: 992px) {
  .contact-page__grid { grid-template-columns: minmax(0, calc(58.3333% - 12.5px)) minmax(0, calc(41.6667% - 17.5px)); }
}
.contact-page__title { margin: 0 0 15px; font-size: 24px; }
.contact-page__title--spaced { margin-top: 20px; }
.contact-page__hq { line-height: 22px; }
.contact-page__tagline { font-size: 12px; }
.contact-page__intro { margin: 0 0 30px; }
.contact-page__form { display: block; width: 99%; height: 1100px; border: 0; }
.branches { display: grid; gap: 0 30px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 992px) { .branches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.branch { margin: 15px 0; line-height: 22px; }
.branch strong { font-size: 14px; color: #0054a4; }
.branch span { color: var(--c-orange); }
.map-embed { display: block; width: 100%; height: 300px; border: 0; }

/* Brand-coloured page header */
.page-header--brand { background-color: var(--c-primary); }
.page-header--brand .page-header__title,
.page-header--brand .breadcrumb li,
.page-header--brand .breadcrumb a { color: var(--c-white); }
.page-header--brand .breadcrumb li + li::before { background-color: var(--c-white); }

/* School entrance security (legacy page) */
.school__title { margin-top: 0; }
.school__cta { margin-top: 30px; }
.school__desc-title { padding: 0 0 20px 10px; }
.school__desc p { line-height: 28px; }
.school__scheme { display: block; width: 100%; }
.school-stories { background: #4f4f4f; }
.story { align-items: start; }
.story img { display: block; width: 100%; }
.story__body { padding: 30px 15px; color: var(--c-white); }
.story__heading { margin: 0 0 10px; font-size: 50px; color: var(--c-white); }
.story__title { font-size: 18px; font-weight: 500; color: var(--c-primary); }
.story__quote { font-weight: 700; font-style: italic; }
.story__author { float: right; color: var(--c-primary); }
.carousel--stories .carousel__btn { top: 50%; width: 5%; height: 60px; margin-top: -30px; font-size: 60px; background: none; }
.carousel--stories .carousel__btn--prev { left: 0; }
.carousel--stories .carousel__btn--next { right: 0; }
.school-video { background: #343434; color: var(--c-white); }
.school-video__title { font-size: 36px; color: var(--c-white); }
.separator { margin: 30px auto; overflow: hidden; color: #ccc; line-height: 1.2em; text-align: center; }
.separator::before, .separator::after {
  content: "";
  display: inline-block;
  width: 50%;
  height: .65em;
  vertical-align: top;
  border-bottom: 1px solid var(--c-border);
}
.separator::before { margin: 0 -4px 0 -100%; }
.separator::after { margin: 0 -100% 0 0; }
.separator .icon { margin: 0 20px 0 24px; font-size: 20px; }
.icon--spin { animation: icon-spin 2s linear infinite; }
@keyframes icon-spin { to { transform: rotate(360deg); } }

/* Floated image inside running text (services pages) */
.float-img {
  float: left;
  margin: 0 15px 20px 0;
  padding: 4px;
  background: var(--c-white);
  border: 1px solid #ddd;
  border-radius: 4px;
}
.clearfix::after { content: ""; display: table; clear: both; }

/* HTML site map */
.sitemap__list { columns: 1; column-gap: 30px; }
@media (min-width: 768px) { .sitemap__list { columns: 2; } }
@media (min-width: 992px) { .sitemap__list { columns: 3; } }
.sitemap__list li { padding: 3px 0; break-inside: avoid; }

/* Legal pages */
.legal { margin-top: 30px; }
.legal > .container { padding-bottom: var(--section-space); }
@media (max-width: 991px) { .legal > .container { padding-bottom: 30px; } }
.legal h3:first-of-type + p { margin-top: 15px; }

/* 404 / thank-you */
.status-page > .container { padding-block: var(--section-space); }
.status-page__code { margin: 0; font-size: 200px; font-weight: 600; line-height: 1em; }
.status-page__title { margin: 0 0 10px; font-size: 30px; }
.status-page__lead { margin: 0 0 10px; font-size: 24px; }
.status-page__sub { margin: 20px 0 10px; font-size: 24px; }
.status-page__phones { margin: 10px 0; font-size: 18px; font-weight: 500; line-height: 1.42857; }
.status-page__btn { margin-top: 10px; }
.status-page__btn .icon { margin-right: 5px; }
.status-page__img { width: 100%; }
.status-page__download { font-weight: 700; }

/* Accordion (native <details>) */
.accordion { margin: 20px 0 0; }
.accordion__item + .accordion__item { margin-top: 5px; }
.accordion__summary {
  position: relative;
  display: block;
  padding: 10px 15px 10px 48px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text);
  background: rgba(238, 238, 238, .5);
  cursor: pointer;
  list-style: none;
}
.accordion__summary::-webkit-details-marker { display: none; }
.accordion__summary:hover { color: var(--c-text); }
.accordion__summary::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 42px;
}
.accordion__summary::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  background-color: #777;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1408 1408'%3E%3Cpath transform='translate(0 1408) scale(1 -1)' d='M1408%20800v-192q0%20-40%20-28%20-68t-68%20-28h-416v-416q0%20-40%20-28%20-68t-68%20-28h-192q-40%200%20-68%2028t-28%2068v416h-416q-40%200%20-68%2028t-28%2068v192q0%2040%2028%2068t68%2028h416v416q0%2040%2028%2068t68%2028h192q40%200%2068%20-28t28%20-68v-416h416q40%200%2068%20-28t28%20-68z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1408 1408'%3E%3Cpath transform='translate(0 1408) scale(1 -1)' d='M1408%20800v-192q0%20-40%20-28%20-68t-68%20-28h-416v-416q0%20-40%20-28%20-68t-68%20-28h-192q-40%200%20-68%2028t-28%2068v416h-416q-40%200%20-68%2028t-28%2068v192q0%2040%2028%2068t68%2028h416v416q0%2040%2028%2068t68%2028h192q40%200%2068%20-28t28%20-68v-416h416q40%200%2068%20-28t28%20-68z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.accordion__item[open] > .accordion__summary { color: #111; background: #f1f1f1; border-bottom: 1px solid #d3d3d3; }
.accordion__item[open] > .accordion__summary::before { background: #e3e3e3; }
.accordion__item[open] > .accordion__summary::after {
  background-color: var(--c-white);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1408 1408'%3E%3Cpath transform='translate(0 1408) scale(1 -1)' d='M1408%20800v-192q0%20-40%20-28%20-68t-68%20-28h-1216q-40%200%20-68%2028t-28%2068v192q0%2040%2028%2068t68%2028h1216q40%200%2068%20-28t28%20-68z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1408 1408'%3E%3Cpath transform='translate(0 1408) scale(1 -1)' d='M1408%20800v-192q0%20-40%20-28%20-68t-68%20-28h-1216q-40%200%20-68%2028t-28%2068v192q0%2040%2028%2068t68%2028h1216q40%200%2068%20-28t28%20-68z'/%3E%3C/svg%3E");
}
.accordion__content { padding: 10px 20px 20px; background: #f1f1f1; }
.accordion__content > :last-child { margin-bottom: 0; }



/* ==========================================================================
   19. Home page
   ========================================================================== */
/* Hero slider: 1170 × 570 design grid, scaled down on narrow screens. */
.hero-slider {
  --scale: min(1px, calc(100vw / 1170));
  position: relative;
  height: min(570px, calc(100vw * 570 / 1170));
  overflow: hidden;
  background: #e9eef4;
}
.hero-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s;
}
.hero-slider__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slider__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-slider__cta {
  position: absolute;
  left: calc(50% + var(--x) * var(--scale));
  top: calc(50% + var(--y) * var(--scale));
  transform: translate(-50%, -50%);
  padding: 8px 20px;
  font-size: 13px;
  line-height: 1.42857;
  letter-spacing: 1px;
  white-space: nowrap;
  border-radius: 0;
  transition: background-color var(--ease), color var(--ease);
}
.hero-slider__cta--pos-a { --x: -680; --y: 100; }
.hero-slider__cta--pos-b { --x: 350;  --y: 160; }
.hero-slider__cta--pos-c { --x: 250;  --y: 160; }
.hero-slider__cta--pos-d { --x: 600;  --y: 100; }
@media (max-width: 991px) { .hero-slider__cta { margin-top: 40px; } }
.hero-slider__cta--light { font-size: 14px; font-weight: 700; color: #ea1f2b; background: var(--c-white); }
.hero-slider__cta--light:hover, .hero-slider__cta--light:focus { color: #ea1f2b; }
.hero-slider__cta--dark,
.hero-slider__cta--dark-on-light { color: var(--c-white); background: var(--c-accent); text-transform: uppercase; }
.hero-slider__cta--dark-on-light { font-size: 14px; font-weight: 700; border: 1px solid var(--c-white); }
.hero-slider__cta--dark:hover, .hero-slider__cta--dark:focus,
.hero-slider__cta--dark-on-light:hover, .hero-slider__cta--dark-on-light:focus { color: var(--c-white); background: #fda425; }

.hero-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin-top: -35px;
  padding: 0;
  border: 0;
  font-size: 30px;
  color: var(--c-white);
  background: rgba(0, 0, 0, .5);
  opacity: 0;
  transition: opacity .3s, background-color .3s;
}
.hero-slider__arrow--prev { left: 0; }
.hero-slider__arrow--next { right: 0; }
.hero-slider:hover .hero-slider__arrow, .hero-slider__arrow:focus-visible { opacity: 1; }
.hero-slider__arrow:hover { background: rgba(0, 0, 0, .8); }
.hero-slider__dots {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 5px;
}
.hero-slider__dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 3px solid rgba(0, 0, 0, .7);
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  transition: background-color .3s, transform .3s;
}
.hero-slider__dot[aria-current="true"] { background: var(--c-white); transform: scale(1.3); }
@media (max-width: 799px) { .hero-slider__dots { display: none; } }

/* Intro + product category cards */
.home-intro { margin-block: 30px; }
.home-intro > .container { padding-bottom: var(--section-space); }
@media (max-width: 991px) { .home-intro > .container { padding-bottom: 30px; } }
.home-intro__head { margin-bottom: 60px; text-align: center; }
.home-intro__title, .home-products__title { margin: 0 0 10px; font-size: 30px; color: var(--c-primary); }
.home-cards { display: grid; gap: 0 30px; grid-template-columns: minmax(0, 1fr); text-align: center; }
@media (min-width: 992px) { .home-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.home-card__img img { display: inline-block; }
.home-card__body { padding: 20px; border: 1px solid var(--c-border); }
@media (max-width: 991px) { .home-card__body { margin-bottom: 30px; } }
.home-card__title { margin: 0 0 10px; font-size: 24px; font-weight: 300; color: var(--c-primary); }
.home-card__btn { margin-top: 15px; }
.home-card__btn--pushed { margin-top: 38px; }

.home-products {
  background: url("../images/home/fond-grandstream.jpg") 50% 0 / cover no-repeat fixed;
}
@media (hover: none) { .home-products { background-attachment: scroll; } }
.home-products > .container { padding-block: 90px; }
.home-products .home-intro__head p,
.home-products__title { color: var(--c-white); }
.home-cards--products { row-gap: 50px; }
.home-card--dark .home-card__body { border: 0; }
.home-card--dark .home-card__title, .home-card--dark p { color: var(--c-white); }

/* Featured products */
.home-featured > .container { padding-top: var(--section-space); }
.home-featured .block { margin-top: 30px; }
.home-featured__title { font-size: 26px; }
.carousel--featured { --per-view: 1; }
@media (min-width: 600px) { .carousel--featured { --per-view: 2; } }
@media (min-width: 750px) { .carousel--featured { --per-view: 4; } }
.carousel--featured .carousel__btn { top: 38%; width: 40px; height: 30px; font-size: 24px; }
.carousel--featured .carousel__btn--prev { left: -40px; }
.carousel--featured .carousel__btn--next { right: -40px; }
.carousel--featured:hover .carousel__btn--prev { left: 0; }
.carousel--featured:hover .carousel__btn--next { right: 0; }
.home-featured { overflow: hidden; }

/* ==========================================================================
   20. Industry solution pages
   ========================================================================== */
.sol-intro { margin-top: 30px; }
.sol-intro > .container { padding-bottom: var(--section-space); }
@media (max-width: 991px) { .sol-intro > .container { padding-bottom: 30px; } }
.sol-intro__grid { display: grid; gap: 0 30px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 992px) {
  .sol-intro__grid--8-4 { grid-template-columns: minmax(0, calc(66.6667% - 10px)) minmax(0, calc(33.3333% - 20px)); }
  .sol-intro__grid--7-5 { grid-template-columns: minmax(0, calc(58.3333% - 12.5px)) minmax(0, calc(41.6667% - 17.5px)); }
  .sol-intro__grid--9-3 { grid-template-columns: minmax(0, calc(75% - 7.5px)) minmax(0, calc(25% - 22.5px)); }
}
.sol-intro__title { margin: 0 0 10px; font-size: 24px; }
.sol-intro__title--bold { font-weight: 700; }
.sol-intro__img { display: block; width: 100%; }
.sol-intro__img--h265 { height: 265px; }
.sol-intro__img--h320 { height: 320px; }
.sol-intro__img--h350 { height: 350px; }
.sol-intro__img--h356 { height: 356px; }
.sol-intro__img--h360 { height: 360px; }
.sol-intro__img--h475 { height: 475px; }
.video-embed--sol { aspect-ratio: 1 / 1; }
.sol-intro--plain .sol-plain__img { display: block; margin-inline: 15px; }
.mt-15 { margin-top: 15px !important; }
.sol-btn { margin-block: 10px; }

/* Solutions overview */
.page-header--category + .industry-icons { margin-top: 0; }
.industry-icons { padding-bottom: 10px; background: var(--c-bg-light); text-align: center; }
.industry-icons ul { margin: 0; }
.industry-icons li { display: inline-block; width: 11%; vertical-align: top; }
.industry-icons a { display: block; color: #494848; }
.industry-icons a:hover { color: #d05109; text-decoration: underline; }
.industry-icons img { display: block; margin: 0 auto 9px; }
.industry-icons span { display: block; margin-bottom: 9px; }
@media (max-width: 767px) { .industry-icons { display: none; } }

.industry { padding-block: 10px; }
.industry:first-child { padding-block: 60px 10px; }
.industry__head { display: block; }
@media (min-width: 992px) { .industry__head { display: flex; align-items: flex-start; gap: 30px; } }
.industry__head img { width: 67.5px; flex: none; }
.industry__title { margin: 20px 0 10px; font-size: 30px; }

/* Photo bands with white text */
.sol-banner { padding: 40px 0; color: var(--c-white); }
.sol-banner--ip-phones     { background-image: url("../images/solutions/pic/ip-phone-bg.jpg"); }
.sol-banner--door          { background-image: url("../images/solutions/pic/door-intercoms.jpg"); margin-bottom: 40px; }
.sol-banner--wifi          { background-image: url("../images/solutions/pic/wifi-bg.jpg"); margin-bottom: 40px; }
.sol-banner--surveillance  { background-image: url("../images/solutions/pic/grandstream-surveillance.png"); }
.sol-banner__title { margin: 20px 0 10px; font-size: 24px; font-weight: 700; color: var(--c-white); }
.sol-banner p, .sol-banner li { color: var(--c-white); }
@media (min-width: 768px) {
  .sol-banner__text { width: calc(50% - 15px); }
  .sol-banner--surveillance .sol-banner__text { width: calc(41.6667% - 17.5px); margin-left: calc(58.3333% + 2.5px); }
}
.sol-banner__text { display: flow-root; }
.sol-banner--door .sol-banner__text { min-height: 360px; }
.sol-banner .bullet-list { padding-top: 9px; }

/* Text + product image bands */
.sol-feature { padding: 40px 0; }
.sol-feature--pbx { background-image: url("../images/solutions/pic/ippbx-bg.png"); }
.sol-feature__grid { display: grid; gap: 0 30px; grid-template-columns: minmax(0, 1fr); }
.sol-feature__title { margin: 20px 0 10px; font-size: 24px; font-weight: 700; color: #f6772f; }
.sol-feature__media img { display: block; margin-top: 50px; }
.sol-feature--vc .sol-feature__media img { width: 100%; }
.sol-feature--vc p { color: var(--c-text); line-height: 22px; }
@media (min-width: 768px) {
  .sol-feature--pbx .sol-feature__grid { grid-template-columns: minmax(0, calc(58.3333% - 12.5px)) minmax(0, calc(41.6667% - 17.5px)); }
  .sol-feature--vc .sol-feature__text { width: calc(83.3333% - 5px); margin-left: calc(8.3333% + 2.5px); }
}
@media (min-width: 992px) {
  .sol-feature--vc .sol-feature__grid { grid-template-columns: minmax(0, calc(66.6667% - 10px)) minmax(0, calc(33.3333% - 20px)); }
  .sol-feature--vc .sol-feature__text { width: auto; margin-left: 0; }
}
.sol-definition { font-size: 15px; font-style: italic; color: #192e84; }

/* Detailed case studies */
.case-entry + .case-entry { margin-top: 30px; }
.case-entry__grid { display: grid; gap: 0 30px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 992px) { .case-entry__grid { grid-template-columns: minmax(0, calc(83.3333% - 5px)) minmax(0, calc(16.6667% - 25px)); } }
.case-entry__meta { display: grid; gap: 0 30px; grid-template-columns: minmax(0, 1fr); margin-block: 15px; }
@media (min-width: 992px) { .case-entry__meta { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.case-entry__label { color: #0054a4; }
.case-entry__used { line-height: 34px; font-weight: 700; color: #0054a4; }

/* ==========================================================================
   21. Print
   ========================================================================== */
@media print {
  .topbar, .navbar, .quick-contact, .contact-bar, .back-to-top, .modal, .carousel__btn, .category-tabs, .category-select { display: none !important; }
  body { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 90%; }
}
