/* ===================================
   共創堂 コーポレートサイト - 共通CSS
   =================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Noto+Sans+JP:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
  /* Colors */
  --color-primary: #0f2a4a;
  --color-primary-light: #1a3d6b;
  --color-primary-dark: #091a30;
  --color-accent: #2563eb;
  --color-accent-light: #3b82f6;
  --color-accent-dark: #1d4ed8;
  --color-teal: #0d9488;
  --color-teal-light: #14b8a6;
  --color-white: #ffffff;
  --color-off-white: #f8fafc;
  --color-gray-50: #f1f5f9;
  --color-gray-100: #e2e8f0;
  --color-gray-200: #cbd5e1;
  --color-gray-300: #94a3b8;
  --color-gray-400: #64748b;
  --color-gray-500: #475569;
  --color-gray-600: #334155;
  --color-gray-700: #1e293b;
  --color-text: #1e293b;
  --color-text-light: #64748b;
  --color-text-muted: #94a3b8;
  --color-border: #e2e8f0;
  --color-overlay: rgba(15, 42, 74, 0.85);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0f2a4a 0%, #1a3d6b 50%, #0d9488 100%);
  --gradient-accent: linear-gradient(135deg, #2563eb 0%, #0d9488 100%);
  --gradient-dark: linear-gradient(180deg, rgba(15, 42, 74, 0.95) 0%, rgba(9, 26, 48, 0.98) 100%);

  /* Typography */
  --font-sans: 'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-en: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1400px;
  --header-height: 80px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.2);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

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

h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p {
  margin-bottom: 1em;
  line-height: 1.9;
}

.en {
  font-family: var(--font-en);
}

.section-label {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  display: block;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: var(--space-lg);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gradient-accent);
  margin-top: var(--space-md);
  border-radius: 2px;
}

.section-title.center::after {
  margin-left: auto;
  margin-right: auto;
}

.section-title.center {
  text-align: center;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-light);
  max-width: 700px;
  line-height: 2;
}

.section-desc.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

section {
  padding: var(--space-5xl) 0;
}

.section-bg-gray {
  background-color: var(--color-off-white);
}

.section-bg-dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-base);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-logo a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.header-logo .logo-mark {
  width: 40px;
  height: 40px;
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 1.2rem;
}

.header-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header-logo .logo-jp {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.05em;
}

.header-logo .logo-en {
  font-family: var(--font-en);
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--color-gray-400);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Navigation */
.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 0 var(--space-lg);
  height: var(--header-height);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--gradient-accent);
  transition: width var(--transition-base);
  border-radius: 2px 2px 0 0;
}

.nav-item:hover .nav-link::after,
.nav-item.active .nav-link::after {
  width: calc(100% - var(--space-2xl));
}

.nav-item:hover .nav-link {
  color: var(--color-accent);
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: var(--header-height);
  left: 50%;
  transform: translateX(-50%);
  min-width: 280px;
  background: var(--color-white);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: all var(--transition-base);
  padding: var(--space-lg) 0;
  border-top: 3px solid var(--color-accent);
}

.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-list {
  padding: 0 var(--space-sm);
}

.mega-menu-link {
  display: block;
  padding: var(--space-sm) var(--space-lg);
  font-size: 0.88rem;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.mega-menu-link:hover {
  background: var(--color-gray-50);
  color: var(--color-accent);
  padding-left: calc(var(--space-lg) + 4px);
}

/* Header CTA */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: var(--gradient-accent);
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.header-cta:hover {
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  padding: 4px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  padding: calc(var(--header-height) + var(--space-2xl)) var(--space-xl) var(--space-xl);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav-item {
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav-link {
  display: block;
  padding: var(--space-lg) 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text);
}

.mobile-nav-sub {
  padding: 0 0 var(--space-md) var(--space-lg);
}

.mobile-nav-sub a {
  display: block;
  padding: var(--space-sm) 0;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.mobile-nav-cta {
  display: block;
  text-align: center;
  padding: var(--space-md) var(--space-xl);
  background: var(--gradient-accent);
  color: var(--color-white);
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-top: var(--space-2xl);
}

/* --- Footer --- */
.footer {
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding-top: var(--space-4xl);
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.footer-brand .footer-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 1rem;
}

.footer-brand .footer-logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.footer-address {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
  font-style: normal;
}

.footer-nav-title {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  color: var(--color-white);
  letter-spacing: 0.05em;
}

.footer-nav-list a {
  display: block;
  padding: var(--space-xs) 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  transition: all var(--transition-fast);
}

.footer-nav-list a:hover {
  color: var(--color-teal-light);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl) 0;
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-xl);
}

.footer-bottom-links a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--color-teal-light);
}

.footer-copyright {
  font-family: var(--font-en);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-2xl);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn-white:hover {
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-lg {
  padding: var(--space-lg) var(--space-3xl);
  font-size: 1rem;
}

.btn-arrow::after {
  content: '→';
  transition: transform var(--transition-fast);
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* --- Cards --- */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

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

.card-image {
  overflow: hidden;
  aspect-ratio: 16/10;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-body {
  padding: var(--space-xl);
}

.card-tag {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--color-gray-50);
  color: var(--color-accent);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  line-height: 1.5;
}

.card-text {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-top: var(--space-md);
  transition: all var(--transition-fast);
}

.card-link::after {
  content: '→';
  transition: transform var(--transition-fast);
}

.card-link:hover {
  color: var(--color-accent-dark);
}

.card-link:hover::after {
  transform: translateX(4px);
}

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) 0;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.breadcrumb a {
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

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

.breadcrumb .separator {
  color: var(--color-gray-200);
  font-size: 0.7rem;
}

.breadcrumb .current {
  color: var(--color-text);
  font-weight: 500;
}

/* --- Page Hero --- */
.page-hero {
  position: relative;
  padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-4xl);
  background: var(--gradient-primary);
  color: var(--color-white);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: -10%;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(13, 148, 136, 0.15) 0%, transparent 70%);
}

.page-hero .breadcrumb {
  color: rgba(255, 255, 255, 0.6);
}

.page-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
}

.page-hero .breadcrumb a:hover {
  color: var(--color-white);
}

.page-hero .breadcrumb .separator {
  color: rgba(255, 255, 255, 0.3);
}

.page-hero .breadcrumb .current {
  color: var(--color-white);
}

.page-hero-label {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-teal-light);
  margin-bottom: var(--space-md);
}

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  line-height: 1.3;
}

.page-hero-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  line-height: 1.9;
}

/* --- Scroll Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  z-index: 900;
  box-shadow: var(--shadow-lg);
  font-size: 1.2rem;
}

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

.back-to-top:hover {
  background: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-accent { color: var(--color-accent); }
.text-teal { color: var(--color-teal); }
.text-muted { color: var(--color-text-light); }
.text-white { color: var(--color-white); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mt-3xl { margin-top: var(--space-3xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xl);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .header-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
  }

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

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  section {
    padding: var(--space-3xl) 0;
  }

  .container, .container-wide {
    padding: 0 var(--space-lg);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
  }

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

  .page-hero {
    padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-2xl);
  }
}

@media (max-width: 480px) {
  .container, .container-wide {
    padding: 0 var(--space-md);
  }

  .btn-lg {
    padding: var(--space-md) var(--space-xl);
    font-size: 0.9rem;
  }
}
