:root {
  --green: #08783f;
  --green-deep: #043820;
  --green-dark: #062a1c;
  --green-soft: #eef8ef;
  --gold: #ffc94a;
  --gold-deep: #dc8c00;
  --cream: #fff8e8;
  --ink: #14251b;
  --muted: #65786c;
  --line: rgba(8, 120, 63, 0.14);
  --paper: #fffdf7;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(7, 42, 28, 0.14);
  --shadow-strong: 0 30px 100px rgba(2, 34, 20, 0.28);
  --hero-image: url("https://images.unsplash.com/photo-1507699622108-4be3abd695ad?auto=format&fit=crop&w=2400&q=88");
  --hero-card-image: url("https://images.unsplash.com/photo-1465056836041-7f43ac27dcb5?auto=format&fit=crop&w=900&q=86");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 201, 74, 0.22), transparent 34rem),
    linear-gradient(180deg, #fffdf7 0%, #f7fbf4 46%, #fffdf7 100%);
  overflow-x: hidden;
}

body::selection {
  color: var(--green-deep);
  background: var(--gold);
}

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

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

.ambient {
  position: fixed;
  z-index: -1;
  width: 34vw;
  aspect-ratio: 1;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.35;
  pointer-events: none;
}

.ambient-one {
  top: 12%;
  left: -12%;
  background: var(--gold);
}

.ambient-two {
  right: -14%;
  bottom: 8%;
  background: #74d99b;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 12px 10px 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  box-shadow: 0 16px 54px rgba(4, 56, 32, 0.14);
  backdrop-filter: blur(20px) saturate(150%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand strong {
  display: block;
  color: var(--green-deep);
  font-size: 19px;
  line-height: 1;
  white-space: nowrap;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: var(--gold-deep);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2.8px;
  text-transform: uppercase;
}

.brand-logo {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(4, 56, 32, 0.12);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 800;
}

nav a {
  padding: 12px 16px;
  border-radius: 999px;
  transition: 0.25s ease;
}

nav a:hover {
  color: var(--green);
  background: rgba(8, 120, 63, 0.09);
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 42px;
  padding: 0 14px;
  color: var(--green-deep);
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.02em;
  border: 1px solid rgba(8, 120, 63, 0.14);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 201, 74, 0.22));
  box-shadow: 0 10px 26px rgba(7, 42, 28, 0.08);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.language-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 201, 74, 0.62);
  background: linear-gradient(135deg, #fff, rgba(255, 201, 74, 0.36));
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: end;
  gap: clamp(24px, 4vw, 56px);
  padding: 150px clamp(20px, 6vw, 82px) 70px;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(3, 42, 24, 0.9), rgba(3, 42, 24, 0.56) 42%, rgba(3, 42, 24, 0.16)),
    linear-gradient(180deg, rgba(3, 42, 24, 0.12), rgba(3, 42, 24, 0.72)),
    var(--hero-image) center / cover;
  transform: scale(1.03);
  animation: slowZoom 18s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 210px;
  z-index: -1;
  background: linear-gradient(0deg, var(--paper), transparent);
}

.hero-orbit {
  position: absolute;
  right: clamp(40px, 9vw, 140px);
  top: 22%;
  width: min(42vw, 520px);
  aspect-ratio: 1;
  z-index: -2;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  border-radius: inherit;
}

.hero-orbit::before {
  inset: 13%;
  border: 1px dashed rgba(255, 201, 74, 0.42);
}

.hero-orbit::after {
  width: 14px;
  height: 14px;
  top: 12%;
  right: 18%;
  background: var(--gold);
  box-shadow: 0 0 36px var(--gold);
}

.hero-copy {
  position: relative;
  max-width: 820px;
  color: #fff;
  animation: riseIn 0.8s ease both;
}

.eyebrow,
.section-label,
.card-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(46px, 8vw, 108px);
  line-height: 0.88;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.lead {
  max-width: 680px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.45;
}

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

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.button.primary {
  color: #173225;
  background: linear-gradient(135deg, #ffe08a, var(--gold) 54%, #f3a500);
  box-shadow: 0 16px 42px rgba(255, 185, 44, 0.34);
}

.button.ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 640px;
  margin-top: 34px;
}

.hero-stats div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.hero-stats strong {
  display: block;
  color: var(--gold);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 700;
}

.glass-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(24px) saturate(140%);
}

.hero-card {
  align-self: end;
  margin-bottom: 22px;
  padding: 28px;
  border-radius: 32px;
  color: #fff;
  animation: riseIn 0.9s 0.16s ease both;
}

.hero-card::before {
  content: "";
  display: block;
  height: 180px;
  margin-bottom: 24px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, transparent, rgba(3, 42, 24, 0.66)),
    var(--hero-card-image) center / cover;
}

.hero-card h2 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 28px;
  line-height: 1.05;
}

