/* Header identity */
.dadlex-header .site-identity {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-14px);
  white-space: nowrap;
}

.dadlex-header__tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #44565d;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.dadlex-header__tagline::before {
  width: 26px;
  height: 1px;
  background: #bd8c2c;
  content: '';
}

/* The booking icon always follows the label color in every state. */
.header-booking i,
.header-booking .header-booking__icon,
.header-booking:hover i,
.header-booking:hover .header-booking__icon,
.header-booking:focus-visible i,
.header-booking:focus-visible .header-booking__icon {
  color: currentColor !important;
  stroke: currentColor !important;
}

/* Consultation mode: spacious, unmistakable radio-card states. */
.booking-section--type .type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px !important;
  margin-top: 22px;
}

.booking-section--type .type-card {
  position: relative;
  min-height: 112px;
  padding: 20px !important;
  border: 2px solid #d9d5c9 !important;
  border-radius: 18px !important;
  background: #fff !important;
  color: #102c36 !important;
  box-shadow: 0 8px 24px rgba(16, 44, 54, 0.045);
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.booking-section--type .type-card:hover,
.booking-section--type .type-card:focus-visible {
  border-color: #bd8c2c !important;
  background: #fffaf0 !important;
  color: #102c36 !important;
  box-shadow: 0 12px 28px rgba(16, 44, 54, 0.1);
  transform: translateY(-2px);
}

.booking-section--type .type-card.is-selected,
.booking-section--type .type-card[aria-checked='true'],
.booking-section--type .type-card.is-selected:hover,
.booking-section--type .type-card[aria-checked='true']:hover,
.booking-section--type .type-card.is-selected:focus-visible,
.booking-section--type .type-card[aria-checked='true']:focus-visible {
  border-color: #bd8c2c !important;
  background: #fff7e5 !important;
  color: #071f2a !important;
  box-shadow: 0 0 0 3px rgba(189, 140, 44, 0.16), 0 14px 30px rgba(16, 47, 58, 0.12);
  transform: none;
}

.booking-section--type .type-card b,
.booking-section--type .type-card small,
.booking-section--type .type-card .type-icon,
.booking-section--type .type-card .type-card__svg {
  color: inherit !important;
  stroke: currentColor !important;
}

.booking-section--type .type-card small {
  opacity: 0.72;
}

.booking-section--type .type-card > i:last-child {
  display: grid;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  place-items: center;
  border: 2px solid #b9c0c1;
  border-radius: 50%;
  background: transparent;
}

.booking-section--type .type-card.is-selected > i:last-child,
.booking-section--type .type-card[aria-checked='true'] > i:last-child {
  border-color: #e4bc64;
  background: #e4bc64;
}

.booking-section--type .type-card.is-selected > i:last-child::after,
.booking-section--type .type-card[aria-checked='true'] > i:last-child::after {
  width: 8px;
  height: 4px;
  border-bottom: 2px solid #102f3a;
  border-left: 2px solid #102f3a;
  content: '';
  transform: translateY(-1px) rotate(-45deg);
}

.booking-section--type .type-card.is-selected .type-icon,
.booking-section--type .type-card[aria-checked='true'] .type-icon,
.booking-section--type .type-card.is-selected:hover .type-icon,
.booking-section--type .type-card[aria-checked='true']:hover .type-icon {
  border-color: #bd8c2c !important;
  background: #fff !important;
  color: #102f3a !important;
}

.booking-section--type .type-card.is-selected .type-card__svg,
.booking-section--type .type-card[aria-checked='true'] .type-card__svg {
  color: #102f3a !important;
  stroke: #102f3a !important;
}

.date-card:hover,
.date-card:focus-visible,
.time-slot:hover,
.time-slot:focus-visible {
  transform: none !important;
}

.booking-summary .summary-seal {
  display: grid !important;
  width: 82px !important;
  height: 82px !important;
  padding: 7px !important;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(189, 140, 44, 0.65) !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #102f3a !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

.booking-summary .summary-seal img {
  display: block;
  width: 66px;
  height: 66px;
  object-fit: contain;
}

/* Footer CTA uses the actual brand mark instead of a letter. */
.footer-invitation__index {
  display: grid !important;
  overflow: hidden !important;
  place-items: center !important;
  grid-template-rows: 1fr !important;
  border-color: rgba(189, 140, 44, 0.72) !important;
  background: #fff !important;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.14);
}

.footer-invitation__index b {
  display: grid;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  place-items: center;
  overflow: hidden;
  border: 0 !important;
  border-radius: inherit;
  background: transparent;
  box-shadow: none;
  line-height: 1;
}

.footer-invitation__index b img {
  display: block;
  width: 66px;
  height: 66px;
  object-fit: contain;
}

.footer-invitation > div:not(.footer-invitation__index) h2 {
  max-width: none;
  white-space: nowrap;
  text-wrap: balance;
}

@media (max-width: 1180px) {
  .dadlex-header__tagline {
    display: none;
  }

  .dadlex-header .site-identity {
    transform: none;
  }
}

@media (max-width: 520px) {
	.booking-progress {
		margin-inline: 0 !important;
		overflow: hidden !important;
	}

	.booking-progress ol {
		display: grid !important;
		width: 100% !important;
		min-width: 0 !important;
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}

	.booking-progress li {
		width: auto !important;
		min-width: 0 !important;
		min-height: 76px !important;
		flex-direction: column;
		justify-content: center;
		gap: 5px !important;
		padding: 8px 4px !important;
		border-bottom: 0 !important;
		border-left: 1px solid var(--dx-line) !important;
		text-align: center;
	}

	.booking-progress li:last-child {
		border-left: 0 !important;
	}

	.booking-progress li span {
		display: grid;
		width: 28px;
		height: 28px;
		place-items: center;
		border-radius: 50%;
	}

	.booking-progress li strong {
		font-size: .63rem;
		line-height: 1.45;
	}

	.booking-summary {
		width: 100% !important;
		max-width: 100% !important;
		margin-inline: 0 !important;
		padding: 18px !important;
		display: grid;
		grid-template-columns: 58px minmax(0, 1fr);
		gap: 0 14px;
		box-sizing: border-box;
	}

	.booking-summary__caption {
		grid-column: 2;
		grid-row: 1;
		align-self: end;
		margin: 0 0 2px !important;
	}

	.booking-summary .summary-seal {
		width: 58px !important;
		height: 58px !important;
		grid-column: 1;
		grid-row: 1 / span 2;
		align-self: center;
		margin: 0 !important;
		padding: 5px !important;
	}

	.booking-summary .summary-seal img {
		width: 46px;
		height: 46px;
	}

	.booking-summary h2 {
		grid-column: 2;
		grid-row: 2;
		align-self: start;
		margin: 0 !important;
		font-size: 1.45rem !important;
	}

	.booking-summary dl,
	.booking-summary .summary-price,
	.booking-summary .primary-action,
	.booking-summary .secure-note {
		grid-column: 1 / -1;
	}

	.booking-summary dl {
		margin-top: 18px;
	}

	.booking-summary dl > div {
		padding-block: .55rem;
	}

	.booking-summary .summary-price {
		margin-block: 1rem .7rem;
		padding-block: .75rem;
	}

	.booking-summary .secure-note {
		margin: .75rem 0 0;
		font-size: .66rem;
		line-height: 1.7;
	}

	.dadlex-practice-card {
		min-height: 0 !important;
		grid-template-columns: 34px minmax(0, 1fr) !important;
		gap: 14px !important;
		padding: 22px 18px !important;
	}

	.dadlex-practice-card > div {
		min-width: 0;
	}

	.dadlex-practice-card__icon {
		display: grid;
		width: 38px;
		height: 38px;
		place-items: center;
		margin-bottom: 12px;
		border: 1px solid rgba(184, 138, 50, .28);
		border-radius: 12px;
		background: rgba(184, 138, 50, .08);
		color: var(--dx-navy);
	}

	.dadlex-practice-card__icon .dx-icon {
		width: 20px;
		height: 20px;
	}

	.dadlex-practice-card h3 {
		font-size: 1.15rem;
		line-height: 1.65;
		overflow-wrap: normal;
		text-wrap: pretty;
	}

	.dadlex-practice-card p {
		display: -webkit-box;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
		line-clamp: 3;
	}

	.dadlex-practice-card__arrow {
		grid-column: 2;
		margin-top: 2px;
	}

  .booking-section--type .type-grid {
    grid-template-columns: 1fr;
    gap: 12px !important;
  }

  .booking-section--type .type-card {
    min-height: 94px;
  }

  .footer-invitation__index b {
    width: 100%;
    height: 100%;
  }

  .footer-invitation__index b img {
    width: 48px;
    height: 48px;
  }

  .dadlex-footer .footer-invitation {
    width: var(--dx-container);
    grid-template-columns: 1fr !important;
    justify-items: center;
    gap: 10px !important;
    padding: 22px 0 !important;
    text-align: center;
  }

  .dadlex-footer .footer-invitation__index {
    width: 64px !important;
    height: 64px !important;
    border-bottom: 1px solid rgba(189, 140, 44, .72) !important;
  }

  .dadlex-footer .footer-invitation > div:not(.footer-invitation__index) {
    width: 100%;
  }

  .dadlex-footer .footer-invitation p {
    margin: 0 0 2px;
    font-size: .68rem;
  }

  .footer-invitation > div:not(.footer-invitation__index) h2 {
    margin: 0;
    font-size: clamp(1.28rem, 6vw, 1.5rem) !important;
    line-height: 1.5;
    white-space: nowrap;
  }

  .dadlex-footer .footer-invitation > .button {
    width: 100%;
    min-height: 48px;
    margin-top: 4px;
  }
}
