/* Contact form with category buttons (inc/ls-inquiry-form.php).
   Website design: ink #111, soft #f4f4f2, line #e8e8e6, accent #a4572a, Inter / Inter Tight. */
.lsq, .lsq * { box-sizing: border-box; }
.lsq { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; color: #111; }
.lsq [hidden] { display: none !important; }
.lsq-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.lsq fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.lsq-step { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 0; font-family: 'Inter Tight', 'Inter', sans-serif; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: #111; }
.lsq-step span { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #111; color: #fff; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }

/* Category buttons */
.lsq-cats { margin-bottom: 30px; }
.lsq-panel > .lsq-step:first-child { margin-top: 4px; }
/* The category buttons fill every row evenly (any number of categories, any screen). */
.lsq-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.lsq-pill { position: relative; margin: 0 !important; cursor: pointer; flex: 1 1 auto; display: flex; }
.lsq-pill span { flex: 1 1 auto; justify-content: center; text-align: center; white-space: nowrap; }
.lsq-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lsq-pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border: 1px solid #cfcfcc; border-radius: 999px; background: #fff; font-size: 15px; font-weight: 500; color: #111; transition: background .15s, border-color .15s, color .15s; }
.lsq-pill:hover span { border-color: #111; }
.lsq-pill input:checked + span { background: #111; border-color: #111; color: #fff; }
.lsq-pill input:focus-visible + span { outline: 2px solid #a4572a; outline-offset: 2px; }

/* Package chip */
.lsq-pkg { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: -8px 0 22px; padding: 12px 14px; border-radius: 14px; background: #f6ece5; color: #5c2e13; font-size: 14px; }
.lsq-pkg-k { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #a4572a; }
.lsq-pkg-s { color: #7a4a2c; }
.lsq-pkg-x { margin-left: auto; border: 0; background: transparent; font-size: 20px; line-height: 1; cursor: pointer; color: #5c2e13; }

/* Questions */
.lsq-panel { margin-bottom: 26px; animation: lsq-in .2s ease; }
@keyframes lsq-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.lsq-note { margin: 0 0 16px; padding: 12px 14px; border-radius: 14px; background: #f4f4f2; font-size: 14px; line-height: 1.5; color: #3f3f3f; }
.lsq-note p { margin: 0; }
.lsq-note a { color: #a4572a; font-weight: 600; }
.lsq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 16px; }
.lsq-field { min-width: 0; }
.lsq-field.is-wide { grid-column: 1 / -1; }
.lsq-label { display: block; margin: 0 0 6px !important; font-size: 14px !important; font-weight: 600 !important; color: #111 !important; line-height: 1.35; }
.lsq-label i { font-style: normal; color: #a4572a; }
.lsq input[type=text], .lsq input[type=email], .lsq input[type=tel], .lsq input[type=number], .lsq input[type=date], .lsq input[type=time], .lsq select, .lsq textarea {
    display: block; width: 100% !important; min-height: 50px; margin: 0 !important; padding: 12px 14px !important; border: 1px solid #d6d6d2 !important; border-radius: 12px !important;
    background: #fff !important; font: inherit; font-size: 16px !important; line-height: 1.35 !important; color: #111 !important; box-shadow: none !important; -webkit-appearance: none; appearance: none;
}
.lsq select { padding-right: 38px !important; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23111' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center !important; }
.lsq textarea { min-height: 120px; resize: vertical; }
.lsq input:focus, .lsq select:focus, .lsq textarea:focus { outline: none; border-color: #111 !important; box-shadow: 0 0 0 3px rgba(0, 0, 0, .08) !important; }
.lsq-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.lsq-chip { position: relative; margin: 0 !important; cursor: pointer; }
.lsq-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lsq-chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 15px; border: 1px solid #d6d6d2; border-radius: 999px; background: #fff; font-size: 14px; color: #3f3f3f; }
.lsq-chip input[type=checkbox] + span::before { content: ''; width: 14px; height: 14px; margin-right: 8px; border: 1.5px solid #9a9a96; border-radius: 4px; }
.lsq-chip input:checked + span { border-color: #111; background: #111; color: #fff; }
.lsq-chip input[type=checkbox]:checked + span::before { border-color: #fff; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' fill='none' stroke='%23111' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat center; }
.lsq-chip input:focus-visible + span { outline: 2px solid #a4572a; outline-offset: 2px; }

/* Errors */
.lsq-err { margin: 6px 0 0 !important; font-size: 13px; font-weight: 600; color: #9b2c1c; }
.lsq-field.is-bad input, .lsq-field.is-bad select, .lsq-field.is-bad textarea { border-color: #c0392b !important; }
.lsq-field.is-bad .lsq-chip span { border-color: #e6c4bd; }
.lsq-alert { margin: 0 0 18px !important; padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; }
.lsq-alert.is-ok { background: #e7f1ea; color: #1e5e37; }
.lsq-alert.is-err { background: #fbe9e7; color: #9b2c1c; margin-top: 14px !important; }

/* Send */
.lsq-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; }
.lsq button.lsq-send[type=submit] { min-height: 54px; padding: 0 34px !important; border: 0 !important; border-radius: 999px !important; background: #111 !important; color: #fff !important; font: 600 16px/1 'Inter', sans-serif !important; cursor: pointer; transition: background .15s; box-shadow: none !important; }
.lsq button.lsq-send[type=submit]:hover { background: #333 !important; }
.lsq-send:disabled { opacity: .6; cursor: default; }
.lsq-small { margin: 0 !important; font-size: 13px; color: #6a6a66; max-width: 340px; }

/* Thank you */
.lsq-done { padding: 36px 8px; text-align: center; outline: none; }
.lsq-done-ic { display: inline-flex; width: 56px; height: 56px; border-radius: 50%; align-items: center; justify-content: center; background: #e7f1ea; color: #1e5e37; font-size: 26px; font-weight: 700; }
.lsq-done h3 { margin: 16px 0 8px; font-family: 'Inter Tight', 'Inter', sans-serif; font-size: 26px; letter-spacing: -0.02em; }
.lsq-done p { margin: 0 auto 20px; max-width: 420px; font-size: 16px; line-height: 1.5; color: #5a5a5a; }

@media (max-width: 640px) {
    .lsq-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .lsq-pills { gap: 6px; }
    .lsq-pill span { min-height: 40px; padding: 8px 13px; font-size: 14px; }
    .lsq-send { width: 100%; }
}

/* Date picker (js/ls-inquiry.js): big calendar card in the site's style */
.lsq-field { position: relative; }
.lsq button.lsq-date { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 50px; margin: 0; padding: 12px 14px !important; border: 1px solid #d6d6d2 !important; border-radius: 12px !important; background: #fff !important; font: 400 16px/1.35 'Inter', sans-serif !important; color: #111 !important; text-align: left; cursor: pointer; box-shadow: none !important; }
.lsq button.lsq-date .is-ph { color: #8a8a86; }
.lsq button.lsq-date:hover, .lsq button.lsq-date[aria-expanded="true"] { border-color: #111 !important; }
.lsq button.lsq-date:focus-visible { outline: none; border-color: #111 !important; box-shadow: 0 0 0 3px rgba(0, 0, 0, .08) !important; }
.lsq-field.is-bad button.lsq-date { border-color: #c0392b !important; }
.lsq-cal { position: absolute; z-index: 50; top: calc(100% + 6px); left: 0; width: 340px; max-width: calc(100vw - 32px); padding: 16px; border: 1px solid #e8e8e6; border-radius: 20px; background: #fff; box-shadow: 0 24px 60px rgba(17, 17, 17, .16); animation: lsq-in .15s ease; }
.lsq-cal-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 10px; }
.lsq-cal-head strong { font-family: 'Inter Tight', 'Inter', sans-serif; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: #111; }
.lsq button.lsq-cal-nav { width: 38px; height: 38px; padding: 0 !important; border: 1px solid #e8e8e6 !important; border-radius: 50% !important; background: #fff !important; color: #111 !important; font: 600 22px/34px 'Inter', sans-serif !important; cursor: pointer; }
.lsq button.lsq-cal-nav:hover:not(:disabled) { background: #111 !important; color: #fff !important; border-color: #111 !important; }
.lsq button.lsq-cal-nav:disabled { opacity: .3; cursor: default; }
.lsq-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.lsq-cal-dow { padding: 4px 0 6px; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #8a8a86; }
.lsq button.lsq-cal-day { aspect-ratio: 1; min-height: 40px; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: transparent !important; color: #111 !important; font: 500 15px/1 'Inter', sans-serif !important; cursor: pointer; box-shadow: none !important; }
.lsq button.lsq-cal-day:hover:not(:disabled) { background: #f4f4f2 !important; }
.lsq button.lsq-cal-day.is-today { box-shadow: inset 0 0 0 1.5px #a4572a !important; }
.lsq button.lsq-cal-day.is-sel { background: #111 !important; color: #fff !important; box-shadow: none !important; }
.lsq button.lsq-cal-day:disabled { color: #c9c9c5 !important; cursor: default; }
.lsq button.lsq-cal-day:focus-visible { outline: 2px solid #a4572a; outline-offset: 1px; }
@media (max-width: 640px) { .lsq-cal { left: 0; right: 0; width: auto; } }

/* Phones: the category buttons in two even columns (an odd last one spans both). */
@media (max-width: 640px) {
    .lsq-pills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lsq-pill span { white-space: normal; line-height: 1.25; padding: 9px 10px; font-size: 13.5px; border-radius: 14px; }
    .lsq-pill:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