.hero-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.75;
}

.intro,
.feature-band,
.services,
.process,
.contact,
.showcase,
.site-footer {
  padding-inline: clamp(20px, 6vw, 82px);
}

.intro,
.feature-band,
.services,
.process,
.contact {
  padding-block: clamp(66px, 9vw, 112px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
}

h2 {
  margin-bottom: 0;
  color: var(--green-deep);
  font-size: clamp(32px, 4.4vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.intro-copy p,
.contact p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.trust-strip span {
  padding: 10px 14px;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 900;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 26px rgba(7, 42, 28, 0.06);
}

.showcase {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr;
  gap: 18px;
  padding-bottom: clamp(66px, 8vw, 100px);
}

.showcase-card {
  position: relative;
  min-height: 360px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.showcase-card.large {
  min-height: 460px;
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 30%, rgba(3, 42, 24, 0.78));
}

.showcase-card:hover img {
  transform: scale(1.08);
}

.showcase-card div {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  color: #fff;
}

.showcase-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.showcase-card h3 {
  margin: 8px 0 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.05;
}

.feature-band {
  position: relative;
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 201, 74, 0.28), transparent 25rem),
    linear-gradient(180deg, #eef8ef, #f8fbf4);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 34px;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.route-card {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 50px rgba(7, 42, 28, 0.08);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.route-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(145deg, rgba(8, 120, 63, 0.1), rgba(255, 201, 74, 0.18));
  transition: opacity 0.28s ease;
}

.route-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 201, 74, 0.62);
  box-shadow: 0 28px 70px rgba(7, 42, 28, 0.14);
}

.route-card:hover::before {
  opacity: 1;
}

.route-card > * {
  position: relative;
}

.route-card span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: auto;
  color: var(--green-deep);
  font-weight: 950;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff7d9, var(--gold));
}

.route-card h3,
.service-list h3 {
  margin-top: 42px;
  color: var(--green-deep);
  font-size: 23px;
  line-height: 1.18;
}

.route-card p,
.service-list p,
.process span {
  color: var(--muted);
  line-height: 1.75;
}

.route-card a {
  margin-top: auto;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
}

.route-card a::after {
  content: " →";
}

.services {
  position: relative;
}

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

.service-list > div {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 50px rgba(7, 42, 28, 0.07);
}

.service-list span {
  color: var(--gold-deep);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 2px;
}

.service-list h3 {
  margin-top: 26px;
}

.process {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 6vw, 86px);
  background:
    linear-gradient(135deg, rgba(4, 56, 32, 0.04), rgba(255, 201, 74, 0.14)),
    #f9fbf6;
}

.process-copy {
  position: sticky;
  top: 130px;
  align-self: start;
}

.process ol {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.process li {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(8, 120, 63, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 16px 42px rgba(7, 42, 28, 0.07);
  counter-increment: steps;
}


.process li > div {
  min-width: 0;
}

.process li::before {
  content: "0" counter(steps);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: var(--green-deep);
  font-weight: 950;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--gold), #fff1b4);
}

.process strong {
  display: block;
  color: var(--green);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.3;
}

.process span {
  display: block;
  max-width: 62ch;
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.9;
  overflow-wrap: anywhere;
  word-break: normal;
  text-wrap: pretty;
}

.contact {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(300px, 450px);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 201, 74, 0.34), transparent 24rem),
    linear-gradient(120deg, var(--green-dark), var(--green-deep) 52%, var(--green));
  overflow: hidden;
}

.contact::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 420px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.contact > * {
  position: relative;
  z-index: 1;
}

.contact h2,
.contact .section-label {
  color: #fff;
}

.contact p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.8);
}

.contact-panel {
  padding: 30px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(24px);
}

.contact-panel p,
.contact-panel a,
.contact-panel span {
  display: block;
  margin-bottom: 14px;
  color: #fff;
  line-height: 1.5;
}

.contact-panel a:not(.button) {
  font-size: 18px;
  font-weight: 900;
}

.contact-button {
  width: 100%;
  margin: 24px 0 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  background: var(--paper);
}

.site-footer a {
  color: var(--green);
}

@keyframes slowZoom {
  from { transform: scale(1.03); }
  to { transform: scale(1.1); }
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(-16px, 18px, 0) rotate(8deg); }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

  .hero-card {
    max-width: 560px;
    margin-bottom: 0;
  }

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

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

  .showcase-card.large {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    border-radius: 32px;
  }

  .header-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    font-size: 13px;
  }

  nav a {
    padding: 10px 12px;
  }

  .intro,
  .process,
  .contact {
    grid-template-columns: 1fr;
  }

  .process-copy {
    position: static;
  }

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

