/* ============================================
   Landing Page: Hero Section
   ============================================ */

.lp-hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Background Styles */
.lp-hero--bg-dark {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.lp-hero--bg-gradient {
    background: linear-gradient(90deg, var(--gradient-start, #E8D5C4) 0%, var(--gradient-end, #B8D4CE) 100%);
}

/* Container */
.lp-hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 80px var(--spacing-lg);
    width: 100%;
}

/* Left Content Column */
.lp-hero__content {
    color: var(--white);
}

.lp-hero__heading {
    font-family: var(--font-heading);
    font-size: var(--text-7xl);
    font-weight: 700;
    line-height: 1.15;
    color: var(--white);
    margin: 0 0 var(--spacing-xl) 0;
}

.lp-hero__subheading {
    font-size: var(--text-xl);
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 var(--spacing-3xl) 0;
}

/* Bullet Points */
.lp-hero__bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-3xl) 0;
}

.lp-hero__bullets li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    font-size: var(--text-lg);
    line-height: 1.5;
    color: var(--white);
}

.lp-hero__bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 12px;
    height: 12px;
    background-color: var(--primary-green);
    border-radius: 2px;
}

.lp-hero__bullets li:last-child {
    margin-bottom: 0;
}

/* CTA Button */
.lp-hero__cta {
    display: inline-flex;
    margin-top: var(--spacing-lg);
}

/* Gradient background — darken text for contrast */
.lp-hero--bg-gradient .lp-hero__content {
    color: var(--black);
}

.lp-hero--bg-gradient .lp-hero__heading {
    color: var(--black);
}

.lp-hero--bg-gradient .lp-hero__subheading {
    color: var(--text-dark);
}

.lp-hero--bg-gradient .lp-hero__bullets li {
    color: var(--text-dark);
}

/* Right Form Column */
.lp-hero__form-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-hero__form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px 36px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 520px;
}

.lp-hero__form-error {
    text-align: center;
    color: var(--red);
    font-weight: 500;
}

/* Gravity Forms overrides inside the hero form card */
.lp-hero__form-card .gform_wrapper,
.lp-hero__form-card .gform_wrapper.gravity-theme {
    margin: 0 !important;
    padding: 0 !important;
}

.lp-hero__form-card .gform_title {
    font-family: var(--font-heading) !important;
    font-size: var(--text-3xl) !important;
    font-weight: 700 !important;
    color: var(--black) !important;
    margin-bottom: 8px !important;
}

.lp-hero__form-card .gform_description {
    font-size: var(--text-base) !important;
    color: var(--gray-dark) !important;
    margin-bottom: 24px !important;
}

.lp-hero__form-card .gfield,
.lp-hero__form-card .gform_wrapper.gravity-theme .gfield {
    margin-bottom: 20px !important;
    padding: 0 !important;
}

.lp-hero__form-card .gfield_label,
.lp-hero__form-card .gform_wrapper.gravity-theme .gfield_label {
    font-weight: 600 !important;
    margin-bottom: 6px !important;
    display: block !important;
    color: var(--black) !important;
    font-size: 15px !important;
}

.lp-hero__form-card .gfield_required,
.lp-hero__form-card .gform_wrapper.gravity-theme .gfield_required {
    color: var(--red) !important;
}

