:root {
  --sage: #8fa18b;
  --sage-deep: #6f806d;
  --terracotta: #c77d66;
  --clay: #d8a25d;
  --earth: #4f372f;
  --ink: #2d2420;
  --ivory: #fbf7ef;
  --paper: #fffdf8;
  --linen: #efe3d2;
  --mist: #eef1ea;
  --shadow: 0 24px 70px rgba(79, 55, 47, 0.12);
  --soft-shadow: 0 18px 40px rgba(79, 55, 47, 0.08);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 116px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(199, 125, 102, 0.12), transparent 28rem),
    linear-gradient(180deg, #f8f3ea 0%, var(--ivory) 48%, #f4efe5 100%);
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 50;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 14px 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.76);
  box-shadow: 0 18px 55px rgba(79, 55, 47, 0.1);
  backdrop-filter: blur(22px);
  transition: padding 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  padding-block: 10px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 12px 35px rgba(79, 55, 47, 0.12);
}

.site-header:hover {
  box-shadow: 0 20px 60px rgba(79, 55, 47, 0.15);
}

.brand {
  display: flex;
  align-items: center;
  width: clamp(165px, 15vw, 190px);
  height: 64px;
  overflow: hidden;
  border-radius: 18px;
  min-width: 150px;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: drop-shadow(0 8px 18px rgba(79, 55, 47, 0.13));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.94rem;
  font-weight: 700;
  color: rgba(79, 55, 47, 0.78);
}

.site-nav a {
  padding: 12px 15px;
  border-radius: 999px;
  transition: color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--earth);
  background: rgba(143, 161, 139, 0.13);
  transform: translateY(-1px);
}

.site-nav .nav-cta {
  color: #fff;
  background: var(--sage);
  box-shadow: 0 12px 28px rgba(111, 128, 109, 0.24);
}

.site-nav .nav-cta:hover {
  color: #fff;
  background: var(--sage-deep);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--sage);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: #fff;
  transition: transform 0.25s ease;
}

.section {
  position: relative;
  padding: 108px max(24px, calc((100vw - 1180px) / 2));
  scroll-margin-top: 116px;
}

.hero {
  min-height: auto;
  display: block;
  overflow: hidden;
  padding-top: 128px;
  padding-bottom: 72px;
  color: var(--ink);
  background:
    radial-gradient(circle at 75% 28%, rgba(247, 225, 215, 0.86), transparent 27rem),
    radial-gradient(circle at 10% 12%, rgba(143, 161, 139, 0.13), transparent 28rem),
    linear-gradient(135deg, #fbf4e9 0%, #fffaf2 54%, #f2e5d3 100%);
}

.page-main {
  padding-top: 116px;
}

.page-hero {
  padding-top: 84px;
  padding-bottom: 58px;
  background:
    radial-gradient(circle at 82% 18%, rgba(247, 225, 215, 0.72), transparent 28rem),
    linear-gradient(135deg, #fbf4e9 0%, #fffaf2 100%);
}

.blog-page-hero {
  padding-top: 56px;
  padding-bottom: 34px;
}

.page-hero-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(45, 36, 32, 0.68);
  font-size: 1.14rem;
}

.blog-hero-subtitle {
  margin-bottom: 14px;
  color: var(--earth);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(1.35rem, 3vw, 2.15rem) !important;
  font-weight: 800;
  line-height: 1.18;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: center;
}

.hero-visual {
  position: relative;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% 4% 2% 18%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(216, 162, 93, 0.2);
  filter: blur(42px);
  animation: glowPulse 5.8s ease-in-out infinite;
}

.hero-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 34px;
  filter: drop-shadow(0 28px 54px rgba(93, 64, 55, 0.14));
  animation: floatingHero 7.2s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(620px, 100%);
  padding: 20px 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--terracotta);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--terracotta);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 24px;
  color: var(--earth);
  font-size: clamp(3rem, 7.4vw, 6.65rem);
}

h2 {
  color: var(--earth);
  font-size: clamp(2.2rem, 5vw, 4.9rem);
}

h3 {
  color: var(--earth);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.22;
}

.hero-lead {
  max-width: 610px;
  margin-bottom: 34px;
  color: rgba(45, 36, 32, 0.7);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: var(--sage);
  box-shadow: 0 18px 34px rgba(111, 128, 109, 0.28);
}

.button.primary:hover {
  background: var(--sage-deep);
  box-shadow: 0 22px 42px rgba(111, 128, 109, 0.34);
}

