
/* ==========================================
   TRADEEAGLE GOOGLE ADS & PPC
========================================== */

.te-ppc-layout {
    --ppc-orange: #FFBA01;
    --ppc-navy: #003263;
    --ppc-dark: #171717;

    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;

    width: 100%;
    min-height: 100vh;

    font-family: 'DM Sans', Arial, sans-serif;
}

.te-ppc-layout,
.te-ppc-layout * {
    box-sizing: border-box;
}

.te-ppc-layout a {
    text-decoration: none;
}

.te-ppc-layout .tppc-left {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: none;

    background: #ffffff;
    overflow: hidden;
}

.te-ppc-layout .tppc-section {
    padding: 85px clamp(24px, 4vw, 70px);
}

.te-ppc-layout .tppc-section-label {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;

    gap: 12px;
    margin-bottom: 40px;

    color: var(--ppc-navy);

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.te-ppc-layout .tppc-section-title {
    margin: 0 0 30px;

    color: var(--ppc-dark);

    font-size: 40px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.055em;
}

.te-ppc-layout .tppc-section-title em {
    display: block;
    color: var(--ppc-navy);
    font-style: normal;
}

/* ==========================================
   HERO
========================================== */

.te-ppc-layout .tppc-hero {
    position: relative;
    isolation: isolate;

    display: flex;
    flex-direction: column;
    justify-content: center;

    min-height: 550px;
    padding: 5px clamp(24px, 4vw, 70px);

    background: var(--ppc-orange);
    overflow: hidden;
}

.te-ppc-layout .tppc-hero-content {
    position: relative;
    z-index: 2;
}

.te-ppc-layout .tppc-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 30px;

    color: var(--ppc-navy);

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.4px;
}

.te-ppc-layout .tppc-eyebrow span {
    width: 30px;
    height: 2px;
    background: var(--ppc-navy);
}

.te-ppc-layout .tppc-hero-title {
    margin: 0 0 28px;

    color: var(--ppc-dark);

    font-size: 50px;
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.07em;
}

.te-ppc-layout .tppc-hero-title strong {
    display: block;
    color: var(--ppc-navy);
    font-weight: 900;
}

.te-ppc-layout .tppc-hero-title strong span {
    color: #ffffff;
}

.te-ppc-layout .tppc-hero-subtitle {
    margin: 0 0 22px;

    color: var(--ppc-navy);

    font-size: clamp(21px, 2.1vw, 30px);
    font-weight: 900;
    line-height: 1.3;
}

.te-ppc-layout .tppc-hero-description {
    max-width: 500px;
    margin: 0 0 30px;

    color: #303030;

    font-size: 14px;
    line-height: 1.9;
}

.te-ppc-layout .tppc-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.te-ppc-layout .tppc-primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 30px;

    padding: 16px 23px;

    background: var(--ppc-navy);
    color: #ffffff;

    border-radius: 40px;

    font-size: 11px;
    font-weight: 900;

    transition: 0.3s ease;
}

.te-ppc-layout .tppc-primary-btn:hover {
    background: #111111;
    color: #ffffff;
    transform: translateY(-3px);
}

.te-ppc-layout .tppc-text-btn {
    color: var(--ppc-navy);

    font-size: 11px;
    font-weight: 900;
}

.te-ppc-layout .tppc-hero-watermark {
    position: absolute;
    right: -25px;
    bottom: -40px;

    color: rgba(0, 50, 99, 0.07);

    font-size: clamp(150px, 20vw, 310px);
    font-weight: 900;
    line-height: 1;

    pointer-events: none;
}

.te-ppc-layout .tppc-hero-bottom {
    position: absolute;
    z-index: 2;

    left: clamp(24px, 4vw, 70px);
    right: clamp(24px, 4vw, 70px);
    bottom: 25px;

    display: flex;
    justify-content: space-between;
    gap: 15px;

    color: var(--ppc-navy);

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.8px;
}

/* ==========================================
   INTRO
========================================== */

.te-ppc-layout .tppc-intro {
    background: #ffffff;
}

.te-ppc-layout .tppc-intro-text {
    margin: 0 0 20px;

    color: #444444;

    font-size: 15px;
    line-height: 1.9;
}

.te-ppc-layout .tppc-feature-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 12px;
    margin-top: 40px;
}

.te-ppc-layout .tppc-feature-strip > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 15px;
    padding: 20px 15px;

    background: #f4f6f8;
    border-radius: 10px;
}

.te-ppc-layout .tppc-feature-strip i {
    color: var(--ppc-navy);
    font-size: 26px;
}

.te-ppc-layout .tppc-feature-strip strong {
    color: var(--ppc-navy);

    font-size: 10px;
    font-weight: 900;
    line-height: 1.5;
}

