/*!
Theme Name: diamond_construction
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: diamond_construction
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

diamond_construction is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

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

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}



:root {
    --bb-orange: rgba(182, 74, 27, 1);
    --bb-orange-hover: #9b6a3f;
    --bb-dark: #1a1a1a;
    --bb-footer-bg: #000000;
}
.page-id-160 .breadcrumb-wrapper{
	display: none !important;
}
.page-id-160 .about-wrap3{
	display: none;
}
/* WP forms */


/* ============================================================================
   WPFORMS QUOTE FORM OVERRIDES
   Overrides the default WPForms structure to perfectly match our custom design
============================================================================ */

/* ----------------------------------------------------
   1. The Main Form Card (.wpforms-form)
---------------------------------------------------- */
.rq-wpforms-wrapper .wpforms-form {
    background: #fff !important;
    border-radius: 20px !important;
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.12),
        0 8px 24px rgba(0, 0, 0, 0.06) !important;
    overflow: hidden !important;
    margin: 0 auto 40px !important;
    padding: 0 !important;
    max-width: 100%;
}

/* ----------------------------------------------------
   2. Page / Step Indicator Strip (Circles Layout)
---------------------------------------------------- */
.rq-wpforms-wrapper .wpforms-page-indicator {
    padding: 38px 48px 28px !important;
    border-bottom: 2px solid #f9f6f0 !important;
    background: linear-gradient(135deg, #faf8f5 0%, #fff 100%) !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Overall Step Wrapper */
.rq-wpforms-wrapper .wpforms-page-indicator .wpforms-page-indicator-page {
    position: relative !important;
    z-index: 1 !important;
    display: flex !important;
    justify-content: center !important;
    margin: 0 18px !important;
}

/* Connecting lines behind bubbles */
.rq-wpforms-wrapper .wpforms-page-indicator.circles .wpforms-page-indicator-page::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 100% !important;
    width: 36px !important;
    height: 2px !important;
    background: #e8e2d9 !important;
    transform: translateY(-50%) !important;
    z-index: -1 !important;
}
.rq-wpforms-wrapper .wpforms-page-indicator.circles .wpforms-page-indicator-page:last-child::after {
    display: none !important;
}

/* The actual Circle Numbers */
.rq-wpforms-wrapper .wpforms-page-indicator-page-number {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    font-family: inherit !important;
    border: 2px solid #e8e2d9 !important;
    background: #fff !important;
    color: #a39c91 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03) !important;
}

/* Active Step Number */
.rq-wpforms-wrapper .wpforms-page-indicator.circles .active .wpforms-page-indicator-page-number {
    background-color: var(--bb-orange) !important;
    border-color: var(--bb-orange) !important;
    color: #fff !important;
    box-shadow: 0 0 0 6px rgba(172, 123, 83, 0.15) !important;
    transform: scale(1.1) !important;
}

/* Past/Completed Steps */
.rq-wpforms-wrapper .wpforms-page-indicator.circles .completed .wpforms-page-indicator-page-number {
    background-color: #d0c8bc !important;
    border-color: #d0c8bc !important;
    color: #fff !important;
}
.rq-wpforms-wrapper .wpforms-page-indicator.circles .completed::after {
    background: #d0c8bc !important; /* Make connecting line darker when completed */
}

/* ----------------------------------------------------
   3. Form Body Area 
   (where the fields live)
---------------------------------------------------- */
.rq-wpforms-wrapper .wpforms-field-container,
.rq-wpforms-wrapper .wpforms-page {
    padding: 24px 48px 12px !important;
}

.rq-wpforms-wrapper .wpforms-field {
    /* margin-bottom: 28px !important; */
    clear: both !important;
}

/* Section Dividers (Page Titles / Field descriptions) */
.rq-wpforms-wrapper .wpforms-page-title,
.rq-wpforms-wrapper .wpforms-title {
    font-size: 1.7rem !important;
    font-weight: 800 !important;
    color: #1a1a1a !important;
    margin: 0 0 6px !important;
    letter-spacing: -0.02em !important;
    line-height: 1.2 !important;
}

.rq-wpforms-wrapper .wpforms-field-label {
    display: block !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #444 !important;
    margin-bottom: 12px !important;
}

/* ----------------------------------------------------
   4. Text Inputs, Textareas, Selects
---------------------------------------------------- */
.rq-wpforms-wrapper input[type="text"],
.rq-wpforms-wrapper input[type="email"],
.rq-wpforms-wrapper input[type="tel"],
.rq-wpforms-wrapper input[type="number"],
.rq-wpforms-wrapper select,
.rq-wpforms-wrapper textarea {
    width: 100% !important;
    display: block !important;
    padding: 14px 18px !important;
    border: 2px solid #e8e2d9 !important;
    border-radius: 10px !important;
    font-family: inherit !important;
    font-size: 0.93rem !important;
    color: #1a1a1a !important;
    background: #fafaf9 !important;
    outline: none !important;
    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    box-sizing: border-box !important;
    height: auto !important;
}

.rq-wpforms-wrapper input:focus,
.rq-wpforms-wrapper select:focus,
.rq-wpforms-wrapper textarea:focus {
    border-color: var(--bb-orange) !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(172, 123, 83, 0.1) !important;
}

/* Fix for WPForms Smart Phone Field (intl-tel-input) flag overlap */
.rq-wpforms-wrapper .iti input[type="tel"] {
    padding-left: 54px !important; /* Forces enough space for the country flag */
}

/* ----------------------------------------------------
   5. Multi-Choice / Radio Cards (The core of layout)
   We completely hijack WPForms radio structures.
---------------------------------------------------- */
.rq-wpforms-wrapper .wpforms-field-radio ul,
.rq-wpforms-wrapper .wpforms-field-checkbox ul {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    align-items: stretch !important;
}

.rq-wpforms-wrapper .wpforms-field-radio li,
.rq-wpforms-wrapper .wpforms-field-checkbox li {
    flex: 1 !important;
    min-width: 140px !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

/* Invisible input overlays the list item! */
.rq-wpforms-wrapper .wpforms-field-radio input[type="radio"],
.rq-wpforms-wrapper .wpforms-field-checkbox input[type="checkbox"] {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    z-index: 10 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

/* Label becomes the beautifully bordered card */
.rq-wpforms-wrapper .wpforms-field-radio .wpforms-field-label-inline,
.rq-wpforms-wrapper .wpforms-field-checkbox .wpforms-field-label-inline {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 15px 18px !important;
    border: 2px solid #e8e2d9 !important;
    border-radius: 10px !important;
    background: #fafaf9 !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: #666 !important;
    height: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    width: 100% !important;
}

/* Synthetic radio circle inside label */
.rq-wpforms-wrapper .wpforms-field-label-inline::before {
    content: "" !important;
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    border: 2px solid #d0c8bc !important;
    background: #fff !important;
    flex-shrink: 0 !important;
    margin-top: 2px !important;
    transition: all 0.22s ease !important;
}

/* Hover effect on card */
.rq-wpforms-wrapper .wpforms-field-radio li:hover .wpforms-field-label-inline {
    border-color: rgba(172, 123, 83, 0.45) !important;
    background: rgba(172, 123, 83, 0.03) !important;
}

/* Checked state using modern :has() selector on the <li> parent */
.rq-wpforms-wrapper .wpforms-field-radio li:has(input:checked) .wpforms-field-label-inline,
.rq-wpforms-wrapper .wpforms-field-checkbox li:has(input:checked) .wpforms-field-label-inline {
    border-color: var(--bb-orange) !important;
    background: rgba(172, 123, 83, 0.07) !important;
    color: #1a1a1a !important;
    box-shadow: 0 0 0 3px rgba(172, 123, 83, 0.1) !important;
    font-weight: 600 !important;
}

/* Checked state fake inner dot */
.rq-wpforms-wrapper .wpforms-field-radio li:has(input:checked) .wpforms-field-label-inline::before,
.rq-wpforms-wrapper .wpforms-field-checkbox li:has(input:checked) .wpforms-field-label-inline::before {
    background: var(--bb-orange) !important;
    border-color: var(--bb-orange) !important;
    box-shadow: inset 0 0 0 3.5px #fff !important;
}

/* ----------------------------------------------------
   6. Buttons & Footer Area
---------------------------------------------------- */
.rq-wpforms-wrapper .wpforms-page-button {
    padding: 22px 48px 34px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-top: 1px solid #f0ebe3 !important;
    background: #faf8f5 !important;
    gap: 12px !important;
    margin-top: 24px !important;
}

.rq-wpforms-wrapper .wpforms-page-prev {
    display: inline-flex !important;
    align-items: center !important;
    padding: 11px 22px !important;
    border: 2px solid #d8d0c4 !important;
    border-radius: 10px !important;
    background: transparent !important;
    font-family: inherit !important;
    font-size: 0.87rem !important;
    font-weight: 600 !important;
    color: #888 !important;
    cursor: pointer !important;
    transition: all 0.22s ease !important;
}

.rq-wpforms-wrapper .wpforms-page-prev:hover {
    border-color: #bbb !important;
    color: #444 !important;
    background: #f5f3f0 !important;
}

.rq-wpforms-wrapper .wpforms-page-next,
.rq-wpforms-wrapper .wpforms-submit {
    display: inline-flex !important;
    align-items: center !important;
    padding: 14px 34px !important;
    background: linear-gradient(135deg, #ac7b53, #c89b6a) !important;
    border: none !important;
    border-radius: 10px !important;
    font-family: inherit !important;
    font-size: 0.97rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    letter-spacing: 0.02em !important;
    box-shadow: 0 4px 16px rgba(172, 123, 83, 0.28) !important;
}

.rq-wpforms-wrapper .wpforms-page-next:hover,
.rq-wpforms-wrapper .wpforms-submit:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 30px rgba(172, 123, 83, 0.42) !important;
    background: linear-gradient(135deg, #9b6a42, #b88b5a) !important;
}

/* ----------------------------------------------------
   7. Mobile Layout Fixes
---------------------------------------------------- */
@media (max-width: 768px) {
    .rq-wpforms-wrapper .wpforms-field-container,
    .rq-wpforms-wrapper .wpforms-page {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .rq-wpforms-wrapper .wpforms-page-indicator {
        padding: 24px 20px !important;
    }

    .rq-wpforms-wrapper .wpforms-page-button {
        padding: 18px 20px 28px !important;
        flex-direction: column !important;
        gap: 15px !important;
    }

    .rq-wpforms-wrapper .wpforms-page-next,
    .rq-wpforms-wrapper .wpforms-page-prev,
    .rq-wpforms-wrapper .wpforms-submit {
        width: 100% !important;
        justify-content: center !important;
    }
	/* Page Indicator Responsive Fix */
    .rq-wpforms-wrapper .wpforms-page-indicator .wpforms-page-indicator-page {
        margin: 0 10px !important;
    }

    .rq-wpforms-wrapper .wpforms-page-indicator-page-number {
        width: 34px !important;
        height: 34px !important;
        font-size: 0.85rem !important;
    }

    .rq-wpforms-wrapper .wpforms-page-indicator.circles .wpforms-page-indicator-page::after {
        width: 20px !important;
    }
}



/* ============================================================
   REQUEST A QUOTE PAGE – STEP FORM
   Full rewrite with correct CF7 span fixes + perfect layout
============================================================ */

/* ---- PAGE BASE ---- */
.rq-page {
    background: #f5f3f0;
    min-height: 100vh;
}

/* ============================================================
   HERO BANNER
============================================================ */
.rq-hero {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2213 50%, #1a1a1a 100%);
    padding: 80px 20px 120px;
    overflow: hidden;
    text-align: center;
}

.rq-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 100%,
            rgba(172, 123, 83, 0.35) 0%,
            transparent 70%);
    pointer-events: none;
}

.rq-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(172, 123, 83, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(172, 123, 83, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
}

.rq-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(172, 123, 83, 0.15);
    border: 1px solid rgba(172, 123, 83, 0.35);
    color: #c89b6a;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 100px;
    margin-bottom: 24px;
    position: relative;
}

.rq-hero-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #c89b6a;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.4);
        opacity: 0.6;
    }
}

.rq-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
    position: relative;
}

