/* ── Submission Success Animation ── */
.submission-success {
  text-align: center;
  padding: 48px 24px;
  animation: fadeInUp 0.5s ease;
}

.submission-success h3 {
  font-size: 1.4rem;
  margin: 16px 0 8px;
  color: var(--ink);
}

.submission-success p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.success-checkmark {
  width: 72px;
  height: 72px;
  margin: 0 auto;
}

.checkmark-svg {
  width: 72px;
  height: 72px;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #4bb543;
  animation: checkStroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: #4bb543;
  animation: checkStroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.4s forwards;
}

@keyframes checkStroke {
  100% { stroke-dashoffset: 0; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Lightbox Gallery ── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  transition: opacity 0.2s ease;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 1.8rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: background 0.2s;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.lightbox-caption {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

/* Make all property images clickable */
[data-lightbox] {
  cursor: zoom-in;
}

@media (max-width: 700px) {
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-image {
    max-width: 95vw;
    max-height: 75vh;
  }
}

/* ── Mapbox Interactive Map ── */
.map-section {
  margin-top: 24px;
}

.map-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  margin-bottom: 14px;
}

.map-toolbar-input {
  position: relative;
  display: flex;
  gap: 8px;
  flex: 1 1 360px;
  min-width: 0;
}

.map-toolbar-input .text-input {
  flex: 1;
  min-width: 0;
}

.map-toolbar-input .button {
  padding: 12px 20px;
  white-space: nowrap;
}

.map-toolbar-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.monarch-map {
  width: 100%;
  height: 540px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.map-container-wrap {
  position: relative;
}

.map-commute-status {
  margin: 8px 4px 0;
  font-size: 0.88rem;
  color: var(--muted);
  min-height: 1.4em;
}

.map-isochrone-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  flex-direction: row;
}

.map-isochrone-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.map-isochrone-select {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 246, 0.95);
  font-size: 0.85rem;
  width: auto;
}

.map-commute-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.map-commute-results:empty {
  display: none;
}

.map-commute-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 252, 246, 0.88);
  border: 1px solid var(--line);
  font-size: 0.88rem;
}

.map-commute-item.top-match {
  border-color: rgba(64, 120, 116, 0.3);
  background: rgba(64, 120, 116, 0.06);
}

.map-commute-rank {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(20, 33, 58, 0.08);
  font-weight: 800;
  font-size: 0.78rem;
}

.top-match .map-commute-rank {
  background: var(--accent);
  color: #fff9f0;
}

.map-commute-info span {
  color: var(--muted);
  font-size: 0.82rem;
}

