/**
 * ORFA brand layer — typography and one layout grid for the whole site.
 * Loaded after every other stylesheet (theme, catalog, landing pages, blog) so it wins.
 *
 * Font: Inter (SIL Open Font License, self-hosted in assets/fonts/inter) — a neutral, highly legible
 *       grotesque in the style used by international networking/telecom brands. Replaces Poppins.
 * Grid: content max 1240px, side gutters 48px (desktop) / 32px (tablet) / 20px (phone). The header,
 *       footer, page-builder sections, catalog, Technology/landing pages, blog and homepage slider all
 *       start and end on the same lines.
 */

/* ------------------------------------------------------------------ Font files */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
	src: url('../fonts/inter/inter-latin-normal.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
	src: url('../fonts/inter/inter-latin-ext-normal.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: italic; font-weight: 100 900; font-display: swap;
	src: url('../fonts/inter/inter-latin-italic.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: italic; font-weight: 100 900; font-display: swap;
	src: url('../fonts/inter/inter-latin-ext-italic.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ------------------------------------------------------------------ Tokens */
:root {
	--orfa-font: 'Inter', 'Helvetica Neue', Helvetica, Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
	--orfa-content: 1240px;
	--orfa-gutter: 48px;
	--orfa-page: calc(var(--orfa-content) + 2 * var(--orfa-gutter));
	--enfold-font-family-heading: var(--orfa-font);
	--enfold-font-family-body: var(--orfa-font);
}
@media (max-width: 1099px) { :root { --orfa-gutter: 32px; } }
@media (max-width: 767px)  { :root { --orfa-gutter: 20px; } }

/* ------------------------------------------------------------------ Typography */
html body, body.poppins, #top, #top input, #top select, #top textarea, #top button,
#top .main_menu .menu > li > a, #top .avia-button, #top .wpcf7 input, #top .wpcf7 textarea {
	font-family: var(--orfa-font);
}
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-optical-sizing: auto; }
h1, h2, h3, h4, h5, h6, #top .title_container .main-title, tr.pricing-row td, #top .portfolio-title, .callout .content-area,
.avia-big-box .avia-innerbox, .av-special-font, .av-current-sort-title, .html_elegant-blog #top .minor-meta, #av-burger-menu-ul li {
	font-family: var(--orfa-font);
}
/* Headings: confident but not heavy; slightly tighter tracking for large sizes. */
#top h1, #top h2 { letter-spacing: -0.022em; }
#top h3, #top h4 { letter-spacing: -0.012em; }
#top .av-special-heading .av-special-heading-tag, #top h1.av-special-heading-tag, #top h2.av-special-heading-tag { font-weight: 700; }
#top h3.av-special-heading-tag, #top h4.av-special-heading-tag { font-weight: 600; }
/* Body copy */
#top .avia_textblock, #top .avia_textblock p, #top .entry-content p, #top .psc-prod-prose p { line-height: 1.7; }
/* Small uppercase labels (eyebrows, kickers, chips) read better with a little more air in Inter. */
#top .av-subheading p, #top .orfa-heading-kicker .av-special-heading-tag, #top .orfa-card-eyebrow, #top .psc-cat-eyebrow,
#top .orfa-hero-eyebrow, #top .eyebrow, #top .ob-eyebrow { letter-spacing: 0.08em; }
/* Numbers in specification tables and figures line up. */
#top .psc-spec-table td, #top .psc-cat table td, #top .comparison-table, #top .stat, #top .hero-meta strong { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ One grid */
/* Theme containers (header, page-builder sections, footer, socket). */
.responsive #top #wrap_all .container {
	width: 100% !important;
	max-width: var(--orfa-page) !important;
	padding-left: var(--orfa-gutter);
	padding-right: var(--orfa-gutter);
}
/* Catalog, product and Download Center views. */
#top #wrap_all .psc-cat-wrap { width: min(var(--orfa-content), calc(100% - 2 * var(--orfa-gutter))); }
/* Technology / landing pages built from the client's designs. */
#top #wrap_all .orfa-lp.orfa-lp .wrap,
#top #wrap_all .orfa-lp.orfa-lp .container,
#top #wrap_all .orfa-lp.orfa-lp .orfa-lp-subnav__in { width: min(var(--orfa-content), calc(100% - 2 * var(--orfa-gutter))); max-width: none; margin-left: auto; margin-right: auto; }
/* Blog and news listing (the article body keeps its narrower reading width). */
#top #wrap_all .ob-wrap:not(.ob-wrap--narrow):not(.ob-wrap--cover) { width: min(var(--orfa-content), calc(100% - 2 * var(--orfa-gutter))); }

