/* ========================================
   AHI BTC 挖矿网站 — 全局样式
   主色调：蓝 + 白
   ======================================== */

:root {
  --color-nav: #015fcb;
  --color-dropdown: #002c75;
  --color-banner: #0072c3;
  --color-btn-dark: #042c75;
  --color-dropdown-bg: #002c75;
  --color-primary: #015fcb;
  --color-primary-dark: #042c75;
  --color-primary-light: #0072c3;
  --color-accent: #00a3e0;

  --color-white: #ffffff;
  --color-bg: #f8fafc;
  --color-bg-alt: #eef4fb;
  --color-text: #1a2b3c;
  --color-text-muted: #5a6b7d;
  --color-border: #dce6f0;

  /* 内容区统一设计 token（Banner 除外） */
  --content-label-color: #2a5fcb;
  --content-label-size: 16px;
  --content-title-color: #222;
  --content-title-size: 30px;
  --content-accent-color: #015fcb;
  --content-accent-bar-color: #2a5fcb;
  --content-accent-bar-width: 60px;
  --content-accent-bar-height: 2px;
  --content-body-color: #444;
  --content-body-size: 16px;
  --content-meta-color: #555;
  --content-meta-size: 14px;
  --content-heading-sm-color: #333;
  --content-heading-sm-size: 20px;
  --content-link-color: #015fcb;
  --content-link-size: 15px;
  --btn-pill-bg: #015fcb;
  --btn-pill-bg-hover: #014aa3;
  --btn-pill-color: #fff;
  --btn-pill-size: 14px;
  --content-hover-opacity: 0.75;

  --font-family: system-ui, "Microsoft YaHei", "微软雅黑", "arial", "tahoma", "MicrosoftJhengHei", sans-serif;
  --header-height: 90px;
  --container-width: 1550px;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(0, 51, 102, 0.08);
  --transition: 0.25s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font: 12px/1 var(--font-family);
  color: var(--color-text);
  background: var(--color-white);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-desc {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
}

.section-cta {
  text-align: center;
  margin-top: 40px;
}

/* ========== 内容区统一 typography / 装饰 / 按钮（Banner 除外） ========== */
.content-label {
  font-size: var(--content-label-size);
  font-weight: 700;
  color: var(--content-label-color);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.content-title {
  font-size: var(--content-title-size);
  font-weight: 400;
  color: var(--content-title-color);
  line-height: 1.35;
  margin-bottom: 14px;
}

.content-title-accent {
  color: var(--content-accent-color);
}

.content-subtitle {
  font-size: var(--content-body-size);
  font-weight: 700;
  color: var(--content-body-color);
  margin-bottom: 6px;
  line-height: 1.4;
}

.content-subtitle--spaced {
  margin-top: 16px;
}

.content-body {
  font-size: var(--content-body-size);
  font-weight: 400;
  color: var(--content-body-color);
  line-height: 1.75;
}

.content-body--center {
  text-align: center;
}

.content-meta {
  font-size: var(--content-meta-size);
  font-weight: 400;
  color: var(--content-meta-color);
  line-height: 1.6;
}

.content-heading-sm {
  font-size: var(--content-heading-sm-size);
  font-weight: 400;
  color: var(--content-heading-sm-color);
  line-height: 1.4;
  margin: 0;
}

.accent-bar {
  width: var(--content-accent-bar-width);
  height: var(--content-accent-bar-height);
  background: var(--content-accent-bar-color);
  margin-bottom: 24px;
}

.accent-bar--center {
  margin-left: auto;
  margin-right: auto;
}

.content-header .accent-bar--center {
  margin-bottom: 20px;
}

.content-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.content-header .content-label {
  margin-bottom: 12px;
}

.content-header .content-title {
  margin-bottom: 14px;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: var(--btn-pill-size);
  font-weight: 400;
  font-family: inherit;
  letter-spacing: 0.04em;
  color: var(--btn-pill-color);
  background: var(--btn-pill-bg);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition);
}

.btn-pill:hover {
  background: var(--btn-pill-bg-hover);
  color: var(--btn-pill-color);
}

.btn-pill:disabled {
  background: #7aa8dc;
  cursor: not-allowed;
}

.link-action {
  font-size: var(--content-link-size);
  font-weight: 400;
  color: var(--content-link-color);
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: opacity var(--transition);
}

.link-action:hover {
  color: var(--content-link-color);
  opacity: var(--content-hover-opacity);
}

/* ========== 按钮（Banner 等保留） ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn-light {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn-light:hover {
  background: var(--color-bg);
  color: var(--color-primary-dark);
}

.btn-outline-light {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
}

.btn-operations {
  background: var(--color-btn-dark);
  color: var(--color-white);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 14px 24px;
  border: 2px solid var(--color-btn-dark);
}

.btn-operations:hover {
  background: var(--color-white);
  color: var(--color-nav);
  border-color: var(--color-white);
}

/* ========== 顶部导航 ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--color-nav);
  border-bottom: none;
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo:hover {
  color: var(--color-white);
  opacity: 0.9;
}

.logo-img {
  height: 50px;
  width: auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition);
}

.main-nav {
  height: 100%;
}

.main-nav .nav-list {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: 0;
}

.nav-item {
  position: relative;
  height: var(--header-height);
}

.nav-item > a,
.nav-item > .dropdown-trigger {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 25px;
  font-size: 18px;
  font-weight: 400;
  color: var(--color-white);
  position: relative;
  white-space: nowrap;
  transition: color var(--transition);
}

.nav-item > a::after,
.nav-item > .dropdown-trigger::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #30a6fd;
  opacity: 0;
  transition: opacity var(--transition);
}

.nav-item:hover > a::after,
.nav-item:hover > .dropdown-trigger::after,
.has-dropdown:hover > .dropdown-trigger::after,
.nav-item.has-dropdown.open > .dropdown-trigger::after {
  opacity: 1;
}

.nav-item > a:hover,
.nav-item > .dropdown-trigger:hover {
  color: var(--color-white);
  background: transparent;
}

/* 下拉菜单 */
.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: max-content;
  min-width: 100%;
  z-index: 1001;
  background: var(--color-dropdown-bg);
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: none;
  transition: opacity var(--transition), visibility var(--transition);
  list-style: none;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 14px 25px;
  color: var(--color-white);
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
  transition: background var(--transition);
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
}

