:root {
  --yd-bg: #f4f6f3;
  --yd-fg: #1a2820;
  --yd-muted: #5c6a62;
  --yd-line: #d5e0d8;
  --yd-white: #ffffff;
  --yd-teal: #1b6b45;
  --yd-teal-dark: #145536;
  --yd-navy: #0f3121;
  --yd-gold: #c4a574;
  --yd-header: #ffffff;
  --yd-radius: 999px;
  --yd-card: 16px;
  --gap: 22px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  background: var(--yd-bg);
  color: var(--yd-fg);
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

html.i18n-pending body {
  visibility: hidden;
}

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

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

.topbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yd-teal);
  color: var(--yd-white);
  font-size: 0.82rem;
  padding: 8px 120px;
  text-align: center;
  letter-spacing: 0.04em;
  min-height: 36px;
}

.topbar .lang-switch {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  border-color: rgba(255, 255, 255, 0.35);
}

.topbar .lang-switch button {
  color: var(--yd-white);
}

.topbar .lang-switch button[aria-pressed="true"] {
  background: var(--yd-white);
  color: var(--yd-teal);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--yd-header);
  border-bottom: 1px solid var(--yd-line);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: nowrap;
}

.site-logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.16em;
  color: var(--yd-navy);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--yd-line);
  border-radius: var(--yd-radius);
  overflow: hidden;
  flex-shrink: 0;
}

.lang-switch button {
  margin: 0;
  background: transparent;
  border: 0;
  padding: 8px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--yd-navy);
  cursor: pointer;
}

.lang-switch button[aria-pressed="true"] {
  background: var(--yd-navy);
  color: var(--yd-white);
}

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

.nav-primary > li {
  position: relative;
}

.nav-primary a {
  font-size: 0.95rem;
  color: var(--yd-navy);
}

.nav-primary > li > a:hover {
  color: var(--yd-teal);
}

.nav-primary .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: var(--yd-white);
  border: 1px solid var(--yd-line);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(15, 49, 33, 0.08);
}

.nav-primary > li:hover > .sub-menu,
.nav-primary > li:focus-within > .sub-menu {
  display: block;
}

.nav-primary .sub-menu a {
  display: block;
  padding: 8px 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: var(--yd-radius);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 0;
}

.btn-primary,
.header-quote {
  background: var(--yd-teal);
  color: var(--yd-white);
}

.btn-primary:hover,
.header-quote:hover {
  background: var(--yd-teal-dark);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.92);
  color: var(--yd-navy);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--yd-navy);
}

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

.slideshow-track {
  display: flex;
  width: 300%;
  transition: transform 0.8s ease;
}

.banner-slideshow {
  overflow: hidden;
  background: #0f3121;
}

.banner-track {
  display: flex;
  width: 200%;
  transition: transform 0.8s ease;
}

.banner-slide {
  width: 50%;
  flex: 0 0 50%;
}

.banner-slide img {
  display: block;
  width: 100%;
  height: auto;
}

.slide {
  position: relative;
  width: 33.333%;
  flex: 0 0 33.333%;
}

.slide img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(15, 49, 33, 0.22) 0%, rgba(15, 49, 33, 0.06) 34%, rgba(15, 49, 33, 0) 52%);
  color: var(--yd-white);
  padding: 64px 24px;
}

.hero-copy {
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}

.hero-kicker {
  margin: 0 0 12px;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d7efe4;
}

.hero-kicker,
.hero-copy h1,
.hero-copy p {
  text-shadow: 0 1px 14px rgba(15, 49, 33, 0.45);
}

.hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.1;
  font-weight: 600;
}

.hero-copy p {
  margin: 0 0 28px;
  max-width: 36rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px;
}

.section h2 {
  margin: 0 0 12px;
  font-size: 1.85rem;
  color: var(--yd-navy);
}

.section-lead {
  margin: 0 0 36px;
  color: var(--yd-muted);
  max-width: 40rem;
}

.service-grid,
.form-links,
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.service-card,
.form-link,
.catalog-card {
  background: var(--yd-white);
  border: 1px solid var(--yd-line);
  border-radius: var(--yd-card);
  min-width: 0;
}

.service-card {
  padding: 28px 24px;
}

