:root {
  --bg-main: #f7f3ed;
  --bg-soft: #f1ebe3;
  --bg-card: #fbf8f4;
  --text-main: #403730;
  --text-muted: #6f655c;
  --accent: #657357;
  --accent-2: #b6b057;
  --accent-soft: #e9dece;
  --border-soft: rgba(64, 55, 48, 0.10);
  --shadow-soft: 0 20px 40px rgba(64, 55, 48, 0.06);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --container-width: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-lg);
}

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

.site-header {
  background: rgba(247, 243, 237, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(64, 55, 48, 0.04);
}

.navbar-brand.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-main);
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1 rem;
}

.navbar-brand.brand-mark img,
.footer-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.navbar-brand.brand-mark:hover,
.navbar-brand.brand-mark:focus {
  color: var(--text-main);
}

.navbar-nav {
  gap: 1.1rem;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.96rem;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--text-main);
}

.btn {
  border-radius: 999px;
  padding: 0.9rem 1.5rem;
  font-weight: 600;
  border-width: 1px;
}

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

.btn-primary:hover,
.btn-primary:focus {
  background: #566247;
  border-color: #566247;
  color: #fff;
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(64, 55, 48, 0.14);
  color: var(--text-muted);
}

.hero-section .btn-outline-light {
  border-color: rgba(64, 55, 48, 0.4);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  background: #fff;
  color: var(--text-main);
  border-color: rgba(64, 55, 48, 0.18);
}

.btn-light {
  background: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--text-main);
}

.btn-light:hover,
.btn-light:focus {
  background: #f5f1ea;
  color: var(--text-main);
}

.btn-consult {
  padding-inline: 1.4rem;
}

.section-space {
  padding: 7rem 0;
}

.hero-section {
  background-color: #f0ece5;
}

.section-band {
  background: #f6f1ea;
}

.section-band-soft {
  background: #efe9e2;
}

.script-label {
  margin-bottom: 0.6rem;
  color: #8f7a68;
  font-family: 'Allura', cursive;
  font-size: 2rem;
  line-height: 1;
}

.script-label.light {
  color: #eef1e6;
}

.contact-heading .script-label {
  font-size: 2rem;
}

.display-heading,
.section-heading,
.topic-block h3,
.approach-card h3,
.name-chip strong {
  font-family: 'EB Garamond', Georgia, serif;
}

.display-heading {
  max-width: 15ch;
  margin-bottom: 1.35rem;
  font-size: clamp(3rem, 5vw, 4.8rem);
  line-height: 1.04;
  font-weight: 500;
}

.display-heading em,
.section-heading em {
  font-style: italic;
  font-weight: 400;
}

.hero-copy,
.section-subcopy {
  max-width: 560px;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.section-subcopy {
  text-align: center;
  margin-inline: auto;
}

.hero-actions {
  margin-top: 2rem;
}

.fpo-box {
  min-height: 420px;
  border-radius: var(--radius-xl);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
}

.fpo-box span {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: clamp(3.2rem, 5vw, 4.5rem);
  letter-spacing: 0.04em;
  color: rgba(64, 55, 48, 0.88);
}

.hero-fpo {
  background: var(--accent-2);
  box-shadow: none;
}

.about-fpo {
  background: var(--accent-soft);
  min-height: 470px;
}

.name-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: -1.2rem;
  margin-left: auto;
  margin-right: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(64, 55, 48, 0.08);
}

.name-chip strong,
.name-chip small {
  display: block;
  line-height: 1.2;
}

.name-chip strong {
  font-size: 1rem;
}

.name-chip small {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.name-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid rgba(64, 55, 48, 0.08);
  flex: 0 0 auto;
}

.section-heading {
  margin-bottom: 1rem;
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  font-weight: 500;
  line-height: 1.08;
}

.section-heading.centered {
  max-width: 21ch;
  margin-inline: auto;
}