/* ========== Banner ========== */
.hero.banner {
  position: relative;
  min-height: auto;
  padding: calc(var(--header-height) + 180px) 0 180px;
  background-color: var(--color-banner);
  background-image: url('../assets/images/index/Banner背景图.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero.banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 114, 195, 0.72);
  z-index: 0;
}

.banner-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.banner-text {
  color: var(--color-white);
}

.banner-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
}

.banner-desc {
  font-size: 1rem;
  line-height: 1.75;
  opacity: 0.95;
  margin-bottom: 32px;
}

/* ========== 轮播图 ========== */
.banner-carousel {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.carousel-main {
  position: relative;
  width: 100%;
  max-width: 670px;
}

.carousel-stage {
  position: relative;
  width: 100%;
  max-width: 670px;
  aspect-ratio: 670 / 450;
  height: auto;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.15);
}

.carousel-main-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 64px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.35);
  color: #eee;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background var(--transition);
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.6);
}

.carousel-btn-prev {
  left: 0;
}

.carousel-btn-next {
  right: 0;
}

.carousel-thumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  width: 100%;
  max-width: 670px;
}

.carousel-thumb {
  position: relative;
  flex: 0 0 auto;
  width: 22%;
  max-width: 120px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  opacity: 0.65;
  transition: opacity var(--transition), border-color var(--transition);
}

.carousel-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.carousel-thumb.active {
  opacity: 1;
  border-color: var(--color-white);
}

.carousel-thumb:hover {
  opacity: 1;
}

.thumb-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
}

.thumb-progress-fill {
  height: 100%;
  width: 0%;
  background: #ffcc00;
}

.carousel-thumb:not(.active) .thumb-progress {
  display: none;
}

/* ========== 特性卡片 ========== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 32px 28px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-card .content-heading-sm {
  margin-bottom: 10px;
}

.feature-card .content-meta {
  line-height: 1.7;
}

/* ========== 板块间距与底部分割线 ========== */
.section-spaced {
  padding: 150px 0 0;
  background: var(--color-white);
}

