/* Itinerary Concierge Page Styles */
.concierge-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}


/* ===========================
   Date inputs: theme + icon
   =========================== */

/* Ensure form controls inherit the site font */
.itinerary-form input,
.itinerary-form select,
.itinerary-form textarea { font-family: inherit; }

/* Base look */
.itinerary-form input[type="date"]{
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 44px;
  padding: 0.75rem 2.25rem 0.75rem 0.75rem; /* room for icon on the right */
  border: 1px solid #D9D9D9;
  border-radius: 7px;
  background: #fff;
  font-size: 1rem;
  line-height: 1.2;
  color: #1b2d2a; /* body copy tone */
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}

/* Focus states to match buttons/brand */
.itinerary-form input[type="date"]:focus{
  outline: none;
  border-color: #3A5B56;
  box-shadow: 0 0 0 3px rgba(58, 91, 86, 0.12);
}

/* Invalid still uses your error colors */
.itinerary-form input[type="date"].is-invalid{
  border-color: #C04343;
  background-color: #FFF5F5;
  box-shadow: 0 0 0 3px rgba(192,67,67,.12);
}

/* Tweak inner field spacing on WebKit */
.itinerary-form input[type="date"]::-webkit-datetime-edit{ padding: 0 2px; }
.itinerary-form input[type="date"]::-webkit-inner-spin-button,
.itinerary-form input[type="date"]::-webkit-clear-button{ display: none; }

/* Brand the calendar button (Chrome/Edge/Safari) */
.itinerary-form input[type="date"]::-webkit-calendar-picker-indicator{
  background: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%233A5B56' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'>\
<rect x='3' y='4' width='18' height='18' rx='2' ry='2'/>\
<line x1='16' y1='2' x2='16' y2='6'/>\
<line x1='8' y1='2' x2='8' y2='6'/>\
<line x1='3' y1='10' x2='21' y2='10'/>\
</svg>") no-repeat center center;
  opacity: .95;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
}
.itinerary-form input[type="date"]::-webkit-calendar-picker-indicator:hover{
  background-color: rgba(58,91,86,.08);
}



/* Optional: tidy labels that sit above these inputs */
.itinerary-form label[for="start_date"],
.itinerary-form label[for="end_date"],
.itinerary-form label[for="window_start"],
.itinerary-form label[for="window_end"]{
  font-weight: 600;
  /*color: #114b3d;*/
}





.hero-section {
    text-align: center;
    max-width: 800px;
    margin: 2rem auto 4rem;
}

.hero-section h1 {
    font-size: 41px;
    /* margin-bottom: 0.5rem; */
    color: #3A5B56;
    line-height: 1.2;
    font-weight: 500;
}

.hero-section p {
    font-size: 21px;
    color: #616161;
    line-height: 1.2;
    margin-top: 15px;
}

.hero-section p.thank-you-message
 {
    font-size: 25px;
    color: #616161;
    line-height: 1.5;
    margin-top: 25px;
}

.concierge-layout {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 3rem;
    align-items: start;
}

/* Left Column: Info */
.concierge-info .info-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.concierge-info ul,
.concierge-info ol {
    list-style: none;
    padding-left: 0;
}

/* --- UPDATED: separate UL vs OL behaviours --- */
.concierge-info ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0.8rem;
    line-height: 1.5;
    padding-left: 0;
    position: static;
    font-weight: 500;
    color: #0c4c3b;
    font-size: 17px;
}
.concierge-info ul li::before { content: none; }

/* Keep OL layout for "How it works" custom counters */
.concierge-info ol li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 0.8rem;
    line-height: 1.5;
    font-size: 17px;
}

.info-box {
    background-color: #F9F3EC;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.info-box h3 {
    margin-top: 0;
    color: #074938;
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 20px;
}

.how-it-works h3 {
    margin-top: 0;
    color: #074938;
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 20px;
}

.how-it-works ol {
    counter-reset: step-counter;
}

