/* Contact / request a demo */

.c-main { position: relative; padding: 56px 0 88px; overflow: hidden; }
.c-glow { position: absolute; width: 700px; height: 700px; inset-inline-end: -200px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(224, 20, 44, .1), rgba(224, 20, 44, 0) 65%); }
/* Desktop: heading + info on the left, form on the right. Phones: heading, form, info. */
.c-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-areas: "head form" "info form"; column-gap: 56px; row-gap: 34px; align-items: start; }
@media (max-width: 960px) { .c-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "form" "info"; row-gap: 32px; } }

/* ---------- Left column ---------- */
.c-left { grid-area: info; min-width: 0; display: flex; flex-direction: column; gap: 34px; }
.c-head { grid-area: head; display: flex; flex-direction: column; gap: 18px; }
.c-head .eyebrow { margin: 0; }
.c-head h1 { font-size: 54px; line-height: 1.04; margin: 0; animation-delay: .06s; }
html[lang="ar"] .c-head h1 { line-height: 1.25; }
.c-head .lead { animation-delay: .12s; }
@media (max-width: 900px) { .c-head h1 { font-size: 40px; } }

.c-see { display: flex; flex-direction: column; gap: 14px; animation-delay: .18s; }
.c-see > b { font-size: 16px; }
.c-see-item { display: flex; gap: 14px; align-items: flex-start; }
.c-see-item .ic { width: 40px; height: 40px; }
.c-see-item > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.c-see-item b { font-size: 16px; }
.c-see-item > span:last-child > span { font-size: 15px; color: var(--slate); line-height: 1.55; }

.c-next { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; animation-delay: .24s; }
.c-next > b { font-size: 16px; display: block; margin-bottom: 18px; }
.c-next ol { list-style: none; margin: 0; padding: 0; position: relative; display: flex; flex-direction: column; gap: 20px; }
.c-next ol::before { content: ""; position: absolute; inset-inline-start: 19px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(var(--red), var(--navy)); }
.c-next li { display: flex; gap: 16px; align-items: flex-start; }
.c-next li > span:last-child { display: flex; flex-direction: column; gap: 2px; padding-top: 8px; }
.c-next li b { font-size: 15px; }
.c-next li > span:last-child > span { font-size: 14px; color: var(--slate); line-height: 1.55; }
.tl-dot { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 2px solid var(--red); color: var(--red); display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; position: relative; z-index: 1; }

