/*
Theme Name: Yongyi Precision
Theme URI: https://yongyidies.com/
Author: Yongyi Wire Dies
Description: Lightweight custom WordPress theme for Yongyi Wire Dies product and service pages.
Version: 0.1.12
Text Domain: yongyi-precision
*/

:root {
  --yy-ink: #102033;
  --yy-ink-soft: #26384d;
  --yy-muted: #5f6d7d;
  --yy-line: #dfe6ee;
  --yy-soft: #f5f7fb;
  --yy-blue: #0b63b6;
  --yy-cyan: #1da7c9;
  --yy-gold: #c7902f;
  --yy-dark: #071523;
  --yy-radius: 8px;
  --yy-shadow: 0 18px 42px rgba(15, 39, 64, 0.1);
  --yy-wide: min(1120px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--yy-ink-soft);
  background: #fff;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

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

a:hover {
  color: #084c8d;
}

.yy-wrap {
  width: var(--yy-wide);
  margin: 0 auto;
}

.yy-site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(16, 32, 51, 0.1);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

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

.yy-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.yy-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--yy-ink);
}

.yy-logo-img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex: 0 0 auto;
}

.yy-brand-text {
  display: block;
}

.yy-mark {
  width: 42px;
  height: 42px;
  border: 4px solid var(--yy-blue);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--yy-blue);
  font-weight: 900;
  line-height: 1;
}

.yy-brand-text strong {
  display: block;
  font-size: 19px;
  line-height: 1.1;
  letter-spacing: 0;
}

.yy-brand-text span {
  display: block;
  margin-top: 2px;
  color: var(--yy-muted);
  font-size: 12px;
  line-height: 1.2;
}

.yy-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.yy-nav li {
  position: relative;
}

.yy-nav a {
  color: var(--yy-ink);
  font-size: 14px;
  font-weight: 800;
}

.yy-nav a:hover {
  color: var(--yy-blue);
}

.yy-nav ul ul {
  position: absolute;
  top: calc(100% + 18px);
  left: -18px;
  min-width: 230px;
  display: grid;
  gap: 0;
  padding: 10px;
  border: 1px solid rgba(16, 32, 51, 0.1);
  border-radius: var(--yy-radius);
  background: #fff;
  box-shadow: var(--yy-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.yy-nav li:hover > ul,
.yy-nav li:focus-within > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.yy-nav ul ul a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--yy-ink-soft);
  white-space: nowrap;
}

.yy-nav ul ul a:hover {
  background: var(--yy-soft);
  color: var(--yy-blue);
}

.yy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: var(--yy-blue);
  color: #fff !important;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(11, 99, 182, 0.22);
  white-space: nowrap;
}

.yy-button.secondary {
  border-color: rgba(16, 32, 51, 0.14);
  background: #fff;
  color: var(--yy-ink) !important;
  box-shadow: 0 12px 28px rgba(15, 39, 64, 0.1);
}

.yy-button.dark {
  background: var(--yy-ink);
}

.yy-hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 42%, rgba(29, 167, 201, 0.2), rgba(29, 167, 201, 0) 32%),
    linear-gradient(112deg, #071523 0%, #0d243c 52%, #dfe8f1 52%, #f8fafc 100%);
}

.yy-hero-inner {
  width: var(--yy-wide);
  min-height: 640px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(36px, 5vw, 68px);
  padding: 74px 0;
}

.yy-kicker {
  margin: 0 0 14px;
  color: var(--yy-cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.yy-hero h1,
.yy-page-hero h1,
.yy-section-head h2,
.yy-split h2 {
  margin: 0;
  color: var(--yy-ink);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

.yy-hero h1 {
  max-width: 680px;
  color: #fff;
  font-size: clamp(40px, 5vw, 66px);
}

.yy-hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
}

.yy-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.yy-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.yy-stat {
  min-height: 118px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--yy-radius);
  background: rgba(255, 255, 255, 0.11);
}

.yy-stat strong {
  display: block;
  color: #fff;
  font-size: 18px;
}

.yy-stat span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.48;
}

.yy-hero-product {
  margin: 0;
  position: relative;
  padding: 16px;
  border: 1px solid rgba(16, 32, 51, 0.08);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(229, 237, 246, 0.9));
  box-shadow: 0 34px 90px rgba(7, 21, 35, 0.2);
}

