/* ============================================
   ENSCON 來電司康 — Brand Website
   Fonts: EB Garamond (heading) + Lato (body)
   Colors: Deep Blue #1a2332, Warm White #faf8f5, Gold #c9a55c
   ============================================ */

:root {
  --color-deep-blue: #1a2332;
  --color-deep-blue-light: #243046;
  --color-warm-white: #faf8f5;
  --color-warm-white-dim: #f2efe9;
  --color-gold: #c9a55c;
  --color-gold-light: #d4b76e;
  --color-gold-dark: #b8944b;
  --color-text: #2c2c2c;
  --color-text-light: #6b6b6b;
  --color-text-on-dark: #e8e4df;
  --color-border: #e0dcd6;

  --font-heading: 'EB Garamond', Georgia, serif;
  --font-body: 'Lato', 'Noto Sans TC', sans-serif;

  --max-width: 1200px;
  --header-height: 72px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-warm-white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-deep-blue);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

p {
  margin-bottom: 1rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-deep-blue);
  height: var(--header-height);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

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

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-logo img {
  height: 38px;
  width: auto;
}

.header-logo span {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-warm-white);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--color-text-on-dark);
  letter-spacing: 0.03em;
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-gold);
  transition: width 0.3s ease;
}

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

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

/* Mobile menu button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-warm-white);
  stroke-width: 2;
  stroke-linecap: round;
}

/* Mobile nav */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-deep-blue);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    transform: translateY(-120%);
    transition: transform 0.35s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 1rem 2rem;
    font-size: 1.05rem;
  }

  .nav-links a::after {
    display: none;
  }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-deep-blue);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-deep-blue) 0%, #1e2a3d 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-top: calc(var(--header-height) + 2rem);
}

.hero h1 {
  color: var(--color-warm-white);
  font-size: clamp(2.6rem, 6vw, 4rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

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

.hero p {
  color: var(--color-text-on-dark);
  font-size: 1.15rem;
  line-height: 1.85;
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.hero-decoration {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 500px;
  opacity: 0.06;
}

.hero-decoration svg {
  width: 100%;
  height: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-deep-blue);
}

.btn-primary:hover {
  background: var(--color-gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201, 165, 92, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--color-warm-white);
  border: 1.5px solid rgba(250, 248, 245, 0.3);
}

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

.btn-dark {
  background: var(--color-deep-blue);
  color: var(--color-warm-white);
}

.btn-dark:hover {
  background: var(--color-deep-blue-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26, 35, 50, 0.3);
}

.btn svg {
  width: 16px;
  height: 16px;
}

/* ============================================
   SECTIONS
   ============================================ */
section {
  padding: 6rem 0;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 600px;
  line-height: 1.8;
}

.section-subtitle.centered {
  margin: 0 auto;
}

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

/* ============================================
   BRAND PHILOSOPHY (index)
   ============================================ */
.philosophy {
  background: var(--color-warm-white);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.philosophy-text p {
  font-size: 1.05rem;
  color: var(--color-text);
  line-height: 1.9;
}

.philosophy-text p + p {
  margin-top: 1rem;
}

.philosophy-visual {
  position: relative;
}

.philosophy-card {
  background: var(--color-deep-blue);
  border-radius: 8px;
  padding: 3rem;
  color: var(--color-text-on-dark);
}

.philosophy-card blockquote {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--color-warm-white);
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid var(--color-gold);
}

@media (max-width: 768px) {
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ============================================
   STATS
   ============================================ */
.stats {
  background: var(--color-deep-blue);
  padding: 5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  text-align: center;
}

.stat-item {
  padding: 1rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--color-gold);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--color-text-on-dark);
  font-size: 0.95rem;
  opacity: 0.85;
}

.stat-divider {
  width: 40px;
  height: 1px;
  background: rgba(201, 165, 92, 0.3);
  margin: 1rem auto 0;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ============================================
   METHOD PREVIEW (index) / METHOD PAGE
   ============================================ */
.method-preview {
  background: var(--color-warm-white-dim);
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.method-step {
  text-align: center;
  padding: 2rem 1.5rem;
}

.method-step-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-deep-blue);
}

.method-step-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-gold);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.method-step-number {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--color-gold);
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.method-step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.method-step p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .method-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ============================================
   CASE STUDY (index)
   ============================================ */
.case-study {
  background: var(--color-warm-white);
}

.case-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 960px;
  margin: 3rem auto 0;
}

