/* ==========================================================================
   1. 设计系统与变量定义
   ========================================================================== */
:root {
  --sky-blue: #0077b6;
  --sky-blue-light: rgba(0, 119, 182, 0.1);
  --sky-blue-glow: rgba(0, 119, 182, 0.3);
  --deep-navy: #0a192f;
  --navy-light: #172a45;
  --navy-dark: #020c1b;
  --text-dark: #1e293b;
  --text-muted: #5b6b7f;
  --light-bg: #f4f8fc;
  --white: #ffffff;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --border-glass: rgba(0, 119, 182, 0.18);
  --bg-glass: rgba(255, 255, 255, 0.75);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 162, 232, 0.05), 0 4px 6px -2px rgba(0, 162, 232, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(10, 25, 47, 0.05), 0 10px 10px -5px rgba(10, 25, 47, 0.03);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* ==========================================================================
   2. 基础 Reset 与 排版样式
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Segoe UI", "Noto Sans", "Microsoft YaHei", "PingFang SC", "Yu Gothic UI", "Malgun Gothic", Arial, sans-serif;
  color: var(--text-dark);
  background-color: var(--light-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(0, 119, 182, 0.45);
  outline-offset: 3px;
}

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--deep-navy);
}

/* ==========================================================================
   3. 通用布局与网格系统
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-padding {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.grid {
  display: grid;
  gap: 2rem;
}

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

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

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

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   4. 按钮与交互元素
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--sky-blue);
  color: var(--white);
  box-shadow: 0 4px 14px var(--sky-blue-glow);
}

.btn-primary:hover {
  background-color: #005f92;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--sky-blue-glow);
}

.btn-secondary {
  background-color: transparent;
  color: var(--deep-navy);
  border: 1px solid var(--sky-blue);
}

.btn-secondary:hover {
  background-color: var(--sky-blue-light);
  transform: translateY(-2px);
}

.btn-text {
  color: var(--sky-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-text:hover {
  color: var(--deep-navy);
}

.btn-text::after {
  content: "→";
  transition: var(--transition-smooth);
}

.btn-text:hover::after {
  transform: translateX(4px);
}

/* ==========================================================================
   5. 磨砂玻璃质感与卡片
   ========================================================================== */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 119, 182, 0.35);
}

/* ==========================================================================
   6. 顶部导航栏 (Header)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition-smooth);
}

.header.scrolled {
  height: 70px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-sm);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  height: 48px;
  width: 180px;
  display: flex;
  align-items: center;
}

.logo img {
  height: 100%;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--deep-navy);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--sky-blue);
  transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--sky-blue);
}

/* 多语言切换下拉菜单 */
.lang-selector {
  position: relative;
  display: inline-block;
}

.lang-btn {
  background: transparent;
  border: 1px solid var(--border-glass);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--deep-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.lang-btn:hover {
  background: var(--sky-blue-light);
  border-color: var(--sky-blue);
}

.lang-btn::after {
  content: "▼";
  font-size: 0.6rem;
  transition: var(--transition-smooth);
}

.lang-selector.active .lang-btn::after {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 120px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  z-index: 1100;
  overflow: hidden;
}

.lang-selector.active .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown a {
  display: block;
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
}

.lang-dropdown a:hover {
  background-color: var(--sky-blue-light);
  color: var(--sky-blue);
}

/* 移动端菜单按钮 */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1200;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--deep-navy);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem;
    gap: 2rem;
    transition: var(--transition-smooth);
    z-index: 999;
  }
  .nav.active {
    right: 0;
  }
  body.menu-open {
    overflow: hidden;
  }
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

/* ==========================================================================
   7. 底部版权信息 (Footer)
   ========================================================================== */
.footer {
  background-color: var(--deep-navy);
  color: #a0aec0;
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  font-size: 0.9rem;
  border-top: 4px solid var(--sky-blue);
}

.footer h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0;
}

.footer-logo {
  height: 48px;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
}

.news-section {
  background: var(--white);
}

.news-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.news-heading > div {
  max-width: 760px;
}

