/* =========================================================
   Front page — hand-coded replacement for the Elementor "Home"
   page (id 4576). Section backgrounds/gradients below match
   exactly what each container's live settings specified (see
   front-page.php's header comment) - colors are the site's real
   Global Kit values, not approximations.
   ========================================================= */

/* .screen-reader-text now lives in header.css (loaded on every page
   unconditionally, unlike this file) - see that file for why. */

:root {
    --fp-primary: #000000;
    --fp-secondary: #A502A8;
    --fp-text: #FAFAFA;
    --fp-accent: #FFFFFF;
    --fp-color1: #101010;
    --fp-color2: #2F4A9D;
    --fp-heading-font: 'Mulish', sans-serif;
    --fp-body-font: 'Inter', sans-serif;

    /* Type scale - formalizes the sizes this file already used (a
       usability audit flagged the previous ad-hoc spread as "no shared
       system"). Scoped to this file only for now: footer.css,
       header.css, blog-grid.css and single-post.css each have their
       own separate sizes not consolidated here - merging those in too
       needs visual QA across breakpoints on each page, which isn't
       safe to do blind in one pass. */
    --fp-fs-xs: 0.85rem;
    --fp-fs-sm: 0.95rem;
    --fp-fs-base: 1.05rem;
    --fp-fs-lg: 1.25rem;
    --fp-fs-xl: 1.5rem;
    --fp-fs-2xl: 2.2rem;
    --fp-fs-3xl: 2.75rem;
    --fp-fs-4xl: 3.2rem;

    /* Radius scale - same reasoning as the type scale above. 999px/50%
       (pills, circles) are semantic shapes, not part of this linear
       scale, so they're left as literal values where used. */
    --fp-radius-sm: 6px;
    --fp-radius-md: 10px;
}

.hec-fp-section {
    padding: 5em 0;
}
.hec-fp-section__inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}
.hec-fp-section__head {
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hec-fp-eyebrow {
    display: inline-block;
    font-family: var(--fp-body-font);
    font-size: var(--fp-fs-xs);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    /* var(--fp-secondary) (#A502A8) on the section's black/near-black
       background is ~3.2:1 - fails WCAG AA's 4.5:1 for normal-size
       text (PageSpeed flagged this). Lightened specifically for this
       small-text use, not changed globally - buttons/borders/etc.
       keep the real brand purple everywhere else. #D34DD6 is ~5.8:1. */
    color: #D34DD6;
    margin-bottom: 0.75em;
}
.hec-fp-h2 {
    font-family: var(--fp-heading-font);
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1.25;
    color: var(--fp-accent);
    margin: 0 0 0.6em;
}
.hec-fp-h3 {
    font-family: var(--fp-heading-font);
    font-size: var(--fp-fs-lg);
    font-weight: 500;
    line-height: 1.3;
    color: var(--fp-accent);
    margin: 0 0 0.5em;
}
.hec-fp-p {
    font-family: var(--fp-body-font);
    font-size: var(--fp-fs-base);
    font-weight: 300;
    line-height: 1.6;
    color: var(--fp-text);
    margin: 0 0 1em;
}

.hec-fp-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.75em 1.75em;
    border-radius: var(--fp-radius-sm);
    font-family: var(--fp-body-font);
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.hec-fp-button--primary {
    background-color: var(--fp-secondary);
    border: 1px solid var(--fp-secondary);
}
/* Same specificity-tie bug as blog.css's .hec-blog-filter-bar__item fix
   (2026-11-07 site audit, confirmed live): this button renders
   type="submit" (the Contact form's Send button), which ties in CSS
   specificity with the theme's reset.css [type="submit"] { color:
   #cc3366 }. var(--fp-accent) (#ffffff, 4.23:1 short of the 1px-lighter
   text this button actually needs on var(--fp-secondary)) was losing
   that tie depending on cache-combination order. Two classes (0,0,2,0,
   both already on this element) beats the attribute selector outright. */
.hec-fp-button.hec-fp-button--primary {
    color: var(--fp-accent);
}
.hec-fp-button--primary:hover {
    transform: scale(1.05);
}
.hec-fp-button--outline {
    background-color: transparent;
    color: var(--fp-accent);
    border: 1px solid var(--fp-secondary);
}
.hec-fp-button--outline:hover {
    background-color: var(--fp-secondary);
}
.hec-fp-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    margin-top: 1.5em;
}
.hec-fp-button-row--center {
    justify-content: center;
    margin-top: 2.5em;
}

