/* ==========================================
   趣体育 Site Kit 共享样式 /assets/site.css
   ========================================== */

:root {
  --green: #0A5C2A;
  --green-bright: #16A34A;
  --orange: #FF5A1F;
  --orange-soft: #FFB36B;
  --deep: #14213D;
  --slate: #1F2937;
  --mist: #F4F7F6;
  --card: #FFFFFF;
  --muted: #7C8DA6;
  --line-green: #34D399;
  --white: #FFFFFF;

  --font-display: "Inter Tight", "DIN Alternate", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-md: 1rem;
  --text-lg: 1.25rem;
  --text-xl: 2rem;
  --text-hero: 3.5rem;

  --container-max: 1240px;
  --header-max: 1320px;

  --radius-panel: 20px;
  --radius-card: 14px;
  --radius-pill: 999px;

  --shadow-card: 0 4px 16px rgba(20, 33, 61, 0.06);
  --shadow-float: 0 8px 32px rgba(20, 33, 61, 0.14);
  --shadow-cta: 0 4px 16px rgba(255, 90, 31, 0.32);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 300ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.75;
  color: var(--slate);
  background-color: var(--mist);
  background-image:
    radial-gradient(circle at 10% 18%, rgba(22, 163, 74, 0.05), transparent 42%),
    radial-gradient(circle at 88% 68%, rgba(255, 90, 31, 0.05), transparent 46%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (max-width: 767px) {
  body {
    background-attachment: scroll;
  }
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--deep);
}

h1 {
  font-size: clamp(2.25rem, 5.5vw, var(--text-hero));
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

h2 {
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h3 {
  font-size: var(--text-lg);
  font-weight: 700;
}

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

a:hover {
  color: var(--orange);
}

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

strong {
  color: var(--deep);
  font-weight: 700;
}

em {
  font-style: normal;
  color: var(--green-bright);
  font-weight: 600;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: rgba(22, 163, 74, 0.22);
}

:focus-visible {
  outline: 2px solid var(--line-green);
  outline-offset: 3px;
  border-radius: 4px;
}

#main-content {
  display: block;
  padding-top: 84px;
}

@media (min-width: 768px) {
  #main-content {
    padding-top: 96px;
  }
}

/* ---------- Layout primitives ---------- */
.container {
  width: min(calc(100% - 48px), var(--container-max));
  margin-inline: auto;
}

.section {
  padding: var(--space-7, 72px) 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
  margin-bottom: 32px;
}

.section-index {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-bright);
}

.section-index::after {
  content: "";
  display: inline-block;
  width: 42px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--line-green), var(--orange));
}

.section-title {
  flex-basis: 100%;
  margin-top: 4px;
  font-size: var(--text-xl);
  letter-spacing: -0.02em;
}

.section-desc {
  flex-basis: 100%;
  max-width: 64ch;
  margin-top: -4px;
  color: var(--muted);
  font-size: var(--text-sm);
}

.section-more {
  margin-left: auto;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--green);
}

.section-more:hover {
  color: var(--orange);
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

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

@media (max-width: 1023px) {
  .grid--3, .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .grid--2, .grid--3, .grid--4 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    background var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

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

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

.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, #FF8A3D 100%);
  color: var(--white);
  box-shadow: var(--shadow-cta);
}

.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(255, 90, 31, 0.45);
}

.btn-outline {
  border-color: rgba(20, 33, 61, 0.2);
  color: var(--deep);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(22, 163, 74, 0.06);
}

.btn-ghost {
  background: rgba(20, 33, 61, 0.06);
  color: var(--deep);
}

.btn-ghost:hover {
  background: rgba(20, 33, 61, 0.1);
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  padding: 16px 0;
  font-size: var(--text-sm);
  color: var(--muted);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
}

.breadcrumbs li + li::before {
  content: "/";
  margin: 0 10px;
  color: rgba(124, 141, 166, 0.6);
}

.breadcrumbs a {
  color: var(--green);
  font-weight: 500;
}

.breadcrumbs a:hover {
  color: var(--orange);
}

.breadcrumbs [aria-current="page"] {
  color: var(--slate);
  font-weight: 600;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--deep);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 600;
  box-shadow: var(--shadow-float);
  transform: translateY(-180%);
  transition: transform var(--dur) var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 120;
  width: calc(100% - 16px);
  max-width: var(--header-max);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(20, 33, 61, 0.88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(20, 33, 61, 0.22);
  transition:
    top var(--dur) var(--ease),
    padding var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    background var(--dur) var(--ease);
}

