/* Bea Nails Brand Styles & Booking Engine Stylesheet */
:root {
  --paper: #d9d9d7;
  --paper-card: #f5f3f0;
  --paper-soft: #eae7e3;
  --ink: #1a1614;
  --muted: #5c5652;
  --red: #7d1f1f;
  --red-hover: #5d1614;
  --red-soft: rgba(125, 31, 31, 0.08);
  --red-tint: #faeceb;
  --line: rgba(26, 22, 20, 0.16);
  --line-strong: rgba(26, 22, 20, 0.28);
  --success: #2b7a4b;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.5;
  min-height: 100vh;
}

/* ==================== ACCESSIBILITY & SKIP ==================== */
.skip {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  transform: translateY(-150%);
  background: #f7f6f4;
  color: var(--ink);
  padding: 0.45rem 0.7rem;
  z-index: 10;
  text-decoration: none;
  font-weight: 500;
  border: 1px solid var(--line);
}

.skip:focus {
  transform: none;
}

/* ==================== GLOBAL NAVBAR ==================== */
.home-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.85rem 1.5rem;
  background: #f7f6f4;
  border-bottom: 1px solid var(--line);
}

.home-logo img {
  display: block;
  height: 2.4rem;
  width: auto;
}

.home-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-nav a,
.book-cta {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-nav a:hover,
.home-nav a:focus-visible,
.book-cta:hover,
.book-cta:focus-visible {
  color: var(--red);
}

.home-nav a[aria-current="page"] {
  color: var(--red);
}

.book-cta {
  flex: 0 0 auto;
  border: 1px solid var(--red);
  color: var(--red);
  padding: 0.55rem 0.9rem;
}

.book-cta:hover,
.book-cta:focus-visible {
  background: var(--red);
  color: #f7f6f4;
}

/* ==================== TOP BANNER ==================== */
.booking-banner {
  position: relative;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.booking-banner__frame {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.booking-banner__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
}

.booking-banner__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 2.5rem 1.5rem 3rem;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 45%,
    rgba(255, 255, 255, 0.92) 80%,
    rgba(255, 255, 255, 0.98) 100%
  );
  pointer-events: none;
}

.booking-banner__overlay .brand {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.35rem;
}

.booking-banner__overlay h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.booking-banner__overlay .lede {
  color: var(--muted);
  font-size: clamp(0.95rem, 1.2vw, 1.12rem);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.45;
}

/* ==================== PAGE HEADER ==================== */
.top {
  display: none;
}

/* ==================== MAIN CONTAINER LAYOUT ==================== */
.page-container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
}

/* Timeline progress bar across the top of booking area */
.timeline-sidebar {
  background: #f7f6f4;
  border: 1px solid var(--line);
  padding: 1.2rem 1.6rem;
  margin-bottom: 2rem;
}

.step-tracker {
  list-style: none;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.step-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-bottom: 0;
}

/* Connecting track line between steps horizontally */
.step-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% - 0.75rem);
  width: 1.5rem;
  height: 2px;
  background: var(--line);
  z-index: 1;
  transform: translateY(-50%);
}

.step-item:last-child::before {
  display: none;
}

.step-item.completed::before {
  background: var(--red);
}

.sidebar-help {
  display: none;
}

.help-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--red-tint);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.sidebar-help strong {
  color: var(--ink);
  display: block;
  margin-bottom: 0.15rem;
}

.sidebar-help a {
  color: var(--red);
  text-decoration: none;
  font-weight: 500;
}

.sidebar-help a:hover {
  text-decoration: underline;
}

/* ==================== MAIN CONTENT & FORMS ==================== */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2rem;
  align-items: start;
}

.booking-section {
  background: #f7f6f4;
  border: 1px solid var(--line);
  padding: 2rem 2.2rem;
  margin-bottom: 2rem;
}

.section-badge {
  display: inline-block;
  background: var(--red-tint);
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.25rem 0.75rem;
  margin-bottom: 0.65rem;
}

