/* =========================================================
   Inner pages — premium polish (products / apps / news / CMS / contact)
   ========================================================= */

/* ---- Page hero ---- */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 4.5rem 0 3.75rem;
  background:
    radial-gradient(ellipse 55% 90% at 100% 0%, rgba(14, 107, 122, 0.42), transparent 55%),
    radial-gradient(ellipse 40% 70% at 0% 100%, rgba(212, 168, 75, 0.12), transparent 50%),
    linear-gradient(145deg, #041016, #0b1f28 55%, #0a3d48);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 85%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 48px rgba(14, 107, 122, 0.07);
  pointer-events: none;
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.page-hero--compact {
  padding: 3.5rem 0 3rem;
}

.page-hero--article .container,
.page-hero--compact .container {
  max-width: 920px;
}

.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 168, 75, 0.35);
  background: rgba(7, 24, 32, 0.35);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-hero-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(212, 168, 75, 0.65);
}

.page-hero h1 {
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.15;
  font-size: clamp(2.15rem, 4.6vw, 3.15rem);
  margin: 0 0 0.9rem;
  color: #fff;
}

.page-hero > .container > p,
.page-hero p:not(.article-meta) {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 38em;
  margin: 0;
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-hero-meta span {
  position: relative;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.page-hero-meta span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.65rem;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(212, 168, 75, 0.65);
  transform: translateY(-50%);
}

.page-hero--products {
  background:
    radial-gradient(ellipse 55% 90% at 100% 0%, rgba(14, 107, 122, 0.5), transparent 55%),
    radial-gradient(ellipse 35% 60% at 10% 100%, rgba(212, 168, 75, 0.14), transparent 50%),
    linear-gradient(145deg, #041016, #0b1f28 55%, #0a3d48);
}

.page-hero--apps {
  background:
    radial-gradient(ellipse 50% 80% at 90% 10%, rgba(26, 147, 166, 0.45), transparent 55%),
    radial-gradient(ellipse 40% 60% at 0% 90%, rgba(14, 107, 122, 0.25), transparent 50%),
    linear-gradient(150deg, #041016, #0c2430 50%, #0a4550);
}

.page-hero--news {
  background:
    radial-gradient(ellipse 50% 80% at 100% 20%, rgba(212, 168, 75, 0.18), transparent 55%),
    radial-gradient(ellipse 45% 70% at 0% 0%, rgba(14, 107, 122, 0.4), transparent 55%),
    linear-gradient(145deg, #041016, #0b1f28 55%, #123840);
}

.page-hero--contact {
  background:
    radial-gradient(ellipse 55% 90% at 0% 0%, rgba(14, 107, 122, 0.48), transparent 55%),
    radial-gradient(ellipse 40% 70% at 100% 100%, rgba(212, 168, 75, 0.14), transparent 50%),
    linear-gradient(145deg, #041016, #0b1f28 55%, #0a3d48);
}

.page-hero--about,
.page-hero--factory,
.page-hero--cert,
.page-hero--cms {
  background:
    radial-gradient(ellipse 50% 85% at 100% 0%, rgba(14, 107, 122, 0.44), transparent 55%),
    radial-gradient(ellipse 35% 55% at 0% 100%, rgba(212, 168, 75, 0.12), transparent 50%),
    linear-gradient(145deg, #041016, #0b1f28 55%, #0a3d48);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  font-size: 0.86rem;
}

.breadcrumb li {
  color: rgba(255, 255, 255, 0.45);
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.55rem;
  color: rgba(255, 255, 255, 0.25);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  margin: 0.35rem 0 0 !important;
  color: rgba(255, 255, 255, 0.58) !important;
  font-size: 0.92rem !important;
}

.article-meta span,
.article-meta time {
  position: relative;
}

.article-meta span:not(:last-child)::after,
.article-meta time:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.65rem;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(212, 168, 75, 0.7);
  transform: translateY(-50%);
}

/* ---- Shared section helpers ---- */
.section--catalog,
.section--product-detail,
.section--apps,
.section--app-detail,
.section--news,
.section--article,
.section--cms,
.section--contact {
  padding-top: 4.25rem;
  padding-bottom: 4.75rem;
}

.detail-block {
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}

.detail-block .section-head {
  margin-bottom: 1.75rem;
}

/* ---- Product cards ---- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  color: inherit;
  height: 100%;
  transition: transform 0.35s var(--ease, ease), box-shadow 0.35s ease, border-color 0.3s ease;
}

.product-card:hover {
  transform: translateY(-7px);
  border-color: rgba(14, 107, 122, 0.35);
  box-shadow: 0 24px 50px rgba(7, 24, 32, 0.12);
  color: inherit;
}

.product-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(14, 107, 122, 0.1), transparent 55%),
    #eef3f4;
}

.product-card-tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(7, 24, 32, 0.82);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease, ease);
}

.product-card:hover .product-card-media img {
  transform: scale(1.06);
}

.product-card-body {
  padding: 1.2rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-cat {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.product-card-body h3 {
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0 0 0.45rem;
}

.product-card-body p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0 0 0.9rem;
  flex: 1;
}

.card-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--teal);
}

/* ---- Catalog / filters ---- */
.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

.filters {
  position: sticky;
  top: calc(var(--header-h, 72px) + 1rem);
  border-radius: 18px;
  padding: 1.35rem 1.3rem 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(7, 24, 32, 0.06);
}

.filters-block + .filters-block {
  margin-top: 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.filters h3 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.85rem;
}

.filter-search {
  display: flex;
  gap: 0.45rem;
}

.filter-search input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  font: inherit;
  background: var(--paper, #f6f8f9);
}

.filter-search input:focus {
  outline: none;
  border-color: rgba(14, 107, 122, 0.45);
  box-shadow: 0 0 0 3px rgba(14, 107, 122, 0.12);
}

.filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}

.filter-list a {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 0.7rem;
  border-radius: 10px;
  color: inherit;
  font-size: 0.94rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.filter-list a:hover,
.filter-list a.is-active {
  background: rgba(14, 107, 122, 0.08);
  color: var(--teal);
}

.filter-list .count {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.filters-cta {
  margin-top: 1.5rem;
  padding: 1.1rem 1rem;
  border-radius: 14px;
  background:
    radial-gradient(ellipse 80% 100% at 0% 0%, rgba(14, 107, 122, 0.18), transparent 60%),
    #071820;
  color: #fff;
}

.filters-cta p {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.35rem;
  padding: 0.95rem 1.15rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}

.catalog-toolbar-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.catalog-toolbar-text strong {
  color: var(--ink);
  font-size: 1rem;
}

.catalog-clear {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--teal);
}

.catalog-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: -0.35rem 0 1.5rem;
}

.catalog-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.catalog-chip:hover {
  border-color: rgba(14, 107, 122, 0.35);
  color: var(--teal);
  transform: translateY(-1px);
}

.catalog-chip.is-active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

/* ---- Product detail ---- */
.product-detail {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.75rem;
  align-items: start;
}

.gallery-main {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 50% 45%, rgba(14, 107, 122, 0.1), transparent 55%),
    #eef3f4;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(7, 24, 32, 0.1);
  cursor: zoom-in;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease, ease);
}

.gallery-main:hover img {
  transform: scale(1.03);
}

.gallery-hint {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(7, 24, 32, 0.72);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.gallery-thumbs button {
  width: 72px;
  height: 72px;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #eef3f4;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.gallery-thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs button:hover,
.gallery-thumbs button.is-active {
  border-color: var(--teal);
  transform: translateY(-2px);
}

.product-buybox {
  padding: 0.25rem 0;
}

.product-meta-cat {
  display: inline-flex;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(14, 107, 122, 0.1);
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-title {
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.2;
  margin: 0 0 0.85rem;
  letter-spacing: 0;
}

.product-summary {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 1.5rem;
}

.specs-wrap {
  margin-bottom: 1.6rem;
}

.specs-heading {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.specs-table th,
.specs-table td {
  padding: 0.8rem 1rem;
  text-align: left;
  font-size: 0.94rem;
  border-bottom: 1px solid var(--line);
}

.specs-table tr:last-child th,
.specs-table tr:last-child td {
  border-bottom: 0;
}

.specs-table th {
  width: 42%;
  background: rgba(14, 107, 122, 0.05);
  color: var(--ink);
  font-weight: 700;
}

.specs-table tr:nth-child(even) td {
  background: rgba(7, 24, 32, 0.015);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.product-trust {
  list-style: none;
  margin: 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.55rem;
}

.product-trust li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.product-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.product-content.prose {
  max-width: 820px;
}

.product-content > h2,
.detail-block .section-head h2 {
  letter-spacing: 0;
}

.app-grid--compact {
  margin-top: 0.25rem;
}

/* ---- Applications showcase ---- */
.app-showcase {
  display: grid;
  gap: 1.35rem;
}

.app-feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 260px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  color: inherit;
  box-shadow: 0 8px 28px rgba(7, 24, 32, 0.05);
  transition: transform 0.35s var(--ease, ease), box-shadow 0.35s ease, border-color 0.3s ease;
}

.app-feature:nth-child(even) {
  grid-template-columns: 1fr 1.05fr;
}

.app-feature:nth-child(even) .app-feature-media {
  order: 2;
}

.app-feature:hover {
  transform: translateY(-6px);
  border-color: rgba(14, 107, 122, 0.3);
  box-shadow: 0 26px 54px rgba(7, 24, 32, 0.12);
  color: inherit;
}

.app-feature-media {
  min-height: 100%;
  background: var(--ink);
  overflow: hidden;
}

.app-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease, ease);
}

.app-feature:hover .app-feature-media img {
  transform: scale(1.06);
}

.app-feature-body {
  padding: 2rem 2.1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.app-feature-index {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 0.7rem;
}

.app-feature-body h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin: 0 0 0.7rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.app-feature-body p {
  color: var(--muted);
  margin: 0 0 1.1rem;
  line-height: 1.65;
  font-size: 1rem;
}

.app-detail {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 0.5rem;
}

.app-detail-media {
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: 0 28px 60px rgba(7, 24, 32, 0.14);
  border: 1px solid var(--line);
}

.app-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.app-detail-title {
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  letter-spacing: 0;
  margin: 0.55rem 0 1rem;
  line-height: 1.25;
}

.app-detail-points {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 1.15rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.55rem;
}

.app-detail-points li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.app-detail-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.apps-intro {
  margin-bottom: 2rem;
}

/* ---- App / news cards (shared list patterns) ---- */
.app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.app-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 200px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  color: inherit;
  transition: transform 0.35s var(--ease, ease), box-shadow 0.35s ease;
}

.app-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(7, 24, 32, 0.12);
  color: inherit;
}

.app-card-media {
  min-height: 100%;
  overflow: hidden;
  background: var(--ink);
}

.app-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease, ease);
}

.app-card:hover .app-card-media img {
  transform: scale(1.06);
}

.app-card-body {
  padding: 1.4rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.app-card-body h3 {
  font-size: 1.15rem;
  margin: 0 0 0.45rem;
  line-height: 1.3;
}

.app-card-body p {
  color: var(--muted);
  margin: 0 0 0.85rem;
  font-size: 0.94rem;
  line-height: 1.55;
}

/* ---- News ---- */
.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 2rem;
}

.news-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.news-chip:hover {
  border-color: rgba(14, 107, 122, 0.35);
  color: var(--teal);
}

.news-chip.is-active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.news-grid,
.news-grid--rich {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.news-grid--rich .news-card.is-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 320px;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  color: inherit;
  height: 100%;
  transition: transform 0.35s var(--ease, ease), box-shadow 0.35s ease;
}

.news-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 50px rgba(7, 24, 32, 0.12);
  color: inherit;
}