.hec-fp-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    font-family: var(--fp-body-font);
    font-weight: 500;
    color: var(--fp-accent);
    text-decoration: none;
}
.hec-fp-link-arrow:hover {
    color: var(--fp-secondary);
}
.hec-fp-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin: 1.25em 0;
}

/* Check-mark list (About Us, Pricing tiers) */
.hec-fp-check-list {
    list-style: none;
    margin: 0 0 1em;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6em;
}
.hec-fp-check-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6em;
    font-family: var(--fp-body-font);
    font-size: var(--fp-fs-sm);
    color: var(--fp-text);
}
.hec-fp-check-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--fp-secondary);
}
.hec-fp-check-icon svg {
    width: 100%;
    height: 100%;
}

/* ---------- Hero ---------- */
.hec-fp-hero {
    position: relative;
    padding: 7em 20px 4em;
    text-align: center;
    background-image:
        radial-gradient(ellipse at 75% 25%, rgba(0, 0, 0, 0.085) 0%, rgba(0, 0, 0, 0.8) 50%),
        url('https://zilleali.com/wp-content/uploads/2026/05/network-engineer-isp-specialist-zill-e-ali.jpg');
    background-position: center center;
    background-size: cover;
}
.hec-fp-hero__inner {
    max-width: 780px;
    margin: 0 auto;
}
.hec-fp-badge {
    display: inline-block;
    padding: 0.5em 1.25em;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    font-family: var(--fp-body-font);
    font-size: var(--fp-fs-xs);
    color: var(--fp-accent);
    margin-bottom: 1.5em;
}
.hec-fp-hero__title {
    font-family: var(--fp-heading-font);
    font-size: var(--fp-fs-4xl);
    font-weight: 500;
    line-height: 1.2;
    color: var(--fp-accent);
    margin: 0 0 0.6em;
}
.hec-fp-hero__text {
    font-family: var(--fp-body-font);
    font-size: var(--fp-fs-base);
    font-weight: 300;
    line-height: 1.6;
    color: var(--fp-text);
    margin: 0 0 2em;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.hec-fp-partners {
    margin-top: 4em;
}
.hec-fp-partners__title {
    font-family: var(--fp-body-font);
    font-size: var(--fp-fs-xs);
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--fp-text);
    opacity: 0.7;
    margin: 0 0 1.5em;
}
.hec-fp-partners__row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3em;
}
.hec-fp-partners__row img {
    height: 40px;
    width: auto;
    /* 0.8 opacity alone still read as "nearly invisible" against the
       dark hero (usability audit) - brightness(0) invert(1) flattens
       each logo to a single light tone (works for the plain vector
       marks currently used here; drop the filter if a full-color logo
       is ever added to this row). */
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

@media (max-width: 768px) {
    .hec-fp-hero__title { font-size: var(--fp-fs-2xl); }
}

/* ---------- About Us ---------- */
.hec-fp-about {
    background-color: var(--fp-primary);
}
.hec-fp-about__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3em;
    align-items: center;
}
.hec-fp-about__media {
    position: relative;
}
.hec-fp-about__photo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--fp-radius-md);
}
.hec-fp-quote-card {
    position: absolute;
    left: -2em;
    bottom: -2em;
    max-width: 280px;
    padding: 1.5em;
    border-radius: var(--fp-radius-md);
    background-image: linear-gradient(130deg, var(--fp-color2) 0%, var(--fp-secondary) 100%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}
.hec-fp-quote-card p {
    margin: 0;
    font-family: var(--fp-body-font);
    font-style: italic;
    font-size: var(--fp-fs-sm);
    line-height: 1.5;
    color: var(--fp-accent);
}

@media (max-width: 900px) {
    .hec-fp-about__grid { grid-template-columns: 1fr; }
    .hec-fp-quote-card { position: static; margin-top: 1.5em; max-width: none; }
}

/* ---------- Our Services ---------- */
.hec-fp-services {
    background-color: var(--fp-color1);
}
.hec-fp-services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5em;
    margin-top: 2.5em;
}
.hec-fp-service-card {
    padding: 2em;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--fp-radius-md);
}