.button.secondary {
  color: var(--earth);
  border: 1px solid rgba(79, 55, 47, 0.18);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
}

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

.hero-panel {
  position: absolute;
  left: 4%;
  bottom: 4%;
  z-index: 3;
  width: min(360px, calc(100% - 48px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 24px;
  color: var(--earth);
  background: rgba(255, 253, 248, 0.72);
  box-shadow: 0 28px 80px rgba(93, 64, 55, 0.12);
  backdrop-filter: blur(18px);
}

.hero-panel span {
  display: block;
  margin-bottom: 8px;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.home-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.link-card,
.info-card {
  display: block;
  padding: 28px;
  border: 1px solid rgba(79, 55, 47, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.78);
  box-shadow: var(--soft-shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.link-card:hover {
  transform: translateY(-5px);
  border-color: rgba(143, 161, 139, 0.34);
  box-shadow: var(--shadow);
}

.link-card span {
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.link-card h3,
.info-card h3 {
  margin: 14px 0 10px;
}

.link-card p,
.info-card p {
  margin-bottom: 0;
  color: rgba(45, 36, 32, 0.66);
}

.hero-panel strong {
  display: block;
  font-size: 1rem;
  line-height: 1.45;
}

.intro {
  padding-top: 120px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: 52px;
  align-items: end;
}

.intro-grid p {
  color: rgba(45, 36, 32, 0.7);
  font-size: 1.1rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 58px;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(79, 55, 47, 0.08);
  box-shadow: var(--soft-shadow);
}

.trust-strip div {
  padding: 28px;
  background: rgba(255, 253, 248, 0.76);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 8px;
  color: var(--earth);
  font-size: 1.14rem;
}

.trust-strip span {
  color: rgba(45, 36, 32, 0.63);
  font-size: 0.95rem;
}

.process {
  padding-top: 88px;
  padding-bottom: 88px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0), rgba(239, 227, 210, 0.26), rgba(255, 253, 248, 0));
}

.process .section-head p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(45, 36, 32, 0.68);
  font-size: 1.04rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.process-card {
  padding: 26px;
  border: 1px solid rgba(79, 55, 47, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.78);
  box-shadow: var(--soft-shadow);
}

.process-card span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--terracotta);
  font-weight: 900;
}

.process-card p {
  margin-bottom: 0;
  color: rgba(45, 36, 32, 0.66);
}

.section-head {
  max-width: 810px;
  margin-bottom: 44px;
}

.services {
  background: linear-gradient(180deg, rgba(239, 227, 210, 0.36), rgba(251, 247, 239, 0));
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-grid.expanded {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.service-groups {
  display: grid;
  gap: 34px;
}

.service-group h2 {
  margin-bottom: 18px;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.2;
}

.service-card,
.blog-card {
  position: relative;
  min-height: 310px;
  padding: 30px;
  border: 1px solid rgba(79, 55, 47, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.78);
  box-shadow: var(--soft-shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-card:hover,
.blog-card:hover {
  transform: translateY(-7px);
  border-color: rgba(143, 161, 139, 0.34);
  box-shadow: var(--shadow);
}

.service-card.featured {
  color: #fff;
  background:
    linear-gradient(145deg, rgba(111, 128, 109, 0.96), rgba(79, 55, 47, 0.88)),
    var(--sage);
}

.service-card span {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--terracotta);
  font-weight: 800;
}

.service-card.featured span,
.service-card.featured h3,
.service-card.featured p {
  color: #fff;
}

.service-card p,
.blog-card p,
.about-copy p,
.academy-feature p,
.contact-info p {
  color: rgba(45, 36, 32, 0.68);
}

.service-card.featured p {
  color: rgba(255, 255, 255, 0.8);
}

.about-card {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 56px;
  align-items: start;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid rgba(79, 55, 47, 0.08);
  border-radius: 36px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: var(--shadow);
}

.about-copy h1 {
  margin-bottom: 26px;
}

.about-image {
  display: grid;
  place-items: center;
  min-height: 420px;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 20%, rgba(199, 125, 102, 0.16), transparent 24rem),
    linear-gradient(145deg, #f4eadb, #fefbf6);
}

.about-image img {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: contain;
  opacity: 0.96;
  border-radius: 22px;
}

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.credentials span {
  padding: 10px 14px;
  border: 1px solid rgba(143, 161, 139, 0.24);
  border-radius: 999px;
  color: var(--earth);
  background: rgba(143, 161, 139, 0.1);
  font-size: 0.88rem;
  font-weight: 800;
}

.programs-block {
  grid-column: 1 / -1;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid rgba(79, 55, 47, 0.09);
}

.programs-block h2 {
  margin-bottom: 14px;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.2;
}

.programs-block > p {
  max-width: 760px;
  margin-bottom: 22px;
}

.program-groups {
  display: grid;
  gap: 22px;
}

.program-group > h3 {
  margin: 0 0 12px;
  color: var(--sage-deep);
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.program-card {
  padding: 18px;
  border: 1px solid rgba(143, 161, 139, 0.22);
  border-radius: 20px;
  background: rgba(143, 161, 139, 0.08);
}

.program-card h3 {
  margin-bottom: 8px;
  color: var(--earth);
  font-size: 1rem;
}

.program-card p {
  margin-bottom: 0;
  color: rgba(45, 36, 32, 0.68);
  font-size: 0.93rem;
  line-height: 1.58;
}

.academy-feature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--earth);
  box-shadow: var(--shadow);
}

.academy-feature h3,
.academy-feature p {
  color: #fff;
}

.academy-feature p {
  max-width: 600px;
  margin-bottom: 0;
  opacity: 0.78;
}

.blog-list {
  margin-top: 18px;
}

.blog-list[hidden],
.blog-detail[hidden] {
  display: none !important;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.blog-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 260px;
  overflow: hidden;
  padding: 0;
  color: inherit;
  text-align: left;
  appearance: none;
  cursor: pointer;
  font: inherit;
}

.blog-card:focus-visible,
.back-to-list:focus-visible {
  outline: 4px solid rgba(143, 161, 139, 0.35);
  outline-offset: 4px;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--linen);
}

.blog-card-body {
  padding: 24px;
}

.blog-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--sage-deep);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-detail {
  margin-top: 28px;
}

.back-to-list {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-bottom: 24px;
  padding: 0 20px;
  border: 1px solid rgba(143, 161, 139, 0.25);
  border-radius: 999px;
  color: var(--sage-deep);
  background: rgba(255, 253, 248, 0.84);
  box-shadow: var(--soft-shadow);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.back-to-list::before {
  content: "←";
  margin-right: 8px;
}

.back-to-list:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.blog-detail-card {
  overflow: hidden;
  border: 1px solid rgba(79, 55, 47, 0.08);
  border-radius: 34px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: var(--shadow);
}

.article-image-container {
  display: flex;
  justify-content: center;
  padding: clamp(22px, 4vw, 48px);
  background: #fff;
}

.article-image-container img {
  width: min(100%, 1100px);
  height: auto;
  max-height: 620px;
  object-fit: contain;
  border-radius: 26px;
  box-shadow: var(--soft-shadow);
}

.article-content {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 64px) clamp(18px, 4vw, 32px);
}

.article-content .article-title {
  margin-bottom: 28px;
  font-size: clamp(2rem, 4vw, 3.45rem);
}

.article-content .article-section-title {
  margin: 48px 0 18px;
  color: var(--earth);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.16;
}

.article-content h3 {
  margin: 44px 0 16px;
  padding-left: 16px;
  border-left: 5px solid var(--sage);
  color: var(--sage-deep);
}

.article-content p {
  margin-bottom: 24px;
  color: rgba(45, 36, 32, 0.72);
  font-size: 1.04rem;
  line-height: 1.88;
}

.article-content ul {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.article-content li {
  position: relative;
  margin-bottom: 14px;
  padding-left: 28px;
  color: rgba(45, 36, 32, 0.74);
  line-height: 1.75;
}

.article-content li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sage);
}

.highlight-box {
  margin: 34px 0;
  padding: clamp(22px, 4vw, 36px);
  border-radius: 26px;
  color: var(--earth);
  background: linear-gradient(135deg, rgba(247, 225, 215, 0.9), rgba(239, 227, 210, 0.72));
}

.article-cta {
  border: 1px solid rgba(143, 161, 139, 0.24);
  background: linear-gradient(135deg, rgba(143, 161, 139, 0.16), rgba(247, 225, 215, 0.74));
  font-weight: 800;
}

.faq-hero {
  padding-bottom: 42px;
}

.faq-section {
  padding-top: 72px;
}

.faq-shell {
  width: min(960px, 100%);
  margin: 0 auto;
}

.faq-category {
  margin-bottom: 34px;
}

.faq-category h2 {
  margin-bottom: 18px;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.22;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid rgba(79, 55, 47, 0.09);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.86);
  box-shadow: var(--soft-shadow);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  color: var(--earth);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--sage);
  font-weight: 900;
  transition: transform 0.22s ease, background 0.22s ease;
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--sage-deep);
}

