/**
 * Quote Page Styles
 * HB Power Tower - Kadence Child Theme
 */

/* ============================================================
   QUOTE PAGE - IMAGE INJECTION
   ============================================================ */

/* Hero section background with engineering image */
section.relative.bg-\[\#0F172A\].text-white {
    position: relative;
}

section.relative.bg-\[\#0F172A\].text-white::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, oklch(0.20 0.03 250 / 0.93) 0%, oklch(0.15 0.02 250 / 0.88) 100%),
        url('/wp-content/uploads/tower-images/cathead-01.jpg') center/cover no-repeat;
    z-index: 0;
}

section.relative.bg-\[\#0F172A\].text-white > * {
    position: relative;
    z-index: 1;
}

/* ============================================================
   CONTAINER FIXES
   ============================================================ */
section.bg-slate-50,
section.bg-slate-900,
section.bg-\[\#0F172A\],
section.bg-\[\#F5F7FA\],
section.bg-white {
    width: 100%;
}

section .max-w-6xl,
section .max-w-5xl,
section .max-w-4xl,
section .max-w-3xl,
section .max-w-2xl {
    margin-left: auto !important;
    margin-right: auto !important;
}

.hw-quote-hero {
    background: var(--hw-navy);
    padding: var(--space-16) 0 var(--space-12);
    text-align: center;
}

.hw-quote-hero h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 4vw, var(--text-5xl));
    color: var(--hw-white);
    margin-bottom: var(--space-3);
}

.hw-quote-hero p {
    font-size: var(--text-lg);
    color: var(--hw-gray-300);
    max-width: 600px;
    margin: 0 auto;
}

.hw-quote-hero .hw-quote-badges {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
    margin-top: var(--space-6);
}

.hw-quote-badge {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--text-xs);
    color: var(--hw-gold);
    background: oklch(0.65 0.15 50 / 0.1);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    border: 1px solid oklch(0.65 0.15 50 / 0.2);
}

.hw-quote-form {
    padding: var(--space-16) 0;
    background: var(--hw-gray-50);
}

.hw-quote-form .kt-row-column-wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.hw-quote-process {
    padding: var(--space-16) 0;
    background: var(--hw-white);
}

.hw-quote-process .kt-row-column-wrap {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.hw-quote-process h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, var(--text-3xl));
    color: var(--hw-navy);
    text-align: center;
    margin-bottom: var(--space-12);
}

.hw-process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-8);
    counter-reset: step;
}

.hw-process-step {
    position: relative;
    padding: var(--space-8);
    background: var(--hw-gray-50);
    border-radius: var(--radius-lg);
    counter-increment: step;
}

.hw-process-step::before {
    content: counter(step);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: var(--text-4xl);
    color: oklch(0.65 0.15 50 / 0.15);
    line-height: 1;
    margin-bottom: var(--space-4);
    display: block;
}

.hw-process-step-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--text-lg);
    color: var(--hw-navy);
    margin-bottom: var(--space-3);
}

.hw-process-step-desc {
    font-size: var(--text-sm);
    color: var(--hw-gray-600);
    line-height: var(--leading-relaxed);
}

.hw-quote-features {
    padding: var(--space-16) 0;
    background: var(--hw-gray-50);
}

.hw-quote-features .kt-row-column-wrap {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.hw-quote-features h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, var(--text-3xl));
    color: var(--hw-navy);
    text-align: center;
    margin-bottom: var(--space-12);
}

.hw-quote-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}

.hw-quote-feature {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-6);
    background: var(--hw-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.hw-quote-feature-icon {
    width: 48px;
    height: 48px;
    background: oklch(0.65 0.15 50 / 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--hw-orange);
    font-size: var(--text-xl);
}

.hw-quote-feature-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--text-base);
    color: var(--hw-navy);
    margin-bottom: var(--space-2);
}

.hw-quote-feature-desc {
    font-size: var(--text-sm);
    color: var(--hw-gray-600);
}

/* ============================================================
   REQUEST A QUOTE REFRESH - RFQ conversion page
   ============================================================ */

body.page-id-26 .entry-hero {
    display: none;
}

body.page-id-26 .entry-content-wrap,
body.page-id-26 .single-content {
    padding: 0 !important;
}

.hw-rfq-page {
    --rfq-navy: #0f172a;
    --rfq-blue: #17324d;
    --rfq-ink: #102a43;
    --rfq-muted: #526173;
    --rfq-orange: #f47920;
    --rfq-line: rgba(26, 58, 92, 0.12);
    background: #f6f8fb;
    color: var(--rfq-ink);
}

.hw-rfq-container {
    width: min(100% - 32px, 1180px);
    margin-inline: auto;
}

.hw-rfq-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(78px, 9vw, 124px) 0;
    background:
        linear-gradient(120deg, rgba(15, 23, 42, 0.96), rgba(26, 58, 92, 0.9)),
        url("/wp-content/uploads/tower-images/project-id-01.jpg") center / cover no-repeat;
    color: #ffffff;
}

.hw-rfq-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.22;
}

.hw-rfq-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
}

.hw-rfq-eyebrow,
.hw-rfq-chip {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hw-rfq-eyebrow {
    margin-bottom: 18px;
    padding: 8px 13px;
    background: rgba(244, 121, 32, 0.16);
    color: #fed7aa;
    border: 1px solid rgba(244, 121, 32, 0.24);
}

.hw-rfq-hero h1 {
    max-width: 860px;
    margin: 0 0 20px;
    color: #ffffff;
    font-family: var(--font-display, inherit);
    font-size: clamp(38px, 6vw, 72px);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.hw-rfq-hero p {
    max-width: 680px;
    margin: 0;
    color: #cbd5e1;
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.75;
}

.hw-rfq-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hw-rfq-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border-radius: 14px;
    border: 1px solid transparent;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.hw-rfq-btn:active {
    transform: translateY(1px);
}

.hw-rfq-btn-primary {
    background: var(--rfq-orange);
    color: #ffffff !important;
    box-shadow: 0 14px 26px rgba(244, 121, 32, 0.24);
}

.hw-rfq-btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.18);
}