@media (max-width: 900px) {
    .hec-fp-services__grid { grid-template-columns: 1fr; }
}

/* ---------- Meet the Founder ---------- */
.hec-fp-founder {
    background-color: var(--fp-primary);
}
.hec-fp-founder__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3em;
    align-items: center;
}
.hec-fp-founder__photo {
    position: relative;
    min-height: 360px;
    border-radius: var(--fp-radius-md);
    background-position: center center;
    background-size: cover;
    display: flex;
    align-items: flex-end;
}
.hec-fp-founder__overlay {
    width: 100%;
    padding: 2em;
    border-radius: 0 0 var(--fp-radius-md) var(--fp-radius-md);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
}
.hec-fp-founder__role {
    font-family: var(--fp-body-font);
    font-size: var(--fp-fs-sm);
    color: var(--fp-text);
    margin: 0 0 1em;
}
.hec-fp-founder__socials {
    display: flex;
    gap: 0.75em;
}
.hec-fp-founder__socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--fp-accent);
    color: var(--fp-accent);
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.hec-fp-founder__socials a:hover {
    background-color: var(--fp-secondary);
    border-color: var(--fp-secondary);
}

@media (max-width: 900px) {
    .hec-fp-founder__grid { grid-template-columns: 1fr; }
}

/* ---------- Why Choose Us ---------- */
.hec-fp-why {
    background-image: linear-gradient(130deg, var(--fp-color2) 0%, var(--fp-secondary) 100%);
    position: relative;
}
.hec-fp-why::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.75);
}
.hec-fp-why__head,
.hec-fp-why__grid {
    position: relative;
    z-index: 1;
}
.hec-fp-why__head {
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5em;
}
.hec-fp-why__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em;
    align-items: center;
}
.hec-fp-why__col {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}
.hec-fp-why-card {
    padding: 1.5em;
    border: 1px solid var(--fp-secondary);
    border-radius: var(--fp-radius-md);
    background-color: rgba(0, 0, 0, 0.2);
    transition: border-color 0.2s ease;
}
.hec-fp-why-card:hover {
    border-color: var(--fp-color2);
}
@media (max-width: 900px) {
    /* Below this width the two-column grid stacks into one column, so
       .hec-fp-why__grid's 2em column-gap becomes a vertical gap
       between card 2 and card 3, sitting between two 1.5em gaps
       (within each column) either side of it - the mismatched middle
       gap the usability audit flagged. Matching it to 1.5em here makes
       the stacked view read as one uniform list. */
    .hec-fp-why__grid { grid-template-columns: 1fr; gap: 1.5em; }
}

/* ---------- Client Reviews ---------- */
.hec-fp-reviews {
    background-color: var(--fp-color1);
}
.hec-fp-reviews__aggregate {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    font-family: var(--fp-body-font);
    font-size: var(--fp-fs-sm);
    color: var(--fp-text);
    margin: 0;
}
.hec-fp-reviews__stars {
    color: #FFB800;
    letter-spacing: 1px;
}

.hec-fp-reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5em;
    margin-top: 2.5em;
}

