/* Contact page visual system: matches homepage colors, cards and typography. */
.ts-contact { width: min(88%, 1450px); margin-inline: auto; padding-block: 24px 0; color: #292929; font-family: "Yekan Bakh FaNum", Tahoma, sans-serif; direction: rtl; }
.ts-contact *, .ts-contact *::before, .ts-contact *::after { box-sizing: border-box; }
.ts-contact__breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; color: #777; margin-block-end: 22px; }
.ts-contact__breadcrumb a { text-decoration: none; color: #292929; }
.ts-contact-hero { position: relative; isolation: isolate; min-height: 320px; padding: clamp(30px, 5vw, 64px); border-radius: 36px; overflow: hidden; background: #141b23 url("../../images/home/vehicle-brands-background.png") center / cover; color: #fff; }
.ts-contact-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(270deg, rgb(8 13 21 / 85%), rgb(8 13 21 / 25%)); }
.ts-contact-hero__image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.ts-contact-hero__content { position: relative; z-index: 1; max-width: 800px; }
.ts-contact__eyebrow { display: inline-flex; padding: 5px 12px; margin: 0 0 14px; border: 1px solid rgb(255 255 255 / 15%); border-radius: 999px; color: #ddd; font-size: 12px; line-height: 1.8; }
.ts-contact-hero h1 { margin: 0 0 10px; font-size: clamp(32px, 4vw, 56px); line-height: 1.4; font-weight: 900; }
.ts-contact-hero__accent { margin: 0 0 14px; color: #ff3445; font-size: clamp(18px, 2vw, 26px); line-height: 1.7; font-weight: 800; }
.ts-contact-hero__description { max-width: 680px; margin: 0; color: #ddd; font-size: 15px; line-height: 2; }
.ts-contact-hero__decoration { position: absolute; left: 6%; top: 20%; opacity: .075; transform: rotate(-12deg); pointer-events: none; }
.ts-contact-hero__decoration svg { width: 220px; height: 220px; }
.ts-contact__button { display: inline-flex; justify-content: center; align-items: center; gap: 16px; min-height: 46px; padding: 11px 20px; border: none; border-radius: 12px; margin-block-start: 24px; background: #ed1024; color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; transition: background-color 180ms ease; }
.ts-contact__button:hover { background: #cb0c1e; }
.ts-contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-block: 28px 44px; }
.ts-contact-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 28px; border: 1px solid #eaeaea; border-radius: 22px; background: #fff; overflow-wrap: anywhere; transition: transform 200ms ease, border-color 200ms ease; }
@media (hover: hover) { .ts-contact-card:hover { transform: translateY(-3px); border-color: #f5bbc0; } }
.ts-contact__icon-box { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 14px; background: #fff0f1; color: #ed1024; }
.ts-contact__icon-image { display: block; width: 26px; height: 26px; max-height: 26px; object-fit: contain; }
.ts-contact-card h2 { margin: 18px 0 8px; font-size: 18px; font-weight: 800; line-height: 1.7; }
.ts-contact-card__value { margin: 0 0 6px; font-size: 18px; line-height: 1.8; font-weight: 700; }
.ts-contact-card__description { margin: 0 0 16px; font-size: 13px; line-height: 1.9; color: #777; }
.ts-contact-card__link { display: inline-flex; align-items: center; gap: 12px; margin-block-start: auto; padding-block-start: 12px; color: #d91022; font-size: 13px; font-weight: 600; text-decoration: none; }
.ts-contact-card__link svg { width: 18px; height: 18px; }
.ts-contact-connect { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px; margin-block: 36px; align-items: stretch; }
.ts-contact__panel { border-radius: 26px; padding: clamp(24px, 3vw, 40px); background: #fff; min-width: 0; }
.ts-contact__heading { margin: 18px 0 12px; font-size: clamp(22px, 2.1vw, 30px); font-weight: 900; line-height: 1.7; overflow-wrap: anywhere; }
.ts-contact__description { margin: 0 0 22px; font-size: 14px; line-height: 2; color: #777; overflow-wrap: anywhere; }
.ts-contact-form__fallback { padding: 18px; border-radius: 14px; background: #f5f5f5; color: #666; font-size: 14px; line-height: 1.9; }
.ts-contact-support { padding: clamp(24px, 3vw, 40px); border-radius: 26px; background: #191f28; color: #fff; min-width: 0; }
.ts-contact-support .ts-contact__description { color: #c6c8cd; }
.ts-contact-support .ts-contact__icon-box { color: #fff; background: #ed1024; }
.ts-contact-support__hours { padding-block: 22px; margin-block-start: 24px; border-block: 1px solid rgb(255 255 255 / 12%); }
.ts-contact-support__hours h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 16px; }
.ts-contact-support__hours h3 svg { width: 20px; height: 20px; color: #ffc400; }
.ts-contact-support__hours p { margin: 0; font-size: 14px; line-height: 2; color: #ddd; }
.ts-contact__socials { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 24px 0 0; list-style: none; }
.ts-contact__socials a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border: 1px solid rgb(255 255 255 / 18%); border-radius: 10px; padding: 9px 12px; font-size: 12px; color: #fff; text-decoration: none; }
.ts-contact__socials svg, .ts-contact__socials img { width: 18px; height: 18px; }
.ts-contact-location { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: 36px; margin-block: 36px; }
.ts-contact-location--no-map { grid-template-columns: minmax(0, 1fr); }
.ts-contact-location__copy { min-width: 0; }
.ts-contact-location address { font-style: normal; font-size: 15px; line-height: 2; margin-block-end: 16px; overflow-wrap: anywhere; }
.ts-contact-location__map { display: block; width: 100%; height: 360px; border: 0; border-radius: 20px; background: #eee; }
.ts-contact-faq { margin-block: 48px 0; max-width: 100%; }
.ts-contact-faq__items { display: grid; gap: 12px; margin-block-start: 24px; }
.ts-contact-faq details { border: 1px solid #e8e8e8; border-radius: 16px; background: #fff; padding: 0 24px; }
.ts-contact-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; min-height: 68px; padding-block: 18px; cursor: pointer; font-size: 15px; font-weight: 700; line-height: 1.8; overflow-wrap: anywhere; }
.ts-contact-faq summary::-webkit-details-marker { display: none; }
.ts-contact-faq summary span { color: #ed1024; font-size: 24px; flex-shrink: 0; transition: transform 180ms ease; }
.ts-contact-faq details[open] summary span { transform: rotate(45deg); }
.ts-contact-faq details p { margin: 0; padding-block: 0 24px; font-size: 14px; line-height: 2; color: #777; overflow-wrap: anywhere; }
/* Preserve Gravity Forms labels, validation and confirmation output. */
.ts-contact-form__embed { margin-block-start: 26px; font-size: 14px; }
.ts-contact-form__embed .gform_fields { gap: 20px; }
.ts-contact-form__embed input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), .ts-contact-form__embed textarea, .ts-contact-form__embed select { min-height: 48px; max-width: 100%; border: 1px solid #dedede; border-radius: 10px; background: #fafafa; padding: 12px; font: inherit; color: #292929; }
.ts-contact-form__embed textarea { min-height: 140px; }
.ts-contact-form__embed input[type="submit"], .ts-contact-form__embed button[type="submit"] { min-height: 46px; max-width: 100%; padding: 12px 26px; border: 0; border-radius: 12px; background: #ed1024; color: #fff; font: inherit; cursor: pointer; }
.ts-contact-form__embed .gfield_label { font-size: 14px; font-weight: 600; }
.ts-contact a:focus-visible, .ts-contact input:focus-visible, .ts-contact button:focus-visible, .ts-contact textarea:focus-visible, .ts-contact select:focus-visible, .ts-contact summary:focus-visible { outline: 3px solid #ed1024; outline-offset: 4px; }
.ts-contact.is-animated [data-contact-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 500ms ease, transform 500ms ease; }
.ts-contact.is-animated [data-contact-reveal].is-visible { opacity: 1; transform: none; }
@media (max-width: 1000px) {
 .ts-contact-connect, .ts-contact-location { grid-template-columns: minmax(0, 1fr); }
 .ts-contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .ts-contact-location__map { height: 340px; }
}
@media (max-width: 600px) {
 .ts-contact { width: calc(100% - 32px); padding-block-start: 18px; }
 .ts-contact-hero { min-height: 0; border-radius: 24px; padding: 30px 22px; }
 .ts-contact-hero__description { font-size: 14px; }
 .ts-contact-hero__decoration { left: -40px; top: 30%; }
 .ts-contact-cards { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-block: 20px 30px; }
 .ts-contact-card, .ts-contact__panel, .ts-contact-support { padding: 24px 20px; border-radius: 20px; }
 .ts-contact-connect { gap: 18px; }
 .ts-contact-location { gap: 24px; }
 .ts-contact-location__map { height: 300px; border-radius: 14px; }
 .ts-contact-faq details { padding-inline: 18px; }
 .ts-contact-faq summary { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
 .ts-contact *, .ts-contact *::before, .ts-contact *::after { transition: none !important; scroll-behavior: auto !important; }
 .ts-contact.is-animated [data-contact-reveal] { opacity: 1; transform: none; }
}
