/* =========================================
   Maple & Bean Cafe, Template Stylesheet
   Warm · Inviting · Artisanal
   ========================================= */

:root {
  --primary: #6B4226;
  --primary-dark: #4A2C19;
  --primary-light: #F5EFE6;
  --accent: #C9A26B;
  --accent-dark: #A67E48;
  --rust: #B85C3C;
  --dark: #2A1A0F;
  --text: #3D2C20;
  --muted: #8A7864;
  --border: #E8DFD2;
  --bg: #FBF7F0;
  --bg-soft: #F5EFE6;
  --bg-cream: #FAF4E8;
  --bg-dark: #2A1A0F;
  --leaf: #6B7E4A;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 3px rgba(42, 26, 15, 0.06);
  --shadow: 0 12px 36px rgba(42, 26, 15, 0.10);
  --shadow-lg: 0 24px 64px rgba(42, 26, 15, 0.16);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Fraunces', Georgia, serif;
  --font-script: 'Caveat', cursive;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  animation: pageIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes pageIn {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

body.page-leaving {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  body, body.page-leaving {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}

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

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }
.center { text-align: center; }
.bg-soft { background: var(--bg-soft); }
.bg-cream { background: var(--bg-cream); }
.bg-dark { background: var(--bg-dark); color: #F5EFE6; }
.mt-48 { margin-top: 48px; }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--dark);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 3.5vw, 2.85rem); }
h3 { font-size: 1.35rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

h1 em, h2 em {
  font-style: italic;
  color: var(--primary);
  font-weight: 400;
}

p { margin-bottom: 1em; color: var(--text); }
p.lead { font-size: 1.18rem; color: var(--muted); line-height: 1.7; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary);
  margin-bottom: 18px;
  padding: 6px 14px;
  background: rgba(201, 162, 107, 0.14);
  border-radius: 999px;
}

.script {
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--accent-dark);
  font-weight: 500;
}

.section-header { margin-bottom: 56px; }
.section-header.center { max-width: 680px; margin-left: auto; margin-right: auto; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { color: var(--muted); font-size: 1.05rem; }
.section-header.between {
  display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap;
}
.section-header.light h2,
.section-header.light .eyebrow { color: var(--bg-cream); }
.section-header.light .eyebrow { background: rgba(201, 162, 107, 0.22); }
.section-header.light p { color: rgba(245, 239, 230, 0.78); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-primary {
  background: var(--primary);
  color: #FBF7F0;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #FBF7F0;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #FBF7F0;
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: transparent;
}
.btn-ghost:hover {
  background: rgba(107, 66, 38, 0.08);
  color: var(--primary-dark);
}
.btn-ghost-light {
  background: rgba(245, 239, 230, 0.10);
  color: #F5EFE6;
  border-color: rgba(245, 239, 230, 0.28);
}
.btn-ghost-light:hover {
  background: rgba(245, 239, 230, 0.18);
  color: #fff;
  transform: translateY(-2px);
}

/* ============ TOPBAR ============ */
.topbar {
  background: var(--dark);
  color: #E8DFD2;
  font-size: 0.82rem;
  padding: 9px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-left, .topbar-right {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.topbar span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(245, 239, 230, 0.82);
}
.topbar span svg { color: var(--accent); }

/* ============ HEADER ============ */
.header {
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.header.scrolled {
  box-shadow: 0 4px 24px rgba(42, 26, 15, 0.07);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  gap: 20px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
  font-weight: 700;
  font-size: 1.15rem;
}
.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--bg-cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.logo-text {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}
.logo-text span { color: var(--accent-dark); font-style: italic; font-weight: 500; }
.logo-light { color: var(--bg-cream); }
.logo-light .logo-mark { background: var(--accent); color: var(--dark); }
.logo-light .logo-text span { color: var(--accent); }

.nav { display: flex; gap: 32px; align-items: center; }
.nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--primary); }

.header-cta { display: flex; gap: 10px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -180px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(201, 162, 107, 0.18), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero-content h1 {
  margin: 16px 0 22px;
}
.hero-content .lead {
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-trust {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.trust-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
  font-weight: 600;
}
.trust-item span {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-visual { position: relative; }
.hero-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
}
.hero-illustration {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.hero-badge {
  position: absolute;
  bottom: 36px;
  left: -28px;
  background: #fff;
  padding: 14px 18px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  max-width: 220px;
}
.hero-badge svg { color: var(--leaf); flex-shrink: 0; }
.hero-badge strong {
  display: block;
  font-size: 0.9rem;
  color: var(--dark);
  font-family: var(--font-sans);
}
.hero-badge span {
  font-size: 0.78rem;
  color: var(--muted);
}
.hero-pill {
  position: absolute;
  top: 28px;
  right: -16px;
  background: var(--primary);
  color: #FBF7F0;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow);
}

/* ============ HIGHLIGHTS (quick cards) ============ */
.highlights { padding: 72px 0; background: var(--bg); }
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.highlight-card {
  background: var(--bg-cream);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  text-align: center;
}
.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}
.highlight-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--primary);
  color: var(--bg-cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.highlight-card h3 { margin-bottom: 8px; }
.highlight-card p { font-size: 0.93rem; color: var(--muted); margin: 0; }

/* ============ ABOUT PREVIEW ============ */
.about-preview {
  background: var(--bg-soft);
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about-visual { position: relative; }
.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-image svg { width: 100%; height: auto; }
.about-float {
  position: absolute;
  bottom: -28px;
  right: -14px;
  background: #fff;
  padding: 18px 22px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.about-float svg { color: var(--accent-dark); }
.about-float strong { display: block; font-family: var(--font-sans); font-size: 0.92rem; color: var(--dark); }
.about-float span { font-size: 0.78rem; color: var(--muted); }
.about-content h2 { margin-bottom: 18px; }
.about-content > p { margin-bottom: 24px; color: var(--muted); }
.check-list { margin-bottom: 32px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 0;
  color: var(--text);
  font-size: 0.98rem;
}
.check { color: var(--leaf); font-weight: 700; flex-shrink: 0; }

/* ============ MENU PREVIEW ============ */
.menu-preview { background: var(--bg); }
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 56px;
}
.menu-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 22px;
  border-bottom: 1px dashed var(--border);
}
.menu-item:hover h3 { color: var(--primary); }
.menu-thumb {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--bg-cream);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  overflow: hidden;
}
.menu-info { flex: 1; }
.menu-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}
.menu-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  transition: color var(--transition);
}
.menu-price {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}
.menu-info p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}
.menu-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
  background: rgba(201, 162, 107, 0.14);
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 6px;
}

