/* Tae Design quotation page — scoped styles */
.q-page {
 background: #111214;
 color: #f3f3f3;
 font-family: Poppins, Arial, sans-serif
}

.q-page * {
 box-sizing: border-box
}

.q-page em {
 color: #ff7400;
 font-style: normal
}

.q-page .container {
 max-width: 1160px
}

.q-eyebrow {
 color: #ff7400;
 letter-spacing: 2px;
 font-size: 12px;
 font-weight: 600
}

.q-hero {
 padding: 115px 0 100px;
 background: linear-gradient(115deg, rgba(12, 13, 14, .96), rgba(12, 13, 14, .72)), url('../images/bg/bg-about.jpg') center/cover
}

.q-hero h1 {
 font-size: clamp(38px, 6vw, 78px);
 font-weight: 700;
 line-height: 1.09;
 letter-spacing: -2px;
 max-width: 850px;
 margin: 24px 0
}

.q-hero p {
 color: #c5c5c5;
 line-height: 1.9
}

.q-hero-link {
 display: inline-block;
 margin-top: 26px;
 padding: 14px 23px;
 background: #ff7400;
 color: #141414 !important;
 font-size: 12px;
 font-weight: 700;
 letter-spacing: 1px
}

.q-hero-link:hover {
 background: #ff8b2e;
 text-decoration: none
}

.q-section {
 padding: 80px 0 110px
}

.q-shell {
 max-width: 900px;
 margin: auto;
 background: #1b1c1e;
 border: 1px solid #333;
 padding: 48px 54px
}

.q-top {
 display: flex;
 justify-content: space-between;
 align-items: flex-end;
 gap: 16px
}

.q-top h2 {
 font-size: 36px;
 margin: 9px 0 20px;
 font-weight: 700
}

.q-count {
 color: #aaa;
 font-size: 15px
}

.q-progress {
 height: 3px;
 background: #363638;
 margin: 10px 0 23px
}

.q-progress span {
 display: block;
 background: #ff7400;
 height: 100%;
 width: 25%;
 transition: width .2s
}

.q-tabs {
 display: flex;
 gap: 8px;
 margin-bottom: 38px
}

.q-tabs>span {
 flex: 1;
 color: #777;
 font-size: 12px;
 border-top: 1px solid #414141;
 padding-top: 12px
}

.q-tabs>span.is-active {
 color: #ff7400;
 border-color: #ff7400
}

.q-tabs small {
 display: block;
 color: inherit;
 font-size: 12px;
 margin-top: 4px
}

.q-step {
 border: 0;
 padding: 0;
 margin: 0;
 min-width: 0
}

.q-step[hidden],
.q-success[hidden] {
 display: none !important
}

.q-stephead {
 margin-bottom: 28px
}

.q-stephead h2 {
 font-size: 29px;
 margin: 9px 0 5px;
 color: #fff
}

.q-stephead p {
 color: #a4a4a4
}

.q-grid {
 display: grid;
 grid-template-columns: repeat(2, minmax(0, 1fr));
 gap: 24px 18px
}

.q-wide {
 grid-column: 1/-1
}

.q-field {
 display: flex;
 flex-direction: column;
 gap: 10px;
 min-width: 0;
 margin: 0
}

.q-field>span,
.q-label {
 font-size: 13px;
 color: #ddd;
 font-weight: 500
}

.q-field input:not([type=file]),
.q-field select,
.q-field textarea {
 background: #242527;
 border: 1px solid #424244;
 border-radius: 0;
 color: #f5f5f5;
 min-height: 48px;
 padding: 12px 14px;
 width: 100%;
 outline: none
}

.q-field input:focus,
.q-field select:focus,
.q-field textarea:focus {
 border-color: #ff7400
}

.q-field select option {
 background: #242527
}

.q-field textarea {
 resize: vertical
}

.q-options {
 display: grid;
 grid-template-columns: repeat(3, minmax(0, 1fr));
 gap: 10px
}

.q-choice {
 position: relative;
 margin: 0;
 cursor: pointer
}

.q-choice input {
 position: absolute;
 opacity: 0;
 width: 1px;
 height: 1px
}

.q-choice span {
 display: flex;
 align-items: center;
 justify-content: center;
 text-align: center;
 min-height: 65px;
 padding: 12px 8px;
 background: #252628;
 border: 1px solid #424244;
 color: #ccc;
 font-size: 12px;
 line-height: 1.4;
 transition: .15s
}

.q-choice input:checked+span {
 border-color: #ff7400;
 background: #3b2b20;
 color: #ff963f
}

.q-choice input:focus-visible+span {
 outline: 2px solid #ff7400;
 outline-offset: 2px
}

.q-consent {
 display: flex;
 gap: 12px;
 align-items: flex-start;
 color: #bbb;
 font-size: 12px;
 line-height: 1.6
}

.q-consent input {
 accent-color: #ff7400;
 margin-top: 3px
}

