/* =========================================================
   ZM Packaging — PackFancy-inspired homepage
   Header: logo LEFT, nav CENTER | Content: LEFT aligned | Hero slider
   ========================================================= */

:root {
  /* Brand accent — orange (per site brief; keep --green aliases for existing selectors) */
  --green: #fa3c00;
  --green-hover: #e03400;
  --green-dark: #c42e00;
  --green-deep: #a62800;
  --orange: #fa3c00;
  --orange-hover: #e03400;
  --ink: #222222;
  --ink-soft: #212326;
  --muted: #42474c;
  --gray: #6b7177;
  --line: #f1f1f1;
  --cream: #fff7f2;
  --soft: #f9f9f9;
  --footer: #202020;
  --white: #ffffff;
  --container: 1200px;
  --radius: 5px;
  --shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 20px 0 rgba(0, 0, 0, 0.2);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: var(--white);
  text-align: left;
  direction: ltr;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  color: var(--green-hover);
}

h1, h2, h3, h4, h5, h6 {
  font-family: Manrope, Arial, sans-serif;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.6em;
  text-align: left;
}

h1 {
  font-size: clamp(1.75rem, 2vw + 0.9rem, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.4rem, 1.5vw + 0.8rem, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.1rem;
  line-height: 1.3;
}

p {
  margin: 0 0 1em;
  text-align: left;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

.container {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 80px 0;
  text-align: left;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--ink);
  max-width: 920px;
  margin-bottom: 2rem;
  text-align: left;
}

.section-lead--wide {
  max-width: 800px;
  color: #424242;
  text-align: left;
}

.section-cta {
  margin-top: 2rem;
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  line-height: 1;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  font-size: 14px;
  text-transform: capitalize;
  padding: 1em 2rem;
  box-shadow: var(--shadow);
  margin-top: 1rem;
}

.btn-primary:hover {
  background: var(--green-hover);
  color: var(--white);
}

.btn-header {
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 500;
  padding: 14px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  white-space: nowrap;
}

.btn-header:hover {
  background: var(--green-hover);
  color: var(--white);
}

.btn-third {
  width: 100%;
  background: var(--green);
  color: var(--white);
  font-size: 14px;
  text-transform: capitalize;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.btn-third:hover {
  background: var(--green-hover);
  color: var(--white);
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  /* Do NOT use overflow:hidden here — it clips mega / dropdown menus */
}

/* Logged-in WP admin bar sits above sticky header */
.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

.top-bar {
  background: var(--footer);
  color: var(--white);
  transition: margin-top 0.25s ease;
}

.site-header.is-scrolling .top-bar {
  margin-top: -35px;
}

.top-bar__inner {
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-bar__tagline {
  font-size: 13px;
  font-weight: 500;
}

.top-bar__actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.top-bar__link {
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  padding: 2px 10px;
}

.top-bar__link:hover {
  color: #fa3c00;
}

/* Language switcher */
.lang-switcher {
  position: relative;
  z-index: 120;
}

.lang-switcher__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 4px;
  line-height: 1.2;
  background: transparent;
}

.lang-switcher__toggle:hover,
.lang-switcher__toggle[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.08);
}

.lang-switcher__toggle i {
  font-size: 10px;
  transition: transform 0.2s ease;
}

.lang-switcher__toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.lang-switcher__flag {
  font-size: 14px;
  line-height: 1;
}

.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  min-width: 288px;
  width: 288px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #202020;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.lang-switcher__menu[hidden] {
  display: none !important;
}

.lang-switcher__menu li {
  display: block;
  padding: 0;
  color: var(--white);
  font-size: 12px;
  cursor: pointer;
}

.lang-switcher__menu li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 4px;
  color: inherit;
  text-decoration: none;
  text-align: center;
  white-space: normal;
  line-height: 1.2;
}

.lang-switcher__menu li a img {
  width: 20px;
  height: auto;
}

.lang-switcher__menu li:hover,
.lang-switcher__menu li[aria-selected="true"] {
  color: #fa3c00;
  background: rgba(255, 255, 255, 0.04);
}

.main-header {
  position: relative;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

/* Logo LEFT → Nav → Actions RIGHT */
.main-header__inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  line-height: 0;
}

.primary-nav {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--ink);
  padding: 8px 0;
}

