:root {
  --surface: radial-gradient(circle at 16% 8%, #dad4c2 0%, #c6bda4 36%, #a49f84 68%, #8b936f 100%);
  --surface-layer: #ece5d6;
  --surface-muted: #d9d2bd;
  --panel-tint: #f4efe3;
  --panel-elevated: #fbf8ef;
  --ink-strong: #343a2c;
  --ink-body: #444836;
  --ink-soft: #666a54;
  --brand-deep: #586043;
  --brand-mid: #706946;
  --line-soft: #c7bea8;
  --line-strong: #aea48c;
  --badge-bg: #ddd5be;
  --badge-border: #968e75;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  background: var(--surface);
  color: var(--ink-body);
  font-family: "Manrope", sans-serif;
  transition: background-color 350ms ease, color 350ms ease;
}

.dark body {
  background: radial-gradient(circle at 18% 6%, #173622 0%, #102418 34%, #0b1610 64%, #08100b 100%);
}

.bg-surface {
  background: transparent;
}

.bg-hero {
  background:
    radial-gradient(circle at 14% 16%, rgba(112, 105, 70, 0.24), transparent 38%),
    radial-gradient(circle at 82% 20%, rgba(144, 110, 69, 0.2), transparent 32%),
    linear-gradient(145deg, #ece5d7 0%, #d9d2bd 44%, #b0aa91 100%);
  animation: drift-bg 14s ease-in-out infinite alternate;
}

.about-section {
  background: linear-gradient(180deg, var(--surface-muted), var(--surface-layer));
}

.contact-section {
  background: linear-gradient(180deg, #d0c8b0, #b9b293);
}

.testimonial-section {
  background: linear-gradient(180deg, #d7cfb7, #c7bda3);
  color: var(--ink-body);
}

.testimonial-section .section-tag-dark {
  border-color: rgba(88, 96, 67, 0.55);
  color: var(--brand-deep);
  background: rgba(112, 105, 70, 0.16);
}

.testimonial-section .marquee-wrap {
  border-color: rgba(112, 105, 70, 0.26);
  background: rgba(251, 248, 239, 0.72);
}

.dark .testimonial-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(34, 197, 94, 0.14), transparent 34%),
    radial-gradient(circle at 88% 12%, rgba(148, 163, 184, 0.1), transparent 30%),
    linear-gradient(180deg, #0f1a2a 0%, #0e1624 100%);
  color: #fff;
}

.dark .testimonial-section .section-tag-dark {
  border-color: rgba(255, 255, 255, 0.28);
  color: #d1fae5;
  background: rgba(255, 255, 255, 0.08);
}

.dark .testimonial-section .marquee-wrap {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.48);
}

.dark .about-section {
  background:
    radial-gradient(circle at 14% 10%, rgba(34, 197, 94, 0.09), transparent 36%),
    linear-gradient(180deg, #0d1723 0%, #0c141f 100%);
}

.dark .contact-section {
  background:
    radial-gradient(circle at 84% 18%, rgba(99, 102, 241, 0.08), transparent 32%),
    linear-gradient(180deg, #0c141f 0%, #0a111b 100%);
}
.dark .bg-hero {
  background:
    radial-gradient(circle at 15% 15%, rgba(74, 222, 128, 0.18), transparent 35%),
    radial-gradient(circle at 80% 20%, rgba(180, 130, 88, 0.16), transparent 30%),
    linear-gradient(145deg, #0d1c13 0%, #102217 45%, #16150f 100%);
  animation: drift-bg 16s ease-in-out infinite alternate;
}

.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.05;
  background-image: radial-gradient(#000 0.5px, transparent 0.5px);
  background-size: 3px 3px;
}

html:not(.dark) .text-slate-900 {
  color: var(--ink-strong) !important;
}

html:not(.dark) .text-slate-800,
html:not(.dark) .text-slate-700 {
  color: var(--ink-body) !important;
}

html:not(.dark) .text-slate-600 {
  color: var(--ink-soft) !important;
}

html:not(.dark) .text-brand-800,
html:not(.dark) .text-brand-700 {
  color: var(--brand-deep) !important;
}

html:not(.dark) .bg-white {
  background-color: var(--panel-elevated) !important;
}

html:not(.dark) .bg-white\/75 {
  background-color: rgba(251, 248, 239, 0.82) !important;
}

html:not(.dark) .bg-white\/85 {
  background-color: rgba(251, 248, 239, 0.9) !important;
}

html:not(.dark) .bg-slate-100 {
  background-color: var(--surface-muted) !important;
}

html:not(.dark) .bg-brand-100 {
  background-color: var(--badge-bg) !important;
}

html:not(.dark) .border-slate-200,
html:not(.dark) .border-slate-300 {
  border-color: var(--line-soft) !important;
}

html:not(.dark) .border-white\/20 {
  border-color: rgba(163, 152, 128, 0.42) !important;
}

html:not(.dark) .border-brand-300 {
  border-color: var(--badge-border) !important;
}

.nav-link {
  color: var(--ink-body);
  transition: color 220ms ease, opacity 220ms ease;
  opacity: 0.96;
}

.nav-link:hover {
  color: var(--brand-deep);
  opacity: 1;
}

.dark .nav-link {
  color: rgb(203 213 225);
}

.dark .nav-link:hover {
  color: rgb(110 231 183);
}

.mobile-link {
  border-radius: 0.6rem;
  padding: 0.6rem 0.8rem;
  color: var(--ink-body);
}

.mobile-link:hover {
  background: rgba(112, 105, 70, 0.18);
  color: var(--brand-deep);
  opacity: 1;
}

.dark .mobile-link {
  color: rgb(203 213 225);
}

.dark .mobile-link:hover {
  background: rgba(46, 163, 95, 0.18);
  color: rgb(187 247 208);
}

.menu-toggle-btn {
  position: relative;
}

.menu-toggle-btn .hamburger-line {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 280ms cubic-bezier(0.2, 0.65, 0.2, 1), opacity 220ms ease;
}

.menu-toggle-btn .hamburger-line:nth-child(1) {
  transform: translateY(-6px);
}

.menu-toggle-btn .hamburger-line:nth-child(2) {
  transform: translateY(0);
}

.menu-toggle-btn .hamburger-line:nth-child(3) {
  transform: translateY(6px);
}

.menu-toggle-btn.is-open .hamburger-line:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}

.menu-toggle-btn.is-open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle-btn.is-open .hamburger-line:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
}

.btn-brand,
.btn-outline,
.btn-light {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.72rem 1.2rem;
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease, color 200ms ease;
}

.btn-brand {
  background: linear-gradient(90deg, #636c4b, #746849 55%, #8f6f45 100%);
  color: #fff;
  box-shadow: 0 12px 26px rgba(76, 83, 58, 0.34);
}

.btn-brand:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 18px 34px rgba(76, 83, 58, 0.42);
}

.dark .btn-brand {
  background: linear-gradient(90deg, #1a7a45, #289b58 55%, #36b869 100%);
  box-shadow: 0 12px 26px rgba(25, 122, 69, 0.36);
}

.dark .btn-brand:hover {
  box-shadow: 0 18px 34px rgba(25, 122, 69, 0.42);
}

.btn-outline {
  border: 1px solid rgba(88, 96, 67, 0.65);
  color: var(--brand-deep);
  background: #faf6ea;
}

.btn-outline:hover {
  transform: translateY(-2px);
  background: rgba(112, 105, 70, 0.18);
}

.dark .btn-outline {
  border-color: rgba(110, 231, 183, 0.35);
  color: #86efac;
  background: rgba(15, 23, 42, 0.68);
}

.dark .btn-outline:hover {
  background: rgba(46, 163, 95, 0.2);
}

.btn-light {
  background: linear-gradient(180deg, #f8f2e4, #e6dcc7);
  color: #4b4f3b;
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 255, 255, 0.2);
}

.gradient-text {
  background: linear-gradient(90deg, #5a6144 0%, #746849 52%, #8d6d43 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dark .gradient-text {
  background: linear-gradient(90deg, #17673a 0%, #289b58 52%, #8a5f3f 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.glass-card {
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 1.3rem;
  background: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 50px rgba(23, 103, 58, 0.24);
  animation: float-card 5s ease-in-out infinite;
}

.dark .glass-card {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.45);
}

.stat-card {
  border-radius: 0.85rem;
  border: 1px solid rgba(46, 163, 95, 0.22);
  background: rgba(255, 255, 255, 0.88);
  padding: 0.85rem;
  text-align: center;
}

.dark .stat-card {
  border-color: rgba(134, 239, 172, 0.2);
  background: rgba(15, 23, 42, 0.7);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(44, 122, 74, 0.58);
  min-width: 10.5rem;
  padding: 0.35rem 1rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--brand-deep);
  background: rgba(44, 122, 74, 0.2);
  animation: pulse-tag 3.2s ease-in-out infinite;
}

.section-tag-dark {
  border-color: rgba(255, 255, 255, 0.28);
  color: #d1fae5;
  background: rgba(255, 255, 255, 0.08);
}

.section-title {
  margin-top: 0.75rem;
  font-size: clamp(1.8rem, 1.5rem + 1.3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink-strong);
}

.dark .section-title {
  color: rgb(248 250 252);
}

.testimonial-title {
  color: var(--ink-strong);
}

.dark .testimonial-title {
  color: #fff;
}

.section-subtitle {
  margin-top: 0.7rem;
  color: var(--ink-soft);
}

.dark .section-subtitle {
  color: rgb(148 163 184);
}

.program-card {
  border-radius: 1rem;
  border: 1px solid rgba(44, 122, 74, 0.24);
  background: linear-gradient(180deg, #fffdf8, #fff6ec);
  padding: 1.2rem;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.program-card:hover {
  transform: translateY(-8px);
  border-color: rgba(44, 122, 74, 0.5);
  box-shadow: 0 20px 34px rgba(23, 103, 58, 0.24);
}

.program-card h3 {
  font-size: 1.1rem;
  color: var(--brand-deep);
  font-weight: 800;
}

.program-card p {
  margin-top: 0.2rem;
  margin-bottom: 0.9rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 700;
}

.program-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-body);
  font-size: 0.92rem;
  line-height: 1.5;
}

.dark .program-card {
  border-color: rgba(134, 239, 172, 0.2);
  background: rgba(15, 23, 42, 0.73);
}

.dark .program-card h3 {
  color: #bbf7d0;
}

.dark .program-card p,
.dark .program-card ul {
  color: #cbd5e1;
}

.about-chip {
  border-radius: 0.85rem;
  border: 1px dashed rgba(44, 122, 74, 0.45);
  background: #fff8ef;
  padding: 0.75rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-deep);
}

.dark .about-chip {
  border-color: rgba(134, 239, 172, 0.35);
  background: rgba(15, 23, 42, 0.75);
  color: #bbf7d0;
}

.value-card {
  border-radius: 1rem;
  border: 1px solid rgba(44, 122, 74, 0.24);
  background: linear-gradient(180deg, #fffdf8, #fff6ec);
  padding: 1rem;
}

.value-card h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--brand-deep);
}

.value-card p {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  color: var(--ink-body);
}

.dark .value-card {
  border-color: rgba(134, 239, 172, 0.2);
  background: rgba(15, 23, 42, 0.73);
}

.dark .value-card h3 {
  color: #bbf7d0;
}

.dark .value-card p {
  color: #cbd5e1;
}

.result-card {
  border-radius: 1rem;
  background: linear-gradient(180deg, #fffdf8, #f7efe3);
  border: 1px solid rgba(44, 122, 74, 0.22);
  padding: 1.1rem;
  text-align: center;
}

.result-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-deep);
}

.result-label {
  color: var(--ink-body);
  font-size: 0.9rem;
}

.dark .result-card {
  background: rgba(15, 23, 42, 0.74);
  border-color: rgba(134, 239, 172, 0.2);
}

.dark .result-number {
  color: #bbf7d0;
}

.dark .result-label {
  color: #cbd5e1;
}

.gallery-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 1rem;
  border: 1px solid rgba(46, 163, 95, 0.2);
  transition: transform 320ms ease, filter 320ms ease, box-shadow 320ms ease;
}

.gallery-img:hover {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.03);
  box-shadow: 0 18px 34px rgba(23, 103, 58, 0.24);
}