.how-it-works ol li {
    counter-increment: step-counter;
    color: #2f2f2f;
    font-weight: 500;
}

ul.trust-list li {
    color: #2f2f2f !important; /* trust list uses darker copy color */
}

.how-it-works ol li::before {
    content: counter(step-counter);
    font-weight: 400;
    color: #a7a7a7;
    width: 22px;
    height: 22px;
    display: inline-block;
    text-align: center;
    line-height: 22px;
    font-size: 21px;
    margin-right: 10px;
    position: absolute;
    left: 0;
    top: -1px;
}

/* --- NEW: icon bullets for trust list + info-box lists --- */
.concierge-info .trust-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: #2f2f2f;
    font-weight: 500;
}
.concierge-info .trust-icon, .concierge-info .tick-icon {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
}

.testimonial {
    margin-top: 2rem;
    padding-left: 1.5rem;
    border-left: 3px solid #F9F3EC;
}
.testimonial blockquote {
    margin: 0;
    font-style: italic;
    color: #555;
}
.testimonial cite {
    display: flex;
    align-items: center;
    margin-top: 1rem;
    font-style: normal;
    font-weight: bold;
}
.testimonial cite img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

/* Right Column: Form */
.concierge-form-wrap {
    position: sticky;
    top: 20px;
}

.itinerary-form {
    background: #fff;
    padding: 30px 30px;
    border: 1px solid #EAEAEA;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

textarea#destinations_text { border-radius: 7px; }

.itinerary-form h2 {
    margin-top: 0;
    margin-bottom: 32px;
    font-size: 28px;
    font-weight: 600;
    color: #114b3d;
}
.itinerary-form h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.form-group { margin-bottom: 28px; }
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 17px;
}
.form-group label .req {
    color: #bf232c;
    margin-left: 6px;
    font-weight: 700;
}