.news-eyebrow {
  color: var(--sky-blue);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.news-heading h2 {
  margin-top: 0.5rem;
  font-size: 2.25rem;
}

.news-heading p {
  margin-top: 1rem;
  color: var(--text-muted);
}

.news-all-link {
  flex: 0 0 auto;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid currentColor;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.news-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(10, 25, 47, 0.1);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.news-card:hover {
  border-color: rgba(0, 119, 182, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.news-card-media {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid rgba(10, 25, 47, 0.08);
  background: #edf2f6;
}

.news-card-media img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
}

.news-card .news-card-media > img {
  width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

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

.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.news-category {
  padding-left: 0.6rem;
  border-left: 3px solid var(--sky-blue);
  color: var(--sky-blue);
  font-weight: 800;
}

.news-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.news-card h3 a:hover {
  color: var(--sky-blue);
}

.news-card p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.news-read-more {
  margin-top: auto;
  color: var(--sky-blue);
  font-size: 0.88rem;
  font-weight: 700;
}

.news-empty {
  padding: 2.5rem 0;
  color: var(--text-muted);
  text-align: center;
}

.news-page-main {
  padding-top: 80px;
}

.news-page-banner {
  padding: 5rem 0 4rem;
  background: var(--deep-navy);
  color: var(--white);
}

.news-page-banner h1 {
  max-width: 920px;
  color: var(--white);
  font-size: 2.75rem;
}

.news-page-banner p {
  max-width: 760px;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.72);
}

.news-list-shell {
  min-height: 48vh;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 820px) 280px;
  gap: 4rem;
  align-items: start;
}

.article-header {
  margin-bottom: 2rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.article-cover {
  display: grid;
  place-items: center;
  width: 100%;
  max-height: 560px;
  margin-bottom: 2.5rem;
  overflow: hidden;
  border: 1px solid rgba(10, 25, 47, 0.08);
  border-radius: var(--radius-sm);
  background: #edf2f6;
}

.article-cover img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
}

.article-content {
  color: #334155;
  font-size: 1.02rem;
  line-height: 1.95;
}

.article-content p,
.article-content h2,
.article-content h3,
.article-content ul,
.article-content ol {
  margin-bottom: 1.35rem;
}

.article-content h2,
.article-content h3 {
  margin-top: 2.25rem;
}

.article-content ul,
.article-content ol {
  padding-left: 1.4rem;
  list-style: revert;
}

.article-aside {
  padding-left: 1.5rem;
  border-left: 3px solid var(--sky-blue);
}

.article-aside h2 {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.article-aside p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-shell {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .news-heading {
    display: block;
  }

  .news-all-link {
    display: inline-block;
    margin-top: 1.25rem;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-heading h2,
  .news-page-banner h1 {
    font-size: 2rem;
  }

  .news-card-media {
    aspect-ratio: 4 / 3;
  }
}

.advantage-index {
  width: 52px;
  height: 52px;
  margin: 0 auto 1.5rem;
  border: 1px solid rgba(0, 162, 232, 0.24);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--sky-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: var(--shadow-sm);
}

.home-app-intro {
  max-width: 820px;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.application-grid .app-item {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  border-left-width: 1px;
  border-top: 3px solid var(--sky-blue);
}

.application-grid .app-item:hover {
  transform: translateY(-4px);
}

.app-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.app-item-number {
  color: var(--sky-blue);
  font-size: 0.78rem;
  font-weight: 800;
}

.app-item-product {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  font-weight: 600;
}

.application-grid .app-item h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.65rem;
}

.application-grid .app-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.84rem;
  line-height: 1.7;
}

.application-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 3rem 0 1.5rem;
}

.application-card {
  padding: 1.75rem;
  border: 1px solid rgba(10, 25, 47, 0.08);
  border-top: 3px solid var(--sky-blue);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.application-card .app-number {
  margin-bottom: 1.25rem;
  color: var(--sky-blue);
  font-size: 1rem;
}

.application-card h2 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.application-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

@media (max-width: 1024px) {
  .application-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .application-grid,
  .application-matrix {
    grid-template-columns: 1fr;
  }

  .application-grid .app-item {
    min-height: 0;
  }
}

.footer-links a {
  display: block;
  margin-bottom: 0.75rem;
  color: #a0aec0;
}

.footer-links a:hover {
  color: #67c7f2;
  transform: translateX(4px);
}

.footer-contact li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.5;
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   8. 动画类与交互效果
   ========================================================================== */
.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

.spec-table-wrapper {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}

.product-detail-card > *,
.product-info {
  min-width: 0;
}

.spec-table {
  min-width: 680px;
}

.spec-note {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.rfq-note {
  margin: 0 0 1.5rem;
  padding: 1rem 1.1rem;
  background: rgba(0, 119, 182, 0.07);
  border-left: 3px solid var(--sky-blue);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.contact-link {
  color: var(--sky-blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.download-badge {
  color: #00679e !important;
}

.footer .contact-link,
.footer-bottom a {
  color: #67c7f2 !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 炫酷的页面顶部滚动进度条 */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(to right, var(--sky-blue), #00c6ff);
  z-index: 1001;
  width: 0%;
}

/* 全站五语言询价入口 */
.inquiry-widget {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 1100;
  font-size: 0.92rem;
}

.inquiry-trigger,
.inquiry-close,
.inquiry-submit,
.inquiry-direct-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 6px;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0;
  cursor: pointer;
}

.inquiry-trigger {
  min-height: 52px;
  padding: 0.75rem 1rem;
  border: 1px solid #005f92;
  background: #0077b6;
  color: #fff;
  box-shadow: 0 10px 28px rgba(10, 25, 47, 0.24);
}

.inquiry-trigger:hover,
.inquiry-submit:hover {
  background: #005f92;
}

.inquiry-trigger svg,
.inquiry-direct-link svg,
.inquiry-submit svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
}

.inquiry-panel {
  position: absolute;
  right: 0;
  bottom: 64px;
  width: min(420px, calc(100vw - 36px));
  max-height: calc(100vh - 105px);
  overflow-y: auto;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: #1e293b;
  box-shadow: 0 22px 55px rgba(10, 25, 47, 0.24);
}

.inquiry-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.2rem 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.inquiry-heading h2 {
  margin: 0;
  font-size: 1.22rem;
  letter-spacing: 0;
}

.inquiry-heading p {
  margin: 0.35rem 0 0;
  color: #5b6b7f;
  font-size: 0.84rem;
  line-height: 1.55;
}

.inquiry-close {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  padding: 0;
  border: 1px solid #d8e0e8;
  background: #fff;
  color: #334155;
}

.inquiry-close:hover {
  background: #f1f5f9;
}

.inquiry-close svg {
  width: 18px;
  height: 18px;
}

.inquiry-direct-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid #e2e8f0;
  background: #f7fafc;
}

.inquiry-direct-link {
  min-width: 0;
  min-height: 40px;
  padding: 0.5rem 0.45rem;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0a192f;
  font-size: 0.78rem;
  text-align: center;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.inquiry-direct-link:hover {
  border-color: #0077b6;
  background: #eef8fd;
}

.inquiry-form {
  display: grid;
  gap: 0.85rem;
  padding: 1.05rem 1.2rem 1.2rem;
}

.inquiry-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.inquiry-form label {
  min-width: 0;
  display: grid;
  gap: 0.35rem;
  color: #344054;
  font-size: 0.78rem;
  font-weight: 700;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background: #fff;
  color: #172033;
  font: inherit;
  letter-spacing: 0;
}

.inquiry-form input,
.inquiry-form select {
  min-height: 40px;
  padding: 0.55rem 0.65rem;
}

.inquiry-form textarea {
  min-height: 92px;
  padding: 0.65rem;
  resize: vertical;
  line-height: 1.55;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: #0077b6;
  outline: 3px solid rgba(0, 119, 182, 0.16);
}

.inquiry-form .inquiry-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: #5b6b7f;
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.5;
}

.inquiry-consent input {
  width: 17px;
  min-height: 17px;
  flex: 0 0 17px;
  margin-top: 0.12rem;
  accent-color: #0077b6;
}

.inquiry-consent a,
.footer-privacy-link,
.analytics-consent > a {
  color: #00679e;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer .footer-privacy-link {
  color: #67c7f2;
}

.inquiry-submit {
  min-height: 44px;
  padding: 0.65rem 1rem;
  border: 1px solid #0077b6;
  background: #0077b6;
  color: #fff;
}

.inquiry-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.inquiry-status {
  min-height: 1.25rem;
  margin: 0;
  color: #5b6b7f;
  font-size: 0.78rem;
  line-height: 1.5;
}

.inquiry-status.success {
  color: #067647;
}

.inquiry-status.error {
  color: #b42318;
}

.inquiry-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.analytics-consent {
  position: fixed;
  left: max(18px, env(safe-area-inset-left));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 1090;
  width: min(520px, calc(100vw - 36px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(10, 25, 47, 0.22);
}

.analytics-consent p {
  grid-column: 1 / -1;
  margin: 0;
  color: #344054;
  font-size: 0.84rem;
  line-height: 1.55;
}

.analytics-consent > a {
  justify-self: start;
  font-size: 0.78rem;
}

.analytics-consent > div {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.analytics-consent button {
  min-height: 38px;
  padding: 0.45rem 0.75rem;
  border-radius: 5px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  cursor: pointer;
}

.analytics-reject {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #344054;
}

.analytics-accept {
  border: 1px solid #0077b6;
  background: #0077b6;
  color: #fff;
}

.privacy-main {
  background: #fff;
}

.privacy-banner {
  padding: 145px 0 58px;
  border-bottom: 1px solid #dce5ed;
  background: #0a192f;
  color: #fff;
}

.privacy-banner h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 0;
}

.privacy-banner p {
  max-width: 760px;
  margin: 0.85rem 0 0;
  color: #d8e8f3;
  font-size: 1rem;
}

.privacy-content {
  max-width: 900px;
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.privacy-content section {
  padding: 1.5rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.privacy-content h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  letter-spacing: 0;
}

.privacy-content p {
  margin: 0;
  color: #475569;
  line-height: 1.8;
}

.privacy-updated {
  padding-top: 1.5rem;
  color: #64748b !important;
  font-size: 0.84rem;
}

@media (max-width: 640px) {
  .inquiry-widget {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
  }

  .inquiry-panel {
    bottom: 60px;
    width: calc(100vw - 24px);
    max-height: calc(100vh - 88px);
  }

  .inquiry-trigger {
    min-height: 48px;
  }

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

  .inquiry-heading,
  .inquiry-form {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .inquiry-direct-actions {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .analytics-consent {
    left: 12px;
    bottom: max(72px, calc(12px + env(safe-area-inset-bottom)));
    width: calc(100vw - 24px);
    grid-template-columns: 1fr;
  }

  .analytics-consent > div {
    justify-content: stretch;
  }

  .analytics-consent button {
    flex: 1 1 0;
  }
}
