:root {
  --bg: #f4f1e9;
  --bg-soft: #faf8f3;
  --ink: #16231f;
  --muted: #52615c;
  --line: #ded8cc;
  --card: #ffffff;
  --primary: #0e7a70;
  --primary-strong: #085e58;
  --primary-soft: #d8efec;
  --accent: #c24f1f;
  --accent-soft: #fde4d9;
  --dark: #132d2a;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 14px 34px rgba(18, 31, 27, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  background:
    radial-gradient(circle at 10% -5%, #f6e9ce 0%, transparent 36%),
    radial-gradient(circle at 88% 8%, #d7eee9 0%, transparent 34%),
    var(--bg);
}

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

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

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.tag {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(14, 122, 112, 0.32);
  background: rgba(216, 239, 236, 0.7);
  color: var(--primary-strong);
  letter-spacing: 0.03em;
  font-size: 12px;
  text-transform: none;
}

.tag-domain {
  padding: 6px 14px;
  font-size: 13px;
  letter-spacing: 0.02em;
  border-color: rgba(14, 122, 112, 0.42);
  background: rgba(255, 255, 255, 0.9);
  color: #1f5f58;
  font-weight: 700;
}

.section-title {
  margin: 10px 0 8px;
  font-family: "ZCOOL XiaoWei", "Noto Sans SC", serif;
  font-size: clamp(30px, 4.3vw, 46px);
  line-height: 1.2;
}

.section-subtitle {
  margin: 0;
  max-width: 68ch;
  color: var(--muted);
  font-size: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 13px;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.56;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(145deg, var(--primary), var(--primary-strong));
  box-shadow: 0 10px 20px rgba(12, 101, 92, 0.28);
}

.btn-outline {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.btn-outline:hover {
  border-color: rgba(14, 122, 112, 0.4);
  background: rgba(240, 252, 250, 0.95);
}

.text-link {
  color: var(--primary-strong);
  font-weight: 700;
}

.text-link:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(219, 213, 200, 0.9);
  background: rgba(246, 242, 233, 0.86);
  backdrop-filter: blur(10px);
}

.nav-shell {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: inline-grid;
  place-content: center;
  background: linear-gradient(145deg, var(--accent), #9c3910);
  color: #fff;
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 22px;
}

.brand-text {
  font-size: 20px;
}

.menu-btn {
  display: none;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 18px;
}

.main-nav a {
  position: relative;
  padding: 4px 2px;
  font-weight: 600;
  color: #25322d;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transition: width 0.24s ease;
}

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

.main-nav a.active {
  color: var(--accent);
}

.top-phone {
  padding: 9px 14px;
  border: 1px solid rgba(14, 122, 112, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--primary-strong);
  font-weight: 700;
  white-space: nowrap;
}

.top-entry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.top-domain {
  padding: 9px 13px;
  border: 1px dashed rgba(14, 122, 112, 0.44);
  border-radius: 999px;
  background: rgba(216, 239, 236, 0.42);
  color: #1f5f58;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.top-domain:hover {
  background: rgba(216, 239, 236, 0.68);
}

.page-hero {
  position: relative;
  padding: 76px 0 58px;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(252, 244, 230, 0.75) 0%, rgba(214, 238, 235, 0.5) 58%, rgba(249, 245, 239, 0.8) 100%);
  z-index: -1;
  border-bottom: 1px solid rgba(205, 197, 181, 0.45);
}

.hero-home-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}

.hero-copy h1,
.page-hero h1 {
  margin: 14px 0 14px;
  font-family: "ZCOOL XiaoWei", "Noto Sans SC", serif;
  font-size: clamp(35px, 5.2vw, 62px);
  line-height: 1.12;
}

.hero-copy p,
.page-hero .lead {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  max-width: 62ch;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.domain-guide,
.domain-inline {
  margin-top: 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #33423d;
  font-size: 14px;
}

.domain-guide strong,
.domain-inline strong {
  color: var(--primary-strong);
}

.inline-copy {
  border: 1px solid rgba(14, 122, 112, 0.3);
  background: rgba(240, 252, 250, 0.9);
  color: #1f5f58;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 11px;
  cursor: pointer;
}

.inline-copy:hover {
  background: rgba(216, 239, 236, 0.95);
}

.hero-panel {
  border-radius: 24px;
  padding: 24px;
  border: 1px solid #e3d4bd;
  background:
    linear-gradient(160deg, #fffaf2 0%, #ffffff 100%),
    #fff;
  box-shadow: var(--shadow);
}

.hero-panel h2 {
  margin: 0 0 12px;
  font-size: 25px;
}

.hero-panel ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: #3a4742;
}

.hero-value-grid {
  display: grid;
  gap: 10px;
}

.hero-value-item {
  border-radius: var(--radius-sm);
  border: 1px solid #e1d8c9;
  background: #fff;
  padding: 13px 14px;
}

.hero-value-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  color: #20332e;
}

.hero-value-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.trust-strip {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.trust-item {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid #ddd4c4;
  background: rgba(255, 255, 255, 0.82);
}

.trust-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
  color: var(--primary-strong);
}

.trust-item span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 62px 0;
}

