/* ============================================
   こもれび整骨院 - Design E
   Forest Green + Sage / Organic Rounded / Zen Maru Gothic
   ============================================ */

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

:root {
  --pri: #5B7553;
  --sage: #8FA880;
  --bg: #F7FAF5;
  --sfc: #FFFFFF;
  --sfc2: #EEF3EA;
  --txt: #3A4A38;
  --mut: #7A8A78;
  --acc: #A8C49A;
  --warm: #D4C5A0;
  --font: 'Zen Maru Gothic', 'Hiragino Maru Gothic Pro', sans-serif;
  --rad: 20px;
  --brad: 999px;
  --shadow: 0 8px 32px rgba(91, 117, 83, 0.08);
  --shadow-lg: 0 16px 48px rgba(91, 117, 83, 0.12);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--txt);
  line-height: 1.9;
  overflow-x: hidden;
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Sample Banner ── */
.sample-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(58, 74, 56, 0.92);
  color: #fff;
  text-align: center;
  font-size: 12px;
  padding: 8px 16px;
  z-index: 99999;
  letter-spacing: 1px;
  backdrop-filter: blur(8px);
}

/* ── Leaf Canvas ── */
#leaf-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 99990;
  opacity: 0.5;
}

/* ── Header ── */
.header {
  position: fixed;
  top: 32px;
  left: 0;
  right: 0;
  z-index: 9998;
  padding: 12px 0;
  transition: all 0.4s ease;
}

.header.scrolled {
  background: rgba(247, 250, 245, 0.96);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(91, 117, 83, 0.08);
  padding: 8px 0;
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-leaf {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--pri);
  letter-spacing: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--mut);
  transition: color 0.3s;
  letter-spacing: 0.5px;
}

.nav a:hover {
  color: var(--pri);
}

.nav-cta {
  background: var(--pri) !important;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--brad);
  font-weight: 600 !important;
  transition: all 0.3s !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(91, 117, 83, 0.25);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 10000;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--pri);
  transition: 0.3s;
  display: block;
  border-radius: 2px;
}

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

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

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

/* ── Mobile Menu ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(247, 250, 245, 0.98);
  backdrop-filter: blur(24px);
  z-index: 9997;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--txt);
  letter-spacing: 2px;
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: var(--pri);
}

@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  .nav {
    display: none;
  }
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 20px 80px;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(58, 74, 56, 0.35) 0%,
    rgba(58, 74, 56, 0.55) 50%,
    rgba(58, 74, 56, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-tagline {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 4px;
  margin-bottom: 20px;
  font-weight: 300;
}

.hero-title {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 24px;
  letter-spacing: 2px;
}

.hero-desc {
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 2.2;
  margin-bottom: 36px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-scroll-hint span {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--brad);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font);
  letter-spacing: 1px;
}

.btn-primary {
  background: var(--pri);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(91, 117, 83, 0.3);
}

.btn-outline-light {
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  background: transparent;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ── Breathing Glow ── */
.breathing-glow {
  animation: breathGlow 3s ease-in-out infinite;
}

@keyframes breathGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(91, 117, 83, 0); }
  50% { box-shadow: 0 0 24px 4px rgba(91, 117, 83, 0.25); }
}

/* ── Trust Bar ── */
.trust-bar {
  background: var(--sfc);
  padding: 48px 0;
  border-top: 1px solid rgba(91, 117, 83, 0.06);
  border-bottom: 1px solid rgba(91, 117, 83, 0.06);
}

.trust-items {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 0 20px;
}

.trust-item {
  text-align: center;
  position: relative;
}

.trust-ring {
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
  position: relative;
}

.trust-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: var(--sfc2);
  stroke-width: 3;
}

.ring-fill {
  fill: none;
  stroke: var(--sage);
  stroke-width: 3;
  stroke-dasharray: 226;
  stroke-dashoffset: 226;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.5s ease;
}

.trust-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--pri);
  line-height: 1;
}

.trust-unit {
  font-size: 0.8rem;
  color: var(--sage);
}

.trust-label {
  display: block;
  font-size: 0.7rem;
  color: var(--mut);
  margin-top: 6px;
  letter-spacing: 1px;
}

@media (max-width: 600px) {
  .trust-items {
    gap: 28px;
  }

  .trust-item {
    flex: 0 0 40%;
  }
}

/* ── Sections ── */
.section {
  padding: 100px 0;
  position: relative;
}

