/* ===================================================
   XUHANG MEDICAL - Global Design System v2.0
   序航医疗 · 全局设计系统
   =================================================== */

/* ===== CSS VARIABLES ===== */
:root {
  --navy:        #0D2B4E;
  --navy-dark:   #071A30;
  --blue:        #1565C0;
  --blue-hover:  #0D47A1;
  --blue-light:  #E3F2FD;
  --teal:        #00897B;
  --gold:        #F9A825;
  --text:        #1A1A2E;
  --text-muted:  #5A6A7A;
  --text-light:  #8FA0B0;
  --border:      #E2E8F0;
  --bg:          #F5F7FA;
  --white:       #FFFFFF;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.10);
  --shadow-xl:   0 24px 64px rgba(0,0,0,0.12);
  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:  12px;
  --r-xl:  16px;
  --r-full: 9999px;
  --t-fast: 0.15s ease;
  --t-base: 0.25s ease;
  --z-nav: 100;
  --z-drop: 200;
  --z-modal: 300;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei UI",
          "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  --font-mono: "SF Mono", "Fira Code", "Cascadia Code", "Courier New", monospace;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ===== LAYOUT ===== */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 88px 0; }
section.bg-light { background: var(--bg); }
section.bg-navy  { background: var(--navy); }
.text-center { text-align: center; }

/* ===== TYPOGRAPHY ===== */
.section-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  text-align: center;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  line-height: 1.25;
  margin-bottom: 14px;
}
.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 52px;
  line-height: 1.8;
}
.section-title--left { text-align: left; }
.section-subtitle--left { text-align: left; margin-left: 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  transition: all var(--t-base);
  white-space: nowrap;
  cursor: pointer;
  line-height: 1;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(21,101,192,.3);
}
.btn-secondary {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-secondary:hover {
  background: var(--blue);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-white:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-lg { padding: 16px 40px; font-size: 17px; }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t-base);
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 12px;
}

/* Logo */
.logo { display: flex; flex-direction: column; gap: 1px; flex-shrink: 0; }
.logo__name {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.5px;
  line-height: 1.1;
}
.logo__name em { font-style: normal; color: var(--blue); }
.logo__tagline {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  font-weight: 500;
  text-transform: uppercase;
}

/* Desktop Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav__item { position: relative; }
.nav__link {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 8px 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
  white-space: nowrap;
}
.nav__link:hover, .nav__link.active {
  color: var(--blue);
  background: rgba(21,101,192,.06);
}
.nav__link svg { width: 14px; height: 14px; transition: transform var(--t-fast); flex-shrink: 0; }
.nav__item:hover .nav__link svg { transform: rotate(180deg); }

/* Dropdown */
.nav__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 180px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--t-fast);
  z-index: var(--z-drop);
}
.nav__item:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__dropdown-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  font-size: 14px;
  color: var(--text);
  transition: all var(--t-fast);
}
.nav__dropdown-link:hover {
  background: var(--bg);
  color: var(--blue);
}

/* Header CTA */
.header__cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.header__phone {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
  text-align: right;
}
.header__phone strong {
  display: block;
  font-size: 15px;
  color: var(--navy);
  font-weight: 700;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 8px;
}
.mobile-menu-btn span {
  display: block;
  height: 1.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--t-base);
}
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===== MOBILE NAV ===== */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: calc(var(--z-nav) + 10);
  padding: 0 20px 32px;
  transform: translateX(100%);
  transition: transform var(--t-base);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.mobile-nav__close {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  border: none;
  border-radius: var(--r-sm);
  font-size: 18px;
  color: var(--text);
}
.mobile-nav__links { display: flex; flex-direction: column; gap: 2px; }
.mobile-nav__link {
  display: block;
  padding: 14px 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
}
.mobile-nav__link:hover, .mobile-nav__link.active {
  background: var(--bg);
  color: var(--blue);
}
.mobile-nav__sub {
  padding: 4px 12px 8px 28px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-nav__sub a {
  display: block;
  padding: 9px 12px;
  font-size: 14px;
  color: var(--text-muted);
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
}
.mobile-nav__sub a:hover { color: var(--blue); background: rgba(21,101,192,.06); }
.mobile-nav__cta {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.mobile-nav__cta .btn { width: 100%; justify-content: center; }

/* ===== HERO (Homepage) ===== */
.hero {
  margin-top: 72px;
  position: relative;
  height: 620px;
  overflow: hidden;
  background: var(--navy);
}
.hero-slider { height: 100%; }
.slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex; align-items: center;
}
.slide.active { opacity: 1; }
.slide__bg {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(7,26,48,.88) 0%, rgba(7,26,48,.45) 60%, transparent 100%);
}
.slide__content {
  position: relative; z-index: 1;
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  color: var(--white);
}
.slide__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 22px;
}
.slide h2 {
  font-size: clamp(30px, 5vw, 58px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  max-width: 600px;
  margin-bottom: 18px;
}
.slide p {
  font-size: 17px;
  color: rgba(255,255,255,.78);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 36px;
}
.slide__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Slider Controls */
.slider-controls {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 16px;
  z-index: 10;
}
.slider-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  color: white;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t-base);
  font-size: 16px;
}
.slider-btn:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.slider-dots { display: flex; gap: 8px; }
.dot {
  width: 8px; height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,.4);
  cursor: pointer; border: none;
  transition: all var(--t-base);
}
.dot.active { background: var(--white); width: 24px; }