/* ==========================================
   SERVICE SECTIONS
========================================== */

.te-ppc-layout .tppc-service {
    padding: 75px clamp(24px, 4vw, 70px) 85px;
}

.te-ppc-layout .tppc-service-light {
    background: #f5f7f9;
    color: var(--ppc-dark);
}

.te-ppc-layout .tppc-service-navy {
    background: var(--ppc-navy);
    color: #ffffff;
}

.te-ppc-layout .tppc-service-top {
    display: flex;
    justify-content: space-between;

    gap: 15px;
    margin-bottom: 35px;

    color: var(--ppc-navy);

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.te-ppc-layout .tppc-service-navy .tppc-service-top {
    color: var(--ppc-orange);
}

.te-ppc-layout .tppc-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 90px;
    height: 90px;

    margin-bottom: 30px;

    background: var(--ppc-orange);
    color: var(--ppc-navy);

    border-radius: 20px;
}

.te-ppc-layout .tppc-service-icon i {
    font-size: 39px;
}

.te-ppc-layout .tppc-service-number {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 18px;

    color: var(--ppc-navy);

    font-size: 13px;
    font-weight: 900;
}

.te-ppc-layout .tppc-service-number span {
    font-size: 28px;
}

.te-ppc-layout .tppc-service-navy .tppc-service-number {
    color: var(--ppc-orange);
}

.te-ppc-layout .tppc-service-title {
    margin: 0 0 25px;

    font-size: 35px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.055em;
}

.te-ppc-layout .tppc-service-description {
    margin: 0 0 30px;

    color: #444444;

    font-size: 14px;
    line-height: 1.9;
}

.te-ppc-layout .tppc-service-navy .tppc-service-description {
    color: rgba(255, 255, 255, 0.82);
}

.te-ppc-layout .tppc-service-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 12px;
    margin-bottom: 35px;
}

.te-ppc-layout .tppc-service-point {
    display: flex;
    align-items: flex-start;

    gap: 10px;
    padding: 15px;

    background: #ffffff;

    border: 1px solid #e0e5ea;
    border-radius: 8px;

    color: var(--ppc-navy);

    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
}

.te-ppc-layout .tppc-service-point i {
    flex-shrink: 0;
    margin-top: 2px;
    color: #d28c00;
}

.te-ppc-layout .tppc-service-navy .tppc-service-point {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.te-ppc-layout .tppc-service-navy .tppc-service-point i {
    color: var(--ppc-orange);
}

.te-ppc-layout .tppc-service-link {
    display: inline-flex;
    align-items: center;
    gap: 30px;

    padding-bottom: 10px;
    border-bottom: 2px solid currentColor;

    color: var(--ppc-navy);

    font-size: 11px;
    font-weight: 900;

    transition: gap 0.3s ease;
}

.te-ppc-layout .tppc-service-link:hover {
    gap: 42px;
}

.te-ppc-layout .tppc-service-navy .tppc-service-link {
    color: var(--ppc-orange);
}

/* ==========================================
   PROCESS
========================================== */

.te-ppc-layout .tppc-process {
    background: var(--ppc-orange);
}

.te-ppc-layout .tppc-process-list {
    margin: 40px 0;
    border-top: 1px solid rgba(0, 50, 99, 0.3);
}

.te-ppc-layout .tppc-process-item {
    display: grid;
    grid-template-columns: 55px minmax(0, 1fr);

    gap: 20px;
    padding: 25px 0;

    border-bottom: 1px solid rgba(0, 50, 99, 0.3);
}

.te-ppc-layout .tppc-process-item > span {
    color: var(--ppc-navy);

    font-size: 25px;
    font-weight: 900;
}

.te-ppc-layout .tppc-process-item h3 {
    margin: 0 0 10px;

    color: var(--ppc-dark);

    font-size: 23px;
    font-weight: 900;
}

.te-ppc-layout .tppc-process-item p {
    margin: 0;

    color: #333333;

    font-size: 13px;
    line-height: 1.8;
}

.te-ppc-layout .tppc-outline-btn {
    display: inline-flex;
    align-items: center;
    gap: 30px;

    padding: 13px 0;
    border-bottom: 2px solid currentColor;

    color: var(--ppc-navy);

    font-size: 11px;
    font-weight: 900;
}

/* ==========================================
   FAQ
========================================== */

.te-ppc-layout .tppc-faq {
    background: #ffffff;
}

.te-ppc-layout .tppc-faq-list {
    margin: 40px 0 30px;
    border-top: 1px solid #d8dde2;
}

.te-ppc-layout .tppc-faq-item {
    border-bottom: 1px solid #d8dde2;
}

.te-ppc-layout .tppc-faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 18px;
    padding: 22px 0;

    cursor: pointer;
    list-style: none;
}