.hw-rfq-hero-panel {
    padding: 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 24px 70px rgba(0, 0, 0, 0.24);
}

.hw-rfq-hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.hw-rfq-hero-metric {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
}

.hw-rfq-hero-metric strong {
    display: block;
    color: #ffffff;
    font-family: var(--font-display, inherit);
    font-size: 36px;
    line-height: 1;
}

.hw-rfq-hero-metric span {
    display: block;
    margin-top: 8px;
    color: #cbd5e1;
    font-size: 14px;
}

.hw-rfq-main {
    padding: clamp(58px, 8vw, 96px) 0;
}

.hw-rfq-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

.hw-rfq-form-card,
.hw-rfq-side-card,
.hw-rfq-card,
.hw-rfq-faq-card {
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid var(--rfq-line);
    box-shadow: 0 22px 60px rgba(13, 27, 42, 0.08);
}

.hw-rfq-form-card {
    padding: clamp(24px, 4vw, 38px);
}

.hw-rfq-form-card h2,
.hw-rfq-section-title {
    margin: 0 0 14px;
    color: var(--rfq-ink);
    font-family: var(--font-display, inherit);
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.hw-rfq-section-copy,
.hw-rfq-form-card p {
    color: var(--rfq-muted);
    line-height: 1.72;
}

.hw-rfq-form-card .fluentform_wrapper {
    margin-top: 24px;
}

.hw-rfq-form-card .fluentform_wrapper label,
.hw-rfq-form-card .fluentform_wrapper .ff-el-input--label {
    color: var(--rfq-blue) !important;
    opacity: 1 !important;
}

.hw-rfq-form-card .ff-el-form-control {
    border-radius: 14px !important;
    border-color: rgba(26, 58, 92, 0.16) !important;
    color: var(--rfq-ink) !important;
}

.hw-rfq-form-card .ff-btn-submit {
    background: var(--rfq-orange) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    font-weight: 900 !important;
    box-shadow: 0 12px 24px rgba(244, 121, 32, 0.22) !important;
}

.hw-rfq-side-card {
    position: sticky;
    top: 96px;
    padding: 26px;
}

.hw-rfq-side-card h3,
.hw-rfq-card h3,
.hw-rfq-faq-card h3 {
    margin: 0 0 14px;
    color: var(--rfq-ink);
    font-weight: 900;
}

.hw-rfq-checklist,
.hw-rfq-timeline {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hw-rfq-checklist li,
.hw-rfq-timeline li {
    padding: 14px 0;
    border-top: 1px solid var(--rfq-line);
    color: var(--rfq-muted);
    font-size: 14px;
    line-height: 1.55;
}

.hw-rfq-checklist strong,
.hw-rfq-timeline strong {
    display: block;
    margin-bottom: 4px;
    color: var(--rfq-blue);
}

.hw-rfq-chip {
    margin-bottom: 14px;
    padding: 8px 12px;
    background: #eaf1f8;
    color: var(--rfq-blue);
}

.hw-rfq-section {
    padding: clamp(58px, 8vw, 92px) 0;
}

.hw-rfq-section-dark {
    background: var(--rfq-navy);
    color: #ffffff;
}

.hw-rfq-section-dark .hw-rfq-section-title {
    color: #ffffff;
}

.hw-rfq-section-dark .hw-rfq-section-copy {
    color: #cbd5e1;
}

.hw-rfq-grid-4,
.hw-rfq-grid-3,
.hw-rfq-faq-grid {
    display: grid;
    gap: 18px;
}

.hw-rfq-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hw-rfq-grid-3,
.hw-rfq-faq-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hw-rfq-card,
.hw-rfq-faq-card {
    padding: 24px;
}

.hw-rfq-card p,
.hw-rfq-faq-card p {
    margin: 0;
    color: var(--rfq-muted);
    font-size: 14px;
    line-height: 1.65;
}

.hw-rfq-card-number {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--rfq-orange);
    font-family: var(--font-mono, monospace);
    font-size: 13px;
    font-weight: 900;
}

.hw-rfq-proof-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.hw-rfq-proof {
    padding: 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hw-rfq-proof strong {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 17px;
}

.hw-rfq-proof span {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
}

.hw-rfq-cta {
    padding: clamp(54px, 7vw, 84px) 0;
    text-align: center;
    background: #ffffff;
}

.hw-rfq-cta p {
    max-width: 680px;
    margin: 0 auto 24px;
    color: var(--rfq-muted);
    line-height: 1.7;
}

@media (max-width: 980px) {
    .hw-rfq-hero-grid,
    .hw-rfq-form-grid,
    .hw-rfq-grid-4,
    .hw-rfq-grid-3,
    .hw-rfq-faq-grid,
    .hw-rfq-proof-grid {
        grid-template-columns: 1fr;
    }

    .hw-rfq-side-card {
        position: static;
    }
}

@media (max-width: 720px) {
    .hw-rfq-container {
        width: min(100% - 24px, 1180px);
    }

    .hw-rfq-hero-metrics {
        grid-template-columns: 1fr;
    }

    .hw-rfq-hero-actions {
        flex-direction: column;
    }

    .hw-rfq-btn {
        width: 100%;
    }
}