.section-intro {
  max-width: 900px;
  margin-bottom: 3.5rem;
}

.section-intro-left {
  max-width: 640px;
  margin-bottom: 3rem;
}

.cards-row {
  margin-top: 2.5rem;
}

.approach-card {
  height: 100%;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(64, 55, 48, 0.06);
  box-shadow: 0 10px 30px rgba(64, 55, 48, 0.04);
}

.approach-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.7rem;
  font-weight: 500;
}

.approach-card p,
.topic-block p,
.contact-heading p,
.footer-copy,
.footer-brand small,
.privacy-note,
.form-label,
.contact-pill,
.alert,
.hero-copy,
.section-subcopy,
.nav-link {
  font-size: 0.98rem;
}

.topic-row {
  margin-top: 1rem;
  justify-content: center;
}

.topic-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  aspect-ratio: 1;
  width: 250px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(64, 55, 48, 0.08);
  box-shadow: 0 14px 30px rgba(64, 55, 48, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.topic-block:hover,
.topic-block:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(64, 55, 48, 0.08);
}

.topic-number {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: rgba(64, 55, 48, 0.22);
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 3rem;
  line-height: 1;
}

.topic-icon {
  display: block;
  margin: 0 auto 1rem;
  width: 5rem;
  height: 5rem;
  border-radius: 0;
  object-fit: contain;
  color: var(--text-muted);
}

.topic-block h3 {
  margin-bottom: 0.9rem;
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.2;
}

.topic-block p,
.approach-card p,
.footer-brand small {
  color: var(--text-muted);
}

.contact-section {
  background: #6b775e;
  color: #fff;
}

.contact-container {
  max-width: 980px;
}

.contact-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-subcopy.light,
.contact-section .privacy-note,
.contact-section .contact-pill,
.contact-section .form-label {
  color: rgba(255, 255, 255, 0.85);
}

.contact-meta {
  margin-bottom: 2.25rem;
}

.contact-pill {
  height: 100%;
  padding: 1rem 1.2rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
}

.contact-pill a,
.contact-pill span:last-child {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.pill-label {
  display: block;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.62);
}

.form-wrap {
  max-width: 760px;
}

.contact-form {
  margin-top: 1rem;
}

.form-label {
  margin-bottom: 0.45rem;
}

.form-control {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.38);
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.form-control::placeholder {
  color: rgba(255,255,255,0.6);
}

.optional {
  font-weight: 400;
  opacity: 0.8;
}

.privacy-note {
  margin: 1rem 0 1.6rem;
}

.btn-submit {
  min-width: 190px;
}

.form-alert {
  border: 0;
  border-radius: 18px;
}

.site-footer {
  background: var(--bg-main);
  border-top: 1px solid rgba(64, 55, 48, 0.06);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.footer-brand strong,
.footer-brand small {
  display: block;
}

.footer-brand strong {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.15rem;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding-top: 1rem;
  }

  .navbar-nav {
    gap: 0.25rem;
  }

  .display-heading {
    max-width: none;
  }

  .fpo-box,
  .about-fpo {
    min-height: 320px;
  }

  .name-chip {
    margin-right: 0;
  }

  .topic-block {
    max-width: none;
  }

  .topic-row {
    max-width: 548px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767.98px) {
  .section-space {
    padding: 4.75rem 0;
  }

  .navbar-brand.brand-mark span {
    font-size: 1.2rem;
  }

  .script-label {
    font-size: 1.6rem;
  }

  .display-heading {
    font-size: 2.85rem;
  }

  .section-heading,
  .topic-block h3,
  .approach-card h3 {
    font-size: 2rem;
  }

  .btn,
  .btn-lg {
    width: 100%;
  }

  .hero-actions {
    display: grid !important;
  }

  .name-chip {
    margin-top: 1rem;
    margin-left: 0;
  }

  .footer-inner {
    text-align: left;
  }
}