.q-actions {
 display: flex;
 justify-content: flex-end;
 gap: 12px;
 margin-top: 38px
}

.q-actions button {
 padding: 15px 25px;
 border: 1px solid #ff7400;
 background: #ff7400;
 color: #161616;
 font-weight: 700;
 font-size: 12px;
 letter-spacing: 1px
}

.q-actions .q-back {
 background: transparent;
 border-color: #555;
 color: #ddd;
 margin-right: auto
}

.q-actions button:disabled {
 opacity: .6;
 cursor: wait
}

.q-error {
 color: #ff9c8e;
 margin-top: 16px;
 font-size: 13px
}

.q-success {
 text-align: center;
 padding: 45px 10px
}

.q-success h2 {
 font-size: 50px;
 margin: 14px 0
}

.q-success p {
 color: #ccc;
 line-height: 1.8
}

.q-success #qSummary {
 border-top: 1px solid #444;
 margin-top: 25px;
 padding-top: 20px;
 color: #bbb
}

.q-hp {
 position: absolute;
 left: -9999px
}

.q-field small {
 color: #999
}

@media(max-width:767px) {
 .q-hero {
  padding: 80px 0
 }

 .q-hero h1 {
  letter-spacing: -1px
 }

 .q-section {
  padding: 35px 0 70px
 }

 .q-shell {
  padding: 27px 18px
 }

 .q-top h2 {
  font-size: 28px
 }

 .q-grid {
  grid-template-columns: 1fr
 }

 .q-options {
  grid-template-columns: repeat(2, minmax(0, 1fr))
 }

 .q-tabs small {
  font-size: 10px
 }

 .q-stephead h2 {
  font-size: 25px
 }

 .q-actions button {
  padding: 14px 17px
 }
}

.q-success {
 padding: 32px 0;
 text-align: center
}

.q-success-check {
 width: 76px;
 height: 76px;
 border: 2px solid #ff7400;
 border-radius: 50%;
 color: #ff7400;
 font-size: 45px;
 line-height: 72px;
 margin: 0 auto 20px
}

.q-success-intro {
 max-width: 620px;
 margin: 0 auto 30px
}

.q-summary-panel,
.q-next-panel {
 text-align: left;
 background: #151617;
 border: 1px solid #383838;
 padding: 28px;
 margin: 28px 0
}

.q-summary-panel h3,
.q-next-panel h3 {
 font-size: 21px;
 font-weight: 600;
 color: #fff;
 margin: 0 0 20px
}

.q-summary-panel h3 small,
.q-next-panel h3 small {
 display: inline;
 color: #aaa;
 font-size: 14px
}

.q-success #qSummary {
 margin: 0;
 padding: 0;
 border: 0;
 color: inherit
}

.q-summary-group {
 border-top: 1px solid #343434;
 padding: 22px 0 4px
}

.q-summary-group h4 {
 color: #ff7400;
 font-size: 13px;
 letter-spacing: .6px;
 margin: 0 0 18px;
 font-weight: 600
}

.q-summary-grid {
 display: grid;
 grid-template-columns: repeat(2, minmax(0, 1fr));
 gap: 18px 24px
}

.q-summary-item {
 min-width: 0;
 padding-bottom: 14px
}

.q-summary-label {
 display: block;
 color: #999;
 font-size: 12px;
 margin-bottom: 7px;
 line-height: 1.5
}

.q-summary-value {
 display: block;
 color: #f3f3f3;
 font-size: 14px;
 line-height: 1.6;
 font-weight: 500;
 overflow-wrap: anywhere;
 white-space: pre-wrap
}

.q-next-list {
 list-style: none;
 padding: 0;
 margin: 0
}

.q-next-list li {
 display: flex;
 gap: 16px;
 align-items: flex-start;
 color: #f2f2f2;
 margin: 20px 0;
 font-size: 14px;
 line-height: 1.5
}

.q-next-number {
 display: flex;
 align-items: center;
 justify-content: center;
 flex: 0 0 30px;
 height: 30px;
 border-radius: 50%;
 background: #ff7400;
 color: #161616;
 font-weight: 700
}

.q-next-list small {
 display: block;
 color: #aaa;
 font-size: 12px;
 margin-top: 5px
}

.q-success-actions {
 display: grid;
 gap: 10px;
 max-width: 360px;
 margin: 24px auto 0
}

.q-success-actions .q-hero-link {
 display: block;
 margin: 0;
 text-align: center;
 line-height: 2;
}

.q-success-actions .q-hero-link small {
 display: block;
 font-size: 11px;
 letter-spacing: 0;
 margin-top: 0
}

.q-outline-link {
 position: relative;
 background: transparent;
 border: 1px solid #777;
 color: #eee !important;
 display: flex !important;
 justify-content: center;
 align-items: center;
}

.q-outline-link:hover {
 background: #292929
}