.lp-hero__form-card input[type="text"],
.lp-hero__form-card input[type="email"],
.lp-hero__form-card input[type="tel"],
.lp-hero__form-card input[type="url"],
.lp-hero__form-card input[type="number"],
.lp-hero__form-card input[type="date"],
.lp-hero__form-card input[type="password"],
.lp-hero__form-card textarea,
.lp-hero__form-card select,
.lp-hero__form-card .gform_wrapper.gravity-theme input[type="text"],
.lp-hero__form-card .gform_wrapper.gravity-theme input[type="email"],
.lp-hero__form-card .gform_wrapper.gravity-theme input[type="tel"],
.lp-hero__form-card .gform_wrapper.gravity-theme input[type="url"],
.lp-hero__form-card .gform_wrapper.gravity-theme input[type="number"],
.lp-hero__form-card .gform_wrapper.gravity-theme input[type="date"],
.lp-hero__form-card .gform_wrapper.gravity-theme input[type="password"],
.lp-hero__form-card .gform_wrapper.gravity-theme textarea,
.lp-hero__form-card .gform_wrapper.gravity-theme select {
    width: 100% !important;
    height: 48px !important;
    padding: 12px 18px !important;
    border: 2px solid var(--gray-medium) !important;
    border-radius: var(--radius-pill) !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    font-family: inherit !important;
    color: var(--black) !important;
    background-color: var(--white) !important;
    transition: border-color var(--transition-base) !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.lp-hero__form-card input[type="text"]:focus,
.lp-hero__form-card input[type="email"]:focus,
.lp-hero__form-card input[type="tel"]:focus,
.lp-hero__form-card input[type="url"]:focus,
.lp-hero__form-card input[type="number"]:focus,
.lp-hero__form-card input[type="date"]:focus,
.lp-hero__form-card input[type="password"]:focus,
.lp-hero__form-card textarea:focus,
.lp-hero__form-card select:focus,
.lp-hero__form-card .gform_wrapper.gravity-theme input:focus,
.lp-hero__form-card .gform_wrapper.gravity-theme textarea:focus,
.lp-hero__form-card .gform_wrapper.gravity-theme select:focus {
    outline: none !important;
    border-color: var(--red) !important;
    box-shadow: 0 0 0 3px rgba(206, 74, 87, 0.1) !important;
}

.lp-hero__form-card textarea,
.lp-hero__form-card .gform_wrapper.gravity-theme textarea {
    min-height: 100px !important;
    height: auto !important;
    resize: vertical !important;
}

/* Submit Button */
.lp-hero__form-card .gform_footer,
.lp-hero__form-card .gform_wrapper.gravity-theme .gform_footer {
    margin-top: 24px !important;
    padding: 0 !important;
}

.lp-hero__form-card input[type="submit"],
.lp-hero__form-card .gform_button,
.lp-hero__form-card .gform_wrapper.gravity-theme input[type="submit"],
.lp-hero__form-card .gform_wrapper.gravity-theme .gform_button,
.lp-hero__form-card .gform_wrapper.gravity-theme button[type="submit"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 14px 28px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: var(--radius-pill) !important;
    border: 3px solid var(--red) !important;
    background-color: var(--red) !important;
    color: var(--white) !important;
    cursor: pointer !important;
    transition: all var(--transition-base) !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.lp-hero__form-card input[type="submit"]:hover,
.lp-hero__form-card .gform_button:hover,
.lp-hero__form-card .gform_wrapper.gravity-theme input[type="submit"]:hover,
.lp-hero__form-card .gform_wrapper.gravity-theme .gform_button:hover,
.lp-hero__form-card .gform_wrapper.gravity-theme button[type="submit"]:hover {
    background-color: var(--red-dark) !important;
    border-color: var(--red-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-button-hover) !important;
}

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

/* Validation */
.lp-hero__form-card .gfield_error,
.lp-hero__form-card .gform_wrapper.gravity-theme .gfield_error {
    border-left: 4px solid var(--red) !important;
    padding-left: 14px !important;
    background-color: rgba(206, 74, 87, 0.05) !important;
    border-radius: var(--radius-md) !important;
    padding: 14px !important;
}

.lp-hero__form-card .validation_message,
.lp-hero__form-card .gform_wrapper.gravity-theme .validation_message {
    color: var(--red) !important;
    font-size: 13px !important;
    margin-top: 4px !important;
    font-weight: 500 !important;
}

/* Success */
.lp-hero__form-card .gform_confirmation_wrapper,
.lp-hero__form-card .gform_confirmation_message {
    padding: 24px !important;
    background-color: rgba(98, 164, 152, 0.1) !important;
    border: 2px solid var(--primary-green) !important;
    border-radius: var(--radius-md) !important;
    color: var(--black) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
}

/* Checkboxes / Radios */
.lp-hero__form-card input[type="checkbox"],
.lp-hero__form-card input[type="radio"],
.lp-hero__form-card .gform_wrapper.gravity-theme input[type="checkbox"],
.lp-hero__form-card .gform_wrapper.gravity-theme input[type="radio"] {
    width: 18px !important;
    height: 18px !important;
    margin-right: 8px !important;
    accent-color: var(--red) !important;
}

/* Required asterisk */
.lp-hero__form-card .gfield_required_asterisk {
    color: var(--red) !important;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
    .lp-hero__container {
        gap: 40px;
        padding: 60px var(--spacing-lg);
    }

    .lp-hero__heading {
        font-size: var(--text-6xl);
    }

    .lp-hero__form-card {
        padding: 32px 28px;
    }
}

@media (max-width: 768px) {
    .lp-hero-section {
        min-height: auto;
    }

    .lp-hero__container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 50px var(--spacing-lg);
    }

    .lp-hero__content {
        text-align: center;
    }

    .lp-hero__heading {
        font-size: var(--text-5xl);
    }

    .lp-hero__subheading {
        font-size: var(--text-lg);
    }

    .lp-hero__bullets {
        display: inline-block;
        text-align: left;
    }

    .lp-hero__cta {
        justify-content: center;
    }

    .lp-hero__form-card {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .lp-hero__container {
        padding: 40px var(--spacing-md);
        gap: 32px;
    }

    .lp-hero__heading {
        font-size: 32px;
    }

    .lp-hero__subheading {
        font-size: var(--text-base);
    }

    .lp-hero__bullets li {
        font-size: var(--text-base);
    }

    .lp-hero__form-card {
        padding: 24px 20px;
    }

    .lp-hero__form-card input[type="submit"],
    .lp-hero__form-card .gform_button,
    .lp-hero__form-card .gform_wrapper.gravity-theme input[type="submit"],
    .lp-hero__form-card .gform_wrapper.gravity-theme .gform_button {
        font-size: 16px !important;
        padding: 12px 24px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-hero__form-card input[type="submit"],
    .lp-hero__form-card .gform_button,
    .lp-hero__form-card .gform_wrapper.gravity-theme input[type="submit"],
    .lp-hero__form-card .gform_wrapper.gravity-theme .gform_button {
        transition: none !important;
    }

    .lp-hero__form-card input[type="submit"]:hover,
    .lp-hero__form-card .gform_button:hover,
    .lp-hero__form-card .gform_wrapper.gravity-theme input[type="submit"]:hover,
    .lp-hero__form-card .gform_wrapper.gravity-theme .gform_button:hover {
        transform: none !important;
    }
}