.marquee-wrap {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(15, 23, 42, 0.28);
}

.marquee-track {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  width: max-content;
  animation: marquee 30s linear infinite;
  will-change: transform;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.testimonial-card {
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  padding: 1rem;
  width: clamp(260px, 28vw, 320px);
  flex: 0 0 auto;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.testimonial-card h3 {
  margin-top: 0.8rem;
  margin-bottom: 0;
  font-size: 0.95rem;
  color: #166534;
}

.testimonial-card span {
  font-size: 0.76rem;
  color: #64748b;
}

.dark .testimonial-card {
  background: rgba(15, 23, 42, 0.82);
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.dark .testimonial-card h3 {
  color: #86efac;
}

.dark .testimonial-card span {
  color: #94a3b8;
}

.faq-card,
.cta-card,
.contact-card {
  border-radius: 1rem;
  border: 1px solid rgba(46, 163, 95, 0.2);
  background: rgba(255, 255, 255, 0.92);
  padding: 1.2rem;
}

.dark .faq-card,
.dark .cta-card,
.dark .contact-card {
  border-color: rgba(134, 239, 172, 0.2);
  background: rgba(15, 23, 42, 0.76);
}

.faq-item {
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.65);
  padding: 0.75rem 0.9rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--brand-deep);
}

.faq-item p {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-body);
}