.section-alt {
  background: var(--sfc);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-leaf {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 12px;
  opacity: 0.6;
}

.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--txt);
}

.section-line {
  width: 48px;
  height: 2px;
  background: linear-gradient(to right, var(--sage), var(--pri));
  margin: 16px auto 0;
  border-radius: 2px;
}

.section-sub {
  font-size: 0.88rem;
  color: var(--mut);
  margin-top: 20px;
  line-height: 2;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

/* ── Spring Pop Animation ── */
.spring-pop {
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.spring-pop.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ── Omoi Cards ── */
.omoi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.omoi-card {
  background: var(--sfc);
  border: 1px solid rgba(143, 168, 128, 0.15);
  border-radius: var(--rad);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.4s ease;
}

.omoi-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(143, 168, 128, 0.3);
}

.omoi-icon {
  margin-bottom: 20px;
}

.omoi-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.6;
  color: var(--pri);
}

.omoi-card p {
  font-size: 0.84rem;
  color: var(--mut);
  line-height: 2;
  font-weight: 300;
}

@media (max-width: 768px) {
  .omoi-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Blob Background ── */
.blob-section {
  position: relative;
  height: 0;
  overflow: visible;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  z-index: 0;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: var(--sage);
  top: -200px;
  left: -100px;
  animation: blobFloat 12s ease-in-out infinite;
}

.blob-2 {
  width: 350px;
  height: 350px;
  background: var(--acc);
  top: -150px;
  right: -80px;
  animation: blobFloat 15s ease-in-out infinite reverse;
}

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

/* ── Onayami Cards ── */
.onayami-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.onayami-card {
  background: var(--bg);
  border: 1px solid rgba(143, 168, 128, 0.12);
  border-radius: var(--rad);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s ease;
}

.onayami-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(143, 168, 128, 0.25);
}

.onayami-emoji {
  font-size: 2rem;
  margin-bottom: 14px;
}

.onayami-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--pri);
}

.onayami-card p {
  font-size: 0.82rem;
  color: var(--mut);
  line-height: 1.9;
  font-weight: 300;
}

@media (max-width: 768px) {
  .onayami-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .onayami-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Menu Cards ── */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.menu-card {
  background: var(--sfc);
  border: 1px solid rgba(143, 168, 128, 0.15);
  border-radius: var(--rad);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.menu-badge {
  position: absolute;
  top: 16px;
  right: -28px;
  background: var(--pri);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 36px;
  transform: rotate(45deg);
  letter-spacing: 1px;
}

.menu-badge.accent {
  background: #B87333;
}

.menu-badge.special {
  background: var(--sage);
}

.menu-icon-wrap {
  margin-bottom: 20px;
}

.menu-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--txt);
}

.menu-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--pri);
  margin-bottom: 16px;
  line-height: 1;
}

.menu-price span {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--mut);
}

.menu-desc {
  font-size: 0.84rem;
  color: var(--mut);
  line-height: 2;
  margin-bottom: 16px;
  font-weight: 300;
  text-align: left;
}

.menu-time {
  font-size: 0.75rem;
  color: var(--sage);
  padding-top: 12px;
  border-top: 1px solid rgba(143, 168, 128, 0.15);
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .menu-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}

/* ── Flow Timeline ── */
.flow-timeline {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.flow-timeline::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--sage), rgba(143, 168, 128, 0.2));
  border-radius: 2px;
}

.flow-step {
  display: flex;
  gap: 28px;
  padding: 24px 0;
  position: relative;
}

.flow-num {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: var(--bg);
  border: 2px solid var(--sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pri);
  z-index: 1;
}

.section-alt .flow-num {
  background: var(--sfc);
}

.flow-content h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--pri);
}

.flow-content p {
  font-size: 0.84rem;
  color: var(--mut);
  line-height: 1.9;
  font-weight: 300;
}

@media (max-width: 600px) {
  .flow-timeline::before {
    left: 24px;
  }

  .flow-num {
    width: 48px;
    height: 48px;
    font-size: 0.75rem;
  }

  .flow-step {
    gap: 18px;
  }
}

/* ── Voice Cards ── */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.voice-card {
  background: var(--sfc);
  border: 1px solid rgba(143, 168, 128, 0.12);
  border-radius: var(--rad);
  padding: 32px;
  transition: all 0.4s ease;
}

.voice-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(143, 168, 128, 0.25);
}