.site-header[data-scrolled] {
  top: 8px;
  padding-block: 8px;
  background: rgba(20, 33, 61, 0.96);
  box-shadow: 0 14px 48px rgba(20, 33, 61, 0.3);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--line-green), var(--orange));
  opacity: 0.35;
  transform: scaleX(0.25);
  transform-origin: left;
  transition:
    transform 500ms var(--ease),
    opacity 500ms var(--ease);
}

.site-header[data-scrolled]::after {
  opacity: 0.8;
  transform: scaleX(1);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--white);
}

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

.brand-mark-wrap {
  position: relative;
  display: inline-flex;
  line-height: 0;
  flex-shrink: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 2px 4px rgba(10, 92, 42, 0.4));
}

.brand-mark .mark-bg {
  fill: var(--green);
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 1;
}

.brand-mark .mark-pitch {
  fill: none;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.brand-mark .mark-line {
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 1.2;
}

.brand-mark .mark-circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 1.2;
}

.brand-mark .mark-data {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-live {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 2px var(--deep);
  animation: live-pulse 2s infinite;
}

@keyframes live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.5);
  }
  60%, 100% {
    box-shadow: 0 0 0 6px rgba(255, 90, 31, 0);
  }
}

.brand-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--white);
  line-height: 1;
  white-space: nowrap;
}

.header-search {
  display: none;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.site-nav {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 10;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--deep);
  box-shadow: 0 24px 60px rgba(20, 33, 61, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity var(--dur) var(--ease),
    transform var(--dur) var(--ease),
    visibility var(--dur) var(--ease);
}

.site-nav[data-open] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-item {
  margin: 0;
  padding: 0;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  transition:
    background var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.nav-link[aria-current="page"] {
  background: var(--green);
  color: var(--white);
  font-weight: 600;
  box-shadow:
    0 0 0 1px rgba(52, 211, 153, 0.45),
    0 2px 8px rgba(10, 92, 42, 0.5);
}

.btn-cta {
  padding: 8px 12px;
  font-size: 12px;
  white-space: nowrap;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  transition: background var(--dur) var(--ease);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.18);
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition:
    transform var(--dur) var(--ease),
    opacity var(--dur) var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  margin-top: 72px;
  border-radius: 24px 24px 0 0;
  background: var(--deep);
  color: rgba(255, 255, 255, 0.74);
  font-size: var(--text-sm);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: -5%;
  width: 30%;
  height: 100%;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0 14px,
    rgba(52, 211, 153, 0.05) 14px 15px
  );
  pointer-events: none;
}

.footer-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  height: 3px;
  background: linear-gradient(90deg, var(--green) 0%, var(--line-green) 35%, var(--orange) 90%);
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1.2fr;
  gap: 48px;
  padding-top: 48px;
  padding-bottom: 44px;
}

.footer-col {
  min-width: 0;
}

.footer-brandcol {
  grid-column: 1 / -1;
  grid-row: 1;
}

.footer-navcol {
  grid-column: 1;
  grid-row: 2;
}

.footer-contactcol {
  grid-column: 2;
  grid-row: 2;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

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

.footer-mark {
  width: 38px;
  height: 38px;
}

.footer-brand .brand-name {
  font-size: 20px;
}

.footer-slogan {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
}

.footer-desc {
  max-width: 44ch;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.75;
}

.footer-status {
  margin-top: 18px;
}

.footer-title {
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--line-green);
}

.footer-links ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
}

.footer-links a {
  display: inline-block;
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.72);
  transition:
    color var(--dur) var(--ease),
    padding-left var(--dur) var(--ease);
}

.footer-links a:hover {
  color: var(--line-green);
  padding-left: 4px;
}

.footer-contact {
  display: grid;
  gap: 12px;
}

.footer-contact li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.contact-value {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  word-break: break-all;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.68);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(52, 211, 153, 0.5);
  transition: color var(--dur) var(--ease);
}

.footer-legal a:hover {
  color: var(--line-green);
  text-decoration-color: var(--line-green);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
}

.footer-note {
  margin-left: 0;
  color: rgba(255, 255, 255, 0.42);
}

/* ---------- Components ---------- */
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #B8F5D6;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-green);
  animation: live-pulse 2s infinite;
}

