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

/* ==========================================================================
   Design System & Custom Properties
   ========================================================================== */
:root {
  --bg-primary: #faf9f6;       /* 明るい生成り色・白木 */
  --bg-secondary: #f3efe6;     /* 温かみのあるベージュ・大豆色 */
  --bg-tertiary: #ffffff;      /* 純白のカード・ボックス用 */
  --text-primary: #2b2521;     /* 墨黒・深い焦げ茶 */
  --text-muted: #6b6359;       /* 灰炭色 */
  --accent-gold: #b89321;      /* 落ち着いたゴールド・黄金色 */
  --accent-gold-dark: #8c6f13; /* 深いゴールド */
  --accent-gold-light: #dcb33f;/* 輝くゴールド */
  --border-color: #ded9d0;     /* 薄い境界線色 */
  
  --font-serif: 'Noto Serif JP', serif;
  --font-sans: 'Noto Sans JP', sans-serif;
  
  --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-quick: all 0.2s ease;
  
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.02);
}

/* 豆富特設ページ用の明るいテーマの上書き用 */
.tofu-theme {
  --bg-primary: #ffffff;       /* 純白 */
  --bg-secondary: #fdfcf9;     /* より明るいベージュ */
  --bg-tertiary: #ffffff;      /* 純白のカード */
  --text-primary: #2c2825;     /* 炭黒の文字 */
  --text-muted: #6e6761;       /* 灰色の文字 */
  --accent-gold: #b3923b;      /* 落ち着いたゴールド */
  --accent-gold-dark: #8c712b;
  --accent-gold-light: #e5cb85;
  --border-color: #e5e0d8;
}

/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.8;
  letter-spacing: 0.05em;
  overflow-x: hidden;
  transition: var(--transition-smooth);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--text-primary);
}

p {
  font-weight: 300;
}

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

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

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.font-serif {
  font-family: var(--font-serif);
}

.text-gold {
  color: var(--accent-gold);
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 3.5rem;
  position: relative;
  padding-bottom: 1.2rem;
  letter-spacing: 0.15em;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background-color: var(--accent-gold);
}

.section-subtitle {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition-smooth);
}

header.scrolled {
  background-color: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  border-bottom: 1px solid var(--border-color);
}

.tofu-theme header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 20px rgba(0,0,0,0.03);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.logo span {
  font-size: 0.9rem;
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text-muted);
  margin-left: 0.5rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 400;
  position: relative;
  padding: 0.3rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-gold);
  transition: var(--transition-quick);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-links .active-link {
  color: var(--accent-gold);
}

.nav-links .active-link::after {
  width: 100%;
}

/* Mobile Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-primary);
  margin: 5px 0;
  transition: var(--transition-quick);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.65) contrast(1.05);
  transform: scale(1.05);
  animation: zoomHero 20s infinite alternate;
  z-index: 1;
}

@keyframes zoomHero {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent 20%, rgba(15, 14, 12, 0.45) 85%);
  z-index: 2;
  opacity: 0.85;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 0 2rem;
  color: #ffffff;
}

.hero-sub {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: #f1c40f;
  letter-spacing: 0.3em;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards 0.3s;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2rem;
  letter-spacing: 0.1em;
  color: #ffffff;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(25px);
  animation: fadeInUp 1.2s forwards 0.6s;
}

.hero-desc {
  font-size: 1.1rem;
  color: #f5f3ef;
  max-width: 600px;
  margin: 0 auto 3rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards 0.9s;
}

.hero-btn-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  opacity: 0;
  transform: translateY(15px);
  animation: fadeInUp 1s forwards 1.2s;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-gold {
  background-color: var(--accent-gold);
  color: #0f0e0c;
  border: 1px solid var(--accent-gold);
}

.btn-gold:hover {
  background-color: transparent;
  color: var(--accent-gold);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

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

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

/* ==========================================================================
   Section Layouts
   ========================================================================== */
section {
  padding: 8rem 0;
  position: relative;
}

