/* ShadiaN – the inquiry form shared by the inner pages (template-parts/forms/inquiry.php, assets/js/inquiry.js).
   The same look as the home page form (home.css, section 8). */

.sh-ask__form { position: relative; isolation: isolate; overflow: hidden; padding: 44px 52px 40px; background: #fcfaf5; }
.sh-ask__formin { position: relative; z-index: 1; transition: opacity .6s, translate .6s var(--ease); }
.sh-topics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; min-width: 0; margin: 0 0 28px; padding: 0; border: 0; }
.sh-topics legend { margin-bottom: 12px; padding: 0; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-t); }
.sh-topic { position: relative; }
.sh-topic input { position: absolute; inset: 0; margin: 0; opacity: 0; pointer-events: none; }
.sh-topic span { display: flex; align-items: center; gap: 10px; width: 100%; height: 48px; padding: 0 18px 0 15px; border: 1px solid #ded5c2; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 500; color: var(--text); cursor: pointer; transition: background-color .3s, border-color .3s, color .3s, transform .4s var(--ease); }
.sh-topic .sh-i { flex: none; width: 18px; height: 18px; color: var(--gold-d); transition: color .3s; }
.sh-topic span:hover { border-color: var(--gold-line); color: var(--ink); transform: translateY(-1px); }
.sh-topic input:checked + span { background: #1a1813; border-color: #1a1813; color: #fff; }
.sh-topic input:checked + span .sh-i { color: var(--gold-2); }
.sh-topic input:focus-visible + span { box-shadow: 0 0 0 4px rgba(232, 195, 107, .35); }
.sh-ask__two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.sh-f { position: relative; margin-bottom: 18px; }
.sh-f__in { position: relative; display: block; padding-top: 20px; }
.sh-f__in::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: #d9d0bc; }
.sh-f__in::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; transition: transform .55s var(--ease); }
.sh-f:focus-within .sh-f__in::after { transform: scaleX(1); }
.sh-f input, .sh-f textarea { display: block; width: 100%; margin: 0; padding: 7px 0 11px; border: 0; border-radius: 0; background: transparent; font: 16.5px/1.4 var(--body); color: var(--ink); outline: none; -webkit-appearance: none; appearance: none; }
.sh-f textarea { min-height: 52px; max-height: 240px; overflow: hidden; resize: none; }
.sh-f label { position: absolute; left: 0; top: 27px; font-size: 16.5px; line-height: 1.4; color: #8b8676; pointer-events: none; transform-origin: 0 0; transition: transform .4s var(--ease), color .3s; }
.sh-f input:focus ~ label, .sh-f input:not(:placeholder-shown) ~ label, .sh-f textarea:focus ~ label, .sh-f textarea:not(:placeholder-shown) ~ label { transform: translateY(-25px) scale(.74); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-t); }
.sh-f__err, .sh-f__hint { display: block; margin-top: 7px; font-size: 12.5px; line-height: 1.45; }
.sh-f__err { color: #b4463a; }
.sh-f__err:empty { display: none; }
.sh-f__hint { color: #9a9486; transition: opacity .35s; }
.sh-f__hint.is-fade { opacity: 0; }
.sh-f.is-bad .sh-f__in::before { background: #d9958d; }
.sh-f.is-bad label { color: #b4463a; }
.sh-f.is-bad .sh-f__in::after { background: #b4463a; transform: scaleX(1); }
.sh-consent { display: flex; align-items: flex-start; gap: 12px; margin: 10px 0 26px; font-size: 13.5px; line-height: 1.55; color: var(--muted); cursor: pointer; }
.sh-consent input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.sh-consent i { flex: none; position: relative; width: 20px; height: 20px; margin-top: 1px; border: 1px solid #cfc5ae; border-radius: 6px; background: #fff; transition: background-color .3s, border-color .3s, box-shadow .3s; }
.sh-consent i::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #1d1607; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .3s var(--ease); }
.sh-consent input:checked + i { background: var(--gold-2); border-color: var(--gold-2); }
.sh-consent input:checked + i::after { transform: rotate(45deg) scale(1); }
.sh-consent input:focus-visible + i { box-shadow: 0 0 0 4px rgba(232, 195, 107, .35); }
.sh-consent a { color: var(--gold-t); border-bottom: 1px solid rgba(140, 102, 20, .35); }
.sh-consent.is-bad { color: #b4463a; }
.sh-consent.is-bad i { border-color: #b4463a; }
@keyframes shNudge { 0%, 100% { translate: 0; } 25% { translate: -4px; } 75% { translate: 4px; } }
.sh-anim .sh-consent.is-bad { animation: shNudge .4s var(--ease); }
.sh-ask__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.sh-ask__status { margin: 0; font-size: 13.5px; line-height: 1.5; color: #b4463a; }
.sh-ask__status:empty { display: none; }
.sh-hp { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; opacity: 0; }
@keyframes shSpin { to { rotate: 360deg; } }
.sh-ask__form.is-busy .sh-btn { pointer-events: none; }
.sh-ask__form.is-busy .sh-btn > .sh-i { margin: -2px; border: 2px solid rgba(29, 22, 7, .22); border-top-color: #1d1607; background: transparent; color: transparent; animation: shSpin .8s linear infinite; }
.sh-ask__form.is-done .sh-ask__formin { opacity: 0; translate: 0 -12px; pointer-events: none; }
.sh-ask__done { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 44px 52px; outline: none; }
.sh-ask__done[hidden] { display: none; }
.sh-ask__check { width: 84px; height: 84px; fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sh-ask__check circle { stroke-dasharray: 277; }
.sh-ask__check path { --dash: 60; stroke-dasharray: 60; }
@keyframes shDraw { from { stroke-dashoffset: var(--dash, 277); } to { stroke-dashoffset: 0; } }
.sh-anim .sh-ask__done.is-in .sh-ask__check circle { animation: shDraw 1.1s var(--ease) both; }
.sh-anim .sh-ask__done.is-in .sh-ask__check path { animation: shDraw .6s var(--ease) .9s both; }
.sh-ask__dt { margin: 26px 0 0; font-family: var(--head); font-size: 34px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.sh-ask__dd { max-width: 460px; margin: 12px 0 0; font-size: 16.5px; line-height: 1.7; color: var(--text); }
.sh-ask__dd b { font-weight: 600; color: var(--ink); }
.sh-ask__done .sh-more { margin-top: 28px; padding: 0 0 2px; border: 0; background: none; cursor: pointer; }
.sh-anim .sh-ask__done.is-in .sh-ask__dt, .sh-anim .sh-ask__done.is-in .sh-ask__dd, .sh-anim .sh-ask__done.is-in .sh-more { animation: shRise .9s var(--ease) both; }
.sh-anim .sh-ask__done.is-in .sh-ask__dt { animation-delay: .5s; }
.sh-anim .sh-ask__done.is-in .sh-ask__dd { animation-delay: .65s; }
.sh-anim .sh-ask__done.is-in .sh-more { animation-delay: .8s; }

/* select and number fields (the corporate brief) */
.sh-f select { display: block; width: 100%; margin: 0; padding: 7px 28px 11px 0; border: 0; border-radius: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%239a7219'%3E%3Cpath d='M213.66 101.66l-80 80a8 8 0 0 1-11.32 0l-80-80a8 8 0 0 1 11.32-11.32L128 164.69l74.34-74.35a8 8 0 0 1 11.32 11.32Z'/%3E%3C/svg%3E") right 2px center / 13px no-repeat; font: 16.5px/1.4 var(--body); color: var(--ink); outline: none; cursor: pointer; -webkit-appearance: none; appearance: none; }
.sh-f--sel label { transform: translateY(-25px) scale(.74); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-t); }
.sh-f input[type="number"] { -moz-appearance: textfield; }
.sh-f input[type="number"]::-webkit-inner-spin-button, .sh-f input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.sh-ask__three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; }
/* chips to pick several values (brands, types) */
.sh-picks { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; margin: 4px 0 24px; padding: 0; border: 0; }
.sh-picks legend { width: 100%; margin-bottom: 10px; padding: 0; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-t); }
.sh-pick { position: relative; }
.sh-pick input { position: absolute; inset: 0; margin: 0; opacity: 0; pointer-events: none; }
.sh-pick span { display: inline-flex; align-items: center; height: 38px; padding: 0 15px; border: 1px solid #ded5c2; border-radius: 999px; background: #fff; font-size: 13.5px; font-weight: 500; color: var(--text); cursor: pointer; transition: background-color .25s, border-color .25s, color .25s; }
.sh-pick span:hover { border-color: var(--gold-line); color: var(--ink); }
.sh-pick input:checked + span { background: #1a1813; border-color: #1a1813; color: #fff; }
.sh-pick input:focus-visible + span { box-shadow: 0 0 0 4px rgba(232, 195, 107, .35); }
.sh-brief__sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: -4px 0 22px; padding: 14px 18px; border-radius: 14px; background: var(--gold-l); font-size: 14px; color: var(--text); }
.sh-brief__sum[hidden] { display: none; }
.sh-brief__sum b { font-family: var(--head); font-size: 20px; font-weight: 700; color: var(--ink); }

@media (max-width: 1100px) {
	.sh-ask__form { padding: 40px 40px 36px; }
	.sh-ask__done { padding: 40px; }
}
@media (max-width: 760px) {
	.sh-ask__form { padding: 28px 22px 26px; }
	.sh-topics { grid-template-columns: 1fr; gap: 8px; margin-bottom: 22px; }
	.sh-topic span { height: 44px; padding: 0 15px 0 13px; font-size: 13.5px; }
	.sh-ask__two { grid-template-columns: 1fr; }
	.sh-f input, .sh-f textarea, .sh-f label { font-size: 16px; }
	.sh-ask__actions .sh-btn { width: 100%; }
	.sh-ask__done { padding: 28px 22px; }
	.sh-ask__dt { font-size: 27px; }
	.sh-ask__dd { font-size: 15.5px; }
	.sh-ask__three { grid-template-columns: 1fr; }
	.sh-pick span { height: 36px; padding: 0 13px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
	.sh-topic span { transition: none; }
}
