/* Phase 24: shared internal company-page system. */
.company-page {
  --company-red: #c10917;
  --company-red-dark: #ad0c14;
  --company-text: #232323;
  --company-muted: #66616a;
  --company-surface: #fff;
  --company-soft: #f7f3f6;
  direction: rtl;
  color: var(--company-text);
  font-family: IRYekanBakh, sans-serif;
  overflow: clip;
}

.company-page,
.company-page * {
  box-sizing: border-box;
}

.company-page > .e-con {
  width: 100%;
}

.company-page-hero {
  position: relative;
  min-height: 285px;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  padding: 58px max(20px, calc((100vw - 1329px) / 2)) 64px;
  background-color: #f7f1f4;
  background-image: linear-gradient(rgba(247, 241, 244, .86), rgba(247, 241, 244, .94)), url("/wp-content/uploads/2026/09/saharkhiz-header-story-pattern.webp");
  background-position: center;
  background-size: cover;
}

.company-page-breadcrumb,
.company-page-breadcrumb p {
  margin: 0;
}

.company-page-breadcrumb nav {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #777079;
  font-size: 14px;
  line-height: 1.8;
}

.company-page-breadcrumb a {
  color: var(--company-red);
  text-decoration: none;
}

.company-page-title .elementor-heading-title {
  margin: 0;
  color: var(--company-text);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.3;
}

.company-page-subtitle {
  max-width: 760px;
}

.company-page-subtitle p {
  margin: 0;
  color: var(--company-muted);
  font-size: 18px;
  line-height: 2;
}

.company-page .company-page-section {
  --width: min(1329px, calc(100% - 20px)) !important;
  width: var(--width) !important;
  max-width: 1329px !important;
  margin-inline: auto !important;
  align-self: center;
  padding-block: 78px;
}

.company-section-title .elementor-heading-title {
  margin: 0 0 28px;
  color: var(--company-text);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 900;
  line-height: 1.45;
}

.company-section-title .elementor-heading-title::after {
  display: block;
  width: 52px;
  height: 3px;
  margin-top: 14px;
  border-radius: 99px;
  background: var(--company-red);
  content: "";
}

.company-reading-copy {
  max-width: 980px;
}

.company-reading-copy p {
  margin: 0 0 18px;
  color: #4c484e;
  font-size: 17px;
  line-height: 2.15;
}

.about-values {
  --width: 100% !important;
  width: 100% !important;
  max-width: none !important;
  padding-inline: max(20px, calc((100vw - 1329px) / 2));
  background: var(--company-soft);
}

.company-values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.company-value-item {
  min-width: 0;
}

.company-value-card > .elementor-widget-container {
  height: 100%;
  padding: 30px 22px 28px;
  border: 1px solid rgba(132, 122, 157, .11);
  border-radius: 12px;
  background: var(--company-surface);
  box-shadow: 0 12px 34px rgba(35, 35, 35, .07);
}

.company-value-card .elementor-icon-box-wrapper {
  height: 100%;
}

.company-value-card .elementor-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(193, 9, 23, .09);
  color: var(--company-red);
  font-size: 25px;
}

.company-value-card .elementor-icon-box-title {
  margin: 18px 0 10px;
  color: var(--company-text);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.6;
}

.company-value-card .elementor-icon-box-description {
  margin: 0;
  color: var(--company-muted);
  font-size: 15px;
  line-height: 1.95;
}

.company-cta {
  align-items: center;
  margin-block: 76px;
  padding: 58px 32px;
  border-radius: 12px;
  background: #f4e8ec;
  text-align: center;
}

.company-cta .company-section-title .elementor-heading-title::after {
  margin-inline: auto;
}

.company-cta-copy p {
  margin: 0;
  color: var(--company-muted);
  font-size: 17px;
  line-height: 1.9;
  text-align: center;
}

.company-cta-actions {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.company-button {
  width: auto;
}

.company-button .elementor-button {
  min-width: 160px;
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid var(--company-red);
  border-radius: 11px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.company-button .elementor-button:hover {
  transform: translateY(-1px);
}

.company-button--primary .elementor-button {
  background: var(--company-red);
  color: #fff;
}

.company-button--primary .elementor-button:hover {
  background: var(--company-red-dark);
}

.company-button--secondary .elementor-button {
  background: #fff;
  color: var(--company-red);
}

.company-button--secondary .elementor-button:hover {
  background: var(--company-red);
  color: #fff;
}

.contact-primary {
  padding-block: 72px 36px;
}

.contact-phone-card {
  align-items: center;
  max-width: 760px;
  margin-inline: auto;
  padding: 46px 30px;
  border: 1px solid rgba(193, 9, 23, .1);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(35, 35, 35, .08);
  text-align: center;
}

.contact-phone-details .elementor-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(193, 9, 23, .1);
  color: var(--company-red);
  font-size: 28px;
}

.contact-phone-details .elementor-icon-box-title {
  margin: 18px 0 8px;
  color: var(--company-text);
  font-size: 26px;
  font-weight: 900;
}

.contact-phone-details .elementor-icon-box-description {
  color: var(--company-red);
  font-size: 28px;
  font-weight: 800;
  direction: ltr;
}

.contact-phone-button {
  margin-top: 20px;
}

.contact-guidance {
  padding-top: 42px;
}

.contact-guidance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.contact-guidance-item {
  min-width: 0;
}

.contact-guidance-item .company-value-card > .elementor-widget-container {
  min-height: 286px;
}

.contact-franchise-cta {
  margin-top: 26px;
}

.franchise-intro {
  padding-bottom: 44px;
}

.franchise-important-note {
  max-width: 980px;
  padding: 18px 20px;
  border-right: 4px solid var(--company-red);
  border-radius: 10px;
  background: #fbf1f3;
  color: #4b3237 !important;
}

.franchise-process {
  padding-top: 42px;
}

.franchise-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.franchise-process-item .company-value-card > .elementor-widget-container {
  min-height: 250px;
}

.franchise-main {
  padding-top: 34px;
  padding-bottom: 92px;
}

.franchise-main > .e-con-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr);
  align-items: start !important;
  gap: 28px;
}