.news-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper, #f6f8f9);
}

.news-card.is-featured .news-card-media {
  aspect-ratio: auto;
  min-height: 100%;
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease, ease);
}

.news-card:hover .news-card-media img {
  transform: scale(1.05);
}

.news-card-body {
  padding: 1.25rem 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card.is-featured .news-card-body {
  justify-content: center;
  padding: 2rem 2.1rem;
}

.news-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.news-card-badge {
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(212, 168, 75, 0.15);
  color: #9a6f1f;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-card-body h3 {
  font-size: 1.08rem;
  line-height: 1.35;
  margin: 0 0 0.55rem;
}

.news-card.is-featured .news-card-body h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  line-height: 1.25;
}

.news-card-body p {
  color: var(--muted);
  margin: 0 0 1rem;
  flex: 1;
  font-size: 0.94rem;
  line-height: 1.6;
}

/* ---- Article detail ---- */
.news-show {
  display: grid;
  grid-template-columns: 1.45fr 0.7fr;
  gap: 2.25rem;
  align-items: start;
}

.article-cover {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 1.75rem;
  aspect-ratio: 16 / 9;
  box-shadow: 0 20px 48px rgba(7, 24, 32, 0.12);
  border: 1px solid var(--line);
}

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

.article-lede {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.article-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.article-nav a {
  display: block;
  padding: 1.1rem 1.2rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.article-nav a:hover {
  border-color: rgba(14, 107, 122, 0.35);
  box-shadow: 0 12px 28px rgba(7, 24, 32, 0.08);
  transform: translateY(-2px);
  color: inherit;
}

.article-nav .label {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.article-nav-next {
  text-align: right;
}

.sidebar-block {
  padding: 1.35rem 1.35rem 1.45rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(7, 24, 32, 0.04);
}

.sidebar-block + .sidebar-block {
  margin-top: 1rem;
}

.sidebar-block h3 {
  font-size: 1rem;
  margin: 0 0 0.9rem;
}

.sidebar-cta {
  background:
    radial-gradient(ellipse 80% 100% at 0% 0%, rgba(14, 107, 122, 0.22), transparent 55%),
    #071820;
  border-color: transparent;
  color: #fff;
}

.sidebar-cta h3 {
  color: #fff;
}

.sidebar-cta p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.94rem;
  line-height: 1.55;
  margin: 0 0 1rem;
}

.sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-list li + li {
  border-top: 1px solid var(--line);
}

.sidebar-list a {
  display: block;
  padding: 0.75rem 0;
  color: inherit;
}

.sidebar-list a:hover {
  color: var(--teal);
}

.sidebar-list-title {
  display: block;
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.4;
}

.sidebar-list time {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.sidebar-empty {
  display: block;
  padding: 0.65rem 0;
  color: var(--muted);
}

/* ---- CMS pages ---- */
.cms-cover {
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  margin-bottom: 2rem;
  box-shadow: 0 24px 56px rgba(7, 24, 32, 0.14);
  border: 1px solid var(--line);
}

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

.cms-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.cms-stat {
  padding: 1.35rem 1.2rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
  box-shadow: 0 8px 24px rgba(7, 24, 32, 0.04);
}

.cms-stat strong {
  display: block;
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  color: var(--teal);
  margin-bottom: 0.3rem;
  letter-spacing: 0;
}

.cms-stat span {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.cms-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr;
  gap: 2.25rem;
  align-items: start;
}

.cms-prose {
  max-width: none;
}

.cms-aside-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.cms-aside-list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.45;
}

.cms-aside-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.cms-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0 0 2.75rem;
}

.cms-process-step {
  padding: 1.35rem 1.25rem 1.45rem;
  border-radius: 16px;
  background:
    radial-gradient(ellipse 80% 100% at 0% 0%, rgba(14, 107, 122, 0.12), transparent 60%),
    #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(7, 24, 32, 0.04);
  transition: transform 0.3s var(--ease, ease), box-shadow 0.3s ease, border-color 0.3s ease;
}

.cms-process-step:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 107, 122, 0.3);
  box-shadow: 0 16px 36px rgba(7, 24, 32, 0.1);
}