/* ============ FULL MENU PAGE ============ */
.menu-section { padding: 90px 0; }
.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.menu-tab {
  padding: 10px 22px;
  border-radius: 999px;
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text);
  font-weight: 500;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all var(--transition);
}
.menu-tab:hover { border-color: var(--accent); color: var(--primary); }
.menu-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #FBF7F0;
}
.menu-category { margin-bottom: 64px; }
.menu-category-header {
  text-align: center;
  margin-bottom: 40px;
}
.menu-category-header h2 { margin-bottom: 6px; }
.menu-category-header span { color: var(--muted); font-size: 0.95rem; }

/* ============ WHY / VALUES ============ */
.why .why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.why-card {
  position: relative;
  padding: 32px 26px;
  border-radius: var(--radius-lg);
  background: var(--bg-cream);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}
.why-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
  line-height: 1;
}
.why-card h3 { margin-bottom: 8px; }
.why-card p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* ============ TESTIMONIALS ============ */
.testimonials { padding: 100px 0; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial {
  background: rgba(245, 239, 230, 0.06);
  border: 1px solid rgba(245, 239, 230, 0.12);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  backdrop-filter: blur(4px);
}
.stars { color: var(--accent); font-size: 1rem; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial blockquote {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--bg-cream);
  margin-bottom: 24px;
  font-style: italic;
  font-weight: 400;
}
.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}
.testimonial figcaption strong {
  display: block;
  color: var(--bg-cream);
  font-family: var(--font-sans);
  font-size: 0.95rem;
}
.testimonial figcaption span {
  font-size: 0.82rem;
  color: rgba(245, 239, 230, 0.6);
}

/* ============ TEAM / BARISTAS ============ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.team-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.team-photo {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.team-photo svg { width: 100%; height: 100%; }
.team-info { padding: 22px; }
.team-info .role {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
  margin-bottom: 8px;
}
.team-info h3 { font-size: 1.15rem; margin-bottom: 4px; }
.team-info p { font-size: 0.88rem; color: var(--muted); margin: 0; }
.hide-mobile { display: inline-flex; }

/* ============ GALLERY ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4 / 5;
  background: var(--bg-soft);
  transition: transform var(--transition);
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item.tall { aspect-ratio: 4 / 6; }
.gallery-item.wide { aspect-ratio: 5 / 4; }
.gallery-item svg { width: 100%; height: 100%; }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(42, 26, 15, 0.4));
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.gallery-item:hover::after { opacity: 1; }

/* ============ HOURS / VISIT ============ */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hours-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 36px;
  box-shadow: var(--shadow-sm);
}
.hours-card h3 {
  font-size: 1.5rem;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 0.95rem;
  border-bottom: 1px dashed var(--border);
}
.hours-list li:last-child { border-bottom: none; }
.hours-list strong { color: var(--dark); font-weight: 600; }
.hours-list span { color: var(--muted); }
.hours-list li.today {
  background: linear-gradient(90deg, rgba(201, 162, 107, 0.10), transparent);
  margin: 0 -12px;
  padding-left: 12px;
  padding-right: 12px;
  border-radius: 8px;
}
.hours-list li.today strong { color: var(--primary); }