@media (max-width: 640px) {
  .site-header {
    position: absolute;
    top: 12px;
    width: calc(100% - 24px);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .header-actions {
    width: 100%;
    align-items: stretch;
    gap: 8px;
  }

  nav {
    flex: 1 1 100%;
    justify-content: space-between;
    gap: 4px;
  }

  nav a {
    padding: 9px 8px;
  }

  .language-toggle {
    flex: 1 1 100%;
    min-height: 40px;
  }

  .hero {
    min-height: auto;
    padding: 190px 20px 56px;
  }

  h1 {
    letter-spacing: -0.055em;
  }

  .hero-stats,
  .route-grid,
  .showcase {
    grid-template-columns: 1fr;
  }

  .hero-card::before {
    height: 150px;
  }

  .showcase-card,
  .showcase-card.large {
    min-height: 310px;
  }

  .section-heading {
    display: block;
  }

  .route-card {
    min-height: 280px;
  }

  .process li {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
  }

  .process li::before {
    width: 50px;
    height: 50px;
    border-radius: 18px;
  }

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

@media (max-width: 430px) {
  .process li {
    grid-template-columns: 1fr;
  }

  .process span {
    font-size: 15px;
    line-height: 1.85;
  }
}

.cms-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  min-height: 48px;
  padding: 0 18px;
  color: var(--green-deep);
  font: inherit;
  font-size: 14px;
  font-weight: 950;
  border: 1px solid rgba(255, 201, 74, 0.72);
  border-radius: 999px;
  background: linear-gradient(135deg, #fff9df, var(--gold));
  box-shadow: 0 18px 54px rgba(7, 42, 28, 0.22);
  cursor: pointer;
}

.cms-overlay {
  position: fixed;
  inset: 0;
  z-index: 88;
  background: rgba(4, 28, 18, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
  backdrop-filter: blur(5px);
}

.cms-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cms-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  width: min(720px, 100%);
  padding: 24px;
  color: #163223;
  background:
    radial-gradient(circle at 95% 0%, rgba(255, 201, 74, 0.28), transparent 22rem),
    #fffdf7;
  box-shadow: -26px 0 80px rgba(4, 40, 24, 0.24);
  overflow-y: auto;
  transform: translateX(104%);
  transition: transform 0.3s ease;
}

.cms-panel.is-open {
  transform: translateX(0);
}

.cms-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.cms-header span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.cms-header h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 44px);
}

.cms-header p,
.cms-status {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.cms-close {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  color: var(--green-deep);
  font-size: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.cms-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 18px 0 12px;
}

.cms-toolbar label,
.cms-toolbar button,
.cms-import {
  min-height: 42px;
  color: var(--green-deep);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
}

.cms-toolbar label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
}

.cms-toolbar select {
  color: inherit;
  font: inherit;
  border: 0;
  outline: 0;
  background: transparent;
}

.cms-toolbar button,
.cms-import {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  cursor: pointer;
}

.cms-toolbar button:hover,
.cms-import:hover {
  border-color: rgba(255, 201, 74, 0.68);
  background: rgba(255, 201, 74, 0.2);
}

.cms-import input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.cms-panel details {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 46px rgba(7, 42, 28, 0.07);
  overflow: hidden;
}

.cms-panel summary {
  padding: 18px 20px;
  color: var(--green-deep);
  font-size: 18px;
  font-weight: 950;
  cursor: pointer;
}

.cms-fields,
.cms-media-fields {
  display: grid;
  gap: 14px;
  padding: 0 18px 18px;
}

.cms-field {
  display: grid;
  gap: 8px;
}

.cms-field > span {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.02em;
}

.cms-field input,
.cms-field textarea {
  width: 100%;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  line-height: 1.65;
  border: 1px solid rgba(8, 120, 63, 0.16);
  border-radius: 16px;
  outline: none;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.cms-field input {
  min-height: 44px;
  padding: 0 14px;
}

.cms-field textarea {
  min-height: 92px;
  padding: 12px 14px;
  resize: vertical;
}

.cms-field input:focus,
.cms-field textarea:focus {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 4px rgba(255, 201, 74, 0.18);
}

.cms-media-field {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(8, 120, 63, 0.12);
  border-radius: 22px;
  background: rgba(249, 251, 246, 0.78);
}

.cms-media-field img {
  width: 132px;
  height: 96px;
  object-fit: cover;
  border-radius: 16px;
  background: #e9efe7;
}

.cms-file-input {
  width: 100%;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 640px) {
  .cms-launcher {
    right: 14px;
    bottom: 14px;
  }

  .cms-panel {
    padding: 18px;
  }

  .cms-header {
    align-items: flex-start;
  }

  .cms-toolbar > *,
  .cms-import {
    flex: 1 1 100%;
  }

  .cms-media-field {
    grid-template-columns: 1fr;
  }

  .cms-media-field img {
    width: 100%;
    height: 180px;
  }
}
