:root {
  --brand: #e85d26;
  --brand-dark: #c94a1a;
  --brand-light: #ff8a5c;
  --brand-soft: rgba(232, 93, 38, 0.12);
  --gradient-hero: linear-gradient(135deg, #e85d26 0%, #f2994a 45%, #f7b733 100%);
  --gradient-hero-alt: linear-gradient(135deg, #d6451a 0%, #e85d26 50%, #ff9f43 100%);
  --bg: #fdf8f4;
  --bg-elev: #ffffff;
  --bg-soft: #f6ede7;
  --text: #241a15;
  --text-soft: #5c4a41;
  --text-muted: #8a7568;
  --border: rgba(36, 26, 21, 0.1);
  --card-shadow: 0 6px 24px rgba(120, 60, 20, 0.08);
  --card-shadow-hover: 0 16px 40px rgba(120, 60, 20, 0.16);
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.5);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

[data-theme="dark"] {
  --bg: #14100e;
  --bg-elev: #1e1815;
  --bg-soft: #241c18;
  --text: #f4ece7;
  --text-soft: #c9b8ae;
  --text-muted: #9a8679;
  --border: rgba(255, 255, 255, 0.12);
  --card-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  --card-shadow-hover: 0 16px 44px rgba(0, 0, 0, 0.6);
  --glass-bg: rgba(30, 24, 21, 0.62);
  --glass-border: rgba(255, 255, 255, 0.12);
  --brand-soft: rgba(232, 93, 38, 0.2);
}

*,
*::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);
  background-image: radial-gradient(
      circle at 12% 0%,
      rgba(232, 93, 38, 0.07),
      transparent 42%
    ),
    radial-gradient(circle at 88% 12%, rgba(247, 183, 51, 0.08), transparent 40%);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
  overflow-x: hidden;
}

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

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

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

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

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

h1 {
  font-size: clamp(1.75rem, 4.2vw, 2.9rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  position: relative;
  padding-left: 18px;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 6px;
  border-radius: 6px;
  background: var(--gradient-hero);
}

h3 {
  font-size: clamp(1.1rem, 1.9vw, 1.3rem);
  margin-top: 1.6em;
  color: var(--text);
}

h4 {
  font-size: 1.02rem;
  color: var(--brand-dark);
  margin-top: 1.2em;
}

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

ul,
ol {
  padding-left: 1.3em;
}

li {
  margin-bottom: 0.35em;
}

blockquote {
  margin: 1.2em 0;
  padding: 1em 1.2em 1em 1.4em;
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--brand-soft);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-style: normal;
  color: var(--text-soft);
}

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

time {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.4em;
}

.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;
}

/* ============ HEADER ============ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 2px 18px rgba(120, 60, 20, 0.06);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--text);
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.logo:hover {
  color: var(--brand);
}

.logo svg {
  border-radius: 11px;
  box-shadow: 0 4px 14px rgba(232, 93, 38, 0.35);
  transition: transform 0.35s var(--ease);
}

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

.logo-text {
  white-space: nowrap;
}

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

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

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

.main-nav a:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
  transform: translateY(-1px);
}

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

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

.site-search:focus-within {
  border-color: var(--brand-light);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

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

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

.site-search button {
  border: 0;
  cursor: pointer;
  background: var(--gradient-hero);
  color: #fff;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 15px;
  transition: filter 0.25s var(--ease);
}

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

#theme-toggle,
#menu-toggle {
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--text-soft);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 13px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

#theme-toggle:hover,
#menu-toggle:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-color: var(--brand-light);
  transform: translateY(-1px);
}

#menu-toggle {
  display: none;
}

.mobile-menu {
  border-top: 1px solid var(--border);
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: slideDown 0.3s var(--ease);
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 10px 20px 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}

.mobile-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text-soft);
}

.mobile-menu a:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

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

/* ============ BREADCRUMB ============ */
.breadcrumb {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 20px 0;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  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(--brand-dark);
  font-weight: 600;
}

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

main > section {
  margin-top: 28px;
  padding: 30px 32px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease),
    background 0.35s var(--ease), border-color 0.35s var(--ease);
  animation: fadeUp 0.6s var(--ease) both;
}

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

main > section > h2:first-child {
  margin-top: 0;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============ HERO ============ */
.hero {
  margin-top: 20px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.hero:hover {
  box-shadow: none !important;
}

.hero-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gradient-hero);
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
  box-shadow: 0 20px 50px rgba(232, 93, 38, 0.28);
  padding: 0;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 85% 15%,
      rgba(255, 255, 255, 0.28),
      transparent 45%
    ),
    radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.18), transparent 40%);
  pointer-events: none;
}

.slide {
  display: none;
  position: relative;
  z-index: 1;
  padding: clamp(32px, 5vw, 64px) clamp(22px, 5vw, 60px) clamp(56px, 6vw, 72px);
  color: #fff;
}

.slide.active {
  display: block;
  animation: slideIn 0.55s var(--ease);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide h1,
.slide h2 {
  color: #fff;
  text-shadow: 0 2px 16px rgba(120, 40, 0, 0.22);
  padding-left: 0;
  max-width: 900px;
}

.slide h2::before {
  display: none;
}

.slide p {
  color: rgba(255, 255, 255, 0.94);
  max-width: 860px;
  font-size: clamp(0.94rem, 1.5vw, 1.04rem);
  text-shadow: 0 1px 8px rgba(120, 40, 0, 0.18);
}

.hero-lead {
  line-height: 1.85;
}

.cta {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 30px;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 0.96rem;
  box-shadow: 0 8px 24px rgba(120, 40, 0, 0.24);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.3s var(--ease);
}

.cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 32px rgba(120, 40, 0, 0.32);
  background: #fff8f3;
  color: var(--brand-dark);
}