.section-muted {
  background:
    linear-gradient(180deg, rgba(216, 239, 236, 0.5) 0%, rgba(247, 247, 243, 0.78) 100%),
    var(--bg-soft);
  border-top: 1px solid rgba(171, 209, 204, 0.45);
  border-bottom: 1px solid rgba(171, 209, 204, 0.45);
}

.section-dark {
  background:
    radial-gradient(circle at 10% 5%, rgba(18, 78, 72, 0.48) 0%, transparent 45%),
    radial-gradient(circle at 90% -10%, rgba(195, 79, 31, 0.3) 0%, transparent 45%),
    var(--dark);
  color: #eaf6f4;
}

.section-dark .section-subtitle {
  color: #c8ddd9;
}

.card-grid {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

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

.home-core-grid .service-card {
  min-height: 100%;
}

.home-core-grid {
  grid-template-columns: repeat(4, 1fr);
}

.service-card,
.info-card,
.case-card,
.value-card,
.contact-card,
.plan-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  padding: 20px;
}

.service-card h3,
.info-card h3,
.case-card h3,
.value-card h3,
.contact-card h3,
.plan-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.service-card p,
.info-card p,
.case-card p,
.value-card p,
.contact-card p,
.plan-card p {
  margin: 0;
  color: var(--muted);
}

.service-card {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(14, 122, 112, 0.28);
  box-shadow: var(--shadow);
}

.card-outcome {
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px dashed #d9d2c6;
  color: #2f6f67;
  font-weight: 700;
  font-size: 14px;
}

.service-meta {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  border: 1px solid rgba(14, 122, 112, 0.22);
  color: var(--primary-strong);
  font-size: 13px;
}

.badge.accent {
  background: var(--accent-soft);
  border-color: rgba(194, 79, 31, 0.3);
  color: #8b3914;
}

.feature-list {
  margin: 14px 0 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.feature-list li {
  position: relative;
  padding-left: 20px;
  color: #3a4742;
}

.feature-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 99px;
  position: absolute;
  left: 0;
  top: 10px;
  background: linear-gradient(140deg, var(--primary), var(--primary-strong));
}

.preview-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.preview-box {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid #d7d4ca;
  background: #fff;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.preview-box:hover {
  transform: translateY(-3px);
  border-color: rgba(14, 122, 112, 0.28);
  box-shadow: var(--shadow);
}

.preview-box h3 {
  margin: 0 0 7px;
  font-size: 22px;
}

.preview-box p {
  margin: 0;
  color: var(--muted);
}