.hec-fp-review-card {
    display: flex;
    flex-direction: column;
    padding: 1.75em;
    border: 1px solid var(--fp-secondary);
    border-radius: var(--fp-radius-md);
}
.hec-fp-review-card__stars {
    display: flex;
    gap: 2px;
    margin: 0.9em 0;
}
.hec-fp-review-card__stars svg {
    fill: #FFB020;
}
.hec-fp-review-card__text {
    flex-grow: 1;
    font-family: var(--fp-body-font);
    font-size: var(--fp-fs-sm);
    font-style: italic;
    line-height: 1.6;
    color: var(--fp-text);
    margin: 0;
}
.hec-fp-review-card__author {
    font-family: var(--fp-body-font);
    font-size: var(--fp-fs-sm);
    font-weight: 700;
    color: var(--fp-accent);
    margin: 0;
}
.hec-fp-review-card__author-info {
    display: flex;
    flex-direction: column;
}
.hec-fp-review-card__country {
    font-family: var(--fp-body-font);
    font-size: 0.8rem;
    font-weight: 300;
    opacity: 0.7;
    color: var(--fp-text);
}
span.hec-fp-review-card__country {
     color: var(--fp-text);

}

@media (max-width: 900px) {
    .hec-fp-reviews__grid { grid-template-columns: 1fr; }
}

/* ---------- Stat counters ---------- */
.hec-fp-counters {
    background-color: var(--fp-primary);
}
.hec-fp-counters__row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2em;
    text-align: center;
}
.hec-fp-counter__number {
    font-family: var(--fp-heading-font);
    font-size: var(--fp-fs-3xl);
    font-weight: 700;
    color: var(--fp-accent);
    line-height: 1.1;
}
.hec-fp-counter__title {
    font-family: var(--fp-body-font);
    font-size: var(--fp-fs-sm);
    color: var(--fp-text);
    margin-top: 0.4em;
}

/* ---------- Pricing ---------- */
.hec-fp-pricing {
    background-color: var(--fp-primary);
}
.hec-fp-pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5em;
    margin-top: 2.5em;
}
.hec-fp-pricing-card {
    padding: 2em;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--fp-radius-md);
    display: flex;
    flex-direction: column;
}
.hec-fp-pricing-card .hec-fp-button {
    margin-top: auto;
    align-self: flex-start;
}

@media (max-width: 900px) {
    .hec-fp-pricing__grid { grid-template-columns: 1fr; }
}

/* ---------- CTA ---------- */
.hec-fp-cta {
    position: relative;
    padding: 6em 20px;
    text-align: center;
    background-image: url('https://zilleali.com/wp-content/plugins/elementor/assets/images/placeholder.png');
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
}
.hec-fp-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(130deg, var(--fp-color2) 0%, var(--fp-secondary) 100%);
    opacity: 0.7;
}
.hec-fp-cta__inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hec-fp-cta { background-attachment: scroll; }
}

/* ---------- Trust badge + FAQs ---------- */
.hec-fp-faq-section {
    background-color: var(--fp-primary);
}
.hec-fp-faq__grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3em;
    /* Was align-items: start - the badge column is a 40%-wide track
       holding one small counter box next to a much taller FAQ list,
       which left most of that column empty and made the box look
       randomly placed (usability audit). Stretching the column and
       the counter box to match the list's height gives the badge
       real visual weight instead of floating in blank space. */
    align-items: stretch;
}
/* Grid items default to min-width:auto, so a long unbroken line inside
   (e.g. "How Long Have You Been Working In Networking?" in a FAQ
   question button) can force this column - and the whole grid - wider
   than the viewport instead of wrapping. min-width:0 lets the track
   shrink to the container's real available width; overflow-wrap on the
   question text is the other half, so long questions wrap onto a
   second line instead of pushing the layout out. */