.yy-hero-product::before {
  content: "";
  position: absolute;
  inset: 14% 2% -10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 167, 201, 0.24), rgba(29, 167, 201, 0) 62%);
  filter: blur(20px);
}

.yy-hero-product img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 22px 58px rgba(7, 21, 35, 0.18);
}

.yy-hero-product figcaption {
  position: relative;
  margin: 12px 4px 0;
  color: rgba(16, 32, 51, 0.62);
  font-size: 13px;
  text-align: right;
}

.yy-section {
  padding: 82px 0;
  background: #fff;
}

.yy-section.soft {
  background: linear-gradient(180deg, #f7f9fc 0%, #eef4f9 100%);
}

.yy-section-head {
  width: var(--yy-wide);
  margin: 0 auto 38px;
  text-align: center;
}

.yy-section-head h2,
.yy-split h2 {
  font-size: clamp(32px, 3.4vw, 46px);
}

.yy-section-head p {
  max-width: 720px;
  margin: 12px auto 0;
  color: var(--yy-muted);
}

.yy-grid {
  width: var(--yy-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.yy-card {
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--yy-line);
  border-radius: var(--yy-radius);
  background: #fff;
  box-shadow: var(--yy-shadow);
}

.yy-card-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background:
    radial-gradient(circle at 52% 40%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 48%),
    linear-gradient(145deg, #eef4fa, #dfe8f1);
}

.yy-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(7, 21, 35, 0.07));
}

.yy-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.04) brightness(1.02);
  transition: filter 0.35s ease, transform 0.35s ease;
}

.yy-card:hover .yy-card-media img {
  filter: saturate(0.98) contrast(1.08) brightness(1.03);
  transform: scale(1.035);
}

.yy-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 218px;
  padding: 21px;
}

.yy-card h3 {
  margin: 0;
  color: var(--yy-ink);
  font-size: 20px;
  line-height: 1.2;
}

.yy-card p {
  margin: 0;
  color: var(--yy-muted);
  font-size: 14px;
  line-height: 1.58;
}

