/* Visual layout, motion, maps, and blog cards */

.section-title h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.fms-kicker {
  color: var(--accent-color);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.fms-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.fms-chip-row span {
  background: #e8f6ea;
  color: var(--heading-color);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
}

.fms-hero-photo img,
.fms-mosaic img,
.offer-card > img,
.benefit-card > img,
.fms-home-card img,
.blog-card img,
.fms-cta > img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.fms-hero-photo {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(1, 102, 55, 0.16);
}

.fms-hero-photo img {
  height: 380px;
}

.fms-mosaic img {
  height: 150px;
  border-radius: 12px;
}

.farm-management .offer-card,
.farm-management .benefit-card {
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.offer-card > img {
  height: 200px;
}

.offer-body {
  padding: 20px 22px 22px;
}

.benefit-card {
  display: flex;
  flex-direction: column;
}

.benefit-card > img {
  height: 160px;
}

.benefit-card > div {
  padding: 18px 18px 20px;
}

.benefit-card i {
  color: var(--accent-color);
  font-size: 22px;
}

.benefit-card h3,
.offer-card h3,
.fms-home-card h3 {
  margin-top: 8px;
}

.farm-management .offer-card:hover,
.farm-management .benefit-card:hover,
.fms-home-card:hover,
.blog-card:hover,
.service-item:hover,
.icon-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(1, 102, 55, 0.14);
}

.fms-home-card {
  display: block;
  height: 100%;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  color: var(--default-color);
  box-shadow: 0 8px 24px rgba(1, 102, 55, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.fms-home-card img {
  height: 170px;
}

.fms-home-card h3,
.fms-home-card p {
  padding: 0 16px;
}

.fms-home-card h3 {
  color: var(--heading-color);
  font-size: 18px;
  margin: 14px 0 8px;
}

.fms-home-card p {
  padding-bottom: 18px;
  margin: 0;
}

.fms-cta {
  position: relative;
  margin-top: 56px;
  border-radius: 18px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.fms-cta > img {
  position: absolute;
  inset: 0;
  height: 100%;
  filter: brightness(0.4);
}

.fms-cta > div {
  position: relative;
  z-index: 1;
  padding: 48px 24px;
  max-width: 760px;
}

.fms-cta h3,
.fms-cta .closing-note,
.fms-cta p {
  color: #fff;
}

.fms-cta .fms-btn.outline {
  color: #fff;
  border-color: #fff;
}

.office-map {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(1, 102, 55, 0.12);
  height: 100%;
}

.office-map iframe {
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
}

.map-badge {
  position: absolute;
  z-index: 2;
  margin: 14px;
  background: #016637;
  color: #fff;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
}

.office-map {
  position: relative;
}

.map-badge.branch {
  background: #2e9530;
}

.map-caption {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.map-caption a {
  font-weight: 700;
  margin-top: 6px;
}

.blog-card {
  background: #fff;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.blog-card img {
  height: 210px;
}

.blog-info {
  text-align: left;
  padding: 18px 18px 20px;
}

.blog-info h4,
.blog-info h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--heading-color);
}

.blog-tag {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent-color);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  animation: rise-in 0.8s ease both;
}

.hero p {
  animation: rise-in 1s ease both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header {
  transition: box-shadow 0.3s ease;
}

.scrolled .header {
  box-shadow: 0 8px 24px rgba(1, 102, 55, 0.08);
}

@media (max-width: 767px) {
  .fms-hero-photo img,
  .offer-card > img,
  .office-map iframe {
    height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
