/**
 * Landing Page: Dual-Product Template Styles
 *
 * Scoped to .landing-dual-product body class to avoid
 * impacting existing site pages. Uses SGH brand colors:
 *   - Deep Teal:    #00758d
 *   - Vibrant Cyan: #00c1de
 *   - Charcoal:     #4c4844
 *   - Warm Gray:    #ebe8e5
 *   - Gold Accent:  #ffb600
 *
 * @package SGH
 */

/* ═══════════════════════════════════════════════════════
   STANDARD HEADER OVERRIDES
   Hide the hero overlay and its H1 that header.php outputs
   (landing pages supply their own H1 in the hero section).
   ═══════════════════════════════════════════════════════ */

.landing-dual-product #hero > .overlay {
    display: none;
}

.landing-dual-product #hero > .header-graphic-wrapper {
    display: none;
}


/* ═══════════════════════════════════════════════════════
   LAYOUT: Container & Split-Screen Grid
   ═══════════════════════════════════════════════════════ */

.landing-dual-product #lp-main {
    padding-top: 30px;
    padding-bottom: 60px;
}

.landing-dual-product .lp-container {
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-start;
    gap: 40px;
}

.landing-dual-product .lp-content {
    flex: 1 1 60%;
    min-width: 0;
}

.landing-dual-product .lp-sidebar {
    flex: 0 0 360px;
}


/* ═══════════════════════════════════════════════════════
   MINIMAL HEADER (PPC / Conversion Mode)
   ═══════════════════════════════════════════════════════ */

.lp-header--minimal {
    background-color: #00c1de;
    padding: 12px 0;
    position: relative;
    z-index: 1000;
}

.lp-header--minimal .lp-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lp-header--minimal .lp-header__logo img {
    height: 40px;
    width: auto;
}

.lp-header--minimal .lp-header__phone {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s ease;
}

.lp-header--minimal .lp-header__phone:hover {
    opacity: 0.85;
}

.lp-header--minimal .lp-header__phone-icon {
    font-size: 22px;
}


/* ═══════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════ */

.lp-hero {
    margin-bottom: 35px;
}

.lp-hero__headline {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.15;
    color: #4c4844;
    margin: 0 0 12px;
}

.lp-hero__subheadline {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #00758d;
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.lp-hero__intro {
    font-size: 16px;
    line-height: 1.65;
    color: #4c4844;
}

.lp-hero__intro p {
    margin: 0 0 12px;
}


/* ═══════════════════════════════════════════════════════
   MARKETING CONTENT BLOCK
   ═══════════════════════════════════════════════════════ */

.lp-marketing {
    margin-bottom: 35px;
    padding: 24px 28px;
    background: #f8f8f6;
    border-left: 4px solid #00c1de;
    border-radius: 0 8px 8px 0;
}

.lp-marketing__heading {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #00758d;
    margin: 0 0 14px;
    line-height: 1.25;
}

.lp-marketing__body {
    font-size: 15px;
    line-height: 1.7;
    color: #4c4844;
}

.lp-marketing__body p {
    margin: 0 0 14px;
}

.lp-marketing__body p:last-child {
    margin-bottom: 0;
}

.lp-marketing__body ul,
.lp-marketing__body ol {
    margin: 0 0 14px 20px;
    padding: 0;
}

.lp-marketing__body li {
    margin-bottom: 6px;
}

.lp-marketing__body strong {
    color: #00758d;
}

.lp-marketing__body img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 12px 0;
}


/* ═══════════════════════════════════════════════════════
   DUAL PRODUCT CARDS
   ═══════════════════════════════════════════════════════ */

.lp-products {
    margin-bottom: 35px;
}

.lp-products__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.lp-product-card {
    background: #ffffff;
    border: 1px solid #e0ddd9;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.lp-product-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.lp-product-card__image {
    position: relative;
    overflow: hidden;
    background: #f4f3f1;
    border-radius: 6px;
    margin-bottom: 18px;
}

.lp-product-card__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    transition: transform 0.4s ease;
}

.lp-product-card:hover .lp-product-card__image img {
    transform: scale(1.02);
}

.lp-product-card__body {
    padding: 20px;
}

.lp-product-card__name {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #00758d;
    margin: 0 0 6px;
    line-height: 1.2;
}

