/* ============================================================
   DRASCO — QUOTE PAGE
   ============================================================ */

/* ============================================================
   HERO
   ============================================================ */
.quote-hero {
    position: relative;
    padding: 3.5rem 0 5rem;
    background: linear-gradient(135deg, #0f2413 0%, #1b3a1f 50%, #2d4f22 100%);
    color: #fff;
    overflow: hidden;
}
.quote-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 30%, rgba(212,160,23,.18), transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(76,139,58,.22), transparent 45%);
    pointer-events: none;
}
.quote-hero-inner {
    position: relative;
    z-index: 2;
}
.quote-breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: .82rem;
}
.quote-breadcrumb a {
    color: rgba(255,255,255,.7);
    text-decoration: none;
}
.quote-breadcrumb a:hover { color: #d4a017; }
.quote-breadcrumb .active { color: #d4a017; }
.quote-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,.4);
}
.quote-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .9rem;
    background: rgba(212,160,23,.15);
    border: 1px solid rgba(212,160,23,.4);
    border-radius: 999px;
    color: #d4a017;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.quote-hero-dot {
    width: 6px;
    height: 6px;
    background: #d4a017;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(212,160,23,.5);
    animation: quotePulse 2s infinite;
}
@keyframes quotePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212,160,23,.5); }
    50%      { box-shadow: 0 0 0 8px rgba(212,160,23,0); }
}
.quote-hero-title {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    color: #fff;
    margin: 0 0 1rem;
    max-width: 800px;
}
.quote-hero-lead {
    font-size: 1.05rem;
    color: rgba(255,255,255,.85);
    line-height: 1.7;
    max-width: 680px;
    margin: 0 0 2rem;
}
.quote-hero-steps {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.quote-hero-step {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .85rem;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    font-size: .82rem;
    color: rgba(255,255,255,.9);
    font-weight: 500;
}
.quote-hero-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #d4a017;
    color: #0b1a0e;
    border-radius: 50%;
    font-size: .72rem;
    font-weight: 800;
}

/* ============================================================
   FORM SECTION
   ============================================================ */
.quote-section {
    padding: 3.5rem 0 5rem;
    background: #f7f6f1;
    margin-top: -2rem;
    position: relative;
    z-index: 3;
}
.quote-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2rem;
    background: linear-gradient(180deg, rgba(15,36,19,.08), transparent);
    pointer-events: none;
}

/* ============================================================
   FORM CARD
   ============================================================ */
.quote-form-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(15,36,19,.08);
    border: 1px solid #e6e7e2;
    padding: 2rem;
    overflow: hidden;
}

/* Alert */
.quote-alert {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: 1rem 1.15rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: .9rem;
}
.quote-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}
.quote-alert-error i {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: .1rem;
}
.quote-alert-error strong {
    display: block;
    color: #7f1d1d;
    margin-bottom: .15rem;
}
.quote-alert-error span {
    color: #b91c1c;
    font-size: .82rem;
}

/* ============================================================
   FORM SECTIONS
   ============================================================ */
.quote-form-section {
    padding: 1.75rem 0;
    border-bottom: 1px dashed #e6e7e2;
}
.quote-form-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}
.quote-form-section:first-of-type {
    padding-top: 0;
}

.quote-form-section-header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.quote-form-section-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #4c8b3a, #3d7330);
    color: #fff;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(76,139,58,.25);
}
.quote-form-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #142c17;
    margin: 0 0 .15rem;
    line-height: 1.25;
}
.quote-form-section-sub {
    font-size: .82rem;
    color: #6b7268;
    margin: 0;
}

/* ============================================================
   INPUT WRAP WITH ICON
   ============================================================ */
.quote-input-wrap {
    position: relative;
}
.quote-input-wrap > i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a8a8a0;
    font-size: .95rem;
    z-index: 2;
    transition: color .2s ease;
    pointer-events: none;
}
.quote-input-wrap:focus-within > i {
    color: #4c8b3a;
}
.quote-input-wrap .form-control,
.quote-input-wrap .form-select {
    padding-left: 2.75rem;
    height: 48px;
    border-radius: 10px;
    border: 1.5px solid #e0e0d8;
    font-size: .92rem;
    color: #142c17;
    transition: all .2s ease;
    background: #fff;
}
.quote-input-wrap .form-control:focus,
.quote-input-wrap .form-select:focus {
    border-color: #4c8b3a;
    box-shadow: 0 0 0 3px rgba(76,139,58,.1);
    outline: none;
}
.quote-input-wrap .form-control::placeholder {
    color: #a8a8a0;
}
.quote-input-wrap .form-control.is-invalid,
.quote-input-wrap .form-select.is-invalid {
    border-color: #dc3545;
}

/* Textarea */
.quote-input-wrap-textarea > i {
    top: 1rem;
    transform: none;
}
.quote-input-wrap-textarea textarea.form-control {
    padding-left: 2.75rem;
    padding-top: .85rem;
    height: auto;
    min-height: 120px;
    resize: vertical;
}

/* ============================================================
   FORM LABELS
   ============================================================ */