.hec-fp-faq__badge-col,
.hec-fp-faq__list-col {
    min-width: 0;
}
.hec-fp-accordion__question {
    min-width: 0;
}
.hec-fp-accordion__question span:first-child {
    /* flex-basis 0% (not auto) - auto sizes the item to the text's full
       unwrapped width first, which some browser engines then fail to
       shrink back down from even with min-width:0, leaving the text
       overflowing on narrow screens instead of wrapping. Starting from
       a zero basis and growing avoids that inconsistency entirely. */
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0%;
    min-width: 0;
    white-space: normal;
    overflow-wrap: break-word;
}
.hec-fp-faq__badge-col .hec-fp-counter {
    padding: 2em;
    border-radius: 0 var(--fp-radius-md) var(--fp-radius-md) 0;
    background-image: linear-gradient(130deg, var(--fp-color2) 0%, var(--fp-secondary) 100%);
    margin-top: 2em;
    /* Pairs with .hec-fp-faq__grid's align-items: stretch above - fills
       the column's full height and centers its content vertically
       instead of sitting as a small fixed-height box at the top. */
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ---------- FAQ "Ask Me Directly" card (added 2026-10-30) ----------
   Approved via the "zilleali.com UI/UX Redesign" design artifact -
   replaces the old gradient counter block above, which just repeated
   the "2+ Years Experience" stat already shown in the Counters section
   further down the page. This instead gives the FAQ section something
   the rest of the page doesn't: a direct way to ask a question that
   isn't in the list. */
.hec-fp-ask-card {
    background-color: var(--fp-color1);
    border: 1px solid var(--fp-secondary);
    border-radius: var(--fp-radius-md);
    padding: 2em 1.75em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5em;
    height: 100%;
    box-sizing: border-box;
}
.hec-fp-ask-card__icon {
    color: #D34DD6;
    flex-shrink: 0;
}
.hec-fp-ask-card__head {
    display: flex;
    flex-direction: column;
    gap: 0.3em;
    margin-top: 1em;
}
.hec-fp-ask-card__title {
    font-family: var(--fp-heading-font);
    font-size: var(--fp-fs-lg);
    font-weight: 700;
    color: var(--fp-accent);
    line-height: 1.3;
}
.hec-fp-ask-card__text {
    font-family: var(--fp-body-font);
    font-size: var(--fp-fs-sm);
    line-height: 1.6;
    color: var(--fp-text);
    opacity: 0.75;
}
.hec-fp-ask-card__divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.08);
}
.hec-fp-ask-card__facts {
    display: flex;
    justify-content: space-between;
    gap: 1em;
}
.hec-fp-ask-card__fact {
    display: flex;
    flex-direction: column;
    gap: 0.2em;
}
.hec-fp-ask-card__fact--right {
    text-align: right;
    align-items: flex-end;
}
.hec-fp-ask-card__fact-value {
    font-family: var(--fp-heading-font);
    font-size: 1rem;
    font-weight: 700;
    color: var(--fp-accent);
}
.hec-fp-ask-card__fact-label {
    font-family: var(--fp-body-font);
    font-size: 0.7rem;
    color: var(--fp-text);
    opacity: 0.6;
}
.hec-fp-ask-card__actions {
    display: flex;
    flex-direction: column;
    gap: 0.6em;
}
.hec-fp-ask-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    font-family: var(--fp-body-font);
    font-weight: 700;
    font-size: var(--fp-fs-sm);
    padding: 0.8em 1.2em;
    border-radius: 999px;
    text-decoration: none;
    cursor: pointer;
}
.hec-fp-ask-card__btn--whatsapp {
    background-color: #25D366;
    color: #000000;
}
.hec-fp-ask-card__btn--outline {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--fp-accent);
}

