/* EC1071 page — CERTIFIT palette: navy #020d1f, teal #009899, cyan #5afff8.
   Load AFTER style.css. Header/footer/dropdown styles come from style.css. */

.certification-page {
    --navy: #020d1f;
    --navy-2: #0a1628;
    --teal: #009899;
    --teal-hover: #00c5bb;
    --cyan: #5afff8;
    --soft: #f5f7fa;
    --text: #444b55;
    --muted: #6b7480;
    background: #fff;
    color: #171717;
}

.certification-page a { text-decoration: none; }

.inline-link {
    color: var(--teal);
    font-weight: 700;
    text-decoration: underline !important;
}
.inline-link:hover { color: var(--teal-hover); }

/* ===== Buttons ===== */
.primary-cta {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 16px 24px;
    background: var(--teal);
    color: #fff;
    border-radius: 7px;
    font-family: Overpass, sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .02em;
    transition: transform .25s ease, background .25s ease;
}
.primary-cta:hover { background: var(--teal-hover); transform: translateY(-2px); }
.primary-cta span { font-size: 22px; line-height: 0; }

/* ===== Hero ===== */
.cert-hero {
    min-height: 680px;
    background:
        radial-gradient(circle at 82% 45%, rgba(90,255,248,.14), transparent 27%),
        linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 65%, #0d2a3a 100%);
    color: #fff;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    align-items: center;
    gap: 60px;
    overflow: hidden;
    position: relative;
}
.cert-hero::after {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    right: -120px;
    top: -120px;
    border: 1px solid rgba(90,255,248,.2);
    border-radius: 50%;
}
.cert-hero-content {
    max-width: 820px;
    padding: 90px 8%;
    position: relative;
    z-index: 1;
}
.eyebrow {
    display: inline-block;
    color: var(--cyan);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .16em;
    margin-bottom: 20px;
}
.cert-hero h1 {
    margin: 0;
    max-width: 850px;
    font-family: Overpass, sans-serif;
    font-size: clamp(40px, 5.5vw, 76px);
    line-height: 1;
    letter-spacing: -.03em;
    color: #fff;
}
.hero-lead {
    max-width: 680px;
    margin: 28px 0 14px;
    font-size: clamp(22px, 2.5vw, 34px);
    line-height: 1.2;
}
.hero-lead strong { color: var(--cyan); }
.hero-description {
    max-width: 700px;
    margin: 0 0 35px;
    color: #d5dde6;
    font-size: 18px;
    line-height: 1.65;
}
.cert-hero-img {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}
#mobile-hero-img { padding: 40px 0; display: none; }

