:root {
  --primary: #004a82;
  --primary-2: #006eb8;
  --sky: #0b91d2;
  --ink: #061b2e;
  --muted: #687789;
  --line: #e6edf4;
  --soft: #f4f7fb;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(6, 27, 46, 0.12);
  --shadow-soft: 0 14px 40px rgba(6, 27, 46, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1320px;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  direction: rtl;
  text-align: right;
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--ink);
  background: var(--white);
  line-height: 1.85;
  overflow-x: hidden;
}

body.nav-open,
body.search-open {
  overflow: hidden;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.section-pad {
  padding: 112px 0;
}

.screen-reader-text,
.skip-link {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link:focus {
  clip: auto;
  clip-path: none;
  height: auto;
  width: auto;
  z-index: 99999;
  right: 16px;
  top: 16px;
  padding: 10px 16px;
  background: var(--white);
  color: var(--primary);
  border-radius: 12px;
}

.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: background 0.25s ease, box-shadow 0.25s ease, height 0.25s ease;
  color: var(--white);
}

.site-header.is-solid,
body:not(.home) .site-header {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 10px 32px rgba(6, 27, 46, 0.08);
  backdrop-filter: blur(14px);
}

.admin-bar .site-header {
  top: 32px;
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.site-branding {
  min-width: 210px;
  position: relative;
  z-index: 1002;
  display: flex;
  align-items: center;
}

.brand-wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  color: var(--white);
  text-shadow: 0 8px 24px rgba(2, 15, 31, 0.18);
}

.brand-wordmark-text {
  display: inline-block;
  font-size: clamp(2.18rem, 3.1vw, 3.55rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.site-header.is-solid .brand-wordmark,
body:not(.home) .site-header .brand-wordmark {
  color: #0056a7;
  text-shadow: none;
}

.main-navigation {
  justify-self: center;
}

.primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 36px);
}

.primary-menu > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.primary-menu > li > a:hover,
.primary-menu > li:hover > a,
.primary-menu > li:focus-within > a {
  color: var(--sky);
}

.has-mega {
  position: static;
}

.mega-toggle {
  display: none;
}

.mega-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  min-height: 210px;
  padding: 32px 0;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 30px 70px rgba(6, 27, 46, 0.14);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

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

.mega-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.mega-card {
  min-height: 146px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 8px;
  border-radius: 22px;
  border: 1px solid transparent;
  background: rgba(244, 247, 251, 0.72);
  padding: 18px 12px;
  transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.mega-card:hover {
  transform: translateY(-4px);
  background: #fff;
  border-color: var(--line);
}

.mega-icon svg,
.strip-card svg,
.tab-button svg,
.stat-icon svg,
.footer-contact-line svg,
.floating-contact svg,
.btn svg,
.icon-button svg,
.nav-toggle svg,
.search-close svg,
.feature-list svg {
  width: 1.35em;
  height: 1.35em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mega-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: var(--primary);
}

.mega-icon svg {
  width: 44px;
  height: 44px;
}

.mega-title {
  font-weight: 800;
}

.mega-text {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  position: relative;
  z-index: 1002;
}

.icon-button,
.nav-toggle,
.search-close {
  appearance: none;
  border: 0;
  cursor: pointer;
  color: currentColor;
  background: transparent;
}

.icon-button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-header.is-solid .search-open,
body:not(.home) .site-header .search-open {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 10px 28px rgba(6, 27, 46, 0.1);
}

.icon-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
}

.site-header.is-solid .icon-button:hover,
body:not(.home) .site-header .icon-button:hover {
  background: var(--soft);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  color: currentColor;
  position: relative;
  z-index: 1002;
}

.nav-toggle .close-icon {
  display: none;
}

body.nav-open .nav-toggle .open-icon {
  display: none;
}

body.nav-open .nav-toggle .close-icon {
  display: block;
}

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-media,
.hero-media video,
.hero-media img,
.hero-overlay,
.hero-animated-layer {
  position: absolute;
  inset: 0;
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  z-index: 1;
  background:
    radial-gradient(circle at 22% 48%, rgba(11, 145, 210, 0.45), transparent 32%),
    linear-gradient(90deg, rgba(2, 15, 31, 0.88) 0%, rgba(2, 15, 31, 0.52) 42%, rgba(2, 15, 31, 0.2) 100%),
    linear-gradient(180deg, rgba(2, 15, 31, 0.55) 0%, rgba(2, 15, 31, 0.25) 45%, rgba(2, 15, 31, 0.75) 100%);
}

.hero-animated-layer {
  z-index: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 55px, rgba(91, 213, 255, 0.08) 55px 56px),
    radial-gradient(circle at 72% 30%, rgba(91, 213, 255, 0.22), transparent 24%);
  mix-blend-mode: screen;
  animation: heroPan 12s linear infinite alternate;
}

@keyframes heroPan {
  from { transform: translateX(-18px) scale(1.02); }
  to { transform: translateX(18px) scale(1.06); }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 48px));
  margin-inline-start: auto;
  margin-inline-end: max(24px, calc((100vw - var(--container)) / 2));
  padding-top: var(--header-height);
}

.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sky);
  font-weight: 800;
  letter-spacing: 0;
}

.eyebrow {
  color: #a8e6ff;
  margin: 0 0 18px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.3rem, 6vw, 5.6rem);
  line-height: 1.13;
  letter-spacing: 0;
  font-weight: 800;
  max-width: 900px;
}

.hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(0, 74, 130, 0.24);
}

.btn-primary:hover {
  background: var(--primary-2);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.btn-dark {
  background: #02345c;
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 14px 35px rgba(6, 27, 46, 0.12);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.hero-badges span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 7px 13px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  font-size: 0.87rem;
}

.scroll-cue {
  position: absolute;
  right: max(24px, calc((100vw - var(--container)) / 2));
  bottom: 48px;
  z-index: 2;
  width: 54px;
  height: 34px;
  display: grid;
  place-items: center;
}

.scroll-cue span {
  display: block;
  width: 44px;
  height: 3px;
  background: var(--white);
  border-radius: 999px;
  animation: cue 1.2s infinite alternate;
}

@keyframes cue {
  from { opacity: 0.4; transform: translateX(0); }
  to { opacity: 1; transform: translateX(-10px); }
}

.split-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  min-height: 520px;
}

.showcase-tile {
  position: relative;
  display: grid;
  align-items: end;
  padding: clamp(42px, 7vw, 92px);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  background-image: var(--tile-image);
  background-size: cover;
  background-position: center;
}

.showcase-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 74, 130, 0.05), rgba(0, 74, 130, 0.78));
}

.tile-blue::before {
  background: linear-gradient(180deg, rgba(11, 145, 210, 0.14), rgba(0, 74, 130, 0.68));
}

.showcase-tile h2 {
  margin: 10px 0 10px;
  font-size: clamp(2.2rem, 4.6vw, 5rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.showcase-tile p {
  max-width: 560px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 24px;
}

.showcase-tile .section-tag {
  color: #bcecff;
}

.product-strip {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 60px rgba(6, 27, 46, 0.08);
  position: relative;
  z-index: 4;
}

.product-strip-inner {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  padding: 30px 0;
}

.strip-card {
  min-height: 118px;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 10px;
  border-radius: 22px;
  color: var(--ink);
  background: transparent;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
  font-weight: 800;
}

.strip-card svg {
  width: 42px;
  height: 42px;
  color: #7a8795;
}

.strip-card:hover {
  transform: translateY(-4px);
  background: var(--soft);
  color: var(--primary);
}

.strip-card:hover svg {
  color: var(--primary);
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 42px;
}

.section-heading.center {
  text-align: center;
  justify-items: center;
}

.section-heading h2,
.media-feature h2,
.support-card h2,
.footer-newsletter h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.5vw, 4.5rem);
  line-height: 1.15;
  letter-spacing: 0;
  font-weight: 800;
}

.section-heading p,
.media-feature p,
.support-card p {
  margin: 0;
  color: var(--muted);
  max-width: 720px;
}

.solutions-section {
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.tabs {
  display: grid;
  gap: 42px;
}

.tab-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.tab-button {
  appearance: none;
  border: 0;
  min-height: 58px;
  border-radius: 999px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  background: #eef1f5;
  color: #53606d;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.tab-button:hover,
.tab-button.is-active {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.tab-panel {
  display: none;
  grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 86px);
}

.tab-panel.is-active {
  display: grid;
}

.tab-copy h3 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.14;
  letter-spacing: 0;
  font-weight: 800;
}

.tab-copy p {
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 620px;
  font-size: 1.05rem;
}

.feature-list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #334155;
  font-weight: 800;
}

.feature-list svg {
  color: var(--sky);
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.tab-image {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 410px;
  background: var(--soft);
}

.tab-image img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
}

.about-stats {
  position: relative;
  padding: 116px 0;
  color: var(--white);
  background-image: linear-gradient(180deg, rgba(6, 27, 46, 0.28), rgba(6, 27, 46, 0.72)), var(--stats-image);
  background-size: cover;
  background-position: center;
  isolation: isolate;
  margin: 0 auto;
  width: min(100% - 48px, 1500px);
  border-radius: 36px;
  overflow: hidden;
}

.about-stats::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 25%, rgba(11, 145, 210, 0.36), transparent 28%);
  z-index: -1;
}

.stats-content {
  display: grid;
  justify-items: center;
  text-align: center;
}

.stats-content h2 {
  margin: 0 0 10px;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1.16;
  letter-spacing: 0;
  font-weight: 800;
}

.stats-content > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  max-width: 750px;
}

.stats-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 48px 0 34px;
}

.stat-card {
  min-height: 172px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.stat-icon {
  color: var(--white);
  opacity: 0.92;
}

.stat-icon svg {
  width: 48px;
  height: 48px;
}

.stat-card strong {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  font-weight: 800;
}

.stat-card span:last-child {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

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

.case-card {
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  border: 1px solid var(--line);
}

.case-card img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
}

.case-card div {
  padding: 24px;
}

.case-card h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 800;
}

.case-card p {
  margin: 0;
  color: var(--muted);
}

.media-center {
  background: #fff;
}

.media-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1fr);
  gap: 78px;
  align-items: center;
}

.media-feature img {
  width: 100%;
  border-radius: 28px;
  margin-top: 28px;
  box-shadow: var(--shadow-soft);
}

.news-list {
  display: grid;
  gap: 0;
}

.news-item {
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
  display: grid;
  gap: 8px;
}

.news-item:first-child {
  border-top: 1px solid var(--line);
}

.news-item h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.35;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.news-item a:hover h3 {
  color: var(--primary);
}

