/* ============================================================
   CFHA Studio - Official Site Stylesheet
   Version: 1.0.0
   ============================================================ */

/* --- CSS Variables --- */
:root {
  /* Colors */
  --bg-primary: #0d1117;
  --bg-secondary: #151b25;
  --bg-card: #1a2233;
  --bg-card-hover: #1f2a3d;
  --border-card: rgba(100, 160, 220, 0.1);
  --border-card-hover: rgba(100, 180, 240, 0.22);

  --accent: #3b9eff;
  --accent-soft: #2d7dd2;
  --accent-glow: rgba(59, 158, 255, 0.15);
  --accent-gradient: linear-gradient(135deg, #2d7dd2, #3b9eff);

  --text-primary: #e6edf5;
  --text-secondary: #8b9ab5;
  --text-muted: #5a6a82;

  --status-live: #34d399;
  --status-dev: #fbbf24;
  --status-planned: #818cf8;
  --status-beta: #f472b6;

  /* Typography */
  --font-display: 'DM Sans', 'Noto Sans JP', sans-serif;
  --font-body: 'DM Sans', 'Noto Sans JP', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --section-gap: 6rem;
  --content-max: 1140px;
  --content-wide: 1280px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a:hover {
  color: #5cb3ff;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

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

ul, ol {
  list-style: none;
}

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

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-wide {
  width: 100%;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-gap) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.text-center { text-align: center; }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(59, 158, 255, 0.25);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59, 158, 255, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-card-hover);
}

.btn-outline:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-glow);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Cards --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 158, 255, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* No-hover card variant (for static cards like contact links) */
.card-static:hover {
  transform: none;
  box-shadow: none;
}

/* --- Status Badge --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-live {
  background: rgba(52, 211, 153, 0.12);
  color: var(--status-live);
}

.badge-dev {
  background: rgba(251, 191, 36, 0.12);
  color: var(--status-dev);
}

.badge-planned {
  background: rgba(129, 140, 248, 0.12);
  color: var(--status-planned);
}

.badge-beta {
  background: rgba(244, 114, 182, 0.12);
  color: var(--status-beta);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* --- Grid --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 1.5rem;
  transition: background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.site-header.scrolled {
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(100, 160, 220, 0.08);
}

.header-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo:hover {
  color: var(--text-primary);
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
}

/* Desktop Nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-desktop a {
  padding: 0.45rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all 0.25s var(--ease-out);
  text-decoration: none;
}

.nav-desktop a:hover {
  color: var(--text-primary);
  background: rgba(59, 158, 255, 0.06);
}

.nav-desktop a.active {
  color: var(--accent);
  background: var(--accent-glow);
}

/* Nav separator (between main and legal links) */
.nav-sep {
  width: 1px;
  height: 18px;
  background: var(--border-card);
  margin: 0 0.35rem;
  flex-shrink: 0;
}

/* Legal nav links - slightly subdued */
.nav-desktop a.nav-legal {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.nav-desktop a.nav-legal:hover {
  color: var(--text-secondary);
  background: rgba(59, 158, 255, 0.04);
}

.nav-desktop a.nav-legal.active {
  color: var(--accent);
  background: var(--accent-glow);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 1010;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px auto;
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13, 17, 23, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}

.nav-mobile.open {
  display: flex;
  opacity: 1;
}

.nav-mobile a {
  padding: 0.85rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: all 0.25s var(--ease-out);
  text-decoration: none;
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--accent);
  background: var(--accent-glow);
}

.nav-mobile .nav-mobile-divider {
  width: 40px;
  height: 1px;
  background: var(--border-card);
  margin: 0.5rem 0;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(45, 125, 210, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 158, 255, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero h1 {
  font-size: 3.5rem;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.hero h1 .accent {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.hero .desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero .btn-group {
  justify-content: center;
}

/* ============================================================
   CATEGORY CARDS (Top Page)
   ============================================================ */
.category-card {
  text-align: center;
  padding: 2.5rem 2rem;
}

.category-card .card-icon {
  margin: 0 auto 1.25rem;
  width: 60px;
  height: 60px;
  font-size: 1.6rem;
}

/* ============================================================
   FEATURE / STRENGTHS
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  padding: 1.75rem;
}

.feature-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: var(--radius-sm);
}

.feature-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.feature-item p {
  font-size: 0.92rem;
}

/* ============================================================
   PRODUCT HIGHLIGHT
   ============================================================ */
.highlight-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem;
}

.highlight-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.highlight-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.highlight-card p {
  margin-bottom: 1rem;
}

/* ============================================================
   NEWS / ROADMAP
   ============================================================ */
.news-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-card);
}

.news-item:last-child {
  border-bottom: none;
}

.news-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-shrink: 0;
  width: 90px;
  padding-top: 0.15rem;
}