.map-commute-detail-link {
  font-size: 0.78rem;
  color: var(--accent-deep, #2d5b57);
  text-decoration: none;
  font-weight: 600;
}

.map-commute-detail-link:hover {
  text-decoration: underline;
}

.map-commute-time {
  text-align: right;
}

.map-commute-time span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

/* Map pins */
.monarch-map-pin {
  cursor: pointer;
  transition: transform 150ms ease;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.monarch-map-pin:hover {
  transform: scale(1.15) translateY(-2px);
}

.monarch-map-pin.in-isochrone svg path {
  fill: var(--forest);
}

.map-pin-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: var(--ink);
  color: #fff9f0;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 8px;
  white-space: nowrap;
  line-height: 1;
}

.monarch-map-origin {
  cursor: default;
}

/* Map popups */
.map-popup {
  display: grid;
  gap: 0;
  min-width: 220px;
}

.map-popup-img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.map-popup-body {
  padding: 10px 12px;
  display: grid;
  gap: 4px;
}

.map-popup-body strong {
  font-size: 0.92rem;
}

.map-popup-meta {
  font-size: 0.82rem;
  color: var(--muted);
}

.map-popup-commute {
  display: inline-block;
  padding: 3px 8px;
  background: rgba(64, 120, 116, 0.12);
  color: var(--accent-deep);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  width: fit-content;
}

.map-popup-link {
  color: var(--accent-deep) !important;
  font-weight: 800;
  font-size: 0.88rem;
  text-decoration: none;
}

.map-popup-link:hover {
  text-decoration: underline;
}

.commute-badge-pill {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(64, 120, 116, 0.12);
  color: var(--accent-deep);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

/* Override mapbox popup styling */
.mapboxgl-popup-content {
  padding: 0 !important;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(20, 33, 58, 0.18) !important;
}

.mapboxgl-popup-tip {
  border-top-color: #fff !important;
}

@media (max-width: 860px) {
  .map-toolbar {
    padding: 12px 14px;
  }
  .map-toolbar-input {
    flex: 1 1 100%;
  }
  .map-toolbar-controls {
    flex: 1 1 100%;
    justify-content: space-between;
  }
  .monarch-map {
    height: 420px;
  }
}

/* ── Address Autocomplete ── */
.map-ac-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 80px;
  z-index: 100;
  background: var(--surface-strong, #f8f4ee);
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 24px rgba(20, 33, 58, 0.12);
  overflow: hidden;
}

.map-ac-item {
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid var(--line);
}

.map-ac-item:last-child {
  border-bottom: none;
}

.map-ac-item:hover,
.map-ac-item.active {
  background: rgba(64, 120, 116, 0.1);
}

.map-commute-item.selected {
  background: rgba(64, 120, 116, 0.12);
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(64, 120, 116, 0.2);
}

/* ── Property Pills Bar ── */
.property-pill-btn {
  flex-shrink: 0;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 246, 0.92);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 150ms ease, border-color 150ms ease;
}

.property-pill-btn:hover {
  background: rgba(64, 120, 116, 0.08);
  border-color: rgba(64, 120, 116, 0.25);
}

.property-pill-btn.is-active {
  background: rgba(64, 120, 116, 0.15);
  border-color: rgba(64, 120, 116, 0.4);
  color: var(--accent-deep);
}

/* ── Property Browser Filters ── */
.property-browser-filters {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.property-browser-filters label {
  flex: 1;
  min-width: 180px;
  max-width: 300px;
}

.property-browser-filters input[type="number"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border, #d1ccc4);
  border-radius: 10px;
  background: var(--surface-strong, #f8f4ee);
  font-size: 0.95rem;
  color: var(--text, #1f2730);
  -moz-appearance: textfield;
}
.property-browser-filters input[type="number"]::-webkit-inner-spin-button,
.property-browser-filters input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.property-price-range {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent-deep, #8a4528);
  margin: 0 0 4px 0;
}
.price-unit-count {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted, #777);
  margin-left: 6px;
}

/* ── Mapbox Mini Map in Property Detail ── */
@media (max-width: 860px) {
  .property-browser-filters {
    flex-direction: column;
  }
  .property-browser-filters label {
    max-width: 100%;
  }
}

/* ── Form Validation & UX ── */
.field-error {
  display: block;
  font-size: 0.75rem;
  color: #c0392b;
  margin-top: 4px;
  min-height: 0;
  transition: all 0.2s;
}

.input-error {
  border-color: #c0392b !important;
  box-shadow: 0 0 0 2px rgba(192, 57, 43, 0.15) !important;
}

.text-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(64, 120, 116, 0.15);
  outline: none;
}

/* Better touch targets on mobile */
@media (max-width: 700px) {
  .text-input,
  .consult-widget-form select {
    font-size: 16px !important;
    padding: 12px 14px;
    min-height: 48px;
  }
  
  .compact-fields label {
    margin-bottom: 4px;
  }
}

/* Consultation form is always single-column — panel is too narrow for 2-col */
.consult-widget-form .field-grid,
.consult-widget-form .compact-fields {
  grid-template-columns: 1fr !important;
}

.consult-widget-form .field-span-2 {
  grid-column: span 1;
}

/* ── Tour Property Picker ── */
.tour-property-picker {
  display: grid;
  gap: 10px;
}

.tour-property-picker.is-hidden {
  display: none;
}

.tour-property-picker > label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.tour-property-radios {
  display: grid;
  gap: 6px;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 4px;
}

.tour-radio-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 252, 246, 0.92);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.tour-radio-label:has(input:checked) {
  background: rgba(64, 120, 116, 0.1);
  border-color: rgba(64, 120, 116, 0.35);
}

.tour-radio-label input[type="radio"] {
  margin-top: 3px;
  accent-color: var(--accent, #407874);
  flex-shrink: 0;
}

.tour-radio-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tour-radio-text strong {
  font-size: 0.88rem;
  color: var(--ink);
}

.tour-radio-text span {
  font-size: 0.78rem;
  color: var(--muted);
}

.tour-property-hint {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 4px 0 0;
  padding: 0;
}

.consultation-widget-card .meeting-type-list {
  flex-direction: column;
}

.consultation-widget-card .meeting-type-button {
  width: 100%;
  flex: none;
}

@media (max-width: 1120px) {
  .consult-widget-form .text-input,
  .consult-widget-form select {
    font-size: 16px;
    padding: 14px 16px;
    min-height: 50px;
  }
}

/* ── Concierge consultation form (5-option contact picker) ── */
.contact-method-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.contact-method-fieldset legend {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  padding: 0;
}

.contact-method-list {
  display: grid;
  gap: 6px;
}

.contact-method-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 252, 246, 0.92);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.contact-method-option:has(input:checked) {
  background: rgba(64, 120, 116, 0.12);
  border-color: rgba(64, 120, 116, 0.45);
}

.contact-method-option input[type="radio"] {
  margin-top: 3px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.contact-method-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-method-card strong {
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 600;
}

.contact-method-card em {
  font-style: normal;
  font-size: 0.82rem;
  color: rgba(31, 39, 48, 0.72);
}

.appt-picker {
  display: grid;
  gap: 8px;
}

.appt-picker.is-hidden {
  display: none;
}

.appt-picker > label {
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

/* ── Calendar date picker ─────────────────────────────────────── */

.appt-date-field {
  position: relative;
}

.appt-date-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  background: rgba(255, 252, 246, 0.92);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: rgba(31, 39, 48, 0.55);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.appt-date-trigger:hover {
  border-color: rgba(64, 120, 116, 0.5);
}

.appt-date-trigger:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(64, 120, 116, 0.18);
}

.appt-date-trigger.is-open {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(64, 120, 116, 0.18);
}

.appt-date-trigger.has-value {
  color: var(--ink);
}

.appt-date-trigger-icon {
  flex-shrink: 0;
  color: rgba(31, 39, 48, 0.55);
}

.appt-calendar-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-width: 340px;
  background: #fffcf6;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(31, 39, 48, 0.18), 0 4px 12px rgba(31, 39, 48, 0.08);
  padding: 14px;
  z-index: 50;
  animation: appt-calendar-fade 0.14s ease-out;
}

@keyframes appt-calendar-fade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.appt-calendar-popover[hidden] {
  display: none;
}

.appt-calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.appt-calendar-month {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.appt-calendar-nav {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
}

.appt-calendar-nav:hover:not(:disabled) {
  background: rgba(64, 120, 116, 0.08);
  border-color: rgba(64, 120, 116, 0.25);
}

.appt-calendar-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.appt-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(31, 39, 48, 0.55);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.appt-calendar-weekdays span {
  padding: 6px 0;
}

.appt-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.appt-calendar-day {
  position: relative;
  aspect-ratio: 1 / 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
}

.appt-calendar-day.is-pad {
  pointer-events: none;
}

.appt-calendar-day.is-open:hover {
  background: rgba(64, 120, 116, 0.1);
  border-color: rgba(64, 120, 116, 0.35);
}

.appt-calendar-day.is-selected {
  background: var(--accent);
  color: #fff8ef;
  border-color: var(--accent);
}

.appt-calendar-day.is-selected:hover {
  background: var(--accent);
}

.appt-calendar-day:disabled {
  cursor: not-allowed;
}

.appt-calendar-day.is-full {
  color: rgba(31, 39, 48, 0.32);
}

.appt-calendar-day.is-past,
.appt-calendar-day.is-future {
  color: rgba(31, 39, 48, 0.22);
}

.appt-calendar-day .day-mark {
  position: absolute;
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(176, 60, 48, 0.55);
  line-height: 1;
  pointer-events: none;
}

.appt-calendar-day.is-full .day-num {
  text-decoration: line-through;
  text-decoration-color: rgba(176, 60, 48, 0.4);
}

.appt-calendar-legend {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(31, 39, 48, 0.08);
  font-size: 0.72rem;
  color: rgba(31, 39, 48, 0.62);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-swatch {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  border: 1px solid var(--line);
  display: inline-block;
}

.legend-swatch.is-open {
  background: rgba(64, 120, 116, 0.15);
  border-color: rgba(64, 120, 116, 0.4);
}

.legend-swatch.is-full {
  background: rgba(176, 60, 48, 0.12);
  border-color: rgba(176, 60, 48, 0.35);
}

@media (max-width: 480px) {
  .appt-calendar-popover {
    position: fixed;
    inset: auto 16px 16px 16px;
    top: auto;
    max-width: none;
    z-index: 1000;
    box-shadow: 0 -12px 36px rgba(31, 39, 48, 0.22);
  }
  .appt-calendar-day {
    font-size: 0.9rem;
  }
}

.slot-option {
  flex: 0 0 auto;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.92);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.15s, color 0.15s;
}

.slot-option:hover {
  transform: translateY(-1px);
  border-color: rgba(64, 120, 116, 0.45);
}

.slot-option.is-active {
  background: var(--accent);
  color: #fff8ef;
  border-color: var(--accent);
}

.field-helper {
  font-size: 0.78rem;
  color: rgba(31, 39, 48, 0.66);
  font-weight: 400;
  display: block;
}

.field-helper.is-active {
  color: var(--accent-deep);
  font-weight: 600;
}

.consult-form-feedback {
  font-size: 0.86rem;
  color: #b3261e;
  font-weight: 500;
}

.consult-form-feedback:not(:empty) {
  padding: 10px 14px;
  background: rgba(179, 38, 30, 0.08);
  border-radius: 8px;
  margin-top: 4px;
}

/* ── Floating Contact Widget ── */
.contact-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.contact-widget-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--accent-deep, #407874);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}

.contact-widget-toggle:hover {
  transform: scale(1.08);
  background: #1f4744;
}

.contact-widget-icon-close {
  display: none;
}

.contact-widget.is-open .contact-widget-icon-open {
  display: none;
}

.contact-widget.is-open .contact-widget-icon-close {
  display: block;
}

.contact-widget-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.95);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.contact-widget.is-open .contact-widget-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

.contact-widget-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid rgba(20, 33, 58, 0.1);
  border-radius: 14px;
  background: var(--surface-strong, #f8f4ee);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.92rem;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  transition: background 0.15s ease, transform 0.15s ease;
  min-width: 200px;
}

.contact-widget-option:hover {
  background: rgba(64, 120, 116, 0.08);
  transform: translateX(-4px);
}

.contact-widget-option strong {
  color: var(--ink);
}

.contact-widget-option span {
  flex: 1;
}

.contact-widget-arrow {
  color: var(--muted);
  flex-shrink: 0;
}

.widget-toast {
  position: fixed;
  bottom: 96px;
  right: 24px;
  z-index: 9001;
  background: var(--ink, #1f2730);
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.widget-toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 480px) {
  .contact-widget {
    bottom: 16px;
    right: 16px;
  }

  .contact-widget-toggle {
    width: 50px;
    height: 50px;
  }
}

/* ── SSR Content (crawlable but visually hidden) ── */
.ssr-content {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