.rq-hero h1 span {
    color: var(--bb-orange);
}

.rq-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
    position: relative;
}

/* ---- PROGRESS BAR ---- */
.rq-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
}

.rq-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--bb-orange), #e8a96a);
    border-radius: 0 2px 2px 0;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 25%;
}

/* ============================================================
   STEP TRACKER
============================================================ */
.rq-tracker-wrap {
    background: #fff;
    border-bottom: 1px solid #e8e2d9;
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.rq-tracker {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 680px;
    margin: 0 auto;
}

.rq-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    position: relative;
    cursor: default;
}

/* Connector line between steps */
.rq-step-item::after {
    content: "";
    position: absolute;
    top: 20px;
    left: calc(50% + 20px);
    right: calc(-50% + 20px);
    height: 2px;
    background: #e8e2d9;
    transition: background 0.4s ease;
}

.rq-step-item:last-child::after {
    display: none;
}

.rq-step-item.completed::after {
    background: var(--bb-orange);
}

.rq-step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    border: 2px solid #d0c8bc;
    background: #fff;
    color: #999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.rq-step-item.active .rq-step-num {
    background: var(--bb-orange);
    border-color: var(--bb-orange);
    color: #fff;
    box-shadow: 0 0 0 6px rgba(172, 123, 83, 0.15);
    transform: scale(1.1);
}

