/* About & contact pages — scoped to avoid changing product pages. */
.company-page {
    --company-red: #c91f3d;
    --company-red-dark: #97172e;
    --company-orange: #ed7745;
    --company-ink: #2b2630;
    --company-muted: #746d75;
    --company-line: #eee2e4;
    direction: rtl;
    color: var(--company-ink);
    background: #fff;
    font-family: IRANSans, Tahoma, Arial, sans-serif;
}

.company-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.company-section { padding: 76px 0; }
.company-section--soft { background: linear-gradient(135deg, #fff8f8, #fff5f0); }
.company-eyebrow { display: inline-flex; gap: 7px; align-items: center; color: var(--company-red); font-size: 12px; font-weight: 700; }
.company-eyebrow i { color: var(--company-orange); }

.company-hero {
    overflow: hidden;
    padding: 74px 0 82px;
    background:
        radial-gradient(circle at 12% 18%, rgba(237,119,69,.20), transparent 20rem),
        radial-gradient(circle at 83% 94%, rgba(201,31,61,.16), transparent 22rem),
        linear-gradient(125deg, #5d1225 0%, #9c1832 52%, #c82b42 100%);
    color: #fff;
}
.company-hero__grid { display: grid; grid-template-columns: 1.4fr .6fr; align-items: center; gap: 58px; }
.company-hero .company-eyebrow { color: #ffe4d1; }
.company-hero h1, .contact-hero h1 { margin: 13px 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.45; color: #fff; }
.company-hero h1 em { color: #ffd1af; font-style: normal; }
.company-hero p { max-width: 635px; margin: 0; color: rgba(255,255,255,.84); font-size: 16px; line-height: 2.2; }
.company-hero__actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 27px; }
.company-hero__visual { display: grid; place-items: center; width: 205px; aspect-ratio: 1; margin: auto; padding: 13px; border: 1px solid rgba(255,255,255,.28); border-radius: 38% 62% 56% 44% / 46% 42% 58% 54%; background: rgba(255,255,255,.09); box-shadow: 0 20px 45px rgba(60,7,22,.22); }
.company-hero__visual img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; background: #fff; }
.company-hero__visual span { color: #fff; font-size: 18px; font-weight: 700; text-align: center; }

.company-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 19px; border: 1px solid transparent; border-radius: 9px; font-family: inherit; font-size: 13px; font-weight: 700; text-decoration: none !important; transition: transform .18s, box-shadow .18s, background .18s; }
.company-button:hover { transform: translateY(-2px); }
.company-button--solid { color: #fff !important; background: linear-gradient(105deg, var(--company-red), #e44951); box-shadow: 0 9px 18px rgba(176,28,53,.22); }
.company-hero .company-button--solid { background: #fff; color: var(--company-red) !important; box-shadow: none; }
.company-button--ghost { color: #fff !important; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.08); }

.about-story { display: grid; grid-template-columns: 1fr 285px; gap: 34px; align-items: start; }
.company-section-heading { grid-column: 1 / -1; }
.company-section-heading span { color: var(--company-red); font-size: 12px; font-weight: 700; }
.company-section-heading h2, .contact-details h2, .contact-form-card h2, .company-contact-strip h2 { margin: 7px 0 0; color: var(--company-ink); font-size: clamp(22px, 3vw, 31px); line-height: 1.6; }
.company-section-heading--center { text-align: center; }
.about-story__content { padding: 25px 29px; border: 1px solid var(--company-line); border-radius: 14px; background: #fff; line-height: 2.25; color: #4f4750; box-shadow: 0 12px 30px rgba(73,31,41,.05); }
.about-story__content p { margin: 0; }
.about-story__quote { position: relative; padding: 25px; border-radius: 14px; background: #fff5f2; color: #6f2635; line-height: 2; }
.about-story__quote i { display: block; margin-bottom: 10px; color: var(--company-orange); font-size: 24px; }
.about-story__quote p { margin: 0; font-weight: 700; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.value-card { padding: 28px 25px; border: 1px solid #f1e5e5; border-radius: 14px; background: #fff; box-shadow: 0 10px 25px rgba(91,29,45,.04); transition: transform .18s, box-shadow .18s; }
.value-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(91,29,45,.10); }
.value-card__icon, .contact-details__icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--company-red); background: #fff0f2; font-size: 18px; }
.value-card h3 { margin: 16px 0 7px; color: var(--company-ink); font-size: 17px; }
.value-card p { margin: 0; color: var(--company-muted); font-size: 13px; line-height: 2; }

.company-contact-strip { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 34px 38px; border-radius: 16px; background: linear-gradient(110deg, #fff4f3, #fffaf8); border: 1px solid #f4dddd; }
.company-contact-strip p { margin: 7px 0 0; color: var(--company-muted); font-size: 13px; }

.contact-hero { padding: 63px 0; color: #fff; background: linear-gradient(112deg, #72142a, #b11e39 60%, #df5640); }
.contact-hero p { margin: 0; color: rgba(255,255,255,.85); font-size: 15px; }
.contact-hero .company-eyebrow { color: #ffd9c4; }
.contact-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 34px; align-items: start; }
.contact-details { padding: 10px 4px; }
.contact-details > p { margin: 14px 0 26px; color: var(--company-muted); line-height: 2.1; font-size: 13px; }
.contact-details__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.contact-details__list li { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 1px solid var(--company-line); border-radius: 12px; background: #fff; }
.contact-details__list small { display: block; margin-bottom: 2px; color: var(--company-muted); font-size: 11px; }
.contact-details__list strong, .contact-details__list a { color: #423b44; font-size: 12px; font-weight: 700; line-height: 1.9; text-decoration: none; }
.contact-details__list a { color: var(--company-red); }
.contact-form-card { padding: 31px; border: 1px solid var(--company-line); border-radius: 16px; background: #fff; box-shadow: 0 15px 34px rgba(83,27,40,.08); }
.contact-form-card__heading { margin-bottom: 24px; padding-bottom: 17px; border-bottom: 1px solid #f2e9e9; }
.contact-form-card__heading h2 { margin: 0; font-size: 23px; }
.contact-form-card__heading p { margin: 4px 0 0; color: var(--company-muted); font-size: 12px; }
.contact-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.contact-form__group { margin-bottom: 18px; }
.contact-form__group label { display: block; margin: 0 0 7px; color: #4c444d; font-size: 12px; font-weight: 700; }
.contact-form__group label b { color: var(--company-red); }
.contact-form__control { width: 100%; min-height: 44px; box-sizing: border-box; padding: 9px 12px; border: 1px solid #e7dce0; border-radius: 8px; outline: 0; color: #312b33; background: #fff; font: inherit; font-size: 12px; transition: border .16s, box-shadow .16s, background .16s; }
textarea.contact-form__control { min-height: 138px; resize: vertical; line-height: 2; }
.contact-form__control:focus { border-color: #d84a61; background: #fffdfd; box-shadow: 0 0 0 3px rgba(216,74,97,.11); }
.contact-form__control.is-invalid { border-color: #ce3048; }
.contact-form__label-row { display: flex; align-items: center; justify-content: space-between; }
.contact-form__label-row small { color: #9c939b; font-size: 10px; }
.contact-form__error { display: block; margin-top: 5px; color: #c21f3d; font-size: 10px; }
.contact-form__submit { width: 100%; border: 0; cursor: pointer; }
.contact-alert { display: flex; align-items: center; gap: 8px; margin: 0 0 17px; padding: 11px 13px; border-radius: 8px; font-size: 12px; line-height: 1.8; }
.contact-alert--success { color: #166534; background: #edfdf3; border: 1px solid #bbefce; }
.contact-alert--error { color: #9e1730; background: #fff1f3; border: 1px solid #ffd1d9; }

@media (max-width: 850px) {
    .company-hero__grid, .contact-layout { grid-template-columns: 1fr; }
    .company-hero__visual { display: none; }
    .about-story { grid-template-columns: 1fr; }
    .value-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .company-container { width: min(100% - 28px, 1180px); }
    .company-section { padding: 48px 0; }
    .company-hero { padding: 51px 0 58px; }
    .company-hero h1, .contact-hero h1 { font-size: 30px; }
    .company-hero p { font-size: 13px; }
    .company-contact-strip { display: block; padding: 25px; }
    .company-contact-strip .company-button { width: 100%; margin-top: 20px; }
    .contact-form-card { padding: 22px 17px; }
    .contact-form__grid { grid-template-columns: 1fr; gap: 0; }
}