.section-header h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 2.5vw, 2.3rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
}

.section-header p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.25rem;
  margin-bottom: 1.5rem;
}

/* 1. When card inputs */
.when-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.label-heading {
  display: block;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

input, textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.98rem;
  border-radius: 0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(125, 31, 31, 0.15);
}

/* ==================== CUSTOM CALENDAR (Concept 2) ==================== */
.calendar-field {
  position: relative;
}

/* Hide native date input (not styleable) but keep it for form submission */
.calendar-native {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.calendar-display {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.98rem;
  border-radius: 0;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.calendar-display:focus-visible {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(125, 31, 31, 0.15);
}

.calendar-popover {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 50;
  width: min(360px, 92vw);
  background: #f7f6f4;
  border: 1px solid rgba(26, 22, 20, 0.16);
  box-shadow: 0 24px 60px rgba(26, 22, 20, 0.22);
  border-radius: 16px;
  overflow: hidden;
}

.calendar-popover__header {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 0.25rem;
  padding: 0.95rem 0.85rem;
  background: var(--red);
  color: #fff;
}

/* Removed binder-ring "holes" */

.calendar-nav {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.calendar-nav:hover { background: rgba(255, 255, 255, 0.22); }

.calendar-popover__title {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.8rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
}

.calendar-month {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.55rem;
}
.calendar-year {
  font-size: 1.55rem;
}

.calendar-popover__body {
  background: #f3f1ee;
  padding: 1rem 1rem 1.1rem;
}

.calendar-dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.4rem;
  margin-bottom: 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(26, 22, 20, 0.68);
  text-align: center;
}
.calendar-dow span:first-child { color: var(--red); }

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
}

.cal-day {
  border: 0;
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
  border-radius: 12px;
  padding: 0.55rem 0;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
}
.cal-day:hover { background: #fff; }
.cal-day.is-out { opacity: 0.25; cursor: default; }
.cal-day.is-sun { color: var(--red); }
.cal-day.is-selected {
  background: var(--red);
  color: #fff;
}

/* ==================== CUSTOM TIME PICKER (Concept 2) ==================== */
.time-field {
  position: relative;
}

.time-native {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.time-display {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.98rem;
  border-radius: 0;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.time-display:focus-visible {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(125, 31, 31, 0.15);
}

.time-popover {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 55;
  width: min(360px, 92vw);
  background: #f7f6f4;
  border: 1px solid rgba(26, 22, 20, 0.16);
  box-shadow: 0 24px 60px rgba(26, 22, 20, 0.22);
  border-radius: 16px;
  overflow: hidden;
}

.time-popover__header {
  padding: 0.95rem 1rem 0.85rem;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.time-popover__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 1.4rem;
}

.time-popover__meta {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.95;
}

.time-popover__body {
  background: #f3f1ee;
  padding: 1rem 1rem 1.1rem;
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.time-slot {
  border: 0;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  border-radius: 12px;
  padding: 0.65rem 0.5rem;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.time-slot:hover {
  background: #fff;
}

.time-slot.is-selected {
  background: var(--red);
  color: #fff;
}

.time-slot.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}


/* 2. SQUARE SERVICES GRID (3 columns / 3 cards per row) */
.services-square-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

/* Square Card Layout - robust flex container that doesn't clip content */
.service-square-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  user-select: none;
}

.service-square-card:hover {
  transform: translateY(-2px);
  border-color: var(--red);
  box-shadow: 0 6px 20px rgba(26, 22, 20, 0.08);
}

.service-square-card.on {
  border-color: var(--red);
  background: #fdfbfb;
  box-shadow: 0 0 0 2px var(--red), 0 8px 24px rgba(125, 31, 31, 0.1);
}

.card-top-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.45rem;
}

.card-specialty {
  background: var(--red-tint);
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.55rem;
}

.card-num {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.card-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 0.35rem;
}

.card-meta-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.55rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.card-duration {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 400;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 0.75rem;
  flex: 1 1 auto;
}

/* Expandable "What's included?" Disclosure */
.card-included-accordion {
  margin-top: auto;
  margin-bottom: 0.85rem;
  border-top: 1px solid var(--line);
  padding-top: 0.6rem;
}

.card-included-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  cursor: pointer;
  list-style: none;
  padding: 0.25rem 0;
  user-select: none;
}

.card-included-summary::-webkit-details-marker {
  display: none;
}

.inc-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.card-included-accordion[open] .inc-chevron {
  transform: rotate(180deg);
}

.card-included-body {
  margin-top: 0.5rem;
  max-height: 140px;
  overflow-y: auto;
  padding: 0.45rem 0.65rem;
  background: #f7f6f4;
  border: 1px solid var(--line);
  font-size: 0.82rem;
}

.includes-list {
  list-style: disc;
  padding-left: 1.1rem;
  color: var(--muted);
  display: grid;
  gap: 0.25rem;
}

.card-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.card-price {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}

.card-price small {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.select-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-tint);
  border: 1px solid rgba(125, 31, 31, 0.3);
  padding: 0.35rem 0.65rem;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.service-square-card.on .select-indicator {
  background: var(--red);
  color: #f7f6f4;
  border-color: var(--red);
}

/* Length Selector Card */
.length-selector-card {
  margin-top: 0.85rem;
  background: #ffffff;
  border: 1px solid rgba(26, 22, 20, 0.18);
  padding: 1.1rem 1.1rem 1.2rem;
  border-radius: 6px;
  transform-style: preserve-3d;
}

/* When the length selector is placed inside a flipping service card */
.curved-card__back .length-selector-card {
  margin-top: 0;
  width: 100%;
}

.length-selector-card.flip-in {
  transform-origin: top center;
  animation: lengthFlipIn 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lengthFlipIn {
  from {
    opacity: 0;
    transform: perspective(900px) rotateX(-70deg) translateY(-8px);
  }
  to {
    opacity: 1;
    transform: perspective(900px) rotateX(0deg) translateY(0);
  }
}

.length-header h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
}

.length-header p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.sizes-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.6rem;
}

.size-btn {
  background: #171717;
  border: 1px solid rgba(255, 255, 255, 0.75);
  padding: 0.75rem 0.5rem;
  text-align: center;
  font: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
}

.size-btn span {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: #fff;
}

.size-btn b {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  color: #fff;
  margin-top: 0.15rem;
}

.size-btn:hover,
.size-btn:focus-visible {
  border-color: #fff;
  transform: translateY(-1px);
}

.size-btn.on {
  border-color: var(--red);
  background: var(--red);
  box-shadow: 0 0 0 1px var(--red);
}

/* 3. Customer info */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.wide { grid-column: 1 / -1; }

.submit-bar {
  margin-top: 1.2rem;
}

.submit-btn {
  display: block;
  width: 100%;
  border: 1px solid var(--red);
  padding: 1.1rem;
  background: var(--red);
  color: #f7f6f4;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(125, 31, 31, 0.22);
  transition: background 0.15s ease, color 0.15s ease;
}

.submit-btn:hover,
.submit-btn:focus-visible {
  background: transparent;
  color: var(--red);
}

.error {
  margin-top: 0.6rem;
  color: var(--red);
  font-size: 0.88rem;
  font-weight: 500;
}

/* ==================== RIGHT STICKY RECEIPT ==================== */
.concept-cards-body .summary {
  position: sticky;
  top: 1.5rem;
  position: sticky;
  /* Match service cards: black → deep red gradient */
  background: linear-gradient(180deg, #171717 0%, #171717 60%, var(--red) 100%);
  color: #f7eee9;
  padding: 1.8rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(23, 23, 23, 0.22);
  isolation: isolate;
  overflow: hidden;
}

/* White element inside so it feels distinct from the service cards */
.concept-cards-body .summary::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  z-index: -1;
}

.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #f4a7b1;
  font-weight: 500;
}

