/* Contact page (/ارتباط-با-ما): hero, contact methods, form, map and FAQ. */
.ct { --ct-navy: #123957; --ct-navy-2: #0d4167; --ct-red: #c32c35; --ct-ink: #172d40; --ct-muted: #66778a; --ct-line: #e2e9f0; --ct-soft: #f5f8fb; --ct-green: #12b76a; color: var(--ct-ink); }
.ct a { text-decoration: none; }
.ct h1, .ct h2, .ct h3 { margin-block: 0; }

/* Hero */
.ct-hero { grid-template-columns: minmax(0, 1fr) minmax(250px, 30%); gap: 28px; }
.ct-hero .pb-actions a { gap: 8px; }
.ct-wa-button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 10px 22px; border-radius: 13px; background: #1fa855; color: #fff !important; font-size: .9rem; font-weight: 850; box-shadow: 0 12px 26px rgba(18, 140, 70, .28); transition: transform .2s, background-color .2s; }
.ct-wa-button:hover { background: #17924a; transform: translateY(-2px); }
.ct-wa-button :is(i, svg) { font-size: 1.15rem; }
.ct-hero__card { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 6px; align-self: center; padding: 24px; border-radius: 22px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(10px); color: rgba(239, 247, 252, .88); font-size: .9rem; line-height: 1.9; }
.ct-hero__card strong { color: #fff; font-size: 1rem; }
.ct-hero__card small { color: rgba(239, 247, 252, .72); }
.ct-hero__hours { font-size: 1.6rem; font-weight: 900; color: #fff; letter-spacing: -.01em; }
.ct-hero__hours small { font-size: .85rem; font-weight: 500; margin-inline: 4px; }
.ct-hero__place { margin-top: 6px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .14); }
.ct-hero__place :is(i, svg) { color: #ff7b83; margin-inline-end: 6px; }

/* Status pill */

/* Sections */
.ct-section { max-width: 1220px; margin: 0 auto 64px; padding: 0 24px; }
.ct-heading { text-align: center; max-width: 720px; margin: 0 auto 30px; }
.ct-heading--start { text-align: start; margin: 0 0 24px; }
.ct-kicker { display: inline-block; margin-bottom: 8px; color: var(--ct-red); font-size: .8rem; font-weight: 800; letter-spacing: .02em; }
.ct-kicker::before { content: ""; display: inline-block; width: 18px; height: 2px; margin-inline-end: 8px; vertical-align: middle; background: currentColor; border-radius: 2px; }
.ct-heading h2 { color: var(--ct-navy); font-size: clamp(1.35rem, 2.6vw, 1.85rem); font-weight: 900; line-height: 1.7; }
.ct-heading p { margin: 8px 0 0; color: var(--ct-muted); line-height: 2; }

/* Contact methods */
.ct-methods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.ct-card { display: flex; flex-direction: column; gap: 12px; padding: 24px 22px; background: #fff; border: 1px solid var(--ct-line); border-radius: 22px; box-shadow: 0 10px 30px rgba(18, 57, 87, .05); transition: box-shadow .25s, transform .25s, border-color .25s; }
.ct-card:hover { transform: translateY(-3px); border-color: #cddbe7; box-shadow: 0 18px 40px rgba(18, 57, 87, .09); }
.ct-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 15px; background: linear-gradient(135deg, var(--ct-navy), #0b5483); color: #fff; font-size: 1.2rem; box-shadow: 0 10px 22px rgba(18, 57, 87, .22); }
.ct-card h3 { color: var(--ct-navy); font-size: 1.08rem; font-weight: 900; }
.ct-card__hint { margin: 0; color: var(--ct-muted); font-size: .82rem; line-height: 1.9; }
.ct-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 4px; }
.ct-group + .ct-group { padding-top: 10px; border-top: 1px dashed var(--ct-line); }
.ct-group__title { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; color: var(--ct-muted); font-size: .8rem; font-weight: 700; }
.ct-phones, .ct-list { display: flex; flex-direction: column; gap: 6px; }
.ct-phone { display: flex; align-items: center; gap: 6px; }
.ct-phone__link, .ct-line { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 8px 12px; border-radius: 12px; background: var(--ct-soft); color: var(--ct-ink) !important; transition: background .2s, color .2s; }
.ct-phone__link:hover, .ct-line:hover { background: var(--ct-navy); color: #fff !important; }
.ct-phone__link:hover small, .ct-line:hover small { color: rgba(255, 255, 255, .78); }
.ct-phone__number { font-weight: 800; font-size: 1rem; text-align: start; unicode-bidi: plaintext; }
.ct-line span { font-weight: 700; font-size: .9rem; overflow-wrap: anywhere; text-align: start; }
.ct-phone__link small, .ct-line small { color: var(--ct-muted); font-size: .74rem; }
.ct-phone__wa { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #e8f8ee; color: #1a9e4f !important; font-size: 1.25rem; transition: background .2s, color .2s; }
.ct-phone__wa:hover { background: #1fa855; color: #fff !important; }
.ct-address { margin: 0; font-style: normal; line-height: 2.1; color: #33475b; font-size: .92rem; }
.ct-chip-button { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 7px 14px; border-radius: 11px; border: 1px solid var(--ct-line); background: #fff; color: var(--ct-navy) !important; font-size: .82rem; font-weight: 800; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.ct-chip-button:hover { border-color: var(--ct-navy); background: var(--ct-soft); }
.ct-chip-button.is-done { border-color: #abefc6; background: #ecfdf3; color: #067647 !important; }
.ct-chip-button--solid { background: var(--ct-navy); border-color: var(--ct-navy); color: #fff !important; }
.ct-chip-button--solid:hover { background: #0b2c45; }
.ct-hours { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.ct-hours div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 12px; background: var(--ct-soft); font-size: .88rem; }
.ct-hours dt { color: var(--ct-muted); font-weight: 600; }
.ct-hours dd { margin: 0; font-weight: 800; color: var(--ct-ink); }

.ct-socials { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 18px; padding: 16px 22px; border-radius: 20px; background: var(--ct-soft); border: 1px solid var(--ct-line); }
.ct-socials__title { font-weight: 800; color: var(--ct-navy); font-size: .92rem; }
.ct-socials__links { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-social { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 7px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--ct-line); color: var(--ct-ink) !important; font-size: .85rem; font-weight: 700; transition: transform .2s, border-color .2s, color .2s; }
.ct-social :is(i, svg) { font-size: 1.1rem; }
.ct-social:hover { transform: translateY(-2px); border-color: currentColor; }
.ct-social--instagram :is(i, svg), .ct-social--instagram:hover { color: #d62976 !important; }
.ct-social--telegram :is(i, svg), .ct-social--telegram:hover { color: #229ed9 !important; }
.ct-social--whatsapp :is(i, svg), .ct-social--whatsapp:hover { color: #1fa855 !important; }
.ct-social--youtube :is(i, svg), .ct-social--youtube:hover { color: #e62117 !important; }
.ct-social--linkedin :is(i, svg), .ct-social--linkedin:hover { color: #0a66c2 !important; }
.ct-social--eitaa :is(i, svg), .ct-social--eitaa:hover { color: #ef7f1a !important; }

/* Form */
.ct-form-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; align-items: start; scroll-margin-top: 90px; }
.ct-form-card { padding: clamp(20px, 3.4vw, 36px); border-radius: 26px; background: #fff; border: 1px solid var(--ct-line); box-shadow: 0 18px 50px rgba(18, 57, 87, .07); }
.ct .ct-form { background: none; padding: 0; margin: 0; border-radius: 0; width: 100%; box-shadow: none; color: inherit; font-weight: inherit; }
.ct .ct-form button { width: auto; height: auto; }
.ct-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ct-success { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; margin-bottom: 22px; border-radius: 18px; background: #ecfdf3; border: 1px solid #b7ebcd; color: #065f46; outline: 0; animation: ct-in .4s ease; }
.ct-success:focus-visible { box-shadow: 0 0 0 4px rgba(18, 183, 106, .25); }
.ct-success__icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ct-green); color: #fff; font-size: 1.3rem; box-shadow: 0 8px 20px rgba(18, 183, 106, .3); }
.ct-success strong { display: block; font-size: 1.02rem; margin-bottom: 2px; }
.ct-success span { display: block; font-size: .88rem; line-height: 1.9; }
.ct-success a { color: #065f46 !important; font-weight: 800; text-decoration: underline; }
.ct-errors { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; margin-bottom: 18px; border-radius: 14px; background: #fef2f2; border: 1px solid #fecaca; color: #b42318; font-size: .88rem; line-height: 1.9; outline: 0; }
.ct-errors :is(i, svg) { margin-top: 5px; }
.ct-errors ul { margin: 0; padding-inline-start: 16px; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; min-width: 0; }
.ct-field label { font-size: .87rem; font-weight: 800; color: var(--ct-ink); }
.ct-field label small { color: var(--ct-muted); font-weight: 500; }
.ct-req { color: var(--ct-red); }
.ct-input { position: relative; }
.ct-input :is(i, svg) { position: absolute; inset-inline-start: 15px; top: 50%; transform: translateY(-50%); color: #97a6b5; pointer-events: none; transition: color .2s; }
.ct-input input, .ct-field textarea { width: 100%; border: 1px solid #d5dfe8; background: #fbfcfe; border-radius: 14px; padding: 13px 15px; font-size: .95rem; color: var(--ct-ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.ct-input input { padding-inline-start: 44px; min-height: 52px; }
.ct-input input[dir="ltr"] { padding-left: 15px; padding-right: 44px; text-align: right; }
.ct-input input[dir="ltr"]:not(:placeholder-shown) { text-align: left; }
.ct-field textarea { resize: vertical; height: auto; min-height: 150px; line-height: 2; text-indent: 0; box-shadow: none; }
.ct-input input::placeholder, .ct-field textarea::placeholder { color: #a3b1bf; }
.ct-input input:focus, .ct-field textarea:focus { outline: 0; background: #fff; border-color: var(--ct-navy); box-shadow: 0 0 0 4px rgba(18, 57, 87, .1); }
.ct-input:focus-within :is(i, svg) { color: var(--ct-navy); }
.ct .input-validation-error { border-color: #f04438 !important; background: #fffafa !important; }
.ct .input-validation-error:focus { box-shadow: 0 0 0 4px rgba(240, 68, 56, .12) !important; }
.ct-field__foot { display: flex; justify-content: space-between; gap: 10px; }
.ct-error { color: #d92d20; font-size: .8rem; min-height: 1.2em; line-height: 1.7; }
.ct-error:empty { min-height: 0; }
.ct-field__foot .ct-error:empty { min-height: 1.2em; }
.ct-counter { color: var(--ct-muted); font-size: .76rem; margin-inline-start: auto; white-space: nowrap; }
.ct-counter.is-near { color: #b54708; font-weight: 800; }
.ct-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.ct-chip { white-space: nowrap; min-height: 36px; padding: 5px 13px; border-radius: 999px; border: 1px solid var(--ct-line); background: #fff; color: #44596d; font-size: .8rem; font-weight: 700; transition: background .2s, border-color .2s, color .2s; }
.ct-chip:hover { border-color: var(--ct-navy); background: var(--ct-soft); color: var(--ct-navy); }
.ct-chip.is-active:hover { background: #0b2c45; color: #fff; }
.ct-chip.is-active { background: var(--ct-navy); border-color: var(--ct-navy); color: #fff; }
.ct-chip.is-active::before { content: "\2713"; margin-inline-end: 5px; }
.ct-submit { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--ct-line); }
.ct-submit p { margin: 0; flex: 1 1 260px; color: var(--ct-muted); font-size: .8rem; line-height: 1.9; }
.ct-submit p :is(i, svg) { color: var(--ct-green); margin-inline-end: 4px; }
.ct-submit button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 170px; min-height: 52px; border: 0; padding: 12px 30px; border-radius: 14px; background: linear-gradient(135deg, #dc3945, #bd232e); color: #fff; font-weight: 800; font-size: .95rem; box-shadow: 0 12px 26px rgba(195, 44, 53, .26); transition: transform .2s, box-shadow .2s, opacity .2s; }
.ct .ct-submit button:hover:not(:disabled) { background: linear-gradient(135deg, #e34651, #ae1e28); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 32px rgba(195, 44, 53, .32); }
.ct-submit button:disabled { opacity: .78; cursor: wait; }
.ct-spinner { display: none; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: ct-spin .7s linear infinite; }
.ct-submit button.is-busy .ct-spinner { display: inline-block; }
.ct-submit button.is-busy .ct-submit__icon { display: none; }

.ct-aside { position: sticky; top: 100px; padding: 26px 24px; border-radius: 26px; color: #e8f1f7; background: linear-gradient(150deg, #0a2c47, #0d4167 60%, #0b5483); box-shadow: 0 18px 44px rgba(8, 45, 72, .2); overflow: hidden; }
.ct-aside h3 { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 1.05rem; font-weight: 900; margin-bottom: 16px; }
.ct-aside h3 :is(i, svg) { color: #ff7b83; }
.ct-steps { list-style: none; margin: 0; padding: 0; counter-reset: ct-step; display: flex; flex-direction: column; gap: 14px; }
.ct-steps li { position: relative; padding-inline-start: 44px; counter-increment: ct-step; display: flex; flex-direction: column; font-size: .85rem; line-height: 1.9; color: rgba(232, 241, 247, .82); }
.ct-steps li::before { content: counter(ct-step, persian); position: absolute; inset-inline-start: 0; top: 2px; width: 30px; height: 30px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #fff; font-weight: 800; }
.ct-steps strong { color: #fff; font-size: .92rem; }
.ct-aside__direct { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .85rem; }
.ct-aside__call, .ct-aside__wa { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 13px; font-weight: 800; color: #fff !important; transition: background .2s; }
.ct-aside__call { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); font-size: 1rem; }
.ct-aside__call:hover { background: rgba(255, 255, 255, .18); }
.ct-aside__wa { background: #1fa855; }
.ct-aside__wa:hover { background: #17924a; }

/* Map */
.ct-map { aspect-ratio: 16 / 7; border-radius: 26px; overflow: hidden; border: 1px solid var(--ct-line); background: #e9eff5; box-shadow: 0 14px 40px rgba(18, 57, 87, .08); }
.ct-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.ct-map__actions { display: flex; justify-content: center; margin-top: 14px; }
.ct-map-card { position: relative; display: flex; align-items: center; gap: 24px; padding: clamp(24px, 4vw, 44px); border-radius: 26px; overflow: hidden; border: 1px solid var(--ct-line); background-color: #eef3f8; background-image: linear-gradient(rgba(18, 57, 87, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 57, 87, .06) 1px, transparent 1px), radial-gradient(circle at 15% 50%, rgba(195, 44, 53, .1), transparent 45%); background-size: 32px 32px, 32px 32px, auto; }
.ct-map-card::after { content: ""; position: absolute; inset-inline-end: -60px; top: -40px; width: 260px; height: 260px; border-radius: 50%; border: 36px solid rgba(18, 57, 87, .05); pointer-events: none; }
.ct-map-card__pin { flex: none; display: flex; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 26px; background: linear-gradient(135deg, #dc3945, #bd232e); color: #fff; font-size: 2rem; box-shadow: 0 16px 34px rgba(195, 44, 53, .3); }
.ct-map-card__body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; }
.ct-map-card__body strong { color: var(--ct-navy); font-size: 1.15rem; font-weight: 900; }
.ct-map-card__body address { margin: 0; font-style: normal; color: #33475b; line-height: 2.1; max-width: 640px; }

/* FAQ */
.ct .ct-faq { margin-bottom: 24px; }
.ct-faq__list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.ct-faq details { background: #fff; border: 1px solid var(--ct-line); border-radius: 18px; transition: border-color .2s, box-shadow .2s; }
.ct-faq details[open] { border-color: #c9d9e8; box-shadow: 0 12px 30px rgba(18, 57, 87, .07); }
.ct-faq summary { position: relative; display: flex; align-items: center; min-height: 58px; padding: 14px 20px; padding-inline-end: 56px; cursor: pointer; list-style: none; font-weight: 800; color: var(--ct-navy); border-radius: 18px; }
.ct-faq summary::-webkit-details-marker { display: none; }
.ct-faq summary::after { content: "+"; position: absolute; inset-inline-end: 16px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: var(--ct-soft); color: var(--ct-red); font-size: 1.2rem; font-weight: 700; transition: transform .25s, background .2s; }
.ct-faq details[open] summary::after { content: "\2212"; background: var(--ct-red); color: #fff; }
.ct-faq details p { margin: 0; padding: 0 20px 18px; color: #44596d; line-height: 2.1; font-size: .92rem; }
.ct-faq details a { color: #145781 !important; font-weight: 700; }

@keyframes ct-spin { to { transform: rotate(360deg); } }
@keyframes ct-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
    .ct-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ct-form-wrap { grid-template-columns: minmax(0, 1fr); }
    .ct-aside { position: static; }
}
@media (max-width: 991px) and (min-width: 768px) {
    .ct-hero { grid-template-columns: minmax(0, 1fr) 230px; }
}
@media (max-width: 767px) {
    .ct-hero .ct-hero__card { margin-top: 22px; padding: 18px; }
    .ct-hero .pb-actions > a { flex: 1 1 100%; }
    .ct-section { padding: 0 16px; margin-bottom: 44px; }
    .ct-heading { margin-bottom: 22px; }
    .ct-methods { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .ct-card { padding: 20px 18px; border-radius: 18px; }
    .ct-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .ct-form-card { border-radius: 20px; }
    .ct-submit button { width: 100%; }
    .ct-socials { padding: 14px 16px; }
    .ct-social { flex: 1 1 auto; justify-content: center; }
    .ct-map { aspect-ratio: 4 / 3; border-radius: 20px; }
    .ct-map-card { flex-direction: column; align-items: flex-start; border-radius: 20px; }
    .ct-map-card__pin { width: 64px; height: 64px; border-radius: 20px; font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
}