.process-line {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.process-step {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  position: relative;
}

.process-step strong {
  display: inline-flex;
  margin-bottom: 9px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid #efc1ac;
  color: #98431b;
  font-size: 12px;
}

.process-step h3 {
  margin: 0 0 6px;
}

.process-step p {
  margin: 0;
  color: var(--muted);
}

.quote-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.quote-card {
  padding: 18px;
  border: 1px solid rgba(208, 232, 228, 0.36);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
}

.quote-card p {
  margin: 0 0 12px;
}

.quote-card span {
  color: #b7d0cc;
  font-size: 14px;
}

.cta-band {
  margin-top: 22px;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(210, 232, 228, 0.33);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.cta-band p {
  margin: 0;
  color: #d3e7e2;
}

.cta-band h3 {
  margin: 0 0 6px;
  font-size: 26px;
  font-family: "ZCOOL XiaoWei", "Noto Sans SC", serif;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.section-dark .btn-outline {
  border-color: rgba(215, 234, 231, 0.44);
  color: #d9ece8;
  background: rgba(255, 255, 255, 0.08);
}

.section-dark .btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
}

.table-wrap {
  margin-top: 20px;
  overflow: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th,
td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #ebe7df;
}

th {
  background: #f8f5ee;
  color: #36423e;
  font-size: 14px;
}

td {
  color: #3f4d48;
}

.chip-group {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid #d7e8e4;
  background: #f3fbf9;
  color: #1b6159;
  font-size: 13px;
}

.arch-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.arch-card {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  position: relative;
}

.arch-card h3 {
  margin: 0 0 7px;
  font-size: 20px;
}

.arch-card p {
  margin: 0;
  color: var(--muted);
}

.filter-bar {
  margin-top: 18px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid #d8d5cc;
  background: #fff;
  color: #31403b;
  font-size: 14px;
  cursor: pointer;
}

.filter-btn.active {
  border-color: rgba(14, 122, 112, 0.4);
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-weight: 700;
}

.case-card {
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    opacity 0.2s ease;
}

.case-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.case-card small {
  display: block;
  color: #65736e;
  margin-bottom: 8px;
}

.case-result {
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px dashed #d9d2c6;
  color: #2f6f67;
  font-weight: 700;
}

.timeline {
  margin-top: 20px;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.timeline li {
  padding: 14px 16px;
  border: 1px solid #dfdbd2;
  background: #fff;
  border-radius: 12px;
}

.timeline strong {
  color: #8d3f1b;
}

.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
}

.faq-grid {
  display: grid;
  gap: 10px;
}

.faq-item {
  border-radius: 12px;
  border: 1px solid #ddd6c8;
  background: #fff;
  padding: 10px 14px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

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

.faq-item p {
  margin: 8px 0 2px;
  color: var(--muted);
}

.site-footer {
  margin-top: 40px;
  padding: 36px 0 22px;
  border-top: 1px solid #ddd8cc;
  background:
    linear-gradient(180deg, rgba(254, 253, 251, 0.45) 0%, rgba(243, 239, 231, 0.88) 100%),
    #f5f2ea;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.9fr;
  gap: 16px;
}

.footer-brand h3 {
  margin: 0 0 8px;
  font-family: "ZCOOL XiaoWei", "Noto Sans SC", serif;
  font-size: 28px;
}

.footer-brand p,
.footer-col p,
.footer-col a {
  margin: 0;
  color: #576660;
}

.footer-col {
  display: grid;
  gap: 6px;
  align-content: start;
}

.footer-col strong {
  margin-bottom: 4px;
  color: #27352f;
}

.footer-col a:hover {
  color: var(--primary-strong);
}

.footer-domain {
  margin-top: 2px;
  border: none;
  background: transparent;
  padding: 0;
  text-align: left;
  color: var(--primary-strong);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.footer-domain:hover {
  text-decoration: underline;
}

.copyright {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid #e3ddd0;
  color: #6d7774;
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.66s ease,
    transform 0.66s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.mobile-quick-contact {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 70;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(190, 224, 219, 0.45);
  background: rgba(19, 45, 42, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 28px rgba(15, 23, 22, 0.38);
}

.quick-action {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
}

.quick-call {
  background: linear-gradient(140deg, var(--primary), var(--primary-strong));
}

.quick-wechat {
  color: #d9ece8;
  border-color: rgba(215, 234, 231, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.festival-active {
  background:
    radial-gradient(circle at 12% -8%, rgba(255, 224, 167, 0.55) 0%, transparent 34%),
    radial-gradient(circle at 88% 6%, rgba(241, 105, 67, 0.26) 0%, transparent 40%),
    var(--bg);
}

.festival-active .site-header {
  background: rgba(255, 247, 233, 0.9);
  border-bottom-color: rgba(218, 181, 126, 0.5);
}

.festival-banner {
  position: relative;
  z-index: 95;
  border-bottom: 1px solid rgba(177, 68, 36, 0.26);
  background:
    linear-gradient(120deg, rgba(255, 224, 173, 0.86) 0%, rgba(250, 140, 88, 0.84) 54%, rgba(233, 87, 52, 0.84) 100%);
  color: #fffaf0;
}

.festival-banner-inner {
  width: min(1180px, 92vw);
  margin: 0 auto;
  padding: 10px 0 11px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.festival-banner-title {
  margin: 0;
  font-family: "ZCOOL XiaoWei", "Noto Sans SC", serif;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
}

.festival-banner-copy,
.festival-banner-copy {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.festival-horse-card {
  margin-top: 20px;
  border-radius: 22px;
  border: 1px solid rgba(200, 116, 69, 0.3);
  background:
    linear-gradient(160deg, rgba(255, 249, 238, 0.98) 0%, rgba(255, 236, 205, 0.95) 100%);
  box-shadow: 0 18px 38px rgba(119, 42, 19, 0.22);
  overflow: hidden;
}

.festival-horse-image {
  width: 100%;
  height: auto;
  border-bottom: 1px solid rgba(177, 68, 36, 0.2);
}

.festival-horse-content {
  padding: 16px 18px 18px;
}

.festival-horse-content h2 {
  margin: 0 0 6px;
  font-family: "ZCOOL XiaoWei", "Noto Sans SC", serif;
  font-size: clamp(26px, 4.3vw, 34px);
  color: #8b2a11;
}

.festival-horse-content p {
  margin: 0;
  color: #7a5033;
  font-size: 15px;
}

.festival-horse-popup-layer {
  position: fixed;
  inset: 0;
  z-index: 98;
  display: grid;
  place-items: center;
  background: rgba(74, 29, 12, 0.26);
  padding: 16px;
  overflow: auto;
}

.festival-horse-popup {
  width: min(760px, 96vw);
  max-height: calc(100dvh - 18px);
  border-radius: 14px;
  box-shadow: none;
  overflow: hidden;
  position: relative;
  animation: festivalHorseFloat 2.8s ease-in-out infinite;
}

.festival-horse-close {
  position: absolute;
  top: 10px;
  right: 10px;
  margin: 0;
  z-index: 2;
  border: 1px solid rgba(158, 63, 30, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #8b2a11;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  cursor: pointer;
}

.festival-horse-animated-svg {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 4px;
}

.festival-horse-popup-image {
  width: 100%;
  height: auto;
  display: block;
}

.festival-horse-overlay-text {
  margin: 0;
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(85, 25, 12, 0.58);
  color: #fff6eb;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  z-index: 2;
}

.festival-lantern-layer,
.festival-confetti-layer,
.festival-fireworks {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.festival-lantern-layer {
  z-index: 22;
}

.festival-confetti-layer {
  z-index: 23;
}

.festival-fireworks {
  z-index: 21;
}

.festival-horse-popup-layer {
  pointer-events: auto;
}

.festival-lantern {
  position: absolute;
  top: -42px;
  width: 18px;
  height: 30px;
  border-radius: 48% 48% 44% 44%;
  background:
    linear-gradient(180deg, #ffefcc 0%, #ffb05f 35%, #d4572c 100%);
  box-shadow: 0 8px 16px rgba(194, 79, 31, 0.24);
  animation-name: festivalLanternFloat;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.festival-lantern::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 1px;
  height: 8px;
  background: rgba(128, 35, 14, 0.55);
  transform: translateX(-50%);
}

.festival-confetti {
  position: absolute;
  top: -18px;
  width: 7px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe7b6 0%, #f06b42 100%);
  opacity: 0.74;
  animation-name: festivalConfettiDrop;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes festivalLanternFloat {
  0% {
    transform: translateY(-38px) translateX(0);
    opacity: 0;
  }
  14% {
    opacity: 0.85;
  }
  50% {
    transform: translateY(42vh) translateX(-7px);
    opacity: 0.72;
  }
  100% {
    transform: translateY(108vh) translateX(7px);
    opacity: 0;
  }
}

@keyframes festivalConfettiDrop {
  0% {
    transform: translateY(-20px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(105vh) rotate(330deg);
    opacity: 0;
  }
}

@keyframes festivalHorseFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .hero-home-grid,
  .preview-grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  .card-grid.three,
  .quote-grid,
  .arch-grid,
  .process-line {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

@media (max-width: 820px) {
  .festival-banner-inner {
    padding: 10px 0;
    gap: 6px;
  }

  .festival-banner-copy {
    width: 100%;
    font-size: 13px;
  }

  .festival-horse-card {
    margin-top: 14px;
    border-radius: 16px;
  }

  .festival-horse-content {
    padding: 12px 13px 14px;
  }

  .festival-horse-content p {
    font-size: 14px;
  }

  .festival-horse-popup {
    width: min(560px, 96vw);
    border-radius: 14px;
    max-height: calc(100dvh - 18px);
  }

  .festival-horse-overlay-text {
    font-size: 13px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 7px 8px;
  }

  .festival-lantern {
    width: 16px;
    height: 26px;
  }

  body.has-mobile-contact {
    padding-bottom: 88px;
  }

  .mobile-quick-contact {
    display: grid;
  }

  .nav-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 10px;
    position: relative;
  }

  .menu-btn {
    display: inline-block;
  }

  .top-phone {
    display: none;
  }

  .top-entry {
    grid-column: 1 / -1;
    justify-content: flex-start;
    margin-top: -2px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 66px;
    right: 0;
    width: min(260px, 92vw);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 12px 24px rgba(20, 31, 27, 0.16);
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    justify-self: end;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 6px 0;
  }

  .card-grid.two,
  .card-grid.three,
  .quote-grid,
  .arch-grid,
  .process-line {
    grid-template-columns: 1fr;
  }

  .home-core-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 58px 0 44px;
  }

  .hero-copy p,
  .page-hero .lead {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .domain-guide,
  .domain-inline {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-panel {
    padding: 18px;
  }

  .section {
    padding: 44px 0;
  }
}

@media (max-width: 560px) {
  .festival-banner-title {
    font-size: 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .festival-lantern,
  .festival-confetti {
    animation: none;
    opacity: 0;
  }

  .festival-horse-popup-image {
    animation: none;
  }
}
