/* ===========================================================
   Sequent Travels — Call Modal
   Palette: ink navy #12232E · sand gold #E3A857 · paper #FAF7F1
   =========================================================== */

:root {
  --ink: #12232E;
  --ink-soft: #2C4356;
  --paper: #FAF7F1;
  --sand: #E3A857;
  --sand-dark: #C98A34;
  --line: #E4DFD3;
  --text-muted: #6B7A85;
  --radius: 16px;
  --shadow: 0 24px 60px -12px rgba(18, 35, 46, 0.35);
}

* { box-sizing: border-box; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--paper);
}

/* ---------- Trigger button ---------- */
.call-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 40px;
  padding: 12px 22px;
  background: var(--ink);
  color: var(--paper);
  border: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.call-trigger:hover { background: var(--ink-soft); }
.call-trigger:active { transform: scale(0.97); }
.call-trigger:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 3px;
}

/* ---------- Modal backdrop ---------- */
.call-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 35, 46, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 1000;
  padding: 20px;
}

.call-modal.active {
  opacity: 1;
  visibility: visible;
}

/* ---------- Panel ---------- */
.call-modal__panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 28px 28px;
  transform: translateY(16px) scale(0.97);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.call-modal.active .call-modal__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* ---------- Close button ---------- */
.call-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.call-modal__close:hover {
  background: var(--line);
  color: var(--ink);
}
.call-modal__close:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 2px;
}

/* ---------- Header ---------- */
.call-modal__header {
  margin-bottom: 22px;
}

.call-modal__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sand-dark);
  margin-bottom: 8px;
}

.call-modal__title {
  margin: 0 0 6px;
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.call-modal__subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------- Options ---------- */
.call-modal__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.call-option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.call-option:hover {
  border-color: var(--sand);
  box-shadow: 0 6px 16px -6px rgba(18, 35, 46, 0.18);
  transform: translateY(-1px);
}

.call-option:active { transform: translateY(0); }

.call-option:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 2px;
}

.call-option__icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
}

.call-option__text {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.call-option__number {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.call-option__arrow {
  color: var(--sand-dark);
  font-size: 16px;
  transition: transform 0.15s ease;
}

.call-option:hover .call-option__arrow {
  transform: translateX(3px);
}

/* ---------- Mobile ---------- */
@media (max-width: 420px) {
  .call-modal__panel {
    padding: 26px 20px 22px;
  }
  .call-modal__title {
    font-size: 19px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .call-modal,
  .call-modal__panel,
  .call-option,
  .call-trigger {
    transition: none !important;
  }
}