﻿:root {
  --bg: #f8f4ec;
  --bg-soft: #efe5d6;
  --text: #1f2a22;
  --text-soft: #4a5a50;
  --primary: #1f7a5b;
  --primary-dark: #145640;
  --accent: #ef8f35;
  --white: #ffffff;
  --radius: 20px;
  --shadow: 0 14px 34px rgba(20, 40, 30, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 15% 10%, #fff6e7 0, transparent 32%),
    radial-gradient(circle at 90% 70%, #ffe5cd 0, transparent 30%),
    var(--bg);
}

h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
  line-height: 1.2;
  margin-top: 0;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  place-items: center;
  background-image:
    linear-gradient(110deg, rgba(13, 47, 37, 0.86), rgba(31, 122, 91, 0.52)),
    url("https://images.unsplash.com/photo-1574680096145-d05b474e2155?auto=format&fit=crop&w=1900&q=80");
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 10%, rgba(9, 22, 16, 0.45));
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 740px;
}

.tag {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(239, 143, 53, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-weight: 600;
  font-size: 0.9rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin: 1rem 0;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}

.hero__list {
  padding-left: 1.1rem;
  margin-top: 0;
  margin-bottom: 1.8rem;
}

.hero__list li {
  margin-bottom: 0.45rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  background: var(--accent);
  color: #2b1808;
  font-weight: 800;
  padding: 0.9rem 1.4rem;
  border-radius: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-shadow: 0 8px 18px rgba(239, 143, 53, 0.35);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(239, 143, 53, 0.45);
  background: #ff9f45;
}

.btn--secondary {
  background: var(--primary);
  color: #f6fff8;
  box-shadow: 0 8px 20px rgba(31, 122, 91, 0.34);
}

.btn--secondary:hover {
  background: var(--primary-dark);
  box-shadow: 0 12px 22px rgba(20, 86, 64, 0.4);
}

.grid {
  display: grid;
  gap: 1.2rem;
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.quote,
.stat {
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.card {
  overflow: hidden;
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card h3,
.card p {
  padding: 0 1rem;
}

.card h3 {
  margin: 0.9rem 0 0.4rem;
}

.card p {
  margin-top: 0;
  margin-bottom: 1.2rem;
  color: var(--text-soft);
}

.about {
  background: linear-gradient(180deg, var(--bg-soft), #f5ebdc);
}

.about__wrap {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: 0.95fr 1.05fr;
}

.about__media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-height: 520px;
  object-fit: cover;
}

.about__text p {
  color: var(--text-soft);
}

.stats .stat {
  padding: 1.2rem;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 2rem;
  color: var(--primary-dark);
}

.stat span {
  color: var(--text-soft);
  font-weight: 600;
}

.quote {
  padding: 1.4rem;
  border: 1px solid rgba(31, 122, 91, 0.16);
}

.quote p {
  margin-top: 0;
  font-style: italic;
}

.quote cite {
  font-style: normal;
  font-weight: 700;
  color: var(--primary-dark);
}

.cta {
  text-align: center;
  background:
    linear-gradient(120deg, rgba(22, 94, 68, 0.95), rgba(34, 129, 98, 0.88)),
    url("https://images.unsplash.com/photo-1484480974693-6ca0a78fb36b?auto=format&fit=crop&w=1500&q=80");
  color: var(--white);
  background-size: cover;
  background-position: center;
}

.footer {
  background: #12241a;
  color: #d9e7df;
  padding: 2rem 0 1rem;
}

.footer__wrap {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.copy {
  text-align: center;
  margin-top: 1rem;
  opacity: 0.85;
}

.floating {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  text-decoration: none;
  background: var(--primary);
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 10px 24px rgba(17, 73, 54, 0.35);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .grid--3,
  .grid--4,
  .about__wrap {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .section {
    padding: 3.5rem 0;
  }

  .hero {
    min-height: 88vh;
  }

  .grid--3,
  .grid--4,
  .about__wrap {
    grid-template-columns: 1fr;
  }

  .hero p {
    font-size: 1rem;
  }

  .footer__wrap {
    flex-direction: column;
  }
}
