/*
Theme Name: ProEssay Landing
Description: ProEssay's bilingual marketing site and publishing theme.
Version: 1.2.2
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: proessay-landing
*/

.pe-heading-reset { margin: 0; }
.pe-skip-link { position: absolute; left: -9999px; z-index: 10000; }
.pe-skip-link:focus { left: 1rem; top: 1rem; padding: .75rem 1rem; background: white; color: black; }

.pe-support-guide {
    box-sizing: border-box;
    max-width: 72rem;
    margin: 0 auto;
    padding: clamp(1.5rem, 5vw, 4rem) clamp(1rem, 5vw, 3rem);
}
.pe-support-guide h2 { margin-top: 0; }
.pe-support-guide p { max-width: 68ch; }
.pe-support-guide a { text-decoration: underline; text-underline-offset: .15em; }

.pe-home {
    --pe-home-accent: #404bd1;
    --pe-home-accent-hover: #323db8;
    --pe-home-text: #151936;
    --pe-home-muted: #4f5874;
    --pe-home-border: #c9cfe5;
    --pe-home-paper: #f2f3fb;
}

.pe-home .navbar-logo-left { position: relative; background: #fff; }
.pe-home .navbar-logo-left-container.shadow-three { padding: 0; }
.pe-home .navbar-logo-left-container > .container { padding: 12px 20px; }
.pe-home .navbar-1st-part,
.pe-home .nav-menu-two { box-shadow: none; }
.pe-home .top-banner { position: relative; inset: auto; padding-inline: 12px; }

.pe-home .hero-section {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
    background: var(--pe-home-paper) !important;
}

.pe-home .hero-section-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none;
    text-align: left !important;
}

.pe-home .hero-heading {
    color: var(--pe-home-text) !important;
    font-size: clamp(38px, 3.7vw, 52px) !important;
    font-weight: 700;
    line-height: 1.14 !important;
    letter-spacing: -.025em !important;
    text-wrap: pretty;
}

.pe-home .hero-heading .text-span {
    display: inline-block;
    margin-top: 8px;
    padding: 0;
    background: none;
    color: var(--pe-home-accent);
    font-size: .52em;
    line-height: 1.28;
    letter-spacing: -.01em;
}

.pe-home .hero-subheading-wrapper { padding: 0; }
.pe-home .hero-subheading {
    margin: 0 !important;
    color: var(--pe-home-muted) !important;
}

.pe-home .pe-hero-actions {
    order: -1;
    margin-top: 0;
    gap: 10px;
}

.pe-home .hero-heading-wrapper { order: -3; }
.pe-home .hero-subheading-wrapper { order: -2; margin-bottom: 18px; }

.pe-home .pe-hero-primary,
.pe-home .pe-hero-secondary,
.pe-home .pe-hero-quote-cta {
    padding: 0 18px;
    border-radius: 10px !important;
    font-size: 15px;
    font-weight: 700;
    transition: background-color .18s ease, border-color .18s ease;
}

.pe-home .pe-hero-primary,
.pe-home .pe-hero-quote-cta {
    background: var(--pe-home-accent);
    box-shadow: none;
}

.pe-home .pe-hero-primary:hover,
.pe-home .pe-hero-quote-cta:hover {
    background: var(--pe-home-accent-hover);
    color: #fff;
    transform: none;
    box-shadow: none;
}

.pe-home .pe-hero-secondary { border-color: var(--pe-home-border) !important; backdrop-filter: none; }
.pe-home .pe-hero-secondary:hover { border-color: var(--pe-home-accent) !important; }
.pe-home .pe-hero-microcopy { color: var(--pe-home-muted) !important; text-align: left; }

.pe-home .expert-image-wrapper {
    --pe-avatar-size: 42px;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 16px;
}

.pe-home .expert-image-wrapper .image-container,
.pe-home .expert-image-wrapper ._350-experts {
    width: var(--pe-avatar-size);
    height: var(--pe-avatar-size);
}

