/* تماس با ما */
.c-quick-sec { padding-top: clamp(40px, 5vw, 64px); padding-bottom: 0; }
.c-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.c-chan { position: relative; overflow: hidden; display: flex; align-items: flex-start; gap: 1.1rem; padding: 1.7rem 1.6rem; border-radius: 24px; background: #fff; border: 1px solid rgba(235, 228, 231, .9); box-shadow: 0 30px 60px -48px rgba(22, 26, 44, .55); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.c-chan::before { content: ''; position: absolute; top: 0; right: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--rose), var(--red), var(--red-2)); transform-origin: right; transform: scaleX(.25); transition: transform .6s var(--ease); }
.c-chan:hover { transform: translateY(-6px); border-color: rgba(227, 36, 43, .2); box-shadow: 0 36px 70px -40px rgba(227, 36, 43, .45); }
.c-chan:hover::before { transform: scaleX(1); }
.c-chan > div { position: relative; z-index: 1; display: grid; gap: .15rem; min-width: 0; }
.c-chan h4 { margin: 0 0 .3rem; font-size: 1.05rem; font-weight: 800; color: var(--ink); }
.c-chan a { width: fit-content; font-weight: 700; color: var(--ink-2); transition: color .2s; }
.c-chan a:hover { color: var(--red); }
.fl .c-chan__mark { position: absolute; left: -14px; bottom: -18px; width: 110px; height: 110px; color: var(--red); opacity: .06; stroke-width: 1.4; transition: transform .6s var(--ease), opacity .4s; }
.c-chan:hover .c-chan__mark { transform: rotate(-10deg) scale(1.08); opacity: .1; }
.hours-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.hours-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2rem 1rem; font-size: .92rem; color: var(--ink-2); }
.hours-list .time { font-weight: 800; color: var(--red-d); }

/* فرم و دفترها */
.c-main { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.c-form { box-shadow: 0 40px 90px -56px rgba(22, 26, 44, .6); border-color: rgba(235, 228, 231, .9); }
.c-form > * { position: relative; z-index: 1; }
.c-form__lead { margin: -.8rem 0 1.4rem; text-align: center; font-size: .93rem; color: var(--muted); }
.c-form .f-btn { min-width: 220px; }
.f-field input.error, .f-field textarea.error { border-color: var(--red); background: #fff6f6; box-shadow: 0 0 0 4px rgba(227, 36, 43, .1); }
.f-field input::placeholder, .f-field textarea::placeholder { color: #a2a6b8; }
.f-field textarea { resize: vertical; min-height: 130px; }
.c-alert { display: flex; align-items: flex-start; gap: .7rem; margin-bottom: 1.2rem; padding: .9rem 1rem; border-radius: 14px; font-weight: 600; font-size: .93rem; }
.c-alert p + p { margin-top: .2rem; }
.fl .c-alert svg { width: 22px; height: 22px; margin-top: .2rem; }
.c-alert.success { color: #0f6e3c; background: #eaf8f0; border: 1px solid #bfe8d0; }
.c-alert.error { color: var(--red-d); background: #fff1f2; border: 1px solid #f6cfd3; }

.c-offices .f-h2 { margin-bottom: 1.8rem; }
.c-office { display: grid; grid-template-columns: 190px 1fr; gap: 1.3rem; align-items: center; padding: 14px; padding-inline-end: 1.4rem; border-radius: 24px; background: #fff; border: 1px solid rgba(235, 228, 231, .9); box-shadow: 0 30px 60px -48px rgba(22, 26, 44, .55); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.c-office + .c-office { margin-top: 20px; }
.c-office:hover { transform: translateY(-4px); box-shadow: 0 36px 70px -40px rgba(227, 36, 43, .4); }
.c-office h4 { margin: 0; font-size: 1.1rem; font-weight: 800; color: var(--ink); }
.c-office p { margin-top: .3rem; font-size: .93rem; color: var(--ink-2); line-height: 1.85; }
.c-office__link { display: inline-flex; align-items: center; gap: .35rem; margin-top: .6rem; font-weight: 700; font-size: .9rem; color: var(--red); }
.fl .c-office__link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.c-office__link:hover svg { transform: translate(-3px, -2px); }

/* نقشهٔ تزئینی */
.c-map { position: relative; overflow: hidden; display: block; aspect-ratio: 1 / .82; border-radius: 18px; background: radial-gradient(rgba(227, 36, 43, .16) 1.2px, transparent 1.6px) 0 0 / 14px 14px, linear-gradient(150deg, #fff4f5, #fde3e5); }
.c-map__road { position: absolute; background: #fff; box-shadow: 0 0 0 1px rgba(227, 36, 43, .08); }
.c-map__road--1 { left: -10%; right: -10%; top: 58%; height: 9px; transform: rotate(-14deg); }
.c-map__road--2 { top: -10%; bottom: -10%; left: 34%; width: 7px; transform: rotate(18deg); }
.c-map__road--3 { left: -10%; right: -10%; top: 24%; height: 5px; transform: rotate(9deg); opacity: .8; }
.c-map__pin { position: absolute; left: 50%; top: 46%; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50% 50% 50% 0; color: #fff; background: var(--badge); transform: translate(-50%, -60%) rotate(-45deg); box-shadow: 0 14px 24px -10px rgba(179, 20, 27, .8); }
.c-map__pin::after { content: ''; position: absolute; inset: -8px; border-radius: inherit; border: 2px solid rgba(227, 36, 43, .35); animation: cPin 2.2s ease-out infinite; }
.fl .c-map__pin svg { width: 22px; height: 22px; transform: rotate(45deg); }
.c-map__city { position: absolute; right: 10px; bottom: 10px; padding: .1rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 800; color: var(--red-d); background: rgba(255, 255, 255, .9); }
@keyframes cPin { from { opacity: 1; transform: scale(.85); } to { opacity: 0; transform: scale(1.5); } }

.c-social { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1rem; margin-top: 20px; padding: 1.1rem 1.4rem; border-radius: 20px; color: #fff; font-weight: 700; font-size: .95rem; background: radial-gradient(rgba(255, 255, 255, .15) 1.2px, transparent 1.6px) 0 0 / 16px 16px, linear-gradient(150deg, var(--red-2), var(--red) 50%, var(--red-d)); box-shadow: 0 26px 50px -34px rgba(179, 20, 27, .9); }
.c-social .f-social a { color: #fff; }

@media (max-width: 1100px) {
    .c-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .c-quick .c-chan:last-child { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
    .c-main { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .c-quick { grid-template-columns: 1fr; gap: 18px; }
    .c-office { grid-template-columns: 1fr; padding-inline-end: 14px; }
    .c-office__body { padding: 0 .4rem .4rem; }
    .c-map { aspect-ratio: 16 / 7; }
    .c-form .f-btn { min-width: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .c-map__pin::after { animation: none; } }
.c-form input[dir=ltr]:placeholder-shown { direction: rtl; }
.c-form__lead { margin-bottom: 1.8rem; }
@media (max-width: 640px) {
    .c-chan { padding: 1.2rem 1.2rem; gap: .9rem; }
    .fl .c-chan__mark { width: 80px; height: 80px; }
}
