:root {
  --primary: #c8503c;
  --primary-dark: #a83e2e;
  --primary-light: #e87a66;
  --primary-soft: #fdf0ed;
  --secondary: #d4a574;
  --secondary-dark: #b8895a;
  --accent: #6b8e7b;
  --accent-light: #8fb5a0;
  --bg: #fdfaf7;
  --bg-alt: #f7f0ea;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.72);
  --bg-glass-border: rgba(255, 255, 255, 0.5);
  --text: #3d2e28;
  --text-secondary: #6b5a52;
  --text-light: #9a8a82;
  --border: #e8ddd5;
  --shadow-sm: 0 2px 8px rgba(61, 46, 40, 0.06);
  --shadow: 0 4px 20px rgba(61, 46, 40, 0.08);
  --shadow-lg: 0 12px 40px rgba(61, 46, 40, 0.12);
  --shadow-hover: 0 16px 48px rgba(200, 80, 60, 0.16);
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s ease;
  --max-width: 1200px;
  --header-height: 72px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #e87a66;
    --primary-dark: #c8503c;
    --primary-light: #f0a090;
    --primary-soft: #2a1e1a;
    --secondary: #d4a574;
    --secondary-dark: #b8895a;
    --accent: #8fb5a0;
    --accent-light: #a8ccb8;
    --bg: #1a1412;
    --bg-alt: #221b18;
    --bg-card: #2a211d;
    --bg-glass: rgba(42, 33, 29, 0.75);
    --bg-glass-border: rgba(255, 255, 255, 0.08);
    --text: #f0e8e2;
    --text-secondary: #c4b5ac;
    --text-light: #8a7a72;
    --border: #3d302a;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 16px 48px rgba(232, 122, 102, 0.2);
  }
}

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

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

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color var(--transition), color var(--transition);
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
  opacity: 0.85;
}

ul, ol {
  list-style: none;
}

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

h1 { font-size: 2.4rem; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.25rem; }

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

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

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-alt);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-light);
}

/* ============ HEADER ============ */
header[role="banner"] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--bg-glass-border);
  transition: background var(--transition), box-shadow var(--transition);
}

header[role="banner"]:hover {
  box-shadow: var(--shadow-sm);
}

header[role="banner"] nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

header[role="banner"] nav > a {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  transition: transform var(--transition-fast);
}

header[role="banner"] nav > a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

header[role="banner"] nav > a:hover::after {
  transform: scaleX(1);
}

header[role="banner"] nav > a:hover {
  transform: translateY(-1px);
  opacity: 1;
}

header[role="banner"] nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

header[role="banner"] nav ul::-webkit-scrollbar {
  display: none;
}

header[role="banner"] nav ul li a {
  display: block;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

header[role="banner"] nav ul li a:hover {
  color: var(--primary);
  background: var(--primary-soft);
  transform: translateY(-1px);
  opacity: 1;
}

/* ============ MAIN ============ */
main {
  padding-top: var(--header-height);
}

main > section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 72px 24px;
  opacity: 0;
  transform: translateY(32px);
  animation: fadeInUp 0.7s ease forwards;
}

main > section:nth-child(1) { animation-delay: 0.05s; }
main > section:nth-child(2) { animation-delay: 0.1s; }
main > section:nth-child(3) { animation-delay: 0.15s; }
main > section:nth-child(4) { animation-delay: 0.2s; }
main > section:nth-child(5) { animation-delay: 0.25s; }
main > section:nth-child(6) { animation-delay: 0.3s; }
main > section:nth-child(7) { animation-delay: 0.35s; }
main > section:nth-child(8) { animation-delay: 0.4s; }
main > section:nth-child(9) { animation-delay: 0.45s; }
main > section:nth-child(10) { animation-delay: 0.5s; }
main > section:nth-child(11) { animation-delay: 0.55s; }
main > section:nth-child(12) { animation-delay: 0.6s; }
main > section:nth-child(13) { animation-delay: 0.65s; }
main > section:nth-child(14) { animation-delay: 0.7s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main > section > h2 {
  position: relative;
  margin-bottom: 32px;
  padding-bottom: 16px;
  font-size: 1.85rem;
}

main > section > h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

main > section > h2 + p {
  margin-top: -16px;
  margin-bottom: 32px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 720px;
}

/* ============ HERO ============ */
#hero {
  position: relative;
  max-width: 100%;
  padding: 96px 24px 88px;
  background: linear-gradient(135deg, #fdf0ed 0%, #f7e8e0 25%, #f0e4d8 50%, #e8ddd5 75%, #fdf0ed 100%);
  background-size: 400% 400%;
  animation: gradientShift 18s ease infinite, fadeInUp 0.7s ease forwards;
  overflow: hidden;
  text-align: center;
}

#hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200, 80, 60, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatOrb 12s ease-in-out infinite;
}

#hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatOrb 15s ease-in-out infinite reverse;
}

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

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