.dark .faq-item {
  border-color: rgba(134, 239, 172, 0.2);
  background: rgba(15, 23, 42, 0.65);
}

.dark .faq-item summary {
  color: #bbf7d0;
}

.dark .faq-item p {
  color: #cbd5e1;
}

.cta-card h3,
.contact-card h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-deep);
}

.cta-card p {
  margin-top: 0.5rem;
  color: var(--ink-body);
}

.contact-card ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-card .label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6a5a44;
  font-weight: 800;
}

.contact-card .value {
  color: var(--ink-strong);
  font-weight: 700;
  text-decoration: none;
}

.social-icon {
  border-radius: 999px;
  border: 1px solid rgba(44, 122, 74, 0.42);
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--brand-deep);
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.social-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.social-icon:hover {
  transform: translateY(-2px);
  background: rgba(44, 122, 74, 0.2);
  box-shadow: 0 10px 20px rgba(22, 101, 52, 0.2);
}

.social-icon-maps {
  color: #1d4ed8;
}

.social-icon-facebook {
  color: #2563eb;
}

.social-icon-instagram {
  color: #be185d;
}

.dark .cta-card h3,
.dark .contact-card h3 {
  color: #bbf7d0;
}

.dark .cta-card p,
.dark .contact-card .value {
  color: #cbd5e1;
}

