:root {
  --brand: #e63946;
  --brand-dark: #c1121f;
  --brand-light: #ff6b7a;
  --accent: #f4a261;
  --accent-2: #457b9d;
  --accent-3: #2a9d8f;
  --bg: #fef9f9;
  --bg-alt: #ffffff;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #ffffff;
  --text: #1f2328;
  --text-soft: #4a5158;
  --text-muted: #6b7280;
  --border: rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 8px rgba(230, 57, 70, 0.08);
  --shadow-md: 0 8px 28px rgba(230, 57, 70, 0.12);
  --shadow-lg: 0 18px 50px rgba(230, 57, 70, 0.18);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --max-width: 1180px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

html[data-theme="dark"] {
  --bg: #12151a;
  --bg-alt: #181c22;
  --surface: rgba(28, 33, 40, 0.72);
  --surface-solid: #1c2128;
  --text: #e8ecf1;
  --text-soft: #c2cad3;
  --text-muted: #8b95a1;
  --border: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.55);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}

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

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover,
a:focus-visible {
  color: var(--brand-dark);
}

h1,
h2,
h3,
h4 {
  line-height: 1.35;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  margin: 0 0 0.75em;
}

h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  margin: 0 0 0.9em;
  position: relative;
  padding-left: 16px;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  bottom: 0.25em;
  width: 5px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
}

h3 {
  font-size: clamp(1.1rem, 1.9vw, 1.3rem);
  margin: 1.6em 0 0.6em;
}

p {
  margin: 0 0 1em;
  color: var(--text-soft);
}

ul,
ol {
  padding-left: 1.4em;
  color: var(--text-soft);
}

li {
  margin-bottom: 0.5em;
}

strong {
  color: var(--text);
}

figure {
  margin: 1.8em 0;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--surface-solid);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

figcaption {
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--brand-light);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: var(--brand);
  color: #fff;
}

/* ============ HEADER ============ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

#site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--text);
}

.brand-logo svg {
  border-radius: 10px;
  transition: transform 0.4s var(--ease);
}

.brand-logo:hover svg {
  transform: rotate(-8deg) scale(1.06);
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(120deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#main-nav {
  flex: 1;
  min-width: 0;
}

#main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

#main-nav a {
  display: block;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--text-soft);
  white-space: nowrap;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

#main-nav a:hover,
#main-nav a:focus-visible {
  background: rgba(230, 57, 70, 0.1);
  color: var(--brand);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.site-search {
  display: flex;
  align-items: center;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.site-search:focus-within {
  border-color: var(--brand-light);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
}

.site-search input {
  border: 0;
  background: transparent;
  padding: 8px 6px 8px 14px;
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--text);
  width: 150px;
  outline: none;
}

.site-search input::placeholder {
  color: var(--text-muted);
}

.site-search button {
  border: 0;
  cursor: pointer;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-family: inherit;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  transition: filter 0.25s var(--ease);
}

.site-search button:hover {
  filter: brightness(1.08);
}

#theme-toggle,
#menu-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-solid);
  color: var(--text);
  font-size: 1.05rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease), background-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

#theme-toggle:hover,
#menu-toggle:hover {
  transform: translateY(-2px) rotate(8deg);
  box-shadow: var(--shadow-sm);
  background: rgba(230, 57, 70, 0.1);
}

#menu-toggle {
  display: none;
}

/* ============ MAIN LAYOUT ============ */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px 40px;
}

main > section {
  margin: 0 0 26px;
  padding: 34px clamp(18px, 3vw, 40px);
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease),
    background-color 0.35s var(--ease);
}

main > section:hover {
  box-shadow: var(--shadow-md);
}

/* ============ HERO ============ */
#hero {
  margin-top: 22px;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  box-shadow: none;
}

#hero:hover {
  box-shadow: none;
}

.hero-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 1;
  min-height: 220px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  transition: opacity 0.7s var(--ease), transform 0.9s var(--ease),
    visibility 0.7s;
}