.service-card h3,
.form-link {
  margin: 0 0 8px;
  color: var(--yd-navy);
}

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

button.service-card {
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

button.service-card:hover {
  border-color: var(--yd-teal);
  box-shadow: 0 12px 28px rgba(27, 107, 69, 0.14);
}

.oem-hint {
  display: inline-block;
  margin-top: 16px;
  color: var(--yd-teal);
  font-size: 0.85rem;
  font-weight: 700;
}

.oem-modal[hidden] {
  display: none;
}

.oem-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 49, 33, 0.55);
}

.oem-modal-card {
  position: relative;
  width: min(560px, 100%);
  max-height: min(80vh, 640px);
  overflow: auto;
  background: var(--yd-white);
  border-radius: var(--yd-card);
  padding: 32px 28px 28px;
}

.oem-modal-card h2 {
  margin: 0 36px 12px 0;
  color: var(--yd-navy);
  font-size: 1.5rem;
}

.oem-modal-card p,
.oem-modal-card li {
  color: var(--yd-muted);
}

.oem-modal-card ol {
  margin: 16px 0 0;
  padding-left: 1.2rem;
}

.oem-modal-card li + li {
  margin-top: 8px;
}

.oem-close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 0;
  background: transparent;
  color: var(--yd-navy);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

body.oem-modal-open {
  overflow: hidden;
}

.form-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.form-link:hover,
.catalog-card:hover,
.form-tile:hover .form-tile-photo {
  border-color: var(--yd-teal);
  box-shadow: 0 12px 28px rgba(27, 107, 69, 0.14);
}

.form-tiles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.form-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.form-tile-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  background: var(--yd-white);
  border: 1px solid var(--yd-line);
  border-radius: var(--yd-card);
  overflow: hidden;
}

.form-tile-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.form-tile-name {
  display: block;
  margin-top: 12px;
  font-weight: 700;
  color: var(--yd-navy);
}

.catalog-photo {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  background: #f0f4f1;
  border-radius: var(--yd-card) var(--yd-card) 0 0;
}

.catalog-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}

.catalog-name {
  margin: 0;
  padding: 14px 16px 18px;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--yd-navy);
}

.site-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.page-title {
  margin: 0 0 28px;
  font-size: 2rem;
  color: var(--yd-navy);
}

.cta-band {
  background: var(--yd-navy);
  color: var(--yd-white);
  text-align: center;
  padding: 64px 24px;
}

.cta-band h2 {
  margin: 0 0 12px;
}

.cta-band p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  background: #0a1a17;
  color: #c5d4cc;
  padding: 40px 24px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--yd-white);
}

.footer-brand {
  font-weight: 700;
  letter-spacing: 0.16em;
}

/* ---------- About page ---------- */
:root {
  --yd-cream: #f3eee3;
  --yd-cream-deep: #e9e1d0;
  --yd-gold-ink: #a8844c;
  --yd-serif: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
}

.about-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 24px 104px;
  color: var(--yd-white);
  background:
    radial-gradient(ellipse 70% 90% at 18% 0%, rgba(74, 112, 88, 0.55) 0%, rgba(15, 49, 33, 0) 60%),
    linear-gradient(160deg, #173d2a 0%, var(--yd-navy) 55%, #0a2317 100%);
}

.about-hero-inner,
.about-wrap {
  max-width: 1180px;
  margin: 0 auto;
}

.about-kicker {
  margin: 0 0 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--yd-gold);
}

.about-hero h1 {
  margin: 0;
  max-width: 14em;
  font-family: var(--yd-serif);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
}

.gold-rule {
  display: block;
  width: 72px;
  height: 3px;
  margin: 28px 0 24px;
  background: var(--yd-gold);
}

.about-subtitle {
  margin: 0;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
}

.about-subtitle strong {
  color: var(--yd-white);
  letter-spacing: 0.02em;
}

.about-intro-band {
  background: var(--yd-cream);
  padding: 88px 24px;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.section-kicker {
  margin: 0 0 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yd-gold-ink);
}

.about-intro-band h2,
.about-highlights h2 {
  margin: 0;
  font-family: var(--yd-serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.2;
  color: var(--yd-navy);
}

.about-intro-text p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.75;
  color: #3d4a42;
}

