/* ============================================================
   QUOTE LANDING PAGE STYLES
   Alufold Windows — Get a Quote
   ============================================================ */

/* ── Hero section ─────────────────────────────────────────── */
.quote-hero {
    position: relative;
    background-color: #1a232f;
    background-image: url('/wp-content/uploads/2026/08/Aluna-Whole-House19.jpeg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 95px 0 85px;
    overflow: hidden;
    margin-bottom: 0 !important;
}

.quote-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(18, 25, 35, 0.92) 0%, rgba(30, 41, 55, 0.86) 50%, rgba(18, 25, 35, 0.93) 100%);
    pointer-events: none;
}

.quote-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 980px;
    padding: 0 20px;
}

.quote-hero__eyebrow {
    display: inline-block;
    background: rgba(233, 86, 31, 0.18);
    border: 1px solid rgba(233, 86, 31, 0.4);
    color: #E9561F;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.quote-hero__title {
    font-size: clamp(32px, 4.4vw, 54px);
    font-weight: 700;
    color: #ffffff !important;
    line-height: 1.15;
    margin-bottom: 20px;
}

.quote-hero__line1 {
    display: inline-block;
}

@media (min-width: 768px) {
    .quote-hero__line1 {
        white-space: nowrap;
    }
}

.quote-hero__line2 {
    color: #E9561F;
}

.quote-hero__title span:not(.quote-hero__line1) {
    color: #E9561F;
}

.quote-hero__subtitle {
    font-size: 18px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78) !important;
    max-width: 700px;
    margin-bottom: 40px;
}

.quote-hero__badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.quote-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 10px 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(8px);
}

.quote-badge svg {
    width: 17px;
    height: 17px;
    color: #E9561F;
    flex-shrink: 0;
}

/* ── Layout ───────────────────────────────────────────────── */
.quote-form-section {
    background: #F4F6FB;
    padding: 48px 0 60px;
    margin: 0;
}

.quote-layout {
    max-width: 900px;
    margin: 0 auto;
}

/* ── Intro sidebar ────────────────────────────────────────── */
.quote-intro__sticky {
    position: sticky;
    top: 100px;
}

.quote-intro__title {
    font-size: 26px;
    font-weight: 600;
    color: #232F3E;
    margin-bottom: 10px;
}

.quote-intro__lead {
    font-size: 14.5px;
    line-height: 1.6;
    color: #6D758F;
    margin-bottom: 14px;
}

.quote-intro__lead:last-of-type {
    margin-bottom: 20px;
}

/* Steps */
.quote-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.quote-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.45;
    color: #6D758F;
    margin-bottom: 0;
}

.quote-step__number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: #232F3E;
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-top: 2px;
}

.quote-step__content strong {
    display: block;
    color: #232F3E;
    font-weight: 600;
    margin-bottom: 2px;
    font-size: 14.5px;
}

.quote-step__content p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.45;
    color: #6D758F;
}

/* Phone link */
.quote-contact-info {
    text-align: center;
    padding: 18px 24px;
    background: #232F3E;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 440px;
    margin: 28px auto 0;
    box-shadow: 0 4px 16px rgba(35, 47, 62, 0.10);
}

.quote-contact-info p {
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 13px;
    margin-bottom: 6px;
}

.quote-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff !important;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
    transition: color 0.2s;
}

.quote-phone-link:hover {
    color: #E9561F !important;
}

.quote-phone-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ── Form card ────────────────────────────────────────────── */
.quote-form-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.04),
        0 15px 45px -10px rgba(35, 47, 62, 0.10);
    overflow: hidden;
}

.quote-form-card__header {
    background: linear-gradient(135deg, #1E293B 0%, #29384D 100%);
    padding: 16px 28px;
    position: relative;
    overflow: hidden;
}

.quote-form-card__header::after {
    content: '';
    position: absolute;
    right: -40px;
    top: -40px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(233, 86, 31, 0.22) 0%, transparent 70%);
    pointer-events: none;
}

