.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: var(--btn-height);
  min-height: var(--btn-height);
  padding: 0 var(--btn-pad-x);
  border-radius: var(--btn-radius);
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--btn-font-size);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  transition: background var(--ease), color var(--ease), border-color var(--ease),
    transform var(--ease), box-shadow var(--ease);
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--cta);
  color: #fff;
  box-shadow: 0 4px 14px rgba(42, 102, 97, 0.18);
}

.btn--primary:hover {
  background: var(--cta-hover);
  color: #fff;
  box-shadow: 0 6px 16px rgba(42, 102, 97, 0.22);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}

.btn--outline:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

.btn--block {
  width: 100%;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  color: var(--ink);
}

.form-field,
.form-textarea,
.form-select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  color: var(--ink);
  transition: border-color var(--ease), box-shadow var(--ease);
}

.form-field:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(47, 111, 106, 0.15);
  outline: none;
}

.form-select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-muted) 50%),
    linear-gradient(135deg, var(--ink-muted) 50%, transparent 50%);
  background-position:
    calc(0.9rem) calc(50% - 0.15rem),
    calc(0.55rem) calc(50% - 0.15rem);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-inline-start: 1.8rem;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-checkbox {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--brand);
}

.consent-row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.consent-row label {
  margin: 0;
  font-weight: 400;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.errorlist {
  color: var(--danger);
  font-size: 0.875rem;
  margin: 0.35rem 0 0;
}

.messages {
  margin-bottom: 1.25rem;
}

.message {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: var(--brand-soft);
  color: var(--ink);
}

.services-band {
  background:
    radial-gradient(circle at 8% 0%, rgba(184, 149, 106, 0.1), transparent 36%),
    var(--bg-soft);
}

.services-band__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: 2rem;
}

.services-band__head .section-title {
  margin-bottom: 0.5rem;
}

.services-band__head .section-lead {
  margin-bottom: 0;
}

.services-band__link {
  flex-shrink: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.95rem;
}

.services-grid--page {
  grid-template-columns: repeat(3, 1fr);
}

.service-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(215, 224, 221, 0.95);
  border-radius: 16px;
  color: inherit;
  min-height: 100%;
  transition:
    border-color var(--ease),
    background var(--ease),
    transform var(--ease),
    box-shadow var(--ease);
}

.service-tile:hover {
  background: #fff;
  border-color: rgba(42, 102, 97, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(21, 40, 38, 0.08);
  color: inherit;
}

.service-tile__media {
  position: relative;
  aspect-ratio: 4 / 2.7;
  overflow: hidden;
  background: linear-gradient(135deg, #d7e0dd, #eef3f1);
}

.service-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform 0.55s ease;
}

.service-tile:hover .service-tile__media img {
  transform: scale(1.06);
}

.service-tile__content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 0.85rem 0.9rem;
  padding: 1.15rem 1.15rem 1.2rem;
}

.service-tile__index {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.4;
  padding-top: 0.15rem;
}

.service-tile__title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.4rem;
  line-height: 1.35;
}

.service-tile:hover .service-tile__title {
  color: var(--brand);
}

.service-tile__summary {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--ink-muted);
}

.service-tile__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--brand);
  background: rgba(42, 102, 97, 0.08);
  transition: background var(--ease), transform var(--ease);
  margin-top: 0.1rem;
}

.service-tile:hover .service-tile__arrow {
  background: var(--brand);
  color: #fff;
  transform: translateX(-2px);
}

.services-hero {
  padding: calc(var(--header-h) + 3rem) 0 1.5rem;
  background:
    radial-gradient(circle at 85% 12%, rgba(42, 102, 97, 0.08), transparent 42%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
}

.services-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  margin: 0 0 0.65rem;
  color: var(--ink);
}

.services-page {
  padding-top: 1.25rem;
}

