/* ===== Home Buttons ===== */
.hero .btn,
.products-section .btn {
  background-color: #6b523f;
  border-color: #6b523f;
}

.hero .btn:hover,
.products-section .btn:hover {
  background-color: #5a4535;
  border-color: #5a4535;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__globe-canvas {
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  width: 75vh;
  height: 75vh;
  max-width: 700px;
  max-height: 700px;
  z-index: 0;
  pointer-events: none;
}

.hero__fallback-img {
  transition: opacity 0.5s ease;
}

.hero--globe-active .hero__fallback-img {
  opacity: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(27, 77, 77, 0.85) 0%,
    rgba(27, 77, 77, 0.6) 40%,
    rgba(27, 77, 77, 0.2) 70%,
    transparent 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 120rem;
  padding: var(--space-3xl) max(var(--container-padding), 1.25rem);
  margin-right: 45%;
}

.hero__title {
  max-width: none;
  font-size: var(--fs-display);
  font-weight: var(--fw-extrabold);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.hero__text {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-body-lg);
  line-height: 1.55;
  max-width: 44ch;
  margin-bottom: 3rem;
}

/* ===== About Section (Home) ===== */
.about-section .section__title {
  text-align: center;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: var(--space-xl);
}

.about-card {
  display: block;
  text-align: center;
  transition: transform var(--transition-medium);
}

.about-card:hover {
  transform: translateY(-4px);
}

.about-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  background-color: var(--color-teal);
  overflow: hidden;
}

.about-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(27, 77, 77, var(--overlay-intensity));
  transition: background var(--transition-medium);
}

.about-card:hover .about-card__image::after {
  background: rgba(27, 77, 77, 0.35);
}

.about-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.about-card::after {
  content: '';
  display: block;
  width: 100%;
  height: 13px;
  background-color: #b5a494;
}

.about-card__image img.img--top {
  object-position: center 20%;
}

.about-card__title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  font-family: var(--font-body);
  font-size: 1.625rem;
  font-weight: var(--fw-extrabold);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--color-white);
  padding: 1.1rem 1rem;
  text-align: center;
}

/* ===== Products Section (Home) ===== */
.products-section {
  position: relative;
  overflow: hidden;
}

.products-section__background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.products-section__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.products-section__overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 77, 77, var(--overlay-intensity));
}

.products-section__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.products-section__content .section__title {
  color: var(--color-white);
}

.products-section__content p {
  font-size: 1.125rem;
  line-height: 1.55;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-lg);
}

/* ===== Contact Section (Home) ===== */
.contact-home {
  max-width: 600px;
  padding-left: 0;
}

.contact-home .section__title {
  text-align: left;
}

.contact-home p {
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 36rem;
}

.contact-home .btn {
  background-color: var(--color-teal);
  border-color: var(--color-teal);
  margin-top: var(--space-md);
}

.contact-home .btn:hover {
  background-color: var(--color-teal-dark);
  border-color: var(--color-teal-dark);
}