.hero-slider .slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 1;
}

.hero-slider .slide svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-controls {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}

.slider-controls button {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 4px;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.slider-controls button:hover {
  background: rgba(255, 255, 255, 0.38);
  transform: scale(1.08);
}

.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.45);
  transition: width 0.35s var(--ease), background-color 0.25s var(--ease);
}

.slider-dots button.active {
  width: 26px;
  background: #fff;
}

.hero-intro {
  margin-top: 22px;
  padding: clamp(22px, 3.4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.hero-intro::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(244, 162, 97, 0.28),
    transparent 70%
  );
  pointer-events: none;
}

.hero-intro h1 {
  position: relative;
  background: linear-gradient(120deg, var(--brand), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  color: var(--text-soft);
  position: relative;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  box-shadow: 0 10px 26px rgba(230, 57, 70, 0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    filter 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.cta::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

.cta:hover,
.cta:focus-visible {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(230, 57, 70, 0.45);
  filter: brightness(1.05);
}

.cta:hover::after {
  transform: translateX(5px);
}

/* ============ BREADCRUMB ============ */
#breadcrumb {
  margin: 18px 0 14px;
  padding: 0 4px;
}

#breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

#breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--text-muted);
  opacity: 0.6;
}

#breadcrumb a {
  color: var(--text-muted);
}

#breadcrumb a:hover {
  color: var(--brand);
}

#breadcrumb [aria-current="page"] {
  color: var(--text-soft);
  font-weight: 600;
}

/* ============ ANCHOR NAV ============ */
#anchor-nav {
  margin: 0 0 22px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--surface);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  scrollbar-width: thin;
}

#anchor-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
}

#anchor-nav a {
  display: inline-block;
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-soft);
  background: var(--surface-solid);
  border: 1px solid var(--border);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

#anchor-nav a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  border-color: transparent;
  transform: translateY(-2px);
}

/* ============ STATS ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.stat {
  padding: 20px 16px;
  border-radius: var(--radius-md);
  text-align: center;
  background: linear-gradient(
    145deg,
    rgba(230, 57, 70, 0.08),
    rgba(244, 162, 97, 0.12)
  );
  border: 1px solid var(--border);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.stat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stat-num {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(120deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============ TESTIMONIALS ============ */
#testimonials blockquote {
  margin: 0 0 14px;
  padding: 18px 22px;
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm);
  background: linear-gradient(
    120deg,
    rgba(230, 57, 70, 0.06),
    rgba(244, 162, 97, 0.08)
  );
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#testimonials blockquote:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}

#testimonials blockquote p {
  margin: 0;
  font-style: italic;
  color: var(--text-soft);
}

/* ============ NEWS / ARTICLES ============ */
#news article,
#articles article {
  padding: 20px 22px;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

#news article:hover,
#articles article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(230, 57, 70, 0.3);
}

#news article h3,
#articles article h3 {
  margin-top: 0;
}

#news time,
#articles time {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(230, 57, 70, 0.08);
  padding: 2px 10px;
  border-radius: 999px;
}

#articles article > p:nth-of-type(1) {
  margin-top: 8px;
}

#articles article a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(230, 57, 70, 0.1);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

#articles article a::after {
  content: "›";
  transition: transform 0.25s var(--ease);
}

#articles article a:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}

#articles article a:hover::after {
  transform: translateX(3px);
}

/* ============ FAQ ============ */
#faq details {
  margin-bottom: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-alt);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

#faq details[open] {
  border-color: rgba(230, 57, 70, 0.35);
  box-shadow: var(--shadow-sm);
}

#faq summary {
  cursor: pointer;
  padding: 16px 48px 16px 20px;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  position: relative;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

#faq summary::-webkit-details-marker {
  display: none;
}

#faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--brand);
  transition: transform 0.3s var(--ease);
}

#faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