.nav-link:hover,
.nav-link[aria-expanded="true"] {
  color: var(--green);
}

.has-mega,
.has-dropdown {
  position: relative;
}

.mega-menu,
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--white);
  box-shadow: 0 10px 15px 0 rgba(36, 36, 36, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.2s ease;
  z-index: 50;
  text-align: left;
}

.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu,
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu,
.has-mega.is-open .mega-menu,
.has-dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu {
  width: min(1100px, 92vw);
  left: 0;
}

.mega-menu--resources {
  width: min(900px, 92vw);
}

.mega-menu--products {
  width: min(1040px, 94vw);
  max-height: 72vh;
  overflow: auto;
}

.mega-menu--products .mega-menu__cols {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 16px 18px 20px;
}

.mega-menu--products .dropdown-col strong a {
  color: inherit;
  text-decoration: none;
}

.mega-menu--products .dropdown-col a span {
  font-size: 13px;
}

.mega-menu__inner {
  display: grid;
  grid-template-columns: 0.9fr 2.1fr;
  gap: 20px;
  padding: 20px 15px;
}

.mega-menu__inner--resources {
  grid-template-columns: 0.85fr 2.15fr;
}

.mega-menu__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mega-menu__cols .dropdown-col a {
  display: block;
  margin-bottom: 14px;
}

.mega-menu__cols .dropdown-col a span {
  display: block;
  color: var(--green);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.mega-menu__cols .dropdown-col a em {
  display: block;
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.35;
}

.nav-item-mobile-only {
  display: none;
}

.mega-menu__intro img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 10px;
}

.mega-menu__intro strong {
  display: block;
  font-size: 24px;
  color: #00112c;
  margin-bottom: 8px;
}

.mega-menu__intro p {
  font-size: 16px;
  line-height: 24px;
  margin: 0;
}

.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 20px;
}

.mega-menu__grid a {
  display: grid;
  grid-template-columns: 70px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 8px 6px;
  border-radius: var(--radius);
  color: inherit;
}

.mega-menu__grid a:hover {
  background: rgba(237, 237, 237, 0.67);
}

.mega-menu__grid img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(237, 237, 237, 0.58);
  grid-row: span 2;
}

.mega-menu__grid span {
  font-size: 15px;
  font-weight: 600;
  color: var(--green);
  line-height: 1.2;
}

.mega-menu__grid a:hover span {
  text-decoration: underline;
}

.mega-menu__grid em {
  font-style: normal;
  font-size: 13px;
  line-height: 1.3;
  color: var(--muted);
}

.dropdown-menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 24px 20px;
  min-width: 520px;
}

.dropdown-col strong {
  display: block;
  font-family: Manrope, Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #00112c;
}

.dropdown-col a {
  display: block;
  color: var(--green);
  font-size: 15px;
  margin-bottom: 14px;
  text-decoration: none;
}

.dropdown-col a:hover {
  text-decoration: none;
}

.dropdown-col a:hover span {
  text-decoration: underline;
}

.mega-menu__cols .dropdown-col a span {
  color: var(--green);
  font-weight: 700;
}

.mega-menu__cols .dropdown-col a em {
  color: #555;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  flex-shrink: 0;
}

.search-toggle {
  color: #212326;
  font-size: 20px;
  padding: 6px;
  line-height: 1;
}

.search-toggle[aria-expanded="true"] {
  color: var(--green);
}

.header-search {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 1100;
  background: #8a2800;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  transform-origin: top;
  animation: headerSearchIn 0.2s ease;
}

.header-search[hidden] {
  display: none !important;
}

@keyframes headerSearchIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header-search__form {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 16px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-search__input {
  flex: 1;
  min-width: 0;
  height: 48px;
  border: 0;
  border-bottom: 1px solid #ffc4ad;
  background: transparent;
  color: #ffc4ad;
  font-size: 16px;
  font-weight: 300;
  outline: none;
  padding: 0 4px;
}

.header-search__input::placeholder {
  color: rgba(165, 227, 185, 0.7);
}

.header-search__submit,
.header-search__close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffc4ad;
  font-size: 20px;
  border-radius: 8px;
  flex-shrink: 0;
}

.header-search__submit:hover,
.header-search__close:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.header-mail {
  display: none;
  color: var(--green);
  font-size: 26px;
  line-height: 1;
  padding: 0;
}