.news-item time {
  color: var(--muted);
  font-weight: 700;
}

.news-list .btn {
  justify-self: start;
  margin-top: 24px;
}

.support-cta {
  padding: 0 0 112px;
}

.support-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 36px;
  background:
    radial-gradient(circle at 15% 30%, rgba(11, 145, 210, 0.16), transparent 24%),
    linear-gradient(135deg, #f4f8fc, #ffffff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.support-card h2 {
  max-width: 850px;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
}

.support-links {
  display: grid;
  gap: 12px;
  min-width: 260px;
}

.support-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 16px;
  background: #fff;
  color: var(--primary);
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(6, 27, 46, 0.06);
}

.support-links a::after {
  content: "←";
}

.site-footer {
  background: #f2f5f8;
  color: #253343;
}

.footer-top {
  background: var(--primary);
  color: var(--white);
}

.footer-newsletter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 42px 0;
}

.footer-newsletter h2 {
  font-size: clamp(1.7rem, 2.6vw, 3rem);
}

.footer-newsletter p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.8);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.4fr);
  gap: 70px;
  padding: 70px 0;
  border-bottom: 1px solid #dce4ec;
}

.footer-brand p {
  color: var(--muted);
  margin: 20px 0;
}

.footer-logo .brand-mark {
  width: 42px;
  height: 42px;
}

.footer-contact-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0;
  color: #334155;
}

.footer-contact-line span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
}

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

.footer-column {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-column h3,
.footer-title {
  margin: 0 0 12px;
  font-size: 1.1rem;
  font-weight: 800;
}

.footer-column a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--primary);
}

.footer-bottom {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-bottom p {
  margin: 0;
}

.floating-contact {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 980;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #11a94f;
  color: white;
  box-shadow: 0 16px 36px rgba(17, 169, 79, 0.28);
  border: 4px solid #fff;
  transition: transform 0.2s ease;
}

.floating-contact:hover {
  transform: translateY(-4px) scale(1.03);
}

.floating-contact svg {
  width: 26px;
  height: 26px;
}

.search-panel[hidden] {
  display: none;
}

.search-panel {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 15, 31, 0.68);
  backdrop-filter: blur(8px);
}

.search-box {
  position: relative;
  width: min(640px, 100%);
  background: #fff;
  border-radius: 28px;
  padding: 38px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
}

.search-close {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
}

.search-box h2 {
  margin: 0 0 22px;
  font-size: 1.8rem;
}

.search-form {
  display: flex;
  gap: 10px;
}

.search-form label {
  flex: 1;
}

.search-field {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 20px;
  outline: none;
  background: var(--soft);
}

.search-field:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 74, 130, 0.08);
}

.search-submit {
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  background: var(--primary);
  color: white;
  cursor: pointer;
  font-weight: 800;
}

.page-hero {
  min-height: 420px;
  display: grid;
  align-items: end;
  padding: 160px 0 70px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 27, 46, 0.92), rgba(0, 74, 130, 0.82)),
    var(--hero-bg-image, url('../img/hero-poster.svg')) center / cover no-repeat;
}

.compact-hero h1 {
  margin: 10px 0 0;
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.compact-hero p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 720px;
}

.archive-section {
  background: #fff;
}

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

.post-card {
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.post-thumb img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
}

.post-card-body {
  padding: 24px;
}