.about-intro-text .section-kicker {
  margin: 0 0 14px;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--yd-gold-ink);
}

html[lang="zh-CN"] .about-hero h1 {
  max-width: none;
}

.about-intro-text strong {
  color: var(--yd-navy);
}

.form-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.form-pills li {
  padding: 6px 14px;
  border: 1px solid var(--yd-navy);
  border-radius: var(--yd-radius);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yd-navy);
  background: rgba(255, 255, 255, 0.6);
}

.about-photo {
  margin: 0;
  border-radius: var(--yd-card);
  overflow: hidden;
  box-shadow: 0 24px 48px -24px rgba(15, 49, 33, 0.45);
}

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

.about-highlights {
  background: var(--yd-bg);
  padding: 88px 24px;
}

.about-highlights h2 {
  margin-bottom: 40px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.highlight-card {
  position: relative;
  padding: 36px 30px 32px;
  background: var(--yd-white);
  border: 1px solid var(--yd-line);
  border-top: 3px solid var(--yd-gold);
  border-radius: var(--yd-card);
}

.highlight-num {
  display: block;
  margin-bottom: 18px;
  font-family: var(--yd-serif);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--yd-gold);
}

.highlight-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: var(--yd-navy);
}

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

.about-cta-band {
  background:
    radial-gradient(ellipse 60% 120% at 50% 0%, rgba(74, 112, 88, 0.35) 0%, rgba(15, 49, 33, 0) 70%),
    var(--yd-navy);
}

.about-cta-band h2 {
  font-family: var(--yd-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.about-cta-band .gold-rule {
  margin: 20px auto 22px;
}

.about-cta-band .btn-primary {
  background: var(--yd-gold);
  color: var(--yd-navy);
}

.about-cta-band .btn-primary:hover {
  background: #d6ba8d;
}

@media (max-width: 800px) {
  .about-hero {
    padding: 64px 20px 72px;
  }

  .about-intro-band,
  .about-highlights {
    padding: 64px 20px;
  }

  .about-intro-grid,
  .highlight-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .highlight-grid {
    gap: 16px;
  }
}

/* ---------- Contact page ---------- */
.page-hero {
  padding-top: 80px;
  padding-bottom: 88px;
}

.contact-band {
  background: var(--yd-cream);
  padding: 80px 24px 96px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.inquiry-form {
  padding: 44px 44px 40px;
  background: var(--yd-white);
  border: 1px solid var(--yd-cream-deep);
  border-radius: var(--yd-card);
  box-shadow: 0 24px 48px -32px rgba(15, 49, 33, 0.35);
}

.inquiry-form h2,
.contact-card h2 {
  margin: 0 0 28px;
  font-family: var(--yd-serif);
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  line-height: 1.2;
  color: var(--yd-navy);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  min-width: 0;
}

.field label,
.field legend {
  display: block;
  margin: 0 0 8px;
  padding: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--yd-navy);
}

.req {
  color: var(--yd-gold-ink);
}

.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--yd-fg);
  background: #fbfaf6;
  border: 1px solid var(--yd-line);
  border-radius: 10px;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--yd-white);
  border-color: var(--yd-teal);
  box-shadow: 0 0 0 3px rgba(27, 107, 69, 0.15);
}

.field.has-error input,
.field.has-error textarea {
  border-color: #b4483c;
}

.field-error {
  margin: 6px 0 0;
  font-size: 0.8rem;
  color: #b4483c;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid var(--yd-navy);
  border-bottom: 2px solid var(--yd-navy);
  transform: rotate(45deg);
  pointer-events: none;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
}

.check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.check-pill {
  position: relative;
  margin: 0 !important;
  cursor: pointer;
}

.check-pill input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.check-pill span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--yd-navy);
  background: #fbfaf6;
  border: 1px solid var(--yd-line);
  border-radius: var(--yd-radius);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.check-pill span::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--yd-muted);
  border-radius: 4px;
  background: var(--yd-white) center / 10px no-repeat;
}

.check-pill:hover span {
  border-color: var(--yd-teal);
}

.check-pill input:checked + span {
  color: var(--yd-white);
  background: var(--yd-teal);
  border-color: var(--yd-teal);
}