.header-mail:hover {
  color: var(--green-hover);
}

.nav-menu__close-wrap {
  display: none;
}

.nav-close {
  font-size: 36px;
  line-height: 1;
  color: var(--ink);
  padding: 0;
  margin-left: auto;
}

.logo img,
.logo .custom-logo {
  height: 22px;
  width: auto;
  max-width: 200px;
}

.logo .custom-logo-link {
  display: block;
  line-height: 0;
}

/* ========== Hero Slider ========== */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: #f4ebe0;
}

.hero-slider__track {
  position: relative;
  min-height: 420px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  pointer-events: none;
  background: #f4ebe0;
}

.hero-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Right half: full-bleed photo panel */
.hero-slide__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 52%;
  z-index: 0;
  overflow: hidden;
  background: #e8e8e8;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.02);
}

.hero-slide__inner {
  position: relative;
  z-index: 1;
  min-height: 420px;
  display: flex;
  align-items: center;
  padding: 40px 15px 72px;
}

.hero-slide__content {
  width: min(100%, 480px);
  text-align: left;
  padding: 28px 28px 28px 8px;
}

.hero-slide__title {
  margin: 0 0 0.55em;
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(2.2rem, 2.8vw + 1.1rem, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-align: left;
}

.hero-slide__text {
  font-size: 1.15rem;
  line-height: 1.55;
  max-width: 36ch;
  margin-bottom: 1.25rem;
  color: #3a3a3a;
  text-align: left;
}

.hero-slide__content .btn-primary {
  margin-top: 0;
}

.hero-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.hero-slider__nav:hover {
  background: var(--green);
  color: var(--white);
}

.hero-slider__nav--prev { left: 18px; }
.hero-slider__nav--next { right: 18px; }

.hero-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 56px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: auto;
  padding: 0;
}

.hero-slider__dot {
  width: 28px;
  height: 4px;
  border-radius: 999px;
  border: 0;
  background: rgba(34, 34, 34, 0.18);
  padding: 0;
  transition: background 0.2s ease, width 0.2s ease;
}

.hero-slider__dot.is-active {
  width: 40px;
  background: var(--green);
}

/* ========== Trust bar ========== */
.trust-bar {
  position: relative;
  z-index: 3;
  margin-top: -28px;
  margin-bottom: 8px;
  background: transparent;
  padding-bottom: 8px;
}

.trust-bar__panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(20, 20, 20, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 22px 22px;
  border-right: 1px solid #f0f0f0;
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item i {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eefaf2;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.trust-item__text {
  min-width: 0;
}

.trust-item strong {
  display: block;
  font-family: Manrope, Arial, sans-serif;
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 2px;
}

.trust-item span {
  font-size: 13px;
  color: var(--gray);
}

/* ========== Features ========== */
.features-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 36px;
}

.features-intro__text .section-lead {
  margin-bottom: 1.25rem;
}

.features-intro__media {
  border-radius: 12px;
  overflow: hidden;
  background: var(--cream);
}

.features-intro__media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--soft);
  border-radius: 10px;
  padding: 30px 20px;
  text-align: left;
}

.feature-card i {
  font-size: 40px;
  color: var(--green);
  margin-bottom: 20px;
  display: block;
}

.feature-card strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  font-family: Manrope, Arial, sans-serif;
}

.feature-card p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

/* ========== Products ========== */
.products {
  background: var(--cream);
}

.section-head {
  margin-bottom: 8px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 16px 16px 22px;
  text-align: left;
  transition: 0.2s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.product-card__media {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f7f7f7;
  margin-bottom: 14px;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card h3 {
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--ink-soft);
  text-align: center;
  margin: 0 0 8px;
}

.product-card p {
  font-size: 15px;
  color: var(--ink-soft);
  text-align: center;
  margin-bottom: 1rem;
  flex: 1;
}

.btn-third {
  width: 100%;
  background: var(--green);
  color: var(--white);
  font-size: 14px;
  text-transform: capitalize;
  font-weight: 500;
  padding: 1rem;
  box-shadow: var(--shadow);
  margin-top: auto;
}

.btn-third:hover {
  background: var(--green-hover);
  color: var(--white);
}

.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
}

.product-card__link:hover {
  color: var(--green-hover);
}

/* ========== Cases ========== */
.case-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  justify-content: flex-start;
}