/* ------------------------------------------------------------------ Heading scale (one system everywhere) */
/* Main headings: 700 on every page type (page builder was 500, catalog/landing 800). */
#top #wrap_all h1, #top #wrap_all h2 { font-weight: 700 !important; }
#top #wrap_all .av-special-heading h3.av-special-heading-tag { font-weight: 600 !important; }
/* Page-builder section titles: international scale (was a fixed 52px). */
#top #wrap_all .av-special-heading h2.av-special-heading-tag { font-size: clamp(30px, 2.4vw + 10px, 44px) !important; line-height: 1.16 !important; }

/* ==================================================================
   HEADER & NAVIGATION
   ================================================================== */
:root { --orfa-hh: 76px; --orfa-blue: #0a66ff; --orfa-blue-d: #0952cc; --orfa-ink: #0f1b2d; --orfa-line: #e6ecf3; }

@media (min-width: 990px) {
	html.orfa-scrolled { --orfa-hh: 64px; }
	/* Content starts below the fixed header (fixed value: no jump when the header shrinks). */
	.html_header_top.html_header_sticky #top #main { padding-top: 78px !important; }
	#top #header_main > .container,
	#top #header .main_menu,
	#top #header .logo, #top #header .logo a,
	#top #header .av-main-nav > li > a { height: var(--orfa-hh) !important; line-height: var(--orfa-hh) !important; transition: height .25s ease, line-height .25s ease; }
	#top #header .logo a { display: flex; align-items: center; }
	#top #header .logo img { height: 38px !important; width: auto !important; max-height: none !important; transition: height .25s ease; }
	html.orfa-scrolled #top #header .logo img { height: 32px !important; }
	#top #header .header_bg { background: #fff !important; opacity: 1 !important; }
	#top #header_main { border-top: 0 !important; border-bottom: 1px solid var(--orfa-line) !important; transition: box-shadow .25s ease; }
	html.orfa-scrolled #top #header_main { box-shadow: 0 10px 30px rgba(15, 27, 45, .08); }

	/* Menu links: Title Case, medium weight, brand colour for hover and the current section. */
	#top #header .av-main-nav > li > a { padding: 0 15px !important; font-size: 15px !important; font-weight: 500 !important; letter-spacing: 0 !important; color: #1b2638 !important; }
	#top #header .av-main-nav > li:hover > a,
	#top #header .av-main-nav > li > a:focus-visible,
	#top #header .av-main-nav > li.current-menu-item > a,
	#top #header .av-main-nav > li.current-menu-ancestor > a,
	#top #header .av-main-nav > li.current_page_item > a,
	#top #header .av-main-nav > li.current-menu-parent > a { color: var(--orfa-blue) !important; }
	#top #header .av-main-nav > li > a .avia-menu-fx { left: 15px !important; width: calc(100% - 30px) !important; bottom: 0 !important; height: 2px !important; background: var(--orfa-blue) !important; border-radius: 2px; }
	#top #header .av-main-nav > li > a .avia-menu-fx .avia-arrow-wrap { display: none !important; }
	/* Dropdown arrow on items that open a menu. */
	#top #avia-menu > li.menu-item-has-children > a .avia-menu-text::after,
	#top #avia-menu > li.orfa-mm-products > a .avia-menu-text::after {
		content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 8px; vertical-align: middle;
		border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .55; transition: transform .2s ease, opacity .2s ease;
	}
	#top #avia-menu > li.menu-item-has-children:hover > a .avia-menu-text::after,
	#top #avia-menu > li.orfa-mm-products:hover > a .avia-menu-text::after { transform: translateY(0) rotate(225deg); opacity: .9; }
	/* "Home" is the logo on desktop (the item stays in the phone menu). */
	#top #avia-menu > li.orfa-desktop-hide { display: none !important; }
	/* Call to action */
	#top #avia-menu > li.orfa-nav-cta { display: flex !important; align-items: center; height: var(--orfa-hh); margin-left: 10px; transition: height .25s ease; }
	#top #avia-menu > li.orfa-nav-cta > a { height: 42px !important; line-height: 42px !important; padding: 0 20px !important; border-radius: 999px; background: var(--orfa-blue) !important; color: #fff !important; font-weight: 600 !important; box-shadow: 0 8px 20px rgba(10, 102, 255, .25); transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
	#top #avia-menu > li.orfa-nav-cta > a:hover, #top #avia-menu > li.orfa-nav-cta > a:focus-visible { background: var(--orfa-blue-d) !important; color: #fff !important; transform: translateY(-1px); box-shadow: 0 12px 26px rgba(10, 102, 255, .32); }
	#top #avia-menu > li.orfa-nav-cta > a .avia-menu-fx { display: none !important; }
	/* Dropdowns as clean cards. */
	#top #header .av-main-nav > li > ul.sub-menu { border: 1px solid var(--orfa-line) !important; border-radius: 14px; padding: 8px !important; background: #fff !important; min-width: 250px; box-shadow: 0 22px 50px rgba(15, 27, 45, .14) !important; overflow: hidden; }
	#top #header .av-main-nav > li > ul.sub-menu li { border: 0 !important; background: transparent !important; }
	#top #header .av-main-nav > li > ul.sub-menu li > a { padding: 11px 14px !important; border: 0 !important; border-radius: 9px; background: transparent !important; color: #1b2638 !important; font-size: 14.5px !important; font-weight: 500 !important; line-height: 1.35 !important; }
	#top #header .av-main-nav > li > ul.sub-menu li > a:hover, #top #header .av-main-nav > li > ul.sub-menu li > a:focus-visible { background: #f1f6ff !important; color: var(--orfa-blue) !important; }
	#top #header .av-main-nav > li > ul.sub-menu li.current-menu-item > a { color: var(--orfa-blue) !important; }
	/* Products mega menu on the same grid as the logo (its inner padding is 30px). */
	#top .orfa-mm-shell { width: min(calc(var(--orfa-content) + 60px), calc(100vw - 2 * var(--orfa-gutter) + 60px)) !important; border-radius: 0 0 16px 16px; }
	#top .orfa-mm-grid { padding-left: 30px !important; padding-right: 30px !important; }
	#top .orfa-mm-group { grid-template-columns: 76px minmax(0, 1fr) !important; gap: 16px !important; padding: 2px 22px !important; min-height: 0 !important; }
	#top .orfa-mm-group:first-child { padding-left: 0 !important; }
	#top .orfa-mm-image { width: 76px !important; height: 76px !important; }
	#top .orfa-mm-image img { height: 68px !important; }
	#top .orfa-mm-links a { font-size: 14px !important; min-height: 30px !important; }
}

