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

:root {
  --green-dark: #b71c1c;
  --green-main: #c62828;
  --green-mid: #d32f2f;
  --green-light: #e53935;
  --green-pale: #ef9a9a;
  --green-bg: #ffebee;
  --white: #ffffff;
  --text: #1b1b1b;
  --text-light: #fce4ec;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--green-bg);
  line-height: 1.6;
}

/* ── Navigation ── */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-dark);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .3);
}

nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1.5rem;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green-pale);
  letter-spacing: 1px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.8rem;
}

nav a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  transition: color .25s;
}

nav a:hover {
  color: var(--green-pale);
}

/* ── Hero ── */

.hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green-light));
  color: var(--white);
  text-align: center;
  padding: 6rem 1.5rem;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: .6rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: .9;
}

.btn {
  display: inline-block;
  padding: .75rem 2rem;
  background: var(--white);
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: background .25s, transform .15s;
}

.btn:hover {
  background: var(--green-pale);
  transform: translateY(-2px);
}

/* ── Sections ── */

section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

section h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--green-dark);
  margin-bottom: 2.5rem;
  position: relative;
}

section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--green-light);
  margin: .5rem auto 0;
  border-radius: 2px;
}

/* ── Cards ── */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

.card {
  background: var(--white);
  border-left: 4px solid var(--green-light);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  transition: transform .2s, box-shadow .2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
}

.card .icon {
  font-size: 2.2rem;
  margin-bottom: .5rem;
  color: var(--green-main);
}

.card h3 {
  color: var(--green-main);
  margin-bottom: .5rem;
}

/* ── About ── */

.about > p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  color: #444;
}

/* ── Contact ── */

.contact form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact input,
.contact textarea {
  padding: .8rem 1rem;
  border: 2px solid var(--green-pale);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color .2s;
  background: var(--white);
}

.contact input:focus,
.contact textarea:focus {
  outline: none;
  border-color: var(--green-main);
}

.contact .btn {
  align-self: flex-start;
  background: var(--green-main);
  color: var(--white);
}

.contact .btn:hover {
  background: var(--green-dark);
}

/* ── Footer ── */

footer {
  background: var(--green-dark);
  color: var(--green-pale);
  text-align: center;
  padding: 1.5rem;
  font-size: .9rem;
}

/* ── Responsive ── */

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }

  nav ul {
    gap: 1rem;
    font-size: .9rem;
  }
}