.concept-cards-body .summary h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  margin: 0.45rem 0 1.3rem;
  font-size: 1.85rem;
  line-height: 1.1;
  color: #fff;
}

.concept-cards-body .summary dl {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.6rem 0;
  display: grid;
  gap: 0.7rem;
}

.concept-cards-body .summary dl > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
  font-size: 0.92rem;
}

.concept-cards-body .summary dt {
  color: rgba(247, 238, 233, 0.68);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.concept-cards-body .summary dd {
  font-weight: 400;
  text-align: right;
  color: #fff;
}

.concept-cards-body .summary dl .total {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 0.8rem;
  margin-top: 0.3rem;
  font-size: 1.1rem;
}

.concept-cards-body .summary dl .total dt {
  color: #fff;
  font-weight: 500;
}

.concept-cards-body .summary dl .total dd {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: #fff;
  font-size: 1.7rem;
  font-weight: 600;
}

.concept-cards-body .summary .fine {
  margin-top: 1.2rem;
  color: rgba(247, 238, 233, 0.62);
  font-size: 0.8rem;
  line-height: 1.45;
}

/* ==================== CONFIRMATION SCREEN ==================== */
.done {
  padding: 4rem 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.done-card {
  background: #f7f6f4;
  border: 1px solid var(--line);
  padding: 3rem 2.2rem;
  text-align: center;
}

.done-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0 auto 1.2rem;
}

.done h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.4rem;
  margin: 0.4rem 0 0.8rem;
  line-height: 1.15;
}