.quote-form-card__header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 2px;
}

.quote-form-card__header p {
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 13px;
    margin: 0;
}

.quote-form {
    padding: 18px 28px 18px;
}

/* ── Form controls ─────────────────────────────────────────── */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-row--3cols {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
    .form-row--3cols {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.form-group {
    margin-bottom: 11px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #232F3E;
    margin-bottom: 4px;
}

.form-group label .required {
    color: #E9561F;
    margin-left: 2px;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    border: 1.5px solid #DDE1EC;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 13.5px;
    color: #232F3E;
    background: #FAFBFD;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    outline: none;
    appearance: none;
    font-family: "aptos", sans-serif;
}

.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    border-color: #232F3E;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(35, 47, 62, 0.08);
}

.form-group input.is-invalid,
.form-group textarea.is-invalid {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.form-group textarea {
    resize: none;
    height: 76px;
    min-height: 76px;
}

/* placeholder */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #A0A8BE;
    font-size: 13px;
}

/* field errors */
.field-error {
    display: block;
    color: #e53e3e;
    font-size: 11.5px;
    margin-top: 2px;
    min-height: 14px;
}

/* ── File drop zone ────────────────────────────────────────── */
.file-drop-zone {
    position: relative;
    border: 1.5px dashed #CBD5E1;
    border-radius: 6px;
    background: #F8FAFC;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.file-drop-zone:hover,
.file-drop-zone.drag-over {
    border-color: #E9561F;
    background: #FFF7F4;
}

.file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.file-drop-zone__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    text-align: center;
    pointer-events: none;
}

.file-drop-zone__icon svg {
    width: 22px;
    height: 22px;
    color: #7A85A3;
    margin-bottom: 3px;
}

.file-drop-zone__text {
    font-size: 12.5px;
    color: #444B5E;
    margin-bottom: 1px;
    line-height: 1.2;
}

.file-drop-zone__text strong {
    color: #232F3E;
}

.file-drop-zone__hint {
    font-size: 11px;
    color: #8A93B0;
    margin: 0;
    line-height: 1.2;
}

/* Selected state */
.file-selected {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #EAF4FF;
    border: 1px solid #D0DCF0;
    border-radius: 6px;
    height: 76px;
    width: 100%;
}

.file-selected svg {
    width: 18px;
    height: 18px;
    color: #2c2f83;
    flex-shrink: 0;
}

#file-name-display {
    flex: 1;
    font-size: 12.5px;
    color: #232F3E;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-remove {
    background: none;
    border: none;
    cursor: pointer;
    padding: 3px;
    border-radius: 4px;
    color: #7A85A3;
    transition: color 0.15s, background 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-remove:hover {
    color: #e53e3e;
    background: rgba(229, 62, 62, 0.08);
}

.file-remove svg {
    width: 14px;
    height: 14px;
    color: inherit;
}

/* ── Bottom Row: Consent + Submit Button ──────────────────── */
.form-bottom-row {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid #EEF1F8;
}

.form-submit-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
}

.form-group--consent {
    margin-bottom: 0;
}

.form-group.form-group--consent label,
.form-group--consent .checkbox-label,
.checkbox-label {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 12.5px;
    color: #6D758F;
    font-weight: 400 !important;
    line-height: 1.45;
    margin-bottom: 0 !important;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.checkbox-custom {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border: 1.5px solid #C4CAD9;
    border-radius: 4px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s, background 0.15s;
    margin-top: 1px;
}

.checkbox-label .checkbox-text,
.checkbox-label > span:not(.checkbox-custom) {
    display: inline;
    color: #6D758F;
    font-size: 12.5px;
    line-height: 1.45;
    flex: 1;
}

.checkbox-label input[type="checkbox"]:checked+.checkbox-custom {
    background: #E9561F;
    border-color: #E9561F;
}

.checkbox-label input[type="checkbox"]:checked+.checkbox-custom::after {
    content: '';
    width: 8px;
    height: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg) translateY(-1px);
    display: block;
}