@media (prefers-color-scheme: dark) {
  #hero {
    background: linear-gradient(135deg, #2a1e1a 0%, #221b18 25%, #1a1412 50%, #221b18 75%, #2a1e1a 100%);
    background-size: 400% 400%;
  }

  #hero::before {
    background: radial-gradient(circle, rgba(232, 122, 102, 0.15) 0%, transparent 70%);
  }

  #hero::after {
    background: radial-gradient(circle, rgba(212, 165, 116, 0.12) 0%, transparent 70%);
  }
}

#hero h1 {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto 24px;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.5px;
  color: var(--text);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--secondary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (prefers-color-scheme: dark) {
  #hero h1 {
    background: linear-gradient(135deg, var(--primary-light), var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

#hero p {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto 16px;
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--text-secondary);
}

#hero p:nth-of-type(1) {
  margin-bottom: 20px;
}

#hero a {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 24px 8px 0;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

#hero a:first-of-type {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 16px rgba(200, 80, 60, 0.3);
}

#hero a:first-of-type:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 28px rgba(200, 80, 60, 0.4);
  opacity: 1;
}

#hero a:last-of-type {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--primary);
  border: 2px solid var(--primary);
}

#hero a:last-of-type:hover {
  background: var(--primary-soft);
  transform: translateY(-3px) scale(1.03);
  box-shadow: var(--shadow);
  opacity: 1;
}

/* ============ CARDS ============ */
main > section article {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}

main > section article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 0 4px 4px 0;
  opacity: 0;
  transition: opacity var(--transition);
}

main > section article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(200, 80, 60, 0.2);
}

main > section article:hover::before {
  opacity: 1;
}

main > section article h3 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 1.2rem;
  transition: color var(--transition-fast);
}

main > section article:hover h3 {
  color: var(--primary);
}

main > section article time {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: var(--text-light);
  background: var(--bg-alt);
  padding: 3px 12px;
  border-radius: 50px;
}

main > section article a {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  position: relative;
  transition: transform var(--transition-fast);
}

main > section article a::after {
  content: ' →';
  transition: transform var(--transition-fast);
  display: inline-block;
}

main > section article a:hover {
  transform: translateX(4px);
  opacity: 1;
}

/* ============ LISTS ============ */
main > section article ul,
main > section article ol {
  margin: 12px 0 4px;
  padding-left: 0;
}

main > section article ul li {
  position: relative;
  padding: 6px 0 6px 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

main > section article ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 15px;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  transition: transform var(--transition-fast);
}

main > section article ul li:hover {
  color: var(--text);
  transform: translateX(4px);
}

main > section article ul li:hover::before {
  transform: scale(1.4);
}

main > section article ol {
  counter-reset: step-counter;
}

main > section article ol li {
  position: relative;
  padding: 10px 0 10px 44px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  counter-increment: step-counter;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

main > section article ol li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 10px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

main > section article ol li:hover {
  color: var(--text);
  transform: translateX(4px);
}

main > section article ol li:hover::before {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(200, 80, 60, 0.35);
}

/* ============ DL (Team) ============ */
main > section article dl {
  margin: 12px 0 0;
}

main > section article dt {
  font-weight: 700;
  color: var(--primary);
  margin-top: 16px;
  font-size: 1rem;
  transition: transform var(--transition-fast);
}

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

main > section article dt:hover {
  transform: translateX(4px);
}

main > section article dd {
  margin-left: 0;
  margin-top: 4px;
  padding-left: 16px;
  border-left: 3px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

main > section article dd:hover {
  border-color: var(--primary);
}

/* ============ BLOCKQUOTE (Testimonials) ============ */
#testimonials blockquote {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px 36px 28px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

#testimonials blockquote::before {
  content: '\201C';
  position: absolute;
  top: 8px;
  left: 20px;
  font-size: 5rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: 0.15;
  pointer-events: none;
}

#testimonials blockquote::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width var(--transition);
}

#testimonials blockquote:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

#testimonials blockquote:hover::after {
  width: 100%;
}

#testimonials blockquote p {
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 16px;
}

#testimonials blockquote footer {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  font-style: normal;
}

/* ============ FAQ ============ */
#faq article {
  padding: 24px 28px;
  cursor: default;
}

#faq article h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

#faq article h3::before {
  content: 'Q';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  min-width: 26px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  transition: transform var(--transition-fast);
}

#faq article:hover h3::before {
  transform: rotate(360deg) scale(1.1);
}

#faq article p {
  padding-left: 36px;
  color: var(--text-secondary);
}

/* ============ HOWTO ============ */
#howto article {
  padding: 28px 32px;
}

#howto article h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

#howto article h3::before {
  content: '';
  width: 6px;
  height: 22px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 3px;
  flex-shrink: 0;
}

/* ============ CONTACT / ADDRESS ============ */
#contact address {
  font-style: normal;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

#contact address:hover {
  box-shadow: var(--shadow);
}

#contact address p {
  padding: 6px 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  border-bottom: 1px dashed var(--border);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

#contact address p:last-child {
  border-bottom: none;
}

#contact address p:hover {
  color: var(--text);
  padding-left: 8px;
}

#contact address a {
  font-weight: 600;
}