.lp-product-card__tagline {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.lp-product-card__desc {
    font-size: 15px;
    line-height: 1.55;
    color: #4c4844;
    margin-bottom: 16px;
}


/* ─── Video Embed ─── */

.lp-product-card__video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 18px;
    border-radius: 6px;
    background: #000;
}

.lp-product-card__video iframe,
.lp-product-card__video object,
.lp-product-card__video embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 6px;
}

.lp-product-card__video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    object-fit: contain;
    background: #000;
}


/* ─── Spec List ─── */

.lp-product-card__specs {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    border-top: 1px solid #eee;
}

.lp-product-card__specs li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 8px 0;
    border-bottom: 1px solid #f4f3f1;
    font-size: 14px;
}

.lp-spec-label {
    color: #666;
    font-weight: 500;
}

.lp-spec-value {
    color: #00758d;
    font-weight: 700;
    text-align: right;
}


/* ─── Action Buttons ─── */

.lp-product-card__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 700;
    font-family: "Muli", sans-serif;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    text-align: center;
}

.lp-btn--primary {
    background-color: #00c1de;
    color: #ffffff;
    border: 2px solid #00c1de;
}

.lp-btn--primary:hover {
    background-color: #00758d;
    border-color: #00758d;
    color: #ffffff;
}

.lp-btn--outline {
    background: transparent;
    color: #00758d;
    border: 2px solid #00758d;
    font-size: 12px;
    padding: 8px 14px;
}

.lp-btn--outline:hover {
    background-color: #00758d;
    color: #ffffff;
}

.lp-btn--text {
    background: transparent;
    color: #00c1de;
    border: none;
    padding: 6px 0;
    font-size: 13px;
    justify-content: flex-start;
}

.lp-btn--text:hover {
    color: #00758d;
}

.lp-btn__icon {
    font-size: 16px;
}


/* ═══════════════════════════════════════════════════════
   TRUST & AUTHORITY PANEL (Factory Authorization + Credentials)
   ═══════════════════════════════════════════════════════ */

.lp-trust {
    margin-bottom: 24px;
    padding: 22px 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e6e2;
    border-top: 4px solid #00758d;
}

/* Factory Authorization Feature Block */
.lp-trust__auth {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eee;
}

.lp-trust__auth-header {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #e6f8fa;
    color: #00758d;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    border: 1px solid rgba(0, 193, 222, 0.35);
}

.lp-trust__auth-seal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #00758d;
    color: #ffffff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: bold;
    line-height: 1;
}

.lp-trust__auth-tag {
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lp-trust__auth-title {
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #4c4844;
    line-height: 1.3;
    margin: 0 0 10px;
}

.lp-trust__auth-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

/* Credential Rows */
.lp-trust__badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
}

.lp-trust__badge {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: #f9f9f8;
    border-radius: 8px;
    border: 1px solid #ecebe8;
}

.lp-trust__badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: #ffffff;
    flex-shrink: 0;
    letter-spacing: 0.03em;
}

.lp-trust__badge-icon--aia {
    background: linear-gradient(135deg, #d90429 0%, #a0001e 100%);
    box-shadow: 0 2px 6px rgba(217, 4, 41, 0.25);
}

.lp-trust__badge-icon--csi {
    background: linear-gradient(135deg, #0077b6 0%, #00507a 100%);
    box-shadow: 0 2px 6px rgba(0, 119, 182, 0.25);
}

.lp-trust__badge-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.3;
}

.lp-trust__badge-name {
    font-size: 15px;
    font-weight: 700;
    color: #222;
}

.lp-trust__badge-text {
    font-size: 14px;
    color: #555;
}

/* Territory Statement */
.lp-trust__territory {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.55;
    color: #555;
    padding-top: 14px;
    border-top: 1px solid #eee;
}

.lp-trust__territory-icon {
    color: #00758d;
    font-size: 16px;
    line-height: 1;
    margin-top: 2px;
}

.lp-trust__territory-text {
    flex: 1;
}

.lp-trust__territory-text p {
    margin: 0;
}


/* ═══════════════════════════════════════════════════════
   AIA LUNCH & LEARN CALLOUT
   ═══════════════════════════════════════════════════════ */

.lp-aia-callout {
    margin-bottom: 24px;
}

.lp-aia-callout__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    background: linear-gradient(135deg, #00758d 0%, #005f72 100%);
    color: #ffffff;
    border-radius: 8px;
}

.lp-aia-callout__badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid #ffb600;
    flex-shrink: 0;
    text-align: center;
    font-size: 10px;
    line-height: 1.2;
}

