/* ==========================================
   CORE FONTS & DESIGN TOKENS
   ========================================== */
/* Local Fonts Definition */
@font-face {
  font-family: 'TT Firs Neue';
  src: url('../fonts/QAEFQSTTFirsNeue-Regular.woff2') format('woff2'),
    url('../fonts/QAEFQSTTFirsNeue-Regular.woff') format('woff'),
    url('../fonts/QAEFQSTTFirsNeue-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Light.woff2') format('woff2'),
    url('../fonts/Poppins-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Regular.woff2') format('woff2'),
    url('../fonts/Poppins-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Medium.woff2') format('woff2'),
    url('../fonts/Poppins-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-SemiBold.woff2') format('woff2'),
    url('../fonts/Poppins-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Bold.woff2') format('woff2'),
    url('../fonts/Poppins-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-ExtraBold.woff2') format('woff2'),
    url('../fonts/Poppins-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Poppins Real Italic Fonts Definition */
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Italic.woff2') format('woff2'),
    url('../fonts/Poppins-Italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-MediumItalic.woff2') format('woff2'),
    url('../fonts/Poppins-MediumItalic.woff') format('woff');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-SemiBoldItalic.woff2') format('woff2'),
    url('../fonts/Poppins-SemiBoldItalic.woff') format('woff');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-BoldItalic.woff2') format('woff2'),
    url('../fonts/Poppins-BoldItalic.woff') format('woff');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-ExtraBoldItalic.woff2') format('woff2'),
    url('../fonts/Poppins-ExtraBoldItalic.woff') format('woff');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}



@font-face {
  font-family: "Poppins";
  src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("LiberationSans"), local("Helvetica");
  font-weight: 100 549;
  size-adjust: 100.8%;
  ascent-override: 100%;
  descent-override: 30%;
  line-gap-override: 0%
}

@font-face {
  font-family: "Poppins";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("LiberationSans-Bold"), local("Helvetica Bold");
  font-weight: 550 1000;
  size-adjust: 95.1%;
  ascent-override: 100%;
  descent-override: 30%;
  line-gap-override: 0%
}

:root {
  --brand-50: #fef5f4;
  --brand-100: #fee6e4;
  --brand-200: #fdd0cc;
  --brand-300: #fbb0aa;
  --brand-400: #f68b82;
  --brand-500: #f26e65;
  --brand-600: #dc544b;
  --brand-700: #b94038;
  --brand-800: #7a2b09;
  --brand-900: #4f1c05;
  --violet-50: #f4f2fd;
  --violet-100: #ece9fb;
  --violet-200: #d9d5f6;
  --violet-500: #7f77dd;
  --violet-600: #5b4fcf;
  --violet-700: #4a3fbf;
  --clutch-ink: #17313b;
  --btn-primary-bg: transparent;
  --btn-primary-bg-hover: var(--brand-50);
  --btn-primary-edge: var(--brand-500);
  --btn-primary-ink: var(--text-heading);
  --btn-primary-mark: var(--brand-500);
  --btn-secondary-bg: #f2f1ef;
  --btn-secondary-bg-hover: #e7e5e1;
  --btn-secondary-edge: transparent;
  --btn-secondary-ink: var(--gray-900);
  --btn-tertiary-bg: var(--gray-900);
  --btn-tertiary-bg-hover: var(--gray-800);
  --btn-tertiary-ink: var(--gray-0);
  --clutch-red: #e62415;
  --accent-color: var(--brand-500);
  --accent-hover: var(--brand-600);
  --accent-subtle: var(--brand-50);
  --eyebrow-bg: var(--accent-subtle);
  --eyebrow-ink: var(--brand-700);
  --eyebrow-border: var(--brand-100);
  --primary-color: var(--brand-500);
  --light-bg-primary-color: var(--brand-50);
  --gray-0: #ffffff;
  --gray-50: #fafaf8;
  --gray-100: #f4f2ee;
  --gray-200: #e9e5de;
  --gray-300: #d5cfc5;
  --gray-400: #b0a898;
  --gray-500: #8a8177;
  --gray-600: #635d55;
  --gray-700: #433f39;
  --gray-800: #2a2723;
  --gray-900: #161410;
  --text-color: #121212;
  --text-heading: var(--gray-900);
  --text-body: var(--gray-700);
  --text-muted: var(--gray-500);
  --text-disabled: var(--gray-400);
  --text-inverse: var(--gray-0);
  --description-text-color: #595959;
  --bg-page: var(--gray-50);
  --bg-surface: var(--gray-0);
  --bg-raised: var(--gray-0);
  --bg-sunken: var(--gray-100);
  --border-subtle: var(--gray-200);
  --border-default: var(--gray-300);
  --border-strong: var(--gray-400);
  --chip-surface: #313131;
  --star-color: var(--brand-500);
  --success-bg: #ecfdf3;
  --success-text: #166534;
  --success-bg-on-dark: rgba(34, 197, 94, 0.16);
  --success-text-on-dark: #86efac;
  --warning-bg: #fffbeb;
  --warning-text: #92400e;
  --error-bg: #fef2f2;
  --error-text: #991b1b;
  --offer-blue-50: #f1f6fd;
  --offer-blue-100: #dee9fb;
  --offer-blue-200: #c9daf6;
  --offer-blue-700: #1d3c7a;
  --offer-green-50: #f2f8f3;
  --offer-green-100: #dcede0;
  --offer-green-200: #c4e0cb;
  --offer-green-700: #1f5c33;
  --offer-blue-wash: #fbfcff;
  --offer-green-wash: #fbfefc;
  --offer-card-bg-blue: radial-gradient(circle at 88% 17%, color-mix(in srgb, var(--offer-blue-100) 70%, transparent), transparent 27%), linear-gradient(135deg, var(--bg-surface) 0%, var(--offer-blue-wash) 100%);
  --offer-card-bg-green: radial-gradient(circle at 89% 55%, color-mix(in srgb, var(--offer-green-100) 65%, transparent), transparent 29%), linear-gradient(135deg, var(--bg-surface) 0%, var(--offer-green-wash) 100%);
  --font-display: "Poppins", "TT Firs Neue", sans-serif, "Poppins", sans-serif;
  --font-body: "Poppins", "TT Firs Neue", sans-serif, "Poppins", sans-serif;
  --font-label: "Poppins", "TT Firs Neue", sans-serif, "Poppins", sans-serif;
  --font-mono: var(--font-label);
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 1.875rem;
  --text-3xl: clamp(1.875rem, 3vw, 2.25rem);
  --text-4xl: clamp(2.25rem, 4vw, 3rem);
  --text-5xl: clamp(2.75rem, 5vw, 4rem);
  --text-hero: clamp(3.25rem, 6.5vw, 5rem);
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.04), 0 16px 40px rgba(0, 0, 0, 0.1);
  --shadow-brand: 0 8px 32px rgba(242, 110, 101, 0.22);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
  --section-pad: clamp(40px, 5vw + 22px, 100px);
  --section-pad-sm: clamp(28px, 3.6vw + 15px, 72px);
  --section-pad-lg: clamp(52px, 6.4vw + 28px, 128px);
  --section-head-gap: clamp(36px, 2.5vw + 20px, 56px);
  --hero-pad-top: clamp(110px, 14vh, 170px);
  --gap-fluid-xs: clamp(12px, 1.5vw, 16px);
  --gap-fluid-sm: clamp(16px, 2vw, 24px);
  --gap-fluid-md: clamp(24px, 2.5vw, 36px);
  --gap-fluid-lg: clamp(32px, 3.5vw, 48px);
  --gap-fluid-xl: clamp(40px, 4vw, 56px);
  --fs-hero: clamp(41px, 5.2vw + 3px, 67px);
  --fs-section-title: clamp(31px, 3.6vw + 3px, 47px);
  --fs-title-md: clamp(29px, 3.2vw + 3px, 43px);
  --fs-title-sm: clamp(23px, 2.6vw + 3px, 31px);
  --fs-card-title: clamp(20px, 1.5vw + 2px, 22px);
  --fs-lede-lg: clamp(18px, 1.6vw + 2px, 21px);
  --fs-lede: clamp(18px, 0.6vw + 16px, 19px);
  --fs-stat: clamp(33px, 3.4vw + 3px, 45px);
  --fs-stat-lg: clamp(37px, 3.6vw + 3px, 49px);
  --fs-rating: clamp(27px, 2.4vw + 3px, 33px);
  --fs-body: 18px;
  --fs-body-sm: 17px;
  --fs-small: 15px;
  --fs-caption: 14px;
  --fs-eyebrow: 13px;
  --lh-display: 1.1;
  --lh-heading: 1.15;
  --lh-subhead: 1.35;
  --lh-body: 1.7;
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1440px;
  --reading-width: 720px;
  --container-gutter: 12px;
  --container-pad: clamp(16px, 3vw, 32px);
  --space-0: 0px;
  --space-9: 80px;
  --space-10: 96px;
  --space-11: 128px;
  --space-12: 160px;
  --bg-overlay: rgba(22, 20, 16, 0.48);
  --info-bg: #eff6ff;
  --info-text: #1e40af;
  --tracking-tight: -0.03em;
  --tracking-normal: -0.015em;
  --tracking-wide: 0.04em;
  --tracking-wider: 0.08em;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  --leading-tight: 1.15;
  --leading-snug: 1.35;
  --leading-normal: 1.6;
  --leading-relaxed: 1.8;
  --shadow-xl: 0 4px 8px rgba(0, 0, 0, 0.04), 0 24px 64px rgba(0, 0, 0, 0.14);
  --z-base: 0;
  --z-raised: 10;
  --z-dropdown: 200;
  --z-sticky: 300;
  --z-overlay: 400;
  --z-modal: 500;
  --z-toast: 600;
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-inout: cubic-bezier(0.4, 0, 0.2, 1);
  --focus-ring: 0 0 0 3px rgba(242, 110, 101, 0.12);
  --sticky-offset: clamp(96px, 9vh, 124px);
  --status-live: #27c93f;
  --shadow-on-dark-lg: 0 30px 60px rgba(0, 0, 0, 0.4)
}


