/* ========================================
   Waniya Wellness — Custom Brand Palette
   Deep forest green, gold, cream
   ======================================== */

:root,
[data-theme='light'] {
  /* Brand Colors */
  --color-bg: #f8f5ee;
  --color-surface: #fdfbf6;
  --color-surface-2: #f2ede2;
  --color-surface-offset: #ede7d8;
  --color-divider: #d9d2c0;
  --color-border: oklch(from #2d3a1f l c h / 0.12);

  --color-text: #2d3a1f;
  --color-text-muted: #6b7355;
  --color-text-faint: #9ca088;
  --color-text-inverse: #f8f5ee;

  /* Primary — Deep Forest Green */
  --color-primary: #2d3a1f;
  --color-primary-hover: #1f2a14;
  --color-primary-active: #141d0a;
  --color-primary-highlight: #dde2d0;

  /* Accent — Warm Gold */
  --color-gold: #c4a04e;
  --color-gold-hover: #a8893e;
  --color-gold-soft: #e8dcc0;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 1px 3px oklch(from #2d3a1f l c h / 0.06);
  --shadow-md: 0 4px 16px oklch(from #2d3a1f l c h / 0.08);
  --shadow-lg: 0 16px 40px oklch(from #2d3a1f l c h / 0.12);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1140px;

  /* Fonts */
  --font-display: 'Zodiak', Georgia, serif;
  --font-body: 'Work Sans', 'Helvetica Neue', sans-serif;
}

/* DARK MODE */
[data-theme='dark'] {
  --color-bg: #141810;
  --color-surface: #1a1f15;
  --color-surface-2: #20271a;
  --color-surface-offset: #1d2218;
  --color-divider: #2a3022;
  --color-border: oklch(from #d4c9a8 l c h / 0.12);

  --color-text: #e0ddd2;
  --color-text-muted: #9da08e;
  --color-text-faint: #6b6e5e;
  --color-text-inverse: #1a1f15;

  --color-primary: #c4a04e;
  --color-primary-hover: #d4b25e;
  --color-primary-active: #e0c27a;
  --color-primary-highlight: #2a2a1c;

  --color-gold: #d4b25e;
  --color-gold-hover: #e0c27a;
  --color-gold-soft: #2a2a1c;

  --shadow-sm: 0 1px 3px oklch(0 0 0 / 0.2);
  --shadow-md: 0 4px 16px oklch(0 0 0 / 0.3);
  --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.4);
}

/* System preference fallback */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #141810;
    --color-surface: #1a1f15;
    --color-surface-2: #20271a;
    --color-surface-offset: #1d2218;
    --color-divider: #2a3022;
    --color-border: oklch(from #d4c9a8 l c h / 0.12);
    --color-text: #e0ddd2;
    --color-text-muted: #9da08e;
    --color-text-faint: #6b6e5e;
    --color-text-inverse: #1a1f15;
    --color-primary: #c4a04e;
    --color-primary-hover: #d4b25e;
    --color-primary-active: #e0c27a;
    --color-primary-highlight: #2a2a1c;
    --color-gold: #d4b25e;
    --color-gold-hover: #e0c27a;
    --color-gold-soft: #2a2a1c;
    --shadow-sm: 0 1px 3px oklch(0 0 0 / 0.2);
    --shadow-md: 0 4px 16px oklch(0 0 0 / 0.3);
    --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.4);
  }
}

/* ========================================
   Type Scale
   ======================================== */

:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
}

/* ========================================
   Base Stylesheet
   ======================================== */

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

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-20);
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul[role='list'],
ol[role='list'] {
  list-style: none;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  line-height: 1.2;
  font-family: var(--font-display);
  font-weight: 500;
}

p, li, figcaption {
  text-wrap: pretty;
  max-width: 72ch;
}

::selection {
  background: oklch(from var(--color-gold) l c h / 0.25);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

a {
  transition: color var(--transition-interactive);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: var(--space-2);
  z-index: 100;
  padding: var(--space-2) var(--space-4);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
}
.skip-link:focus {
  left: var(--space-2);
}

/* ========================================
   Layout
   ======================================== */

.container {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.container--narrow {
  max-width: var(--content-narrow);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-8);
  }
}

.section {
  padding-block: clamp(var(--space-12), 6vw, var(--space-24));
}

.section-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold-hover);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.section-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-8);
  color: var(--color-text);
  max-width: 20ch;
}