.form-group .fg-not-1 label {
    display: block;
    font-weight: 400 !important;
    margin-bottom: 10px;
    font-size: 17px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="number"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.form-group input.is-invalid,
.form-group textarea.is-invalid,
.form-group select.is-invalid {
    border-color: #C04343;
    background-color: #FFF5F5;
    /*box-shadow: 0 0 0 3px rgba(192, 67, 67, 0.12);*/
}

.form-group small {
    font-size: 0.85rem;
    color: #666;
    margin-top: 10px;
    display: block;
}

.form-row {
    display: flex;
    gap: 1rem;
}
.form-row .form-group { flex: 1; }

.form-divider {
    border: 0;
    border-top: 1px solid #f1f1f1;
    margin: 10px 0 30px;
}

/* Segmented Control for Dates */
.segmented-control { display: flex; border: 1px solid #ccc; border-radius: 4px; overflow: hidden; }
.segmented-control input[type="radio"] { display: none; }
.segmented-control label {
    flex: 1;
    text-align: center;
    padding: 0.7rem;
    margin: 0;
    cursor: pointer;
    background: #f9f9f9;
    color: #555;
    transition: background 0.2s;
}
.segmented-control input[type="radio"]:checked + label {
    background: #3A5B56;
    color: #fff;
    font-weight: 600;
}
.segmented-control label:not(:last-child) { border-right: 1px solid #ccc; }

/* Native Radio Button Styling for 'Desired Pace' / radio rows */
.radio-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}
.radio-group input[type="radio"] { margin: 0 0.4rem 0 0; accent-color: #3A5B56; }
.form-group .radio-group label {
    display: inline-block;
    font-weight: normal;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: none;
    color: inherit;
    cursor: pointer;
    transition: none;
}
.radio-group input[type="radio"] + label { margin-right: 1.25rem; }

/* Checkboxes */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.9rem;
}

.checkbox-group .checkbox-item { display: flex; align-items: center; gap: 0.5rem; }
.form-group .checkbox-group label { display: inline-block; font-weight: normal; margin-bottom: 0; cursor: pointer; }
.checkbox-group input[type="checkbox"] { width: 16px; height: 16px; accent-color: #3A5B56; margin: 0; }

/* Disabled state for form elements */
input:disabled, select:disabled, textarea:disabled {
    background-color: #f2f2f2;
    cursor: not-allowed;
    opacity: 0.7;
}
.disabled-label { color: #999; cursor: not-allowed; }
small.small-trip-style { margin-top: 15px; }
label.adult-only { margin-top: 2px; }

.small-date-windows {
    /* display: none; */
    position: relative;
    font-size: 17px;
    top: -15px;
    /* margin-top: 35px; */
}

.consent-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #666;
}
.consent-group input[type="checkbox"] {
    margin-top: 4px;
    width: 16px;
    accent-color: #3A5B56;
    height: 16px;
}
.consent-group label { margin: 0; font-weight: normal; line-height: 1.2; }

.cta-area { text-align: center; }
.cta-area .btn-primary {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    background-color: #1e4c3f;
    color: #fff;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    font-weight: bold;
}
.cta-area .microcopy {
    font-size: 0.85rem;
    color: #666;
    margin-top: 1rem;
    line-height: 1.5;
}

.ty-image-1 {
    text-align: center;
}
.thank-you-actions { margin-top: 2rem; display: flex; justify-content: center; gap: 1rem; }
.thank-you-actions .btn-primary, .thank-you-actions .btn-secondary {
    padding: 0.8rem 1.5rem; text-decoration: none; border-radius: 4px; font-weight: 600;
}
.thank-you-actions .btn-primary { background-color: #3A5B56; color: #fff; }
.thank-you-actions .btn-secondary { background-color: #fff; color: #3A5B56; border: 1px solid #3A5B56; }

/* Server-side error box (kept for fallback but hidden by default – modal will be used) */
.form-errors { display: none; }

/* Responsive */
@media (max-width: 992px) {
    .concierge-layout { grid-template-columns: 1fr; }
    .concierge-form-wrap { position: static; margin-top: 3rem; }
}
@media (max-width: 768px) {
    .hero-section h1 { font-size: 2rem; }
    .form-row { flex-direction: column; gap: 0; }
    .itinerary-form { padding: 1.5rem; }
}

/* ===========================
   VALIDATION MODAL (NEW)
   =========================== */

body.hr-modal-open { overflow: hidden; }

.hr-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 9998;
    display: none;
}
.hr-modal-backdrop.is-visible { display: block; }

.hr-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(560px, calc(100% - 32px));
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    overflow: hidden;
    display: none;
}
.hr-modal.is-visible { display: block; }

.hr-modal--warning { background: #ffffff;}
.hr-modal--error   { background: #ffffff;}

.hr-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    /* border-bottom: 1px solid rgba(0, 0, 0, 0.06); */
}
.hr-modal--warning .hr-modal-header { background: #F9F3EC; }
.hr-modal--error .hr-modal-header   { background: #F9F3EC; }

.hr-modal-title {
    margin: 0;
    font-size: 18px;
    color: #1b2d2a;
    font-weight: 500;
}
.hr-modal-close {
    background: transparent;
    border: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #333;
    padding: 4px 8px;
}

.hr-modal-body { padding: 16px; color: #2f2f2f; }
.hr-modal-body p { margin: 0 0 10px; }
.hr-modal-list {
    margin: 0;
    padding-left: 18px;
    max-height: 220px;
    overflow: auto;
}
.hr-modal-list li {
    margin: 6px 0 10px;
    font-weight: 500;
}

.hr-modal-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 14px 16px 16px;
    /* border-top: 1px solid rgba(0, 0, 0, 0.06); */
}
.hr-btn {
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
}
.hr-btn-primary { background: #1e4c3f; color: #fff; }
.hr-btn-secondary { background: #fff; color: #1e4c3f; border-color: #1e4c3f; }

/* Make the backdrop click target not block the modal pointer events */
.hr-modal, .hr-modal * { pointer-events: auto; }
