:root {
  --site-gold: #f3ba2f;
  --site-gold-hover: #e5a73f;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.home-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: auto;
  background: var(--site-gold);
  color: #000;
  padding: 12px 16px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: all 0.25s ease;
}

.home-btn:hover {
  background: var(--site-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  body {
    padding-left: 10px;
    padding-right: 10px;
  }

  h1 {
    font-size: clamp(1.75rem, 7.5vw, 2.35rem);
    line-height: 1.2;
  }

  h2 {
    font-size: clamp(1.35rem, 5.8vw, 1.8rem);
    line-height: 1.25;
  }

  p,
  li,
  input,
  select,
  textarea,
  button {
    font-size: clamp(0.92rem, 3.8vw, 1rem);
  }

  .home-btn {
    bottom: 14px;
    left: 14px;
    right: auto;
    padding: 10px 14px;
    font-size: 0.95rem;
  }
}

/* Narrow phones (320–360px): tighter gutters and typography */
@media (max-width: 360px) {
  body {
    padding-left: 8px;
    padding-right: 8px;
  }

  h1 {
    font-size: clamp(1.45rem, 8.2vw, 1.85rem);
    line-height: 1.18;
  }

  h2 {
    font-size: clamp(1.2rem, 6vw, 1.55rem);
    line-height: 1.22;
  }

  h3 {
    font-size: clamp(1.05rem, 4.5vw, 1.25rem);
  }

  p,
  li {
    font-size: clamp(0.88rem, 3.6vw, 0.96rem);
  }

  input,
  select,
  textarea,
  button {
    font-size: clamp(0.88rem, 3.6vw, 0.96rem);
  }

  .home-btn {
    bottom: 12px;
    left: 12px;
    right: auto;
    padding: 8px 12px;
    font-size: 0.88rem;
  }
}

/* Very small phones (320–360px): tighter gutters and type */
@media (max-width: 360px) {
  body {
    padding-left: 8px;
    padding-right: 8px;
  }

  h1 {
    font-size: clamp(1.45rem, 8vw, 1.85rem);
    line-height: 1.18;
  }

  h2 {
    font-size: clamp(1.2rem, 6vw, 1.55rem);
    line-height: 1.22;
  }

  h3 {
    font-size: clamp(1.05rem, 4.5vw, 1.25rem);
  }

  p,
  li,
  input,
  select,
  textarea,
  button {
    font-size: clamp(0.88rem, 3.6vw, 0.96rem);
  }

  .home-btn {
    bottom: 12px;
    left: 12px;
    right: auto;
    padding: 8px 12px;
    font-size: 0.88rem;
  }
}