.post-card time {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.post-card h2 {
  margin: 8px 0 10px;
  font-size: 1.3rem;
  line-height: 1.45;
}

.post-card p {
  color: var(--muted);
  margin: 0 0 18px;
}

.text-link {
  color: var(--primary);
  font-weight: 800;
}

.pagination-wrap {
  grid-column: 1 / -1;
  margin-top: 24px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.page-numbers {
  min-width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: var(--soft);
}

.page-numbers.current {
  background: var(--primary);
  color: white;
}

.single-content {
  background: #fff;
}

.narrow-content {
  max-width: 880px;
}

.single-cover {
  margin: 0 0 34px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.single-cover img {
  width: 100%;
  height: auto;
}

.entry-content {
  font-size: 1.08rem;
}

.entry-content a {
  color: var(--primary);
  font-weight: 800;
}

.entry-content img {
  border-radius: 18px;
}

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 52px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.empty-state h2 {
  font-size: 2rem;
}

@media (max-width: 1180px) {
  .mega-grid,
  .product-strip-inner {
    grid-template-columns: repeat(3, 1fr);
  }

  .primary-menu {
    gap: 18px;
  }

  .primary-menu > li > a {
    font-size: 0.95rem;
  }

  .tab-panel,
  .media-grid,
  .support-card,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .support-links {
    min-width: 0;
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 76px;
  }

  .container {
    width: min(100% - 32px, var(--container));
  }

  .admin-bar .site-header {
    top: 46px;
  }

  .site-header {
    height: var(--header-height);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 32px rgba(6, 27, 46, 0.08);
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }

  .site-branding {
    min-width: 0;
  }

  .brand-wordmark-text {
    font-size: clamp(1.82rem, 8.4vw, 2.62rem);
  }

  .nav-toggle {
    display: grid;
    justify-self: end;
    order: 3;
    background: var(--soft);
    color: var(--ink);
  }

  .header-actions {
    justify-self: end;
    gap: 4px;
  }

  .icon-button {
    width: 42px;
    height: 42px;
  }

  .main-navigation {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    bottom: 0;
    background: #fff;
    z-index: 1001;
    overflow-y: auto;
    padding: 18px 16px 42px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  body.nav-open .main-navigation {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .primary-menu {
    display: grid;
    gap: 4px;
    justify-content: stretch;
  }

  .primary-menu > li {
    position: relative;
    border-bottom: 1px solid var(--line);
  }

  .primary-menu > li > a {
    min-height: 58px;
    color: var(--ink);
    display: flex;
    justify-content: space-between;
    font-size: 1.05rem;
  }

  .mega-toggle {
    display: grid;
    place-items: center;
    position: absolute;
    top: 9px;
    left: 0;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: var(--soft);
    color: var(--primary);
    font-weight: 800;
  }

  .mega-menu {
    position: static;
    padding: 0 0 16px;
    min-height: auto;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    transform: none;
    visibility: visible;
    pointer-events: auto;
    display: none;
  }

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

  .mega-grid {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .mega-card {
    min-height: 120px;
    background: var(--soft);
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    width: min(100% - 32px, 760px);
    margin-inline: auto;
    padding-top: calc(var(--header-height) + 40px);
  }

  .hero h1 {
    font-size: clamp(2.2rem, 11vw, 4.8rem);
  }

  .split-showcase {
    grid-template-columns: 1fr;
  }

  .showcase-tile {
    min-height: 420px;
  }

  .product-strip-inner {
    grid-template-columns: repeat(2, 1fr);
    padding: 18px 0;
  }

  .strip-card {
    min-height: 96px;
  }

  .section-pad {
    padding: 78px 0;
  }

  .tab-list {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .tab-list::-webkit-scrollbar {
    display: none;
  }

  .tab-button {
    flex: 0 0 auto;
    padding: 0 20px;
  }

  .tab-panel {
    gap: 28px;
  }

  .tab-image,
  .tab-image img {
    min-height: 280px;
  }

  .about-stats {
    width: min(100% - 24px, 1500px);
    padding: 78px 0;
    border-radius: 28px;
  }

  .stats-grid,
  .case-grid,
  .post-grid,
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-newsletter,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .brand-text strong {
    font-size: 1rem;
  }

  .header-actions .icon-button:first-child {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(2, 15, 31, 0.52) 0%, rgba(2, 15, 31, 0.62) 35%, rgba(2, 15, 31, 0.88) 100%),
      radial-gradient(circle at 50% 18%, rgba(11, 145, 210, 0.32), transparent 32%);
  }

  .hero-actions,
  .search-form {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .search-submit {
    width: 100%;
  }

  .hero-badges span {
    font-size: 0.78rem;
  }

  .scroll-cue {
    right: 16px;
    bottom: 24px;
  }

  .showcase-tile {
    min-height: 390px;
    padding: 34px 22px;
  }

  .product-strip-inner,
  .mega-grid,
  .stats-grid,
  .case-grid,
  .post-grid,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .strip-card {
    grid-template-columns: auto 1fr;
    place-items: center start;
    text-align: right;
    padding: 0 18px;
  }

  .tab-copy h3,
  .section-heading h2,
  .media-feature h2,
  .stats-content h2 {
    letter-spacing: 0;
  }

  .stats-grid {
    margin: 34px 0 26px;
  }

  .stat-card {
    min-height: 138px;
  }

  .media-grid {
    gap: 36px;
  }

  .news-item h3 {
    white-space: normal;
  }

  .support-card {
    border-radius: 26px;
  }

  .footer-main {
    gap: 34px;
    padding: 48px 0;
  }

  .search-box {
    padding: 30px 18px;
    border-radius: 22px;
  }

  .floating-contact {
    left: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }

  .page-hero {
    min-height: 360px;
    padding: 132px 0 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}


/* Payaniro clean dynamic WordPress menu */
.primary-menu .menu-item {
  position: relative;
}

.primary-menu .sub-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 1005;
  min-width: 245px;
  list-style: none;
  margin: 0;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  box-shadow: 0 22px 56px rgba(6, 27, 46, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.primary-menu .menu-item:hover > .sub-menu,
.primary-menu .menu-item:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.primary-menu .sub-menu .sub-menu {
  top: 0;
  right: calc(100% + 10px);
}

.primary-menu .sub-menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.94rem;
  color: var(--ink);
  white-space: nowrap;
}

.primary-menu .sub-menu a:hover,
.primary-menu .sub-menu .current-menu-item > a {
  color: var(--primary);
  background: var(--soft);
}

.site-header:not(.is-solid) .primary-menu > .current-menu-item > a,
.site-header:not(.is-solid) .primary-menu > .current-menu-ancestor > a {
  color: #ffffff;
}

.site-header.is-solid .primary-menu > .current-menu-item > a,
.site-header.is-solid .primary-menu > .current-menu-ancestor > a {
  color: var(--primary);
}

@media (max-width: 1024px) {
  .primary-menu .sub-menu,
  .primary-menu .sub-menu .sub-menu {
    position: static;
    min-width: 0;
    box-shadow: none;
    background: transparent;
    border-radius: 0;
    padding: 0 16px 12px 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .primary-menu .sub-menu a {
    min-height: 40px;
    padding: 7px 10px;
    white-space: normal;
    font-size: 0.92rem;
  }
}


/* Payaniro v1.5.1 visual fixes */
body {
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.site-header.is-solid,
body:not(.home) .site-header {
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  gap: 22px;
}

.site-branding {
  min-width: 185px;
}

.brand-wordmark-text {
  font-size: clamp(2rem, 2.35vw, 2.85rem);
  font-weight: 800;
  letter-spacing: 0;
}

.primary-menu {
  gap: clamp(14px, 1.55vw, 26px);
}

.primary-menu > li > a {
  font-size: 0.98rem;
  font-weight: 800;
}

.hero {
  min-height: 92svh;
}

.hero-content {
  width: min(680px, calc(100% - 48px));
  margin-inline-start: auto;
  margin-inline-end: max(24px, calc((100vw - var(--container)) / 2));
}

.hero h1 {
  font-size: clamp(2.3rem, 4.4vw, 4.6rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
  max-width: 740px;
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  line-height: 2.05;
}

.hero-badges {
  margin-top: 24px;
}

.home-products {
  background: #fff;
}

.product-focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.product-focus-card {
  min-height: 270px;
  padding: 34px 26px;
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}

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

.product-focus-card svg {
  width: 48px;
  height: 48px;
  color: var(--primary);
  margin-bottom: 22px;
}

.product-focus-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 800;
}

.product-focus-card p {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
  line-height: 2;
}

.section-heading h2,
.tab-copy h3,
.about-stats h2,
.media-feature h2,
.support-card h2,
.career-card h2 {
  letter-spacing: 0;
  font-weight: 800;
}

.career-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
  border-radius: 32px;
  padding: clamp(34px, 5vw, 62px);
  background: linear-gradient(135deg, #eef7ff 0%, #ffffff 55%, #f7fbff 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.career-card h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.9rem, 3vw, 3.3rem);
}

.career-card p {
  max-width: 760px;
  color: var(--muted);
}

.footer-wordmark {
  display: inline-flex;
  color: var(--primary);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 12px;
}

.footer-contact-line p {
  margin: 0;
  color: #334155;
}

.footer-contact-stack {
  display: grid;
  gap: 2px;
  line-height: 1.65;
}

.footer-contact-stack a {
  direction: ltr;
  unicode-bidi: plaintext;
  text-align: right;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--line);
  transition: transform .2s ease, color .2s ease;
}

.footer-socials a:hover {
  transform: translateY(-3px);
  color: var(--sky);
}

.footer-socials svg {
  width: 22px;
  height: 22px;
}

.footer-main {
  grid-template-columns: minmax(320px, 1.1fr) minmax(460px, 1.5fr);
}

@media (max-width: 1180px) {
  .product-focus-grid { grid-template-columns: repeat(2, 1fr); }
  .primary-menu { gap: 14px; }
  .primary-menu > li > a { font-size: .92rem; }
}

@media (max-width: 1024px) {
  .hero { min-height: 760px; }
  .hero-content { width: min(100% - 32px, 680px); margin-inline: auto; }
  .career-card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .brand-wordmark-text { font-size: 2rem; }
  .hero { min-height: 700px; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 3.3rem); }
  .product-focus-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
}


/* Payaniro v1.5.2 cleanup after fresh WordPress install */
body {
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.9;
}

.site-header {
  height: 78px;
}

.header-inner {
  gap: 18px;
}

.brand-wordmark-text {
  font-size: clamp(2.05rem, 2.4vw, 3rem);
  font-weight: 800;
  letter-spacing: 0;
}

.primary-menu {
  gap: clamp(12px, 1.35vw, 24px);
}

.primary-menu > li > a {
  font-size: 0.94rem;
  font-weight: 700;
}

.hero {
  min-height: 88svh;
}

.hero-content {
  width: min(640px, calc(100% - 48px));
}

.hero h1 {
  font-size: clamp(2.05rem, 3.85vw, 4.15rem);
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: 0;
  max-width: 680px;
}

.hero p:not(.eyebrow) {
  max-width: 600px;
  font-size: clamp(0.96rem, 1.12vw, 1.08rem);
  line-height: 2.1;
}

.eyebrow, .section-tag {
  font-weight: 700;
}

.btn {
  font-weight: 700;
}

.product-focus-card,
.case-card,
.news-item,
.career-card {
  box-shadow: 0 10px 30px rgba(6, 27, 46, 0.07);
}

.product-focus-card h3,
.case-card h3,
.news-item h3 {
  font-weight: 800;
}

.section-heading h2,
.tab-copy h3,
.about-stats h2,
.media-feature h2,
.support-card h2,
.career-card h2 {
  font-weight: 800;
  letter-spacing: 0;
}

.footer-brand::before {
  content: none !important;
}

.footer-wordmark, .footer-wordmark span {
  font-weight: 800;
  letter-spacing: 0;
}

@media (max-width: 1024px) {
  .hero { min-height: 720px; }
  .hero-content { width: min(100% - 32px, 620px); }
}

@media (max-width: 640px) {
  .site-header { height: 72px; }
  .brand-wordmark-text { font-size: 1.85rem; }
  .hero { min-height: 680px; }
  .hero h1 { font-size: clamp(1.8rem, 8.2vw, 2.75rem); line-height: 1.34; }
  .hero-actions { gap: 10px; }
}


/* Payaniro v1.5.3 stable Persian typography */
html, body {
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
}

body {
  font-weight: 400;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body, button, input, textarea, select, a, p, li, span, h1, h2, h3, h4, h5, h6 {
  font-family: inherit;
  letter-spacing: 0;
}

.brand-wordmark-text {
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  font-size: clamp(2.12rem, 2.55vw, 3.15rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
}

.primary-menu > li > a {
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(2.05rem, 3.7vw, 4rem);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  font-size: clamp(0.98rem, 1.12vw, 1.1rem);
  font-weight: 400;
  line-height: 2.05;
}

.section-heading h2,
.tab-copy h3,
.about-stats h2,
.media-feature h2,
.support-card h2,
.career-card h2,
.product-focus-card h3,
.case-card h3,
.news-item h3 {
  font-weight: 800;
  letter-spacing: 0;
}

.btn, .section-tag, .eyebrow {
  font-weight: 700;
  letter-spacing: 0;
}

@media (max-width: 640px) {
  .brand-wordmark-text { font-size: 1.95rem; }
  .hero h1 { font-size: clamp(1.78rem, 8vw, 2.68rem); line-height: 1.38; }
}


/* Payaniro v1.5.6 KSTAR comparison polish - font intentionally unchanged */
:root { --header-height: 82px; }

.site-header {
  background: linear-gradient(180deg, rgba(5, 20, 34, 0.18), rgba(5, 20, 34, 0));
}

.site-header.is-solid,
body:not(.home) .site-header {
  background: rgba(255,255,255,.98);
  box-shadow: 0 8px 28px rgba(6, 27, 46, 0.08);
}

.brand-wordmark-text {
  font-weight: 800;
  font-size: clamp(2.12rem, 2.7vw, 3.22rem);
}

.primary-menu > li > a {
  min-height: 50px;
  font-weight: 700;
}

.hero {
  min-height: 92svh;
}

.hero-overlay {
  background:
    radial-gradient(circle at 18% 52%, rgba(0, 86, 167, 0.34), transparent 33%),
    linear-gradient(90deg, rgba(2, 15, 31, 0.74) 0%, rgba(2, 15, 31, 0.40) 48%, rgba(2, 15, 31, 0.12) 100%),
    linear-gradient(180deg, rgba(2, 15, 31, 0.48) 0%, rgba(2, 15, 31, 0.14) 42%, rgba(2, 15, 31, 0.62) 100%);
}

.hero-content {
  width: min(620px, calc(100% - 48px));
}

.hero h1 {
  font-size: clamp(2.05rem, 3.35vw, 3.65rem);
  line-height: 1.36;
  max-width: 620px;
}

.hero p:not(.eyebrow) {
  max-width: 560px;
}

/* KSTAR-like full-width mega menus */
.primary-menu .menu-item.has-mega {
  position: static;
}

.primary-menu .menu-item.has-mega > .sub-menu {
  display: none !important;
}

.has-mega .mega-menu {
  position: fixed;
  top: var(--header-height);
  right: 0;
  left: 0;
  min-height: auto;
  padding: 28px 0 30px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  box-shadow: 0 18px 45px rgba(6, 27, 46, 0.10);
  border-top: 1px solid rgba(230, 237, 244, .75);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.admin-bar .has-mega .mega-menu {
  top: calc(var(--header-height) + 32px);
}

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

.has-mega .mega-grid {
  width: min(1120px, calc(100% - 64px));
  display: grid;
  justify-content: center;
  gap: 18px;
}

.has-mega .mega-grid-four { grid-template-columns: repeat(4, minmax(170px, 1fr)); }
.has-mega .mega-grid-three { grid-template-columns: repeat(3, minmax(210px, 1fr)); }

.has-mega .mega-card {
  min-height: 132px;
  padding: 18px 16px 14px;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  gap: 7px;
}

.has-mega .mega-card:hover {
  transform: translateY(-2px);
  background: rgba(244, 247, 251, .85);
  border-radius: 18px;
}

.has-mega .mega-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
  color: #616b76;
}

.has-mega .mega-icon svg {
  width: 50px;
  height: 50px;
  stroke-width: 1.7;
}

.has-mega .mega-card:hover .mega-icon,
.has-mega .mega-card:hover .mega-title {
  color: var(--primary);
}

.has-mega .mega-title {
  font-weight: 700;
  color: #111827;
  font-size: 1.02rem;
}

.has-mega .mega-text {
  color: #728195;
  font-size: .83rem;
  line-height: 1.8;
  max-width: 210px;
}

.mega-mini-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
}

.mega-mini-links span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: .73rem;
  color: var(--primary);
  background: #eef7ff;
}

.home-products .section-heading {
  max-width: 850px;
  margin-inline: auto;
}

.product-focus-card {
  min-height: 248px;
  border-radius: 20px;
}

@media (max-width: 1024px) {
  .has-mega .mega-menu {
    position: static;
    padding: 0 0 16px;
    background: transparent;
    box-shadow: none;
    border: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    pointer-events: auto;
  }
  .has-mega.is-open .mega-menu { display: block; }
  .has-mega .mega-grid,
  .has-mega .mega-grid-four,
  .has-mega .mega-grid-three {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .has-mega .mega-card {
    min-height: auto;
    justify-items: start;
    align-content: start;
    text-align: right;
    border-radius: 14px;
    background: var(--soft);
    padding: 13px 14px;
  }
  .has-mega .mega-icon { display: none; }
  .mega-mini-links { justify-content: flex-start; }
  .hero { min-height: 760px; }
}

@media (max-width: 640px) {
  :root { --header-height: 72px; }
  .hero h1 { font-size: clamp(1.8rem, 7.3vw, 2.45rem); }
}

/* Payaniro v1.5.7 bug fixes: stable mega hover, full hero, correct icons, footer logo */
:root { --header-height: 82px; }

.hero {
  min-height: 100svh !important;
  min-height: 100vh !important;
}

.hero-media,
.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
}

.hero-media video,
.hero-media img {
  object-fit: cover;
}

.hero-overlay {
  background:
    radial-gradient(circle at 18% 52%, rgba(0, 86, 167, 0.26), transparent 33%),
    linear-gradient(90deg, rgba(2, 15, 31, 0.66) 0%, rgba(2, 15, 31, 0.34) 48%, rgba(2, 15, 31, 0.08) 100%),
    linear-gradient(180deg, rgba(2, 15, 31, 0.38) 0%, rgba(2, 15, 31, 0.10) 44%, rgba(2, 15, 31, 0.50) 100%);
}

.has-mega .mega-menu {
  top: calc(var(--header-height) - 1px) !important;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.has-mega .mega-menu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -30px;
  height: 30px;
  background: transparent;
}

.admin-bar .has-mega .mega-menu {
  top: calc(var(--header-height) + 31px) !important;
}

.primary-menu .menu-item.has-mega > a {
  min-height: var(--header-height);
}

.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu,
.has-mega.is-open .mega-menu {
  transform: translateY(0) !important;
}

.product-focus-card > svg {
  width: 58px;
  height: 58px;
  padding: 12px;
  margin-bottom: 24px;
  color: var(--primary);
  background: #eef7ff;
  border-radius: 18px;
  stroke-width: 1.9;
}

.mega-icon svg {
  stroke-width: 1.75;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  max-width: 245px;
  margin-bottom: 18px;
}

.footer-logo-img {
  display: block;
  width: auto;
  max-width: 245px;
  max-height: 74px;
  object-fit: contain;
}

.footer-wordmark {
  display: none !important;
}

.footer-socials a[aria-label="Telegram"] svg,
.footer-socials a[aria-label="WhatsApp"] svg,
.floating-contact svg {
  fill: currentColor !important;
  stroke: none !important;
}

.footer-socials a[aria-label="Instagram"] svg {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
}

.floating-contact svg {
  width: 30px !important;
  height: 30px !important;
}

.footer-socials a {
  color: var(--primary);
}

.footer-socials a:hover {
  color: #0aad55;
}

@media (max-width: 1024px) {
  .hero { min-height: 100svh !important; }
  .primary-menu .menu-item.has-mega > a { min-height: 58px; }
  .has-mega .mega-menu::before { display: none; }
  .has-mega .mega-menu { top: auto !important; }
}

@media (max-width: 640px) {
  .hero { min-height: 100svh !important; }
  .footer-logo-img { max-width: 210px; max-height: 64px; }
}


/* Payaniro v1.5.8 contact page */
.contact-page-hero {
  position: relative;
  padding: calc(var(--header-height) + 92px) 0 88px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(2, 18, 34, 0.78), rgba(0, 86, 167, 0.56)),
    var(--hero-bg-image, url('../img/contact-hero-kstar-style.jpg')) center/cover no-repeat;
  overflow: hidden;
}

.contact-page-hero::after {
  content: '';
  position: absolute;
  inset: auto 8% -70px auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(91, 213, 255, 0.18);
  filter: blur(20px);
}

.contact-page-hero .container {
  position: relative;
  z-index: 1;
}

.contact-page-hero .section-tag {
  color: #a8e6ff;
}

.contact-page-hero h1 {
  margin: 16px 0 12px;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.15;
  font-weight: 900;
}

.contact-page-hero p {
  margin: 0;
  max-width: 720px;
  color: rgba(255,255,255,.88);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
}

.contact-page {
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  gap: 34px;
  align-items: stretch;
}

.contact-info-panel,
.contact-map-panel {
  border: 1px solid rgba(0, 86, 167, 0.11);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(6, 27, 46, 0.08);
  border-radius: 32px;
  overflow: hidden;
}

.contact-info-panel {
  padding: clamp(28px, 4vw, 48px);
}

.contact-info-panel h2 {
  margin: 12px 0 12px;
  font-size: clamp(1.85rem, 3.4vw, 3rem);
  line-height: 1.25;
  font-weight: 900;
  color: var(--ink);
}

.contact-lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-card-list {
  display: grid;
  gap: 16px;
}

.contact-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid rgba(0, 86, 167, 0.10);
  border-radius: 22px;
  background: #fff;
}

.contact-card-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(0, 86, 167, 0.08);
  color: #0056a7;
}

.contact-card-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}

.contact-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 900;
}

.contact-card p,
.contact-card a {
  display: block;
  margin: 0;
  color: #40546a;
  line-height: 1.95;
  font-weight: 600;
}

.contact-card a:hover,
.contact-inline-link {
  color: #0056a7;
}

.contact-inline-link {
  margin-top: 8px !important;
  font-weight: 900 !important;
}

.contact-social-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-social {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(6, 27, 46, .12);
}

.contact-social svg {
  width: 23px;
  height: 23px;
}

.whatsapp-link { background: #10b65a; }
.telegram-link { background: #229ed9; }

.contact-map-panel {
  min-height: 620px;
  display: grid;
  grid-template-rows: 1fr auto;
}

.contact-map-frame {
  min-height: 520px;
  background: #eaf2fa;
}

.contact-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  display: block;
  filter: saturate(.95) contrast(1.02);
}

.contact-map-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  background: #fff;
  color: var(--ink);
}

.contact-map-caption strong {
  font-weight: 900;
}

.contact-map-caption span {
  color: var(--muted);
}

@media (max-width: 980px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-map-panel,
  .contact-map-frame,
  .contact-map-frame iframe {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .contact-page-hero {
    padding: calc(var(--header-height) + 52px) 0 58px;
  }
  .contact-card {
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 15px;
  }
  .contact-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }
  .contact-social {
    width: 100%;
  }
  .contact-map-caption {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* v1.6.0 menu fixes */
.primary-menu > li.has-mega {
  position: static;
}
.primary-menu > li.has-mega::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--header-height) - 8px);
  height: 18px;
}
.primary-menu > li.has-mega > .sub-menu {
  display: none !important;
}
.mega-mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.mega-mini-link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 86, 167, 0.08);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
}
.mega-mini-link:hover {
  background: var(--primary);
  color: #fff;
}
@media (max-width: 1024px) {
  .primary-menu > li.has-mega::after { display: none; }
  .mega-mini-links { display: grid; gap: 6px; }
  .mega-mini-link { justify-content: center; }
}