.pe-home .expert-image-wrapper .absolute-tickmark { width: 14px; }
.pe-home .expert-image-wrapper ._350-experts { background: #e1e5fa; }
.pe-home .expert-image-wrapper ._350 { color: var(--pe-home-accent); font-size: 13px; line-height: 1.1; }
.pe-home .expert-image-wrapper .experts { color: var(--pe-home-accent); font-size: 9px; line-height: 1.1; }

.pe-home .video-wrapper {
    padding: 0 !important;
    border-radius: 14px !important;
    border-color: var(--pe-home-border) !important;
    box-shadow: none !important;
}

.pe-home .video { aspect-ratio: 16 / 9 !important; border-radius: 0 !important; }

.pe-home .pe-proof-bar {
    border-radius: 14px;
    box-shadow: none !important;
    backdrop-filter: none;
}

.pe-home .pe-calc-section-1 {
    background: #fafbff;
    padding-right: 16px !important;
    padding-left: 16px !important;
}

.pe-home .pe-calc-glow,
.pe-home .pe-calc-eyebrow-1 { display: none; }
.pe-home .pe-calc-intro-1 { margin-bottom: 22px; }
.pe-home .pe-calc-section-title { text-wrap: balance; }
.pe-home .pe-calc-section-copy { color: var(--pe-home-muted); }

.pe-home .pe-hero-quote {
    max-width: 48rem !important;
    margin-inline: auto !important;
    border-radius: 16px !important;
    box-shadow: none !important;
}

.pe-home #pe-calc-form { scroll-margin-top: 12px; }

.pe-home .pe-hero-quote-head {
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center !important;
    gap: 12px !important;
    border-bottom: 0;
    margin-bottom: 16px;
    padding-bottom: 0;
}

.pe-home .pe-hero-quote-icon { display: none; }
.pe-home .pe-hero-quote-title { font-size: 16px; }
.pe-home .pe-hero-quote-subtitle,
.pe-home .pe-hero-quote-action-label,
.pe-home .pe-hero-quote-foot { color: var(--pe-home-muted); }
.pe-home .pe-hero-quote-subtitle,
.pe-home .pe-hero-quote-action-label,
.pe-home .pe-hero-quote-foot span { font-size: 12px; }

.pe-home .pe-hero-quote-result {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px !important;
    row-gap: 3px !important;
    flex: 1 0 100%;
    background: var(--pe-home-paper);
    padding: 12px 14px;
    border-radius: 10px;
    text-align: left;
}

.pe-home .pe-hero-quote-result-label { align-self: center; color: var(--pe-home-muted); font-size: 13px; }
.pe-home .pe-hero-quote-price {
    color: var(--pe-home-accent);
    font-size: clamp(21px, 4vw, 28px);
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.pe-home .pe-hero-quote-rate { color: var(--pe-home-muted); font-size: 12px; text-align: right; }
.pe-home .pe-hero-quote-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

.pe-home .pe-hero-quote-field { grid-column: span 2; min-width: 0; margin: 0; }
.pe-home .pe-hero-quote-field:nth-child(n+4) { grid-column: span 3; }
.pe-home .pe-hero-quote-label { color: var(--pe-home-text); font-size: 13px; }
.pe-home .pe-hero-quote-control {
    border-color: var(--pe-home-border) !important;
    border-radius: 10px !important;
    font-size: 16px;
    caret-color: var(--pe-home-accent);
}

.pe-home select.pe-hero-quote-control { appearance: auto; padding-inline: 8px; }
.pe-home .pe-hero-quote-action { grid-column: 1 / -1; margin-top: 4px; text-align: center; }
.pe-home .pe-hero-quote-cta { width: 100%; }
.pe-home .pe-hero-quote-foot { padding-top: 4px; }

.pe-home .hero-section ::selection,
.pe-home .pe-calc-section-1 ::selection { background: #dce1ff; color: var(--pe-home-text); }

.pe-home .navbar-logo-left :focus-visible,
.pe-home .hero-section :focus-visible,
.pe-home .pe-calc-section-1 :focus-visible {
    outline: 2px solid var(--pe-home-accent);
    outline-offset: 3px;
}

.pe-home .pe-floating-actions {
    --pe-float-size: 56px;
    --pe-float-inset: 20px;
    bottom: calc(var(--pe-float-inset) + env(safe-area-inset-bottom, 0px));
    right: calc(var(--pe-float-inset) + env(safe-area-inset-right, 0px));
    left: calc(var(--pe-float-inset) + env(safe-area-inset-left, 0px));
    flex-direction: row-reverse;
    justify-content: space-between;
    pointer-events: none;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.pe-home .pe-floating-actions > a {
    position: static;
    pointer-events: auto;
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    height: var(--pe-float-size);
    border-radius: 999px;
    box-shadow: 0 4px 12px rgb(21 25 54 / 20%);
}

.pe-home .pe-floating-actions .whats-app-logo-wrapper { width: var(--pe-float-size); }
.pe-home .pe-floating-actions .whats-app-logo-wrapper img { display: block; width: 100%; height: 100%; }

.pe-home .pe-floating-actions .float-sign {
    width: auto;
    gap: 6px;
    padding: 0 14px;
    background: var(--pe-home-accent);
    color: #fff;
    white-space: nowrap;
}

.pe-home .pe-floating-actions .float-sign:hover { background: var(--pe-home-accent-hover); }
.pe-home .pe-floating-actions .qoute-icon { width: 20px; height: 20px; }
.pe-home .pe-floating-actions .text-block-42 { font-size: 14px; font-weight: 700; line-height: 1.25; }
.pe-home .pe-floating-actions a:focus-visible { outline: 2px solid var(--pe-home-accent); outline-offset: 3px; }

@media (max-width: 767px) {
    .pe-home .pe-floating-actions { --pe-float-size: 52px; --pe-float-inset: 12px; }
}

@media (min-width: 768px) {
    .pe-home .pe-hero-quote-result { flex: 0 1 auto; min-width: 16rem; }
}

@media (max-width: 991px) {
    .pe-home .hero-section-main-wrapper { gap: 20px !important; }
    .pe-home .video-wrapper { max-width: 42rem !important; }
    .pe-home .menu-button {
        display: grid !important;
        place-items: center;
        flex: 0 0 44px;
        height: 44px;
        padding: 0;
        border: 1px solid var(--pe-home-border);
        border-radius: 10px;
        color: var(--pe-home-text);
    }
    .pe-home .menu-button.w--open { background: #e1e5fa; color: var(--pe-home-text); }
    .pe-home .w-icon-nav-menu {
        display: block;
        position: static;
        width: 18px;
        height: 12px;
        border-block: 2px solid currentColor;
    }
    .pe-home .w-icon-nav-menu::before {
        display: block;
        margin-top: 3px;
        border-top: 2px solid currentColor;
        content: "";
    }
}

@media (max-width: 767px) {
    .pe-home .hero-section { padding-top: 20px !important; padding-bottom: 24px !important; }
    .pe-home .hero-heading { font-size: clamp(29px, 8.2vw, 38px) !important; }
    .pe-home .hero-subheading-wrapper { margin-bottom: 16px; }
    .pe-home .pe-hero-actions { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .pe-home .pe-hero-microcopy { grid-column: 1 / -1; margin-top: 0; }
    .pe-home .pe-hero-primary,
    .pe-home .pe-hero-secondary { padding-inline: 8px; text-align: center; }
    .pe-home .pe-proof-bar { gap: 12px !important; margin-top: 16px; padding: 12px !important; }
    .pe-home .pe-calc-section-1 { padding-block: 28px !important; }
    .pe-home .pe-hero-quote-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .pe-home .pe-hero-quote-field,
    .pe-home .pe-hero-quote-field:nth-child(n+4) { grid-column: auto; }
    .pe-home .pe-hero-quote-field:nth-child(5) { grid-column: 1 / -1; }
}

@media (max-width: 479px) {
    .pe-home .navbar-logo-left-container > .container { padding-inline: 12px; }
    .pe-home .navbar-brand { gap: 4px; }
    .pe-home .navbar-brand .nav-image { width: 24px; height: 24px; }
    .pe-home .navbar-brand .nav-logo { display: block; font-size: 13px; }
    .pe-home .language-div { gap: 4px; }
    .pe-home .language-div a { padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    html:has(.pe-home) { scroll-behavior: auto; }
    .pe-home .pe-hero-primary,
    .pe-home .pe-hero-secondary,
    .pe-home .pe-hero-quote-cta { transition: none; }
}
