/* ============================================
   Landing Page Styles (isolated from main site)
   Only loaded by base_lp.html
   ============================================ */

/* CSS Variable mapping — LP uses modernblinds-style vars,
   mapped from landing-page theme vars where possible */
:root {
    --lp-primary: var(--color-primary, #1e40af);
    --lp-primary-dark: var(--color-primary-dark, #1e3a8a);
    --lp-primary-light: #f3f4f6;
    --lp-accent: var(--color-accent, #f59e0b);
    --lp-accent-light: #fef3c7;
    --lp-accent-hover: #d97706;
    --lp-white: #ffffff;
    --lp-gray-100: #f5f5f5;
    --lp-gray-300: #cccccc;
    --lp-gray-500: #888888;
    --lp-gray-700: #555555;
    --lp-font-heading: 'Playfair Display', Georgia, serif;
    --lp-font-body: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --lp-shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --lp-shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --lp-radius: 8px;
    --lp-max-width: 1280px;
}

/* ============================================
   LP RESET — override Tailwind defaults for LP pages
   ============================================ */
.lp-page {
    font-family: var(--lp-font-body);
    color: var(--lp-gray-700);
    line-height: 1.7;
    background: var(--lp-white);
}
.lp-page img { max-width: 100%; height: auto; display: block; }
.lp-page a { text-decoration: none; color: inherit; transition: color 0.3s; }
.lp-page .container { max-width: var(--lp-max-width); margin: 0 auto; padding: 0 24px; }

/* ============================================
   LP HEADER
   ============================================ */
.lp-header {
    background: var(--lp-white);
    box-shadow: var(--lp-shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.lp-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 10px;
}
.lp-header .logo-text h1 {
    font-family: var(--lp-font-heading);
    font-size: 18px;
    color: var(--lp-primary);
    font-weight: 700;
}

/* LP Phone CTA button */
.lp-phone-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--lp-accent);
    color: var(--lp-white) !important;
    padding: 10px 20px;
    border-radius: var(--lp-radius);
    font-weight: 600;
    font-size: 15px;
    transition: background 0.3s, transform 0.2s;
}
.lp-phone-cta:hover {
    background: var(--lp-accent-hover);
    transform: translateY(-1px);
}

/* ============================================
   LP FOOTER
   ============================================ */
.lp-footer {
    background: var(--lp-primary-dark);
    color: var(--lp-gray-500);
    text-align: center;
    padding: 20px 0;
    font-size: 13px;
}
.lp-footer a {
    color: var(--lp-gray-300);
    text-decoration: underline;
    margin-left: 8px;
}
.lp-footer a:hover {
    color: var(--lp-accent);
}

/* ============================================
   LP HERO
   ============================================ */
.lp-hero {
    background: linear-gradient(135deg, var(--lp-primary) 0%, var(--lp-primary-dark) 100%);
    color: var(--lp-white);
    padding: 60px 0 70px;
    position: relative;
    overflow: hidden;
}
.lp-hero[style*="--hero-bg"] {
    background: none;
}
.lp-hero[style*="--hero-bg"]::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.lp-hero[style*="--hero-bg"]::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.65) 100%);
    z-index: 1;
}
.lp-hero .container {
    position: relative;
    z-index: 2;
}
.lp-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}
.lp-hero-text h1 {
    font-family: var(--lp-font-heading);
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 16px;
}
.lp-hero-sub {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
}
.lp-hero-badges {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.lp-hero-badges li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
}

/* LP Hero (Meta variant) - centered, full-width */
.lp-hero-meta {
    text-align: center;
    padding: 80px 0 90px;
    background: linear-gradient(135deg, var(--lp-primary-dark) 0%, #1a365d 50%, var(--lp-primary) 100%);
    position: relative;
    overflow: hidden;
}
.lp-hero-meta[style*="--hero-bg"] {
    background: none;
}
.lp-hero-meta[style*="--hero-bg"]::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.lp-hero-meta[style*="--hero-bg"]::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.65) 100%);
    z-index: 1;
}
.lp-hero-meta .container {
    position: relative;
    z-index: 2;
}
.lp-hero-center {
    max-width: 700px;
    margin: 0 auto;
}
.lp-hero-center h1 {
    font-family: var(--lp-font-heading);
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 16px;
}
.lp-hero-cta-btn {
    margin-top: 24px;
    font-size: 18px;
    padding: 16px 36px;
}

/* ============================================
   LP FORM
   ============================================ */