.hec-fp-accordion {
    margin-top: 1.5em;
    display: flex;
    flex-direction: column;
    gap: 0.75em;
}
.hec-fp-accordion__item {
    border: 1px solid var(--fp-secondary);
    border-radius: var(--fp-radius-md);
    overflow: hidden;
}
.hec-fp-accordion__item.is-open {
    background-image: linear-gradient(130deg, var(--fp-color2) 0%, var(--fp-secondary) 100%);
    border-color: var(--fp-color1);
}
/* Chained ancestry selector (.hec-fp-accordion .hec-fp-accordion__item
   .hec-fp-accordion__question), not just the bare class, and the class
   repeated on itself - both purely to raise specificity. A single-class
   selector, even with !important, was still losing to some 2-class-deep
   global Elementor kit button reset (buttons on this site keep landing
   on the same "why is my plain <button> a purple pill" bug - see
   header.php's hamburger fix for the earlier instance of this exact
   fight). This is the same fix, pushed one level further since the
   single-class version didn't survive here. */
.hec-fp-accordion .hec-fp-accordion__item .hec-fp-accordion__question.hec-fp-accordion__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    padding: 1em 1.25em;
    margin: 0;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    border-width: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    cursor: pointer;
    font-family: var(--fp-body-font);
    font-size: var(--fp-fs-base);
    font-weight: 600;
    color: var(--fp-accent) !important;
    text-align: left;
}
.hec-fp-accordion .hec-fp-accordion__item.is-open .hec-fp-accordion__question.hec-fp-accordion__question {
    color: var(--fp-accent) !important;
}
.hec-fp-accordion .hec-fp-accordion__item .hec-fp-accordion__icon.hec-fp-accordion__icon {
    flex-shrink: 0;
    display: inline-block;
    width: 10px;
    height: 10px;
    border: none !important;
    border-width: 0 !important;
    border-right: 2px solid currentColor !important;
    border-bottom: 2px solid currentColor !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}
.hec-fp-accordion .hec-fp-accordion__item.is-open .hec-fp-accordion__icon.hec-fp-accordion__icon {
    transform: rotate(-135deg);
}
.hec-fp-accordion__answer {
    padding: 0 1.25em 1.25em;
}
.hec-fp-accordion__answer p {
    margin: 0;
    font-family: var(--fp-body-font);
    font-size: var(--fp-fs-sm);
    line-height: 1.6;
    color: var(--fp-text);
}

@media (max-width: 900px) {
    .hec-fp-faq__grid { grid-template-columns: 1fr; }
    .hec-fp-faq__badge-col .hec-fp-counter { margin-top: 0; margin-bottom: 1.5em; border-radius: var(--fp-radius-md); }
}

/* ---------- From the Blog ---------- */
.hec-fp-blog {
    background-color: var(--fp-color1);
}
.hec-fp-blog__head {
    display: flex;
    /* Was space-between, which pushes "See More" to the far right edge
       of a 1140px-wide row, away from the heading/text it belongs to
       (usability audit). flex-start + the existing gap keeps them
       visually grouped while still sitting on the same row. */
    justify-content: flex-start;
    align-items: flex-end;
    gap: 2em;
    margin-bottom: 2.5em;
}
.hec-fp-blog__head .hec-fp-p {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .hec-fp-blog__head { flex-direction: column; align-items: flex-start; }
}

/* zea-post-grid's own responsive columns AND its gap normally come from
   the Elementor widget's per-instance inline CSS (tablet/mobile
   breakpoints set by its `columns`/`grid_gap` controls) -
   hec_fp_blog_grid() reuses just the CSS class outside that widget, so
   none of that ever applies. blog-grid.css itself sets no gap at all
   (correct there - it's meant to always come from the control), which
   left cards touching edge to edge at every screen size here except the
   one breakpoint below that happened to set a gap for an unrelated
   reason. Every tier now gets an explicit gap. Scoped override here
   instead of editing the plugin's own file, since blog-grid.css's
   values are correct in their real context (unreachable fallbacks
   behind the widget's own inline styles) - only this reuse needs its
   own breakpoints. */