.section-bg-alt {
  background-color: var(--bg-secondary);
}

/* ==========================================================================
   Concept Section
   ========================================================================== */
.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.concept-img-wrapper {
  position: relative;
}

.concept-img-frame {
  border: 1px solid var(--border-color);
  padding: 1rem;
  background-color: var(--bg-secondary);
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-lg);
}

.concept-img-wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-top: 2px solid var(--accent-gold);
  border-left: 2px solid var(--accent-gold);
  z-index: 1;
}

.concept-img-wrapper::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border-bottom: 2px solid var(--accent-gold);
  border-right: 2px solid var(--accent-gold);
  z-index: 1;
}

.concept-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.concept-text p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.concept-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.stat-item h4 {
  font-size: 2.2rem;
  color: var(--accent-gold);
  margin-bottom: 0.2rem;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-primary);
  margin: 0;
}

/* ==========================================================================
   Menu Section
   ========================================================================== */
.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
  list-style: none;
}

.menu-tab-btn {
  background: none;
  border: 1px solid var(--border-color);
  padding: 0.8rem 2rem;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-quick);
  border-radius: 2px;
}

.menu-tab-btn:hover, .menu-tab-btn.active {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background-color: rgba(212, 175, 55, 0.05);
}

.menu-content-pane {
  display: none;
}

.menu-content-pane.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 4rem;
  animation: fadeIn 0.6s forwards;
}

.menu-item {
  display: flex;
  gap: 1.5rem;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 1.5rem;
  align-items: flex-start;
}

.menu-item-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border: 1px solid var(--border-color);
  border-radius: 2px;
  flex-shrink: 0;
}

.menu-item-info {
  flex-grow: 1;
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.menu-item-title {
  font-size: 1.15rem;
  font-weight: 600;
}

.menu-item-price {
  font-family: var(--font-serif);
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 1.1rem;
}

.menu-item-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.menu-note {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 1.5rem;
}

/* ==========================================================================
   Special Banner (Tofu Showcase)
   ========================================================================== */
.tofu-banner {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  padding: 0;
}

.tofu-banner-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.tofu-banner-content {
  padding: 6rem 5rem;
}

.tofu-badge {
  display: inline-block;
  background-color: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  font-size: 0.8rem;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
}

.tofu-banner-title {
  font-size: 2.8rem;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.tofu-banner-desc {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.tofu-banner-img {
  height: 100%;
  min-height: 450px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.tofu-banner-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--bg-secondary) 0%, transparent 40%);
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid var(--border-color);
  border-radius: 2px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 14, 12, 0.7);
  opacity: 0;
  transition: var(--transition-quick);
}

.gallery-hover-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  z-index: 2;
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition-smooth);
}

.gallery-hover-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--accent-gold);
}

