/* ==========================================================================
   Shivay Anantam — Contact page
   ========================================================================== */

.sa-contact .sa-phero { padding-bottom: clamp(60px, 8vw, 110px); }

.sa-cform { padding-top: 0; margin-top: clamp(-70px, -5vw, -40px); position: relative; z-index: 2; }
.sa-cform__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 4vw, 48px); align-items: start; }

/* ---------- Contact cards ---------- */
.sa-cinfo { display: grid; gap: 24px; position: sticky; top: calc(var(--sa-adminbar) + 110px); }
.sa-cinfo__cards { display: grid; gap: 14px; }
.sa-ccard {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 20px;
	border-radius: 20px;
	background: #fff;
	border: 1px solid var(--sa-line);
	box-shadow: 0 18px 36px -30px rgba(124, 66, 52, .6);
	overflow: hidden;
	isolation: isolate;
	transition: transform .45s var(--sa-ease), box-shadow .45s, color .35s, opacity .9s var(--sa-ease) !important;
	transition-delay: calc(var(--i, 0) * 90ms) !important;
}
.sa-ccard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, var(--sa-copper-dark), var(--sa-copper) 60%, var(--sa-red)); transform: translateX(-101%); transition: transform .55s var(--sa-ease); }
.sa-ccard--wa::before { background: linear-gradient(120deg, #128c4a, #25d366); }
.sa-ccard:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -26px rgba(124, 66, 52, .7); color: #fff; transition-delay: 0s !important; }
.sa-ccard:hover::before { transform: none; }
.sa-ccard__icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--sa-sand); color: var(--sa-copper); font-size: 1.3rem; transition: background-color .35s, color .35s, transform .5s var(--sa-ease); }
.sa-ccard--wa .sa-ccard__icon { background: #e3f7ea; color: #1aa251; }
.sa-ccard:hover .sa-ccard__icon { background: rgba(255, 255, 255, .18); color: #fff; transform: rotate(-8deg); }
.sa-ccard small { display: block; margin-bottom: 3px; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sa-muted); transition: color .35s; }
.sa-ccard strong { font-size: 1.02rem; word-break: break-word; }
.sa-ccard:hover small { color: rgba(255, 255, 255, .8); }
.sa-ccard i { margin-left: auto; display: flex; color: var(--sa-copper); transition: transform .4s var(--sa-ease), color .35s; }
.sa-ccard:hover i { color: #fff; transform: translateX(4px) rotate(-45deg); }

.sa-next { padding: 28px; border-radius: 24px; background: var(--sa-ink); background-image: radial-gradient(circle at 0% 0%, rgba(162, 93, 76, .45), transparent 55%); color: #dcc8bd; }
.sa-next h2 { margin: 0 0 18px; font: 600 1.6rem/1.15 var(--sa-serif); color: #fff; }
.sa-next ol { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.sa-next li { display: flex; gap: 14px; }
.sa-next li > span { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(212, 168, 106, .5); color: var(--sa-gold); font-weight: 800; font-size: .85rem; }
.sa-next strong { display: block; color: #fff; font-size: .98rem; margin-bottom: 2px; }
.sa-next p { margin: 0; font-size: .86rem; line-height: 1.55; }

/* ---------- Form card ---------- */
.sa-formcard { position: relative; padding: clamp(26px, 4vw, 44px); border-radius: 28px; background: #fff; border: 1px solid var(--sa-line); box-shadow: 0 40px 80px -50px rgba(124, 66, 52, .7); scroll-margin-top: 140px; overflow: hidden; }
.sa-formcard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--sa-gold), var(--sa-copper), var(--sa-red), var(--sa-gold)); background-size: 200% 100%; animation: sa-gradient 6s linear infinite; }
.sa-formcard__head h2 { margin: 14px 0 8px; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; }
.sa-formcard__head p { margin: 0 0 24px; color: var(--sa-muted); font-size: .92rem; }
.sa-req { color: var(--sa-red); }

.sa-alert { margin-bottom: 20px; padding: 14px 18px; border-radius: 14px; background: #fdecec; border: 1px solid #f3c2c2; color: #9b2c2c; font-size: .9rem; font-weight: 600; animation: sa-shake .5s ease; }
@keyframes sa-shake { 0%, 100% { transform: none; } 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.sa-picked { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; padding: 12px; border-radius: 18px; background: var(--sa-cream); border: 1px dashed rgba(162, 93, 76, .4); animation: sa-in .7s var(--sa-ease) both; }
.sa-picked img { width: 72px; height: 72px; border-radius: 12px; object-fit: contain; background: #f1efed; box-sizing: border-box; padding: 4px; }
.sa-picked small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sa-copper); }
.sa-picked strong { display: block; font: 600 1.1rem/1.25 var(--sa-serif); }
.sa-picked span { font-size: .82rem; color: var(--sa-muted); }
.sa-picked__link { margin-left: auto; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--sa-line); font-size: .8rem; font-weight: 700; color: var(--sa-copper) !important; }

.sa-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.sa-fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sa-field { position: relative; }
.sa-field--full { grid-column: 1 / -1; }
.sa-field input, .sa-field select, .sa-field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 24px 16px 10px;
	border: 1.5px solid rgba(43, 27, 22, .14);
	border-radius: 14px;
	background: #fdfbf9;
	color: var(--sa-ink);
	font: 500 .95rem/1.4 var(--sa-sans);
	outline: none;
	transition: border-color .3s, box-shadow .3s, background-color .3s;
	-webkit-appearance: none;
	appearance: none;
}
.sa-field textarea { resize: vertical; min-height: 120px; }
.sa-field--select select { padding-right: 40px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23a25d4c' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.sa-field label {
	position: absolute;
	left: 17px;
	top: 17px;
	color: var(--sa-muted);
	font-size: .92rem;
	pointer-events: none;
	transform-origin: left top;
	transition: transform .3s var(--sa-ease), color .3s;
}
.sa-field input:focus, .sa-field select:focus, .sa-field textarea:focus { border-color: var(--sa-copper); background: #fff; box-shadow: 0 0 0 4px rgba(162, 93, 76, .12); }
.sa-field input:focus + label, .sa-field input:not(:placeholder-shown) + label,
.sa-field textarea:focus + label, .sa-field textarea:not(:placeholder-shown) + label,
.sa-field--select label { transform: translateY(-10px) scale(.76); color: var(--sa-copper); font-weight: 700; letter-spacing: .02em; }
.sa-field.is-invalid input { border-color: var(--sa-red); background: #fff7f7; }
.sa-field.is-invalid label { color: var(--sa-red); }

.sa-check { display: flex; align-items: center; gap: 12px; margin: 20px 0 6px; font-size: .92rem; cursor: pointer; user-select: none; }
.sa-check input { position: absolute; opacity: 0; pointer-events: none; }
.sa-check__box { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; border: 1.5px solid rgba(43, 27, 22, .25); color: transparent; transition: background-color .25s, border-color .25s, color .25s, transform .3s var(--sa-ease); }
.sa-check__box .sa-icon { stroke-width: 3.2; font-size: .85rem; }
.sa-check input:checked + .sa-check__box { background: var(--sa-copper); border-color: var(--sa-copper); color: #fff; transform: scale(1.06); }
.sa-check input:focus-visible + .sa-check__box { box-shadow: 0 0 0 4px rgba(162, 93, 76, .2); }

.sa-fform__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 22px; }
.sa-fform__foot p { margin: 0; font-size: .88rem; color: var(--sa-muted); }
.sa-fform__foot a, .sa-formcard__head a, .sa-faq a, .sa-success a:not(.sa-btn) { color: var(--sa-copper) !important; font-weight: 700; }
.sa-fform button[type="submit"] { border: 0; cursor: pointer; }
.sa-fform.is-sending button[type="submit"] { opacity: .7; pointer-events: none; }

/* ---------- Success ---------- */
.sa-success { position: relative; text-align: center; padding: 30px 6px; }
.sa-success__icon { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%; background: linear-gradient(135deg, var(--sa-copper), var(--sa-red)); color: #fff; font-size: 2.2rem; box-shadow: 0 18px 40px -16px rgba(215, 81, 82, .8); animation: sa-pop .7s var(--sa-ease) both; }
.sa-success__icon .sa-icon { stroke-width: 3; stroke-dasharray: 30; stroke-dashoffset: 30; animation: sa-tick .6s .4s ease forwards; }
@keyframes sa-pop { from { transform: scale(0); } 60% { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes sa-tick { to { stroke-dashoffset: 0; } }
.sa-success h2 { margin: 0 0 10px; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; animation: sa-in .7s .3s var(--sa-ease) both; }
.sa-success p { max-width: 460px; margin: 0 auto 24px; color: var(--sa-muted); line-height: 1.7; animation: sa-in .7s .4s var(--sa-ease) both; }
.sa-success__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; animation: sa-in .7s .5s var(--sa-ease) both; }
.sa-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.sa-confetti i { position: absolute; top: -10px; left: calc(var(--n) * 5.5% + 2%); width: 8px; height: 14px; border-radius: 2px; background: var(--sa-copper); opacity: 0; animation: sa-fall 2.6s calc(var(--n) * 70ms) ease-in forwards; }
.sa-confetti i:nth-child(3n) { background: var(--sa-gold); }
.sa-confetti i:nth-child(4n) { background: var(--sa-red); width: 10px; height: 10px; border-radius: 50%; }
@keyframes sa-fall { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(420px) rotate(540deg); } }

/* ---------- FAQ ---------- */
.sa-faq { padding-top: clamp(30px, 5vw, 60px); }
.sa-faq__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.sa-faq__list { display: grid; gap: 12px; }
.sa-qa { border-radius: 18px; background: #fff; border: 1px solid var(--sa-line); overflow: hidden; transition: box-shadow .4s, border-color .4s, opacity .9s var(--sa-ease), transform .9s var(--sa-ease) !important; transition-delay: calc(var(--i, 0) * 70ms) !important; }
.sa-qa[open] { border-color: rgba(162, 93, 76, .35); box-shadow: 0 20px 40px -30px rgba(124, 66, 52, .6); }
.sa-qa summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font: 600 1.2rem/1.3 var(--sa-serif); cursor: pointer; list-style: none; transition: color .3s; }
.sa-qa summary::-webkit-details-marker { display: none; }
.sa-qa summary:focus { outline: none; }
.sa-qa summary:focus-visible { box-shadow: inset 0 0 0 2px rgba(162, 93, 76, .45); border-radius: 18px; }
.sa-qa summary:hover { color: var(--sa-copper); }
.sa-qa__icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--sa-sand); transition: background-color .3s, transform .45s var(--sa-ease); }
.sa-qa__icon::before, .sa-qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--sa-copper); transition: transform .45s var(--sa-ease), background-color .3s; }
.sa-qa__icon::after { transform: rotate(90deg); }
.sa-qa[open] .sa-qa__icon { background: var(--sa-copper); transform: rotate(180deg); }
.sa-qa[open] .sa-qa__icon::before, .sa-qa[open] .sa-qa__icon::after { background: #fff; }
.sa-qa[open] .sa-qa__icon::after { transform: rotate(0); }
.sa-qa__body { padding: 0 22px 20px; }
.sa-qa__body p { margin: 0; color: var(--sa-muted); line-height: 1.75; font-size: .95rem; }
.sa-qa[open] .sa-qa__body { animation: sa-in .5s var(--sa-ease) both; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
	.sa-cform__inner, .sa-faq__inner { grid-template-columns: 1fr; }
	.sa-cinfo { position: static; order: 2; }
	.sa-formcard { order: 1; }
}
@media (max-width: 600px) {
	.sa-fgrid { grid-template-columns: 1fr; }
	.sa-fform__foot .sa-btn { width: 100%; }
	.sa-picked__link { display: none; }
}

/* ---------- Address & map ---------- */
.sa-ccard--addr { align-items: flex-start; }
.sa-ccard--addr strong { font-size: .92rem; line-height: 1.55; font-weight: 600; }
.sa-map { padding-bottom: 0; }
.sa-map__card { display: grid; grid-template-columns: 1.35fr 1fr; border-radius: 28px; overflow: hidden; background: #fff; border: 1px solid var(--sa-line); box-shadow: 0 40px 80px -56px rgba(124, 66, 52, .7); }
.sa-map__frame { position: relative; min-height: 380px; background: var(--sa-sand); }
.sa-map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85) sepia(.12); transition: filter .5s; }
.sa-map__card:hover .sa-map__frame iframe { filter: none; }
.sa-map__info { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(28px, 4vw, 50px); }
.sa-map__pin { position: absolute; top: 26px; right: 26px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(135deg, var(--sa-copper), var(--sa-red)); color: #fff; font-size: 1.4rem; box-shadow: 0 14px 30px -12px rgba(215, 81, 82, .8); animation: sa-pin-bounce 2.4s ease-in-out infinite; }
.sa-map__pin::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--sa-red); animation: sa-ping 2.4s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes sa-pin-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.sa-map__info h2 { margin: 14px 0 12px; font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 600; line-height: 1.1; }
.sa-map__info address { margin: 0 0 24px; font-style: normal; color: var(--sa-muted); font-size: 1rem; line-height: 1.8; }
.sa-map__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) {
	.sa-map__card { grid-template-columns: 1fr; }
	.sa-map__frame { min-height: 300px; }
}
@media (max-width: 520px) {
	.sa-map__actions .sa-btn { width: 100%; }
}