/* Payaniro v1.6.1 services showcase */
.services-showcase {
  background:
    radial-gradient(circle at 12% 0%, rgba(11, 145, 210, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
  overflow: hidden;
}

.services-heading {
  margin-bottom: clamp(34px, 5vw, 64px);
}

.services-heading p {
  max-width: 760px;
  margin-inline: auto;
}

.service-lux-list {
  display: grid;
  gap: clamp(28px, 4vw, 54px);
}

.service-lux-card {
  position: relative;
  min-height: clamp(420px, 50vw, 610px);
  border-radius: clamp(26px, 3vw, 44px);
  overflow: hidden;
  isolation: isolate;
  display: grid;
  place-items: center;
  padding: clamp(32px, 6vw, 86px);
  background-image: var(--service-image);
  background-size: cover;
  background-position: center;
  box-shadow: 0 28px 80px rgba(6, 27, 46, 0.13);
  transform: translateZ(0);
}

.service-lux-card::before,
.service-lux-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.service-lux-card::before {
  background:
    radial-gradient(circle at 52% 42%, rgba(11, 145, 210, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(2, 15, 31, 0.36) 0%, rgba(2, 15, 31, 0.58) 100%);
}

.service-lux-card::after {
  background: linear-gradient(90deg, rgba(2, 15, 31, 0.2), transparent 30%, rgba(2, 15, 31, 0.22));
  opacity: .75;
}

.service-lux-copy {
  width: min(760px, 100%);
  text-align: center;
  color: var(--white);
  text-shadow: 0 12px 34px rgba(0, 0, 0, .42);
}

.service-lux-copy > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(12px);
  color: #c8f1ff;
  font-weight: 900;
}

.service-lux-copy h3 {
  margin: 0;
  font-size: clamp(2.1rem, 4.2vw, 4.4rem);
  line-height: 1.17;
  font-weight: 900;
  letter-spacing: 0;
}

.service-lux-copy p {
  max-width: 690px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.91);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 2.05;
}

.btn-service {
  margin-top: 34px;
  background: #2d73df;
  color: var(--white);
  box-shadow: 0 16px 38px rgba(45, 115, 223, .30);
  padding-inline: 30px;
}

.btn-service:hover {
  background: #145fc8;
}

@media (max-width: 900px) {
  .service-lux-card {
    min-height: 470px;
    border-radius: 28px;
    padding: 34px 22px;
  }

  .service-lux-copy h3 {
    font-size: clamp(1.8rem, 8vw, 3rem);
  }
}

@media (max-width: 620px) {
  .services-showcase {
    padding-top: 58px;
  }

  .service-lux-card {
    min-height: 430px;
    border-radius: 24px;
  }

  .service-lux-copy > span {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
  }

  .service-lux-copy p {
    line-height: 1.85;
  }
}


/* Payaniro v1.6.2 - KSTAR-like services layout */
.services-showcase {
  background: #fff !important;
  padding-top: clamp(70px, 7vw, 118px) !important;
  padding-bottom: clamp(76px, 8vw, 128px) !important;
}

.services-heading {
  width: min(100%, 980px);
  margin: 0 auto clamp(42px, 5vw, 78px) !important;
}

.services-heading .section-tag {
  color: var(--primary);
}

.services-heading h2 {
  font-size: clamp(2.25rem, 4.8vw, 5.4rem);
  line-height: 1.18;
  letter-spacing: 0;
  margin-bottom: 18px;
}

.services-heading p {
  max-width: 820px !important;
  color: #66778a;
  font-weight: 500;
  line-height: 2.05;
}

.service-lux-list {
  display: grid !important;
  gap: clamp(64px, 7vw, 116px) !important;
}

.service-lux-card.service-kstar-card,
.service-lux-card {
  position: relative !important;
  min-height: auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr) !important;
  align-items: center !important;
  gap: clamp(38px, 5.6vw, 96px) !important;
  padding: 0 clamp(8px, 2vw, 24px) !important;
  border-radius: 0 !important;
  overflow: visible !important;
  isolation: auto !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  transform: none !important;
}

