:root {
  --color-dark: #50524d;
  --color-gold: #72785a;
  --color-olive: #72785a;
  --color-sand: #d8c9ae;
  --color-beige: #f2ecdf;
  --color-light: #ffffff;
  --color-muted: #6d6d66;
  --color-bg: #f6f1e8;
  --color-border: #ded2bd;
  --shadow-soft: 0 22px 70px rgba(48, 50, 47, 0.08);
  --radius: 8px;
  --max-width: 1180px;
  --site-font: "Montserrat", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-dark);
  background: var(--color-bg);
  font-family: var(--site-font);
  line-height: 1.6;
  opacity: 0;
  transition: opacity 700ms ease;
}

body.is-loaded {
  opacity: 1;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 240ms ease, box-shadow 240ms ease, backdrop-filter 240ms ease, border-color 240ms ease;
}

.site-header::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(114, 120, 90, 0.72), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 420ms ease;
}

.site-header.is-scrolled {
  background: rgba(246, 241, 232, 0.88);
  border-color: rgba(114, 120, 90, 0.16);
  box-shadow: 0 14px 34px rgba(48, 50, 47, 0.07);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled::after {
  transform: scaleX(1);
}

.logo-link {
  position: relative;
  z-index: 60;
  flex: 0 0 auto;
}

.logo-header {
  width: 190px;
  height: 70px;
  object-fit: contain;
  object-position: center;
  transition: transform 220ms ease, filter 220ms ease;
}

.logo-link:hover .logo-header,
.logo-link:focus-visible .logo-header {
  filter: drop-shadow(0 8px 14px rgba(48, 50, 47, 0.12));
  transform: translateY(-1px) scale(1.02);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  font-size: 0.94rem;
  font-weight: 600;
}

.site-nav a:not(.btn) {
  position: relative;
  color: rgba(48, 50, 47, 0.86);
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav a:not(.btn)::after {
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav a:not(.btn):hover,
.site-nav a:not(.btn):focus-visible {
  color: var(--color-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
}

.section-pad {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 56px);
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  --hero-y: 0px;
  background:
    linear-gradient(180deg, rgba(249, 245, 238, 0.72), rgba(249, 245, 238, 0.58));
}

.hero::before {
  position: absolute;
  inset: -36px;
  z-index: 0;
  content: "";
  background: url("assets/hero-bg.jpg") center / cover;
  opacity: 0.68;
  transform: translate3d(0, var(--hero-y), 0) scale(1.05);
  transform-origin: center;
  transition: transform 80ms linear;
  will-change: transform;
}

.hero::after {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 0;
  width: min(760px, 72vw);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  animation: lineRevealCenter 1200ms 520ms ease forwards;
}

.hero-content,
.split-text,
.about-panel,
.contact-copy,
.contact-form {
  position: relative;
  z-index: 2;
}

.hero-centered {
  display: grid;
  justify-items: center;
  gap: clamp(16px, 3vh, 36px);
  max-width: min(1040px, 94vw);
  text-align: center;
  animation: heroContentIn 900ms 160ms cubic-bezier(0.19, 1, 0.22, 1) both;
}

.landing-logo {
  width: min(1040px, 94vw);
  height: auto;
  max-height: 64vh;
  object-fit: contain;
  filter: drop-shadow(0 16px 26px rgba(48, 50, 47, 0.16));
  animation: titleSettle 1050ms 280ms cubic-bezier(0.19, 1, 0.22, 1) both;
}

.hero-tagline {
  max-width: 720px;
  margin: 0 auto;
  color: var(--color-dark);
  font-size: clamp(1.05rem, 2.4vw, 1.55rem);
  font-weight: 600;
  line-height: 1.4;
  animation: softTrackIn 850ms 360ms ease both;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--color-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  animation: softTrackIn 850ms 280ms ease both;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(5.4rem, 14vw, 11rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-copy,
.section-head p,
.split-text p,
.contact-copy p {
  color: var(--color-muted);
  font-size: 1.08rem;
}

.hero-copy {
  max-width: 640px;
  margin: 30px auto 0;
  color: rgba(48, 50, 47, 0.74);
  font-size: clamp(1.04rem, 2vw, 1.32rem);
  font-weight: 600;
  animation: softTrackIn 900ms 440ms ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  color: var(--color-light);
  background: var(--color-olive);
  border: 1px solid var(--color-olive);
  border-radius: var(--radius);
  box-shadow: 0 14px 30px rgba(48, 50, 47, 0.12);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn::after {
  position: absolute;
  inset: -40% auto -40% -35%;
  width: 30%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transform: skewX(-20deg) translateX(0);
  transition: transform 520ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  background: #5f654d;
  box-shadow: 0 18px 34px rgba(48, 50, 47, 0.16);
}

.btn:hover::after,
.btn:focus-visible::after {
  transform: skewX(-20deg) translateX(520%);
}

.btn-ghost {
  color: var(--color-dark);
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(114, 120, 90, 0.5);
  box-shadow: none;
}

.btn-small {
  min-height: 42px;
  padding-inline: 18px;
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-head {
  max-width: 740px;
  margin-bottom: clamp(34px, 6vw, 58px);
}

.image-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0;
  overflow: hidden;
  color: rgba(80, 82, 77, 0.78);
  background:
    linear-gradient(135deg, rgba(216, 201, 174, 0.72), rgba(242, 236, 223, 0.82)),
    repeating-linear-gradient(45deg, rgba(114, 120, 90, 0.08) 0 1px, transparent 1px 18px);
  border: 1px solid rgba(114, 120, 90, 0.22);
  border-radius: var(--radius);
}

.image-placeholder::after {
  position: absolute;
  inset: 18px;
  content: "";
  border: 1px dashed rgba(114, 120, 90, 0.28);
  border-radius: 6px;
}

.image-placeholder span,
.image-placeholder strong {
  position: relative;
  z-index: 1;
}

.image-placeholder span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.image-placeholder strong {
  margin-top: 6px;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 600;
}

.image-placeholder-wide {
  width: 100%;
  max-width: 820px;
  aspect-ratio: 3 / 2;
  min-height: 0;
  margin: 0 auto 28px;
}

.image-placeholder-about {
  width: 100%;
  aspect-ratio: 2 / 3;
  min-height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(48, 50, 47, 0.14);
}

.image-placeholder-small {
  width: 100%;
  height: 92px;
  margin-bottom: 22px;
}

.image-placeholder-small::after {
  inset: 12px;
}

.image-placeholder-small span {
  letter-spacing: 0.1em;
}

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

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

.card,
.benefit,
.step {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  transition: transform 260ms cubic-bezier(0.19, 1, 0.22, 1), box-shadow 260ms ease, border-color 260ms ease;
}

.card::before,
.benefit::before,
.step::before {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  opacity: 0;
  transform: translateX(-40%);
  transition: opacity 220ms ease, transform 520ms ease;
}

.card {
  min-height: 138px;
  padding: 24px;
  cursor: pointer;
}

.service-grid .card h3 {
  hyphens: auto;
  overflow-wrap: break-word;
  word-break: normal;
}

.service-grid .card p {
  display: block;
  max-height: none;
  margin-top: 12px;
  opacity: 1;
  overflow: hidden;
  transition: max-height 260ms ease, margin-top 220ms ease, opacity 220ms ease;
}

.service-grid .card::after {
  position: absolute;
  right: 22px;
  bottom: 20px;
  content: "";
  color: var(--color-olive);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  transition: transform 180ms ease;
}

.service-grid .card.is-open p {
  max-height: none;
}

.service-grid .card.is-open::after {
  transform: rotate(45deg);
}

body.admin-active .service-grid .card p {
  display: block;
  max-height: none;
  margin-top: 12px;
  opacity: 1;
}

body.admin-active .service-grid .card::after {
  display: none;
}

.benefit {
  padding: 0 28px 28px;
}

.benefit .image-placeholder-small {
  width: calc(100% + 56px);
  height: clamp(176px, 17vw, 240px);
  margin: -28px -28px 24px;
  border: 0;
  border-radius: var(--radius) var(--radius) 0 0;
}

.benefit .image-placeholder-small::after {
  inset: 14px;
}

.benefit h3 {
  margin-bottom: 12px;
  font-size: clamp(1.18rem, 1.8vw, 1.55rem);
}

.card:hover,
.benefit:hover,
.step:hover {
  border-color: rgba(114, 120, 90, 0.6);
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.card:hover::before,
.benefit:hover::before,
.step:hover::before {
  opacity: 1;
  transform: translateX(40%);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  color: var(--color-gold);
  border: 1px solid rgba(114, 120, 90, 0.42);
  border-radius: 50%;
  font-weight: 800;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.card:hover .icon {
  color: var(--color-light);
  background: var(--color-gold);
  transform: rotate(-5deg) scale(1.05);
}

.card p,
.benefit p,
.step p {
  margin: 12px 0 0;
  color: var(--color-muted);
  font-size: 0.94rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
  max-width: var(--max-width);
  margin: 0 auto;
}

.about-copy {
  margin-top: 18px;
}

.about-copy p {
  margin: 0 0 16px;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-copy strong {
  color: var(--color-dark);
  font-weight: 700;
}

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

.badges span {
  padding: 9px 14px;
  color: var(--color-dark);
  border: 1px solid rgba(114, 120, 90, 0.42);
  border-radius: 999px;
  font-weight: 700;
}

.about-panel {
  display: grid;
  justify-items: center;
  gap: 22px;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.gold-line {
  width: 70%;
  height: 1px;
  margin-top: 28px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  transform: scaleX(0);
  transform-origin: center;
}

.about-panel.is-visible .gold-line {
  animation: lineRevealPlain 900ms 280ms ease forwards;
}

.muted {
  max-width: none;
  background: var(--color-beige);
}

.muted > * {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.benefit {
  padding: 28px;
  border-top: 3px solid var(--color-gold);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.timeline::before {
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 1px;
  content: "";
  background: rgba(114, 120, 90, 0.42);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 900ms ease;
}

.timeline.is-visible::before {
  transform: scaleX(1);
}

.step {
  position: relative;
  z-index: 1;
  padding: 28px;
}

.step span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 26px;
  color: var(--color-light);
  background: var(--color-dark);
  border: 4px solid var(--color-light);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(114, 120, 90, 0.42);
  font-weight: 800;
  transition: background 220ms ease, transform 220ms ease;
}

.step:hover span {
  background: var(--color-gold);
  transform: scale(1.06);
}

.tariff {
  background: linear-gradient(180deg, var(--color-bg), var(--color-beige));
}

.tariff-head {
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}

.tariff-head h2 {
  margin-top: 12px;
}

.tariff-head p {
  margin: 16px auto 0;
  color: var(--color-muted);
  font-size: 1.06rem;
}

.tariff-card,
.tariff-cta {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.tariff-card {
  position: relative;
  margin-top: 46px;
  padding: clamp(40px, 5vw, 62px) clamp(24px, 5vw, 56px) clamp(30px, 4vw, 48px);
  text-align: center;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.tariff-card-icon {
  position: absolute;
  top: 0;
  left: 50%;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  transform: translate(-50%, -50%);
  color: var(--color-light);
  background: var(--color-olive);
  border: 6px solid var(--color-beige);
  border-radius: 50%;
  box-shadow: 0 12px 26px rgba(48, 50, 47, 0.16);
}

.tariff-card-icon svg {
  width: 30px;
  height: 30px;
}

.tariff-card-label {
  margin: 6px 0 0;
  color: var(--color-olive);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tariff-card-rate {
  margin: 12px 0 0;
  color: var(--color-dark);
  line-height: 1;
}

.tariff-card-prefix {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
  vertical-align: middle;
}

.tariff-card-rate strong {
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.tariff-card-unit {
  margin: 8px 0 0;
  color: var(--color-muted);
  font-size: 1rem;
}

.tariff-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
  margin-top: clamp(30px, 4vw, 44px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--color-border);
}

.tariff-point {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.tariff-point-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 6px;
  color: var(--color-olive);
  background: var(--color-beige);
  border-radius: 50%;
}

.tariff-point-icon svg {
  width: 24px;
  height: 24px;
}

.tariff-point h3 {
  font-size: 1.04rem;
}

.tariff-point p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.tariff-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px clamp(20px, 3vw, 34px);
  margin-top: 22px;
  padding: clamp(22px, 3vw, 30px) clamp(24px, 4vw, 40px);
  background: var(--color-beige);
  border: 1px solid var(--color-border);
  border-radius: 14px;
}

.tariff-cta-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--color-olive);
  border: 1px solid rgba(114, 120, 90, 0.5);
  border-radius: 50%;
}

.tariff-cta-icon svg {
  width: 24px;
  height: 24px;
}

.tariff-cta-text strong {
  display: block;
  color: var(--color-dark);
  font-size: 1.12rem;
}

.tariff-cta-text p {
  margin: 4px 0 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.tariff-cta-actions {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.tariff-cta-link {
  color: var(--color-olive);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tariff-cta-link:hover,
.tariff-cta-link:focus-visible {
  color: var(--color-dark);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(36px, 7vw, 92px);
  background:
    linear-gradient(140deg, rgba(48, 50, 47, 0.96), rgba(77, 82, 63, 0.94)),
    var(--color-dark);
  color: var(--color-light);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-info {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--color-light);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-gold);
  box-shadow: 0 0 0 4px rgba(114, 120, 90, 0.14);
  transform: translateY(-1px);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 26px 46px;
  padding: 44px clamp(20px, 5vw, 56px);
  color: rgba(255, 255, 255, 0.76);
  background: var(--color-dark);
}

.legal {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 42px;
  padding-bottom: 42px;
  border-top: 1px solid var(--color-border);
}

.legal-card {
  padding: clamp(24px, 4vw, 38px);
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.legal h2 {
  font-size: 1.4rem;
}

.legal h3 {
  margin-top: 24px;
  color: var(--color-olive);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal p {
  margin: 8px 0 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.legal a {
  color: var(--color-olive);
  font-weight: 700;
}

.legal-updated {
  margin-top: 28px !important;
  font-size: 0.78rem !important;
}

.legal-site-header {
  background: rgba(246, 241, 232, 0.94);
  border-color: rgba(114, 120, 90, 0.16);
  box-shadow: 0 12px 30px rgba(48, 50, 47, 0.06);
  backdrop-filter: blur(18px);
}

.legal-page {
  max-width: 940px;
  margin: 0 auto;
  padding-top: clamp(148px, 16vw, 190px);
}

.legal-page-head {
  max-width: 680px;
  margin-bottom: 42px;
}

.legal-page-head h1 {
  font-size: clamp(2.35rem, 5vw, 4.2rem);
}

.legal-page-head > p:last-child {
  margin: 18px 0 0;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.legal-document {
  padding: clamp(26px, 5vw, 54px);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.legal-document > p {
  margin: 0;
  color: var(--color-muted);
}

.legal-document h2 {
  margin-top: 38px;
  font-size: 1.22rem;
}

.legal-document h2 + p {
  margin-top: 10px;
  color: var(--color-muted);
}

.legal-document a {
  color: var(--color-olive);
  font-weight: 700;
}

.legal-document .legal-list {
  margin: 14px 0 0;
  padding-left: 22px;
  color: var(--color-muted);
}

.legal-document .legal-list li {
  margin: 6px 0;
}

.legal-document .legal-list + p {
  margin-top: 14px;
}

.site-footer > * {
  max-width: var(--max-width);
}

.logo-footer {
  width: 180px;
  margin-bottom: 14px;
  background: var(--color-light);
  border-radius: 6px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 24px;
  font-weight: 700;
}

.site-footer small {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.52);
}

.site-footer small a {
  color: var(--color-sand);
  font-weight: 700;
}

.site-footer small a:hover,
.site-footer small a:focus-visible {
  color: var(--color-light);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 720ms ease, transform 720ms cubic-bezier(0.19, 1, 0.22, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

@keyframes heroContentIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes titleSettle {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(26px) scale(0.96);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

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

@keyframes slashGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(114, 120, 90, 0));
  }
  50% {
    filter: drop-shadow(0 0 16px rgba(114, 120, 90, 0.34));
  }
}

@keyframes lineRevealCenter {
  from {
    transform: translateX(-50%) scaleX(0);
  }
  to {
    transform: translateX(-50%) scaleX(1);
  }
}

@keyframes lineRevealPlain {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 1020px) {
  .service-grid,
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 100vh;
  }

  .service-grid .card p {
    max-height: 0;
    margin-top: 0;
    opacity: 0;
  }

  .service-grid .card::after {
    content: "+";
  }

  .service-grid .card.is-open p {
    max-height: 160px;
    margin-top: 14px;
    opacity: 1;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 10px 18px;
  }

  .logo-header {
    width: 146px;
    height: 58px;
  }

  .landing-logo {
    width: 94vw;
    max-height: 70vh;
  }

  .nav-toggle {
    position: relative;
    z-index: 60;
    display: grid;
    gap: 5px;
    width: 42px;
    height: 42px;
    place-content: center;
    background: var(--color-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
  }

  .nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--color-dark);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    top: 72px;
    left: 12px;
    right: 12px;
    bottom: auto;
    display: grid;
    justify-items: center;
    gap: 0;
    max-height: min(50vh, 390px);
    padding: 10px;
    overflow-y: auto;
    background: rgba(246, 241, 232, 0.97);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    box-shadow: 0 18px 48px rgba(48, 50, 47, 0.16);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transform-origin: top center;
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .site-nav a {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(114, 120, 90, 0.14);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav .btn-small {
    width: 100%;
    margin-top: 8px;
    border-bottom: 0;
  }

  body.admin-active .site-nav {
    top: 166px;
  }

  .service-grid,
  .benefit-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 150px;
    padding: 26px;
  }

  .service-grid .card p {
    font-size: 1rem;
  }

  .tariff-points {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .tariff-cta {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

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

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

  .timeline::before {
    top: 0;
    bottom: 0;
    left: 28px;
    right: auto;
    width: 1px;
    height: auto;
    transform: scaleY(0);
    transform-origin: top;
  }

  .timeline.is-visible::before {
    transform: scaleY(1);
  }

  .step {
    padding-left: 76px;
  }

  .step span {
    position: absolute;
    left: 0;
    top: 24px;
  }

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

  .btn {
    width: 100%;
  }

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

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

  .site-footer nav {
    justify-content: flex-start;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.admin-login {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(48, 50, 47, 0.46);
  backdrop-filter: blur(12px);
}

.admin-login.is-visible {
  display: grid;
}

.admin-login form {
  width: min(420px, 100%);
  padding: 28px;
  color: var(--color-dark);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: 0 28px 80px rgba(48, 50, 47, 0.22);
}

.admin-login h2 {
  font-size: 1.45rem;
}

.admin-login p {
  margin: 8px 0 18px;
  color: var(--color-muted);
}

.admin-login label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.admin-login input {
  color: var(--color-dark);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--color-border);
}

.admin-login-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.admin-toolbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 180;
  display: none;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 10px clamp(14px, 3vw, 28px);
  color: #f8f7f2;
  background: rgba(38, 40, 36, 0.94);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

body.admin-active .admin-toolbar {
  display: flex;
}

body.admin-active .site-header {
  top: 62px;
}

.admin-toolbar strong {
  white-space: nowrap;
}

.admin-toolbar p {
  margin: 0 auto 0 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
}

.admin-design-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-control {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-control input[type="color"] {
  width: 34px;
  height: 26px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  cursor: pointer;
}

.admin-control select {
  min-height: 28px;
  color: var(--color-dark);
  background: #fff;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-toolbar button,
.admin-login button,
.admin-image-button {
  min-height: 38px;
  padding: 0 14px;
  color: #fff;
  background: var(--color-olive);
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.admin-image-resize {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 7;
  display: none;
  width: 24px;
  height: 24px;
  padding: 0;
  cursor: nwse-resize;
  touch-action: none;
  background: linear-gradient(135deg, transparent 42%, #fff 43% 53%, transparent 54%), var(--color-olive);
  border: 2px solid #fff;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(48, 50, 47, 0.24);
}

body.admin-active .admin-image-resize {
  display: block;
}

.admin-toolbar button.secondary,
.admin-login button.secondary {
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.12);
}

.admin-status {
  min-width: 120px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
}

body.admin-active [data-edit] {
  outline: 1px dashed rgba(114, 120, 90, 0.65);
  outline-offset: 4px;
  cursor: text;
  transition: background 160ms ease, outline-color 160ms ease;
}

body.admin-active [data-edit]:hover,
body.admin-active [data-edit]:focus {
  background: rgba(216, 201, 174, 0.16);
  outline-color: var(--color-olive);
}

body.admin-active [data-image] {
  position: relative;
  cursor: pointer;
  outline: 1px dashed rgba(114, 120, 90, 0.65);
  outline-offset: 4px;
}

.admin-image-button {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 6;
  display: none;
  transform: translateX(-50%);
  box-shadow: 0 12px 30px rgba(48, 50, 47, 0.18);
  white-space: nowrap;
}

body.admin-active .admin-image-button {
  display: inline-flex;
  align-items: center;
}

.admin-image-wrapper {
  position: relative;
}

[data-image].has-image {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Portrait photo: show the full image instead of cropping it on wide screens. */
.image-placeholder-about.has-image {
  background-size: cover;
  background-color: transparent;
}

.image-placeholder.has-image {
  border-color: transparent;
}

.image-placeholder.has-image::after {
  display: none;
}

[data-image].has-image > span,
[data-image].has-image > strong {
  display: none;
}

body.admin-active img[data-image].admin-img-selected {
  outline: 2px solid var(--color-olive);
  outline-offset: 8px;
}

.admin-dashboard {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: none;
  overflow: auto;
  padding: clamp(24px, 6vw, 72px);
  color: var(--color-dark);
  background: rgba(246, 241, 232, 0.94);
  backdrop-filter: blur(16px);
}

.admin-dashboard.is-visible {
  display: grid;
  place-items: start center;
}

.admin-dashboard-panel {
  width: min(1040px, 100%);
  padding: clamp(26px, 5vw, 52px);
  background: #fffdf9;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(48, 50, 47, 0.12);
}

.admin-dashboard-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
}

.admin-dashboard h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
}

.admin-dashboard-head p,
.admin-analytics-note {
  margin: 8px 0 0;
  color: var(--color-muted);
}

.admin-kicker {
  color: var(--color-olive) !important;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.admin-stat-grid article {
  min-height: 148px;
  padding: 22px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.admin-stat-grid span {
  display: block;
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.admin-stat-grid strong {
  display: block;
  margin-top: 14px;
  color: var(--color-olive);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.admin-dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.admin-dashboard button {
  min-height: 42px;
  padding: 0 16px;
  color: #fff;
  background: var(--color-olive);
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.admin-dashboard button.secondary {
  color: var(--color-dark);
  background: transparent;
  border: 1px solid var(--color-border);
}

/* The admin interface remains legible even when the public site font changes. */
.admin-toolbar,
.admin-login,
.admin-dashboard {
  font-family: "Montserrat", Arial, sans-serif;
}

.admin-toolbar {
  min-height: 76px;
  padding: 12px clamp(16px, 3vw, 36px);
  gap: 10px;
  background: rgba(30, 33, 29, 0.97);
}

.admin-toolbar strong {
  display: grid;
  align-items: center;
  min-height: 40px;
  padding-right: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 0.92rem;
}

.admin-toolbar p {
  max-width: 250px;
  margin: 0 auto 0 4px;
  font-size: 0.72rem;
  line-height: 1.35;
}

.admin-design-controls {
  gap: 7px;
}

.admin-control {
  min-height: 36px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-size: 0.74rem;
}

.admin-toolbar button {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 0.8rem;
}

.admin-toolbar button[data-admin-save] {
  background: #8b9370;
}

body.admin-active .site-header {
  top: 76px;
}

.admin-dashboard {
  padding: clamp(30px, 5vw, 76px);
  background: #f1ede4;
}

.admin-dashboard-panel {
  max-width: 1180px;
  padding: clamp(28px, 5vw, 56px);
  background: #fdfcf9;
  border-color: #e5dbc9;
  border-radius: 12px;
  box-shadow: 0 26px 68px rgba(61, 57, 48, 0.12);
}

.admin-dashboard-head {
  margin-bottom: 44px;
}

.admin-dashboard h1 {
  color: #34372f;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: 0;
}

.admin-dashboard h2 {
  margin: 0;
  color: #34372f;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
}

.admin-dashboard-top-actions {
  display: flex;
  gap: 10px;
}

.admin-dashboard-top-actions a,
.admin-dashboard-top-actions button,
.admin-dashboard .secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 6px;
  font-size: 0.82rem;
}

.admin-dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 24px;
  align-items: stretch;
}

.admin-overview,
.admin-editor-card,
.admin-inbox-section {
  padding: 26px;
  background: #fff;
  border: 1px solid #e5dbc9;
  border-radius: 10px;
}

.admin-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.admin-section-title .admin-kicker {
  margin: 0 0 4px;
}

.admin-dashboard .icon-button {
  min-height: 32px;
  padding: 0 10px;
  color: var(--color-dark);
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 0.72rem;
}

.admin-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.admin-stat-grid article {
  min-height: 122px;
  padding: 16px;
  background: #f7f3ea;
  border-color: #e4dac8;
  border-radius: 7px;
}

.admin-stat-grid span {
  font-size: 0.7rem;
  line-height: 1.3;
}

.admin-stat-grid strong {
  margin-top: 18px;
  color: #687052;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  font-weight: 700;
}

.admin-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.admin-quick-actions button span,
.admin-section-title h2 span {
  display: inline-grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  margin-left: 6px;
  padding: 0 5px;
  color: #fff;
  background: #8b9370;
  border-radius: 50%;
  font-size: 0.7rem;
}

.admin-editor-card {
  display: flex;
  flex-direction: column;
  background: #687052;
  border-color: #687052;
}

.admin-editor-card .admin-kicker,
.admin-editor-card h2,
.admin-editor-card p,
.admin-editor-card li {
  color: #fff;
}

.admin-editor-card h2 {
  margin-bottom: 12px;
}

.admin-editor-card p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
}

.admin-editor-card ul {
  display: grid;
  gap: 9px;
  margin: 22px 0 auto;
  padding: 0;
  list-style: none;
}

.admin-editor-card li {
  font-size: 0.8rem;
}

.admin-editor-card li::before {
  margin-right: 8px;
  color: #f2ecdf;
  content: "•";
}

.admin-editor-card button {
  width: 100%;
  margin-top: 28px;
  color: #3d4135;
  background: #f2ecdf;
}

.admin-inbox-section {
  margin-top: 24px;
}

.admin-inquiry-list {
  display: grid;
  gap: 10px;
}

.admin-inquiry {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 17px;
  background: #fdfcf9;
  border: 1px solid #e9e1d3;
  border-radius: 7px;
}

.admin-inquiry.is-new {
  border-left: 4px solid #8b9370;
  background: #f8f6ed;
}

.admin-inquiry-meta strong,
.admin-inquiry-meta span {
  display: block;
}

.admin-inquiry-meta strong {
  font-size: 0.88rem;
}

.admin-inquiry-meta span {
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 0.72rem;
}

.admin-inquiry p {
  margin: 0;
  color: #55564f;
  font-size: 0.84rem;
  line-height: 1.5;
}

.admin-inquiry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.admin-inquiry-actions a,
.admin-inquiry-actions button {
  min-height: 32px;
  padding: 0 9px;
  color: #4f553f;
  background: transparent;
  border: 1px solid #d8cdbb;
  border-radius: 5px;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
}

.admin-inquiry-actions button:disabled {
  opacity: 0.5;
}

.admin-inbox-empty {
  margin: 0;
  padding: 28px;
  color: var(--color-muted);
  text-align: center;
  background: #faf8f2;
  border: 1px dashed #dbd2c1;
  border-radius: 7px;
}

@media (max-width: 760px) {
  .admin-toolbar {
    flex-wrap: wrap;
  }

  .admin-design-controls {
    order: 4;
    width: 100%;
    flex-wrap: wrap;
  }

  .admin-toolbar p {
    order: 6;
    width: 100%;
    margin-left: 0;
  }

  body.admin-active .site-header {
    top: 104px;
  }

  .admin-dashboard {
    padding: 16px;
  }

  .admin-dashboard-panel {
    padding: 24px;
  }

  .admin-dashboard-head {
    flex-direction: column;
    margin-bottom: 28px;
  }

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

  .admin-dashboard-top-actions,
  .admin-quick-actions {
    width: 100%;
  }

  .admin-dashboard-layout {
    grid-template-columns: 1fr;
  }

  .admin-overview,
  .admin-editor-card,
  .admin-inbox-section {
    padding: 20px;
  }

  .admin-inquiry {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .admin-inquiry-actions {
    justify-content: flex-start;
  }

  body.admin-active .site-header {
    top: 126px;
  }
}

/* ============================================================
   Admin UI — modern, Apple-inspired redesign
   (appended last so it overrides the legacy admin styles above)
   ============================================================ */
.admin-toolbar,
.admin-login,
.admin-dashboard {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", system-ui, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Dashboard surface: cards float on a soft system-gray canvas ---- */
.admin-dashboard {
  padding: clamp(18px, 4vw, 56px);
  color: #1d1d1f;
  background:
    radial-gradient(1100px 520px at 82% -12%, rgba(114, 120, 90, 0.12), transparent 62%),
    #f5f5f7;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.admin-dashboard-panel {
  width: min(1080px, 100%);
  max-width: 1080px;
  padding: clamp(20px, 3vw, 40px) 0 clamp(28px, 4vw, 48px);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* ---- Header / greeting ---- */
.admin-dashboard-head {
  align-items: center;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.admin-dashboard .admin-kicker {
  margin: 0 0 5px;
  color: #6e6e73 !important;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.admin-dashboard h1 {
  margin: 0;
  color: #1d1d1f;
  font-family: inherit;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.05;
}

.admin-dashboard-head p {
  margin-top: 8px;
  color: #6e6e73;
  font-size: 1rem;
}

.admin-dashboard h2 {
  color: #1d1d1f;
  font-family: inherit;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.012em;
}

/* ---- Pill buttons (top + quick actions) ---- */
.admin-dashboard-top-actions {
  gap: 8px;
}

.admin-dashboard-top-actions a,
.admin-dashboard-top-actions button,
.admin-dashboard .secondary {
  min-height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 980px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 160ms ease, transform 120ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.admin-dashboard-top-actions a {
  color: #fff;
  background: var(--color-olive);
  box-shadow: 0 6px 16px rgba(104, 112, 82, 0.28);
}

.admin-dashboard-top-actions a:hover,
.admin-dashboard-top-actions a:focus-visible {
  transform: translateY(-1px);
  opacity: 0.94;
}

.admin-dashboard .secondary {
  color: #1d1d1f;
  background: rgba(0, 0, 0, 0.05);
}

.admin-dashboard .secondary:hover,
.admin-dashboard .secondary:focus-visible {
  background: rgba(0, 0, 0, 0.09);
}

/* ---- Card containers ---- */
.admin-dashboard-layout {
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
}

.admin-overview,
.admin-editor-card,
.admin-inbox-section {
  padding: clamp(20px, 3vw, 28px);
  background: #fff;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 14px 44px rgba(0, 0, 0, 0.05);
}

.admin-inbox-section {
  margin-top: 20px;
}

.admin-section-title {
  margin-bottom: 20px;
}

.admin-dashboard .icon-button {
  min-height: 32px;
  padding: 0 14px;
  color: var(--color-olive);
  background: rgba(114, 120, 90, 0.12);
  border: 0;
  border-radius: 980px;
  font-size: 0.78rem;
  font-weight: 600;
  transition: background 160ms ease;
}

.admin-dashboard .icon-button:hover {
  background: rgba(114, 120, 90, 0.2);
}

/* ---- Stat tiles ---- */
.admin-stat-grid {
  gap: 12px;
}

.admin-stat-grid article {
  min-height: 104px;
  padding: 18px;
  background: #f5f5f7;
  border: 0;
  border-radius: 14px;
  transition: background 160ms ease;
}

.admin-stat-grid article:hover {
  background: #efeff1;
}

.admin-stat-grid span {
  color: #6e6e73;
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.3;
}

.admin-stat-grid strong {
  margin-top: 12px;
  color: #1d1d1f;
  font-family: inherit;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.admin-analytics-note {
  color: #86868b;
  font-size: 0.84rem;
}

/* ---- Quick actions ---- */
.admin-quick-actions {
  gap: 10px;
  margin-top: 22px;
}

.admin-quick-actions button {
  min-height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 980px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 160ms ease, transform 120ms ease, opacity 160ms ease;
}

.admin-quick-actions button[data-open-editor] {
  color: #fff;
  background: var(--color-olive);
  box-shadow: 0 6px 16px rgba(104, 112, 82, 0.28);
}

.admin-quick-actions button[data-open-editor]:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

.admin-quick-actions button.secondary {
  color: #1d1d1f;
  background: rgba(0, 0, 0, 0.05);
}

.admin-quick-actions button span,
.admin-section-title h2 span {
  min-width: 20px;
  height: 20px;
  margin-left: 8px;
  color: #fff;
  background: var(--color-olive);
  font-size: 0.72rem;
  font-weight: 600;
}

/* ---- Editor (green) feature card ---- */
.admin-editor-card {
  background: linear-gradient(165deg, #7b8364 0%, #5f654d 100%);
  border: 0;
  border-radius: 20px;
  box-shadow: 0 14px 44px rgba(95, 101, 77, 0.32);
}

.admin-editor-card .admin-kicker {
  color: rgba(255, 255, 255, 0.72) !important;
}

.admin-editor-card h2 {
  color: #fff;
}

.admin-editor-card p,
.admin-editor-card li {
  color: rgba(255, 255, 255, 0.84);
}

.admin-editor-card li::before {
  color: rgba(255, 255, 255, 0.6);
}

.admin-editor-card button {
  min-height: 44px;
  border-radius: 980px;
  color: #2c2f25;
  background: #fff;
  font-weight: 600;
  transition: transform 120ms ease, opacity 160ms ease;
}

.admin-editor-card button:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

/* ---- Inbox items ---- */
.admin-inquiry {
  padding: 18px;
  background: #f5f5f7;
  border: 0;
  border-radius: 14px;
}

.admin-inquiry.is-new {
  background: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(114, 120, 90, 0.3);
}

.admin-inquiry-meta strong {
  display: flex;
  align-items: center;
  color: #1d1d1f;
  font-weight: 600;
}

.admin-inquiry.is-new .admin-inquiry-meta strong::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 8px;
  background: var(--color-olive);
  border-radius: 50%;
}

.admin-inquiry-meta span {
  color: #86868b;
}

.admin-inquiry p {
  color: #3a3a3c;
}

.admin-inquiry-actions a,
.admin-inquiry-actions button {
  min-height: 32px;
  padding: 0 14px;
  color: #1d1d1f;
  background: rgba(0, 0, 0, 0.05);
  border: 0;
  border-radius: 980px;
  font-weight: 500;
  transition: background 160ms ease;
}

.admin-inquiry-actions a:hover,
.admin-inquiry-actions button:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.09);
}

.admin-inbox-empty {
  color: #86868b;
  background: #f5f5f7;
  border: 0;
  border-radius: 14px;
}

/* ---- Editor toolbar: translucent system bar ---- */
.admin-toolbar {
  min-height: 60px;
  gap: 10px;
  padding: 10px clamp(14px, 3vw, 26px);
  color: #1d1d1f;
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: none;
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}

.admin-toolbar strong {
  min-height: 38px;
  color: #1d1d1f;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  font-weight: 600;
}

.admin-toolbar p {
  color: #6e6e73;
}

.admin-control {
  color: #1d1d1f;
  background: rgba(0, 0, 0, 0.05);
  border: 0;
  border-radius: 9px;
}

.admin-control select {
  color: #1d1d1f;
  background: #fff;
  border-radius: 7px;
}

.admin-control input[type="color"] {
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.admin-toolbar button {
  min-height: 36px;
  padding: 0 15px;
  color: #1d1d1f;
  background: rgba(0, 0, 0, 0.06);
  border: 0;
  border-radius: 980px;
  font-weight: 500;
}

.admin-toolbar button.secondary {
  color: #1d1d1f;
  background: rgba(0, 0, 0, 0.06);
}

.admin-toolbar button[data-admin-save] {
  color: #fff;
  background: var(--color-olive);
}

.admin-status {
  color: #86868b;
}

body.admin-active .site-header {
  top: 60px;
}

/* ---- Login: frosted Apple-style sheet ---- */
.admin-login {
  padding: 24px;
  background: rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.admin-login form {
  width: min(400px, 100%);
  padding: 34px 32px;
  text-align: center;
  color: #1d1d1f;
  background: rgba(255, 255, 255, 0.86);
  border: 0;
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
  -webkit-backdrop-filter: saturate(180%) blur(30px);
  backdrop-filter: saturate(180%) blur(30px);
}

.admin-login h2 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.012em;
}

.admin-login p {
  margin: 8px 0 22px;
  color: #6e6e73;
}

.admin-login label {
  text-align: left;
  color: #1d1d1f;
  font-weight: 500;
}

.admin-login input {
  color: #1d1d1f;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 12px;
}

.admin-login input:focus {
  border-color: var(--color-olive);
  box-shadow: 0 0 0 4px rgba(114, 120, 90, 0.16);
}

.admin-login-actions {
  gap: 10px;
  margin-top: 22px;
}

.admin-login button {
  flex: 1;
  min-height: 44px;
  border: 0;
  border-radius: 980px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: transform 120ms ease, opacity 160ms ease, background 160ms ease;
}

.admin-login button[type="submit"] {
  color: #fff;
  background: var(--color-olive);
  box-shadow: 0 8px 20px rgba(104, 112, 82, 0.3);
}

.admin-login button[type="submit"]:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

.admin-login button.secondary {
  color: #1d1d1f;
  background: rgba(0, 0, 0, 0.06);
}

/* ---- Image upload controls: cleaner pills in editor mode ---- */
.admin-image-button {
  border-radius: 980px;
  font-weight: 500;
}

@media (max-width: 760px) {
  .admin-dashboard-layout {
    grid-template-columns: 1fr;
  }

  body.admin-active .site-header {
    top: 112px;
  }
}
