/* ============================================================
   Gbooky — Private Trip Page
   ============================================================ */

.pt-wrap { background: var(--clr-white); }

/* Phone field */
.phone-wrap {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.phone-wrap:focus-within {
  border-color: var(--clr-sky);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.12);
}
.phone-prefix {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  background: var(--clr-bg);
  border-right: 1px solid var(--clr-border);
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-primary);
  white-space: nowrap;
  flex-shrink: 0;
}
.phone-flag { font-size: 16px; line-height: 1; }
.phone-code { font-size: 13px; }
.phone-wrap .form-input {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  flex: 1;
}

/* ── Hero ── */
.pt-hero {
  background: #f8fafc;
  border-bottom: 1px solid var(--clr-border);
  padding: 72px 0 64px;
}
.pt-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px) {
  .pt-hero-inner { grid-template-columns: 1fr; gap: 40px; }
}

.pt-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-sky);
  background: rgba(14,165,233,0.08);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.pt-hero-title {
  font-size: 44px;
  font-weight: 800;
  color: var(--clr-primary);
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
}
@media (max-width: 600px) { .pt-hero-title { font-size: 32px; } }
.pt-hero-desc {
  font-size: 16px;
  color: var(--clr-body);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 440px;
}
.pt-hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
}
.pt-stat { text-align: center; }
.pt-stat strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--clr-primary);
  letter-spacing: -0.5px;
  line-height: 1;
}
.pt-stat span {
  font-size: 12px;
  color: var(--clr-muted);
  margin-top: 2px;
  display: block;
}
.pt-stat-div {
  width: 1px;
  height: 32px;
  background: var(--clr-border);
}

/* Why Go Private card */
.pt-why-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.pt-why-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--clr-sky);
}
.pt-why-header h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--clr-primary);
}
.pt-why-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 24px; }
.pt-why-item { display: flex; align-items: flex-start; gap: 14px; }
.pt-why-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--clr-sky);
}
.pt-why-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-primary);
  margin-bottom: 2px;
}
.pt-why-text p {
  font-size: 13px;
  color: var(--clr-muted);
  line-height: 1.5;
  margin: 0;
}
.pt-why-footer {
  border-top: 1px solid var(--clr-border);
  padding-top: 18px;
}
.pt-why-footer-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-muted);
  display: block;
  margin-bottom: 8px;
}
.pt-dest-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pt-dest-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--clr-body);
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 20px;
  transition: background var(--transition), color var(--transition);
}
.pt-dest-tag:hover { background: var(--clr-sky); color: #fff; }

/* ── Form Section ── */
.pt-form-section { padding: 72px 0; }
.pt-section-head { text-align: center; margin-bottom: 40px; }
.pt-section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--clr-primary);
  letter-spacing: -0.8px;
  margin-bottom: 10px;
}
.pt-section-sub {
  font-size: var(--fs-sub);
  color: var(--clr-muted);
}
.pt-center { text-align: center; }

.pt-form-wrap {
  max-width: 760px;
  margin: 0 auto;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
}
@media (max-width: 600px) { .pt-form-wrap { padding: 24px 16px; } }

.pt-form { display: flex; flex-direction: column; gap: 20px; }
.pt-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) { .pt-form-row { grid-template-columns: 1fr; } }

.req { color: #ef4444; }
.pt-form select.form-input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px !important;
}
.form-hint { font-size: 12px; color: var(--clr-muted); margin-bottom: 6px; }

.pt-textarea { min-height: 120px; resize: vertical; }

/* Privacy checkbox */
.pt-privacy { display: flex; align-items: flex-start; }
.pt-check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--clr-body);
  cursor: pointer;
}
.pt-check-label input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; accent-color: var(--clr-sky); }
.pt-check-label a { color: var(--clr-sky); text-decoration: underline; }

/* Messages */
.pt-msg { font-size: 13px; padding: 12px 16px; border-radius: var(--radius-md); }
.pt-msg-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* Submit button */
.pt-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  width: 100%;
  margin-top: 4px;
}

/* Success state */
.pt-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 24px;
  gap: 12px;
  color: var(--clr-sky);
}
.pt-success h3 { font-size: 22px; font-weight: 700; color: var(--clr-primary); }
.pt-success p  { font-size: var(--fs-sub); color: var(--clr-muted); max-width: 380px; }

