/* Inner heroes */
.inner-hero {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  padding: 168px 0 92px;
}

.inner-hero.compact {
  min-height: 420px;
  padding-bottom: 76px;
}

.inner-hero .container { position: relative; z-index: 1; }

.inner-hero h1 {
  max-width: 900px;
  margin: 0 0 24px;
  font-size: clamp(50px, 5.3vw, 72px);
  line-height: 1.01;
  letter-spacing: -0.055em;
}

.inner-hero .narrow > p:last-child {
  max-width: 760px;
  margin: 0;
  color: #5d7264;
  font-size: 18px;
  line-height: 1.7;
}

.legal-hero { min-height: 390px; }

/* About */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 24px;
  align-items: start;
}

.content-card {
  padding: 44px;
  border-radius: 28px;
}

.content-card h2 {
  margin-bottom: 20px;
  font-size: 44px;
  line-height: 1.06;
}

.content-card > p:not(.eyebrow) {
  margin: 0 0 15px;
  color: #607568;
  font-size: 15px;
  line-height: 1.72;
}

.content-card > p:last-child { margin-bottom: 0; }

.value-stack {
  display: grid;
  gap: 14px;
}

.value-stack article {
  padding: 26px 28px;
  border-radius: 22px;
}

.value-stack article > span {
  color: #43805d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.value-stack h3 {
  margin: 13px 0 7px;
  font-size: 21px;
  line-height: 1.2;
}

.value-stack p {
  margin: 0;
  color: #65796b;
  font-size: 14px;
  line-height: 1.62;
}

.soft-section {
  background: linear-gradient(180deg, rgba(237, 247, 238, 0.76), rgba(248, 252, 248, 0.84));
}

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

.process-grid article {
  padding: 27px 26px;
  border: 1px solid rgba(36, 91, 56, 0.12);
  border-radius: 22px;
  background: rgba(250, 253, 250, 0.78);
  box-shadow: var(--shadow-soft);
}

.process-grid article > span {
  color: #40805b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.process-grid h3 {
  margin: 25px 0 8px;
  font-size: 21px;
  line-height: 1.2;
}

.process-grid p {
  margin: 0;
  color: #63786a;
  font-size: 14px;
  line-height: 1.62;
}

/* Services */
.services-detail .container {
  display: grid;
  gap: 20px;
}

.service-detail {
  scroll-margin-top: calc(var(--header-h) + 28px);
  display: grid;
  grid-template-columns: 72px minmax(270px, 0.9fr) 1fr;
  gap: 34px;
  align-items: start;
  padding: 42px;
  border-radius: 28px;
}

.detail-number {
  padding-top: 5px;
  color: #3d7956;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.service-detail h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.service-detail > div:last-child > p {
  margin: 0 0 16px;
  color: #5f7466;
  font-size: 15px;
  line-height: 1.7;
}

.clean-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding-left: 24px;
  color: #496352;
  font-size: 14px;
  line-height: 1.55;
}

.clean-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #2d7c4f;
  font-weight: 900;
}

.note-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 68px;
  align-items: center;
  padding: 44px 46px;
  border-radius: 28px;
}

.note-panel h2 {
  font-size: 36px;
  line-height: 1.1;
}

.note-panel > p {
  margin: 0;
  color: #5f7466;
  font-size: 14px;
  line-height: 1.7;
}

/* Contact */
.contact-section {
  background: linear-gradient(180deg, rgba(249, 252, 249, 0.72), rgba(237, 247, 238, 0.84));
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1.18fr);
  gap: 62px;
  align-items: start;
}

.contact-info { padding-top: 14px; }

.contact-info h2 {
  font-size: 46px;
  line-height: 1.06;
}

.contact-info > p:not(.eyebrow) {
  max-width: 460px;
  margin: 20px 0 29px;
  color: #5e7465;
  font-size: 16px;
  line-height: 1.7;
}

.contact-method {
  display: flex;
  flex-direction: column;
  margin-top: 13px;
  padding: 22px 24px;
  border-radius: 19px;
}

