:root {
  --bg-main: #dfe6dd;
  --bg-deep: #18372d;
  --bg-accent: #f2eadf;
  --bg-card: #f7f3ea;
  --ink: #1f2a28;
  --muted: #5c645e;
  --line: rgba(25, 54, 41, 0.1);
  --primary: #265b45;
  --secondary: #3c7e65;
  --shadow: 0 16px 40px rgba(16, 37, 28, 0.08);
  --radius: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", "Noto Serif JP", system-ui, -apple-system, sans-serif;
  background: var(--bg-main);
  line-height: 1.7;
  letter-spacing: 0.01em;
}

h1,
h2,
h3 {
  font-family: "Noto Serif JP", "Noto Sans JP", serif;
  margin: 0 0 12px;
  line-height: 1.35;
}

p {
  margin: 0 0 12px;
  color: var(--muted);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 32px;
  background: rgba(223, 230, 221, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  margin-left: auto;
}

.nav a {
  padding: 8px 10px;
  border-radius: 8px;
  transition: background-color 0.2s ease, color 0.2s ease;
  letter-spacing: 0.08em;
}

.nav a:hover {
  background: rgba(38, 91, 69, 0.12);
  color: var(--primary);
}

.header-cta {
  padding: 8px 14px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 24px rgba(38, 91, 69, 0.22);
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(38, 91, 69, 0.28);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 12px;
  border: none;
  background: transparent;
  box-shadow: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--primary);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.hero {
  position: relative;
  padding: 140px 0 120px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.28)),
    url("/in.img/top.jpg") center/cover no-repeat;
  background-color: #dfe6dd;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 50%, rgba(46, 97, 75, 0.5), transparent 50%),
    radial-gradient(circle at 70% 20%, rgba(32, 68, 54, 0.4), transparent 55%),
    radial-gradient(circle at 80% 75%, rgba(28, 63, 49, 0.35), transparent 48%),
    linear-gradient(180deg, rgba(20, 44, 34, 0.12), rgba(20, 44, 34, 0.02));
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.75) 40%, rgba(0, 0, 0, 0));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 50% 100%, rgba(33, 75, 57, 0.3), rgba(223, 230, 221, 0.05));
  mix-blend-mode: multiply;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #1d4321;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(32, 68, 54, 0.15);
  background: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  margin-bottom: 12px;
  letter-spacing: 0.08em;
}

.hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 16px;
}

.hero-content p {
  color: #1f4a2a;
}
.hero-text {
  max-width: 640px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 24px 0 16px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: rgba(38, 91, 69, 0.4);
  color: #fff;
  box-shadow: 0 18px 36px rgba(38, 91, 69, 0.25);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(38, 91, 69, 0.32);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(38, 91, 69, 0.35);
  color: var(--primary);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.btn.large {
  padding: 14px 28px;
  font-size: 16px;
}

.banner-carousel {
  width: 100%;
  position: relative;
}

.banner-viewport {
  overflow: hidden;
  border-radius: 14px;
}

.banner-track {
  display: flex;
  width: 100%;
  transform: translateX(0%);
  transition: transform 280ms ease;
}

.section.banner-section {
  padding: 24px 0;
}

.banner-item {
  position: relative;
  display: block;
  flex: 0 0 100%;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(38, 91, 69, 0.18);
  box-shadow: 0 12px 28px rgba(16, 37, 28, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.banner-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(16, 37, 28, 0.14);
}

.banner-item.is-disabled {
  cursor: default;
  pointer-events: none;
  opacity: 0.85;
}

.banner-item {
  aspect-ratio: 5 / 2;
  height: auto;
  display: block;
  background: rgba(255, 255, 255, 0.85);
}

.banner-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
  display: block;
}

/* PCのみ左右ボタン */
.banner-nav {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(38, 91, 69, 0.22);
  background: rgba(255, 255, 255, 0.75);
  color: var(--primary);
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(16, 37, 28, 0.12);
  backdrop-filter: blur(6px);
}

.banner-nav:hover {
  background: rgba(255, 255, 255, 0.9);
}

.banner-nav:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.banner-nav.prev { left: 10px; }
.banner-nav.next { right: 10px; }

@media (min-width: 821px) {
  .banner-nav { display: inline-flex; align-items: center; justify-content: center; }
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  justify-content: center;
}

.hero-tags span {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(38, 91, 69, 0.12);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
}

.section {
  padding: 96px 0;
}

.section:nth-of-type(even) {
  background: #eef2ec;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin: 0 0 8px;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.about-single {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.about-lead {
  max-width: 760px;
}

.return-home {
  margin-top: 12px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
}

.breadcrumb-link:hover {
  color: var(--primary);
}

.breadcrumb-icon {
  font-size: 14px;
  line-height: 1;
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 600;
}

.breadcrumb-fixed {
  position: fixed;
  left: 12px;
  top: 68px;
  z-index: 30;
  padding: 8px 12px;
  border-radius: 12px;
  background: none;
  backdrop-filter: none;
  box-shadow: none;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.stats strong {
  display: block;
  font-size: 28px;
  color: var(--primary);
}

.stats span {
  color: var(--muted);
  font-size: 13px;
}

.about-card {
  background: #f5f0e6;
  border: 1px solid rgba(38, 91, 69, 0.12);
  box-shadow: var(--shadow);
  padding: 20px;
  border-radius: var(--radius);
}

.about-card h3 {
  margin: 0 0 12px;
}

.about-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.about-card li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  border-bottom: 1px dashed rgba(32, 68, 54, 0.2);
  padding-bottom: 8px;
}

.about-card li:last-child {
  border-bottom: none;
}

.about-card li span:first-child {
  color: var(--muted);
  min-width: 80px;
}

.services .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid rgba(38, 91, 69, 0.08);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 10px 28px rgba(16, 37, 28, 0.06);
  min-height: 200px;
}