/* ============ CTA BANNER ============ */
.cta-banner {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--bg-cream);
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(201, 162, 107, 0.22), transparent 70%);
  pointer-events: none;
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  position: relative;
}
.cta-inner h2 { color: var(--bg-cream); margin-bottom: 8px; }
.cta-inner p { color: rgba(245, 239, 230, 0.85); margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-actions .btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--dark);
}
.cta-actions .btn-primary:hover {
  background: #fff;
  border-color: #fff;
  color: var(--primary-dark);
}

/* ============ PAGE HEADER ============ */
.page-header {
  background: var(--bg-soft);
  padding: 80px 0 70px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(201, 162, 107, 0.16), transparent 70%);
  pointer-events: none;
}
.page-header h1 { margin-bottom: 12px; position: relative; }
.page-header p { color: var(--muted); font-size: 1.08rem; max-width: 600px; margin: 0 auto; position: relative; }
.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 14px;
  position: relative;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }

/* ============ STORY (about page) ============ */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: center;
}
.story-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.story-image svg { width: 100%; height: auto; }
.story-content > p { color: var(--muted); margin-bottom: 18px; font-size: 1rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value-card {
  text-align: center;
  padding: 36px 26px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.value-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.value-card h3 { margin-bottom: 8px; }
.value-card p { font-size: 0.93rem; color: var(--muted); margin: 0; }

/* ============ TIMELINE ============ */
.timeline {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  padding: 24px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: center;
  margin-bottom: 36px;
  position: relative;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-content {
  padding: 24px 26px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.timeline-year {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.95rem;
  z-index: 1;
}
.timeline-item:nth-child(odd) .timeline-content {
  grid-column: 1;
  text-align: right;
}
.timeline-item:nth-child(odd) .timeline-empty { grid-column: 3; }
.timeline-item:nth-child(even) .timeline-empty { grid-column: 1; }
.timeline-item:nth-child(even) .timeline-content { grid-column: 3; }
.timeline-content h3 { margin-bottom: 6px; font-size: 1.15rem; }
.timeline-content p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
}
.contact-info-card {
  background: var(--bg-soft);
  padding: 38px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.contact-info-card h3 { margin-bottom: 8px; }
.contact-info-card > p { color: var(--muted); margin-bottom: 28px; font-size: 0.95rem; }
.contact-info-list { margin-bottom: 28px; }
.contact-info-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.contact-info-list li:last-child { border-bottom: none; }
.contact-info-list .icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--primary);
  color: var(--bg-cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-list strong {
  display: block;
  color: var(--dark);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  margin-bottom: 2px;
}
.contact-info-list span, .contact-info-list a {
  font-size: 0.92rem;
  color: var(--muted);
  display: block;
}
.contact-info-list a:hover { color: var(--primary); }

.contact-socials { display: flex; gap: 10px; margin-top: 8px; }
.contact-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all var(--transition);
}
.contact-socials a:hover {
  background: var(--primary);
  color: var(--bg-cream);
  border-color: var(--primary);
}

.contact-form {
  background: var(--bg);
  padding: 38px 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: all var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(107, 66, 38, 0.10);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-status {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.92rem;
}
.form-status.success {
  background: rgba(107, 126, 74, 0.12);
  color: var(--leaf);
  border: 1px solid rgba(107, 126, 74, 0.3);
}

.map-card {
  margin-top: 56px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: var(--bg-soft);
}
.map-card svg { width: 100%; height: auto; display: block; }

/* ============ FOOTER ============ */
.footer {
  background: var(--bg-dark);
  color: rgba(245, 239, 230, 0.78);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  margin-top: 18px;
  margin-bottom: 22px;
  font-size: 0.93rem;
  color: rgba(245, 239, 230, 0.6);
  line-height: 1.7;
}
.footer-col h4 {
  color: var(--bg-cream);
  margin-bottom: 18px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.footer-col ul li { padding: 6px 0; }
.footer-col a {
  color: rgba(245, 239, 230, 0.6);
  font-size: 0.92rem;
}
.footer-col a:hover { color: var(--accent); }
.contact-list li {
  font-size: 0.92rem;
  color: rgba(245, 239, 230, 0.6);
  line-height: 1.6;
  margin-bottom: 8px;
}

.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(245, 239, 230, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-cream);
  transition: all var(--transition);
}
.socials a:hover {
  background: var(--accent);
  color: var(--dark);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid rgba(245, 239, 230, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.85rem;
  color: rgba(245, 239, 230, 0.5);
}
.footer-bottom p { margin: 0; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: rgba(245, 239, 230, 0.5); font-size: 0.85rem; }
.footer-links a:hover { color: var(--accent); }