.hec-fp-blog .zea-post-grid {
    gap: 30px;
}
/* Breakpoints widened from 900/600 to 991/575 so large phones in
   landscape (e.g. iPhone Pro Max ~932px, many Android flagships
   ~915-926px) land in the 2-column tier instead of getting squeezed
   into 3 columns on a short landscape viewport - 991/575 track real
   device widths (tablet portrait starts ~768px, phone landscape tops
   out under 991px, phone portrait is under 575px) rather than
   arbitrary round numbers. */
@media (max-width: 991px) {
    .hec-fp-blog .zea-post-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}
@media (max-width: 575px) {
    .hec-fp-blog .zea-post-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
/* Very short landscape phones (e.g. an iPhone SE at 667x375 rotated) -
   height-constrained more than width-constrained, so drop to 1 column
   even though width alone would qualify for 2, keeping each card's
   image/text readable without excessive scrolling inside a short
   viewport. */
@media (max-width: 767px) and (max-height: 420px) and (orientation: landscape) {
    .hec-fp-blog .zea-post-grid { grid-template-columns: 1fr; }
}

/* Section vertical rhythm and card internal padding were fixed at one
   value regardless of screen size - too much dead space on phones/small
   tablets, and cards feel cramped at the narrower 2-column tablet width
   with the same padding as full-width desktop cards. */
@media (max-width: 991px) {
    .hec-fp-blog { padding-top: 3.5em; padding-bottom: 3.5em; }
    .hec-fp-blog__head { margin-bottom: 2em; }
}
@media (max-width: 575px) {
    .hec-fp-blog { padding-top: 2.5em; padding-bottom: 2.5em; }
    .hec-fp-blog__head { margin-bottom: 1.5em; gap: 1em; }
    .hec-fp-blog .zea-post-body { padding: 16px 18px 20px; }
}

/* ---------- CTA popup ---------- */
/* [hidden] on .hec-fp-popup is the only thing keeping it out of view
   before front-page.js decides to show it - no opacity/visibility
   trickery needed here since the element is either in the accessibility
   tree and visible, or genuinely removed from it via the hidden
   attribute (toggled with el.hidden, not style.display, per this site's
   convention - see artifact/runtime notes elsewhere in this project). */
.hec-fp-popup__overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9998;
}
.hec-fp-popup__box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    width: min(90vw, 440px);
    max-height: 85vh;
    overflow-y: auto;
    padding: 2.5em 2em;
    border-radius: var(--fp-radius-md);
    background-image: linear-gradient(130deg, var(--fp-color2) 0%, var(--fp-secondary) 100%);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
    text-align: center;
}
.hec-fp-popup__close {
    position: absolute;
    top: 0.75em;
    right: 0.75em;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    color: var(--fp-accent) !important;
    font-size: var(--fp-fs-xl);
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.hec-fp-popup__close:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
}
.hec-fp-popup__title {
    font-family: var(--fp-heading-font);
    font-size: var(--fp-fs-xl);
    font-weight: 500;
    line-height: 1.3;
    color: var(--fp-accent);
    margin: 0 0 0.6em;
}
.hec-fp-popup__text {
    font-family: var(--fp-body-font);
    font-size: var(--fp-fs-sm);
    line-height: 1.6;
    color: var(--fp-text);
    margin: 0 0 1.5em;
}
.hec-fp-popup__box .hec-fp-button {
    width: 100%;
    justify-content: center;
}

/* ---------- Certifications & Recognition (added 2026-10-30) ----------
   Approved via the "zilleali.com UI/UX Redesign" design artifact - moves
   credentials that previously only lived on /about/ onto the homepage,
   directly under the hero/partners section. Reuses .hec-fp-why-card's
   bordered-card pattern rather than inventing a new one. */