.service-lux-card::before,
.service-lux-card::after {
  display: none !important;
}

.service-lux-media {
  grid-column: 1;
  margin: 0;
  width: 100%;
  min-height: clamp(390px, 32vw, 560px);
  border-radius: clamp(22px, 2.3vw, 38px);
  overflow: hidden;
  background: #f3f7fb;
  box-shadow: 0 26px 72px rgba(8, 37, 64, .14);
}

.service-lux-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  transition: transform .6s ease;
}

.service-lux-card:hover .service-lux-media img {
  transform: scale(1.035);
}

.service-lux-copy {
  grid-column: 2;
  width: 100% !important;
  color: #071c2f !important;
  text-align: right !important;
  text-shadow: none !important;
  padding: clamp(8px, 2vw, 30px) 0;
}

.service-lux-index {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  height: auto !important;
  margin: 0 0 18px !important;
  padding: 7px 15px !important;
  border-radius: 999px !important;
  background: #eef5fb !important;
  border: 1px solid #dbe8f2 !important;
  backdrop-filter: none !important;
  color: var(--primary) !important;
  font-size: .95rem !important;
  font-weight: 900 !important;
  box-shadow: none !important;
}

.service-lux-copy h3 {
  margin: 0 !important;
  max-width: 680px;
  font-size: clamp(2.6rem, 5vw, 5.7rem) !important;
  line-height: 1.12 !important;
  font-weight: 950 !important;
  color: #010b15 !important;
  letter-spacing: 0 !important;
}

.service-lux-copy h3::first-letter {
  color: var(--primary);
}

.service-lux-copy p {
  max-width: 640px !important;
  margin: 24px 0 0 !important;
  color: #516579 !important;
  font-size: clamp(1rem, 1.25vw, 1.18rem) !important;
  line-height: 2.08 !important;
  font-weight: 500;
}

.btn-service {
  margin-top: 34px !important;
  background: var(--primary) !important;
  color: var(--white) !important;
  box-shadow: 0 16px 36px rgba(0, 74, 130, .24) !important;
  padding: 12px 25px 13px !important;
  border-radius: 999px !important;
}

.btn-service:hover {
  background: #003d6b !important;
  transform: translateY(-2px);
}

@media (min-width: 1100px) {
  .service-lux-card.service-kstar-card:nth-child(even) {
    grid-template-columns: minmax(360px, .92fr) minmax(0, 1.08fr) !important;
  }
  .service-lux-card.service-kstar-card:nth-child(even) .service-lux-media {
    grid-column: 2;
  }
  .service-lux-card.service-kstar-card:nth-child(even) .service-lux-copy {
    grid-column: 1;
  }
}

@media (max-width: 1099px) {
  .service-lux-card.service-kstar-card,
  .service-lux-card {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    padding-inline: 0 !important;
  }
  .service-lux-media,
  .service-lux-copy {
    grid-column: 1 !important;
  }
  .service-lux-media {
    min-height: clamp(260px, 48vw, 440px);
    border-radius: 28px;
  }
  .service-lux-copy {
    padding: 0 8px 18px;
  }
  .service-lux-copy h3 {
    font-size: clamp(2.1rem, 8vw, 3.6rem) !important;
  }
}

@media (max-width: 620px) {
  .services-showcase {
    padding-top: 58px !important;
  }
  .service-lux-list {
    gap: 58px !important;
  }
  .service-lux-media {
    min-height: 230px;
    border-radius: 22px;
  }
  .service-lux-copy h3 {
    font-size: clamp(1.86rem, 9vw, 2.75rem) !important;
  }
  .service-lux-copy p {
    line-height: 1.9 !important;
  }
}

/* Payaniro v1.6.3 - services layout correction: true KSTAR-like two-column rows */
.services-showcase {
  background: #fff !important;
  padding-top: clamp(64px, 6vw, 104px) !important;
  padding-bottom: clamp(72px, 7vw, 116px) !important;
}

.services-showcase .container {
  width: min(100% - 56px, 1580px) !important;
}

.services-heading {
  width: min(100%, 980px) !important;
  margin: 0 auto clamp(42px, 5vw, 72px) !important;
  text-align: center !important;
}

.services-heading h2 {
  font-size: clamp(2rem, 3.6vw, 4.2rem) !important;
  line-height: 1.25 !important;
  margin-bottom: 16px !important;
}

.services-heading p {
  max-width: 760px !important;
  margin-inline: auto !important;
  line-height: 1.95 !important;
  font-size: clamp(.98rem, 1vw, 1.08rem) !important;
}

.service-lux-list {
  display: grid !important;
  gap: clamp(54px, 6.2vw, 96px) !important;
}

.service-lux-card.service-kstar-card,
.service-lux-card {
  display: grid !important;
  grid-template-columns: minmax(360px, .82fr) minmax(520px, 1.18fr) !important;
  align-items: center !important;
  gap: clamp(44px, 5vw, 92px) !important;
  max-width: 1500px !important;
  margin-inline: auto !important;
  padding: clamp(12px, 1.6vw, 24px) 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  min-height: auto !important;
}

.service-lux-copy,
.service-lux-card.service-kstar-card:nth-child(even) .service-lux-copy {
  grid-column: 1 !important;
  grid-row: 1 !important;
  align-self: center !important;
  width: 100% !important;
  max-width: 620px !important;
  padding: 0 !important;
  text-align: right !important;
  justify-self: start !important;
}

.service-lux-media,
.service-lux-card.service-kstar-card:nth-child(even) .service-lux-media {
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: 100% !important;
  margin: 0 !important;
  min-height: clamp(340px, 27vw, 520px) !important;
  border-radius: clamp(22px, 2vw, 34px) !important;
  background: #f4f8fb !important;
  box-shadow: 0 22px 60px rgba(8, 37, 64, .13) !important;
  overflow: hidden !important;
}

.service-lux-media img {
  width: 100% !important;
  height: 100% !important;
  min-height: inherit !important;
  object-fit: cover !important;
  object-position: center !important;
}

.service-lux-index {
  margin: 0 0 18px !important;
  padding: 6px 13px !important;
  min-width: 42px !important;
  height: 30px !important;
  font-size: .86rem !important;
}

.service-lux-copy h3 {
  max-width: 620px !important;
  font-size: clamp(2.25rem, 4.15vw, 4.75rem) !important;
  line-height: 1.18 !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

.service-lux-copy h3::first-letter {
  color: inherit !important;
}

.service-lux-copy p {
  max-width: 560px !important;
  margin-top: 22px !important;
  line-height: 2 !important;
  font-size: clamp(.98rem, 1.05vw, 1.12rem) !important;
}

.btn-service {
  margin-top: 28px !important;
  padding: 12px 24px 13px !important;
  font-size: .98rem !important;
}

@media (max-width: 1180px) {
  .service-lux-card.service-kstar-card,
  .service-lux-card {
    grid-template-columns: minmax(300px, .88fr) minmax(430px, 1.12fr) !important;
    gap: 40px !important;
  }
  .service-lux-copy h3 {
    font-size: clamp(2rem, 4.4vw, 3.85rem) !important;
  }
  .service-lux-media {
    min-height: clamp(300px, 31vw, 440px) !important;
  }
}

@media (max-width: 860px) {
  .services-showcase .container {
    width: min(100% - 34px, 720px) !important;
  }
  .service-lux-card.service-kstar-card,
  .service-lux-card {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    padding: 0 0 38px !important;
  }
  .service-lux-copy,
  .service-lux-media,
  .service-lux-card.service-kstar-card:nth-child(even) .service-lux-copy,
  .service-lux-card.service-kstar-card:nth-child(even) .service-lux-media {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
  .service-lux-copy {
    order: 1 !important;
    max-width: 100% !important;
    justify-self: stretch !important;
    text-align: right !important;
  }
  .service-lux-media {
    order: 2 !important;
    min-height: clamp(235px, 53vw, 360px) !important;
    border-radius: 24px !important;
  }
  .service-lux-copy h3 {
    max-width: 100% !important;
    font-size: clamp(2rem, 8vw, 3.2rem) !important;
  }
  .service-lux-copy p {
    max-width: 100% !important;
    margin-top: 16px !important;
    line-height: 1.9 !important;
  }
}

/* v1.6.4: remove service item numbers */
.service-lux-index { display: none !important; }


/* Payaniro v1.6.6: remove applications block and add KSTAR-like news/articles hover section */
.cases-section {
  display: none !important;
}

.home-news-kstar {
  background:
    radial-gradient(circle at 86% 8%, rgba(0, 86, 167, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
}

.home-news-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(30px, 5vw, 58px);
}

.home-news-head h2 {
  margin: 8px 0 10px;
  color: var(--ink);
  font-size: clamp(2rem, 4.2vw, 4.8rem);
  line-height: 1.18;
  font-weight: 850;
  letter-spacing: 0;
}

.home-news-head p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  line-height: 2;
}

.home-news-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: stretch;
}

.home-news-preview {
  position: relative;
  min-height: clamp(380px, 42vw, 560px);
  margin: 0;
  overflow: hidden;
  border-radius: clamp(26px, 3vw, 42px);
  background: linear-gradient(135deg, #dbeafe, #eef6ff);
  box-shadow: 0 28px 80px rgba(6, 27, 46, 0.14);
  isolation: isolate;
}

.home-news-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 15, 31, 0.05) 0%, rgba(2, 15, 31, 0.28) 100%),
    radial-gradient(circle at 24% 16%, rgba(255, 255, 255, 0.28), transparent 22%);
  z-index: 1;
  pointer-events: none;
}

.home-news-preview img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
  transition: opacity 0.18s ease, transform 0.55s ease;
}

.home-news-preview:hover img {
  transform: scale(1.035);
}

.home-news-preview-shine {
  position: absolute;
  inset: auto 28px 28px 28px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.92), transparent);
  z-index: 2;
}

.home-news-list-kstar {
  display: grid;
  gap: 0;
  align-content: center;
  border-top: 1px solid var(--line);
}