.cta:active {
  transform: translateY(-1px) scale(0.99);
}

.slider-controls {
  position: absolute;
  bottom: 18px;
  left: clamp(22px, 5vw, 60px);
  z-index: 2;
  display: flex;
  gap: 8px;
}

.slider-controls button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

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

.slider-controls button[aria-selected="true"] {
  background: #fff;
  color: var(--brand-dark);
  border-color: #fff;
  box-shadow: 0 4px 14px rgba(120, 40, 0, 0.25);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.stat {
  padding: 20px 16px;
  text-align: center;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--card-shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

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

.stat .num {
  display: block;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--brand);
  line-height: 1.2;
}

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

/* ============ ARTICLE / NEWS CARDS ============ */
#news,
#articles {
  display: block;
}

#news article,
#articles article {
  margin-top: 16px;
  padding: 20px 22px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease), background 0.3s var(--ease);
}

#news article:hover,
#articles article:hover {
  transform: translateY(-3px);
  border-color: var(--brand-light);
  box-shadow: var(--card-shadow-hover);
  background: var(--bg-elev);
}

#news article h3,
#articles article h3 {
  margin-top: 0;
  margin-bottom: 0.35em;
  font-size: 1.08rem;
}

#articles article p {
  margin-bottom: 0.7em;
}

#articles article a {
  display: inline-block;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

#articles article a:hover {
  background: var(--gradient-hero);
  color: #fff;
  transform: translateX(3px);
}

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

#faq details:hover {
  border-color: var(--brand-light);
  box-shadow: var(--card-shadow);
}

#faq details[open] {
  background: var(--bg-elev);
  border-color: var(--brand-light);
  box-shadow: var(--card-shadow);
}

#faq summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 15px 48px 15px 18px;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--text);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
  user-select: none;
}

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

#faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  line-height: 22px;
  text-align: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 1.1rem;
  font-weight: 700;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
    color 0.3s var(--ease);
}

#faq details[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
  background: var(--gradient-hero);
  color: #fff;
}

#faq summary:hover {
  color: var(--brand-dark);
  background: var(--brand-soft);
}

#faq details p {
  padding: 0 18px 16px;
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-soft);
  animation: fadeIn 0.35s var(--ease);
}

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

/* ============ CONTACT / ADDRESS ============ */
address {
  font-style: normal;
}

#contact address ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1em;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

#contact address li {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text-soft);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  word-break: break-word;
}

#contact address li:hover {
  transform: translateY(-2px);
  border-color: var(--brand-light);
  box-shadow: var(--card-shadow);
}

/* ============ SITEMAP / LINKS ============ */
#sitemap ul,
#links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#sitemap li,
#links li {
  margin: 0;
}

#sitemap a,
#links a {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.86rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text-soft);
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

#sitemap a:hover,
#links a:hover {
  background: var(--gradient-hero);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}

/* ============ FOOTER ============ */
footer {
  margin-top: 40px;
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
  border-top: 1px solid var(--border);
  padding: 40px 20px 28px;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

footer section h2 {
  font-size: 1rem;
  padding-left: 12px;
  margin-bottom: 0.7em;
}

footer section h2::before {
  width: 4px;
}

footer p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer ul li {
  margin-bottom: 6px;
}

footer ul a {
  font-size: 0.88rem;
  color: var(--text-soft);
}

footer ul a:hover {
  color: var(--brand);
  text-decoration: underline;
}

footer a {
  color: var(--brand);
}

.author-info {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

/* ============ BACK TO TOP ============ */
#back-to-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: var(--gradient-hero);
  color: #fff;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.1;
  padding: 0;
  box-shadow: 0 8px 24px rgba(232, 93, 38, 0.4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    opacity 0.3s var(--ease);
  animation: popIn 0.3s var(--ease);
}

#back-to-top:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 14px 32px rgba(232, 93, 38, 0.5);
}

#back-to-top[hidden] {
  display: none;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  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 {
    display: none;
  }

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

  .header-inner {
    gap: 12px;
  }

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

@media (max-width: 820px) {
  :root {
    --header-h: 62px;
    --radius-lg: 18px;
  }

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

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

  .site-search {
    display: none;
  }

  main {
    padding: 0 14px 32px;
  }

  main > section {
    padding: 22px 18px;
    margin-top: 20px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 14px 18px;
  }

  .stat .num {
    font-size: 1.5rem;
  }

  .stat .label {
    margin-top: 0;
    text-align: right;
    max-width: 62%;
  }

  .slide {
    padding: 30px 20px 62px;
  }

  .slider-controls {
    left: 20px;
    bottom: 16px;
  }

  #contact address ul {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  h2 {
    font-size: 1.28rem;
  }
}

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

  .logo-text {
    font-size: 0.98rem;
  }

  .logo svg {
    width: 34px;
    height: 34px;
  }

  #theme-toggle,
  #menu-toggle {
    font-size: 0.76rem;
    padding: 7px 11px;
  }

  .mobile-menu ul {
    grid-template-columns: 1fr;
  }

  .cta {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
  }

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

  #faq summary {
    font-size: 0.9rem;
    padding: 13px 44px 13px 14px;
  }
}

/* ============ MOTION / PRINT ============ */
@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;
  }
}

@media print {
  #site-header,
  .breadcrumb,
  .slider-controls,
  #back-to-top,
  .hero-stats {
    display: none !important;
  }

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

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