.te-ppc-layout .tppc-faq-item summary::-webkit-details-marker {
    display: none;
}

.te-ppc-layout .tppc-faq-item summary::marker {
    content: "";
}

.te-ppc-layout .tppc-faq-item summary span {
    color: var(--ppc-dark);

    font-size: 16px;
    font-weight: 800;
    line-height: 1.5;
}

.te-ppc-layout .tppc-faq-item summary i {
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    background: var(--ppc-orange);
    color: var(--ppc-navy);

    border-radius: 50%;
    font-size: 12px;

    transition: transform 0.25s ease;
}

.te-ppc-layout .tppc-faq-item[open] summary i {
    transform: rotate(45deg);
}

.te-ppc-layout .tppc-faq-answer {
    padding: 0 35px 25px 0;
}

.te-ppc-layout .tppc-faq-answer p {
    margin: 0;

    color: #555555;

    font-size: 14px;
    line-height: 1.9;
}

/* ==========================================
   CONTACT CTA
========================================== */

.te-ppc-layout .tppc-contact {
    padding: 90px clamp(24px, 4vw, 70px);

    background: var(--ppc-navy);
    color: #ffffff;
}

.te-ppc-layout .tppc-contact .tppc-section-label {
    color: var(--ppc-orange);
}

.te-ppc-layout .tppc-contact-tag {
    display: block;
    margin-bottom: 25px;

    color: var(--ppc-orange);

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.3px;
}

.te-ppc-layout .tppc-contact h2 {
    margin: 0 0 25px;

    font-size: 45px;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.te-ppc-layout .tppc-contact h2 em {
    display: block;
    color: var(--ppc-orange);
    font-style: normal;
}

.te-ppc-layout .tppc-contact p {
    max-width: 490px;
    margin: 0 0 35px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 14px;
    line-height: 1.9;
}

.te-ppc-layout .tppc-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 30px;

    padding: 17px 25px;

    background: var(--ppc-orange);
    color: var(--ppc-navy);

    border-radius: 40px;

    font-size: 11px;
    font-weight: 900;

    transition: 0.3s ease;
}

.te-ppc-layout .tppc-contact-btn:hover {
    background: #ffffff;
    color: var(--ppc-navy);
    transform: translateY(-3px);
}

/* ==========================================
   RIGHT STICKY PANEL
========================================== */

.te-ppc-layout .tppc-right {
    position: sticky !important;
    top: 0 !important;
    z-index: 2;

    display: flex !important;
    align-items: center;
    justify-content: center;

    align-self: start;

    width: 100%;
    min-width: 0;

    height: 100vh;
    height: 100dvh;

    padding: 20px 25px;

    overflow: hidden !important;

    background: var(--ppc-orange);
}

.te-ppc-layout .tppc-right-inner {
    width: 100%;
    max-width: 520px;
    max-height: 100%;

    margin: auto;

    opacity: 1 !important;
    visibility: visible !important;
}

.te-ppc-layout .tppc-right-heading {
    margin-bottom: 16px;

    opacity: 1 !important;
    visibility: visible !important;
}

.te-ppc-layout .tppc-right-heading > span {
    display: block;
    margin-bottom: 10px;

    color: var(--ppc-navy);

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.te-ppc-layout .tppc-right-heading h2 {
    margin: 0 0 8px;

    color: var(--ppc-navy);

    font-size: clamp(28px, 2.8vw, 43px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.te-ppc-layout .tppc-right-heading h2 em {
    display: block;
    font-style: normal;
}

.te-ppc-layout .tppc-right-heading p {
    margin: 0;

    color: #263d50;

    font-size: 12px;
    line-height: 1.5;
}

/* SIX EQUAL CARDS */

.te-ppc-layout .tppc-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));

    gap: 10px;

    height: min(56vh, 460px);
    min-height: 0;
}

.te-ppc-layout .tppc-quick-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    min-width: 0;
    min-height: 0;

    padding: 10px;

    background: var(--ppc-navy);

    border: 1px solid transparent;
    border-radius: 12px;

    overflow: hidden;
    text-align: center;

    opacity: 1 !important;
    visibility: visible !important;

    transition: background 0.3s ease,
                border-color 0.3s ease;
}

.te-ppc-layout .tppc-quick-card i {
    margin-bottom: 9px;

    color: var(--ppc-orange);
    font-size: clamp(26px, 2.5vw, 38px);
}

.te-ppc-layout .tppc-quick-card h3 {
    margin: 0 0 5px;

    color: #ffffff;

    font-size: clamp(12px, 1.1vw, 16px);
    font-weight: 900;
    line-height: 1.3;
}