/* ===== TRUST BAR ===== */
.trust-bar {
  background: linear-gradient(90deg, var(--navy-dark), var(--navy));
  padding: 14px 0;
}
.trust-bar__inner {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,.7);
  white-space: nowrap;
}
.trust-item__icon {
  width: 18px; height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ===== PAGE HERO ===== */
.page-hero {
  margin-top: 72px;
  padding: 64px 0 56px;
  background: linear-gradient(120deg, var(--navy) 0%, #1B4A8E 50%, #1565C0 100%);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -15%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -40%; left: -10%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.page-hero p {
  font-size: 16px;
  color: rgba(255,255,255,.72);
  max-width: 540px; line-height: 1.75;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 20px;
  font-size: 12px;
  color: rgba(255,255,255,.55);
}
.breadcrumb a { color: rgba(255,255,255,.65); transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--white); }

/* ===== PRODUCT CARDS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.product-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--t-base);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.product-image {
  height: 200px;
  background: linear-gradient(135deg, #EBF5FF 0%, #DBEAFE 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.product-image::before {
  content: '';
  position: absolute; top: -25%; right: -15%;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
}
.product-image .placeholder-image {
  font-size: 15px; font-weight: 700;
  color: var(--blue); position: relative; z-index: 1;
}
.product-info { padding: 22px 24px; }
.product-model { font-size: 11px; color: var(--text-muted); font-weight: 700; letter-spacing: .5px; margin-bottom: 6px; }
.product-info h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.4; }
.product-info .product-desc { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; }
.product-features { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.feature {
  padding: 3px 10px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: var(--r-full);
  font-size: 11.5px;
  font-weight: 600;
}

/* ===== ADVANTAGE CARDS ===== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.advantage-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}
.advantage-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  transform: scaleX(0);
  transition: transform var(--t-base);
  transform-origin: left;
}
.advantage-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.advantage-card:hover::after { transform: scaleX(1); }
.advantage-icon {
  width: 60px; height: 60px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(21,101,192,.1), rgba(0,137,123,.08));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 26px;
}
.advantage-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.advantage-card p { font-size: 14px; color: var(--text-muted); line-height: 1.75; }

/* ===== STATS ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.stat-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px 20px;
  text-align: center;
  border: 1px solid var(--border);
}
.stat-number {
  font-size: 48px; font-weight: 800;
  color: var(--blue); line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 13.5px; color: var(--text-muted); font-weight: 500; }

/* ===== NEWS CARDS ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.news-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--t-base);
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.news-card__top { padding: 20px 22px 0; display: flex; align-items: center; justify-content: space-between; }
.news-badge {
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.news-badge--policy { background: rgba(21,101,192,.1); color: var(--blue); }
.news-badge--tech   { background: rgba(0,137,123,.1);   color: var(--teal); }
.news-badge--event  { background: rgba(249,168,37,.12);  color: #A07000; }
.news-date { font-size: 12px; color: var(--text-light); }
.news-card__body { padding: 14px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.news-card h3 {
  font-size: 16px; font-weight: 700;
  color: var(--navy); margin-bottom: 10px; line-height: 1.5;
}
.news-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; flex: 1; margin-bottom: 16px; }
.news-read-more {
  font-size: 13.5px; font-weight: 600; color: var(--blue);
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap var(--t-fast);
}
.news-read-more:hover { gap: 8px; }

/* ===== PARTNERS ===== */
.partners-row {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 16px;
}
.partner-item {
  display: flex; align-items: center; justify-content: center;
  padding: 14px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  height: 68px; min-width: 130px;
  font-size: 13.5px; font-weight: 600; color: var(--text-muted);
  transition: all var(--t-base);
  filter: grayscale(1); opacity: .65;
}
.partner-item:hover { filter: grayscale(0); opacity: 1; border-color: var(--blue); box-shadow: var(--shadow-sm); }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(120deg, var(--navy) 0%, #1B4A8E 60%, #1565C0 100%);
  padding: 88px 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; top: -40%; left: -10%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.cta-section h2 {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800; color: var(--white);
  margin-bottom: 16px; position: relative;
}
.cta-section p {
  font-size: 16px; color: rgba(255,255,255,.72);
  max-width: 520px; margin: 0 auto 36px; line-height: 1.8;
  position: relative;
}
.cta-section .btn { position: relative; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer { background: var(--navy-dark); color: rgba(255,255,255,.65); }
.footer__top {
  padding: 60px 0 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer__brand .logo__name { color: var(--white); font-size: 22px; }
.footer__brand .logo__name em { color: rgba(21,101,192,1); }
.footer__brand .logo__tagline { color: rgba(255,255,255,.4); }
.footer__brand p { margin-top: 16px; font-size: 13.5px; line-height: 1.85; max-width: 260px; }
.footer__certs { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.footer__cert {
  padding: 4px 9px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-sm);
  font-size: 10.5px; font-weight: 700;
  color: rgba(255,255,255,.55);
  letter-spacing: .5px;
}
.footer__col h4 {
  color: var(--white); font-size: 14px; font-weight: 700;
  margin-bottom: 18px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__col ul { display: flex; flex-direction: column; gap: 9px; }
.footer__col a { font-size: 13.5px; color: rgba(255,255,255,.55); transition: color var(--t-fast); }
.footer__col a:hover { color: var(--white); }
.footer__contact-line {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13.5px; margin-bottom: 10px; color: rgba(255,255,255,.55);
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 18px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.footer__bottom p { font-size: 12.5px; color: rgba(255,255,255,.35); }
.footer__bottom-links { display: flex; gap: 18px; }
.footer__bottom a { font-size: 12.5px; color: rgba(255,255,255,.4); transition: color var(--t-fast); }
.footer__bottom a:hover { color: var(--white); }

/* ===== FORMS ===== */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 13.5px; font-weight: 600;
  color: var(--text); margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 11px 15px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 15px; color: var(--text);
  background: var(--white);
  transition: all var(--t-fast);
}
.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(21,101,192,.1);
}
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A6A7A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-group.error .form-control { border-color: #C62828; }
.error-message { font-size: 12.5px; color: #C62828; margin-top: 4px; display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 42px; height: 42px;
  background: var(--blue); color: var(--white);
  border: none; border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: all var(--t-base); z-index: 50;
  font-size: 18px;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--navy); transform: translateY(-2px); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ===== UTILITY ===== */
.divider { width: 48px; height: 3px; background: linear-gradient(90deg, var(--blue), var(--teal)); border-radius: 2px; margin: 14px auto 0; }
.divider--left { margin-left: 0; }
.tag {
  display: inline-flex; align-items: center;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 11.5px; font-weight: 700;
  background: var(--blue-light); color: var(--blue);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
  .header__phone { display: none; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .hero { margin-top: 64px; height: 500px; }
  .page-hero { margin-top: 64px; padding: 48px 0 40px; }
  .header__inner { height: 64px; }
  .nav, .header__cta .btn { display: none; }
  .mobile-menu-btn { display: flex; }
  .cta-section { padding: 64px 0; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .footer__brand { grid-column: auto; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__bottom-links { justify-content: center; }
  .news-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .trust-bar__inner { gap: 20px; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .hero { height: 420px; }
  .slide h2 { font-size: 26px; }
  .slide p { font-size: 14px; }
  .slide__actions { flex-direction: column; }
  .products-grid { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .cta-actions { flex-direction: column; align-items: center; }
  .back-to-top { bottom: 16px; right: 16px; }
}

@media print {
  .header, .mobile-nav, .back-to-top, .hero .slider-controls { display: none; }
  body { margin-top: 0; }
}