.yy-card-link {
  margin-top: auto;
  color: var(--yy-blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.yy-product-grid {
  margin-top: 30px;
}

.yy-new-product {
  width: var(--yy-wide);
  margin: 0 auto 34px;
  padding: clamp(20px, 3vw, 32px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--yy-radius);
  color: #fff;
  background:
    radial-gradient(circle at 25% 26%, rgba(29, 167, 201, 0.26), rgba(29, 167, 201, 0) 32%),
    linear-gradient(135deg, #071523 0%, #102b45 62%, #123653 100%);
  box-shadow: 0 24px 70px rgba(7, 21, 35, 0.2);
}

.yy-new-product-media {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(145deg, #ecf2f8, #dbe6f0);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.2);
}

.yy-new-product-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  filter: saturate(0.94) contrast(1.06) brightness(1.02);
}

.yy-new-product h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.06;
  font-weight: 900;
}

.yy-new-product p:not(.yy-kicker) {
  max-width: 560px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.yy-feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.yy-feature-chips span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 800;
}

.yy-new-product-compact {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

@media (min-width: 901px) {
  .yy-grid > .yy-card:last-child:nth-child(3n + 1) {
    grid-column: 2;
  }
}

.yy-feature {
  width: var(--yy-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 46px;
  align-items: center;
}

.yy-feature h2 {
  margin: 0;
  color: var(--yy-ink);
  font-size: clamp(32px, 3.8vw, 50px);
  line-height: 1.1;
}

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

.yy-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.yy-feature-list div {
  padding: 16px;
  border: 1px solid var(--yy-line);
  border-radius: var(--yy-radius);
  background: #fff;
  box-shadow: 0 12px 26px rgba(15, 39, 64, 0.08);
}

.yy-feature-list strong {
  display: block;
  color: var(--yy-ink);
}

.yy-feature-list span {
  display: block;
  margin-top: 4px;
  color: var(--yy-muted);
  font-size: 14px;
  line-height: 1.5;
}

.yy-feature figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--yy-radius);
  box-shadow: 0 28px 70px rgba(15, 39, 64, 0.2);
}

.yy-feature figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.yy-split {
  width: var(--yy-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 54px;
  align-items: center;
}

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

.yy-list li {
  position: relative;
  padding-left: 28px;
  color: #344155;
}

.yy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yy-blue);
  box-shadow: 0 0 0 5px rgba(11, 99, 182, 0.12);
}

.yy-content {
  max-width: 760px;
  margin: 0 auto;
  color: var(--yy-muted);
}

.yy-content h2,
.yy-content h3 {
  color: var(--yy-ink);
  line-height: 1.18;
}

.yy-service-grid {
  width: var(--yy-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.yy-service {
  min-height: 240px;
  overflow: hidden;
  padding: 0 26px 26px;
  border: 1px solid rgba(16, 32, 51, 0.1);
  border-radius: var(--yy-radius);
  background: #fff;
  box-shadow: var(--yy-shadow);
}

.yy-service img {
  display: block;
  width: calc(100% + 52px);
  height: 170px;
  margin: 0 -26px 22px;
  object-fit: cover;
  background: #e1e7ee;
}

.yy-service span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(11, 99, 182, 0.1);
  color: var(--yy-blue);
  font-weight: 900;
}

.yy-service h3 {
  margin: 0;
  color: var(--yy-ink);
  font-size: 22px;
  line-height: 1.2;
}

.yy-service p {
  margin: 12px 0 0;
  color: var(--yy-muted);
}

.yy-timeline {
  width: var(--yy-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.yy-timeline-item {
  padding: 20px;
  border: 1px solid var(--yy-line);
  border-radius: var(--yy-radius);
  background: #fff;
  box-shadow: 0 12px 26px rgba(15, 39, 64, 0.07);
}

.yy-timeline-item strong {
  display: block;
  color: var(--yy-blue);
  font-size: 22px;
}

.yy-timeline-item span {
  display: block;
  margin-top: 8px;
  color: var(--yy-muted);
  font-size: 14px;
  line-height: 1.5;
}

.yy-download-grid {
  width: var(--yy-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.yy-download-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border: 1px solid rgba(16, 32, 51, 0.1);
  border-radius: var(--yy-radius);
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
  box-shadow: var(--yy-shadow);
  color: var(--yy-ink);
}

.yy-download-card:hover {
  color: var(--yy-ink);
  transform: translateY(-2px);
}

.yy-download-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(11, 99, 182, 0.1);
  color: var(--yy-blue);
  font-size: 13px;
  font-weight: 900;
}

.yy-download-card strong {
  margin-top: 6px;
  font-size: 24px;
  line-height: 1.15;
}

.yy-download-card em {
  color: var(--yy-blue);
  font-style: normal;
  font-weight: 800;
}

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

.yy-download-action {
  margin-top: auto;
  color: var(--yy-blue);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.yy-news-list {
  width: min(920px, var(--yy-wide));
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.yy-news-item {
  padding: 24px 28px;
  border: 1px solid rgba(16, 32, 51, 0.1);
  border-radius: var(--yy-radius);
  background: #fff;
  box-shadow: 0 16px 34px rgba(16, 32, 51, 0.07);
}

.yy-news-item time {
  display: block;
  margin-bottom: 8px;
  color: var(--yy-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.yy-news-item h3 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.16;
}

.yy-news-item h3 a {
  color: var(--yy-ink);
}

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

.yy-photo-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.yy-photo-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--yy-radius);
  box-shadow: var(--yy-shadow);
  background: #dfe6ee;
}

.yy-photo-stack img:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 7;
}

.yy-photo-stack img:not(:first-child) {
  aspect-ratio: 4 / 3;
}

.yy-band {
  padding: 74px 0;
  color: #fff;
  background: linear-gradient(115deg, #071523 0%, #102b45 62%, #0b63b6 100%);
}

.yy-band h2 {
  max-width: 780px;
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 3.8vw, 46px);
  line-height: 1.13;
}

.yy-band p {
  max-width: 760px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.yy-contact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.yy-contact-item {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--yy-radius);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.yy-contact-item strong {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.yy-page-hero {
  padding: 88px 0;
  color: #fff;
  background: linear-gradient(115deg, #071523, #123653);
}

.yy-page-hero h1 {
  max-width: 760px;
  color: #fff;
  font-size: clamp(42px, 5vw, 66px);
}

.yy-page-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.yy-page-hero.has-image {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #071523;
}

.yy-page-hero.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--yy-hero-image);
  background-size: cover;
  background-position: center;
  opacity: 0.4;
}

.yy-page-hero.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 21, 35, 0.9), rgba(7, 21, 35, 0.58), rgba(7, 21, 35, 0.35));
}

.yy-product-detail {
  padding: 74px 0;
}

.yy-product-layout {
  width: var(--yy-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 50px;
  align-items: start;
}

.yy-product-layout figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--yy-radius);
  background: #f2f5f8;
  box-shadow: var(--yy-shadow);
}

.yy-product-layout figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  filter: saturate(0.94) contrast(1.04) brightness(1.02);
}