.rq-step-item.completed .rq-step-num {
    background: var(--bb-orange);
    border-color: var(--bb-orange);
    color: #fff;
}

.rq-step-item.completed .rq-step-num::after {
    content: "✓";
    font-size: 0.95rem;
}

.rq-step-item.completed .rq-step-num span {
    display: none;
}

.rq-step-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.rq-step-item.active .rq-step-label,
.rq-step-item.completed .rq-step-label {
    color: var(--bb-orange);
}

/* ============================================================
   FORM OUTER WRAP
============================================================ */
.rq-form-outer {
    max-width: 860px;
    margin: -40px auto 60px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* ============================================================
   CARD + CF7 RESETS
   Critical: CF7 wraps every field in an inline <span>.
   We force all those spans to block so grid children work.
============================================================ */
.rq-card {
    background: #fff;
    border-radius: 20px;
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.12),
        0 8px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* CF7 container resets */
.rq-card .wpcf7 {
    display: block;
}

.rq-card .wpcf7-form {
    display: block;
    margin: 0;
}

.rq-card .wpcf7-response-output {
    display: none !important;
}

.rq-card .wpcf7-spinner {
    display: none !important;
}

/* ⚠️ THE KEY FIX: CF7 wraps every field in an inline <span> ⚠️ */
.rq-card .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* All inputs/selects/textareas must fill their container */
.rq-card input[type="text"],
.rq-card input[type="email"],
.rq-card input[type="tel"],
.rq-card select,
.rq-card textarea {
    width: 100%;
    display: block;
    padding: 14px 18px;
    border: 2px solid #e8e2d9;
    border-radius: 10px;
    font-family: "Inter", sans-serif;
    font-size: 0.93rem;
    color: #1a1a1a;
    background: #fafaf9;
    outline: none;
    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.rq-card input[type="text"]:focus,
.rq-card input[type="email"]:focus,
.rq-card input[type="tel"]:focus,
.rq-card select:focus,
.rq-card textarea:focus {
    border-color: var(--bb-orange);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(172, 123, 83, 0.1);
}

/* Dropdown arrow */
.rq-card select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23AC7B53' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}

.rq-card textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.6;
}

/* CF7 error states */
.rq-card .wpcf7-not-valid-tip {
    font-size: 0.78rem;
    color: #e05c5c;
    margin-top: 5px;
    display: block;
}

.rq-card input.wpcf7-not-valid,
.rq-card select.wpcf7-not-valid,
.rq-card textarea.wpcf7-not-valid {
    border-color: #e05c5c !important;
    box-shadow: 0 0 0 4px rgba(224, 92, 92, 0.08) !important;
}

/* ============================================================
   STEP PANELS – animation
============================================================ */
.rq-step-panel {
    display: none;
    animation: stepIn 0.42s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.rq-step-panel.active {
    display: block;
}

.rq-step-panel.exit {
    animation: stepOut 0.28s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes stepIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes stepOut {
    from {
        opacity: 1;
        transform: none;
    }

    to {
        opacity: 0;
        transform: translateY(-12px);
    }
}

/* ============================================================
   PANEL HEADER
============================================================ */
.rq-panel-head {
    padding: 38px 48px 28px;
    border-bottom: 1px solid #f0ebe3;
    background: linear-gradient(135deg, #faf8f5 0%, #fff 100%);
}

.rq-panel-step-badge {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--bb-orange);
    margin-bottom: 8px;
}

.rq-panel-head h2 {
    font-size: 1.7rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 6px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.rq-panel-head p {
    color: #999;
    font-size: 0.93rem;
    margin: 0;
    line-height: 1.6;
}

/* ============================================================
   PANEL BODY
============================================================ */
.rq-panel-body {
    padding: 32px 48px 8px;
}

/* ============================================================
   FIELD LABEL (universal)
============================================================ */
.rq-field-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #666;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* ============================================================
   FIELD GROUP – 1 column (default, stacked vertically)
   Each .rq-field-row is a label + input pair, full width
============================================================ */
.rq-field-row {
    margin-bottom: 20px;
}

/* 2-column grid: only for short paired fields (name+email, phone+address) */
.rq-field-cols-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 20px;
}

/* 3-column grid: for priority dropdowns */
.rq-field-cols-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
    margin-bottom: 20px;
}

/* ============================================================
   INPUT WITH ICON
============================================================ */
.rq-input-wrap {
    position: relative;
}

.rq-input-wrap .rq-input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
    font-size: 1rem;
    pointer-events: none;
    transition: color 0.2s ease;
    z-index: 1;
}

.rq-input-wrap:focus-within .rq-input-icon {
    color: var(--bb-orange);
}

/* Indent text past icon */
.rq-input-wrap input[type="text"],
.rq-input-wrap input[type="email"],
.rq-input-wrap input[type="tel"] {
    padding-left: 44px !important;
}

/* ============================================================
   STEP 1 WELCOME BANNER
============================================================ */
.rq-step1-visual {
    display: flex;
    align-items: center;
    gap: 18px;
    background: linear-gradient(135deg, #fdf9f5, #f8f2eb);
    border: 1px solid #f0e8dc;
    border-radius: 14px;
    padding: 18px 22px;
    margin-bottom: 26px;
}

.rq-step1-visual-icon {
    width: 52px;
    height: 52px;
    background: var(--bb-orange);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.rq-step1-visual-text h3 {
    font-size: 0.97rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 3px;
}

.rq-step1-visual-text p {
    font-size: 0.82rem;
    color: #999;
    margin: 0;
    line-height: 1.5;
}

/* ============================================================
   SECTION DIVIDER
============================================================ */
.rq-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--bb-orange);
    margin: 24px 0 16px;
}

.rq-section-title::before {
    content: "";
    width: 3px;
    height: 14px;
    background: var(--bb-orange);
    border-radius: 2px;
    flex-shrink: 0;
}

.rq-section-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(172, 123, 83, 0.25), transparent);
}