.dark .contact-card .label {
  color: #94a3b8;
}

.dark .social-icon {
  border-color: rgba(134, 239, 172, 0.3);
}

.footer-link {
  color: var(--ink-body);
  text-decoration: none;
}

.footer-link:hover {
  color: var(--brand-deep);
}

.notify-fab {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 70;
  width: 3.1rem;
  height: 3.1rem;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(140deg, #1a7a45, #2fa35f);
  box-shadow: 0 18px 28px rgba(22, 101, 52, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease;
  animation: notify-pop 2.3s ease-in-out infinite;
}

.notify-fab svg {
  width: 1.25rem;
  height: 1.25rem;
}

.notify-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 34px rgba(22, 101, 52, 0.42);
}

.notify-dot {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #facc15;
  box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.7);
  animation: notify-ping 1.5s infinite;
}

.notify-overlay {
  position: fixed;
  inset: 0;
  z-index: 72;
  background: rgba(2, 6, 23, 0.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.notify-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.notify-panel {
  position: fixed;
  z-index: 75;
  right: 1rem;
  bottom: 5rem;
  width: min(26rem, calc(100vw - 2rem));
  border-radius: 1rem;
  border: 1px solid rgba(44, 122, 74, 0.28);
  background: #fffaf4;
  box-shadow: 0 32px 70px rgba(15, 23, 42, 0.38);
  padding: 1rem;
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  pointer-events: none;
  transition: opacity 280ms ease, transform 280ms ease;
}

.notify-panel.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.notify-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.notify-head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand-deep);
}