.lp-form-card {
    background: var(--lp-white);
    color: var(--lp-gray-700);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    border-top: 4px solid var(--lp-accent);
}
.lp-form-card h2 {
    font-family: var(--lp-font-heading);
    font-size: 24px;
    color: var(--lp-primary);
    margin-bottom: 20px;
    text-align: center;
}
.lp-form-card-centered {
    max-width: 560px;
    margin: 0 auto;
}
.lp-form .form-group {
    margin-bottom: 14px;
}
.lp-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.lp-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--lp-primary);
    margin-bottom: 4px;
}
.lp-form input,
.lp-form select,
.lp-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--lp-gray-300);
    border-radius: 6px;
    font-size: 15px;
    font-family: var(--lp-font-body);
    transition: border-color 0.3s, box-shadow 0.3s;
    background: var(--lp-white);
    color: var(--lp-gray-700);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.lp-form input:focus,
.lp-form select:focus,
.lp-form textarea:focus {
    outline: none;
    border-color: var(--lp-accent);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}
.lp-submit-btn {
    width: 100%;
    padding: 14px;
    font-size: 17px;
    font-weight: 700;
    margin-top: 8px;
    cursor: pointer;
}
.lp-form-privacy {
    text-align: center;
    font-size: 12px;
    color: var(--lp-gray-500);
    margin-top: 10px;
}
.lp-form-privacy i {
    margin-right: 4px;
}
.lp-form-subtitle {
    text-align: center;
    color: var(--lp-gray-500);
    margin-bottom: 20px;
    font-size: 15px;
}

/* LP Form Section (standalone, for Meta mid/bottom forms) */
.lp-form-section {
    padding: 60px 0;
    background: var(--lp-gray-100);
}
.lp-form-section-dark {
    background: var(--lp-primary-dark);
}
.lp-form-section-dark .lp-form-card {
    box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

/* ============================================
   LP TRUST BAR
   ============================================ */
.lp-trust-bar {
    background: var(--lp-gray-100);
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
}
.lp-trust-items {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.lp-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--lp-primary);
}
.lp-trust-item i {
    color: var(--lp-accent);
    font-size: 18px;
}

/* ============================================
   LP BENEFITS
   ============================================ */
.lp-benefits {
    padding: 70px 0;
    background: var(--lp-white);
}
.lp-section-title {
    font-family: var(--lp-font-heading);
    font-size: 32px;
    color: var(--lp-primary);
    text-align: center;
    margin-bottom: 40px;
}
.lp-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.lp-benefit-card {
    text-align: center;
    padding: 30px 24px;
    border-radius: var(--lp-radius);
    transition: transform 0.3s, box-shadow 0.3s;
}
.lp-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lp-shadow-md);
}
.lp-benefit-icon {
    width: 64px;
    height: 64px;
    background: var(--lp-accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    color: var(--lp-accent);
}
.lp-benefit-card h3 {
    font-family: var(--lp-font-heading);
    font-size: 20px;
    color: var(--lp-primary);
    margin-bottom: 10px;
}
.lp-benefit-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--lp-gray-700);
}

/* ============================================
   LP GALLERY STRIP
   ============================================ */
.lp-gallery-strip {
    padding: 60px 0;
    background: var(--lp-gray-100);
}
.lp-gallery-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.lp-gallery-row img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--lp-radius);
    transition: transform 0.3s;
}
.lp-gallery-row img:hover {
    transform: scale(1.03);
}

/* ============================================
   LP BOTTOM CTA
   ============================================ */
.lp-bottom-cta {
    background: var(--lp-primary);
    color: var(--lp-white);
    text-align: center;
    padding: 50px 0;
}
.lp-bottom-cta h2 {
    font-family: var(--lp-font-heading);
    font-size: 30px;
    margin-bottom: 10px;
}
.lp-bottom-cta p {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
}
.lp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 17px;
}

/* ============================================
   LP AGITATION (Meta)
   ============================================ */
.lp-agitation {
    padding: 60px 0;
    text-align: center;
    background: var(--lp-white);
}
.lp-agitation h2 {
    font-family: var(--lp-font-heading);
    font-size: 30px;
    color: var(--lp-primary);
    margin-bottom: 16px;
}
.lp-agitation p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.7;
    color: var(--lp-gray-700);
}

/* ============================================
   LP TESTIMONIALS
   ============================================ */
.lp-testimonials {
    padding: 70px 0;
    background: var(--lp-white);
}
.lp-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.lp-testimonial-card {
    background: var(--lp-gray-100);
    border-radius: var(--lp-radius);
    padding: 28px;
    border-left: 3px solid var(--lp-accent);
}
.lp-testimonial-stars {
    color: var(--lp-accent);
    margin-bottom: 12px;
    font-size: 14px;
}
.lp-testimonial-stars i {
    margin-right: 2px;
}
.lp-testimonial-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--lp-gray-700);
    font-style: italic;
    margin-bottom: 12px;
}
.lp-testimonial-author {
    font-size: 13px;
    font-weight: 600;
    color: var(--lp-primary);
}