.section-spaced > .container:first-of-type {
  padding-bottom: 150px;
}

.section-divider-wrap {
  padding-top: 0;
  padding-bottom: 0;
}

.section-divider {
  border: none;
  height: 1px;
  margin: 0;
  background: #d5d5d5;
}

/* ========== Operations Preview ========== */
.operations-preview.section {
  background: var(--color-white);
}

.ops-preview-layout {
  display: grid;
  grid-template-columns: 1fr 720px;
  gap: 48px;
  align-items: center;
}

.ops-preview-desc {
  margin-bottom: 32px;
  max-width: 560px;
}

.ops-preview-visual {
  flex-shrink: 0;
}

.ops-preview-img {
  width: 720px;
  height: 460px;
  max-width: 100%;
  object-fit: cover;
  display: block;
}

/* ========== 分栏布局（保留供其他板块使用） ========== */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-content .section-tag {
  display: block;
  text-align: left;
}

.split-content .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.split-content p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.check-list {
  margin-bottom: 32px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--color-text-muted);
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.visual-placeholder {
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, var(--color-primary-light), var(--color-primary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
}

.section-padded {
  padding: 150px 0;
  background: var(--color-white);
}

/* ========== Newsroom ========== */
.news-preview .accent-bar {
  margin-bottom: 40px;
}

.newsroom-grid {
  display: grid;
  grid-template-columns: repeat(3, 440px);
  gap: 32px;
  justify-content: space-between;
}

.newsroom-card {
  display: flex;
  flex-direction: column;
  width: 440px;
  max-width: 100%;
}

.newsroom-card-image {
  flex-shrink: 0;
  overflow: hidden;
}

.newsroom-card-image img {
  width: 440px;
  height: 290px;
  max-width: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.newsroom-card-image a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.newsroom-card-image a:hover img {
  transform: scale(1.03);
}

.newsroom-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.newsroom-card-category {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(9, 130, 229, 0.1);
  font-size: 13px;
  font-weight: 400;
  color: #015fcb;
  line-height: 1.4;
}

.newsroom-card-title {
  margin: 0;
  line-height: 1.45;
}

.newsroom-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.newsroom-card-title a:hover {
  color: #015fcb;
}

.newsroom-card-source {
  margin: 0;
  font-size: 13px;
  color: #015fcb;
}

.newsroom-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  min-height: 220px;
}

.newsroom-card-excerpt {
  margin: 0;
  flex: 1;
}

/* ========== Newsletter ========== */
.newsletter-section {
  background: linear-gradient(to bottom, #fff 0%, #fff 50%, #002c75 50%, #002c75 100%);
  padding: 100px 24px 140px;
}

.newsletter-wrap {
  max-width: var(--container-width);
  margin: 0 auto;
}

.newsletter-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: var(--container-width);
  height: 618px;
  margin: 0 auto;
  background: var(--color-white);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.newsletter-content {
  padding: 44px 52px;
  overflow-y: auto;
  background: #eeeef3;
}

.newsletter-form {
  margin-top: 24px;
}

.newsletter-input {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  color: #222;
  border: 1px solid #ccc;
  border-radius: 2px;
  background: var(--color-white);
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-input:focus {
  border-color: #015fcb;
}

.newsletter-input.is-invalid {
  border-color: #d93025;
}

.newsletter-error {
  min-height: 20px;
  margin: 8px 0 0;
  font-size: 13px;
  color: #d93025;
  line-height: 1.4;
}

/* ========== Newsletter modal ========== */
body.newsletter-modal-open {
  overflow: hidden;
}

.newsletter-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.newsletter-modal[hidden] {
  display: none;
}

.newsletter-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.newsletter-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  padding: 32px 28px 24px;
  background: #fff;
  border: 1px solid #d0d4dc;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
  text-align: center;
}

.newsletter-modal-title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 400;
  color: #222;
  line-height: 1.3;
}

.newsletter-modal-message {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}

.newsletter-modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 36px;
  padding: 0 24px;
  border: none;
  border-radius: 999px;
  background: #015fcb;
  font-size: 15px;
  font-family: inherit;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.newsletter-modal-btn:hover {
  background: #014aa3;
}

.newsletter-submit-wrap {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.newsletter-visual {
  height: 100%;
  overflow: hidden;
}

.newsletter-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== 页脚 ========== */
.site-footer {
  background: #002c75;
  height: 350px;
  color: var(--color-white);
}

.footer-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 52px 24px 24px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: start;
  width: 100%;
  flex: 1;
}

.footer-col {
  min-width: 0;
}

.footer-nav-title {
  font-size: 18px;
  font-weight: 400;
  color: #2fa5fc;
  margin-bottom: 22px;
  line-height: 1.2;
}

.footer-nav-sub {
  position: relative;
  padding-left: 16px;
}

.footer-nav-sub::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 2px;
  background: #2fa5fc;
}

