@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #f8fafc;
  color: #212529;
}

.navbar {
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar-brand {
  color: #0d6efd !important;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.hero-card {
  border-radius: 1.5rem;
  background: linear-gradient(145deg, #ffffff, #f0f4f8);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.step-card,
.pricing-card {
  border-radius: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.step-card:hover,
.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.step-number {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

.booking-steps {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.step-indicator {
  flex: 1;
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.9rem;
  font-weight: 500;
  color: #64748b;
  transition: all 0.3s ease;
}

.step-indicator.active {
  background: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.2);
}

.step-indicator.completed {
  background: #10b981;
  color: #fff;
  border-color: #10b981;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.summary-price {
  border-top: 2px dashed #e2e8f0;
  padding-top: 1rem;
  margin-top: 1rem;
}

.terms-acceptance-box {
  border-color: #e2e8f0 !important;
}

.terms-link {
  color: #0d6efd;
  text-decoration: underline;
}

.terms-link:hover {
  color: #0a58ca;
}

.form-control, .form-select {
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  border-color: #e2e8f0;
  background-color: #f8fafc;
  transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
  background-color: #fff;
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

.btn {
  border-radius: 0.75rem;
  padding: 0.6rem 1.5rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  border: none;
  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(13, 110, 253, 0.4);
}

.btn-success {
  background: linear-gradient(135deg, #10b981, #059669);
  border: none;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(16, 185, 129, 0.4);
}

.pricing-card.border-primary {
  border: 2px solid #0d6efd !important;
  transform: scale(1.02);
}

.pricing-card.border-primary:hover {
  transform: scale(1.04) translateY(-5px);
}

.deep-clean-price-label {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0d6efd;
  letter-spacing: -0.02em;
}

.deep-clean-quote-callout {
  background: linear-gradient(180deg, #fff 0%, #f0f7ff 100%);
}

.deep-clean-quote-inner {
  background: #fff;
  border: 1px solid #dbeafe;
  box-shadow: 0 16px 48px rgba(13, 110, 253, 0.08);
}

.deep-clean-quote-badge {
  background: #eff6ff;
  color: #0d6efd;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
}

.deep-clean-quote-message {
  color: #475569;
  line-height: 1.65;
}

.deep-clean-quote-cta {
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(13, 110, 253, 0.2);
}

.deep-clean-quote-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(13, 110, 253, 0.28);
}

.deep-clean-booking-notice {
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
  border: 1px solid #bfdbfe;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.deep-clean-booking-notice p {
  color: #334155;
  flex: 1 1 14rem;
}

.deep-clean-booking-cta {
  flex-shrink: 0;
  font-weight: 600;
}

.team-clean-callout {
  background: linear-gradient(180deg, #f8fafc 0%, #eef4ff 100%);
}

.team-clean-callout-inner {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  color: #fff;
  box-shadow: 0 20px 50px rgba(13, 110, 253, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.team-clean-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.team-clean-message {
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.95);
}

.team-clean-cta {
  color: #0d6efd;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.team-clean-cta:hover {
  color: #0a58ca;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.bereavement-callout {
  background: #f8f9fa;
}

.bereavement-callout-inner {
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.bereavement-badge {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
}

.bereavement-message {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #475569;
}

.bereavement-consultation {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #64748b;
  font-style: italic;
}

.bereavement-cta {
  font-weight: 600;
  white-space: nowrap;
}

.contact-modal-dialog {
  max-width: 34rem;
}

.contact-modal-content {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.25rem;
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.18),
    0 8px 20px rgba(15, 23, 42, 0.08);
}

.contact-modal-accent {
  height: 4px;
  background: linear-gradient(90deg, #0d6efd 0%, #0a58ca 55%, #084298 100%);
}

.contact-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.75rem 1.75rem 0.5rem;
  border: none;
}

.contact-modal-intro {
  max-width: 26rem;
}

.contact-modal-eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.contact-modal-title {
  margin: 0 0 0.65rem;
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
  color: #0f172a;
}

.contact-modal-lead {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #64748b;
}

.contact-modal-close {
  margin-top: 0.15rem;
  opacity: 0.65;
  transition: opacity 0.15s ease;
}

.contact-modal-close:hover {
  opacity: 1;
}

.contact-modal-body {
  padding: 0.75rem 1.75rem 1.25rem;
}

.contact-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon main"
    "actions actions";
  gap: 0.85rem 1rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-option + .contact-option {
  margin-top: 0.9rem;
}

.contact-option:hover {
  border-color: #cbd5e1;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.contact-option-icon {
  grid-area: icon;
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0d6efd;
  background: rgba(13, 110, 253, 0.1);
  border: 1px solid rgba(13, 110, 253, 0.12);
}

.contact-option-main {
  grid-area: main;
  min-width: 0;
  align-self: center;
}

.contact-option-label {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.contact-option-value {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: #0f172a;
  text-decoration: none;
  word-break: break-word;
  transition: color 0.15s ease;
}

.contact-option-value:hover {
  color: #0d6efd;
}

.contact-option-actions {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.contact-action-btn,
.contact-copy-btn {
  min-height: 2.65rem;
  padding-inline: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.75rem;
}

.contact-action-btn {
  flex: 1 1 8.5rem;
}

.contact-copy-btn {
  flex: 1 1 8.5rem;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.contact-copy-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.contact-copy-btn.is-success {
  color: #fff;
  background-color: #198754;
  border-color: #198754;
}

.contact-copy-btn.is-error {
  color: #fff;
  background-color: #dc3545;
  border-color: #dc3545;
}

.address-search-wrap {
  position: relative;
}

.address-search-field {
  position: relative;
}

.address-search-results {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  z-index: 30;
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 0.85rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  max-height: 16rem;
  overflow-y: auto;
}

.address-search-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 0;
  border-bottom: 1px solid #eef2f7;
  background: #fff;
  text-align: left;
  transition: background-color 0.15s ease;
}

.address-search-item:last-child {
  border-bottom: 0;
}

.address-search-item:hover,
.address-search-item:focus {
  background: #eff6ff;
  outline: none;
}

.address-search-item-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.45;
}

.address-search-item-meta {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0d6efd;
}

.address-search-item-preview {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.4;
}

.address-search-empty {
  padding: 0.95rem 1rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #64748b;
}

#eircode-input {
  max-width: 12rem;
  letter-spacing: 0.06em;
}

.contact-modal-footer {
  padding: 0 1.75rem 1.5rem;
  border: none;
  justify-content: center;
}

.contact-modal-footer-note {
  margin: 0;
  width: 100%;
  padding-top: 0.15rem;
  border-top: 1px solid #eef2f7;
  font-size: 0.82rem;
  line-height: 1.6;
  text-align: center;
  color: #64748b;
}

@media (min-width: 576px) {
  .contact-option {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "icon main actions";
    align-items: center;
  }

  .contact-option-actions {
    flex-direction: column;
    align-items: stretch;
    min-width: 9.5rem;
  }

  .contact-action-btn,
  .contact-copy-btn {
    flex: 0 0 auto;
    width: 100%;
  }
}

@media (max-width: 575px) {
  .contact-modal-header,
  .contact-modal-body,
  .contact-modal-footer {
    padding-inline: 1.15rem;
  }

  .contact-modal-title {
    font-size: 1.35rem;
  }
}

#booking-form {
  border-radius: 1.5rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
  border: none !important;
}

@media (max-width: 576px) {
  .display-5 {
    font-size: 2.25rem;
    letter-spacing: -1px;
  }
  .step-indicator {
    padding: 0.5rem;
    font-size: 0.75rem;
  }
}

.staff-photo-card {
  transition: transform 0.2s ease;
}

.staff-photo-card:hover {
  transform: translateY(-5px);
}

.staff-photo-card.selected img {
  border-color: #0d6efd !important;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.staff-photo-card img {
  transition: all 0.2s ease;
}

/* Booking date calendar (staff availability only) */

.booking-date-calendar {
  margin-bottom: 0.5rem;
}

.booking-calendar-shell {
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.booking-calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.booking-calendar-title {
  text-align: center;
  flex: 1;
}

.booking-calendar-month {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.booking-calendar-year {
  display: block;
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 0.1rem;
}

.booking-calendar-nav {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid #dbe3ef;
  border-radius: 0.75rem;
  background: #fff;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.booking-calendar-nav:hover:not(:disabled) {
  border-color: #0d6efd;
  color: #0d6efd;
  background: #eff6ff;
}

.booking-calendar-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.booking-calendar-hint {
  margin-bottom: 0.75rem;
}

.booking-calendar-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0.25rem;
}

.booking-calendar-table thead th {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  color: #64748b;
  padding: 0.25rem 0;
  border: none;
}

.booking-calendar-table tbody td {
  padding: 0;
  border: none;
  vertical-align: middle;
  text-align: center;
}

.booking-calendar-day {
  width: 100%;
  min-height: 2.35rem;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  background: transparent;
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0;
  transition: all 0.15s ease;
}

.booking-calendar-day.is-other-month,
.booking-calendar-day.is-disabled {
  color: #e2e8f0;
  cursor: default;
}

.booking-calendar-day.is-available {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
  cursor: pointer;
}

.booking-calendar-day.is-available:hover {
  border-color: #0d6efd;
  background: #dbeafe;
  color: #0d6efd;
}

.booking-calendar-day.is-selected {
  border-color: #0a58ca;
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  color: #fff;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.28);
}

.booking-calendar-day.is-today:not(.is-selected) {
  box-shadow: inset 0 0 0 2px rgba(13, 110, 253, 0.35);
}

.homepage-image-slot {
  --homepage-image-scale: 1;
  --homepage-image-offset-x: 0;
  --homepage-image-offset-y: 0;
  position: relative;
  width: 100%;
  display: block;
  overflow: hidden;
}

.homepage-image-slot.is-hero {
  min-height: 280px;
  aspect-ratio: 4 / 3;
}

.homepage-image-slot.is-side {
  min-height: 420px;
}

.homepage-image-slot.is-banner {
  min-height: 320px;
}

.homepage-image-slot.is-step {
  min-height: 160px;
}

.homepage-image-slot.is-pricing {
  min-height: 88px;
}

.homepage-image-slot .homepage-image-frame {
  position: absolute;
  left: 50%;
  top: 50%;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #f8fafc;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  width: 100%;
  max-width: 100%;
  margin: 0;
  height: auto;
  transform: translate(
    calc(-50% + (var(--homepage-image-offset-x) - 50) * 1%),
    calc(-50% + (var(--homepage-image-offset-y) - 50) * 1%)
  ) scale(var(--homepage-image-scale));
  transform-origin: center center;
}

.homepage-image-slot.is-pricing .homepage-image-frame {
  width: 88px;
  height: 88px;
}

.homepage-image-slot .homepage-image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.homepage-hero-image {
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.homepage-hero-has-bg {
  background-attachment: scroll;
}

.homepage-hero-bg {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 28rem;
  display: flex;
  align-items: center;
}

.homepage-hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #e2e8f0;
  background-repeat: no-repeat;
}

.homepage-hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(255, 255, 255, 0.82) 42%,
    rgba(255, 255, 255, 0.45) 100%
  );
  pointer-events: none;
}

.homepage-hero-bg .container {
  position: relative;
  z-index: 2;
}

.homepage-hero-bg-content {
  position: relative;
  z-index: 2;
}

.homepage-side-image {
  aspect-ratio: 4 / 5;
  max-height: 420px;
}

.homepage-section-banner,
.homepage-quote-top-image,
.homepage-callout-top-image {
  aspect-ratio: 21 / 9;
  max-height: 320px;
}

.homepage-step-image {
  aspect-ratio: 16 / 10;
}

.homepage-pricing-image {
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(13, 110, 253, 0.15);
}

.homepage-pricing-image img {
  object-fit: cover;
}

@media (max-width: 767.98px) {
  .homepage-image-slot.is-hero {
    min-height: 220px;
  }

  .homepage-image-slot.is-side {
    min-height: 280px;
  }

  .homepage-side-image {
    max-height: 280px;
  }
}