.faq-item summary:focus-visible {
  outline: 4px solid rgba(143, 161, 139, 0.35);
  outline-offset: 4px;
}

.faq-answer {
  padding: 0 22px 22px;
}

.faq-answer p {
  margin-bottom: 14px;
  color: rgba(45, 36, 32, 0.72);
  line-height: 1.78;
}

.faq-keywords,
.faq-cta {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(143, 161, 139, 0.09);
  font-size: 0.94rem;
}

.faq-keywords span {
  color: var(--earth);
  font-weight: 900;
}

.faq-cta {
  color: var(--earth) !important;
  background: linear-gradient(135deg, rgba(247, 225, 215, 0.75), rgba(239, 227, 210, 0.52));
}

.contact-shell {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  overflow: hidden;
  border-radius: 36px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.mini-contact {
  padding-top: 72px;
  padding-bottom: 72px;
}

.mini-contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 46px);
  border-radius: 32px;
  color: #fff;
  background: linear-gradient(145deg, rgba(111, 128, 109, 0.96), rgba(79, 55, 47, 0.9));
  box-shadow: var(--shadow);
}

.mini-contact-card h2,
.mini-contact-card p {
  color: #fff;
}

.mini-contact-card p {
  margin-bottom: 0;
  opacity: 0.82;
}