/* ========================================
   Header
   ======================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(from var(--color-bg) l c h / 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header--hidden {
  transform: translateY(-100%);
}

.header--scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .header__inner {
    padding: var(--space-4) var(--space-8);
  }
}

.header__logo img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.nav {
  display: none;
}

@media (min-width: 900px) {
  .nav {
    display: block;
  }
}

.nav__list {
  display: flex;
  gap: var(--space-6);
  list-style: none;
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  position: relative;
  padding: var(--space-1) 0;
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--color-text);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width var(--transition-interactive);
}

.nav__link:hover::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: background var(--transition-interactive), color var(--transition-interactive);
}

.theme-toggle:hover {
  background: var(--color-surface-2);
  color: var(--color-text);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin-inline: auto;
}

.nav-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
}

/* ========================================
   Mobile Menu
   ======================================== */

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 340px;
  height: 100dvh;
  background: var(--color-surface);
  z-index: 60;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-lg);
  padding: var(--space-20) var(--space-6) var(--space-8);
  overflow-y: auto;
}

.mobile-menu--open {
  transform: translateX(0);
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  list-style: none;
}

.mobile-menu__link {
  display: block;
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu__link:hover {
  color: var(--color-gold-hover);
}

.mobile-menu__cta {
  margin-top: var(--space-4);
  text-align: center;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: oklch(0 0 0 / 0.4);
  z-index: 55;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay--open {
  opacity: 1;
  pointer-events: auto;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-full);
  padding: var(--space-3) var(--space-6);
  min-height: 44px;
  transition: all var(--transition-interactive);
  white-space: nowrap;
}

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

[data-theme='dark'] .btn--primary {
  color: var(--color-bg);
}

.btn--primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--primary:active {
  background: var(--color-primary-active);
  transform: translateY(0);
}

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

.btn--ghost:hover {
  background: var(--color-surface-2);
  border-color: var(--color-text-muted);
}

.btn--small {
  padding: var(--space-2) var(--space-4);
  min-height: 36px;
}

.btn--full {
  width: 100%;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    oklch(from var(--color-bg) l c h / 0.5) 0%,
    oklch(from var(--color-bg) l c h / 0.7) 50%,
    oklch(from var(--color-bg) l c h / 0.85) 100%
  );
}

[data-theme='dark'] .hero__overlay {
  background: linear-gradient(
    to bottom,
    oklch(from #141810 l c h / 0.4) 0%,
    oklch(from #141810 l c h / 0.6) 50%,
    oklch(from #141810 l c h / 0.8) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: var(--space-20) var(--space-4) var(--space-16);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__logo img {
  width: 140px;
  height: 140px;
  border-radius: var(--radius-full);
  object-fit: cover;
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .hero__logo img {
    width: 180px;
    height: 180px;
  }
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-gold-hover);
  font-style: italic;
  margin-bottom: var(--space-4);
  letter-spacing: 0.02em;
}

.hero__title {
  font-size: var(--text-3xl);
  color: var(--color-text);
  margin-bottom: var(--space-6);
  line-height: 1.1;
}

.hero__subtitle {
  font-size: var(--text-base);
  color: var(--color-text);
  max-width: 52ch;
  margin-bottom: var(--space-8);
  line-height: 1.7;
  font-weight: 400;
  text-shadow: 0 1px 8px oklch(from var(--color-bg) l c h / 0.6);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.hero__scroll-hint {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero__scroll-hint span {
  display: block;
  width: 2px;
  height: 32px;
  background: var(--color-text-muted);
  border-radius: 2px;
  animation: scrollHint 2s ease-in-out infinite;
}

@keyframes scrollHint {
  0%, 100% { transform: scaleY(0.3); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll-hint span {
    animation: none;
  }
}

/* ========================================
   About Section
   ======================================== */

.section--about {
  background: var(--color-surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 880px) {
  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-12);
  }
}

.about-grid__image img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center;
}

.prose {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--color-text-muted);
}

.prose p {
  margin-bottom: var(--space-4);
}

.prose p:last-child {
  margin-bottom: 0;
}

/* ========================================
   Divider Image
   ======================================== */

.divider-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.divider-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .divider-image {
    height: 320px;
  }
}

/* ========================================
   Modalities / Approach Section
   ======================================== */

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

.modalities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

@media (min-width: 640px) {
  .modalities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
}

.modality-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
}

.modality-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.modality-card__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-1);
  color: var(--color-text);
}