.notify-close {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(100, 116, 139, 0.4);
  background: #fff;
  position: relative;
  cursor: pointer;
  transition: transform 220ms ease, background-color 220ms ease;
}

.notify-close:hover {
  transform: rotate(90deg);
  background: rgba(239, 68, 68, 0.08);
}

.notify-close span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.95rem;
  height: 2px;
  background: #b91c1c;
  border-radius: 2px;
}

.notify-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.notify-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.notify-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.notice-item {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-body);
  padding: 0.7rem 0.75rem 0.7rem 1.7rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(44, 122, 74, 0.25);
  background: linear-gradient(180deg, #fffdf8, #f5ecdf);
  position: relative;
  opacity: 0;
  transform: translateX(10px);
}

.notice-item::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 0.95rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: linear-gradient(140deg, #15803d, #22c55e);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
}

.notify-panel.active .notice-item {
  animation: notice-in 520ms cubic-bezier(0.2, 0.65, 0.2, 1) forwards;
}

.notify-panel.active .notice-item:nth-child(1) { animation-delay: 80ms; }
.notify-panel.active .notice-item:nth-child(2) { animation-delay: 160ms; }
.notify-panel.active .notice-item:nth-child(3) { animation-delay: 240ms; }
.notify-panel.active .notice-item:nth-child(4) { animation-delay: 320ms; }
.notify-panel.active .notice-item:nth-child(5) { animation-delay: 400ms; }

.dark .notify-panel {
  background: #0f172a;
  border-color: rgba(134, 239, 172, 0.24);
}

.dark .notify-head h3 {
  color: #bbf7d0;
}

.dark .notify-close {
  background: #0b1220;
  border-color: rgba(148, 163, 184, 0.45);
}

.dark .notice-item {
  color: #e2e8f0;
  border-color: rgba(134, 239, 172, 0.22);
  background: linear-gradient(180deg, #122035, #102031);
}

@keyframes notify-pop {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes notify-ping {
  0% { box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.65); }
  80% { box-shadow: 0 0 0 10px rgba(250, 204, 21, 0); }
  100% { box-shadow: 0 0 0 0 rgba(250, 204, 21, 0); }
}

@keyframes notice-in {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.dark .footer-link {
  color: #94a3b8;
}

.dark .footer-link:hover {
  color: #86efac;
}

.reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition: opacity 700ms cubic-bezier(0.2, 0.65, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.65, 0.2, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes drift-bg {
  0% {
    background-position: 0% 0%, 100% 0%, 50% 50%;
  }
  100% {
    background-position: 8% 4%, 92% 8%, 50% 50%;
  }
}

@keyframes pulse-tag {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(46, 163, 95, 0.16);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(46, 163, 95, 0);
  }
}

@media (max-width: 1024px) {
  .marquee-track {
    animation-duration: 34s;
  }
}

@media (max-width: 640px) {
  .testimonial-card {
    width: clamp(220px, 78vw, 280px);
  }

  .marquee-track {
    animation-duration: 38s;
  }
}

@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;
  }
}