.case-tab {
  padding: 10px 20px;
  border-radius: var(--radius);
  background: #f1f1f1;
  font-size: 14px;
  color: var(--ink);
}

.case-tab.is-active,
.case-tab:hover {
  background: var(--green-hover);
  color: var(--white);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.case-card {
  color: inherit;
  text-align: left;
}

.case-card__media {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: var(--radius);
  overflow: hidden;
  height: 240px;
}

.case-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.case-card:hover .case-card__media img {
  transform: scale(1.04);
}

.case-card__title {
  display: block;
  margin-top: 12px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  color: var(--ink-soft);
}

/* ========== Reviews ========== */
.reviews {
  background: #f3f4f5;
  padding: 70px 0 80px;
}

.reviews-heading {
  text-align: left;
  margin-bottom: 1.25rem;
}

.reviews-slider {
  position: relative;
  width: 100%;
  margin: 0;
  text-align: left;
}

.reviews-track {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}

.review-card {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-radius: 8px;
  padding: 30px;
  min-height: 280px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  text-align: left;
}

.review-card.is-active {
  display: flex;
}

.review-card p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  flex: 1;
}

.review-card__stars {
  color: var(--green-dark);
  margin-bottom: 10px;
}

.review-card__stars i {
  font-size: 14px;
  margin-right: 2px;
}

.review-card strong {
  font-size: 18px;
  font-weight: 600;
}

.reviews-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 22px auto 0;
  background: var(--white);
  width: fit-content;
  padding: 10px 15px;
  border-radius: 15px;
}

.reviews-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--green-dark);
  background: var(--white);
  padding: 0;
  cursor: pointer;
}

.reviews-dot.is-active {
  background: var(--green-dark);
}

/* ========== Steps ========== */
.steps {
  background: #fafafa;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 2rem;
}

.step-card {
  background: var(--white);
  border-radius: 5px 5px 5px 8px;
  box-shadow: 0 3px 9px 0 rgba(0, 0, 0, 0.1);
  padding: 24px 22px;
  text-align: center;
}

.step-card__icon {
  display: block;
  font-size: 42px;
  color: var(--green-hover);
  margin: 0 auto 16px;
}

.step-card h3 {
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink-soft);
  text-align: center;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--muted);
  font-size: 15px;
  text-align: center;
  margin: 0;
}

/* ========== CTA band ========== */
.cta-band {
  background: var(--cream);
  padding: 80px 0;
}

