/* ==================================================
   COMPANY PAGES (/about-us, /certificates, /why-fast2sms) in the home-page design.
   Shared product pieces live in product-v3.css (.pv-*), the base design in home-v2.css.
   Only the few page-specific blocks are here: the company fact card, timeline, values,
   certificate grid and the "who uses" industry list.
   ================================================== */

/* hero right column: a plain fact card instead of a phone demo */
.co-card { width: 100%; max-width: 460px; margin: 0 auto; border-radius: 22px; background: #FFFFFF; border: 1px solid #EEF0F4; box-shadow: 0 18px 44px rgba(16, 24, 40, 0.10); overflow: hidden; }
.co-card__map { position: relative; height: 190px; background: #EEF0F4; }
.co-card__map iframe { display: block; width: 100%; height: 100%; border: 0; }
.co-card__directions { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #FFFFFF; border: 1px solid #EEF0F4; box-shadow: 0 6px 16px rgba(16, 24, 40, 0.12); font-size: 12.5px; font-weight: 600; color: var(--f2h-ink); text-decoration: none; }
.co-card__directions:hover { color: var(--pv-accent); text-decoration: none; }
.co-card__directions svg { width: 14px; height: 14px; }
.co-card__body { padding: 18px 22px 20px; }
/* cards without the map/body wrapper (certificates, why-fast2sms) keep their own padding and detail grid */
.co-card:not(:has(.co-card__body)) { padding: 18px 22px 20px; }
.co-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; margin: 16px 0 0; }
.co-card__head { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid #EEF0F4; }
.co-card__head img { width: auto; height: 36px; max-width: 140px; border-radius: 0; object-fit: contain; }
.co-card__head strong { display: block; font-size: 14px; font-weight: 700; color: var(--f2h-ink); }
.co-card__head small { display: block; margin-top: 1px; font-size: 12px; color: var(--f2h-muted); }
.co-card__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin: 14px 0 0; padding: 0; list-style: none; }
.co-card__facts li { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.co-card__facts li:first-child { grid-column: 1 / -1; }
.co-card__ico { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 10px; background: var(--pv-soft); color: var(--pv-accent); }
.co-card dt { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #98A2B3; }
.co-card dd { margin: 2px 0 0; font-size: 13.5px; line-height: 19px; font-weight: 600; color: var(--f2h-ink); overflow-wrap: anywhere; }
.co-card dd a { color: inherit; text-decoration: none; }
.co-card dd a:hover { color: var(--pv-accent); }
.co-card__foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #EEF0F4; }
.co-card__foot span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--pv-soft); border: 1px solid var(--pv-soft-border); font-size: 12px; font-weight: 600; color: var(--f2h-ink); }
.co-card__foot svg { color: var(--pv-ok); }

/* "What we do" tiles reuse .f2h-channels from home-v2.css; the sub-grid of 6 keeps three per row */
.co-channels .f2h-channel__text { min-height: 0; }

/* timeline */
.co-timeline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.co-timeline li { position: relative; padding: 22px 20px 20px; border-radius: 18px; }
.co-timeline__year { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--pv-soft); border: 1px solid var(--pv-soft-border); font-size: 12.5px; font-weight: 700; color: var(--pv-accent-dark); }
.co-timeline h3 { margin: 12px 0 6px; font-size: 16px; line-height: 22px; font-weight: 700; color: var(--f2h-ink); }
.co-timeline p { margin: 0; font-size: 14px; line-height: 21px; color: var(--f2h-muted); }

/* values: four short cards */
.co-values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.co-value { padding: 22px; border-radius: 18px; }
.co-value h3 { margin: 14px 0 6px; font-size: 16px; line-height: 22px; font-weight: 700; color: var(--f2h-ink); }
.co-value p { margin: 0; font-size: 14px; line-height: 21px; color: var(--f2h-muted); }

/* clients */

/* certificates */
.co-certs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.co-cert { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; color: inherit; text-decoration: none; }
/* a card with a PDF is one link: the whole card lifts on hover and opens the certificate on click */
.co-cert--link { cursor: pointer; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.co-cert--link:hover, .co-cert--link:focus-visible { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16, 24, 40, 0.12); border-color: #D9D6F5; text-decoration: none; color: inherit; outline: none; }
.co-cert--link:hover h3 { color: var(--pv-accent, #7F56D9); }
.co-cert__img { display: flex; align-items: center; justify-content: center; height: 200px; padding: 24px 20px 8px; background: transparent; }
.co-cert__img img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.co-cert__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 18px 20px 20px; }
.co-cert__tag { align-self: flex-start; padding: 3px 9px; border-radius: 999px; background: #E6F7EE; color: #027A48; font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; }
.co-cert h3 { margin: 4px 0 0; font-size: 17px; line-height: 23px; font-weight: 700; color: var(--f2h-ink); }
.co-cert__issuer { font-size: 12.5px; font-weight: 600; color: #98A2B3; }
.co-cert p { margin: 4px 0 0; font-size: 14px; line-height: 21px; color: var(--f2h-muted); }

/* why: one compare table per channel, with a channel header above each */
.co-compare + .co-compare { margin-top: 34px; }
.co-compare__head { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.co-compare__head img { width: 30px; height: 30px; }
.co-compare__head h3 { margin: 0; font-size: 20px; line-height: 26px; font-weight: 700; color: var(--f2h-ink); }
.co-compare__head a { margin-left: auto; }

/* who uses: industries */
.co-industries { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.co-industry { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; }
.co-industry strong { display: block; font-size: 15px; font-weight: 700; color: var(--f2h-ink); }
.co-industry span { display: block; margin-top: 3px; font-size: 13px; line-height: 19px; color: var(--f2h-muted); }

/* same first-screen hero as the product pages (min-height from home-v2.css); only the visual column loses its demo height */
.pv-page--co .f2h-hero__visual { min-height: 0; }

@media (max-width: 1024px) {
    .co-timeline, .co-values, .co-industries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .co-certs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .co-card__body { padding: 16px; }
    .co-card__map { height: 160px; }
    .co-card__facts { grid-template-columns: 1fr; }
    .co-timeline, .co-values, .co-certs, .co-industries { grid-template-columns: 1fr; }
    .co-cert__img { height: 180px; }
    .co-compare__head { flex-wrap: wrap; }
    .co-compare__head a { margin-left: 42px; }
    /* two compact cards per row leave ~55px for the title: drop the chevron and let long names wrap */
    .co-channels .f2h-channel__arrow { display: none; }
    .co-channels .f2h-channel__title { overflow-wrap: anywhere; }
}

/* certificate marks under the compliance card (certificates page hero) */
.co-marks { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; max-width: 560px; margin: 20px auto 0; padding: 14px 18px; list-style: none; border-radius: 16px; background: rgba(255, 255, 255, 0.7); border: 1px solid #EEF0F4; }
.co-marks li { display: inline-flex; align-items: center; }
.co-marks a { display: inline-flex; border-radius: 8px; transition: transform 0.2s ease; }
.co-marks a:hover { transform: translateY(-2px); }
.co-marks img { display: block; width: auto; height: 36px; max-width: 100px; object-fit: contain; }
@media (max-width: 767px) { .co-marks { flex-wrap: wrap; justify-content: center; gap: 10px 14px; padding: 12px; } .co-marks img { height: 30px; max-width: 92px; } }