#faq summary:hover {
  background: rgba(230, 57, 70, 0.06);
  color: var(--brand);
}

#faq details p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--text-soft);
  animation: faqFade 0.4s var(--ease);
}

@keyframes faqFade {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============ CONTACT ============ */
#contact address {
  font-style: normal;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(
    135deg,
    rgba(230, 57, 70, 0.07),
    rgba(69, 123, 157, 0.08)
  );
  border: 1px solid var(--border);
}

#contact address p {
  margin: 0 0 8px;
}

#contact address p:last-child {
  margin-bottom: 0;
}

/* ============ SITEMAP ============ */
#sitemap ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}

#sitemap a {
  display: block;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-soft);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

#sitemap a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-color: transparent;
  transform: translateY(-2px);
}

/* ============ FOOTER ============ */
#site-footer {
  margin-top: 40px;
  padding: 44px 20px 30px;
  background: linear-gradient(160deg, #1a1d23, #2b1216);
  color: #cfd6de;
  position: relative;
  overflow: hidden;
}

#site-footer::before {
  content: "";
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 620px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(230, 57, 70, 0.35),
    transparent 70%
  );
  pointer-events: none;
}

#site-footer > div {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.footer-links h2 {
  font-size: 1.05rem;
  color: #fff;
  padding-left: 0;
  margin-bottom: 14px;
}

.footer-links h2::before {
  display: none;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.footer-links a {
  color: #cfd6de;
  font-size: 0.9rem;
  transition: color 0.25s var(--ease);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
}

.footer-legal p {
  margin: 0 0 8px;
  font-size: 0.82rem;
  line-height: 1.7;
  color: #9aa4b0;
}

.footer-legal p:last-child {
  margin-bottom: 0;
  color: #cfd6de;
  font-weight: 600;
}

/* ============ BACK TO TOP ============ */
#back-to-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  font-size: 1.25rem;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  box-shadow: 0 10px 26px rgba(230, 57, 70, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
    visibility 0.35s, box-shadow 0.3s var(--ease);
}

#back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

#back-to-top:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 16px 34px rgba(230, 57, 70, 0.55);
}

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  #main-nav a {
    padding: 6px 8px;
    font-size: 0.84rem;
  }

  .site-search input {
    width: 110px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 60px;
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 10px 16px;
    gap: 10px;
  }

  #menu-toggle {
    display: inline-flex;
  }

  #main-nav {
    order: 4;
    flex-basis: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
  }

  #main-nav.open {
    max-height: 520px;
  }

  #main-nav ul {
    flex-direction: column;
    gap: 2px;
    padding: 8px 0 4px;
  }

  #main-nav a {
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
  }

  .header-actions {
    margin-left: auto;
  }

  .site-search {
    display: none;
  }

  .hero-slider {
    aspect-ratio: 16 / 9;
  }

  main > section {
    padding: 26px 18px;
    border-radius: var(--radius-md);
  }

  #hero {
    padding: 0;
  }

  .hero-intro {
    padding: 22px 18px;
    border-radius: var(--radius-md);
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  main {
    padding: 0 12px 30px;
  }

  .hero-slider {
    aspect-ratio: 4 / 3;
    min-height: 190px;
    border-radius: var(--radius-md);
  }

  .slider-controls button {
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
  }

  .cta {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
  }

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

  .stat {
    padding: 16px 10px;
  }

  #faq summary {
    padding: 14px 44px 14px 16px;
    font-size: 0.95rem;
  }

  #sitemap ul {
    grid-template-columns: repeat(2, 1fr);
  }

  #back-to-top {
    right: 14px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }

  #news article,
  #articles article {
    padding: 16px;
  }
}

/* ============ MOTION PREFERENCE ============ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============ PRINT ============ */
@media print {
  #site-header,
  #anchor-nav,
  #back-to-top,
  .slider-controls,
  .slider-dots,
  .cta {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  main > section {
    box-shadow: none;
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }
}