/* ============================================
   LP FAQ
   ============================================ */
.lp-faq {
    padding: 70px 0;
    background: var(--lp-gray-100);
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: var(--lp-white);
    border-radius: var(--lp-radius);
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: var(--lp-shadow-sm);
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    cursor: pointer;
    font-weight: 600;
    color: var(--lp-primary);
    font-size: 15px;
    transition: background 0.3s;
}
.faq-question:hover {
    background: var(--lp-gray-100);
}
.faq-question i {
    transition: transform 0.3s;
    font-size: 12px;
    color: var(--lp-gray-500);
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-item.active .faq-answer {
    max-height: 300px;
}
.faq-answer p {
    padding: 0 24px 18px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--lp-gray-700);
}

/* ============================================
   LP FORM SUCCESS
   ============================================ */
.lp-form .form-success {
    text-align: center;
    padding: 30px 20px;
}
.lp-form .form-success i {
    font-size: 48px;
    color: #22c55e;
    margin-bottom: 12px;
}
.lp-form .form-success h3 {
    font-family: var(--lp-font-heading);
    font-size: 22px;
    color: var(--lp-primary);
    margin-bottom: 8px;
}
.lp-form .form-success p {
    font-size: 15px;
    color: var(--lp-gray-700);
}

/* ============================================
   LP BUTTONS (primary CTA style)
   ============================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--lp-accent);
    color: var(--lp-white) !important;
    padding: 12px 28px;
    border-radius: var(--lp-radius);
    font-weight: 700;
    font-size: 16px;
    border: none;
    transition: background 0.3s, transform 0.2s;
    text-decoration: none;
    cursor: pointer;
}
.btn-primary:hover {
    background: var(--lp-accent-hover);
    transform: translateY(-1px);
}

/* ============================================
   LP RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .lp-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .lp-hero-text h1,
    .lp-hero-center h1 {
        font-size: 32px;
    }
    .lp-benefits-grid {
        grid-template-columns: 1fr 1fr;
    }
    .lp-testimonials-grid {
        grid-template-columns: 1fr;
    }
    .lp-gallery-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .lp-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
@media (max-width: 768px) {
    .lp-hero {
        padding: 40px 0 50px;
    }
    .lp-hero-meta {
        padding: 50px 0 60px;
    }
    .lp-hero-text h1,
    .lp-hero-center h1 {
        font-size: 28px;
    }
    .lp-hero-sub {
        font-size: 16px;
    }
    .lp-form-card {
        padding: 24px 20px;
    }
    .lp-section-title {
        font-size: 26px;
    }
    .lp-benefits-grid {
        grid-template-columns: 1fr;
    }
    .lp-trust-items {
        gap: 20px;
    }
    .lp-trust-item {
        font-size: 12px;
    }
    .lp-phone-cta span {
        display: none;
    }
}
@media (max-width: 480px) {
    .lp-gallery-row {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .lp-gallery-row img {
        height: 150px;
    }
    .lp-hero-text h1,
    .lp-hero-center h1 {
        font-size: 24px;
    }
}

/* ============================================
   JUSTCALL — Hide default open button, restyle close button
   ============================================ */
.iframe-button-control #toggleButton {
    display: none !important;
}
.iframe-button-control #cross {
    background: var(--color-primary-dark, #0c0a09) !important;
    border-color: var(--color-primary-dark, #0c0a09) !important;
}

/* ============================================
   MOBILE STICKY CALL BAR
   ============================================ */
.mobile-call-bar {
    display: none;
}
@media (max-width: 768px) {
    .mobile-call-bar {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        padding: 10px 16px;
        background: var(--color-accent, #b45309);
        box-shadow: 0 -2px 12px rgba(0,0,0,0.2);
    }
    .mobile-call-bar-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        color: #fff;
        font-size: 16px;
        letter-spacing: 0.3px;
        text-decoration: none;
    }
    .mobile-call-bar-btn i {
        font-size: 18px;
        animation: phone-ring 1.5s ease-in-out infinite;
    }
    @keyframes phone-ring {
        0%, 100% { transform: rotate(0deg); }
        10% { transform: rotate(12deg); }
        20% { transform: rotate(-10deg); }
        30% { transform: rotate(8deg); }
        40% { transform: rotate(0deg); }
    }
    body { padding-bottom: 56px; }
}