.cms-process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 75, 0.45);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.85rem;
}

.cms-process-step strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
  letter-spacing: 0;
}

.cms-process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.cms-stat {
  transition: transform 0.3s var(--ease, ease), box-shadow 0.3s ease, border-color 0.3s ease;
}

.cms-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 107, 122, 0.3);
  box-shadow: 0 16px 36px rgba(7, 24, 32, 0.1);
}

.cms-cover {
  position: relative;
}

.cms-cover::after {
  content: "";
  position: absolute;
  inset: auto -14px -14px auto;
  width: 28%;
  height: 40%;
  border: 1px solid rgba(14, 107, 122, 0.35);
  border-radius: 18px;
  z-index: -1;
  pointer-events: none;
}

/* ---- Contact ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-intro h2 {
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: 0;
  margin: 0.65rem 0 0.85rem;
  line-height: 1.25;
}

.contact-lead {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 1.75rem;
  font-size: 1.02rem;
}

.contact-info-list {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.contact-info-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 1.05rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}

.contact-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(14, 107, 122, 0.08);
  position: relative;
  flex-shrink: 0;
}

.contact-info-icon::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50% 50% 50% 0;
  background: var(--teal);
  transform: rotate(-45deg);
}

.contact-info-icon--phone::before {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  transform: none;
  box-shadow: inset 0 0 0 2px var(--teal);
  background: transparent;
}

.contact-info-icon--mail::before {
  width: 14px;
  height: 10px;
  border-radius: 2px;
  transform: none;
  background: transparent;
  border: 2px solid var(--teal);
}

.contact-info-icon--chat::before {
  width: 14px;
  height: 12px;
  border-radius: 6px 6px 6px 2px;
  transform: none;
  background: var(--teal);
}

.contact-info-list strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.contact-info-list a,
.contact-info-list span {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.45;
  font-size: 0.98rem;
}

.contact-hours {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(14, 107, 122, 0.06);
  border: 1px solid rgba(14, 107, 122, 0.12);
}

.contact-hours strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.3rem;
}

.contact-hours span {
  color: var(--muted);
  font-size: 0.94rem;
}

.contact-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.contact-quick-link {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.contact-quick-link:hover {
  border-color: rgba(14, 107, 122, 0.4);
  color: var(--teal);
  background: rgba(14, 107, 122, 0.05);
  transform: translateY(-1px);
}

.contact-submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.35rem;
  padding: 0.95rem 1.5rem;
}

.contact-info-list li {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.contact-info-list li:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 107, 122, 0.28);
  box-shadow: 0 12px 28px rgba(7, 24, 32, 0.08);
}

.map-block-head p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  max-width: 36em;
}

.contact-form {
  padding: 1.75rem 1.8rem 1.9rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(7, 24, 32, 0.08);
}

.contact-form-head {
  margin-bottom: 1.35rem;
}

.contact-form-head h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.contact-form-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.form-group .required {
  color: #c0392b;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  background: var(--paper, #f6f8f9);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  background: #fff;
  border-color: rgba(14, 107, 122, 0.45);
  box-shadow: 0 0 0 3px rgba(14, 107, 122, 0.12);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-error {
  margin-top: 0.35rem;
  color: #c0392b;
  font-size: 0.84rem;
}

.alert {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  margin-bottom: 1.15rem;
  font-size: 0.94rem;
}

.alert-success {
  background: rgba(14, 107, 122, 0.1);
  color: var(--teal);
  border: 1px solid rgba(14, 107, 122, 0.2);
}

.alert-error {
  background: rgba(192, 57, 43, 0.08);
  color: #c0392b;
  border: 1px solid rgba(192, 57, 43, 0.18);
}

.map-block {
  margin-top: 3.5rem;
}

.map-block-head {
  margin-bottom: 1.15rem;
}

.map-block-head h2 {
  margin: 0.55rem 0 0;
  letter-spacing: 0;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
}

.map-embed {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(7, 24, 32, 0.1);
  min-height: 360px;
  background: var(--paper, #f6f8f9);
}

.map-embed iframe {
  display: block;
  width: 100%;
  min-height: 360px;
  border: 0;
}

/* ---- CTA band ---- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 4.25rem 0;
  background:
    radial-gradient(ellipse 50% 90% at 0% 50%, rgba(14, 107, 122, 0.4), transparent 55%),
    radial-gradient(ellipse 40% 70% at 100% 20%, rgba(212, 168, 75, 0.12), transparent 50%),
    #071820;
}

.cta-band::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.cta-band .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band .section-eyebrow {
  color: var(--accent);
  border-color: rgba(212, 168, 75, 0.35);
  background: rgba(212, 168, 75, 0.08);
}

.cta-band h2 {
  color: #fff;
  margin: 0.55rem 0 0.65rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 0;
  max-width: 16em;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.68);
  margin: 0;
  max-width: 38em;
  line-height: 1.65;
}

/* ---- Empty / pagination ---- */
.empty-state {
  text-align: center;
  padding: 3.5rem 1.5rem;
  border-radius: 18px;
  border: 1px dashed var(--line);
  background: #fff;
}