.yy-product-copy h2 {
  margin: 0;
  color: var(--yy-ink);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.12;
}

.yy-product-copy p {
  color: var(--yy-muted);
}

.yy-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0;
}

.yy-spec {
  padding: 16px;
  border: 1px solid var(--yy-line);
  border-radius: var(--yy-radius);
  background: var(--yy-soft);
}

.yy-spec strong {
  display: block;
  color: var(--yy-ink);
}

.yy-contact-layout {
  width: var(--yy-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 36px;
}

.yy-contact-card {
  padding: 28px;
  border: 1px solid var(--yy-line);
  border-radius: var(--yy-radius);
  background: #fff;
  box-shadow: var(--yy-shadow);
}

.yy-contact-card h3 {
  margin: 0 0 18px;
  color: var(--yy-ink);
}

.yy-contact-card p {
  margin: 10px 0;
  color: var(--yy-muted);
}

.yy-quote-panel {
  padding: 34px;
  border-radius: var(--yy-radius);
  color: #fff;
  background: linear-gradient(135deg, #071523, #103653);
  box-shadow: var(--yy-shadow);
}

.yy-quote-panel h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.12;
}

.yy-quote-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.yy-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.yy-related {
  padding-top: 22px;
}

.yy-site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #1f1f1f;
}

.yy-footer-main {
  width: var(--yy-wide);
  margin: 0 auto;
  padding: 54px 0;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

.yy-footer-main strong {
  color: #fff;
}

.yy-footer-main p {
  margin: 8px 0;
}

.yy-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  font-size: 13px;
}

.yy-footer-bottom .yy-wrap {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

@media (max-width: 900px) {
  body.admin-bar .yy-site-header {
    top: 46px;
  }

  .yy-header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding: 16px 0;
  }

  .yy-nav ul {
    flex-wrap: wrap;
    gap: 16px 22px;
  }

  .yy-nav ul ul {
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 10px;
    padding: 0 0 0 14px;
    border: 0;
    border-left: 2px solid var(--yy-line);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .yy-nav ul ul a {
    padding: 4px 0;
    white-space: normal;
  }

  .yy-hero-inner,
  .yy-new-product,
  .yy-feature,
  .yy-split,
  .yy-product-layout,
  .yy-footer-main {
    grid-template-columns: 1fr;
  }

  .yy-hero {
    background:
      radial-gradient(circle at 70% 88%, rgba(29, 167, 201, 0.18), rgba(29, 167, 201, 0) 34%),
      linear-gradient(180deg, #071523 0%, #0d2238 100%);
  }

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

  .yy-hero-stats,
  .yy-contact-strip,
  .yy-service-grid,
  .yy-download-grid,
  .yy-contact-layout {
    grid-template-columns: 1fr;
  }

  .yy-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  :root {
    --yy-wide: calc(100vw - 36px);
  }

  .yy-hero-inner {
    min-height: 0;
    padding: 58px 0;
  }

  .yy-section,
  .yy-band,
  .yy-page-hero,
  .yy-product-detail {
    padding: 56px 0;
  }

  .yy-grid,
  .yy-new-product,
  .yy-feature-list,
  .yy-photo-stack,
  .yy-spec-grid,
  .yy-timeline {
    grid-template-columns: 1fr;
  }

  .yy-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .yy-button {
    width: 100%;
  }

  .yy-photo-stack img:first-child {
    aspect-ratio: 4 / 3;
  }

  .yy-footer-bottom .yy-wrap {
    flex-direction: column;
  }
}