/* ============================================================
   YES/NO BLOCK (question -> 2 choices side by side)
============================================================ */
.rq-yn-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 30px;
}

.rq-yn-block {
    margin-bottom: 20px;
}

.rq-yn-question {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2a2a2a;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* Always flex for Yes/No */
.rq-yn-options {
    display: flex;
    gap: 15px;
    align-items: stretch;
    flex-wrap: wrap;
    /* Prevent squishing on small screens */
}

/* Hide WP auto-generated line breaks that break flexbox */
.rq-yn-options>br,
.rq-yn-options>p {
    display: none !important;
}

.rq-yn-options>label {
    flex: 1;
    /* Makes them take equal width if possible */
    min-width: 140px;
    /* Ensure they don't get too thin */
}

/* ============================================================
   RADIO CARDS (custom styled radio buttons)
============================================================ */
.rq-radio-card {
    display: block;
    cursor: pointer;
    position: relative;
}

/* Invisible input covers the entire card */
.rq-radio-card input[type="radio"],
.rq-radio-card input[type="checkbox"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    margin: 0;
    cursor: pointer;
    z-index: 10;
    -webkit-appearance: none;
    appearance: none;
}

.rq-radio-card-inner {
    display: flex;
    align-items: flex-start;
    /* changed from center so icon stays top when multiline */
    gap: 12px;
    padding: 13px 16px;
    border: 2px solid #e8e2d9;
    border-radius: 10px;
    background: #fafaf9;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.88rem;
    font-weight: 500;
    color: #666;
    height: 100%;
    box-sizing: border-box;
}

.rq-radio-card-inner:hover {
    border-color: rgba(172, 123, 83, 0.45);
    background: rgba(172, 123, 83, 0.03);
    color: #333;
}

/* Radio dot */
.rq-radio-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #d0c8bc;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.22s ease;
    margin-top: 2px;
    /* to align with text since container is flex-start */
}