/* ============ SITEMAP / LINKS ============ */
#sitemap ul,
#links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#sitemap ul li a,
#links ul li a {
  display: inline-block;
  padding: 10px 22px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

#sitemap ul li a:hover,
#links ul li a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(200, 80, 60, 0.3);
  opacity: 1;
}

#links ul li a {
  font-weight: 600;
  color: var(--primary);
  border-color: var(--primary);
  background: transparent;
}

#links ul li a:hover {
  color: #fff;
}

/* ============ FOOTER ============ */
footer[role="contentinfo"] {
  position: relative;
  max-width: 100%;
  margin-top: 0;
  padding: 64px 24px 40px;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
}

@media (prefers-color-scheme: dark) {
  footer[role="contentinfo"] {
    background: linear-gradient(180deg, #221b18 0%, #1a1412 100%);
  }
}

footer[role="contentinfo"] > section {
  max-width: var(--max-width);
  margin: 0 auto 32px;
  padding: 0;
}

footer[role="contentinfo"] > section h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

footer[role="contentinfo"] > section h2::before {
  content: '';
  width: 4px;
  height: 16px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 2px;
  flex-shrink: 0;
}

footer[role="contentinfo"] > section p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 4px;
}

footer[role="contentinfo"] > p {
  max-width: var(--max-width);
  margin: 24px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
}

footer[role="contentinfo"] > p small {
  color: var(--text-light);
  font-size: 0.82rem;
}

/* Footer grid on larger screens */
@media (min-width: 768px) {
  footer[role="contentinfo"] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 48px;
    padding: 72px 48px 40px;
  }

  footer[role="contentinfo"] > section {
    margin-bottom: 36px;
  }

  footer[role="contentinfo"] > p {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  footer[role="contentinfo"] {
    grid-template-columns: repeat(3, 1fr);
    padding: 80px 64px 40px;
  }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.6rem; }

  #hero h1 {
    font-size: 2.2rem;
  }

  main > section {
    padding: 56px 20px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }

  body {
    font-size: 15px;
    line-height: 1.75;
  }

  header[role="banner"] nav {
    padding: 0 16px;
    gap: 10px;
  }

  header[role="banner"] nav > a {
    font-size: 1.15rem;
  }

  header[role="banner"] nav ul {
    gap: 0;
  }

  header[role="banner"] nav ul li a {
    padding: 6px 10px;
    font-size: 0.82rem;
  }

  main > section {
    padding: 48px 16px;
  }

  main > section > h2 {
    font-size: 1.4rem;
    margin-bottom: 24px;
  }

  main > section > h2::after {
    width: 44px;
    height: 3px;
  }

  #hero {
    padding: 64px 16px 56px;
  }

  #hero h1 {
    font-size: 1.65rem;
    margin-bottom: 18px;
  }

  #hero p {
    font-size: 0.98rem;
  }

  #hero a {
    display: block;
    max-width: 280px;
    margin: 18px auto 0;
    padding: 14px 24px;
    text-align: center;
  }

  #hero a:first-of-type {
    margin-top: 28px;
  }

  main > section article {
    padding: 22px 20px;
    border-radius: var(--radius-sm);
  }

  main > section article h3 {
    font-size: 1.05rem;
  }

  #faq article {
    padding: 20px 18px;
  }

  #faq article p {
    padding-left: 0;
    margin-top: 8px;
  }

  #howto article {
    padding: 22px 20px;
  }

  #contact address {
    padding: 22px 20px;
  }

  #testimonials blockquote {
    padding: 28px 24px 24px;
  }

  #testimonials blockquote::before {
    font-size: 3.5rem;
    top: 4px;
    left: 12px;
  }

  #testimonials blockquote p {
    font-size: 0.98rem;
  }

  footer[role="contentinfo"] {
    padding: 48px 16px 32px;
  }

  #sitemap ul,
  #links ul {
    gap: 8px;
  }

  #sitemap ul li a,
  #links ul li a {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.25rem; }

  header[role="banner"] nav > a {
    font-size: 1rem;
  }

  header[role="banner"] nav ul li a {
    padding: 5px 8px;
    font-size: 0.78rem;
  }

  main > section {
    padding: 40px 14px;
  }

  #hero {
    padding: 52px 14px 48px;
  }

  #hero h1 {
    font-size: 1.35rem;
  }

  #hero p {
    font-size: 0.92rem;
  }

  main > section article {
    padding: 18px 16px;
  }

  main > section > h2 {
    font-size: 1.2rem;
  }

  #testimonials blockquote {
    padding: 24px 18px 20px;
  }

  footer[role="contentinfo"] {
    padding: 40px 14px 28px;
  }
}

/* ============ ACCESSIBILITY ============ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  main > section {
    opacity: 1;
    transform: none;
  }
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============ PRINT ============ */
@media print {
  header[role="banner"],
  #hero a,
  footer[role="contentinfo"] > p {
    display: none;
  }

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

  main > section {
    opacity: 1;
    transform: none;
    page-break-inside: avoid;
  }

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