.franchise-form-column,
.franchise-support-column {
  --width: 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  padding: 34px;
  border: 1px solid rgba(132, 122, 157, .12);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(35, 35, 35, .07);
}

.franchise-form-column {
  grid-column: 1;
}

.franchise-support-column {
  grid-column: 2;
}

.franchise-support-column {
  position: sticky;
  top: 105px;
  background: #f8f4f6;
}

.franchise-column-title .elementor-heading-title {
  margin: 0 0 24px;
  color: var(--company-text);
  font-size: 25px;
  font-weight: 900;
  line-height: 1.5;
}

.franchise-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.franchise-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  color: #3b373c;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}

.franchise-field--wide {
  grid-column: 1 / -1;
}

.project-franchise-page .wpcf7-form-control-wrap {
  display: block;
}

.project-franchise-page .wpcf7 input:not([type="submit"]):not([type="checkbox"]),
.project-franchise-page .wpcf7 select,
.project-franchise-page .wpcf7 textarea {
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid #d8d2d7;
  border-radius: 11px;
  background: #fff;
  color: var(--company-text);
  font-family: IRYekanBakh, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  direction: rtl;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.project-franchise-page .wpcf7 textarea {
  min-height: 126px;
  resize: vertical;
}

.project-franchise-page .wpcf7 input:focus,
.project-franchise-page .wpcf7 select:focus,
.project-franchise-page .wpcf7 textarea:focus {
  border-color: var(--company-red);
  outline: none;
  box-shadow: 0 0 0 3px rgba(193, 9, 23, .1);
}

.franchise-consent {
  padding: 15px 16px;
  border-radius: 10px;
  background: #f8f4f6;
  font-weight: 500;
}

.franchise-consent .wpcf7-list-item {
  margin: 0;
}

.franchise-consent label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.franchise-consent input[type="checkbox"] {
  width: 19px;
  height: 19px;
  margin-top: 3px;
  accent-color: var(--company-red);
}

.project-franchise-page .franchise-submit .wpcf7-submit {
  width: 100%;
  height: 53px !important;
  min-height: 53px !important;
  margin: 0;
  border: 0;
  border-radius: 11px;
  background: var(--company-red);
  color: #fff;
  font-family: IRYekanBakh, sans-serif;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}

.project-franchise-page .franchise-submit .wpcf7-submit:hover {
  background: var(--company-red-dark);
  transform: translateY(-1px);
}

.project-franchise-page .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: var(--company-red);
  font-size: 13px;
  font-weight: 500;
}

.project-franchise-page .wpcf7-response-output {
  margin: 20px 0 0 !important;
  padding: 13px 16px !important;
  border-width: 1px !important;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.8;
}

.franchise-support-copy ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.franchise-support-copy li {
  position: relative;
  padding-right: 21px;
  color: var(--company-muted);
  font-size: 15px;
  line-height: 1.9;
}

.franchise-support-copy li::before {
  position: absolute;
  top: 12px;
  right: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--company-red);
  content: "";
}

.franchise-support-phone {
  align-items: center;
  margin-top: 28px;
  padding: 28px 20px;
  border-radius: 12px;
  background: #fff;
  text-align: center;
}

.franchise-support-details .elementor-icon {
  color: var(--company-red);
  font-size: 24px;
}

.franchise-support-details .elementor-icon-box-title {
  margin: 12px 0 7px;
  color: var(--company-text);
  font-size: 19px;
  font-weight: 800;
}

.franchise-support-details .elementor-icon-box-description {
  color: var(--company-red);
  font-size: 21px;
  font-weight: 800;
  direction: ltr;
}

.franchise-phone-button {
  margin-top: 16px;
}

@media (max-width: 1024px) {
  .company-page-hero {
    min-height: 250px;
    padding-block: 48px 54px;
  }

  .company-page-section {
    padding-block: 64px;
  }

  .company-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-guidance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .franchise-main > .e-con-inner {
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, .8fr);
  }
}

@media (max-width: 900px) {
  .franchise-main > .e-con-inner {
    grid-template-columns: 1fr;
  }

  .franchise-support-column {
    position: static;
  }

  .franchise-form-column,
  .franchise-support-column {
    grid-column: auto;
  }
}

@media (max-width: 767px) {
  .company-page-hero {
    min-height: 220px;
    gap: 9px;
    padding: 38px 20px 44px;
  }

  .company-page-title .elementor-heading-title {
    font-size: 34px;
  }

  .company-page-subtitle p {
    font-size: 16px;
    line-height: 1.9;
  }

  .company-page-section {
    padding-block: 50px;
  }

  .company-reading-copy p {
    font-size: 16px;
    line-height: 2;
  }

  .company-values-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-guidance-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .franchise-process-grid,
  .franchise-main > .e-con-inner,
  .franchise-form-grid {
    grid-template-columns: 1fr;
  }

  .franchise-main {
    gap: 20px;
    padding-bottom: 94px;
  }

  .franchise-form-column,
  .franchise-support-column {
    padding: 25px 20px;
  }

  .franchise-support-column {
    position: static;
  }

  .franchise-field--wide {
    grid-column: auto;
  }

  .contact-phone-card {
    padding: 38px 20px;
  }

  .company-cta {
    margin-block: 54px 88px;
    padding: 42px 20px;
  }

  .company-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .company-button,
  .company-button .elementor-button {
    width: 100%;
  }
}