.contact-method span {
  color: #678071;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.contact-method a,
.contact-method strong {
  margin-top: 5px;
  font-size: 15px;
}

.contact-method a {
  color: #175f39;
  font-weight: 760;
}

.contact-form-card {
  padding: 36px;
  border-radius: 30px;
}

.form-heading {
  margin-bottom: 24px;
  padding-bottom: 23px;
  border-bottom: 1px solid rgba(32, 88, 52, 0.1);
}

.form-heading h2 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.form-heading > p:last-child {
  margin: 0;
  color: #718477;
  font-size: 13px;
}

.contact-form-card form {
  display: grid;
  gap: 19px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form-card label {
  display: grid;
  gap: 8px;
}

.contact-form-card label > span {
  color: #385442;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
}

.contact-form-card label > span b { color: #237047; }

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
  width: 100%;
  border: 1px solid rgba(38, 89, 55, 0.18);
  border-radius: 14px;
  outline: none;
  background: rgba(255, 255, 255, 0.92);
  color: #183c29;
  font-size: 16px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.contact-form-card input,
.contact-form-card select {
  height: 52px;
  padding: 0 14px;
}

.contact-form-card textarea {
  min-height: 150px;
  padding: 13px 14px;
  resize: vertical;
  line-height: 1.55;
}

.contact-form-card input:hover,
.contact-form-card select:hover,
.contact-form-card textarea:hover {
  border-color: rgba(32, 89, 52, 0.28);
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  border-color: #2d7b50;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(45, 123, 80, 0.11);
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder { color: #8b9b91; }

.field-help {
  display: block;
  margin-top: 1px;
  color: #718477;
  font-size: 12px;
  line-height: 1.55;
}

.consent {
  grid-template-columns: 24px 1fr !important;
  gap: 11px !important;
  align-items: start;
}

.consent input {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: #1e6e44;
}

.consent span {
  color: #607467 !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  font-weight: 500 !important;
}

.submit-button {
  min-width: 174px;
  justify-self: start;
}

.submit-button:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.button-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.38);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.form-alert {
  margin-bottom: 22px;
  padding: 15px 17px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 650;
}

.form-alert.success {
  border: 1px solid rgba(37, 117, 68, 0.18);
  background: #e0f3e5;
  color: #216a40;
}

.form-alert.error {
  border: 1px solid rgba(155, 62, 45, 0.14);
  background: #fff1ed;
  color: #8d392a;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Legal */
.legal-section {
  background: linear-gradient(180deg, #fbfdfb, #f3f9f4);
}

.legal-copy {
  max-width: 920px;
  padding: 50px 54px;
  border-radius: 30px;
}

.legal-copy h2 {
  margin: 34px 0 10px;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.legal-copy h2:first-child { margin-top: 0; }

.legal-copy p,
.legal-copy li {
  color: #586f60;
  font-size: 15px;
  line-height: 1.75;
}

.legal-copy p { margin: 0; }

.legal-copy a {
  color: #17623b;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Footer */
.site-footer {
  padding: 92px 0 28px;
  border-top: 1px solid rgba(38, 83, 53, 0.08);
  background: #f5faf5;
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 72px;
  padding: 40px 42px;
  border-radius: 30px;
}

.footer-cta h2 {
  font-size: 34px;
  line-height: 1.1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.65fr 0.75fr 1.05fr 0.72fr;
  gap: 54px;
  padding-bottom: 56px;
}

.footer-brand-col > p {
  max-width: 390px;
  margin: 21px 0 16px;
  color: #627669;
  font-size: 14px;
  line-height: 1.65;
}

.footer-phone {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #1b603b;
  font-size: 14px;
  font-weight: 740;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-links h3 {
  margin: 5px 0 12px;
  color: #314d3b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links a {
  min-height: 34px;
  display: flex;
  align-items: center;
  color: #64786b;
  font-size: 13px;
  line-height: 1.4;
}

.footer-links a:hover { color: #225f3d; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(37, 78, 51, 0.09);
  color: #75877b;
  font-size: 12px;
}