.modality-card__subtitle {
  font-size: var(--text-sm);
  color: var(--color-gold-hover);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.modality-card__body p {
  color: var(--color-text-muted);
  line-height: 1.7;
  font-size: var(--text-sm);
}

/* ========================================
   Services Note
   ======================================== */

.services-note {
  margin-top: var(--space-8);
  text-align: center;
}

.services-note p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  font-style: italic;
  max-width: 48ch;
  margin-inline: auto;
}

/* ========================================
   Contact Link Styles
   ======================================== */

.contact-detail__link {
  text-decoration: none;
  transition: color var(--transition-interactive);
}

.contact-detail__link:hover {
  color: var(--color-gold-hover);
}

.form-disclaimer {
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-align: center;
}

.form-disclaimer a {
  color: var(--color-gold-hover);
  text-decoration: none;
  font-weight: 500;
}

.form-disclaimer a:hover {
  text-decoration: underline;
}

/* ========================================
   Services Section
   ======================================== */

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

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

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
  }
}

.service-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-card--featured {
  border-color: var(--color-gold);
  background: var(--color-gold-soft);
}

[data-theme='dark'] .service-card--featured {
  background: var(--color-gold-soft);
}

.service-card__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-1);
  color: var(--color-text);
}

.service-card__duration {
  font-size: var(--text-sm);
  color: var(--color-gold-hover);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.service-card__body p {
  color: var(--color-text-muted);
  line-height: 1.7;
  font-size: var(--text-sm);
}

.service-card__badge {
  display: inline-block;
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold-hover);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: oklch(from var(--color-gold) l c h / 0.12);
  align-self: flex-start;
}

/* ========================================
   Process Section
   ======================================== */

.section--process {
  background: var(--color-surface);
}

.process-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-6);
  align-items: start;
}

.process-step__number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-gold);
  font-weight: 500;
  line-height: 1;
  padding-top: var(--space-1);
  min-width: 3rem;
}

.process-step__body h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.process-step__body p {
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* ========================================
   Testimonials Section
   ======================================== */

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

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--color-border);
  position: relative;
}

.testimonial p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  font-style: italic;
}

.testimonial cite {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-style: normal;
  font-weight: 500;
}

.testimonials-note {
  margin-top: var(--space-8);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-align: center;
}

/* ========================================
   Contact Section
   ======================================== */

.section--contact {
  background: var(--color-surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 880px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--space-12);
  }
}

.contact-intro {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.contact-detail__label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-faint);
  font-weight: 600;
}

.contact-detail__value {
  font-size: var(--text-base);
  color: var(--color-text);
  font-weight: 500;
}

/* ========================================
   Contact Form
   ======================================== */

.contact-form {
  background: var(--color-surface-2);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .contact-form {
    padding: var(--space-10);
  }
}

.form-field {
  margin-bottom: var(--space-5);
}

.form-field label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: var(--text-base);
  font-family: var(--font-body);
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px oklch(from var(--color-gold) l c h / 0.12);
}

.form-field textarea {
  resize: vertical;
  min-height: 80px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--color-text-faint);
}

.form-note {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-gold-hover);
  font-weight: 500;
  text-align: center;
}

/* ========================================
   Footer
   ======================================== */

.footer {
  background: var(--color-primary);
  padding-block: var(--space-12) var(--space-8);
}

[data-theme='dark'] .footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
  text-align: center;
}

@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    flex-wrap: wrap;
  }
}

.footer__brand img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  margin-inline: auto;
  margin-bottom: var(--space-3);
}

.footer__tagline {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--color-gold-soft);
  font-style: italic;
}

[data-theme='dark'] .footer__tagline {
  color: var(--color-gold);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

.footer__links a {
  font-size: var(--text-sm);
  color: var(--color-gold-soft);
  text-decoration: none;
  font-weight: 500;
}

[data-theme='dark'] .footer__links a {
  color: var(--color-text-muted);
}

.footer__links a:hover {
  color: var(--color-text-inverse);
}

[data-theme='dark'] .footer__links a:hover {
  color: var(--color-text);
}

.footer__meta {
  font-size: var(--text-xs);
  color: oklch(from var(--color-gold-soft) l c h / 0.7);
}

[data-theme='dark'] .footer__meta {
  color: var(--color-text-faint);
}

.footer__meta p {
  margin-bottom: var(--space-1);
}

.footer__meta p:last-child {
  margin-bottom: 0;
}
