*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green-dark: #1a3c30;
  --green-mid:  #2a5c46;
  --green-light:#3d7a5e;
  --accent:     #4caf82;
  --bg:         #f4f6f4;
  --white:      #ffffff;
  --text:       #222;
  --muted:      #666;
  --border:     #dde6e0;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ── Hero ─────────────────────────────────── */

.hero {
  position: relative;
  color: var(--white);
  padding: clamp(3rem, 10vw, 6rem) 1.5rem;
  text-align: center;
  background:
    linear-gradient(160deg, rgba(20,50,38,0.9) 0%, rgba(35,75,55,0.78) 50%, rgba(20,50,38,0.88) 100%),
    url('https://images.unsplash.com/photo-1527515637462-cff94aca426f?auto=format&fit=crop&w=1600&q=80')
    center / cover no-repeat;
}

.hero-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.6rem, 2vw, 1rem);
}

.logo-mark {
  width: clamp(72px, 12vw, 90px);
  height: clamp(72px, 12vw, 90px);
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.35);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  margin-bottom: 0.25rem;
  background: var(--white);
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero h1 {
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
}

.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-claim {
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  color: rgba(255,255,255,0.85);
  max-width: 420px;
  line-height: 1.6;
}

.cta-phone {
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--green-dark);
  text-decoration: none;
  font-size: clamp(1rem, 3vw, 1.2rem);
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  white-space: nowrap;
}

.cta-phone:hover {
  background: var(--accent);
  color: var(--white);
}

/* ── Shared ───────────────────────────────── */

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 1.5rem);
}

/* ── About ────────────────────────────────── */

.about {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: clamp(3rem, 8vw, 5rem) 1.5rem;
}

.about-inner {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.about-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-mid);
  background: #eaf4ee;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  width: fit-content;
}

.about h2 {
  font-size: clamp(1.3rem, 4vw, 1.7rem);
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.3;
}

.about p {
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  color: var(--muted);
  line-height: 1.75;
}

/* ── Services ─────────────────────────────── */

.services {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.services h2 {
  text-align: center;
  font-size: clamp(1.2rem, 4vw, 1.6rem);
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 3vw, 1.5rem);
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: clamp(1.2rem, 4vw, 2rem) clamp(1rem, 3vw, 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-icon {
  width: 48px;
  height: 48px;
  background: #eaf4ee;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-mid);
  flex-shrink: 0;
}

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

.card h3 {
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  font-weight: 700;
  color: var(--green-dark);
}

.card p {
  font-size: clamp(0.82rem, 2vw, 0.9rem);
  color: var(--muted);
  line-height: 1.6;
}

/* ── Gallery ──────────────────────────────── */

.gallery {
  padding: 0;
  line-height: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: clamp(200px, 30vw, 340px);
}

.gallery-item {
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.92) saturate(0.9);
}

/* ── Contact ──────────────────────────────── */

.contact {
  background: var(--green-dark);
  color: var(--white);
  padding: clamp(3rem, 8vw, 5rem) 1.5rem;
}

.contact-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.contact h2 {
  font-size: clamp(1.1rem, 4vw, 1.6rem);
  font-weight: 700;
}

.contact-desc {
  color: rgba(255,255,255,0.7);
  font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  max-width: 460px;
}

.contact-items {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--white);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.8rem 1.6rem;
  border-radius: 50px;
  font-size: clamp(0.88rem, 2.5vw, 1rem);
  font-weight: 600;
  white-space: nowrap;
}

.contact-item:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* ── Contact form ─────────────────────────── */

.contact-form {
  margin-top: 2rem;
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.55);
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  color: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
  width: 100%;
  resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.12);
}

.form-submit {
  align-self: flex-start;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 0.8rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-submit:hover:not(:disabled) {
  background: #3d9e6f;
}

.form-status {
  font-size: 0.88rem;
  min-height: 1.2em;
}

.status-ok    { color: var(--accent); }
.status-error { color: #f08080; }

@media (max-width: 500px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .form-submit {
    width: 100%;
    text-align: center;
  }
}

/* ── Footer ───────────────────────────────── */

footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* ── Responsive: tablet ───────────────────── */

@media (max-width: 640px) {
  .cards {
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    height: auto;
  }

  .gallery-item {
    height: 200px;
  }

  .contact-items {
    flex-direction: column;
    align-items: center;
  }
}

/* ── Responsive: mobile ───────────────────── */

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

  .cta-phone {
    width: 100%;
    justify-content: center;
  }
}