/* ==========================================================================
   CYPHEROX UK HEADER & NAVIGATION (Reference: cx-uk.netlify.app)
   ========================================================================== */

:root {
  --header-height: 80px;
  --header-height-scrolled: 64px;
  --primary: #f26e65;
  --primary-dark: #d94f47;
  --primary-light: #f5918a;
  --accent: #1a1a1a;
  --bg-white: #FAF9F6;
  --bg-light: #F5F3EF;
  --bg-dark: #1a1a1a;
  --bg-darker: #111111;
  --text-primary: #1a1a1a;
  --text-secondary: #555555;
  --text-muted: #888888;
  --text-white: #FAF9F6;
  --border: #E5E1DA;
  --border-light: #F0EDE7;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --container-max: 1280px;
  --container-padding: 24px;
}

#site-header {
  display: block;
  position: relative;
  z-index: 1000;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  /* background-color: rgba(26, 26, 26, 0.95); */
  background-color: #000;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
  opacity: 1;
  transition: opacity 0.25s ease,
    height 0.3s ease,
    box-shadow 0.3s ease;
  will-change: opacity, height;
}

.header.header--visible {
  opacity: 1;
}

.header.scrolled {
  height: var(--header-height-scrolled);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.header__logo {
  margin-right: auto;
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  width: 228px;
  height: 20px;
  text-decoration: none;
}

.header__logo img {
  width: 228px;
  height: 20px;
  max-height: 20px;
  object-fit: contain !important;
  display: block;
}

.header__nav {
  margin-right: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
}

.nav-item {
  position: relative;
  padding: 28px 4px !important;
  display: inline-flex;
  align-items: center;
}

.nav-item__link {
  display: flex;
  align-items: center;
  gap: 2px !important;
  font-size: 13px !important;
  font-weight: 500;
  color: #ffffff !important;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-item__link:hover {
  color: var(--primary) !important;
}

.nav-item__link svg.chevron,
.nav-item__link svg {
  width: 14px;
  height: 14px;
  margin-left: 2px;
  transition: transform 0.2s ease;
}

.nav-item:hover .nav-item__link svg.chevron,
.nav-item.active .nav-item__link svg.chevron {
  transform: rotate(180deg);
}

/* AI Agent Pill Nav Link */
.header__nav .nav-item:first-child .nav-item__link {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  padding: 4px 12px !important;
  background-color: rgba(255, 255, 255, 0.05);
  margin-right: 8px;
}

.header__nav .nav-item:first-child .nav-item__link:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.header__nav .nav-item:first-child {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: flex;
  align-items: center;
}

/* ==========================================================================
   MEGA MENU & FEATURED DROPDOWNS
   ========================================================================== */

.mega-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100vw;
  background-color: transparent !important;
  box-shadow: none !important;
  border-top: none !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s;
  z-index: 1001;
  padding: 0;
}

