@charset "UTF-8";

/* A warm burgundy frame keeps the photographed services at the top. */
.services {
  color: #fff;
  background: radial-gradient(ellipse at top right, #a9773529, transparent 52%),
    linear-gradient(135deg, #3b222c, #21181f 75%);
  padding-block: 44px 56px;
}
.service-intro { align-items: center; margin-bottom: 32px; }
.service-intro .eyebrow { color: var(--gold-light); font-size: .875rem; letter-spacing: .07em; }
.services h1 { font-size: clamp(2.25rem, 3.7vw, 3.25rem); }
.service-intro-copy { color: #e2d4da; max-width: 600px; font-size: 1rem; }
.service-intro-actions .button { border-radius: 10px; font-size: .9375rem; }
.service-intro-actions .button-burgundy { background: var(--gold); color: var(--dark); }
.service-intro-actions .button-burgundy:hover { background: var(--gold-light); }
.service-intro-actions .button-outline { border-color: #ead5a867; color: var(--gold-light); background: #ffffff06; }
.service-intro-actions .button-outline:hover { background: #ffffff12; }

.service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.service-card {
  padding: 22px;
  color: var(--ink);
  background: #fffdfb;
  border: 1px solid #ead5a82b;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px #13080f24;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover, .service-card:focus-within {
  background: #fffdfb;
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 14px 32px #13080f4a;
}
.service-photo {
  position: relative;
  margin: -22px -22px 22px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #d7c9be;
  flex: none;
}
.service-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.service-photo::after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(transparent, #21121b50);
  pointer-events: none;
}
.service-photo .service-top {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  border: 1px solid #fff5;
  border-radius: 12px;
  background: var(--gold-light);
  box-shadow: 0 3px 12px #21121b1f;
}
.service-photo .service-icon { width: 25px; height: 25px; }
.service-card:hover .service-photo > img { transform: scale(1.045); }
.service-card h2 { font-size: 1.1875rem; line-height: 1.35; margin-bottom: 12px; letter-spacing: -.025em; }
.service-card > p { font-size: 1rem; line-height: 1.65; color: #64545e; margin-bottom: 24px; }
.service-bottom { border-color: #e8dde1; padding-top: 14px; }
.service-bottom > a { font-size: .9375rem; gap: 8px; min-height: 32px; }
.service-bottom > a::after { border-radius: 16px; z-index: 2; }
.service-bottom > a > span { display: none; }
.service-card:focus-within { outline: 3px solid var(--gold); outline-offset: 4px; }
.service-help { margin-top: 28px; color: #e2d4da; font-size: .9375rem; }
.service-help button, .service-help > a { color: var(--gold-light); }
.feedback { background: #f6f0ed; }

@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-intro { align-items: flex-start; }
  .service-card h2 { font-size: 1.25rem; }
}
@media (max-width: 800px) {
  .services { padding-block: 34px 44px; }
  .service-intro { align-items: flex-start; margin-bottom: 28px; }
  .service-photo { aspect-ratio: 16 / 9; }
  .service-grid { gap: 16px; }
  .service-card h2 { font-size: 1.1875rem; }
  .service-help { text-align: left; }
}
@media (max-width: 540px) {
  .service-grid { grid-template-columns: 1fr; gap: 22px; }
  .service-intro .eyebrow { font-size: .875rem; }
  .service-intro-copy { font-size: 1rem; line-height: 1.65; }
  .service-intro-actions .button { min-height: 46px; font-size: .9375rem; }
  .service-card h2 { font-size: 1.25rem; }
  .service-bottom > a { font-size: .9375rem; min-height: 36px; }
  .service-help { font-size: .9375rem; }
}
@media (prefers-reduced-motion: reduce) {
  .service-card, .service-photo > img { transition: none; }
  .service-card:hover, .service-card:focus-within, .service-card:hover .service-photo > img { transform: none; }
}