.status-text {
  line-height: 1;
}

.panel {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-panel);
  border: 1px solid rgba(20, 33, 61, 0.06);
  background: var(--card);
  box-shadow: var(--shadow-card);
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.panel:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(20, 33, 61, 0.12);
}

.panel--cut-tl {
  border-top-left-radius: 6px;
}

.panel--cut-br {
  border-bottom-right-radius: 6px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.22);
  color: var(--green);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.tag--orange {
  background: rgba(255, 90, 31, 0.08);
  border-color: rgba(255, 90, 31, 0.25);
  color: var(--orange);
}

.img-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-panel);
  background: var(--deep);
  aspect-ratio: 16 / 9;
}

.img-frame > img,
.img-frame > a > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.img-frame--wide {
  aspect-ratio: 21 / 9;
}

.img-frame--square {
  aspect-ratio: 1 / 1;
}

.img-frame--portrait {
  aspect-ratio: 3 / 4;
}

.img-frame--skew {
  transform: rotate(-1.5deg);
}

@media (prefers-reduced-motion: no-preference) {
  .img-frame > img {
    transition: transform 600ms var(--ease);
  }

  .img-frame:hover > img {
    transform: scale(1.04);
  }
}

/* ---------- Scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 500ms var(--ease),
    transform 500ms var(--ease);
}

.js [data-reveal="left"] {
  transform: translateX(-28px);
}

.js [data-reveal="right"] {
  transform: translateX(28px);
}

.js [data-reveal="scale"] {
  transform: scale(0.94);
}

.js [data-reveal][data-visible] {
  opacity: 1;
  transform: none;
}

.delay-1 {
  transition-delay: 80ms;
}

.delay-2 {
  transition-delay: 160ms;
}

.delay-3 {
  transition-delay: 240ms;
}

/* ---------- Responsive: tablet & desktop ---------- */
@media (min-width: 768px) {
  .site-header {
    top: 14px;
    width: min(calc(100% - 32px), var(--header-max));
    padding: 10px 20px;
  }

  .site-header[data-scrolled] {
    top: 10px;
  }

  .header-inner {
    gap: 12px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-name {
    font-size: 18px;
  }

  .site-nav {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-list {
    flex-direction: row;
    gap: 2px;
  }

  .nav-link {
    padding: 7px 10px;
    font-size: 13px;
    border-radius: var(--radius-pill);
  }

  .btn-cta {
    font-size: 13px;
    padding: 9px 14px;
  }

  .nav-toggle {
    display: none;
  }

  .site-footer {
    border-radius: 32px 32px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 0.8fr 1.2fr;
    gap: 44px;
    padding-top: 56px;
  }

  .footer-brandcol {
    grid-column: 1;
    grid-row: 1;
  }

  .footer-navcol {
    grid-column: 2;
    grid-row: 1;
  }

  .footer-contactcol {
    grid-column: 3;
    grid-row: 1;
  }

  .footer-note {
    margin-left: auto;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .header-right {
    gap: 6px;
  }

  .nav-link {
    padding: 6px 8px;
    font-size: 13px;
  }

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

  .footer-brandcol {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .footer-navcol {
    grid-column: 1;
    grid-row: 2;
  }

  .footer-contactcol {
    grid-column: 2;
    grid-row: 2;
  }
}

@media (min-width: 1024px) {
  .header-search {
    display: flex;
    align-items: center;
    flex: 0 1 240px;
    max-width: 280px;
    margin-left: auto;
    height: 38px;
    padding: 0 6px 0 16px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.1);
    transition:
      background var(--dur) var(--ease),
      border-color var(--dur) var(--ease);
  }

  .header-search:focus-within {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(52, 211, 153, 0.55);
  }

  .search-input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--white);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
  }

  .search-input::-webkit-search-cancel-button {
    display: none;
  }

  .search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
  }

  .search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.75);
    transition:
      background var(--dur) var(--ease),
      color var(--dur) var(--ease);
  }

  .search-btn:hover {
    background: var(--orange);
    color: var(--white);
  }

  .search-btn svg {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding-top: 40px;
    padding-bottom: 36px;
  }

  .footer-col {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .footer-links ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal],
  .js [data-reveal="left"],
  .js [data-reveal="right"],
  .js [data-reveal="scale"] {
    opacity: 1;
    transform: none;
  }
}