.mini-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.mini-contact-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 800;
}

.contact-info {
  padding: clamp(30px, 5vw, 60px);
  color: #fff;
  background:
    linear-gradient(145deg, rgba(111, 128, 109, 0.96), rgba(79, 55, 47, 0.92)),
    var(--sage);
}

.contact-info h2,
.contact-info p {
  color: #fff;
}

.contact-info p {
  opacity: 0.82;
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.contact-links a {
  padding: 15px 17px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  transition: transform 0.22s ease, background 0.22s ease;
}

.contact-links a:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.16);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(28px, 5vw, 60px);
}

label span {
  display: block;
  margin-bottom: 8px;
  color: rgba(79, 55, 47, 0.62);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(79, 55, 47, 0.12);
  border-radius: 18px;
  outline: 0;
  padding: 16px 18px;
  color: var(--ink);
  background: #fbfaf6;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(143, 161, 139, 0.7);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(143, 161, 139, 0.12);
}

textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 38px 24px 52px;
  color: rgba(79, 55, 47, 0.55);
  font-size: 0.9rem;
  text-align: center;
}

.site-footer img {
  width: 86px;
  opacity: 0.7;
}

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

.chatbot-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  font-family: "Manrope", system-ui, sans-serif;
}

.chatbot-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px 0 12px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--sage);
  box-shadow: 0 18px 42px rgba(79, 55, 47, 0.22);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.chatbot-toggle:hover {
  transform: translateY(-2px);
  background: var(--sage-deep);
  box-shadow: 0 22px 50px rgba(79, 55, 47, 0.28);
}

.chatbot-toggle:focus-visible,
.chatbot-close:focus-visible,
.chatbot-form button:focus-visible,
.chatbot-quick button:focus-visible {
  outline: 4px solid rgba(143, 161, 139, 0.35);
  outline-offset: 4px;
}

.chatbot-toggle-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--sage-deep);
  background: rgba(255, 253, 248, 0.9);
  font-weight: 900;
}

.chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 70px;
  width: min(380px, calc(100vw - 32px));
  max-height: min(660px, calc(100vh - 120px));
  display: grid;
  grid-template-rows: auto minmax(180px, 1fr) auto auto;
  overflow: hidden;
  border: 1px solid rgba(79, 55, 47, 0.1);
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 28px 80px rgba(79, 55, 47, 0.2);
  backdrop-filter: blur(20px);
}

.chatbot-panel[hidden] {
  display: none !important;
}

.chatbot-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  color: #fff;
  background: linear-gradient(145deg, rgba(111, 128, 109, 0.98), rgba(79, 55, 47, 0.92));
}

.chatbot-header p {
  margin-bottom: 3px;
  color: #fff;
  font-weight: 900;
}

.chatbot-header span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
}

