.section {
  padding: 90px 20px;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 45px;
  text-align: center;
}

.section-head span {
  display: inline-block;
  color: var(--wood);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 48px);
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -1px;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.about {
  background: #fff;
}

.about-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 22px;
}

.about-card {
  background: var(--cream);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.main-about-card {
  grid-row: span 2;
}

.main-about-card h3 {
  font-size: 30px;
  margin-bottom: 18px;
  color: var(--text);
}

.main-about-card p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 14px;
}

.small-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--dark);
  color: white;
}

.small-card strong {
  color: var(--wood-light);
  font-size: 42px;
  line-height: 1;
}

.small-card span {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
}

.services {
  background:
    radial-gradient(circle at top left, rgba(184, 117, 50, 0.14), transparent 35%),
    var(--cream);
}

.services-grid {
  max-width: 1224px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  display: block;
  background: white;
  color: var(--text);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  transition: 0.28s ease;
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-align: left;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.15);
}

.service-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.service-content {
  padding: 26px;
}

.service-content h3 {
  font-size: 26px;
  margin-bottom: 12px;
  color: var(--text);
}

.service-content p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.service-content span {
  color: var(--wood);
  font-weight: 900;
}

.why {
  background: var(--dark);
  color: white;
}

.why .section-head h2 {
  color: white;
}

.why .section-head p {
  color: rgba(255, 255, 255, 0.7);
}

.why-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.why-card {
  padding: 30px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  transition: 0.25s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  background: rgba(184, 117, 50, 0.16);
}

.why-card h3 {
  color: var(--wood-light);
  font-size: 24px;
  margin-bottom: 12px;
}

.why-card p {
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.firmycz {
  background: #fff;
}

.firmycz-widget {
  max-width: 960px;
  margin: 0 auto;
  height: 420px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.11);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: white;
}

.firmycz-widget iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.cta-section {
  padding: 90px 20px;
  background:
    linear-gradient(135deg, rgba(13, 23, 17, 0.86), rgba(13, 23, 17, 0.62)),
    url("../img/Dřevník_s_malou_dílnou.jpg") center/cover;
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 850px;
  margin: 0 auto;
}

.cta-content span {
  color: var(--wood-light);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.cta-content h2 {
  font-size: clamp(30px, 5vw, 56px);
  margin: 14px 0;
}

.cta-content p {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.82);
}

.cta-section .hero-actions {
  justify-content: center;
}

@media(max-width: 900px) {
  .about-grid,
  .services-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .main-about-card {
    grid-row: auto;
  }
}

@media(max-width: 768px) {
  .section {
    padding: 70px 18px;
  }

  .about-card,
  .why-card {
    padding: 24px;
  }

  .service-card img {
    height: 220px;
  }

  .firmycz-widget {
    height: 520px;
  }
}

@media(max-width: 480px) {
  .section {
    padding: 58px 14px;
  }

  .main-about-card h3 {
    font-size: 24px;
  }

  .main-about-card p {
    font-size: 16px;
  }
}