.te-ppc-layout .tppc-quick-card > span {
    color: rgba(255, 255, 255, 0.65);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.te-ppc-layout .tppc-quick-card:hover,
.te-ppc-layout .tppc-quick-card.is-active {
    background: #001f40;
    border-color: var(--ppc-orange);
}

.te-ppc-layout .tppc-right-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 15px;
    margin-top: 16px;
    padding: 14px 18px;

    background: #ffffff;
    color: var(--ppc-navy);

    border-radius: 35px;

    font-size: 11px;
    font-weight: 900;

    transition: 0.3s ease;
}

.te-ppc-layout .tppc-right-cta:hover {
    background: var(--ppc-navy);
    color: #ffffff;
}

.te-ppc-layout .tppc-right-bottom {
    display: flex;
    justify-content: space-between;

    gap: 15px;
    margin-top: 15px;
    padding-top: 12px;

    border-top: 1px solid rgba(0, 50, 99, 0.3);

    color: var(--ppc-navy);

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.7px;
}

/* ==========================================
   SHORT DESKTOP HEIGHT
========================================== */

@media (min-width: 901px) and (max-height: 700px) {

    .te-ppc-layout .tppc-right {
        padding: 10px 20px;
    }

    .te-ppc-layout .tppc-right-heading {
        margin-bottom: 8px;
    }

    .te-ppc-layout .tppc-right-heading h2 {
        font-size: 26px;
    }

    .te-ppc-layout .tppc-right-heading p {
        display: none;
    }

    .te-ppc-layout .tppc-quick-grid {
        height: 59vh;
        gap: 7px;
    }

    .te-ppc-layout .tppc-quick-card {
        padding: 7px;
    }

    .te-ppc-layout .tppc-quick-card i {
        margin-bottom: 5px;
        font-size: 24px;
    }

    .te-ppc-layout .tppc-quick-card h3 {
        font-size: 12px;
    }

    .te-ppc-layout .tppc-right-cta {
        margin-top: 9px;
        padding: 10px 15px;
    }

    .te-ppc-layout .tppc-right-bottom {
        margin-top: 8px;
        padding-top: 7px;
    }
}

/* ==========================================
   TABLET & MOBILE
========================================== */

@media (max-width: 900px) {

    .te-ppc-layout {
        display: block !important;
    }

    .te-ppc-layout .tppc-left {
        width: 100% !important;
        max-width: 100%;
    }

    .te-ppc-layout .tppc-right {
        position: relative !important;
        top: auto !important;

        width: 100%;
        height: auto !important;
        min-height: 0;

        padding: 45px 20px;

        overflow: visible !important;
    }

    .te-ppc-layout .tppc-right-inner {
        max-width: 600px;
        max-height: none;
    }

    .te-ppc-layout .tppc-quick-grid {
        height: auto;
        grid-template-rows: repeat(3, auto);
        gap: 12px;
    }

    .te-ppc-layout .tppc-quick-card {
        min-height: 140px;
        height: auto;
        padding: 18px 10px;
    }
}

@media (max-width: 600px) {

    .te-ppc-layout .tppc-hero {
        min-height: 550px;
        padding: 50px 22px;
    }

    .te-ppc-layout .tppc-hero-title {
        font-size: 30px;
    }

    .te-ppc-layout .tppc-section,
    .te-ppc-layout .tppc-service {
        padding: 65px 22px;
    }

    .te-ppc-layout .tppc-section-title,
    .te-ppc-layout .tppc-service-title {
        font-size: clamp(35px, 9vw, 48px);
    }

    .te-ppc-layout .tppc-service-points,
    .te-ppc-layout .tppc-feature-strip {
        grid-template-columns: 1fr;
    }

    .te-ppc-layout .tppc-feature-strip > div {
        flex-direction: row;
        align-items: center;
    }

    .te-ppc-layout .tppc-contact {
        padding: 75px 22px;
    }

    .te-ppc-layout .tppc-contact h2 {
        font-size: clamp(38px, 10vw, 54px);
    }
}

@media (max-width: 480px) {

    .te-ppc-layout .tppc-quick-grid {
        gap: 10px;
    }

    .te-ppc-layout .tppc-quick-card {
        min-height: 125px;
        padding: 12px 8px;
    }

    .te-ppc-layout .tppc-quick-card i {
        font-size: 30px;
    }

    .te-ppc-layout .tppc-quick-card h3 {
        font-size: 12px;
    }

    .te-ppc-layout .tppc-quick-card > span {
        font-size: 8px;
    }
}

.te-ppc-layout a:focus-visible,
.te-ppc-layout summary:focus-visible {
    outline: 3px solid var(--ppc-navy);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    .te-ppc-layout *,
    .te-ppc-layout *::before,
    .te-ppc-layout *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