.check-pill input:checked + span::before {
  border-color: var(--yd-white);
  background-color: var(--yd-white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3.5' fill='none' stroke='%231b6b45' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.check-pill input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(27, 107, 69, 0.25);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.btn-lg {
  padding: 15px 34px;
  font-size: 0.95rem;
  cursor: pointer;
}

.form-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--yd-muted);
}

.form-status {
  margin: 20px 0 0;
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--yd-teal-dark);
  background: #e8f2ec;
  border-left: 3px solid var(--yd-teal);
  border-radius: 8px;
}

.contact-card {
  position: sticky;
  top: 100px;
  padding: 40px 36px;
  color: var(--yd-white);
  border-radius: var(--yd-card);
  background:
    radial-gradient(ellipse 80% 70% at 20% 0%, rgba(74, 112, 88, 0.5) 0%, rgba(15, 49, 33, 0) 65%),
    var(--yd-navy);
}

.contact-card .contact-card-kicker {
  color: var(--yd-gold);
}

.contact-card h2 {
  margin-bottom: 0;
  color: var(--yd-white);
}

.contact-card .gold-rule {
  margin: 20px 0 28px;
}

.contact-list {
  margin: 0 0 32px;
}

.contact-list div {
  padding: 16px 0;
  border-top: 1px solid rgba(196, 165, 116, 0.28);
}

.contact-list div:last-child {
  border-bottom: 1px solid rgba(196, 165, 116, 0.28);
}

.contact-list dt {
  margin: 0 0 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yd-gold);
}

.contact-list dd {
  margin: 0;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.92);
  overflow-wrap: anywhere;
}

.contact-list dd a {
  color: var(--yd-white);
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.contact-list dd a:hover {
  border-bottom-color: var(--yd-gold);
}

.contact-list strong {
  color: var(--yd-white);
}

.contact-card-btn {
  width: 100%;
  background: var(--yd-gold);
  color: var(--yd-navy);
}

.contact-card-btn:hover {
  background: #d6ba8d;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    position: static;
  }
}

@media (max-width: 600px) {
  .contact-band {
    padding: 48px 16px 64px;
  }

  .inquiry-form {
    padding: 32px 22px;
  }

  .contact-card {
    padding: 32px 24px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .btn-lg {
    width: 100%;
  }
}

/* ---------- Products: Alibaba link ---------- */
.alibaba-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
  padding: 28px 24px;
  background: var(--yd-white);
  border: 1px solid var(--yd-line);
  border-radius: var(--yd-card);
}

.alibaba-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--yd-navy);
}

.btn-alibaba {
  padding: 13px 36px;
  font-size: 1rem;
  background: var(--yd-teal);
  color: var(--yd-white);
}

.btn-alibaba:hover {
  background: var(--yd-teal-dark);
}

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(15, 49, 33, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.wa-float svg {
  width: 32px;
  height: 32px;
}

.wa-float:hover,
.wa-float:focus-visible {
  background: #1ebe5b;
  transform: scale(1.08);
  box-shadow: 0 10px 26px rgba(15, 49, 33, 0.34);
}

.wa-float:focus-visible {
  outline: 3px solid var(--yd-gold);
  outline-offset: 3px;
}

.wa-tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  padding: 7px 12px;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--yd-white);
  background: var(--yd-navy);
  border-radius: 8px;
  opacity: 0;
  transform: translate(6px, -50%);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.wa-float:hover .wa-tip,
.wa-float:focus-visible .wa-tip {
  opacity: 1;
  transform: translate(0, -50%);
}

.wa-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  opacity: 0;
  pointer-events: none;
}

.wa-float.wa-pulse::after {
  animation: wa-ring 1.6s ease-out 2;
}

@keyframes wa-ring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}

@media (max-width: 600px) {
  .wa-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }

  .wa-float svg {
    width: 28px;
    height: 28px;
  }

  .wa-tip {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float,
  .wa-tip {
    transition: none;
  }

  .wa-float.wa-pulse::after {
    animation: none;
  }
}

@media print {
  .wa-float {
    display: none;
  }
}

@media (max-width: 800px) {
  .header-inner,
  .header-nav {
    flex-wrap: wrap;
  }

  .service-grid,
  .form-links,
  .form-tiles,
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}