.quote-form-card .form-label {
    font-size: .82rem;
    font-weight: 600;
    color: #142c17;
    margin-bottom: .5rem;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.quote-form-card .form-label .req {
    color: #dc3545;
    font-weight: 700;
}
.quote-form-card .invalid-feedback {
    font-size: .78rem;
    color: #dc3545;
    margin-top: .35rem;
}

/* ============================================================
   FORM ACTIONS
   ============================================================ */
.quote-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid #f0f0eb;
    margin-top: 1.75rem;
    flex-wrap: wrap;
}
.quote-form-privacy {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    color: #6b7268;
}
.quote-form-privacy i {
    color: #4c8b3a;
    font-size: .95rem;
}
.quote-submit-btn {
    padding: .95rem 2rem !important;
    font-size: .95rem;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(27,58,31,.2);
    transition: all .3s ease;
}
.quote-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(27,58,31,.3);
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.quote-sidebar {
    position: sticky;
    top: 100px;
}
.quote-sidebar-card {
    background: #fff;
    border: 1px solid #e6e7e2;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 1px 2px rgba(0,0,0,.03);
}
.quote-sidebar-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1rem;
    font-weight: 700;
    color: #142c17;
    margin: 0 0 1.25rem;
    line-height: 1.3;
}
.quote-sidebar-title i {
    color: #d4a017;
    font-size: 1.15rem;
}

/* Benefits list */
.quote-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}
.quote-benefits li {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    padding: .65rem 0;
    border-bottom: 1px dashed #f0f0eb;
}
.quote-benefits li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.quote-benefits li:first-child {
    padding-top: 0;
}
.quote-benefits i {
    color: #4c8b3a;
    font-size: .95rem;
    margin-top: .15rem;
    flex-shrink: 0;
}
.quote-benefits div {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}
.quote-benefits strong {
    font-size: .86rem;
    color: #142c17;
    font-weight: 600;
    line-height: 1.2;
}
.quote-benefits span {
    font-size: .76rem;
    color: #6b7268;
    line-height: 1.3;
}

/* Contact card */
.quote-sidebar-contact {
    background: linear-gradient(135deg, #f0f9ec, #e8f5e0);
    border-color: #c8e0b8;
}
.quote-sidebar-contact .quote-sidebar-title i {
    color: #4c8b3a;
}
.quote-sidebar-text {
    font-size: .82rem;
    color: #3d5a30;
    margin: 0 0 1rem;
    line-height: 1.5;
}
.quote-contact-item {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .65rem .85rem;
    background: rgba(255,255,255,.7);
    border-radius: 10px;
    color: #142c17;
    font-size: .85rem;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: .5rem;
    transition: all .2s ease;
}
.quote-contact-item:last-child {
    margin-bottom: 0;
}
.quote-contact-item:hover {
    background: #fff;
    color: #4c8b3a;
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(76,139,58,.1);
}
.quote-contact-item i {
    color: #4c8b3a;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* ============================================================
   SUCCESS PAGE
   ============================================================ */
.quote-success-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #f7f6f1 0%, #fff 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
}
.quote-success-wrap {
    max-width: 680px;
    margin: 0 auto;
}
.quote-success-card {
    background: #fff;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 30px 60px rgba(15,36,19,.1);
    border: 1px solid #e6e7e2;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: quoteSuccessIn .6s cubic-bezier(.16,1,.3,1);
}
@keyframes quoteSuccessIn {
    from { opacity: 0; transform: translateY(30px) scale(.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.quote-success-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 0%, rgba(76,139,58,.08), transparent 40%);
    pointer-events: none;
}
.quote-success-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, #4c8b3a, #3d7330);
    border-radius: 50%;
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 12px 32px rgba(76,139,58,.35);
    animation: quoteSuccessPop .6s cubic-bezier(.16,1,.3,1) .2s both;
}
@keyframes quoteSuccessPop {
    from { transform: scale(0); }
    to   { transform: scale(1); }
}
.quote-success-title {
    font-size: 2rem;
    font-weight: 800;
    color: #142c17;
    margin: 0 0 .75rem;
    letter-spacing: -.5px;
}
.quote-success-text {
    font-size: 1rem;
    color: #6b7268;
    line-height: 1.7;
    margin: 0 auto 2rem;
    max-width: 480px;
}
.quote-success-ref {
    display: inline-block;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, #f0f9ec, #e8f5e0);
    border: 2px dashed #4c8b3a;
    border-radius: 16px;
    margin-bottom: 2rem;
}
.quote-success-ref-label {
    font-size: .72rem;
    color: #4c8b3a;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: .5rem;
}
.quote-success-ref-code {
    font-size: 1.5rem;
    font-weight: 800;
    color: #142c17;
    letter-spacing: 2px;
    font-family: ui-monospace, Menlo, Consolas, monospace;
}
.quote-success-ref-hint {
    font-size: .75rem;
    color: #6b7268;
    margin-top: .5rem;
}
.quote-success-actions {
    display: flex;
    gap: .75rem;
    justify-content: center;
    flex-wrap: wrap;
}
.quote-success-trust {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.quote-trust-item {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #6b7268;
    font-size: .82rem;
    font-weight: 500;
}
.quote-trust-item i {
    color: #4c8b3a;
    font-size: 1rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
    .quote-hero { padding: 2.5rem 0 4rem; }
    .quote-form-card { padding: 1.5rem; }
    .quote-sidebar { position: static; margin-top: .5rem; }
    .quote-form-actions { flex-direction: column; align-items: stretch; }
    .quote-submit-btn { width: 100%; justify-content: center; }
}
@media (max-width: 575.98px) {
    .quote-hero-title { font-size: 1.6rem; }
    .quote-hero-lead { font-size: .95rem; }
    .quote-hero-steps { gap: .5rem; }
    .quote-hero-step { font-size: .75rem; padding: .35rem .65rem; }
    .quote-form-section { padding: 1.5rem 0; }
    .quote-form-section-num { width: 32px; height: 32px; font-size: .9rem; }
    .quote-form-section-title { font-size: 1rem; }
    .quote-success-card { padding: 2rem 1.5rem; }
    .quote-success-title { font-size: 1.5rem; }
    .quote-success-ref-code { font-size: 1.2rem; }
    .quote-success-actions .btn { width: 100%; }
    .quote-success-trust { gap: 1rem; }
}