.chatbot-close {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  font: inherit;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.chatbot-messages {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 0;
  overflow-y: auto;
  padding: 18px;
}

.chatbot-message {
  width: fit-content;
  max-width: 92%;
  padding: 12px 14px;
  border-radius: 18px;
  color: rgba(45, 36, 32, 0.76);
  background: rgba(143, 161, 139, 0.1);
  font-size: 0.93rem;
  line-height: 1.52;
  white-space: pre-line;
}

.chatbot-message.bot {
  border-top-left-radius: 6px;
}

.chatbot-message.user {
  justify-self: end;
  border-top-right-radius: 6px;
  color: #fff;
  background: var(--sage);
}

.chatbot-quick {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 18px 14px;
}

.chatbot-quick button {
  flex: 0 0 auto;
  border: 1px solid rgba(143, 161, 139, 0.24);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--earth);
  background: rgba(255, 253, 248, 0.9);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.chatbot-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid rgba(79, 55, 47, 0.08);
  background: rgba(239, 227, 210, 0.28);
}

.chatbot-form input {
  min-height: 44px;
  border-radius: 999px;
  padding: 0 14px;
  font-size: 0.92rem;
}

.chatbot-form button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  color: #fff;
  background: var(--sage);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
}

.reveal,
.reveal-group > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible,
.reveal-group > *.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatingHero {
  from {
    transform: translate3d(0, -6px, 0);
  }
  50% {
    transform: translate3d(0, 8px, 0);
  }
  to {
    transform: translate3d(0, -6px, 0);
  }
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.58;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.86;
    transform: scale(1.04);
  }
}

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

@media (max-width: 1040px) {
  .site-header {
    border-radius: 28px;
  }

  .brand {
    width: 150px;
    height: 58px;
    min-width: 150px;
  }

  .site-nav {
    gap: 0;
    font-size: 0.88rem;
  }

  .site-nav a {
    padding-inline: 10px;
  }

  .hero-panel {
    width: min(420px, calc(100% - 32px));
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid.expanded {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-grid,
  .contact-shell,
  .mini-contact-card {
    grid-template-columns: 1fr;
  }

  .mini-contact-actions {
    justify-content: flex-start;
  }

  .about-image {
    min-height: 320px;
  }
}

@media (max-width: 880px) {
  .hero-shell {
    grid-template-columns: 1fr;
  }

  .about-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    padding: 8px 10px 8px 12px;
  }

  .brand {
    width: clamp(122px, 36vw, 140px);
    height: 50px;
    min-width: 112px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 26px;
    background: rgba(255, 253, 248, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.24s ease, transform 0.24s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 16px;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .section {
    padding: 78px 18px;
    scroll-margin-top: 100px;
  }

  .hero {
    padding-top: 112px;
    padding-bottom: 54px;
  }

  .page-main {
    padding-top: 98px;
  }

  .page-hero {
    padding-top: 52px;
    padding-bottom: 34px;
  }

  .page-hero-inner {
    width: calc(100% - 36px);
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.9rem);
  }

  h2 {
    font-size: clamp(2.1rem, 11vw, 3.55rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-visual img {
    border-radius: 24px;
  }

  .hero-panel {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 14px;
  }

  .hero-actions,
  .academy-feature {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .trust-strip,
  .service-grid,
  .blog-grid,
  .home-links,
  .process-grid,
  .program-grid {
    grid-template-columns: 1fr;
  }

  .service-grid.expanded {
    grid-template-columns: 1fr;
  }

  .service-card,
  .blog-card {
    min-height: auto;
  }

  .service-card span,
  .blog-card span {
    margin-bottom: 24px;
  }

  .about-card,
  .contact-shell {
    border-radius: 26px;
  }

  .about-image {
    min-height: 260px;
    border-radius: 22px;
  }

  .site-footer {
    flex-direction: column;
  }

  .chatbot-widget {
    right: 14px;
    bottom: 14px;
    left: 14px;
    display: flex;
    justify-content: flex-end;
  }

  .chatbot-panel {
    right: 0;
    bottom: 68px;
    width: 100%;
    max-height: min(620px, calc(100vh - 96px));
  }

  .chatbot-toggle {
    min-height: 52px;
    padding-right: 16px;
  }
}

@media print {
  html {
    scroll-padding-top: 0;
  }

  body {
    background: #fff;
  }

  .site-header,
  .menu-toggle,
  .hero-visual::before {
    position: static;
    box-shadow: none;
  }

  .section,
  .page-hero,
  .mini-contact {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .page-main,
  .hero {
    padding-top: 0;
  }

  .button,
  .mini-contact-actions,
  .contact-form button {
    box-shadow: none;
  }
}