.checkbox-label a {
    color: #2c2f83;
    text-decoration: underline;
}

.quote-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #E9561F;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    padding: 13px 36px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: "aptos", sans-serif;
    white-space: nowrap;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 2px 10px rgba(233, 86, 31, 0.32);
    position: relative;
    overflow: hidden;
}

.quote-submit-btn:hover {
    background: #d44a14;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(233, 86, 31, 0.4);
}

.quote-submit-btn .btn-arrow {
    width: 15px;
    height: 15px;
    transition: transform 0.2s ease;
}

.quote-submit-btn:hover .btn-arrow {
    transform: translateX(3px);
}

.quote-submit-btn:active {
    transform: translateY(0);
}

.quote-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11.5px;
    color: #8A93B0;
    margin: 10px 0 0;
}

.form-disclaimer svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    color: #8A93B0;
}

/* Spin animation */
@keyframes qf-spin {
    to {
        transform: rotate(360deg);
    }
}

.spin {
    animation: qf-spin 0.8s linear infinite;
    width: 18px;
    height: 18px;
}

.btn-loading {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Disclaimer ───────────────────────────────────────────── */
.form-disclaimer {
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: center;
    font-size: 13px;
    color: #9AA0B8;
    margin-top: 16px;
    justify-content: center;
    margin-bottom: 0;
}

.form-disclaimer svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: #9AA0B8;
}

/* ── Alerts ───────────────────────────────────────────────── */
.quote-alert {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border-radius: 12px;
    padding: 18px 20px;
    margin: 0 40px 28px;
}

.quote-alert--success {
    background: #EDFAF2;
    border: 1px solid #78D399;
}

.quote-alert--error {
    background: #FFF0F0;
    border: 1px solid #FFAEAE;
}

.quote-alert svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

.quote-alert--success svg {
    color: #22c55e;
}

.quote-alert--error svg {
    color: #e53e3e;
}

.quote-alert strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #232F3E;
    margin-bottom: 4px;
}

.quote-alert p {
    font-size: 14px;
    color: #6D758F;
    margin: 0;
}

.quote-alert p a {
    color: #E9561F;
}

/* ── Key Benefits / Pillars Section (Above Contact Form) ───── */
.quote-pillars-section {
    /* background: #FAFCFE; */
    padding: 60px 0;
    margin: 0;
}

.quote-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 0 20px;
}

.quote-pillar-card {
    background: #FFFFFF;
    border: 1px solid #E4E9F0;
    border-radius: 8px;
    padding: 18px 18px;
    box-shadow: 0 1px 3px rgba(35, 47, 62, 0.02);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.quote-pillar-card:hover {
    border-color: #E9561F;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(35, 47, 62, 0.06);
}

.quote-pillar-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(233, 86, 31, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.quote-pillar-card:hover .quote-pillar-icon {
    background: #E9561F;
}

.quote-pillar-icon svg {
    width: 18px;
    height: 18px;
    color: #E9561F;
    transition: color 0.2s ease;
}

.quote-pillar-card:hover .quote-pillar-icon svg {
    color: #FFFFFF;
}

.quote-pillar-content h3 {
    font-size: 14.5px;
    font-weight: 700;
    color: #232F3E;
    margin: 0 0 6px;
    line-height: 1.35;
}

.quote-pillar-content p {
    font-size: 13px;
    line-height: 1.48;
    color: #64748B;
    margin: 0;
}

/* ── Product Range Showcase Section (Below Contact Form) ───── */
.quote-products-section {
    background: #FFFFFF;
    padding: 60px 0;
    border-top: 1px solid #EAEFF5;
    margin-top: 0 !important;
}

.quote-products__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 32px;
    padding: 0 20px;
}

.quote-products__eyebrow {
    display: inline-block;
    background: rgba(233, 86, 31, 0.09);
    border: 1px solid rgba(233, 86, 31, 0.25);
    color: #E9561F;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 10px;
}

.quote-products__title {
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 700;
    color: #232F3E;
    margin: 0 0 8px;
    line-height: 1.25;
}

.quote-products__subtitle {
    font-size: 14px;
    line-height: 1.55;
    color: #64748B;
    margin: 0;
}

.quote-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 0 20px;
    margin-bottom: 34px;
}