.header.scrolled .mega-menu {
  top: var(--header-height-scrolled);
}

.nav-item:hover .mega-menu,
.nav-item.active .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.featured-dropdown {
  padding: 0;
  background-color: transparent !important;
  box-shadow: none !important;
  border-top: none !important;
  pointer-events: none;
}

.featured-dropdown__inner {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  padding: 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-lg);
  overflow-x: hidden;
  overflow-y: auto;
  max-height: calc(100vh - var(--header-height) - 32px);
  margin: 16px auto 0;
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  max-width: var(--container-max);
  width: 100%;
}

.featured-dropdown__inner::-webkit-scrollbar {
  width: 6px;
}

.featured-dropdown__inner::-webkit-scrollbar-track {
  background: transparent;
}

.featured-dropdown__inner::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

.featured-dropdown__inner::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

.featured-dropdown--no-image .featured-dropdown__content {
  width: 100%;
}

.featured-dropdown__content--tabbed {
  padding: 28px 36px;
  width: 100%;
}

.featured-dropdown__content--tabbed .mega-tab {
  width: 100%;
  min-height: 290px;
}

.featured-dropdown__content--tabbed .mega-tab__sidebar {
  width: 270px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  padding: 4px 20px 4px 0;
}

.featured-dropdown__content--tabbed .mega-tab__content {
  flex: 1;
  padding: 4px 0 4px 36px;
  min-width: 0;
}