/* ===== Trust bar ===== */
.cert-trust-bar {
    background: var(--teal);
    padding: 0 8%;
    min-height: 130px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
}
.trust-item {
    min-height: 80px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border-right: 1px solid rgba(255,255,255,.28);
}
.trust-item:last-child { border-right: 0; }
.trust-icon { font-size: 32px; }
.trust-item strong, .trust-item span { display: block; }
.trust-item strong { color: #fff; font-size: 17px; }
.trust-item div > span { color: rgba(255,255,255,.85); font-size: 13px; margin-top: 4px; }

/* ===== Generic sections ===== */
.content-section, .difference-section {
    max-width: 1250px;
    margin: 0 auto;
    padding: 110px 0;
}
.section-heading {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 65px;
}
.section-heading .section-number {
    color: var(--cyan);
    background: var(--navy);
    border-radius: 50%;
    min-width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
}
.section-heading h2 {
    color: var(--navy);
    font-family: Overpass, sans-serif;
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1;
    margin: 0;
    letter-spacing: -.025em;
}
.section-heading .eyebrow { color: var(--muted); margin-bottom: 10px; }

.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.intro-copy h3 { margin: 0 0 28px; color: var(--navy); font-size: 34px; line-height: 1.15; }
.intro-copy p, .highlight-copy p { color: var(--text); font-size: 18px; line-height: 1.7; margin: 0 0 15px; }
.highlight-copy {
    padding: 35px;
    background: var(--soft);
    border-left: 5px solid var(--teal);
    border-radius: 0 10px 10px 0;
}

/* ===== Competencies ===== */
.competencies-section { padding: 110px 8%; background: var(--navy); color: #fff; }
.section-heading.light .section-number { color: var(--navy); background: var(--cyan); }
.section-heading.light h2 { color: #fff; }
.section-heading.light .eyebrow { color: var(--cyan); }
.section-intro { max-width: 700px; margin: -25px auto 45px; text-align: center; color: #cdd7e2; font-size: 18px; }
.competency-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.competency-card {
    background: #fff;
    color: var(--navy);
    border-radius: 10px;
    padding: 38px 32px;
    min-height: 330px;
    position: relative;
    overflow: hidden;
    transition: transform .25s ease;
}
.competency-card:hover { transform: translateY(-6px); }
.competency-card.featured { background: var(--cyan); }
.competency-number { position: absolute; right: 24px; top: 20px; font-size: 14px; font-weight: 800; opacity: .5; }
.competency-icon { display: block; font-size: 40px; margin-bottom: 30px; }
.competency-card h3 { margin: 0 0 14px; font-size: 27px; font-family: Overpass, sans-serif; }
.competency-card p { margin: 0; color: #4d5661; line-height: 1.65; font-size: 16px; }
.competency-note { max-width: 850px; margin: 45px auto 0; text-align: center; color: #cdd7e2; font-size: 15px; font-style: italic; }

/* ===== Audience ===== */
.audience-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.audience-layout h3 { margin: 0 0 28px; color: var(--navy); font-size: 30px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 15px; }
.check-list li { padding: 15px 18px 15px 48px; position: relative; background: var(--soft); border-radius: 7px; color: var(--text); line-height: 1.4; }
.check-list li::before { content: "✓"; position: absolute; left: 17px; color: var(--teal); font-weight: 900; }
.audience-callout { padding: 42px; background: var(--teal); border-radius: 10px; color: #fff; }
.callout-mark {
    display: flex; align-items: center; justify-content: center;
    width: 52px; height: 52px;
    background: var(--navy); color: var(--cyan);
    border-radius: 50%; font-size: 25px; font-weight: 800; margin-bottom: 25px;
}
.audience-callout h3 { margin-bottom: 16px; font-size: 32px; color: #fff; }
.audience-callout p { font-size: 16px; line-height: 1.65; margin: 0 0 15px; }

/* ===== Difference ===== */
.difference-section { max-width: none; background: var(--soft); }
.difference-section > .section-heading { max-width: 1110px; margin-left: auto; margin-right: auto; }
.difference-grid { max-width: 1110px; margin: 0 auto; display: grid; grid-template-columns: 1fr 80px 1fr; align-items: stretch; gap: 20px; }
.difference-card { padding: 45px; background: #fff; border-radius: 10px; box-shadow: 0 5px 25px rgba(0,0,0,.06); }
.difference-card.certification { border-top: 5px solid var(--teal); }
.difference-label { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .15em; }
.difference-card h3 { color: var(--navy); font-size: 36px; margin: 12px 0 20px; font-family: Overpass, sans-serif; }
.difference-card p { color: var(--text); font-size: 16px; line-height: 1.7; }
.difference-symbol {
    align-self: center; justify-self: center;
    width: 58px; height: 58px; border-radius: 50%;
    background: var(--navy); color: var(--cyan);
    display: flex; align-items: center; justify-content: center;
    font-size: 25px; font-weight: 800;
}

/* ===== Process ===== */
.process-section { max-width: 1250px; margin: 0 auto; padding: 110px 7%; }
.process-list { max-width: 980px; margin: 0 auto; display: grid; gap: 18px; }
.process-step { display: grid; grid-template-columns: 82px 1fr; gap: 28px; padding: 34px; border: 1px solid #e3e8ee; border-radius: 10px; background: #fff; }
.process-number { width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--navy); color: var(--cyan); font-size: 14px; font-weight: 800; }
.process-step h3 { margin: 0 0 12px; color: var(--navy); font-size: 26px; font-family: Overpass, sans-serif; }
.process-step p, .process-step li { color: var(--text); font-size: 16px; line-height: 1.7; }
.process-step p { margin: 0; }
.process-step ul { margin: 16px 0 0; padding-left: 20px; }
.process-step li + li { margin-top: 7px; }
.process-step.final-step { background: #e6fffe; border-color: var(--teal); }
.process-step.final-step .process-number { background: var(--teal); color: #fff; }

/* ===== Evaluation scope ===== */
.evaluation-section { padding: 110px 8%; background: var(--navy); }
.evaluation-section .section-heading { max-width: 1110px; margin: 0 auto 42px; }
.evaluation-lead, .evaluation-intro { max-width: 900px; margin-left: auto; margin-right: auto; color: #d5dde6; font-size: 18px; line-height: 1.7; }
.evaluation-lead { margin-bottom: 20px; }
.evaluation-intro { margin-bottom: 28px; color: var(--cyan); font-weight: 700; }
.evaluation-list { max-width: 1110px; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 20px; list-style: none; }
.evaluation-list li { padding: 15px 18px 15px 45px; position: relative; border: 1px solid rgba(255,255,255,.18); border-radius: 7px; color: #fff; line-height: 1.45; }
.evaluation-list li::before { content: "✓"; position: absolute; left: 17px; color: var(--cyan); font-weight: 900; }

/* ===== Reasons ===== */
.reasons-section { padding: 110px 8%; background: var(--navy-2); }
.reasons-section .section-heading { max-width: 1110px; margin: 0 auto 35px; }
.reasons-lead { max-width: 850px; margin: 0 auto 45px; color: #d5dde6; text-align: center; font-size: 20px; line-height: 1.6; }
.reasons-grid { max-width: 1110px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reason-card { position: relative; padding: 38px 32px; background: #fff; border-radius: 10px; }
.reason-number { display: inline-block; margin-bottom: 30px; color: var(--cyan); background: var(--navy); border-radius: 50%; padding: 10px 12px; font-size: 13px; font-weight: 800; }
.reason-card h3 { margin: 0 0 16px; color: var(--navy); font-size: 24px; line-height: 1.18; font-family: Overpass, sans-serif; }
.reason-card p { margin: 0; color: var(--text); font-size: 16px; line-height: 1.7; }

/* ===== About ===== */
.about-certification-section { max-width: 1250px; margin: 0 auto; padding: 110px 7%; }
.about-certification-grid { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); gap: 70px; align-items: start; }
.about-equation { margin: 0; color: var(--navy); font-size: 31px; font-weight: 800; line-height: 1.25; font-family: Overpass, sans-serif; }
.about-equation span, .about-equation b { color: var(--teal); }
.about-copy { padding: 36px; background: var(--soft); border-left: 5px solid var(--teal); border-radius: 0 10px 10px 0; }
.about-copy p { margin: 0 0 17px; color: var(--text); font-size: 17px; line-height: 1.7; }
.about-copy p:last-child { margin-bottom: 0; }
.about-copy strong { color: var(--navy); }

/* ===== Testimonials ===== */
.testimonials-shell { padding: 95px 7%; background: var(--soft); }
#testimonials-title { max-width: 1110px; color: var(--navy); font-size: clamp(30px, 4vw, 50px); line-height: 1; font-family: Overpass, sans-serif; }
.testimonials-shell > .section-heading { max-width: 980px; margin-left: auto; margin-right: auto; }
.testimonials-section { max-width: 1250px; margin: 0 auto; }
#testimonials { display: flex; align-items: center; gap: 10px; flex-direction: column; }

.testimonial-placeholder { width: min(100%, 980px); display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 12px 30px rgba(2,13,31,.1); }
.testimonial-placeholder-image { position: relative; min-height: 335px; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; color: #fff; text-align: center; background: var(--navy-2); }
.testimonial-placeholder-image img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.testimonial-placeholder-image::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(2,13,31,.18) 0%, rgba(2,13,31,.65) 100%); }
.testimonial-placeholder-image span, .testimonial-placeholder-image small { position: relative; z-index: 1; }
.testimonial-placeholder-image span { color: var(--cyan); font-size: clamp(68px, 10vw, 110px); font-weight: 800; line-height: .9; letter-spacing: -.06em; }
.testimonial-placeholder-image small { margin-top: 18px; color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.testimonial-copy { padding: 48px; }
.testimonial-copy .eyebrow { margin-bottom: 16px; color: var(--muted); }
.testimonial-copy h3 { margin: 0 0 18px; color: var(--navy); font-size: clamp(28px, 3vw, 38px); line-height: 1.05; font-family: Overpass, sans-serif; }
.testimonial-copy p { margin: 0 0 14px; color: var(--text); font-size: 17px; line-height: 1.65; }
.testimonial-cta { margin-top: 16px; }

/* ===== Pricing ===== */
.pricing-section { padding: 110px 7%; background: #fff; }
.pricing-section > .section-heading, .pricing-lead { max-width: 980px; margin-left: auto; margin-right: auto; }
.pricing-lead { margin-bottom: 38px; color: var(--text); font-size: 20px; }
.pricing-card { max-width: 620px; margin: 0 auto; overflow: hidden; border: 1px solid #e3e8ee; border-radius: 12px; box-shadow: 0 14px 35px rgba(2,13,31,.12); }
.pricing-card-header { position: relative; padding: 34px 38px 32px; background: var(--navy); color: #fff; }
.pricing-card-header span { display: block; margin-bottom: 8px; color: var(--cyan); font-size: 17px; font-weight: 700; }
.pricing-card-header strong { display: block; font-size: clamp(42px, 6vw, 62px); line-height: 1; letter-spacing: -.04em; }
.pricing-card-header small { font-size: 17px; letter-spacing: 0; }
.price-intro-badge { display: inline-flex !important; width: fit-content; margin: 0 0 17px !important; padding: 7px 11px; border-radius: 999px; background: var(--cyan); color: var(--navy) !important; font-size: 11px !important; font-weight: 900 !important; letter-spacing: .09em; }
.pricing-product { margin-bottom: 10px !important; color: #fff !important; font-size: 18px !important; }
.pricing-price-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 16px; }
.pricing-price-line strong { margin: 0; color: #fff; }
.pricing-price-line del { color: rgba(255,255,255,.62); font-size: 17px; font-weight: 600; text-decoration-color: var(--cyan); text-decoration-thickness: 2px; }
.price-saving { display: inline-block !important; width: fit-content; margin: 18px 0 0 !important; padding: 8px 11px; border: 1px solid rgba(90,255,248,.6); border-radius: 6px; color: var(--cyan) !important; font-size: 13px !important; font-weight: 800 !important; letter-spacing: .035em; }
.pricing-card-content { padding: 34px 38px 16px; }
.pricing-card-content h3 { margin: 0 0 18px; color: var(--navy); font-size: 22px; }
.pricing-list { margin: 0 0 25px; padding: 0; list-style: none; }
.pricing-list li { padding: 10px 0 10px 32px; position: relative; color: var(--text); line-height: 1.5; }
.pricing-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 900; }
.pricing-note { margin: 5px 0; color: var(--muted); font-size: 13px; font-style: italic; }
.pricing-cta { width: calc(100% - 76px); justify-content: center; margin: 18px 38px 38px; }
.pricing-training { max-width: 620px; margin: 35px auto 0; text-align: center; }
.pricing-training p { margin: 0 0 16px; color: var(--text); font-size: 17px; }
.pricing-training-cta { display: inline-flex; justify-content: center; }

/* ===== FAQ ===== */
.cert-faq-section { max-width: 1250px; margin: 0 auto; padding: 110px 7%; }
.cert-faq-list { max-width: 980px; margin: 0 auto; display: grid; gap: 12px; }
.cert-faq-item { overflow: hidden; border: 1px solid #e3e8ee; border-radius: 8px; background: #fff; }
.cert-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 25px; color: var(--navy); cursor: pointer; font-size: 19px; font-weight: 700; list-style: none; }
.cert-faq-item summary::-webkit-details-marker { display: none; }
.cert-faq-item summary::after { content: "+"; flex: 0 0 auto; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--navy); color: var(--cyan); font-size: 22px; font-weight: 400; line-height: 1; }
.cert-faq-item[open] { border-color: var(--teal); }
.cert-faq-item[open] summary { background: var(--soft); }
.cert-faq-item[open] summary::after { content: "−"; }
.cert-faq-answer { padding: 0 25px 25px; color: var(--text); font-size: 16px; line-height: 1.7; }
.cert-faq-answer p { margin: 18px 0 0; }
.cert-faq-answer ul { margin: 16px 0 0; padding-left: 22px; }
.cert-faq-answer li + li { margin-top: 7px; }

/* ===== Final CTA ===== */
.final-cta {
    padding: 90px 8%;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}
.final-cta > div:first-child { max-width: 750px; }
.final-cta h2 { margin: 0 0 20px; font-family: Overpass, sans-serif; font-size: clamp(34px, 4.5vw, 56px); line-height: 1.05; }
.final-cta p { color: #d0d9e3; font-size: 17px; line-height: 1.65; }
.final-cta-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; min-width: 260px; }
.final-cta-actions .primary-cta, .secondary-cta { justify-content: center; text-align: center; }

.secondary-cta, .secondary-cta-inverse {
    padding: 15px 22px;
    border-radius: 7px;
    font-family: Overpass, sans-serif;
    font-size: 13px;
    font-weight: 700;
    transition: background .25s ease, color .25s ease;
}
.secondary-cta { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.secondary-cta:hover { background: #fff; color: var(--navy); }
.secondary-cta-inverse { background: var(--navy); color: #fff; }
.secondary-cta-inverse:hover { background: var(--teal); color: #fff; }

/* ===== Images ===== */
#mockup { object-fit: contain; }
.image-section { padding-top: 60px; display: flex; justify-content: center; width: min(100%, 980px); margin: auto; }
.certificate-image-section { align-items: center; padding: clamp(40px, 6vw, 75px) 20px; background: var(--soft); width: 100%; }
.certificate-image-section img { display: block; width: min(100%, 600px); height: auto; max-height: 760px; object-fit: contain; border-radius: 10px; box-shadow: 0 16px 35px rgba(2,13,31,.16); }

#web-certification-efren {
    display: none;
}

@media (min-width: 1600px) {
     .content-section#que-es { max-width: 1600px; display: flex; align-items: center; gap: 45px; }
    .content-section#que-es .section-heading { flex: 0 0 235px; margin: 0; padding-bottom: 30px; }
    .content-section#que-es .two-column { flex: 1; gap: 36px; }
    #web-certification-efren { display: block; flex: 0 0 300px; width: 300px; height: auto; max-height: 375px; object-fit: contain; border-radius: 9px; box-shadow: 0 12px 28px rgba(54, 3, 78, .14); }
    .certificate-image-section { display: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1310px) {
    .content-section, .difference-section { padding: 75px 6%; }
}

@media (max-width: 900px) {
    .cert-hero { min-height: auto; grid-template-columns: 1fr; padding: 75px 7%; }
    .cert-hero-content { padding: 0; }
    #web-hero-img { display: none; }
    #mobile-hero-img { display: block; }
    .cert-trust-bar { grid-template-columns: 1fr; padding: 15px 7%; }
    .trust-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.28); justify-content: flex-start; }
    .trust-item:last-child { border-bottom: 0; }
    .two-column, .audience-layout { grid-template-columns: 1fr; gap: 35px; }
    .competency-grid { grid-template-columns: 1fr; max-width: 600px; }
    .competency-card { min-height: auto; }
    .difference-grid { grid-template-columns: 1fr; max-width: 650px; }
    .evaluation-list { grid-template-columns: 1fr; max-width: 600px; }
    .reasons-grid { grid-template-columns: 1fr; max-width: 600px; }
    .about-certification-grid { grid-template-columns: 1fr; gap: 35px; }
    .final-cta { flex-direction: column; align-items: flex-start; }
    .final-cta-actions { width: 100%; max-width: 430px; }
}

@media (max-width: 700px) {
    .testimonial-placeholder { grid-template-columns: 1fr; }
    .testimonial-placeholder-image { min-height: 260px; }
    .testimonial-copy { padding: 32px 28px; }
}

@media (max-width: 600px) {
    .cert-hero { padding: 55px 6%; }
    .cert-hero h1 { font-size: 38px; }
    .hero-lead { font-size: 22px; }
    .hero-description { font-size: 16px; }
    .content-section, .difference-section, .competencies-section,
    .process-section, .evaluation-section, .reasons-section,
    .about-certification-section, .testimonials-shell,
    .pricing-section, .cert-faq-section { padding: 75px 6%; }
    .section-heading { gap: 15px; margin-bottom: 45px; }
    .section-heading .section-number { min-width: 42px; height: 42px; font-size: 12px; }
    .section-heading h2 { font-size: 29px; }
    .section-heading .eyebrow { font-size: 10px; }
    .intro-copy h3 { font-size: 28px; }
    .highlight-copy, .audience-callout, .difference-card, .reason-card, .about-copy { padding: 28px; }
    .about-equation { font-size: 28px; }
    .process-step { grid-template-columns: 1fr; gap: 18px; padding: 28px; }
    .pricing-card-header, .pricing-card-content { padding-left: 28px; padding-right: 28px; }
    .pricing-cta { width: calc(100% - 56px); margin-left: 28px; margin-right: 28px; }
    .pricing-price-line del { font-size: 15px; }
    .price-saving { font-size: 12px !important; }
    .cert-faq-item summary { padding: 19px; font-size: 17px; }
    .cert-faq-answer { padding: 0 19px 20px; }
    .final-cta { padding: 70px 6%; }
    .final-cta h2 { font-size: 34px; }
    .certificate-image-section { padding: 38px 16px; }
    .certificate-image-section img { width: 100%; border-radius: 8px; }
}