.footer-nav-sub ul li {
  margin-bottom: 14px;
}

.footer-nav-sub ul li:last-child {
  margin-bottom: 0;
}

.footer-nav-sub a {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.6;
  transition: opacity var(--transition);
}

.footer-nav-sub a:hover {
  color: var(--color-white);
  opacity: 0.8;
}

.footer-social {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  margin-left: 0;
  padding-top: 0;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  color: var(--color-white);
  transition: background var(--transition), border-color var(--transition);
}

.footer-social-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
  color: var(--color-white);
}

.footer-bottom {
  text-align: center;
  padding: 0;
  border: none;
  font-size: 12px;
  color: #666;
}

.footer-bottom p {
  margin: 0;
}

/* ========== 响应式 ========== */
@media (max-width: 992px) {
  .banner-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero.banner {
    padding: calc(var(--header-height) + 80px) 0 80px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .ops-preview-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .newsroom-card {
    width: 100%;
    margin: 0 auto;
  }

  .newsroom-card-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 440 / 290;
  }

  .newsroom-card-body {
    min-height: auto;
  }

  .newsroom-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ops-preview-img {
    width: 100%;
    height: auto;
    aspect-ratio: 720 / 460;
  }

  .split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-nav {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 32px;
    column-gap: 24px;
  }

  .footer-social {
    grid-column: span 1;
  }

  .site-footer {
    height: auto;
    min-height: 350px;
  }

  .newsletter-card {
    grid-template-columns: 1fr;
    height: auto;
  }

  .newsletter-visual {
    height: 320px;
  }

  .newsletter-content {
    padding: 36px 28px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }

  .hero.banner {
    padding: calc(var(--header-height) + 28px) 0 40px;
    overflow: visible;
  }

  .banner-inner {
    gap: 28px;
  }

  .banner-title {
    font-size: 1.75rem;
    margin-bottom: 16px;
  }

  .banner-desc {
    font-size: 0.9375rem;
    line-height: 1.65;
    margin-bottom: 20px;
  }

  .btn-operations {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    padding: 12px 16px;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-align: center;
    white-space: normal;
    line-height: 1.35;
  }

  .carousel-btn {
    width: 36px;
    height: 48px;
  }

  .carousel-thumbs {
    gap: 6px;
    margin-top: 10px;
  }

  .carousel-thumb {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    width: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-nav);
    padding: 24px;
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-item {
    height: auto;
  }

  .nav-item > a,
  .nav-item > .dropdown-trigger {
    padding: 14px 25px;
    height: auto;
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .nav-item > a::after,
  .nav-item > .dropdown-trigger::after {
    display: none;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background: var(--color-dropdown-bg);
  }

  .dropdown-menu a {
    padding: 12px 25px 12px 40px;
    font-size: 15px;
    color: var(--color-white);
    white-space: nowrap;
  }

  .dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-white);
  }

  .has-dropdown.open .dropdown-menu {
    display: block;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    row-gap: 28px;
    column-gap: 20px;
    flex: none;
  }

  .footer-social {
    grid-column: 1 / -1;
    justify-content: flex-start;
    margin-top: 8px;
    padding-bottom: 4px;
  }

  .footer-inner {
    padding: 40px 24px 32px;
    gap: 36px;
    justify-content: flex-start;
  }

  .footer-bottom {
    padding-top: 4px;
  }
}