.featured-dropdown__content--tabbed .mega-tab__panel-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

.featured-dropdown__content--tabbed .mega-tab__panel-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.featured-dropdown__content--tabbed .mega-tab__panel-links>* {
  flex: 0 0 calc(33.333% - 14px);
  max-width: calc(33.333% - 14px);
}

.featured-dropdown__content--tabbed .mega-menu__link {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  border-radius: var(--radius-sm);
  width: 100%;
  max-width: 100%;
  text-decoration: none;
}

.featured-dropdown__content--tabbed .mega-menu__link:hover {
  color: var(--primary);
  background-color: rgba(242, 110, 101, 0.06);
}

/* Tabbed mega menu structure */
.mega-tab {
  display: flex;
  gap: 0;
  min-height: 340px;
}

.mega-tab__sidebar {
  width: 260px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 20px 4px 0;
  margin: 0;
  list-style: none;
}

.mega-tab__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
}

.mega-tab__item a {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  color: var(--text-color, #121212);
}

.mega-tab__item.active a {
  color: #fff;
}

.mega-tab__item:hover {
  background-color: rgba(242, 110, 101, 0.06);
}

.mega-tab__item.active {
  background-color: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
}

.mega-tab__item svg {
  opacity: 0.4;
  transition: opacity 0.2s;
}

.mega-tab__item.active svg {
  opacity: 1;
  stroke: var(--text-white);
}

.mega-tab__content {
  flex: 1;
  padding: 8px 0 8px 40px;
  min-width: 0;
}

.mega-tab__panel {
  display: none;
}

.mega-tab__panel.active {
  display: block;
}

.mega-tab__panel-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

.mega-tab__panel-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 32px;
}