.card h3 {
  margin-top: 8px;
}

.card p {
  font-size: 14px;
}

.icon-circle {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2d634b, #5d9077);
  color: #fff;
  border-radius: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  overflow: hidden;
}

.icon-circle.icon-img img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  display: block;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.news-header {
  gap: 14px;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  width: 100%;
}

.news-header > div {
  text-align: left;
}

.news-visual img {
  display: block;
  width: 120px;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.news-title {
  display: inline-block;
  position: relative;
  padding-bottom: 6px;
}

.news-title::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #1d4321 0%, #2f5a40 100%);
  border-radius: 999px;
}

.decor-hai {
  position: absolute;
  pointer-events: none;
  user-select: none;
  opacity: 0.75;
}

.decor-hero {
  right: -10px;
  bottom: 40px;
  width: 140px;
}

.services {
  position: relative;
}

.services .container {
  position: relative;
  z-index: 1;
}

.decor-services {
  right: -18px;
  top: 10px;
  width: 120px;
  opacity: 0.7;
}

.decor-footer {
  right: 24px;
  top: 18px;
  width: 110px;
  opacity: 0.65;
}

@media (max-width: 960px) {
  .decor-hero {
    width: 110px;
    right: -8px;
    bottom: 20px;
  }

  .decor-services {
    width: 90px;
    right: -10px;
    top: -10px;
  }

  .decor-footer {
    width: 90px;
    right: 14px;
  }
}

@media (max-width: 640px) {
  .decor-hero,
  .decor-services,
  .decor-footer {
    display: none;
  }
}

.link {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  width: 100%;
  justify-items: stretch;
}

.news {
  text-align: left;
}

.img-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.img-modal.open {
  display: flex;
}

.img-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.img-modal img {
  position: relative;
  max-width: min(90vw, 1080px);
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
  border: 4px solid #fff;
  z-index: 1;
}

.img-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.thumb-btn {
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  display: block;
  line-height: 0;
}
.news-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  background: #f7f1e7;
  border-radius: var(--radius);
  border: 1px solid rgba(38, 91, 69, 0.08);
  box-shadow: 0 8px 20px rgba(16, 37, 28, 0.06);
}