.empty-state-icon {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  margin-bottom: 1rem;
  background:
    radial-gradient(circle at 50% 50%, rgba(14, 107, 122, 0.18), transparent 60%),
    rgba(14, 107, 122, 0.08);
  border: 1px solid rgba(14, 107, 122, 0.15);
  position: relative;
}

.empty-state-icon::before {
  content: "";
  position: absolute;
  inset: 35%;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.55;
}

.empty-state h3 {
  margin: 0 0 0.55rem;
  font-size: 1.25rem;
  letter-spacing: 0;
}

.empty-state p {
  color: var(--muted);
  margin: 0 0 1.25rem;
  font-size: 1.02rem;
}

.empty-state-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.pagination-wrap {
  margin-top: 2.25rem;
  display: flex;
  justify-content: center;
}

.pagination-wrap nav {
  display: flex;
}

.pagination-wrap .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination-wrap .page-link,
.pagination-wrap a,
.pagination-wrap span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 650;
}

.pagination-wrap .active span,
.pagination-wrap [aria-current="page"] span {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

/* ---- Prose polish ---- */
.prose {
  color: var(--ink);
  line-height: 1.75;
  font-size: 1.02rem;
}

.prose h2,
.prose h3 {
  letter-spacing: 0;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.prose p,
.prose ul,
.prose ol {
  margin: 0 0 1rem;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.prose a {
  color: var(--teal);
  font-weight: 650;
}

.prose img {
  border-radius: 14px;
  max-width: 100%;
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .product-grid,
  .news-grid,
  .news-grid--rich {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid--rich .news-card.is-featured {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .catalog-layout,
  .product-detail,
  .app-detail,
  .news-show,
  .cms-layout,
  .contact-layout,
  .app-feature,
  .app-feature:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .app-feature:nth-child(even) .app-feature-media {
    order: 0;
  }

  .app-feature-media,
  .app-card-media {
    aspect-ratio: 16 / 9;
  }

  .filters {
    position: static;
  }

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

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

  .page-hero::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .product-grid,
  .app-grid,
  .news-grid,
  .news-grid--rich,
  .form-row,
  .article-nav,
  .cms-stats,
  .cms-process {
    grid-template-columns: 1fr;
  }

  .news-grid--rich .news-card.is-featured {
    grid-template-columns: 1fr;
  }

  .app-card {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 1.35rem;
  }

  .cms-cover {
    aspect-ratio: 16 / 9;
  }

  .cms-cover::after {
    display: none;
  }

  .page-hero {
    padding: 3.25rem 0 2.75rem;
  }

  .page-hero-meta span:not(:last-child)::after {
    display: none;
  }
}