.mega-tab__panel-links>* {
  flex: 1 1 200px;
  max-width: 100%;
}

/* Multi-column grid dropdown (e.g. Technology, Automation, Industries, Company) */
.featured-dropdown__top {
  display: flex;
  background-color: var(--bg-white);
}

.featured-dropdown__content {
  flex: 1;
  padding: 40px;
}

.featured-dropdown__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.featured-dropdown__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
}

.featured-dropdown__link {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.3s ease;
  display: block;
  text-decoration: none;
}

.featured-dropdown__link:hover {
  color: var(--primary);
}

.featured-dropdown__graphic {
  width: 380px;
  background: linear-gradient(135deg, rgba(242, 110, 101, 0.05) 0%, rgba(242, 110, 101, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.featured-dropdown__graphic-img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  max-height: 260px;
  object-fit: cover;
  border-radius: var(--radius-md, 8px);
  display: block;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.featured-dropdown__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 40px;
  background-color: #fdfaf7;
  border-top: 1px solid var(--border);
  gap: 24px;
}

.featured-dropdown__bottom-text h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.featured-dropdown__bottom-text p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

/* ==========================================================================
   BUTTONS & ACTIONS
   ========================================================================== */

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 8px;
}

.header__cta {
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  font-family: inherit;
}

.btn--pill-outline {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-white, #FAF9F6) !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 99px !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 18px !important;
  font-size: 13.5px !important;
  font-weight: 600;
}

.btn--pill-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff !important;
}