.q-arrow {
 position: absolute;
 right: 10px;
 font-size: 22px;
}

@media(max-width:767px) {

 .q-summary-panel,
 .q-next-panel {
  padding: 20px 15px;
  margin: 22px -5px
 }

 .q-summary-grid {
  grid-template-columns: 1fr;
  gap: 5px
 }

 .q-summary-group {
  padding: 18px 0 0
 }

 .q-success h2 {
  font-size: 39px
 }

 .q-success-check {
  width: 66px;
  height: 66px;
  line-height: 62px;
  font-size: 40px
 }
}

/* Bilingual selections and photo palette */
.q-multi-note {
 display: inline-block;
 margin-left: 9px;
 color: #ff7400;
 font-size: 12px;
 font-weight: 500;
 letter-spacing: 0;
 white-space: normal
}

.q-palette-options {
 display: grid !important;
 grid-template-columns: repeat(3, minmax(0, 1fr));
 gap: 12px
}

.q-palette-choice {
 display: flex !important;
 flex-direction: column;
 align-items: stretch;
 gap: 8px;
 overflow: hidden;
 padding: 8px !important;
 min-width: 0
}

.q-palette-choice img {
 display: block;
 width: 100%;
 aspect-ratio: 4/3;
 object-fit: cover;
 border-radius: 4px;
 pointer-events: none
}

.q-palette-choice span {
 display: block;
 font-size: 12px;
 line-height: 1.5;
 overflow-wrap: anywhere
}

@media(max-width:600px) {
 .q-palette-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px
 }

 .q-palette-choice {
  padding: 6px !important
 }

 .q-palette-choice span {
  font-size: 11px
 }

 .q-multi-note {
  display: block;
  margin: 5px 0 0
 }
}

/* Palette card redesign: radio -> image -> caption, so input:checked+span does not apply. */
.q-palette-options {
 gap: 18px !important
}

.q-palette-choice {
 position: relative;
 display: block !important;
 padding: 0 !important;
 overflow: hidden;
 border: 2px solid #353638 !important;
 border-radius: 10px;
 background: #202123 !important;
 transition: border-color .2s, transform .2s, box-shadow .2s;
 cursor: pointer
}

.q-palette-choice img {
 width: 100%;
 aspect-ratio: 1.42;
 object-fit: cover;
 display: block;
 border-radius: 0 !important;
 filter: brightness(.9);
 transition: filter .2s, transform .25s
}

.q-palette-choice span {
 display: flex !important;
 align-items: center;
 justify-content: center;
 min-height: 10px !important;
 margin: 0;
 padding: 13px 10px !important;
 border: 0 !important;
 background: #202123 !important;
 color: #eee !important;
 font-size: 13px !important;
 font-weight: 500;
 line-height: 1.5;
 text-align: center
}

.q-palette-choice:hover {
 border-color: #ad5b1c !important;
 transform: translateY(-2px)
}

.q-palette-choice:hover img {
 filter: brightness(1)
}

.q-palette-choice:has(input:checked) {
 border-color: #ff7400 !important;
 box-shadow: 0 0 0 1px #ff7400, 0 8px 24px rgba(255, 116, 0, .14);
 background: #33251c !important
}

.q-palette-choice input:checked~span {
 background: #39291e !important;
 color: #ff9c4c !important
}

.q-palette-choice:has(input:checked)::after {
 content: '✓';
 position: absolute;
 top: 10px;
 right: 10px;
 z-index: 2;
 display: grid;
 place-items: center;
 width: 28px;
 height: 28px;
 border-radius: 50%;
 background: #ff7400;
 color: #161616;
 font-size: 18px;
 font-weight: 800;
 box-shadow: 0 2px 10px #0008
}

.q-palette-choice:has(input:focus-visible) {
 outline: 3px solid #ff7400;
 outline-offset: 3px
}

@media(max-width:600px) {
 .q-palette-options {
  gap: 11px !important
 }

 .q-palette-choice span {
  font-size: 11px !important;
  min-height: 58px !important;
  padding: 10px 7px !important
 }

 .q-palette-choice img {
  aspect-ratio: 1.18
 }
}

/* Tae Design - Turnstile Section */

.q-security {
 margin-top: 12px;
 padding: 22px 24px;
 background: #202020;
 border: 1px solid #383838;
 border-radius: 10px;
}

.q-security-heading {
 display: flex;
 align-items: center;
 gap: 12px;
 margin-bottom: 18px;
 color: #ffffff;
 font-size: 14px;
 font-weight: 600;
}

.q-security-heading i {
 color: #ff7400;
 font-size: 20px;
}

.q-security-heading small {
 display: block;
 margin-top: 0;
 color: #999999;
 font-size: 12px;
 font-weight: 400;
 line-height: 1.2;
}

.q-security .cf-turnstile {
 max-width: 100%;
}

@media (max-width: 767px) {
 .q-security {
  padding: 16px;
 }
}