/*
Theme Name: Satellite Raised Floor
Theme URI: https://raisedfloor.local
Author: Codex
Description: A multilingual corporate WordPress theme for Changzhou Satellite Computer Room Co., Ltd.
Version: 1.0.0
Text Domain: satellite-raised-floor
*/

:root {
  --navy: #0f2a3d;
  --steel: #214962;
  --cyan: #4d8dad;
  --sand: #edf2f5;
  --white: #ffffff;
  --line: rgba(15, 42, 61, 0.12);
  --muted: rgba(15, 42, 61, 0.72);
  --shadow: 0 28px 72px rgba(9, 30, 46, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy);
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  line-height: 1.7;
  background:
    radial-gradient(circle at top left, rgba(77, 141, 173, 0.18), transparent 28%),
    linear-gradient(180deg, #f8fbfd 0%, #edf2f5 100%);
}

body.is-rtl {
  font-family: "Tahoma", "Arial", sans-serif;
}

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

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

.site-shell {
  min-height: 100vh;
}

.section-inner,
.header-inner,
.footer-inner {
  width: min(calc(100% - 32px), var(--content));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(248, 251, 253, 0.9);
  border-bottom: 1px solid rgba(15, 42, 61, 0.08);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) auto auto;
  gap: 20px;
  align-items: center;
  min-height: 88px;
}

.brand-lockup {
  display: inline-flex;
  gap: 14px;
  align-items: center;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, var(--navy), var(--cyan)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.brand-mark::after {
  inset: 16px 7px 7px 16px;
}

.brand-name,
.brand-tagline {
  display: block;
}

.brand-name {
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-tagline {
  color: var(--muted);
  font-size: 0.88rem;
}

.primary-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

.primary-nav a,
.language-switcher a {
  font-size: 0.95rem;
  color: var(--muted);
}

.language-switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.language-switcher a {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 42, 61, 0.1);
  background: rgba(255, 255, 255, 0.8);
}

.language-switcher a.is-active {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.hero,
.section {
  padding: 40px 0;
}

.hero {
  padding-top: 64px;
}

.hero-grid,
.contact-grid,
.split-grid {
  display: grid;
  gap: 28px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

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

.card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-panel,
.content-card,
.mini-card,
.product-card,
.industry-card,
.cta-card,
.contact-card,
.factory-strip,
.page-card {
  padding: clamp(24px, 4vw, 42px);
}

.eyebrow,
.mini-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(77, 141, 173, 0.12);
  color: var(--steel);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1,
.hero-panel h2,
.content-card h2,
.section-heading h2,
.cta-card h2,
.contact-card h2,
.page-card h1 {
  margin: 18px 0 16px;
  font-family: "Georgia", "Times New Roman", serif;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  font-size: clamp(2.7rem, 6vw, 5rem);
}

.hero-copy p,
.hero-panel p,
.content-card p,
.mini-card p,
.product-card p,
.industry-card p,
.factory-copy p,
.cta-card p,
.contact-card p,
.page-card p {
  margin: 0;
  color: var(--muted);
}

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

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.button-link:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(15, 42, 61, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 42, 61, 0.12);
}

.hero-metrics,
.product-grid,
.industry-grid {
  display: grid;
  gap: 16px;
}

.hero-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.hero-metrics article {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(237, 242, 245, 0.72);
  border: 1px solid rgba(15, 42, 61, 0.08);
}

.hero-metrics strong,
.product-card h3,
.industry-card h3,
.mini-card h3 {
  display: block;
  margin-bottom: 8px;
}

.hero-panel {
  background:
    linear-gradient(180deg, rgba(15, 42, 61, 0.98), rgba(33, 73, 98, 0.95));
  color: var(--white);
}

.hero-panel p,
.hero-panel h2,
.hero-panel .mini-label {
  color: inherit;
}

.hero-panel .mini-label {
  background: rgba(255, 255, 255, 0.12);
}

.hero-graphic {
  position: relative;
  min-height: 300px;
  margin-bottom: 28px;
}

.panel,
.pedestal {
  position: absolute;
  display: block;
}

.panel {
  width: 76%;
  height: 42px;
  right: 10%;
  border-radius: 12px;
  background: linear-gradient(180deg, #c3d4df, #8ab1c6);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.16);
  transform: skewX(-26deg);
}

.panel-top {
  top: 42px;
}

.panel-mid {
  top: 108px;
  right: 14%;
}

.panel-bottom {
  top: 174px;
  right: 18%;
}

.pedestal {
  width: 18px;
  height: 84px;
  border-radius: 10px;
  background: linear-gradient(180deg, #d6e2ea, #9eb8c8);
}

.pedestal::after {
  content: "";
  position: absolute;
  left: -10px;
  right: -10px;
  bottom: -8px;
  height: 12px;
  border-radius: 999px;
  background: rgba(214, 226, 234, 0.9);
}

.pedestal-a {
  top: 79px;
  right: 23%;
}

.pedestal-b {
  top: 145px;
  right: 35%;
}

.pedestal-c {
  top: 209px;
  right: 47%;
}

.feature-stack {
  display: grid;
  gap: 18px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

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

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

.product-card,
.industry-card,
.mini-card {
  border-radius: var(--radius-lg);
}

.product-index {
  display: inline-flex;
  margin-bottom: 18px;
  color: rgba(15, 42, 61, 0.45);
  font-size: 0.86rem;
  letter-spacing: 0.16em;
}

.industry-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(237, 242, 245, 0.7));
}

.factory-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
  gap: 28px;
  align-items: center;
}

.factory-list {
  margin: 0;
  padding-inline-start: 22px;
  color: var(--muted);
}

.factory-list li + li {
  margin-top: 12px;
}

.contact-card dl {
  margin: 0;
}

.contact-card dt {
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-card dd {
  margin: 0;
  color: var(--muted);
}

.contact-card dl div + div {
  margin-top: 18px;
}

.contact-note {
  margin-top: 24px !important;
}

.page-card {
  min-height: 320px;
}

.site-footer {
  padding: 0 0 48px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  padding-top: 8px;
  color: var(--muted);
}

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

.footer-note {
  max-width: 34rem;
  text-align: end;
}

@media (max-width: 1100px) {
  .header-inner,
  .hero-grid,
  .split-grid,
  .contact-grid,
  .factory-strip,
  .product-grid,
  .industry-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    padding: 18px 0;
  }

  .primary-nav,
  .language-switcher {
    justify-content: flex-start;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-note {
    text-align: start;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 40px;
  }

  .hero-copy h1 {
    font-size: 2.4rem;
  }

  .section-inner,
  .header-inner,
  .footer-inner {
    width: min(calc(100% - 24px), var(--content));
  }

  .site-header {
    position: static;
  }
}