.voice-stars {
  color: var(--warm);
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.voice-text {
  font-size: 0.88rem;
  line-height: 2;
  margin-bottom: 20px;
  color: var(--txt);
  font-weight: 300;
}

.voice-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(143, 168, 128, 0.12);
  padding-top: 16px;
}

.voice-avatar {
  width: 44px;
  height: 44px;
  background: var(--sfc2);
  border: 1.5px solid var(--sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--pri);
  flex-shrink: 0;
}

.voice-author strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
}

.voice-author span {
  font-size: 0.72rem;
  color: var(--mut);
}

@media (max-width: 768px) {
  .voice-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Director Block ── */
.director-block {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}

.director-img {
  position: relative;
}

.director-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--sfc2), var(--bg));
  border: 1px solid rgba(143, 168, 128, 0.2);
  border-radius: var(--rad);
  display: flex;
  align-items: center;
  justify-content: center;
}

.director-msg {
  font-size: 0.92rem;
  line-height: 2.2;
  margin-bottom: 16px;
  font-weight: 300;
}

.director-sign {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(143, 168, 128, 0.15);
}

.director-sign strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--pri);
}

.director-sign span {
  font-size: 0.78rem;
  color: var(--mut);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .director-block {
    grid-template-columns: 1fr;
  }

  .director-placeholder {
    max-width: 200px;
    margin: 0 auto;
  }
}

/* ── FAQ ── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(143, 168, 128, 0.12);
  overflow: hidden;
}

.faq-q {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  transition: color 0.3s;
}

.faq-q:hover {
  color: var(--pri);
}

.faq-label {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--sfc2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--pri);
}

.faq-q h3 {
  flex: 1;
  font-size: 0.92rem;
  font-weight: 600;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--sage);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  display: flex;
  gap: 16px;
  padding: 0 0 0 0;
}

.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 0 20px 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-a .faq-label {
  background: var(--pri);
  color: #fff;
}

.faq-a p {
  font-size: 0.86rem;
  color: var(--mut);
  line-height: 2;
  font-weight: 300;
}

/* ── Clinic Table ── */
.clinic-table {
  max-width: 720px;
  margin: 0 auto;
}

.clinic-row {
  display: flex;
  border-bottom: 1px solid rgba(143, 168, 128, 0.1);
  padding: 16px 0;
}

.clinic-label {
  min-width: 120px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pri);
}

.clinic-value {
  font-size: 0.88rem;
  color: var(--mut);
  font-weight: 300;
}

.clinic-value a {
  color: var(--pri);
  font-weight: 500;
}

@media (max-width: 600px) {
  .clinic-row {
    flex-direction: column;
    gap: 4px;
  }
}

/* ── Contact ── */
.contact-box {
  max-width: 640px;
  margin: 0 auto;
}

.contact-info {
  text-align: center;
  margin-bottom: 40px;
  padding: 32px;
  background: var(--sfc);
  border-radius: var(--rad);
  border: 1px solid rgba(143, 168, 128, 0.12);
}

.contact-tel span {
  display: block;
  font-size: 0.78rem;
  color: var(--mut);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.contact-tel a {
  font-size: 2rem;
  font-weight: 700;
  color: var(--pri);
  letter-spacing: 2px;
}

.contact-info > p {
  font-size: 0.78rem;
  color: var(--mut);
  margin-top: 8px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid rgba(143, 168, 128, 0.2);
  border-radius: var(--rad);
  font-size: 0.9rem;
  font-family: var(--font);
  background: var(--sfc);
  color: var(--txt);
  transition: border-color 0.3s, box-shadow 0.3s;
  appearance: none;
  -webkit-appearance: none;
}

.contact-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%237A8A78' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(143, 168, 128, 0.12);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--mut);
  opacity: 0.6;
}

/* ── Footer ── */
.footer {
  background: #2C3A2A;
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 0 30px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
}

.footer-desc {
  font-size: 0.78rem;
  line-height: 1.9;
}

.footer h4 {
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 1px;
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 8px;
}

.footer li a {
  font-size: 0.78rem;
  transition: color 0.3s;
}

.footer li a:hover {
  color: var(--sage);
}

.footer-bottom {
  max-width: 1080px;
  margin: 40px auto 0;
  padding: 20px 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.72rem;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .footer-bottom {
    padding: 20px 20px 0;
  }
}

/* ── Responsive Tweaks ── */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 100px 20px 60px;
  }
}