.case-card-image {
  background: var(--color-deep-blue);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.case-card-image .case-icon {
  width: 80px;
  height: 80px;
  background: rgba(201, 165, 92, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.case-card-image .case-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--color-gold);
  fill: none;
  stroke-width: 1.5;
}

.case-card-image h3 {
  color: var(--color-warm-white);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.case-card-image .case-url {
  color: var(--color-gold);
  font-size: 0.85rem;
  opacity: 0.8;
}

.case-card-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-stat {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.case-stat:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.case-stat-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-deep-blue);
  white-space: nowrap;
}

.case-stat-label {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

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

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--color-deep-blue);
  padding: 6rem 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--color-warm-white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--color-text-on-dark);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #141c28;
  color: var(--color-text-on-dark);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(232, 228, 223, 0.65);
  margin-top: 1rem;
  max-width: 320px;
  line-height: 1.7;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand .footer-logo img {
  height: 32px;
  width: auto;
}

.footer-brand .footer-logo span {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-warm-white);
}

.footer-nav h4 {
  color: var(--color-warm-white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav a {
  font-size: 0.9rem;
  color: rgba(232, 228, 223, 0.65);
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(232, 228, 223, 0.4);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.page-hero {
  background: var(--color-deep-blue);
  padding: calc(var(--header-height) + 5rem) 0 5rem;
  text-align: center;
}

.page-hero h1 {
  color: var(--color-warm-white);
  margin-bottom: 1rem;
}

.page-hero p {
  color: var(--color-text-on-dark);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

.story-section {
  padding: 5rem 0;
}

.story-content {
  max-width: 720px;
  margin: 0 auto;
}

.story-content .quote-block {
  background: var(--color-warm-white-dim);
  border-left: 3px solid var(--color-gold);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  border-radius: 0 6px 6px 0;
}

.story-content .quote-block p {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-deep-blue);
  font-style: italic;
  margin: 0;
}

.story-content p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--color-text);
}

/* Values / 經營理念 */
.values-section {
  background: var(--color-warm-white-dim);
  padding: 5rem 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.value-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.value-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(201, 165, 92, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.value-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-gold-dark);
  fill: none;
  stroke-width: 1.8;
}

.value-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.value-card p {
  font-size: 0.92rem;
  color: var(--color-text-light);
  line-height: 1.75;
}

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

/* Team */
.team-section {
  padding: 5rem 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  text-align: center;
  padding: 2rem 1rem;
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-deep-blue);
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-gold);
}

.team-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.team-card .team-role {
  font-size: 0.85rem;
  color: var(--color-gold-dark);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.team-card p {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ============================================
   METHOD PAGE
   ============================================ */
.comparison-section {
  padding: 5rem 0;
}

.comparison-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.comparison-col {
  padding: 2.5rem;
  border-radius: 8px;
}

.comparison-col.traditional {
  background: var(--color-warm-white-dim);
  border: 1px solid var(--color-border);
}

.comparison-col.ours {
  background: var(--color-deep-blue);
  color: var(--color-text-on-dark);
}

.comparison-col h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.comparison-col.ours h3 {
  color: var(--color-gold);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.comparison-step {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.comparison-step svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.comparison-col.traditional .comparison-step svg {
  stroke: var(--color-text-light);
  fill: none;
  stroke-width: 2;
}

.comparison-col.ours .comparison-step svg {
  stroke: var(--color-gold);
  fill: none;
  stroke-width: 2;
}

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

/* AI Brain section */
.ai-brain-section {
  background: var(--color-warm-white-dim);
  padding: 5rem 0;
}

.ai-brain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.ai-brain-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  border-top: 3px solid transparent;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.ai-brain-card:hover {
  border-top-color: var(--color-gold);
  transform: translateY(-4px);
}

.ai-brain-card-icon {
  width: 48px;
  height: 48px;
  background: var(--color-deep-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.ai-brain-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-gold);
  fill: none;
  stroke-width: 1.8;
}

.ai-brain-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.ai-brain-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.75;
}

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

  .ai-brain-card {
    text-align: center;
  }

  .ai-brain-card-icon {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Beliefs section */
.beliefs-section {
  padding: 5rem 0;
}

.beliefs-list {
  max-width: 720px;
  margin: 3rem auto 0;
}

.belief-item {
  display: flex;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--color-border);
}

.belief-item:last-child {
  border-bottom: none;
}

.belief-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--color-gold);
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.6;
}

.belief-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.belief-content p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.75;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: rgba(201, 165, 92, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-gold-dark);
  fill: none;
  stroke-width: 1.8;
}

.contact-info-text h3 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-info-text p {
  font-size: 0.92rem;
  color: var(--color-text-light);
  margin: 0;
}

.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-warm-white);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-gold);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.35s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .stagger-children > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================
   UTILITY
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.gold-line {
  width: 48px;
  height: 2px;
  background: var(--color-gold);
  margin-bottom: 1.5rem;
}

.gold-line.centered {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-deep-blue);
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--color-gold-dark);
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  stroke: var(--color-gold);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  padding-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.85;
  margin: 0;
}

/* Main content offset for fixed header */
main {
  /* Hero handles its own offset; other pages use .page-hero */
}
