:root {
  --ink: #101816;
  --muted: #65736f;
  --line: #d4dedb;
  --paper: #f4f7f5;
  --warm: #c98d47;
  --green: #0d7d73;
  --green-dark: #102a27;
  --tech: #26d6c5;
  --tech-soft: #d8fbf6;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(8, 18, 16, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(16, 24, 22, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 22, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 36px 36px;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-solid,
.site-header.is-open {
  color: var(--ink);
  border-bottom: 1px solid rgba(38, 214, 197, 0.18);
  background: rgba(244, 247, 245, 0.78);
  box-shadow: 0 14px 34px rgba(8, 18, 16, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  max-width: min(48vw, 520px);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(38, 214, 197, 0.72);
  border-radius: 8px;
  color: var(--tech);
  font-weight: 800;
  box-shadow: inset 0 0 18px rgba(38, 214, 197, 0.16), 0 0 18px rgba(38, 214, 197, 0.12);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
  letter-spacing: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand small {
  margin-top: 1px;
  color: currentColor;
  font-size: 12px;
  opacity: 0.78;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 15px;
}

.nav a {
  opacity: 0.88;
}

.nav a:hover {
  opacity: 1;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(38, 214, 197, 0.72);
  border-radius: 8px;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-button svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.hero {
  position: relative;
  min-height: min(760px, 88svh);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/office-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(rgba(38, 214, 197, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 214, 197, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 13, 12, 0.92), rgba(5, 13, 12, 0.62) 42%, rgba(5, 13, 12, 0.18) 76%),
    linear-gradient(180deg, rgba(5, 13, 12, 0.18), rgba(5, 13, 12, 0.78));
  background-size: 42px 42px, 42px 42px, auto, auto;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 138px 0 42px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: var(--tech);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  width: min(760px, 100%);
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 1.05;
  letter-spacing: 0;
  text-shadow: 0 0 32px rgba(38, 214, 197, 0.14);
}

.hero-copy {
  width: min(680px, 100%);
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2.2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 52px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 22px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  color: var(--white);
  border-color: rgba(38, 214, 197, 0.5);
  background: linear-gradient(135deg, #0b7069, #16a79a);
  box-shadow: 0 14px 30px rgba(22, 167, 154, 0.24);
}

.button.primary:hover {
  background: linear-gradient(135deg, #0a5f59, #129387);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(38, 214, 197, 0.56);
  background: rgba(38, 214, 197, 0.08);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(720px, 100%);
  margin: 0;
  border-top: 1px solid rgba(38, 214, 197, 0.42);
}

.hero-facts div {
  padding: 20px 22px 0 0;
}

.hero-facts dt {
  color: var(--tech);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  line-height: 1;
}

.hero-facts dd {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.section,
.section-band,
.contact-section {
  padding: clamp(62px, 8vw, 104px) 0;
}

.section-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.intro {
  background:
    linear-gradient(rgba(38, 214, 197, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 214, 197, 0.06) 1px, transparent 1px),
    #0c1715;
  background-size: 40px 40px;
  color: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
}

.intro h2,
.section-heading h2,
.contact-section h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.16;
  letter-spacing: 0;
}

.intro p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 720px);
  margin-bottom: clamp(30px, 5vw, 48px);
}

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

.service-card {
  min-height: 270px;
  padding: 26px;
  border: 1px solid rgba(16, 125, 115, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 1px 0 rgba(23, 32, 28, 0.04), 0 16px 38px rgba(8, 18, 16, 0.05);
  backdrop-filter: blur(10px);
}

.service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 8px;
  color: var(--green);
  background: var(--tech-soft);
  box-shadow: inset 0 0 18px rgba(38, 214, 197, 0.22);
}

.service-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.service-card h3,
.advantage-list h3,
.process-list h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.25;
}

.service-card p,
.advantage-list p,
.process-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-card-dark {
  color: var(--white);
  border-color: rgba(38, 214, 197, 0.28);
  background:
    linear-gradient(rgba(38, 214, 197, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 214, 197, 0.1) 1px, transparent 1px),
    #0d2724;
  background-size: 28px 28px;
}

.service-card-dark p {
  color: rgba(255, 255, 255, 0.78);
}

.service-card-dark a {
  display: inline-flex;
  margin-top: 26px;
  font-weight: 900;
  color: var(--tech);
}

.section-cases {
  background:
    linear-gradient(rgba(38, 214, 197, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 214, 197, 0.04) 1px, transparent 1px),
    #101816;
  background-size: 34px 34px;
  color: var(--white);
}

.split-heading {
  grid-template-columns: minmax(0, 720px) auto;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.case-manage-link {
  color: var(--white);
  border-color: rgba(38, 214, 197, 0.42);
  background: rgba(38, 214, 197, 0.09);
}

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

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

.case-card {
  overflow: hidden;
  border: 1px solid rgba(38, 214, 197, 0.22);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
}

.section-cases .case-card {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.case-card[tabindex] {
  cursor: pointer;
}

.case-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0b1210;
}

.case-cover,
.case-media-item {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.case-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 10px;
  border: 1px solid rgba(38, 214, 197, 0.36);
  border-radius: 999px;
  color: var(--white);
  background: rgba(5, 13, 12, 0.74);
  font-size: 12px;
  font-weight: 800;
}

.case-body {
  padding: 20px;
}

.case-meta {
  margin-bottom: 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.section-cases .case-meta {
  color: var(--tech);
}

.case-body h3 {
  margin-bottom: 9px;
  font-size: 22px;
  line-height: 1.25;
}

.case-body p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.section-cases .case-body p:last-child {
  color: rgba(255, 255, 255, 0.74);
}

.case-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.case-status {
  display: inline-flex;
  margin-top: 14px;
  margin-bottom: 0;
  padding: 5px 10px;
  border: 1px solid rgba(16, 125, 115, 0.22);
  border-radius: 999px;
  color: var(--green);
  background: rgba(38, 214, 197, 0.1);
  font-size: 12px;
  font-weight: 900;
}

.button.danger {
  min-height: 42px;
  color: #fff;
  background: #b43d3d;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 30px;
  border: 1px dashed rgba(38, 214, 197, 0.38);
  border-radius: 8px;
  color: inherit;
  background: rgba(38, 214, 197, 0.06);
}

.empty-state strong {
  display: block;
  margin-bottom: 6px;
  font-size: 22px;
}

.empty-state p {
  margin-bottom: 0;
  color: inherit;
  opacity: 0.72;
}

.case-modal {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 13, 12, 0.82);
}

.case-modal-panel {
  width: min(1040px, 100%);
  max-height: min(86svh, 900px);
  overflow: auto;
  border: 1px solid rgba(38, 214, 197, 0.34);
  border-radius: 8px;
  color: var(--white);
  background: #101816;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.case-modal-head {
  padding: 24px 24px 0;
}

.case-modal-head h3 {
  margin-bottom: 18px;
  font-size: clamp(24px, 4vw, 38px);
}

.case-modal-close {
  position: sticky;
  top: 14px;
  z-index: 2;
  float: right;
  width: 42px;
  height: 42px;
  margin: 14px 14px 0 0;
  border: 1px solid rgba(38, 214, 197, 0.4);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.case-modal-media {
  display: grid;
  gap: 16px;
  padding: 0 24px 24px;
}

.case-modal-media .case-media-item {
  height: auto;
  max-height: 72svh;
  border-radius: 8px;
  object-fit: contain;
  background: #060908;
}

.admin-page {
  background:
    linear-gradient(rgba(38, 214, 197, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 214, 197, 0.045) 1px, transparent 1px),
    #eef4f1;
  background-size: 34px 34px;
}

.admin-header {
  position: sticky;
}

.admin-header .nav {
  display: flex;
  position: static;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  box-shadow: none;
}

.admin-logout {
  border: 1px solid rgba(38, 214, 197, 0.3);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--white);
  background: rgba(38, 214, 197, 0.08);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.admin-main {
  padding: 56px 0 80px;
}

.admin-shell {
  padding-top: 24px;
}

.admin-title {
  width: min(800px, 100%);
  margin-bottom: 34px;
}

.admin-title h1 {
  width: auto;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 58px);
  text-shadow: none;
}

.admin-title p:last-child {
  color: var(--muted);
  font-size: 18px;
}

.admin-notice {
  margin-bottom: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(16, 125, 115, 0.2);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 34px rgba(8, 31, 27, 0.08);
  font-weight: 800;
}

.admin-notice[data-type="success"] {
  border-color: rgba(16, 125, 115, 0.3);
  color: #0d6b61;
  background: rgba(38, 214, 197, 0.12);
}

.admin-notice[data-type="error"] {
  border-color: rgba(180, 61, 61, 0.28);
  color: #9c2e2e;
  background: rgba(180, 61, 61, 0.08);
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.admin-login {
  width: min(560px, 100%);
}

.login-panel {
  padding: 28px;
  border: 1px solid rgba(16, 125, 115, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.login-panel h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 40px);
}

.login-panel p {
  color: var(--muted);
}

.login-panel form {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.login-panel input {
  width: 100%;
  border: 1px solid rgba(16, 125, 115, 0.22);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.8);
  outline: none;
}

.case-form,
.case-admin-list {
  border: 1px solid rgba(16, 125, 115, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.case-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.case-form label {
  display: grid;
  gap: 8px;
}

.case-form span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.case-form input,
.case-form select,
.case-form textarea {
  width: 100%;
  border: 1px solid rgba(16, 125, 115, 0.22);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  outline: none;
}

.case-form input:focus,
.case-form select:focus,
.case-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(38, 214, 197, 0.14);
}

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

.checkbox-line {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(16, 125, 115, 0.16);
  border-radius: 8px;
  background: rgba(38, 214, 197, 0.07);
}

.checkbox-line input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.dark-note {
  color: var(--muted);
}

.case-form .form-note {
  color: var(--muted);
}

.case-admin-list {
  padding: 24px;
}

.case-list-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.case-admin-list h2 {
  margin-bottom: 0;
  font-size: 28px;
}

.compact-button {
  min-height: 40px;
  padding: 10px 14px;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.section-muted {
  background:
    linear-gradient(135deg, rgba(38, 214, 197, 0.1), rgba(201, 141, 71, 0.08)),
    #e9efec;
}

.advantage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(26px, 5vw, 58px);
  align-items: start;
}

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

.advantage-list article {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid #d1d0c7;
}

.advantage-list span,
.process-list span {
  color: var(--green);
  font-weight: 900;
}

.advantage-list h3,
.advantage-list p {
  grid-column: 2;
}

.quote-panel {
  position: sticky;
  top: 100px;
  padding: 30px;
  border-radius: 8px;
  color: var(--white);
  border: 1px solid rgba(38, 214, 197, 0.26);
  background:
    linear-gradient(rgba(38, 214, 197, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 214, 197, 0.08) 1px, transparent 1px),
    var(--ink);
  background-size: 30px 30px;
  box-shadow: var(--shadow);
}

.quote-panel p {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.75);
}

.quote-panel strong {
  display: block;
  font-size: 24px;
  line-height: 1.28;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(16, 125, 115, 0.2);
  border-left: 1px solid rgba(16, 125, 115, 0.2);
}

.process-list li {
  min-height: 230px;
  padding: 24px;
  border-right: 1px solid rgba(16, 125, 115, 0.2);
  border-bottom: 1px solid rgba(16, 125, 115, 0.2);
  background: rgba(255, 255, 255, 0.68);
}

.process-list span {
  display: block;
  margin-bottom: 48px;
}

.contact-section {
  color: var(--white);
  background:
    linear-gradient(rgba(8, 18, 16, 0.92), rgba(8, 18, 16, 0.92)),
    linear-gradient(rgba(38, 214, 197, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 214, 197, 0.08) 1px, transparent 1px),
    url("assets/office-hero.png") center / cover;
  background-size: auto, 36px 36px, 36px 36px, cover;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 520px);
  gap: clamp(30px, 6vw, 76px);
  align-items: start;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.contact-cards {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.contact-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(38, 214, 197, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.contact-card img {
  width: 112px;
  height: 112px;
  border-radius: 8px;
  background: var(--white);
  object-fit: cover;
}

.contact-card span {
  display: block;
  margin-bottom: 5px;
  color: var(--tech);
  font-size: 13px;
  font-weight: 900;
}

.contact-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
  font-size: 24px;
  line-height: 1.15;
}

.contact-card p {
  margin-bottom: 10px;
  font-size: 14px;
}

.contact-card a {
  display: inline-flex;
  color: var(--tech);
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(38, 214, 197, 0.26);
  border-radius: 8px;
  background: rgba(8, 18, 16, 0.54);
  backdrop-filter: blur(16px);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(38, 214, 197, 0.24);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.contact-form select option {
  color: var(--ink);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--tech);
  box-shadow: 0 0 0 3px rgba(38, 214, 197, 0.12);
}

.form-button {
  width: 100%;
}

.form-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.76);
  background: #09110f;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

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

.site-footer p {
  margin: 4px 0 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

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

.footer-records {
  font-size: 13px;
}

.mobile-contact-bar {
  position: fixed;
  z-index: 45;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(38, 214, 197, 0.28);
  border-radius: 8px;
  background: rgba(8, 18, 16, 0.9);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.mobile-contact-bar a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, #0b7069, #16a79a);
  font-weight: 900;
}

@media (max-width: 920px) {
  .site-header {
    padding: 14px 18px;
  }

  .menu-button {
    display: grid;
  }

  .nav {
    position: absolute;
    top: 70px;
    left: 18px;
    right: 18px;
    display: none;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: rgba(247, 245, 239, 0.98);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .nav {
    display: grid;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-overlay {
    background:
      linear-gradient(rgba(38, 214, 197, 0.08) 1px, transparent 1px),
      linear-gradient(90deg, rgba(38, 214, 197, 0.07) 1px, transparent 1px),
      linear-gradient(90deg, rgba(5, 13, 12, 0.9), rgba(5, 13, 12, 0.62)),
      linear-gradient(180deg, rgba(5, 13, 12, 0.08), rgba(5, 13, 12, 0.8));
    background-size: 36px 36px, 36px 36px, auto, auto;
  }

  .hero-content {
    padding-top: 110px;
  }

  .hero-facts,
  .intro-grid,
  .advantage-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .split-heading,
  .case-grid,
  .case-grid.compact,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .quote-panel {
    position: static;
  }

  .mobile-contact-bar {
    display: grid;
  }

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

@media (max-width: 620px) {
  .brand strong {
    font-size: 14px;
  }

  .brand {
    max-width: calc(100vw - 86px);
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-media {
    background-position: 58% center;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 34px;
  }

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

  .hero-facts div {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .service-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

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

  .contact-card {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
  }

  .contact-card img {
    width: 88px;
    height: 88px;
  }

  .contact-card strong {
    font-size: 20px;
  }

  .admin-nav {
    display: flex;
    position: static;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .advantage-list article {
    grid-template-columns: 1fr;
  }

  .advantage-list h3,
  .advantage-list p {
    grid-column: auto;
  }

  .advantage-list h3 {
    margin-top: 0;
  }

  .service-card,
  .process-list li {
    min-height: auto;
  }

  .contact-form {
    padding: 20px;
  }

  .footer-grid {
    display: grid;
  }

  body {
    padding-bottom: 78px;
  }
}