@media (max-width: 960px) {
  .services-grid--page {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .services-band__head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  .services-grid,
  .services-grid--page {
    grid-template-columns: 1fr;
  }

  .service-tile__content {
    padding: 1.05rem 1rem 1.1rem;
    gap: 0.7rem;
  }

  .service-tile__summary {
    font-size: 0.86rem;
    line-height: 1.7;
  }
}

@media (max-width: 420px) {
  .service-tile__content {
    grid-template-columns: auto 1fr;
  }

  .service-tile__arrow {
    display: none;
  }
}

/* legacy list styles kept for safety */
.service-list {
  border-top: 1px solid var(--line);
}

.service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  transition: color var(--ease), padding var(--ease);
}

.service-item:hover {
  color: var(--brand);
  padding-inline-start: 0.35rem;
}

.service-item__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.25rem;
}

.service-item:hover .service-item__title {
  color: var(--brand);
}

.service-item__summary {
  margin: 0;
  font-size: 0.95rem;
}

.service-item__arrow {
  color: var(--brand);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.quote {
  max-width: 42rem;
}

.quote__text {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.75;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.quote__meta {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.reviews-band {
  background:
    radial-gradient(circle at 90% 10%, rgba(42, 102, 97, 0.06), transparent 40%),
    var(--bg-soft);
}

.reviews-band__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-bottom: 2.25rem;
}

.reviews-band__head .section-title {
  margin-bottom: 0.5rem;
}

.reviews-band__head .section-lead {
  margin-bottom: 0;
}

.reviews-band__score {
  flex-shrink: 0;
  text-align: start;
  padding-bottom: 0.2rem;
}

.reviews-band__score strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1;
  color: var(--ink);
  font-weight: 700;
}

.reviews-band__score span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.review-tile {
  margin: 0;
  padding: 1.4rem 1.35rem 1.35rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(215, 224, 221, 0.9);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: border-color var(--ease), transform var(--ease), background var(--ease);
}

.review-tile:hover {
  border-color: rgba(42, 102, 97, 0.28);
  background: #fff;
  transform: translateY(-2px);
}

.review-tile__mark {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.review-tile__text {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.85;
  color: var(--ink);
  flex: 1;
}

.review-tile__meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.review-tile__author {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.review-tile__reason {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.reviews-band__cta {
  margin-top: 1.75rem;
}

@media (max-width: 960px) {
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .reviews-band__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .review-tile {
    padding: 1.25rem 1.15rem;
  }
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  justify-content: space-between;
  align-items: baseline;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.7vw, 2.2rem);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
}

.trust-item span {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}

.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--ink);
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: left;
  color: var(--brand);
  font-size: 1.25rem;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin-top: 0.85rem;
  max-width: 40rem;
}

.article-row {
  display: block;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.article-row__date {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 0.4rem;
}

.article-row__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  margin: 0 0 0.4rem;
  font-weight: 600;
}

.article-row:hover .article-row__title {
  color: var(--brand);
}

.mobile-dock {
  display: none;
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
  padding: 0.5rem 0.85rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
  gap: 0.5rem;
  box-shadow: 0 -8px 24px rgba(21, 40, 38, 0.06);
}

.mobile-dock .btn {
  flex: 1;
  min-height: 44px;
}

@media (max-width: 768px) {
  .mobile-dock {
    display: flex;
  }
}

@media (hover: none) {
  .btn:hover,
  .service-tile:hover,
  .review-tile:hover,
  .review-card:hover,
  .article-card:hover,
  .about-principle:hover,
  .media-frame:hover img,
  .about-closing__media:hover img {
    transform: none;
  }

  .service-tile:hover,
  .review-tile:hover,
  .review-card:hover,
  .article-card:hover,
  .about-principle:hover {
    box-shadow: none;
  }
}

@media (max-width: 700px) {
  .trust-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1rem;
  }

  .trust-item strong {
    font-size: clamp(1.45rem, 7vw, 1.85rem);
  }

  .trust-item span {
    font-size: 0.82rem;
    line-height: 1.45;
  }
}

@media (max-width: 480px) {
  .cta-band__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1.15rem;
  }

  .cta-band__inner .btn {
    width: 100%;
  }
}