.news-body h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.news-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ============================================================
   APP / TOOL CARDS (List Pages)
   ============================================================ */
.product-card {
  display: flex;
  flex-direction: column;
}

.product-card .card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.product-card h3 {
  margin-bottom: 0;
}

.product-card .card-actions {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-block {
  margin-bottom: 3.5rem;
}

.about-block h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.about-block p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 1rem;
  max-width: 720px;
  line-height: 1.8;
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-card);
}

.legal-content h2 {
  font-size: 1.25rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.legal-content p,
.legal-content li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  line-height: 1.8;
}

.legal-content ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-content ul li {
  position: relative;
  padding-left: 0.75rem;
  margin-bottom: 0.4rem;
}

.legal-content ul li::before {
  content: '・';
  position: absolute;
  left: -0.25rem;
  color: var(--text-muted);
}

.legal-date {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 2rem;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-box {
  max-width: 640px;
  margin: 0 auto;
}

.contact-box .card {
  padding: 3rem;
}

.contact-row {
  margin-bottom: 2rem;
}

.contact-row:last-child {
  margin-bottom: 0;
}

.contact-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.contact-value {
  font-size: 1.05rem;
  color: var(--text-primary);
}

.contact-note {
  background: var(--accent-glow);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 2rem;
}

.contact-note p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  text-align: center;
  padding: 4rem 2rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(45, 125, 210, 0.1), rgba(59, 158, 255, 0.05));
  border: 1px solid var(--border-card);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 158, 255, 0.4), transparent);
}

.cta-banner h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.cta-banner .btn-group {
  justify-content: center;
}

/* ============================================================
   PAGE HERO (Inner pages)
   ============================================================ */
.page-hero {
  padding: 8rem 1.5rem 3rem;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.4rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-card);
  padding: 4rem 1.5rem 2rem;
  margin-top: var(--section-gap);
}

.footer-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 280px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 0.3rem 0;
  transition: color 0.25s var(--ease-out);
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  max-width: var(--content-wide);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-info {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ============================================================
   DIVIDER
   ============================================================ */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-card-hover), transparent);
  max-width: var(--content-max);
  margin: 0 auto;
}

/* ============================================================
   ANIMATIONS (subtle, not excessive)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  }

  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .stagger > * {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  }

  .stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
  .stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
  .stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
  .stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }
  .stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
  .stagger.visible > *:nth-child(6) { transition-delay: 0.3s; }

  .stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fallback: show immediately if prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Large tablet / small desktop */
@media (max-width: 1100px) {
  .nav-desktop a {
    padding: 0.4rem 0.55rem;
    font-size: 0.82rem;
  }

  .nav-desktop a.nav-legal {
    font-size: 0.78rem;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* Tablet portrait */
@media (max-width: 768px) {
  :root {
    --section-gap: 4rem;
  }

  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 80vh;
    padding: 5rem 1.25rem 3rem;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero .subtitle {
    font-size: 1.05rem;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .highlight-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .highlight-icon {
    margin: 0 auto;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .page-hero h1 {
    font-size: 1.8rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .contact-box .card {
    padding: 2rem 1.5rem;
  }

  .news-item {
    flex-direction: column;
    gap: 0.4rem;
  }

  .news-date {
    width: auto;
  }
}

/* Mobile */
@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-group .btn {
    text-align: center;
  }

  .card {
    padding: 1.5rem;
  }

  .hero .desc {
    font-size: 0.95rem;
  }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header,
  .nav-mobile,
  .menu-toggle {
    display: none !important;
  }

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

  .card {
    border: 1px solid #ccc;
    background: #fff;
  }
}