.rq-radio-dot::after {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    transform: scale(0);
    transition: transform 0.18s ease;
}

/* Checked state */
.rq-radio-card:has(input:checked) .rq-radio-card-inner {
    border-color: var(--bb-orange);
    background: rgba(172, 123, 83, 0.07);
    color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(172, 123, 83, 0.1);
    font-weight: 600;
}

.rq-radio-card:has(input:checked) .rq-radio-card-inner .rq-radio-dot {
    background: var(--bb-orange);
    border-color: var(--bb-orange);
}

.rq-radio-card:has(input:checked) .rq-radio-card-inner .rq-radio-dot::after {
    transform: scale(1);
}

/* Timeline cards – flex */
.rq-timeline-grid {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: stretch;
    flex-wrap: wrap;
}

/* Hide WP auto-generated line breaks */
.rq-timeline-grid>br,
.rq-timeline-grid>p {
    display: none !important;
}

.rq-timeline-grid>label {
    flex: 1;
    min-width: 140px;
}

.rq-timeline-card .rq-radio-card-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 18px;
    height: 100%;
}

.rq-timeline-card .rq-radio-dot {
    margin-bottom: 4px;
}

.rq-timeline-card strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 2px;
}

.rq-timeline-card small {
    display: block;
    font-size: 0.78rem;
    color: #aaa;
    font-weight: 400;
}