.btn--pill-primary {
  background-color: var(--primary, #f26e65);
  color: #ffffff !important;
  border: 1px solid var(--primary, #f26e65);
  border-radius: 99px !important;
  padding: 8px 18px !important;
  font-size: 13.5px !important;
  font-weight: 600;
}

.btn--pill-primary:hover {
  background-color: var(--primary-dark, #d94f47);
  border-color: var(--primary-dark, #d94f47);
  color: #ffffff !important;
}

.btn--dark {
  background-color: var(--bg-dark, #1a1a1a);
  color: var(--text-white, #FAF9F6) !important;
  border-radius: var(--radius-md);
  padding: 12px 24px;
  font-weight: 600;
}

.btn--dark:hover {
  background-color: var(--bg-darker, #111111);
  color: #ffffff !important;
}

.btn--outline {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--text-primary);
  border-radius: var(--radius-md);
  padding: 12px 24px;
  font-weight: 600;
}

.btn--outline:hover {
  background-color: var(--bg-light);
  color: var(--primary);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white) !important;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-white);
}

/* ==========================================================================
   MOBILE DRAWER
   ========================================================================== */

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  height: 100dvh;
  z-index: 2000;
  background-color: var(--bg-white);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
}

@media (max-width: 480px) {
  .mobile-drawer {
    max-width: 100%;
  }
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer__overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.mobile-drawer.open~.mobile-drawer__overlay,
.mobile-drawer__overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  display: block !important;
}

.mobile-drawer__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.mobile-drawer__header .header__logo img {
  filter: none !important;
}

.mobile-drawer__close {
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 4px;
}

.mobile-drawer__close svg {
  width: 24px;
  height: 24px;
}

.mobile-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.mobile-drawer__item {
  border-bottom: 1px solid var(--border);
}

.mobile-drawer__item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
  text-decoration: none;
}

.mobile-drawer__item-header .chevron {
  transition: transform 0.3s ease;
}

.mobile-drawer__item-header.expanded .chevron {
  transform: rotate(180deg);
}

.mobile-drawer__subnav {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-drawer__subnav.open {
  max-height: 2500px;
}

.mobile-drawer__subheading {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-top: 16px;
  margin-bottom: 8px;
}

.mobile-drawer__link {
  padding: 8px 0 8px 16px;
  display: block;
  color: var(--text-secondary);
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-drawer__link:hover {
  color: var(--primary);
}

.mobile-drawer__footer {
  padding: 24px;
  border-top: 1px solid var(--border);
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (min-width: 1620px) {
  .header__container.container-fluid {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
  }

  .header__logo img {
    height: auto !important;
    width: 230px !important;
    max-width: none !important;
  }
}

@media (min-width: 1400px) and (max-width: 1619px) {
  .nav-item__link {
    font-size: 14.5px !important;
    gap: 6px !important;
  }

  .header__actions {
    gap: 12px !important;
  }

  .header__actions .btn {
    padding: 9px 18px !important;
    font-size: 14px !important;
  }

  .header__logo img {
    height: 16px !important;
    width: auto !important;
  }
}

@media (min-width: 1280px) and (max-width: 1399px) {
  .header__container {
    padding: 0 20px !important;
  }

  .nav-item {
    padding: 24px 6px !important;
  }

  .nav-item__link {
    font-size: 13.5px !important;
    gap: 4px !important;
  }

  .header__actions {
    gap: 8px !important;
  }

  .header__actions .btn {
    padding: 8px 14px !important;
    font-size: 13px !important;
  }

  .header__logo img {
    height: 16px !important;
    width: auto !important;
  }
}

@media (min-width: 1200px) and (max-width: 1279px) {
  .header__container {
    padding: 0 14px !important;
  }

  .nav-item {
    padding: 24px 4px !important;
  }

  .nav-item__link {
    font-size: 12.5px !important;
    gap: 2px !important;
  }

  .nav-item__link svg {
    width: 12px !important;
    height: 12px !important;
  }

  .header__actions {
    gap: 6px !important;
  }

  .header__actions .btn {
    padding: 6px 12px !important;
    font-size: 12px !important;
  }

  .header__logo img {
    height: 16px !important;
    width: auto !important;
  }
}

@media (min-width: 1200px) {
  .header__actions {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
  }

  .header__nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-shrink: 0;
  }

  .nav-item {
    flex-shrink: 0;
  }

  .nav-item__link {
    white-space: nowrap !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
  }

  .header__cta,
  .btn {
    white-space: nowrap !important;
    flex-shrink: 0;
  }
}

@media (max-width: 1199px) {

  .header__nav,
  .header__cta,
  .header__actions {
    display: none !important;
  }

  .mobile-toggle {
    display: block !important;
  }

  .header__logo img {
    height: 16px !important;
    width: auto !important;
    max-height: 28px !important;
  }
}

@media (max-width: 768px) {
  .featured-dropdown__top {
    flex-direction: column;
  }

  .featured-dropdown__graphic {
    width: 100%;
    padding: 32px;
  }

  .featured-dropdown__bottom {
    flex-direction: column;
    text-align: center;
  }
}


/* ========================================================
   UNIVERSAL ITALIC LETTER CLIPPING & DESCENDER FIX
   Prevents descenders ('y', 'g', 'p', 'q', 'j') and italic
   overhangs ('s', 'f', 'h', 'd') from being cut off.
   ======================================================== */
.es-hl,
.rv-hl,
.hot,
.text-gradient,
em,
i,
[style*="font-style: italic"],
[style*="font-style:italic"],
.font-italic,
.fst-italic {
  font-style: italic !important;
  display: inline-block;
  vertical-align: baseline;
  padding-bottom: 0.28em !important;
  padding-right: 0.18em !important;
  padding-left: 0.05em !important;
  margin-bottom: -0.28em !important;
  margin-right: -0.18em !important;
  margin-left: -0.05em !important;
  line-height: inherit;
  overflow: visible !important;
}

/* Headings with italic highlights need breathing room so descenders are never clipped */
.es-hero__title,
.es-section-head h1,
.es-section-head h2,
.rv-section-head h1,
.rv-section-head h2,
.es-cta__title,
.es-hero__stage,
.es-hero__copy {
  line-height: 1.25 !important;
  overflow: visible !important;
}

/* Ensure no container clips text */
.es-hero__stage,
.es-hero__copy,
.es-hero__title,
h1,
h2 {
  overflow: visible !important;
}

header .header__actions a.es-btn.es-btn--primary {
  color: #f26e65 !important;
  transform: none !important;
}

header .header__actions a.es-btn.es-btn--primary:hover {
  color: var(--text-heading, #161410) !important;
}