.lp-aia-callout__badge strong {
    font-size: 12px;
    color: #ffb600;
}

.lp-aia-callout__text {
    flex: 1;
    font-size: 13px;
    line-height: 1.45;
}

.lp-aia-callout__text p {
    margin: 0;
}


/* ═══════════════════════════════════════════════════════
   LEAD CAPTURE FORM CARD
   ═══════════════════════════════════════════════════════ */

.lp-form-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    padding: 28px 24px;
    border-top: 4px solid #00c1de;
    margin-bottom: 24px;
}

.lp-form-card__headline {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #4c4844;
    margin: 0 0 8px;
    line-height: 1.25;
}

.lp-form-card__sub {
    font-size: 14px;
    color: #666;
    margin: 0 0 20px;
    line-height: 1.45;
}

.lp-form-card__fallback {
    font-size: 14px;
    color: #999;
    font-style: italic;
}


/* ─── Gravity Forms Overrides (scoped) ─── */

.lp-form-card .gform_wrapper {
    margin: 0;
    padding: 0;
}

.lp-form-card .gform_wrapper .gfield {
    margin-bottom: 14px;
}

.lp-form-card .gform_wrapper .gfield_label {
    font-size: 13px;
    font-weight: 600;
    color: #4c4844;
    margin-bottom: 4px;
}

.lp-form-card .gform_wrapper input[type="text"],
.lp-form-card .gform_wrapper input[type="email"],
.lp-form-card .gform_wrapper input[type="tel"],
.lp-form-card .gform_wrapper input[type="url"],
.lp-form-card .gform_wrapper input[type="number"],
.lp-form-card .gform_wrapper textarea,
.lp-form-card .gform_wrapper select {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    border: 1px solid #d0d0d0;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: "Muli", sans-serif;
}

.lp-form-card .gform_wrapper textarea {
    height: 50px;
    min-height: 50px;
}

.lp-form-card .gform_wrapper input:focus,
.lp-form-card .gform_wrapper textarea:focus,
.lp-form-card .gform_wrapper select:focus {
    border-color: #00c1de;
    box-shadow: 0 0 0 3px rgba(0, 193, 222, 0.15);
    outline: none;
}