.home-news-item-kstar {
  position: relative;
  border-bottom: 1px solid var(--line);
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.home-news-item-kstar > a {
  display: grid;
  gap: 8px;
  padding: clamp(20px, 3.3vw, 34px) clamp(8px, 2vw, 22px);
  color: inherit;
}

.home-news-date {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.9rem;
}

.home-news-item-kstar h3 {
  margin: 0;
  font-size: clamp(1.28rem, 2.15vw, 2.1rem);
  line-height: 1.45;
  font-weight: 850;
  color: var(--ink);
  transition: color 0.2s ease;
}

.home-news-item-kstar p {
  margin: 0;
  color: var(--muted);
  line-height: 1.95;
  max-width: 680px;
}

.home-news-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  margin-top: 6px;
  color: var(--primary);
  font-weight: 800;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.home-news-more svg {
  width: 18px;
  height: 18px;
}

.home-news-item-kstar:hover,
.home-news-item-kstar.is-active {
  background: rgba(0, 86, 167, 0.045);
}

.home-news-item-kstar:hover h3,
.home-news-item-kstar.is-active h3 {
  color: var(--primary);
}

.home-news-item-kstar:hover .home-news-more,
.home-news-item-kstar.is-active .home-news-more {
  opacity: 1;
  transform: translateY(0);
}

.home-news-mobile-img {
  display: none;
}

@media (max-width: 1024px) {
  .home-news-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .home-news-layout {
    grid-template-columns: 1fr;
  }
  .home-news-preview {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .home-news-kstar {
    padding-top: 68px;
  }
  .home-news-head h2 {
    font-size: clamp(1.8rem, 10vw, 2.8rem);
  }
  .home-news-preview {
    display: none;
  }
  .home-news-list-kstar {
    border-top: 0;
    gap: 18px;
  }
  .home-news-item-kstar {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(6, 27, 46, 0.08);
  }
  .home-news-item-kstar > a {
    padding: 20px;
  }
  .home-news-mobile-img {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 18px;
  }
  .home-news-more {
    opacity: 1;
    transform: none;
  }
}


/* Payaniro v1.6.8 products customizer and icon polish */
.home-products {
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.product-focus-grid {
  align-items: stretch;
}

.product-focus-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 292px;
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
}

.product-focus-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 15%, rgba(0, 86, 167, .10), transparent 33%);
  opacity: 0;
  transition: opacity .22s ease;
}

.product-focus-card:hover::before {
  opacity: 1;
}

.product-focus-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  margin-bottom: 24px;
  color: var(--primary);
  background: linear-gradient(135deg, #eef7ff, #ffffff);
  border: 1px solid rgba(0, 86, 167, .10);
  border-radius: 22px;
  box-shadow: 0 12px 26px rgba(0, 86, 167, .08);
}

.product-focus-icon svg {
  width: 38px !important;
  height: 38px !important;
  margin: 0 !important;
  padding: 0 !important;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-focus-card > svg {
  display: none !important;
}


.product-focus-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

.product-focus-icon svg {
  display: none !important;
}

.product-focus-card h3,
.product-focus-card p,
.product-focus-more {
  position: relative;
  z-index: 1;
}

.product-focus-card h3 {
  font-size: 1.35rem;
}

.product-focus-card p {
  flex: 1;
}

.product-focus-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--primary);
  font-size: .9rem;
  font-weight: 800;
}

.product-focus-more svg {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  stroke-width: 2.4;
}

.product-focus-card:hover .product-focus-more {
  gap: 12px;
}

@media (max-width: 640px) {
  .product-focus-card {
    min-height: 250px;
  }
}


/* Payaniro v1.7.0 product icons: lightweight inline SVG, no raster checkerboard */
.product-focus-icon {
  width: 72px !important;
  height: 72px !important;
  border-radius: 24px !important;
  background: linear-gradient(135deg, #f2f8ff 0%, #ffffff 100%) !important;
  box-shadow: 0 14px 28px rgba(0, 86, 167, .08) !important;
}
.product-focus-icon img { display: none !important; }
.product-focus-icon svg {
  display: block !important;
  width: 48px !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  fill: none !important;
}
.product-focus-card:hover .product-focus-icon {
  transform: translateY(-2px);
}
.has-mega .mega-icon {
  width: 62px !important;
  height: 62px !important;
  color: var(--primary) !important;
}
.has-mega .mega-icon svg {
  display: block !important;
  width: 54px !important;
  height: 54px !important;
  fill: none !important;
}
.mega-mini-links {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  margin-top: 10px !important;
  width: auto !important;
}
.mega-mini-link {
  width: auto !important;
  max-width: max-content !important;
  min-height: 0 !important;
  padding: 5px 10px !important;
  border-radius: 999px !important;
  font-size: .74rem !important;
  line-height: 1.4 !important;
  background: rgba(0, 86, 167, .07) !important;
  color: var(--primary) !important;
}
.mega-mini-link:hover {
  background: var(--primary) !important;
  color: #fff !important;
}


/* Payaniro v1.7.1: compact inverter sublinks inside products mega menu */
.mega-menu-products .mega-card {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 138px;
  padding: 16px 14px 14px;
}

.mega-menu-products .mega-card-main {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 7px;
  width: 100%;
  color: inherit;
  text-align: center;
  text-decoration: none;
}

.mega-menu-products .mega-card-main:hover {
  color: inherit;
}

.mega-menu-products .mega-mini-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.mega-menu-products .mega-mini-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 86, 167, .12);
  background: rgba(238, 247, 255, .82);
  color: var(--primary);
  font-size: .74rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
}

.mega-menu-products .mega-mini-link::before,
.mega-menu-products .mega-mini-link svg,
.mega-menu-products .mega-mini-link .mega-icon {
  display: none !important;
  content: none !important;
}

.mega-menu-products .mega-mini-link:hover {
  background: var(--primary);
  color: #fff;
  transform: none;
}

@media (max-width: 1024px) {
  .mega-menu-products .mega-card {
    align-items: flex-start;
    justify-content: flex-start;
    min-height: auto;
  }
  .mega-menu-products .mega-card-main {
    justify-items: start;
    text-align: right;
  }
  .mega-menu-products .mega-mini-links {
    justify-content: flex-start;
  }
}


/* v1.7.2 internal page heroes */
.internal-page-hero {
  position: relative;
  overflow: hidden;
}
.internal-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 20, 35, 0.28) 0%, rgba(4, 20, 35, 0.06) 42%, rgba(4, 20, 35, 0.02) 100%);
  pointer-events: none;
}
.internal-page-hero .container {
  position: relative;
  z-index: 1;
}


/* v1.7.4 force custom page hero image */
.contact-page-hero,
.internal-page-hero {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.contact-page-hero {
  min-height: 520px;
  display: grid;
  align-items: center;
}


/* v1.7.5 catalog pages: products/projects */
.catalog-page {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}
.catalog-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
  direction: rtl;
}
.catalog-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(0, 86, 167, .10);
  border-radius: 34px;
  box-shadow: 0 20px 60px rgba(8, 38, 70, .08);
  padding: 24px;
}
.catalog-sidebar h2 {
  margin: 0 0 18px;
  font-size: 1.55rem;
  color: var(--text);
}
.catalog-category-list {
  display: grid;
  gap: 10px;
}
.catalog-category-link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 66px;
  padding: 12px 14px;
  color: var(--muted);
  text-decoration: none;
  border-radius: 22px;
  border: 1px solid transparent;
  transition: transform .22s ease, background .22s ease, color .22s ease, box-shadow .22s ease;
  font-weight: 800;
}
.catalog-category-link:hover,
.catalog-category-link.is-active {
  color: var(--primary);
  background: linear-gradient(135deg, #eef7ff, #fff);
  border-color: rgba(0, 86, 167, .13);
  box-shadow: 0 14px 34px rgba(0, 86, 167, .10);
  transform: translateY(-1px);
}
.catalog-category-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex: 0 0 auto;
}
.catalog-category-icon svg {
  width: 34px;
  height: 34px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.4;
}
.catalog-main {
  min-width: 0;
}
.catalog-headline {
  margin-bottom: 34px;
  max-width: 870px;
}
.catalog-headline h2 {
  margin: 10px 0 14px;
  font-size: clamp(2.2rem, 4.3vw, 4.6rem);
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--text);
}
.catalog-headline p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 2;
}
.catalog-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.catalog-filter-pills a {
  color: var(--muted);
  background: #fff;
  border: 1px solid rgba(0,86,167,.13);
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}
.catalog-filter-pills a:hover,
.catalog-filter-pills a.is-active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}
.catalog-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.catalog-card {
  min-height: 320px;
  padding: 30px;
  border-radius: 30px;
  border: 1px solid rgba(0, 86, 167, .11);
  background: rgba(255,255,255,.92);
  box-shadow: 0 22px 64px rgba(8, 38, 70, .08);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.catalog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 78px rgba(0, 86, 167, .14);
  border-color: rgba(0, 86, 167, .22);
}
.catalog-card-icon {
  width: 68px;
  height: 68px;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: linear-gradient(135deg, #eef7ff, #fff);
  border: 1px solid rgba(0,86,167,.10);
  margin-bottom: 28px;
}
.catalog-card-icon svg {
  width: 44px;
  height: 44px;
  stroke: currentColor;
  fill: none;
}
.catalog-card h3 {
  font-size: 1.45rem;
  margin: 0 0 14px;
  color: var(--text);
}
.catalog-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.9;
}
.catalog-card-meta {
  color: var(--primary) !important;
  font-weight: 800;
  font-size: .92rem;
}
.catalog-card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--primary);
  font-weight: 900;
}
.catalog-card-link svg {
  width: 18px;
  height: 18px;
}
@media (max-width: 1180px) {
  .catalog-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 28px; }
  .catalog-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-sidebar { position: relative; top: auto; }
  .catalog-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .catalog-category-list,
  .catalog-card-grid { grid-template-columns: 1fr; }
  .catalog-card { min-height: auto; }
}


/* v1.7.7 about page with editable right-side image */
.payaniro-about-page {
  background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
}
.about-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.about-page-content {
  display: grid;
  gap: 20px;
}
.about-page-label {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  padding: 34px;
  border-radius: 34px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(0, 86, 167, .11);
  box-shadow: 0 24px 70px rgba(6,27,46,.08);
}
.about-page-label h2 {
  margin: 12px 0 14px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.18;
  color: var(--text);
}
.about-page-label p {
  margin: 0;
  color: var(--muted);
  line-height: 2;
  font-weight: 600;
}
.about-page-copy {
  display: grid;
  gap: 18px;
}
.about-page-copy p {
  margin: 0;
  padding: 26px 30px;
  border-radius: 28px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0, 86, 167, .10);
  box-shadow: 0 16px 48px rgba(6,27,46,.055);
  color: #33485c;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 2.35;
  font-weight: 500;
}
.about-page-media {
  position: sticky;
  top: calc(var(--header-height) + 28px);
}
.about-page-figure {
  margin: 0;
  overflow: hidden;
  border-radius: 34px;
  background: #ffffff;
  border: 1px solid rgba(0, 86, 167, .12);
  box-shadow: 0 24px 70px rgba(6,27,46,.12);
}
.about-page-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.about-extra-content {
  padding-top: 0;
  background: #f6faff;
}
@media (max-width: 900px) {
  .about-page-layout {
    grid-template-columns: 1fr;
  }
  .about-page-label,
  .about-page-media {
    position: static;
  }
  .about-page-media {
    order: -1;
  }
}
@media (max-width: 640px) {
  .about-page-label,
  .about-page-copy p {
    padding: 22px;
    border-radius: 24px;
  }
  .about-page-figure {
    border-radius: 24px;
  }
}


