:root {
  color-scheme: light;
  --bg: #e6f2ea;
  --text: #123d34;
  --muted: #2e5e52;
  --accent: #69bf4b;
  --accent-dark: #1f8a71;
  --panel: rgba(255, 255, 255, 0.92);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

.hero {
  min-height: 72vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-image: url("hero-background.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: white;
}

.hero-overlay {
  display: none;
}

.hero-content,
.section,
footer {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 2rem 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: 180px;
  margin: 0 auto 1.5rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  letter-spacing: 0.08em;
  white-space: nowrap;
  width: fit-content;
  text-align: center;
  text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.9);
}

.hero h2 {
  margin: 0.6rem 0 1rem;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  font-weight: 600;
  color: #ffffff;
}

.hero p {
  margin: 0 auto;
  max-width: 700px;
  font-size: 1.04rem;
  color: rgba(255, 255, 255, 0.95);
}

.section {
  padding: 5rem 5vw;
}

.section-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  letter-spacing: 0.08em;
  color: var(--accent-dark);
}

.expectations {
  background: #e6f2ea;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1120px;
  margin: 0 auto;
}

.card {
  background: var(--panel);
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid rgba(31, 138, 113, 0.18);
  box-shadow: 0 12px 32px rgba(9, 66, 47, 0.08);
}

.card h3 {
  margin-top: 0;
  font-size: 1.15rem;
  letter-spacing: 0.09em;
  color: var(--accent-dark);
}

.about {
  background: #d9edde;
}

.about p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--muted);
}

.contact {
  background: #cfe6d6;
}

.contact-card {
  max-width: 760px;
  margin: 0 auto;
  background: #f7fcf8;
  border-radius: 20px;
  border: 1px solid rgba(31, 138, 113, 0.2);
  padding: 2.25rem;
  box-shadow: 0 14px 32px rgba(9, 66, 47, 0.1);
}

.contact-card > p {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

form {
  display: grid;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--text);
}

input,
textarea,
button {
  font: inherit;
}

input,
textarea {
  border: 1px solid #9ecab6;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  background: #f2faf5;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(31, 138, 113, 0.25);
  border-color: var(--accent);
}

button {
  width: fit-content;
  border: 0;
  background: var(--accent);
  color: white;
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

button:hover {
  background: #167a63;
}

.form-feedback {
  min-height: 1.2rem;
  margin: 0;
  color: var(--accent-dark);
  font-weight: 700;
}

.bot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.robot-check {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
  font-weight: 600;
  background: #fff;
  border: 1px solid #b8c8c0;
  border-radius: 6px;
  padding: 0.7rem 0.9rem;
}

.robot-check input[type='checkbox'] {
  width: 1.2rem;
  height: 1.2rem;
  margin: 0;
  accent-color: #2d7a67;
}

footer {
  text-align: center;
  padding: 1.5rem 5vw 2.5rem;
  color: var(--muted);
}

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

@media (max-width: 640px) {
  .hero {
    min-height: 64vh;
  }

  .hero h1 {
    font-size: clamp(1.35rem, 7.2vw, 2rem);
    letter-spacing: 0.05em;
  }

  .hero-content {
    padding-top: 2rem;
  }

  .contact-card {
    padding: 1.5rem;
  }
}