.rq-radio-card:has(input:checked) .rq-radio-card-inner .rq-timeline-card strong {
    color: #1a1a1a;
}

/* ============================================================
   PRIORITY DROPDOWNS – 3 column grid
============================================================ */
.rq-priority-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.rq-priority-item {
    display: flex;
    flex-direction: column;
}

.rq-priority-item .rq-field-label {
    margin-bottom: 6px;
}

/* Ensure selects inside priority items fill full width */
.rq-priority-item select,
.rq-priority-item .wpcf7-form-control-wrap,
.rq-priority-item .wpcf7-form-control-wrap select {
    width: 100% !important;
    display: block !important;
}

/* ============================================================
   PANEL FOOTER – navigation buttons
============================================================ */
.rq-panel-foot {
    padding: 22px 48px 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f0ebe3;
    background: #faf8f5;
    gap: 12px;
    margin-top: 24px;
}

.rq-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border: 2px solid #d8d0c4;
    border-radius: 10px;
    background: transparent;
    font-family: "Inter", sans-serif;
    font-size: 0.87rem;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    transition: all 0.22s ease;
}

.rq-btn-back:hover {
    border-color: #bbb;
    color: #444;
    background: #f5f3f0;
}

.rq-btn-next {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 30px;
    background: var(--bb-orange);
    border: none;
    border-radius: 10px;
    font-family: "Inter", sans-serif;
    font-size: 0.93rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.02em;
}