.hero-three-canvas {
  position: absolute;
  inset: 0;
  z-index: -20;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.7;
  transition: opacity 260ms ease;
}

.hero-three-canvas.is-disabled {
  opacity: 0;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 18% 14%, rgba(134, 239, 172, 0.22), transparent 40%),
    radial-gradient(circle at 82% 18%, rgba(196, 181, 140, 0.26), transparent 36%),
    linear-gradient(145deg, #f4efe1 0%, #dfd5bb 44%, #bdb596 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity 650ms cubic-bezier(0.3, 0.7, 0, 1), visibility 650ms step-end;
}

.site-loader.is-leaving {
  opacity: 0;
  visibility: hidden;
}

.loader-scene {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.25rem;
  transform: translateY(4px);
}

.loader-tree {
  width: min(240px, 62vw);
  height: auto;
  filter: drop-shadow(0 16px 24px rgba(16, 55, 38, 0.22));
}

.loader-shadow {
  fill: rgba(30, 41, 59, 0.2);
  animation: loader-shadow 1.9s ease-in-out infinite;
}

.loader-canopy circle {
  transform-origin: 110px 110px;
  animation: canopy-breathe 2.2s ease-in-out infinite;
}

.loader-canopy circle:nth-child(2) { animation-delay: 0.15s; }
.loader-canopy circle:nth-child(3) { animation-delay: 0.3s; }
.loader-canopy circle:nth-child(4) { animation-delay: 0.45s; }

.loader-trunk {
  opacity: 0;
  animation: trunk-rise 900ms ease 220ms forwards;
}

.loader-branch {
  stroke: #4c3523;
  stroke-linecap: round;
  stroke-width: 5;
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: branch-draw 900ms ease forwards;
}

.loader-branch:nth-of-type(2) {
  animation-delay: 420ms;
}

.loader-branch:nth-of-type(3) {
  animation-delay: 520ms;
}

.loader-core {
  position: absolute;
  left: 50%;
  top: 35%;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
}

.loader-core-ring {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #f0fdf4;
  animation: core-spin 1.35s linear infinite;
}

.loader-core-ring.delay {
  width: 38px;
  height: 38px;
  border-color: rgba(255, 255, 255, 0.22);
  border-bottom-color: #dcfce7;
  animation-duration: 1.05s;
  animation-direction: reverse;
}

.loader-core-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
  animation: core-ping 1.5s ease-in-out infinite;
}

.loader-title {
  margin: 0.45rem 0 0;
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #1f2937;
}

.loader-subtitle {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #475569;
}

body.is-loading {
  overflow: hidden;
}

.dark .site-loader {
  background:
    radial-gradient(circle at 20% 12%, rgba(34, 197, 94, 0.2), transparent 42%),
    radial-gradient(circle at 80% 16%, rgba(148, 163, 184, 0.22), transparent 36%),
    linear-gradient(145deg, #102418 0%, #0d1f16 40%, #09160f 100%);
}

.dark .loader-title {
  color: #ecfeff;
}

.dark .loader-subtitle {
  color: #cbd5e1;
}

@keyframes trunk-rise {
  0% {
    opacity: 0;
    transform: translateY(20px) scaleY(0.7);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}

@keyframes branch-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes canopy-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}

@keyframes core-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes core-ping {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.45);
  }
  50% {
    transform: scale(1.18);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
}

@keyframes loader-shadow {
  0%, 100% { transform: scaleX(1); opacity: 0.28; }
  50% { transform: scaleX(0.82); opacity: 0.16; }
}

@media (max-width: 767px) {
  .hero-three-canvas {
    opacity: 0;
  }

  .loader-core {
    width: 50px;
    height: 50px;
  }

  .loader-core-ring {
    width: 44px;
    height: 44px;
  }

  .loader-core-ring.delay {
    width: 32px;
    height: 32px;
  }
}