/* Phones and tablets: compact header. */
@media (max-width: 989px) {
	.responsive #top #header_main > .container,
	.responsive #top #header .main_menu,
	.responsive #top #header .logo, .responsive #top #header .logo a,
	.responsive #top #header .av-burger-menu-main, .responsive #top #header .av-burger-menu-main > a { height: 64px !important; line-height: 64px !important; }
	.responsive #top #header .logo a { display: flex; align-items: center; }
	.responsive #top #header .logo img { height: 30px !important; width: auto !important; max-height: none !important; }
	.responsive #top #header_main { border-bottom: 1px solid var(--orfa-line) !important; }
	.responsive #top #header .av-main-nav > li.orfa-store-link > a { height: 64px !important; line-height: 64px !important; display: flex; align-items: center; }
}
/* Slide-out menu: quote button at the end. */
#top #av-burger-menu-ul li.orfa-nav-cta { border: 0 !important; }
#top #av-burger-menu-ul li.orfa-nav-cta > a { display: flex !important; justify-content: center; margin: 22px 28px 32px 48px; padding: 14px 18px !important; border-radius: 12px; background: var(--orfa-blue) !important; color: #fff !important; font-weight: 600; border: 0 !important; }
#top #av-burger-menu-ul li.orfa-nav-cta > a .avia-menu-text { color: #fff !important; }

/* ==================================================================
   HOMEPAGE PROOF BAR (hero and product finder: assets/css/hero.css, psc-psearch.css)
   ================================================================== */
/* Proof points under the slider ([orfa_proof_bar]). */
#top .orfa-proof { background: #fff; border-bottom: 1px solid var(--orfa-line); }
#top .orfa-proof__in { list-style: none; margin: 0 auto; padding: 26px 0; width: min(var(--orfa-content), calc(100% - 2 * var(--orfa-gutter))); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
#top .orfa-proof__item { display: flex; align-items: center; gap: 14px; margin: 0; padding: 0; list-style: none; }
#top .orfa-proof__item + .orfa-proof__item { border-left: 1px solid var(--orfa-line); padding-left: 24px; }
#top .orfa-proof__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: #eef4ff; color: var(--orfa-blue); display: grid; place-items: center; }
#top .orfa-proof__icon svg { width: 22px; height: 22px; }
#top .orfa-proof__txt strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--orfa-ink); }
#top .orfa-proof__txt span { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.45; color: #5b6b80; }
@media (max-width: 989px) {
	#top .orfa-proof__in { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; padding: 22px 0; }
	#top .orfa-proof__item + .orfa-proof__item { border-left: 0; padding-left: 0; }
}
@media (max-width: 480px) {
	#top .orfa-proof__icon { width: 38px; height: 38px; border-radius: 10px; }
	#top .orfa-proof__icon svg { width: 19px; height: 19px; }
	#top .orfa-proof__txt strong { font-size: 14px; }
	#top .orfa-proof__txt span { font-size: 12.5px; }
}


/* Catalog hero search: never wider than the screen (the scrolling chip row must not stretch the column). */
#top .psc-cat-hero__copy { min-width: 0; }
#top .psc-psearch { min-width: 0; max-width: 100%; }
#top .psc-psearch__chips { min-width: 0; max-width: 100%; }