.c-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; animation-delay: .3s; }
.card-l { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
a.card-l:hover { transform: translateY(-3px); box-shadow: 0 20px 34px -26px rgba(26, 36, 51, .6); border-color: #C9D1DC; color: var(--ink); }
.card-l > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.card-l b { font-size: 15px; }
.card-l > span:last-child > span { font-size: 14px; color: var(--slate-2); overflow-wrap: anywhere; }
.card-l .ic.wa { background: #DDF3E8; color: #0B6B43; }

/* ---------- Form ---------- */
.c-right { grid-area: form; min-width: 0; position: sticky; top: 86px; animation-delay: .15s; }
@media (max-width: 960px) { .c-right { position: static; } }
.c-form { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 34px; display: flex; flex-direction: column; gap: 20px; box-shadow: 0 40px 80px -50px rgba(26, 36, 51, .6); }
@media (max-width: 560px) { .c-form { padding: 22px; } }
.c-form-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.c-form-head b { font-size: 22px; letter-spacing: -0.02em; }

/* Demo vs question: show only the fields for the chosen mode */
.c-form[data-mode="demo"] .question-only,
.c-form[data-mode="question"] .demo-only { display: none !important; }

/* Request type: segmented control built from radios */
.c-type { border: 0; margin: 0; padding: 4px; display: flex; gap: 4px; background: var(--mist); border-radius: 999px; }
.seg-opt { flex: 1; position: relative; }
.seg-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg-opt span { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--navy); transition: all .2s; }
.seg-opt input:checked + span { background: var(--navy); color: #fff; }
.seg-opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.phone { display: flex; gap: 8px; }
.phone .dial { width: auto; display: flex; align-items: center; background: var(--ground); font-weight: 700; color: var(--navy); flex-shrink: 0; }
.phone input { min-width: 0; }

/* Chips built from radios / checkboxes */
.chips-set { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.chips-set legend { padding: 0; margin-bottom: 10px; display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--navy); font-weight: 700; font-size: 14px; cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--navy); }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip:has(input:checked) { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.red:has(input:checked) { background: var(--red); border-color: var(--red); }
.chip:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.chip-tick { display: none; }
.chip:has(input:checked) .chip-tick { display: block; }
.ar-font { font-family: var(--font-ar); }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: var(--slate); cursor: pointer; }
.consent + .emsg { margin-top: -10px; }
.g-recaptcha { min-height: 78px; }
.c-alert { background: var(--red-tint); color: var(--red-dark); border-radius: 12px; padding: 12px 14px; font-size: 14px; font-weight: 600; }
.c-submit { width: 100%; font-size: 17px; }
.c-reply { text-align: center; font-size: 13px; color: var(--slate-3); }

/* ---------- Success state ---------- */
.c-done { background: var(--navy-deep); color: #fff; border-radius: 26px; padding: 44px 34px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; box-shadow: 0 40px 80px -50px rgba(26, 36, 51, .8); position: relative; overflow: hidden; }
.c-done:focus { outline: none; }
.c-done > * { position: relative; }
.c-done-glow { position: absolute !important; width: 520px; height: 520px; top: -300px; left: 50%; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(224, 20, 44, .35), rgba(224, 20, 44, 0) 62%); }
.c-done-tick { width: 120px; height: 120px; display: flex; align-items: center; justify-content: center; margin-top: 10px; }
.c-done-tick .ring, .c-done-tick .ring2 { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--red); }
.c-done-tick .ring { animation: c-ring 2.4s ease-out infinite; }
.c-done-tick .ring2 { animation: c-ring 2.4s 1.2s ease-out infinite; }
@keyframes c-ring { from { transform: scale(.7); opacity: .7; } to { transform: scale(1.9); opacity: 0; } }
.c-done-tick .core { position: relative; width: 120px; height: 120px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; }
.c-done .draw { animation: none; }
.c-done.on .draw { animation: draw .9s .35s ease forwards; }
.c-done-title { font-size: 30px; letter-spacing: -0.03em; }
.c-done p { font-size: 17px; line-height: 1.6; color: var(--on-dark-2); max-width: 420px; }
.c-done-sum { width: 100%; max-width: 420px; margin: 0; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; padding: 6px 18px; text-align: start; }
.c-done-sum div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed rgba(255, 255, 255, .12); font-size: 14px; }
.c-done-sum div:last-child { border-bottom: 0; }
.c-done-sum dt { color: var(--on-dark); }
.c-done-sum dd { margin: 0; font-weight: 700; text-align: end; }
.c-done-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 6px; }

/* ---------- Quote + FAQ ---------- */
.c-more { padding: 0 0 96px; }
.c-more .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.c-quote { flex: 1 1 360px; min-width: 0; margin: 0; background: var(--red); color: #fff; border-radius: 26px; padding: 36px; display: flex; flex-direction: column; gap: 22px; position: relative; overflow: hidden; }
.c-quote > * { position: relative; }
.c-quote-mark { position: absolute !important; inset-inline-end: -40px; bottom: -20px; width: 360px; opacity: .1; }
.c-quote blockquote { margin: 0; font-size: 22px; line-height: 1.45; font-weight: 700; letter-spacing: -0.01em; }
.c-quote figcaption { display: flex; align-items: center; gap: 12px; }
.c-quote .ini { width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--red); display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.c-quote figcaption b { display: block; }
.c-quote figcaption span span { font-size: 14px; color: #FFD6DB; }
.c-faqs { flex: 2 1 480px; min-width: 0; }

/* ---------- Optional demo details ---------- */
.more-details { border: 1px dashed var(--line-2); border-radius: 14px; }
.more-details summary { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; cursor: pointer; font-weight: 700; font-size: 14px; color: var(--navy); list-style: none; }
.more-details summary::-webkit-details-marker { display: none; }
.more-details summary::before { content: "+"; width: 22px; height: 22px; border-radius: 50%; background: var(--mist); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; line-height: 1; }
.more-details[open] summary::before { content: "−"; }
.more-details summary:hover { color: var(--red-hover); }
.more-body { padding: 4px 16px 18px; display: flex; flex-direction: column; gap: 18px; }
/* In demo mode the note belongs to "more details": hidden until that is opened */
.c-form[data-mode="demo"] .more-details:not([open]) ~ .msg-field { display: none; }