.news-thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 30%, #e6f0e7, #8da795 60%, #2b4b3a 90%);
  overflow: hidden;
  border: 1px solid rgba(38, 91, 69, 0.12);
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-b {
  background: radial-gradient(circle at 20% 20%, #f6eedc, #cdb89c 60%, #4d513d 90%);
}

.thumb-c {
  background: radial-gradient(circle at 70% 30%, #dce7dd, #95b19d 55%, #2f4b3a 90%);
}

.news-body {
  display: grid;
  gap: 4px;
}

.news-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.news-meta .date {
  color: var(--muted);
  font-size: 13px;
}

.news-meta .category {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(38, 91, 69, 0.16);
  color: var(--primary);
  font-size: 12px;
  justify-content: center;
}

.news-title {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.news-sub {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
  gap: 14px;
  margin-top: 20px;
  justify-content: center;
  justify-items: center;
}

.work-card {
  background: #f7f3ea;
  border-radius: var(--radius);
  border: 1px solid rgba(38, 91, 69, 0.08);
  box-shadow: 0 12px 28px rgba(16, 37, 28, 0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 280px;
}

.work-thumbs {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

.work-thumb {
  flex: 0 0 160px;
  width: 160px;
  height: 160px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.phone-thumb {
  flex: 0 0 84px;
  width: 84px;
  height: 140px;
}

.gradient-a {
  background: radial-gradient(circle at 30% 30%, #94b49f, #32614a 55%, #234434 85%);
}

.gradient-b {
  background: radial-gradient(circle at 70% 20%, #f2eadf, #406b52 60%, #264637 88%);
}

.gradient-c {
  background: radial-gradient(circle at 40% 40%, #d7e5da, #3a7053 55%, #1f3c2f 90%);
}

.gradient-d {
  background: radial-gradient(circle at 60% 30%, #e8e1d6, #3e6f56 60%, #1c3b2e 90%);
}

.work-card h3 {
  margin: 12px 10px 6px;
  text-align: center;
}

.work-card p {
  margin: 0 10px 14px;
  text-align: center;
}

@media (max-width: 640px) {
  /* スマホではトップの制作実績を1件だけ表示 */
  #worksGrid .work-card:nth-child(n + 2) {
    display: none;
  }

  .work-thumbs {
    flex-direction: column;
  }

  .phone-thumb {
    width: 120px;
    height: 120px;
  }
}

.works-cta {
  margin-top: 16px;
  text-align: center;
}

.cta {
  background: linear-gradient(135deg, #1f3b2f, #2e6c52);
  color: #fff;
  position: relative;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08), transparent 45%);
  pointer-events: none;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
}

.cta p {
  color: rgba(255, 255, 255, 0.92);
}

.cta h2 {
  color: #fff;
}

.cta .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.footer {
  background: var(--bg-deep);
  color: #dfe9dc;
  padding-top: 32px;
  position: relative;
}

.footer .container {
  width: 100%;
  padding: 0 20px;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  align-items: start;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  grid-auto-flow: row;
  gap: 8px 12px;
}

.footer-links a {
  color: #cfd9d0;
}

.footer-meta {
  display: grid;
  gap: 6px;
  color: #c0c8c1;
  font-size: 14px;
}

.footer-bottom {
  margin-top: 16px;
  padding: 12px 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #aab5ad;
  font-size: 13px;
}

.floating-line {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #06c755;
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 14px 32px rgba(6, 199, 85, 0.35);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-line:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(6, 199, 85, 0.42);
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: rgba(223, 230, 221, 0.95);
    backdrop-filter: blur(8px);
  }

  /* スマホ・小型端末では右下に固定（幅を広げすぎない） */
  .floating-line {
    display: inline-flex !important;
    position: fixed;
    right: 14px;
    bottom: 18px;
    left: auto;
    width: auto;
    max-width: 240px;
    justify-content: center;
    padding: 12px 18px;
    font-size: 14px;
    box-shadow: 0 12px 24px rgba(6, 199, 85, 0.28);
  }

  /* ハンバーガー表示 */
  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 18px 36px rgba(16, 37, 28, 0.16);
    z-index: 25;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    width: 100%;
    padding: 10px 8px;
    border: none;
    background: transparent;
    border-radius: 0;
    text-align: left;
  }

  /* ヘッダーのLINEボタンは非表示 */
  .header-cta {
    display: none !important;
  }

  /* フッターを2列グリッドに再構成 */
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
    align-items: start;
  }

  /* ブランドブロックは1列で全幅 */
  .footer-inner > div:first-child {
    grid-column: 1 / -1;
  }

  /* 住所ブロックも1列で全幅 */
  .footer-meta {
    grid-column: 1 / -1;
  }

  .footer-links,
  .footer-meta {
    margin-top: 4px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }
}

.flow-steps {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.flow-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: #f7f1e7;
  border-radius: var(--radius);
  border: 1px solid rgba(38, 91, 69, 0.08);
  position: relative;
  box-shadow: 0 10px 24px rgba(16, 37, 28, 0.06);
}

.flow-badge {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2d634b, #5d9077);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(16, 37, 28, 0.12);
}

.flow-body h3 {
  margin: 2px 0 8px;
  font-size: 18px;
}

.flow-body p {
  margin: 0;
}

/* ステップ間の矢印（菱形） */
.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 18px;
  height: 18px;
  transform: translateX(-50%) rotate(45deg);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 4px;
  box-shadow: 0 10px 18px rgba(16, 37, 28, 0.14);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.pricing-card {
  background: #f7f3ea;
  border-radius: var(--radius);
  border: 1px solid rgba(38, 91, 69, 0.08);
  padding: 20px;
  box-shadow: 0 12px 28px rgba(16, 37, 28, 0.07);
}

.pricing-card.featured {
  border-color: rgba(38, 91, 69, 0.35);
  box-shadow: 0 16px 36px rgba(16, 37, 28, 0.12);
}

.plan-name {
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.08em;
}

.plan-price {
  font-size: 22px;
  font-weight: 700;
  margin: 4px 0 8px;
}

.plan-desc {
  margin: 0 0 10px;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
}

.pricing-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

/* Pricing page (list style) */
.pricing-list {
  display: grid;
  gap: 18px;
}

.pricing-block {
  border: 1px solid rgba(38, 91, 69, 0.12);
  background: #faf7f1;
  box-shadow: 0 10px 28px rgba(16, 37, 28, 0.06);
}

.pricing-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, #c59d2c, #e0c16b);
  color: #fff;
  padding: 12px 14px;
  font-weight: 700;
}

.pricing-head h2 {
  margin: 0;
  font-size: 16px;
}

.pricing-head-note {
  font-size: 12px;
  opacity: 0.9;
}

.pricing-table {
  display: grid;
  border-top: 1px solid rgba(38, 91, 69, 0.08);
}

.pricing-row {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-top: 1px solid rgba(38, 91, 69, 0.08);
}

.pricing-row:first-child {
  border-top: none;
}

.news-cta {
  margin-top: 12px;
  text-align: center;
  padding-left: 120px;
}

.item-name {
  font-weight: 700;
  color: #1d4321;
}

.item-desc {
  color: var(--muted);
  font-size: 14px;
}

.item-price {
  text-align: right;
}

.price-chip {
  display: inline;
  padding: 0;
  background: none;
  color: var(--primary);
  border-radius: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: none;
  white-space: nowrap;
}

/* Pricing page (table style) */
.pricing-table-section {
  background: #6f8a75;
}

.pricing-list {
  display: grid;
  gap: 18px;
}

.pricing-block {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fffdf8;
  box-shadow: 0 12px 28px rgba(16, 37, 28, 0.08);
}

.pricing-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 10px 12px;
  font-weight: 700;
}

.pricing-head h2 {
  margin: 0;
  font-size: 15px;
}

.pricing-head-note {
  font-size: 12px;
  opacity: 0.9;
}

.pricing-table {
  display: grid;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.pricing-row {
  display: grid;
  grid-template-columns: 0.9fr 2fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 14px;
}

.pricing-row:first-child {
  border-top: none;
}

.item-name {
  font-weight: 700;
  color: #1d4321;
}

.item-desc {
  color: #2f403a;
}

.item-price {
  text-align: right;
}

@media (max-width: 960px) {
  .site-header {
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .news-list li {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .pricing-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .item-price {
    text-align: left;
  }

  .pricing-row {
    grid-template-columns: 1fr;
  }

  .pricing-list {
    gap: 14px;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
  }

  .hero {
    padding: 96px 0 80px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-tags {
    gap: 6px;
  }

  .btn,
  .header-cta {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: 72px 0;
  }
}

/* Document pages (Privacy Policy etc.) */
.doc-wrap {
  width: min(980px, 92%);
  margin: 0 auto;
}

.doc {
  background: #fffdf8;
  border: 1px solid rgba(38, 91, 69, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}

.doc h2 {
  margin: 18px 0 10px;
  font-size: 18px;
  color: var(--ink);
}

.doc h2:first-of-type {
  margin-top: 0;
}

.doc p {
  color: var(--muted);
}

.doc ul,
.doc ol {
  margin: 8px 0 14px 1.2em;
  padding: 0;
  color: var(--muted);
}

.doc li {
  margin: 6px 0;
}

.doc a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