.rq-btn-next:hover {
    background: var(--bb-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(172, 123, 83, 0.35);
}

.rq-btn-next .btn-arrow {
    font-size: 1rem;
    transition: transform 0.22s ease;
}

.rq-btn-next:hover .btn-arrow {
    transform: translateX(4px);
}

/* Submit button wraps CF7's [submit] tag */
.rq-btn-submit {
    display: inline-flex;
    align-items: center;
}

.rq-btn-submit input[type="submit"] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 34px;
    background: linear-gradient(135deg, #ac7b53, #c89b6a);
    border: none;
    border-radius: 10px;
    font-family: "Inter", sans-serif;
    font-size: 0.97rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 16px rgba(172, 123, 83, 0.28);
    -webkit-appearance: none;
    appearance: none;
}

.rq-btn-submit input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(172, 123, 83, 0.42);
    background: linear-gradient(135deg, #9b6a42, #b88b5a);
}

/* Step counter */
.rq-step-counter {
    font-size: 0.8rem;
    color: #bbb;
    font-weight: 500;
}

/* ============================================================
   SUCCESS BLOCK
============================================================ */
.rq-success {
    display: none;
    padding: 80px 48px;
    text-align: center;
}

.rq-success.visible {
    display: block;
    animation: stepIn 0.5s ease both;
}

.rq-success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ac7b53, #c89b6a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 28px;
    box-shadow: 0 12px 40px rgba(172, 123, 83, 0.3);
    animation: popIn 0.5s 0.2s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes popIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.rq-success h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.rq-success p {
    color: #888;
    font-size: 1rem;
    max-width: 440px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* ============================================================
   TRUST STRIP
============================================================ */
.rq-trust {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
    flex-wrap: wrap;
    padding: 36px 20px 56px;
    max-width: 640px;
    margin: 0 auto;
}

.rq-trust-item {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #aaa;
    font-size: 0.82rem;
    font-weight: 500;
}

.rq-trust-item i {
    font-size: 1.15rem;
    color: var(--bb-orange);
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 768px) {

    .rq-panel-head,
    .rq-panel-body {
        padding-left: 20px;
        padding-right: 20px;
    }

    .rq-panel-foot {
        padding: 18px 20px 28px;
    }

    /* All 2-col → 1-col on mobile */
    .rq-field-cols-2,
    .rq-timeline-grid,
    .rq-priority-grid,
    .rq-yn-grid-2col {
        grid-template-columns: 1fr;
    }

    /* Keep yn options side by side on mobile */
    .rq-yn-options {
        grid-template-columns: 1fr 1fr;
    }

    .rq-tracker-wrap {
        padding: 14px 10px;
    }

    .rq-step-label {
        display: none;
    }

    .rq-form-outer {
        margin-top: -20px;
    }

    .rq-hero {
        padding: 50px 20px 80px;
    }

    .rq-panel-foot {
        flex-wrap: wrap;
        gap: 10px;
    }

    .rq-btn-next {
        flex: 1;
        justify-content: center;
    }

    .rq-btn-submit input[type="submit"] {
        width: 100%;
        justify-content: center;
    }

    .rq-btn-submit {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .rq-yn-options {
        grid-template-columns: 1fr;
    }

    .rq-field-cols-3 {
        grid-template-columns: 1fr 1fr;
    }
}