.quote-product-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(35, 47, 62, 0.04);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.quote-product-card:hover {
    border-color: #CBD5E1;
    box-shadow: 0 10px 26px rgba(35, 47, 62, 0.09);
    transform: translateY(-3px);
}

.quote-product-card__image-link {
    display: block;
    text-decoration: none;
    overflow: hidden;
}

.quote-product-card__image {
    height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.quote-product-card:hover .quote-product-card__image {
    transform: scale(1.03);
}

.quote-product-card__tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(35, 47, 62, 0.9);
    backdrop-filter: blur(6px);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.quote-product-card__content {
    padding: 22px 24px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.quote-product-card__content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #232F3E;
    margin: 0 0 8px;
    line-height: 1.35;
}

.quote-product-card__content h3 a {
    color: #232F3E;
    text-decoration: none;
    transition: color 0.2s ease;
}

.quote-product-card__content h3 a:hover {
    color: #E9561F;
}

.quote-product-card__content p {
    font-size: 14px;
    line-height: 1.55;
    color: #64748B;
    margin: 0 0 16px;
}

/* Card footer & link */
.quote-product-card__footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-top: 1px solid #F1F5F9;
    padding-top: 14px;
    margin-top: auto;
}

.quote-product-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #E9561F !important;
    text-decoration: none;
    transition: all 0.2s ease;
}

.quote-product-card__link:hover {
    color: #d44a14 !important;
}

.quote-product-card__link svg {
    width: 15px;
    height: 15px;
    transition: transform 0.2s ease;
}

.quote-product-card__link:hover svg {
    transform: translateX(4px);
}

/* CTA at bottom of products */
.quote-products__cta {
    text-align: center;
    padding: 0 20px;
}

.quote-products__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #E9561F;
    color: #FFFFFF !important;
    font-size: 14.5px;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(233, 86, 31, 0.28);
}

.quote-products__cta-btn:hover {
    background: #d44a14;
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(233, 86, 31, 0.35);
}

.quote-products__cta-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.quote-products__cta-btn:hover svg {
    transform: translateY(-2px);
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .quote-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (max-width: 900px) {
    .quote-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .quote-intro__sticky {
        position: static;
    }

    .quote-steps {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .quote-products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 650px) {
    .quote-hero {
        padding: 60px 0 56px;
    }

    .quote-hero__badges {
        flex-direction: column;
        gap: 8px;
    }

    .quote-badge {
        width: fit-content;
    }

    .quote-pillars-section {
        padding: 24px 0 20px;
    }

    .quote-pillars-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .quote-form-section {
        padding: 48px 0 60px;
    }

    .quote-layout {
        padding: 0;
    }

    .quote-form-card__header {
        padding: 24px 24px;
    }

    .quote-form {
        padding: 24px 24px 30px;
    }

    .form-row,
    .form-row--3cols {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .quote-submit-btn {
        width: 100%;
    }

    .quote-alert {
        margin: 0 24px 24px;
    }

    .quote-steps {
        grid-template-columns: 1fr;
    }

    .quote-products-section {
        padding: 36px 0 44px;
    }

    .quote-product-card__content {
        padding: 18px 16px;
    }

    .quote-product-card__image {
        height: 160px;
    }

    .quote-product-card__footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .quote-products__cta-btn {
        width: 100%;
        justify-content: center;
        padding: 13px 20px;
        font-size: 14px;
    }
}