.done p {
  color: var(--muted);
  line-height: 1.55;
  font-size: 1.05rem;
}

#again {
  margin-top: 1.8rem;
  border: 1px solid var(--red);
  padding: 0.85rem 1.6rem;
  background: var(--red);
  color: #f7f6f4;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

#again:hover,
#again:focus-visible {
  background: transparent;
  color: var(--red);
}

/* ==================== FOOTER ==================== */
.site-footer {
  background: #700c32;
  color: #f8e7ec;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-weight: 300;
}

.site-footer__scene {
  overflow: hidden;
  line-height: 0;
  background: #fff;
}

.site-footer__art {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: -22%;
}

.site-footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 2rem 3rem;
  width: min(72rem, calc(100% - 3rem));
  margin: 0 auto;
  padding: 0 0 2.5rem;
}

.site-footer .site-footer__name {
  margin: 0 0 0.6rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 0.95;
  color: #fff;
}

.site-footer p {
  margin: 0 0 0.45rem;
  font-size: 0.98rem;
  line-height: 1.45;
}

.site-footer a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #f4a7b1;
}

.site-footer .site-footer__label {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f4a7b1;
}

.site-footer__nav ul {
  display: grid;
  gap: 0.42rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__nav a {
  font-size: 0.95rem;
  text-decoration: none;
}

.site-footer .site-footer__legal {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  width: min(72rem, calc(100% - 3rem));
  margin: 0 auto;
  padding: 1.15rem 0 1.6rem;
  border-top: 1px solid rgba(248, 231, 236, 0.22);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(248, 231, 236, 0.78);
}

.site-footer__legal a {
  text-decoration: none;
}

/* ==================== RESPONSIVE ADJUSTMENTS ==================== */
@media (max-width: 1200px) {
  .step-tracker {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .step-item::before {
    display: none;
  }
}

@media (max-width: 1080px) {
  .services-square-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .layout {
    grid-template-columns: 1fr;
  }
  .summary {
    position: static;
  }
}

@media (max-width: 800px) {
  .services-square-grid {
    grid-template-columns: 1fr;
  }

  .site-footer__art {
    margin-bottom: -18%;
  }

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
  }
}

@media (max-width: 640px) {
  .when-grid, .who-grid {
    grid-template-columns: 1fr;
  }
  .step-tracker {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}