.lp-form-card .gform_wrapper .gform_button,
.lp-form-card .gform_wrapper input[type="submit"] {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background-color: #00c1de;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.15s ease;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.lp-form-card .gform_wrapper .gform_button:hover,
.lp-form-card .gform_wrapper input[type="submit"]:hover {
    background-color: #00758d;
    transform: translateY(-1px);
}

.lp-form-card .gform_wrapper .gform_button:active,
.lp-form-card .gform_wrapper input[type="submit"]:active {
    transform: translateY(0);
}

/* Gravity Forms validation */
.lp-form-card .gform_wrapper .validation_error {
    background: #fef0f0;
    border-color: #e74c3c;
    color: #c0392b;
    border-radius: 5px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 16px;
}

.lp-form-card .gform_wrapper .gfield_error input,
.lp-form-card .gform_wrapper .gfield_error textarea,
.lp-form-card .gform_wrapper .gfield_error select {
    border-color: #e74c3c;
}

/* Confirmation */
.lp-form-card .gform_confirmation_message {
    padding: 20px;
    background: #e8f8f0;
    border: 1px solid #27ae60;
    border-radius: 5px;
    color: #1e8449;
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
}


/* ─── Phone CTA below form ─── */

.lp-form-card__phone {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #eee;
    text-align: center;
}

.lp-form-card__phone-label {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
}

.lp-form-card__phone-number {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #00758d;
    text-decoration: none;
    transition: color 0.2s ease;
}

.lp-form-card__phone-number:hover {
    color: #00c1de;
}


/* ═══════════════════════════════════════════════════════
   MOBILE STICKY CTA BAR
   ═══════════════════════════════════════════════════════ */

.lp-mobile-cta {
    display: none; /* hidden on desktop */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
    padding: 10px 16px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.lp-mobile-cta--visible {
    transform: translateY(0);
}

.lp-mobile-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 960px;
    margin: 0 auto;
}

.lp-mobile-cta__text {
    font-size: 14px;
    font-weight: 600;
    color: #4c4844;
}

.lp-mobile-cta__btn {
    white-space: nowrap;
    padding: 10px 20px;
    font-size: 14px;
}


/* ═══════════════════════════════════════════════════════
   MINIMAL FOOTER (PPC MODE)
   ═══════════════════════════════════════════════════════ */

.lp-footer {
    background: #ebe8e5;
    padding: 16px 0;
    text-align: center;
}

.lp-footer__copy {
    font-size: 11px;
    color: #4c4844;
}

.lp-footer__copy a {
    color: inherit;
    text-decoration: underline;
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE: TABLET & MOBILE
   ═══════════════════════════════════════════════════════ */

@media screen and (max-width: 960px) {
    .landing-dual-product .lp-container {
        flex-direction: column;
    }

    .landing-dual-product .lp-content {
        flex: 1 1 100%;
    }

    .landing-dual-product .lp-sidebar {
        flex: 1 1 100%;
        position: static;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .lp-hero__headline {
        font-size: 28px;
    }

    .lp-mobile-cta {
        display: block;
    }
}

@media screen and (max-width: 640px) {
    .landing-dual-product .cw {
        width: 100%;
        padding: 0 16px;
    }

    /* ─── Hero Typography ─── */
    .lp-hero__headline {
        font-size: 28px;
        line-height: 1.25;
    }

    .lp-hero__subheadline {
        font-size: 17px;
        line-height: 1.35;
    }

    .lp-hero__intro {
        font-size: 16px;
        line-height: 1.6;
    }

    /* ─── Marketing Content ─── */
    .lp-marketing {
        padding: 20px 18px;
    }

    .lp-marketing__heading {
        font-size: 22px;
    }

    .lp-marketing__body {
        font-size: 16px;
        line-height: 1.65;
    }

    /* ─── Product Cards ─── */
    .lp-product-card {
        padding: 20px 16px;
    }

    .lp-product-card__name {
        font-size: 24px;
    }

    .lp-product-card__tagline {
        font-size: 14px;
    }

    .lp-product-card__image img {
        height: auto;
    }

    .lp-product-card__desc {
        font-size: 16px;
        line-height: 1.65;
    }

    .lp-spec-label {
        font-size: 14px;
    }

    .lp-spec-value {
        font-size: 14px;
    }

    .lp-product-card__actions .lp-btn {
        font-size: 14px;
        padding: 12px 14px;
    }

    /* ─── Trust & Authority Panel ─── */
    .lp-trust {
        padding: 22px 18px;
    }

    .lp-trust__auth-title {
        font-size: 19px;
    }

    .lp-trust__auth-desc {
        font-size: 15px;
        line-height: 1.6;
    }

    .lp-trust__badges {
        flex-direction: column;
        gap: 12px;
    }

    .lp-trust__badge {
        padding: 12px 14px;
    }

    .lp-trust__badge-name {
        font-size: 15px;
    }

    .lp-trust__badge-text {
        font-size: 14px;
    }

    .lp-trust__territory {
        font-size: 14px;
        line-height: 1.55;
    }

    /* ─── AIA Lunch & Learn ─── */
    .lp-aia-callout__inner {
        flex-direction: column;
        text-align: center;
        padding: 20px 16px;
        gap: 14px;
    }

    .lp-aia-callout__badge {
        width: 76px;
        height: 76px;
        font-size: 11px;
    }

    .lp-aia-callout__badge strong {
        font-size: 13px;
    }

    .lp-aia-callout__text {
        font-size: 15px;
        line-height: 1.55;
    }

    /* ─── Lead Form ─── */
    .lp-form-card {
        padding: 24px 18px;
    }

    .lp-form-card__headline {
        font-size: 22px;
    }

    .lp-form-card__sub {
        font-size: 14px;
    }

    .lp-form-card .gform_wrapper .gfield_label {
        font-size: 14px;
    }

    .lp-form-card .gform_wrapper input[type="text"],
    .lp-form-card .gform_wrapper input[type="email"],
    .lp-form-card .gform_wrapper input[type="tel"],
    .lp-form-card .gform_wrapper textarea,
    .lp-form-card .gform_wrapper select {
        font-size: 16px; /* 16px prevents iOS Safari auto-zoom on input focus */
    }

    .lp-form-card .gform_wrapper .gform_button,
    .lp-form-card .gform_wrapper input[type="submit"] {
        font-size: 16px;
        padding: 14px;
    }

    /* ─── Minimal Header ─── */
    .lp-header--minimal .lp-header__inner {
        flex-direction: column;
        gap: 8px;
    }
}