/* v1.7.9 catalog responsive + Firefox stability */
.catalog-layout,
.catalog-sidebar,
.catalog-main,
.catalog-card-grid,
.catalog-card,
.catalog-headline {
  min-width: 0;
}
.catalog-layout {
  grid-template-areas: "sidebar main";
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  overflow: visible;
}
.catalog-sidebar { grid-area: sidebar; width: 100%; }
.catalog-main { grid-area: main; width: 100%; }
.catalog-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.catalog-card h3,
.catalog-card p,
.catalog-headline h2,
.catalog-headline p,
.catalog-category-link span:last-child {
  overflow-wrap: anywhere;
  word-break: normal;
}
@media (max-width: 1024px) {
  .catalog-page.section-pad { padding-top: 56px; }
  .catalog-layout {
    grid-template-areas: "sidebar" "main";
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .catalog-sidebar {
    position: static;
    padding: 18px;
    border-radius: 26px;
  }
  .catalog-category-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .catalog-headline {
    text-align: center;
    margin-inline: auto;
  }
  .catalog-filter-pills {
    justify-content: center;
  }
}
@media (max-width: 680px) {
  .catalog-page.section-pad { padding-top: 42px; }
  .catalog-sidebar h2 { font-size: 1.25rem; }
  .catalog-category-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .catalog-category-link {
    min-height: 56px;
    padding: 10px 12px;
    border-radius: 18px;
  }
  .catalog-category-icon {
    width: 34px;
    height: 34px;
  }
  .catalog-category-icon svg {
    width: 27px;
    height: 27px;
  }
  .catalog-headline h2 {
    font-size: clamp(2rem, 11vw, 3.2rem);
    letter-spacing: 0;
  }
  .catalog-card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .catalog-card {
    padding: 22px;
    border-radius: 24px;
  }
}

/* v1.8.0 catalog Firefox/mobile hard fix */
.catalog-page,
.catalog-page * {
  max-width: 100%;
}
.catalog-page .container {
  width: min(var(--container), calc(100% - 48px));
}
.catalog-layout {
  display: grid !important;
  grid-template-columns: minmax(240px, 330px) minmax(0, 1fr) !important;
  gap: clamp(20px, 4vw, 48px) !important;
  align-items: start !important;
}
.catalog-main,
.catalog-sidebar,
.catalog-card,
.catalog-card-grid,
.catalog-headline {
  min-width: 0 !important;
  overflow-wrap: break-word;
}
.catalog-card-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  gap: 22px !important;
}
.catalog-card {
  overflow: hidden !important;
  min-height: 0 !important;
}
.catalog-category-icon,
.catalog-card-icon {
  flex: 0 0 auto !important;
  overflow: hidden !important;
  line-height: 1 !important;
}
.catalog-category-icon {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
}
.catalog-card-icon {
  width: 68px !important;
  height: 68px !important;
  min-width: 68px !important;
  max-width: 68px !important;
}
.catalog-category-icon svg,
.catalog-card-icon svg {
  display: block !important;
  flex: 0 0 auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
}
.catalog-category-icon svg {
  width: 30px !important;
  height: 30px !important;
}
.catalog-card-icon svg {
  width: 42px !important;
  height: 42px !important;
}
.catalog-card-icon .paya-line-icon,
.catalog-category-icon .paya-line-icon {
  width: 42px !important;
  height: 42px !important;
}
.catalog-category-icon .paya-line-icon {
  width: 30px !important;
  height: 30px !important;
}
.catalog-headline h2 {
  overflow-wrap: normal !important;
  word-break: normal !important;
}
@media (max-width: 900px) {
  .catalog-page .container {
    width: min(100% - 28px, var(--container));
  }
  .catalog-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas: "sidebar" "main" !important;
  }
  .catalog-sidebar {
    position: relative !important;
    top: auto !important;
    order: -1;
  }
  .catalog-category-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .catalog-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 560px) {
  .catalog-category-list,
  .catalog-card-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .catalog-card-icon {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;
  }
  .catalog-card-icon svg,
  .catalog-card-icon .paya-line-icon {
    width: 36px !important;
    height: 36px !important;
  }
}


/* v1.8.1 use Featured Image in products/projects catalog cards */
.catalog-card.has-cover {
  padding: 0 !important;
  overflow: hidden !important;
}
.catalog-card-cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f3f8fd;
  border-bottom: 1px solid rgba(0, 86, 167, .10);
}
.catalog-card-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.catalog-card.has-cover:hover .catalog-card-cover img {
  transform: scale(1.035);
}
.catalog-card.has-cover h3,
.catalog-card.has-cover .catalog-card-meta,
.catalog-card.has-cover p,
.catalog-card.has-cover .catalog-card-link {
  margin-left: 26px;
  margin-right: 26px;
}
.catalog-card.has-cover h3 {
  margin-top: 26px;
}
.catalog-card.has-cover .catalog-card-link {
  margin-bottom: 26px;
}
@media (min-width: 900px) {
  .catalog-projects .catalog-card-grid,
  .catalog-products .catalog-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
  }
}
@media (max-width: 560px) {
  .catalog-card.has-cover h3,
  .catalog-card.has-cover .catalog-card-meta,
  .catalog-card.has-cover p,
  .catalog-card.has-cover .catalog-card-link {
    margin-left: 20px;
    margin-right: 20px;
  }
  .catalog-card.has-cover h3 {
    margin-top: 20px;
  }
  .catalog-card.has-cover .catalog-card-link {
    margin-bottom: 20px;
  }
}

/* v1.8.2: avoid duplicate featured image on single project/product pages.
   The featured image is shown by the template; if the same image was also inserted
   as the first content image block, hide that first content image. */
body.single-payaniro_project .entry-content > .wp-block-image:first-child,
body.single-payaniro_project .entry-content > figure.wp-block-image:first-child,
body.single-payaniro_product .entry-content > .wp-block-image:first-child,
body.single-payaniro_product .entry-content > figure.wp-block-image:first-child {
  display: none !important;
}


/* v1.8.3: use featured image as top hero background for product/project single pages */
.single-media-hero.has-hero-image {
  min-height: clamp(430px, 54vw, 680px);
  align-items: center;
  padding: clamp(130px, 14vw, 190px) 0 clamp(70px, 8vw, 110px);
  background:
    linear-gradient(90deg, rgba(0, 72, 140, 0.88) 0%, rgba(0, 72, 140, 0.70) 34%, rgba(0, 72, 140, 0.32) 64%, rgba(0, 72, 140, 0.14) 100%),
    var(--hero-bg-image, url('../img/hero-poster.svg')) center / cover no-repeat;
}

.single-payaniro_product .single-media-hero.has-hero-image,
.single-payaniro_project .single-media-hero.has-hero-image {
  border-bottom: 1px solid rgba(0, 86, 167, 0.12);
}

.single-media-hero.has-hero-image .container {
  position: relative;
  z-index: 1;
}

.single-media-hero.has-hero-image h1 {
  max-width: 980px;
  text-shadow: 0 14px 42px rgba(0, 0, 0, 0.24);
}

.single-media-hero.has-hero-image .section-tag {
  color: rgba(255, 255, 255, 0.86);
}

.single-payaniro_product .catalog-single-content,
.single-payaniro_project .catalog-single-content {
  padding-top: clamp(42px, 6vw, 78px);
}

@media (max-width: 768px) {
  .single-media-hero.has-hero-image {
    min-height: 360px;
    padding: 118px 0 58px;
    background:
      linear-gradient(180deg, rgba(0, 72, 140, 0.76) 0%, rgba(0, 72, 140, 0.54) 58%, rgba(0, 72, 140, 0.82) 100%),
      var(--hero-bg-image, url('../img/hero-poster.svg')) center / cover no-repeat;
  }
}

/* v1.8.5: keep current/active menu items visible on internal pages with white header */
body:not(.home) .site-header .primary-menu > .current-menu-item > a,
body:not(.home) .site-header .primary-menu > .current-menu-ancestor > a,
body:not(.home) .site-header .primary-menu > .current_page_item > a,
body:not(.home) .site-header .primary-menu > .current_page_parent > a,
body:not(.home) .site-header .primary-menu > .current_page_ancestor > a,
.site-header.is-solid .primary-menu > .current-menu-item > a,
.site-header.is-solid .primary-menu > .current-menu-ancestor > a,
.site-header.is-solid .primary-menu > .current_page_item > a,
.site-header.is-solid .primary-menu > .current_page_parent > a,
.site-header.is-solid .primary-menu > .current_page_ancestor > a {
  color: var(--primary) !important;
  opacity: 1 !important;
}

body:not(.home) .site-header .primary-menu > li > a,
.site-header.is-solid .primary-menu > li > a {
  opacity: 1;
}

body:not(.home) .site-header .primary-menu > li > a:hover,
body:not(.home) .site-header .primary-menu > li:hover > a,
body:not(.home) .site-header .primary-menu > li:focus-within > a,
.site-header.is-solid .primary-menu > li > a:hover,
.site-header.is-solid .primary-menu > li:hover > a,
.site-header.is-solid .primary-menu > li:focus-within > a {
  color: var(--primary) !important;
}