.gallery-hover-tag {
  font-size: 0.75rem;
  color: var(--text-primary);
  margin-top: 0.2rem;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item:hover .gallery-hover-info {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Info & Access Section
   ========================================================================== */
.info-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table tr {
  border-bottom: 1px solid var(--border-color);
}

.info-table tr:last-child {
  border-bottom: none;
}

.info-table th {
  text-align: left;
  font-family: var(--font-serif);
  font-weight: 600;
  padding: 1.5rem 0;
  width: 130px;
  color: var(--accent-gold);
  vertical-align: top;
}

.info-table td {
  padding: 1.5rem 0;
  color: var(--text-primary);
}

.map-wrapper {
  border: 1px solid var(--border-color);
  padding: 0.8rem;
  background-color: var(--bg-secondary);
  box-shadow: var(--shadow-lg);
  height: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

.map-iframe {
  width: 100%;
  flex-grow: 1;
  border: none;
}

.map-link-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  background-color: var(--bg-tertiary);
  margin-top: 0.8rem;
  font-size: 0.85rem;
  border: 1px solid var(--border-color);
  transition: var(--transition-quick);
}

.map-link-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* ==========================================================================
   Tofu Page (tofu.html) Specific Layouts
   ========================================================================== */
.tofu-hero {
  padding: 12rem 0 8rem;
  text-align: center;
  background: radial-gradient(circle, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border-color);
}

.tofu-hero-sub {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--accent-gold);
  letter-spacing: 0.4em;
  margin-bottom: 1rem;
}

.tofu-hero-title {
  font-size: 4rem;
  margin-bottom: 2rem;
  letter-spacing: 0.1em;
}

.tofu-hero-title span {
  display: block;
  font-size: 1.5rem;
  font-family: var(--font-sans);
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.tofu-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.tofu-intro-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.tofu-intro-text p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.tofu-intro-img {
  border: 1px solid var(--border-color);
  padding: 1rem;
  background-color: var(--bg-secondary);
}

/* Tofu 7 Pillars (Timeline Style) */
.pillars-section {
  position: relative;
}

.pillars-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.pillars-timeline::after {
  content: '';
  position: absolute;
  width: 1px;
  background-color: var(--border-color);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.pillar-container {
  padding: 2rem 3rem;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.pillar-container::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  right: -7px;
  background-color: var(--bg-primary);
  border: 2px solid var(--accent-gold);
  top: 2.8rem;
  border-radius: 50%;
  z-index: 1;
}

.pillar-left {
  left: 0;
}

.pillar-right {
  left: 50%;
}

.pillar-right::after {
  left: -7px;
}

.pillar-content {
  padding: 2.5rem;
  background-color: var(--bg-secondary);
  position: relative;
  border-radius: 2px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.pillar-content:hover {
  border-color: var(--accent-gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.pillar-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(212, 175, 55, 0.15);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
}

.pillar-title {
  font-size: 1.25rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
  font-family: var(--font-serif);
  position: relative;
  z-index: 2;
}

.pillar-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 7rem; /* 下部に少し多めの余白（スマホの電話固定ボタン用） */
  text-align: center;
}

.tofu-theme footer {
  background-color: #f0ebe1;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin-bottom: 2rem;
}

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

.footer-info {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

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

/* ==========================================================================
   Fixed Contact Bar (Mobile & Common)
   ========================================================================== */
.fixed-contact-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-color);
  z-index: 999;
  display: flex;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
}

.tofu-theme .fixed-contact-bar {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.03);
}

.contact-bar-item {
  flex: 1;
  text-align: center;
  padding: 1.2rem;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  border-right: 1px solid var(--border-color);
  color: var(--text-primary);
  transition: var(--transition-quick);
}

.contact-bar-item:last-child {
  border-right: none;
}

.contact-bar-item:hover {
  background-color: rgba(212, 175, 55, 0.1);
  color: var(--accent-gold);
}

.contact-bar-phone {
  background-color: var(--accent-gold);
  color: #0f0e0c;
}

.contact-bar-phone:hover {
  background-color: var(--accent-gold-light);
  color: #0f0e0c;
}

.contact-bar-item svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media screen and (max-width: 992px) {
  .concept-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .tofu-banner-grid {
    grid-template-columns: 1fr;
  }
  
  .tofu-banner-img {
    height: 350px;
    min-height: auto;
  }
  
  .tofu-banner-img::after {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, transparent 40%);
  }
  
  .info-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tofu-intro-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

@media screen and (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
  }
  
  .menu-content-pane.active {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: var(--bg-secondary);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: -5px 0 30px rgba(0,0,0,0.5);
    z-index: 999;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .mobile-menu-btn {
    display: block;
    z-index: 1000;
  }
  
  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  /* Timeline Responsive */
  .pillars-timeline::after {
    left: 31px;
  }
  
  .pillar-container {
    width: 100%;
    padding-left: 5rem;
    padding-right: 1.5rem;
  }
  
  .pillar-container::after {
    left: 24px;
    right: auto;
  }
  
  .pillar-right {
    left: 0;
  }
}

@media screen and (max-width: 576px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-sub {
    font-size: 1.1rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .fixed-contact-bar {
    padding-bottom: env(safe-area-inset-bottom);
  }
}