.hec-fp-certs {
    background-color: var(--fp-color1);
}
.hec-fp-certs__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25em;
    margin-top: 2em;
}
.hec-fp-cert-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6em;
    padding: 1.5em 1em;
    border: 1px solid var(--fp-secondary);
    border-radius: var(--fp-radius-md);
    background-color: rgba(0, 0, 0, 0.2);
    transition: border-color 0.2s ease;
}
.hec-fp-cert-card:hover {
    border-color: var(--fp-color2);
}
.hec-fp-cert-card svg {
    color: #D34DD6;
}
.hec-fp-cert-card__title {
    font-family: var(--fp-body-font);
    font-size: var(--fp-fs-sm);
    font-weight: 700;
    color: var(--fp-accent);
}
.hec-fp-cert-card__subtitle {
    font-family: var(--fp-body-font);
    font-size: var(--fp-fs-xs);
    color: rgba(250, 250, 250, 0.6);
}
@media (max-width: 900px) {
    .hec-fp-certs__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- How It Works (added 2026-10-30) ----------
   Approved via the "zilleali.com UI/UX Redesign" design artifact. */
.hec-fp-process {
    background-color: var(--fp-primary);
}
.hec-fp-process__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2em;
    margin-top: 2em;
}
.hec-fp-process-step {
    display: flex;
    flex-direction: column;
    gap: 0.75em;
}
.hec-fp-process-step__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--fp-secondary);
    font-family: var(--fp-heading-font);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--fp-accent);
}
.hec-fp-process-step__title {
    font-family: var(--fp-heading-font);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--fp-accent);
    margin: 0;
}
.hec-fp-process-step__text {
    font-family: var(--fp-body-font);
    font-size: var(--fp-fs-sm);
    line-height: 1.6;
    color: var(--fp-text);
    opacity: 0.85;
    margin: 0;
}
@media (max-width: 900px) {
    .hec-fp-process__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .hec-fp-process__grid { grid-template-columns: 1fr; }
}

/* ---------- Products Built by Developer Zon (added 2026-10-30) ----------
   Approved via the "zilleali.com UI/UX Redesign" design artifact - gives
   NexaLink/ZonTab/the Config Generator a real section instead of only
   appearing inside the CTA popup. */
.hec-fp-products {
    background-color: var(--fp-primary);
}
.hec-fp-products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5em;
    margin-top: 2em;
}
.hec-fp-product-card {
    display: flex;
    flex-direction: column;
    gap: 0.75em;
    padding: 1.75em;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--fp-radius-md);
    background-color: var(--fp-color1);
}
.hec-fp-product-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75em;
}
.hec-fp-product-card__title {
    font-family: var(--fp-heading-font);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--fp-accent);
    margin: 0;
}
.hec-fp-product-card__badge {
    flex-shrink: 0;
    font-family: var(--fp-body-font);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3em 0.75em;
    border-radius: 999px;
    white-space: nowrap;
}
.hec-fp-product-card__badge--early {
    background-color: rgba(165, 2, 168, 0.2);
    color: #D34DD6;
    border: 1px solid var(--fp-secondary);
}
.hec-fp-product-card__badge--live {
    background-color: rgba(34, 197, 94, 0.15);
    color: #4ADE80;
    border: 1px solid #22C55E;
}
.hec-fp-product-card__text {
    font-family: var(--fp-body-font);
    font-size: var(--fp-fs-sm);
    line-height: 1.6;
    color: var(--fp-text);
    opacity: 0.85;
    margin: 0;
}
.hec-fp-product-card .hec-fp-link-arrow {
    margin-top: 0.25em;
}
@media (max-width: 900px) {
    .hec-fp-products__grid { grid-template-columns: 1fr; }
}

/* ---------- Review card author row + avatar (added 2026-10-30) ----------
   Approved via the "zilleali.com UI/UX Redesign" design artifact - gives
   each review a visible avatar initial next to the name/country line,
   scannable at a glance instead of reading the whole card to find who
   said it. */
.hec-fp-review-card__author-row {
    display: flex;
    align-items: center;
    gap: 0.75em;
}
.hec-fp-review-card__avatar {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--fp-secondary);
    font-family: var(--fp-heading-font);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--fp-accent);
}

@media (max-width: 575px) {
    .hec-fp-popup__box { padding: 2em 1.5em; }
}