/* v1.8.6: careers page and resume form */
.careers-page {
  background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
}
.careers-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.78fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.careers-content-panel,
.careers-form-panel {
  border: 1px solid rgba(0, 86, 167, 0.12);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(6, 27, 46, 0.08);
}
.careers-content-panel {
  padding: clamp(28px, 4vw, 52px);
}
.careers-content-panel h2 {
  margin: 10px 0 18px;
  color: var(--text);
  font-size: clamp(2.1rem, 4.2vw, 4.8rem);
  line-height: 1.15;
}
.careers-lead,
.careers-content-panel > p {
  color: var(--muted);
  line-height: 2.2;
  font-weight: 600;
  font-size: clamp(1rem, 1.22vw, 1.14rem);
}
.careers-positions-box {
  margin-top: 28px;
  padding: 26px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(0, 86, 167, 0.08), rgba(72, 169, 248, 0.10));
  border: 1px solid rgba(0, 86, 167, 0.10);
}
.careers-positions-box h3,
.careers-form-panel h3 {
  margin: 0 0 18px;
  color: var(--text);
  font-size: clamp(1.35rem, 2vw, 2rem);
}
.careers-positions-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.careers-positions-box li {
  position: relative;
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}
.careers-positions-box li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 9px;
  border-radius: 50%;
  background: var(--primary);
}
.careers-form-panel {
  padding: clamp(24px, 3.5vw, 38px);
  position: sticky;
  top: calc(var(--header-height) + 24px);
}
.careers-form-panel > p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 2;
  font-weight: 600;
}
.careers-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.careers-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
}
.careers-form label span {
  font-size: 0.92rem;
}
.careers-form input,
.careers-form textarea {
  width: 100%;
  border: 1px solid rgba(0, 86, 167, 0.16);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  padding: 13px 15px;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.careers-form input:focus,
.careers-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 86, 167, 0.10);
}
.careers-form-wide,
.careers-form .btn {
  grid-column: 1 / -1;
}
.careers-file-field small {
  color: var(--muted);
  font-weight: 600;
  line-height: 1.9;
}
.careers-form .btn {
  border: 0;
  cursor: pointer;
  justify-content: center;
  min-height: 52px;
}
.career-alert {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 16px;
  line-height: 1.9;
  font-weight: 800;
}
.career-alert-success {
  color: #0f6b3b;
  background: rgba(20, 176, 96, 0.11);
  border: 1px solid rgba(20, 176, 96, 0.22);
}
.career-alert-error {
  color: #9f1d1d;
  background: rgba(220, 38, 38, 0.10);
  border: 1px solid rgba(220, 38, 38, 0.20);
}
.careers-extra-content {
  padding-top: 0;
  background: #f6faff;
}
@media (max-width: 980px) {
  .careers-layout {
    grid-template-columns: 1fr;
  }
  .careers-form-panel {
    position: static;
  }
}
@media (max-width: 640px) {
  .careers-content-panel,
  .careers-form-panel {
    border-radius: 24px;
    padding: 22px;
  }
  .careers-form,
  .careers-positions-box ul {
    grid-template-columns: 1fr;
  }
}


/* v1.8.7 news/articles catalog page */
.news-catalog-page {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}
.news-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.news-catalog-card {
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(0, 86, 167, .11);
  box-shadow: 0 22px 64px rgba(8, 38, 70, .08);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.news-catalog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 86, 167, .22);
  box-shadow: 0 30px 78px rgba(0, 86, 167, .14);
}
.news-catalog-image {
  display: block;
  background: #eef7ff;
}
.news-catalog-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.news-catalog-body {
  padding: 24px;
}
.news-catalog-body time {
  display: inline-block;
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 12px;
  font-size: .92rem;
}
.news-catalog-body h3 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 1.8vw, 1.75rem);
  line-height: 1.55;
  color: var(--text);
}
.news-catalog-body h3 a {
  color: inherit;
  text-decoration: none;
}
.news-catalog-body p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 2;
}
.catalog-empty-message {
  padding: 34px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(0,86,167,.11);
  box-shadow: 0 18px 54px rgba(8,38,70,.08);
}
.news-pagination .page-numbers {
  display: inline-flex;
  min-width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-inline: 4px;
  padding-inline: 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0,86,167,.12);
  color: var(--primary);
  text-decoration: none;
  font-weight: 800;
}
.news-pagination .page-numbers.current,
.news-pagination .page-numbers:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}
@media (max-width: 560px) {
  .news-catalog-grid {
    grid-template-columns: 1fr;
  }
  .news-catalog-body {
    padding: 20px;
  }
}


/* v1.8.8 inverter repair landing page */
.inverter-repair-hero {
  min-height: clamp(480px, 58vw, 680px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(3, 23, 40, .88) 0%, rgba(0, 70, 128, .64) 48%, rgba(3, 23, 40, .28) 100%),
    var(--hero-bg-image, url('../img/hero-video-poster.jpg')) center / cover no-repeat;
}
.inverter-repair-hero .container {
  max-width: 1180px;
}
.inverter-repair-hero h1 {
  max-width: 930px;
  color: #fff;
  font-size: clamp(2.6rem, 5.4vw, 6.4rem);
  line-height: 1.18;
  margin: 16px 0 20px;
}
.inverter-repair-hero p {
  max-width: 760px;
  color: rgba(255,255,255,.88);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 2.15;
}
.repair-hero-actions,
.repair-why-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.inverter-repair-page {
  background: linear-gradient(180deg, #fff 0%, #f5f9fd 100%);
  overflow: hidden;
}
.repair-section {
  position: relative;
}
.repair-section .section-tag {
  color: var(--primary);
  font-weight: 900;
}
.repair-section h2 {
  margin: 12px 0 18px;
  color: var(--text);
  font-size: clamp(2rem, 3.5vw, 4.2rem);
  line-height: 1.3;
}
.repair-section h3 {
  color: var(--text);
}
.pt-0 {
  padding-top: 0 !important;
}
.repair-two-col {
  display: grid;
  grid-template-columns: minmax(260px, .86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.repair-two-col.align-start {
  align-items: start;
}
.repair-rich-text {
  display: grid;
  gap: 16px;
}
.repair-rich-text p,
.repair-section p {
  color: #5c6f81;
  line-height: 2.2;
  font-weight: 500;
}
.repair-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.repair-card {
  min-height: 255px;
  padding: 28px 24px;
  border-radius: 30px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,86,167,.12);
  box-shadow: 0 22px 64px rgba(6,27,46,.07);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.repair-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 80px rgba(0,86,167,.13);
  border-color: rgba(0,86,167,.26);
}
.repair-card-icon {
  width: 64px;
  height: 64px;
  display: inline-grid;
  place-items: center;
  border-radius: 20px;
  background: #eff7ff;
  color: var(--primary);
  margin-bottom: 24px;
}
.repair-card-icon svg {
  width: 34px;
  height: 34px;
}
.repair-card h3 {
  margin: 0 0 12px;
  font-size: 1.22rem;
  line-height: 1.7;
}
.repair-card p {
  margin: 0;
  line-height: 2;
  color: #627386;
}
.repair-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.repair-check-list li {
  position: relative;
  padding: 18px 52px 18px 20px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(0,86,167,.11);
  box-shadow: 0 14px 36px rgba(6,27,46,.045);
  color: #19354d;
  font-weight: 700;
  line-height: 1.9;
}
.repair-check-list li::before {
  content: '✓';
  position: absolute;
  right: 18px;
  top: 18px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(0,86,167,.1);
  color: var(--primary);
  font-weight: 900;
}
.repair-process {
  background: #f3f8fd;
}
.repair-section-head {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 34px;
}
.repair-step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.repair-step {
  min-height: 168px;
  padding: 24px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(0,86,167,.12);
  box-shadow: 0 18px 50px rgba(6,27,46,.06);
}
.repair-step span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  margin-bottom: 18px;
}
.repair-step h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.9;
}
.repair-feature-box,
.repair-why-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 42px;
  background:
    radial-gradient(circle at 10% 10%, rgba(77,183,255,.20), transparent 32%),
    linear-gradient(135deg, #061b2e 0%, #004a82 100%);
  color: #fff;
  box-shadow: 0 34px 90px rgba(0,52,95,.20);
}
.repair-feature-box h2,
.repair-feature-box p,
.repair-why-box h2,
.repair-why-box p,
.repair-feature-box .section-tag,
.repair-why-box .section-tag {
  color: #fff;
}
.repair-feature-box p {
  color: rgba(255,255,255,.84);
}
.repair-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.repair-chip-list span {
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.20);
  color: #fff;
  font-weight: 800;
}
.repair-solar-list,
.repair-why-list {
  grid-template-columns: 1fr;
}
.repair-why-list li {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.18);
  color: #fff;
  box-shadow: none;
}
.repair-why-list li::before {
  background: rgba(255,255,255,.16);
  color: #fff;
}
.repair-form-section {
  background: #eef6fc;
}
.repair-form-layout {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.repair-form-copy {
  position: sticky;
  top: calc(var(--header-height) + 30px);
}
.repair-contact-mini {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}
.repair-contact-mini a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(0,86,167,.10);
  color: var(--primary);
  text-decoration: none;
  font-weight: 900;
}
.repair-form-card {
  padding: clamp(22px, 4vw, 42px);
  border-radius: 34px;
  background: #fff;
  border: 1px solid rgba(0,86,167,.12);
  box-shadow: 0 24px 74px rgba(6,27,46,.10);
}
.repair-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.repair-form label {
  display: grid;
  gap: 8px;
  color: #183650;
  font-weight: 900;
}
.repair-form input,
.repair-form select,
.repair-form textarea {
  width: 100%;
  border: 1px solid rgba(0,86,167,.18);
  border-radius: 16px;
  padding: 13px 15px;
  background: #f8fbff;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
}
.repair-form textarea {
  resize: vertical;
}
.repair-form-wide,
.repair-submit {
  grid-column: 1 / -1;
}
.repair-file-field small {
  color: #6b7e90;
  line-height: 1.8;
  font-weight: 500;
}
.repair-hp {
  display: none !important;
}
.repair-alert {
  padding: 15px 18px;
  border-radius: 18px;
  margin-bottom: 18px;
  font-weight: 800;
}
.repair-alert-success {
  background: #e9f8ef;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.repair-alert-error {
  background: #fff1f2;
  color: #9f1239;
  border: 1px solid #fecdd3;
}
.repair-faq-list {
  display: grid;
  gap: 12px;
}
.repair-faq-list details {
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(0,86,167,.12);
  box-shadow: 0 16px 46px rgba(6,27,46,.05);
  overflow: hidden;
}
.repair-faq-list summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 900;
  color: var(--text);
}
.repair-faq-list p {
  margin: 0;
  padding: 0 24px 22px;
  color: #5f7183;
  line-height: 2;
}
@media (max-width: 1180px) {
  .repair-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .repair-step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .inverter-repair-hero { min-height: 520px; }
  .repair-two-col,
  .repair-feature-box,
  .repair-why-box,
  .repair-form-layout { grid-template-columns: 1fr; }
  .repair-form-copy { position: static; }
  .repair-check-list { grid-template-columns: 1fr; }
  .repair-card-grid { grid-template-columns: 1fr; }
  .repair-form { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .inverter-repair-hero h1 { font-size: clamp(2.15rem, 12vw, 3.2rem); }
  .repair-step-grid { grid-template-columns: 1fr; }
  .repair-feature-box,
  .repair-why-box,
  .repair-form-card { border-radius: 28px; }
  .repair-card { min-height: auto; }
}