/* ── How It Works ── */
.pt-hiw-section {
  background: #f8fafc;
  border-top: 1px solid var(--clr-border);
  padding: 72px 0;
}
.pt-hiw-section .pt-section-title { margin-bottom: 8px; }
.pt-hiw-section .pt-section-sub { margin-bottom: 48px; }

.pt-hiw-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
@media (max-width: 768px) {
  .pt-hiw-grid { flex-direction: column; }
  .pt-hiw-arrow { transform: rotate(90deg); }
}
.pt-hiw-step {
  flex: 1;
  max-width: 240px;
  text-align: center;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.pt-hiw-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--clr-sky);
  background: rgba(14,165,233,0.08);
  padding: 3px 10px;
  border-radius: 20px;
}
.pt-hiw-step svg { color: var(--clr-muted); }
.pt-hiw-step h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--clr-primary);
}
.pt-hiw-step p {
  font-size: 13px;
  color: var(--clr-muted);
  line-height: 1.6;
}
.pt-hiw-arrow {
  color: var(--clr-border);
  flex-shrink: 0;
  padding: 0 8px;
}

/* Private Trip hero, mobile app scale — smaller text, shorter section.
   Placed at the very end of the file so it always wins over the rules
   above regardless of selector-order ties. */
@media (max-width: 768px) {
  .pt-hero { padding: 24px 0 20px; }
  .pt-hero-left { text-align: center; }
  .pt-eyebrow { font-size: 10px; padding: 3px 10px; margin-bottom: 10px; }
  .pt-hero-title { font-size: 24px; letter-spacing: -0.5px; margin-bottom: 8px; }
  .pt-hero-desc { font-size: 13px; line-height: 1.5; margin-bottom: 16px; margin-left: auto; margin-right: auto; }
  .pt-hero-stats { gap: 12px; justify-content: center; }
  .pt-stat strong { font-size: 17px; }
  .pt-stat span { font-size: 10px; }
  .pt-stat-div { height: 22px; }

  /* How It Works, mobile app scale — 3 real card boxes (not the plain
     side-by-side text blocks used on desktop), step numbers removed, an
     arrow still shown between each card to signal the flow. */
  .pt-hiw-section { padding: 32px 0; }
  .pt-section-title { font-size: 22px; letter-spacing: -0.4px; }
  .pt-section-sub { font-size: 13px; }
  .pt-hiw-section .pt-section-sub { margin-bottom: 20px; }

  /* 3 cards side by side (overrides the earlier max-width:768px rule that
     stacks them into a column) with a small right-pointing arrow between
     each — not the rotated-down arrow used for the stacked layout. */
  .pt-hiw-grid { flex-direction: row; align-items: stretch; gap: 4px; }
  .pt-hiw-step {
    flex: 1;
    min-width: 0;
    max-width: none;
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: 4px;
    padding: 10px 6px;
    gap: 6px;
    text-align: center;
    box-shadow: var(--shadow-sm);
  }
  .pt-hiw-num { display: none; }
  .pt-hiw-step svg { width: 18px; height: 18px; color: var(--clr-sky); }
  .pt-hiw-step h3 { font-size: 10.5px; line-height: 1.25; }
  .pt-hiw-step p { display: none; }

  .pt-hiw-arrow { padding: 0 2px; color: var(--clr-sky); transform: none; flex-shrink: 0; }
  .pt-hiw-arrow svg { width: 14px; height: 14px; }

  /* "Why Go Private?" card, mobile — keep the original desktop sizing,
     just drop the white card background/border so it sits flush against
     the hero's own background instead of looking like a boxed card. */
  .pt-why-card { background: none; border: none; box-shadow: none; }
  /* Side padding since JS moves #ptHeroRight out from inside
     .pt-hero-inner's own .container (which supplied this before). */
  .pt-hero-right { padding: 0 14px 24px; }

  /* How It Works heading/subtitle left-aligned instead of centered
     (overrides the shared .pt-center utility class via higher specificity
     from the .pt-hiw-section ancestor). */
  .pt-hiw-section .pt-section-title,
  .pt-hiw-section .pt-section-sub { text-align: left; }
  .pt-hiw-step { text-align: left; align-items: flex-start; }

  /* Departure Date field — mobile browsers draw their own native
     calendar icon in a spot/style that doesn't match the desktop
     look, so hide it and draw the same icon ourselves (same overlay
     trick already used for .pt-form select.form-input above). */
  input[type="date"].form-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
    padding-right: 36px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
  }
  input[type="date"].form-input::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
  }
}