.cta-band__inner {
  text-align: center;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-band__inner h2 {
  text-align: center;
}

.cta-band__inner p {
  color: var(--gray);
  font-size: 18px;
  text-align: center;
}

.cta-band__inner .btn {
  margin-left: auto;
  margin-right: auto;
}

/* ========== Inner pages ========== */
.page-section {
  padding-top: 48px;
}

.page-content {
  max-width: 860px;
}

.entry-title {
  margin-bottom: 0.75em;
}

.entry-body {
  font-size: 17px;
  line-height: 1.7;
}

.entry-cta {
  margin-top: 2rem;
}

.blog-list {
  display: grid;
  gap: 20px;
}

.blog-card {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 24px;
  text-align: left;
}

.blog-card h2 {
  font-size: 1.4rem;
  margin-bottom: 0.4em;
}

.blog-card h2 a {
  color: var(--ink);
}

.blog-card h2 a:hover {
  color: var(--green);
}

/* ========== Footer ========== */
.site-footer {
  background: var(--footer);
  color: var(--white);
  padding: 60px 0 20px;
  text-align: left;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  margin-bottom: 10px;
}

.footer-col {
  width: 20%;
  padding: 15px 15px 15px 0;
}

.footer-col:first-child {
  width: 25%;
}

.footer-col--mission {
  width: 35%;
  padding-left: 15px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  margin-bottom: 20px;
  font-family: "DM Sans", Arial, sans-serif;
}

.footer-col a,
.footer-col p,
.footer-contact {
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: #b6babf;
}

.footer-col--mission p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.footer-hours {
  margin-bottom: 8px !important;
}

.footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.footer-social {
  display: flex;
  gap: 1.25rem;
  margin-top: 16px;
}

.footer-social a {
  color: var(--white);
  font-size: 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(210, 213, 217, 0.1);
  padding: 15px 0;
  margin-top: 10px;
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: var(--white);
}

/* ========== Responsive ========== */
@media (max-width: 991px) {
  .main-header__inner {
    justify-content: space-between;
    gap: 12px;
  }

  .primary-nav {
    flex: 0 0 auto;
    order: 3;
  }

  .header-actions {
    order: 2;
    margin-left: auto;
  }

  .logo {
    order: 1;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 2000;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 80px 20px 40px;
    overflow-y: auto;
    gap: 0;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-item-mobile-only {
    display: list-item;
  }

  .mega-menu__inner,
  .mega-menu__inner--resources,
  .mega-menu__cols {
    grid-template-columns: 1fr;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    font-size: 18px;
    border-bottom: 1px solid #ebebeb;
    padding: 12px 0;
  }

  .mega-menu,
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    width: 100%;
    min-width: 0;
  }

  .has-mega.is-open .mega-menu,
  .has-dropdown.is-open .dropdown-menu {
    display: block;
  }

  .mega-menu__inner {
    grid-template-columns: 1fr;
  }

  .mega-menu__grid,
  .dropdown-menu {
    grid-template-columns: 1fr;
  }

  .btn-header {
    display: none;
  }

  .header-mail {
    display: inline-flex;
  }

  .nav-menu__close-wrap {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
  }

  .section-lead--wide {
    text-align: left;
  }

  .cta-band__inner,
  .cta-band__inner h2,
  .cta-band__inner p {
    text-align: center;
  }

  .hero-slider__track {
    min-height: 0;
  }

  .hero-slide__media {
    position: relative;
    width: 100%;
    height: 220px;
    clip-path: none;
    order: 2;
  }

  .hero-slide.is-active {
    display: flex;
    flex-direction: column;
  }

  .hero-slide__inner {
    order: 1;
    padding: 28px 15px 20px;
    min-height: 0;
  }

  .hero-slide__content {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .hero-slide__title {
    font-size: clamp(1.75rem, 5vw + 0.8rem, 2.2rem);
  }

  .hero-slider__nav {
    display: none;
  }

  .hero-slider__dots {
    left: 50%;
    transform: translateX(-50%);
    bottom: 40px;
    width: auto;
    padding: 0;
  }

  .trust-bar {
    margin-top: -16px;
  }

  .trust-bar__panel {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(1),
  .trust-item:nth-child(2) {
    border-bottom: 1px solid #f0f0f0;
  }

  .features-intro {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .cases-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .reviews-track {
    gap: 16px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .footer-col,
  .footer-col:first-child,
  .footer-col--mission {
    width: 33.333%;
  }
}

@media (max-width: 767px) {
  .top-bar__tagline {
    display: none;
  }

  .main-header__inner {
    min-height: auto;
    padding: 10px 0;
  }

  .section {
    padding: 40px 0;
  }

  .products-grid {
    gap: 15px;
  }

  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-track {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .lang-switcher__menu {
    min-width: min(288px, calc(100vw - 24px));
    width: min(288px, calc(100vw - 24px));
  }

  .lang-switcher__menu li {
    font-size: 11px;
  }

}

@media (max-width: 478px) {
  .trust-bar__panel,
  .features-grid,
  .products-grid,
  .cases-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: 0 !important;
    border-bottom: 1px solid #f0f0f0;
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .hero-slide__media {
    height: 180px;
  }

  .hero-slide__inner {
    padding: 22px 15px 16px;
  }

  .hero-slide__text {
    font-size: 1rem;
    margin-bottom: 0.9rem;
  }

  .hero-slide__content .btn-primary {
    width: 100%;
  }

  .hero-slider__dots {
    bottom: 36px;
  }

  .feature-card {
    background: transparent;
    padding: 0;
  }

  .product-card {
    box-shadow: var(--shadow);
  }

  .case-card__media {
    height: 220px;
  }

  .step-card {
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    align-items: flex-start;
  }

  .step-card__icon {
    margin: 0;
  }

  .step-card h3,
  .step-card p {
    text-align: left;
    width: calc(100% - 58px);
  }

  .step-card h3 {
    margin-top: 4px;
  }

  .footer-col,
  .footer-col:first-child,
  .footer-col--mission {
    width: 50%;
  }

  .footer-col--mission {
    width: 100%;
    padding-left: 0;
  }
}
