/* =========================================================================
   FONTS
   ========================================================================= */
@font-face {
    font-family: "Inter";
    src: url("../fonts/inter/inter-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("../fonts/inter/inter-500.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("../fonts/inter/inter-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("../fonts/inter/inter-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* =========================================================================
   RESET & BASE
   ========================================================================= */
html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.75rem;
    color: var(--wp--preset--color--text-primary);
    overflow-x: clip;
    /* Smoother font rendering on macOS & iOS */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a {
    color: var(--wp--preset--color--primary, #e94560);
    text-decoration: none;
}

@media (hover: hover) {
    a:hover {
        text-decoration: underline;
    }
}

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

/* =========================================================================
   CUSTOM FONT VARIABLES
   ========================================================================= */
:root {
    --font-main: var(--wp--preset--font-family--inter, "Inter", sans-serif);
    --safe-padding: 24px;
    --radius-main: 9999px;
    --shadow-main: 0 4px 20px -4px hsl(25 30% 15% / 0.08);
    /* Gradients */
    --gradient-main: linear-gradient(
        135deg,
        hsl(30 50% 98%) 0%,
        hsl(18 50% 95%) 50%,
        hsl(145 30% 95%) 100%
    );
    --gradient-warm: linear-gradient(
        180deg,
        hsl(30 50% 98%) 0%,
        hsl(35 60% 96%) 100%
    );
    /* Footer (dark) — neutral ramp from the mockup */
    --footer-bg: #060606;
    --footer-text: #ffffff;
    --footer-link: #b5b7bb;
    --footer-muted: #6e7278;
    --footer-copyright: #585b61;
    --footer-border: rgba(255, 255, 255, 0.1);
}

/* =========================================================================
   CONTAINER
   ========================================================================= */
.container {
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 1rem;
}

@media (min-width: 640px) {
    .container {
        padding-inline: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding-inline: 2rem;
    }
}

/* =========================================================================
   BLOCKS BASE
   ========================================================================= */
.block {
    position: relative;
}

/* Full width blocks */
.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Wide blocks */
.alignwide {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================================================
   EDITOR PREVIEW
   ========================================================================= */
.block-empty-state {
    padding: 40px;
    background: #f5f5f5;
    border: 2px dashed #ccc;
    border-radius: 8px;
    text-align: center;
    color: #666;
}

.block-empty-state p {
    margin: 0;
    font-size: 14px;
}

/* =========================================================================
   TYPOGRAPHY
   ========================================================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    line-height: 1;
    font-weight: 600;
    font-family: var(--font-main);
}

h1 {
    font-size: 72px;
}

h2 {
    font-size: 48px;
}

h3 {
    font-size: 24px;
}

h1 span,
h2 span,
h3 span {
    color: var(--wp--preset--color--primary);
}

.paragraph {
    line-height: 1.75rem;
    font-weight: 400;
    color: var(--wp--preset--color--text-secondary);
}

.paragraph p {
    margin: 0;
    color: var(--wp--preset--color--text-secondary);
}

.paragraph p + p {
    margin-top: 1rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text600 {
    font-weight: 600;
}

.text_accented {
    color: var(--wp--preset--color--primary);
}

@media (max-width: 1024px) {
    h1 {
        font-size: 60px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 36px;
    }

    .text_xl {
        font-size: 1.125rem;
    }
}

/* =========================================================================
   BUTTONS
   ========================================================================= */
/* Reset button defaults */
button,
.btn {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    user-select: none;
    appearance: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 17px 40px;
    border-radius: var(--radius-main);
    font-family: var(--font-main);
    font-size: 1.125rem;
    line-height: 1;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    transition: all 0.3s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
}

.btn:focus-visible {
    outline: 2px solid var(--wp--preset--color--primary);
    outline-offset: 2px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Primary button */
.btn--primary {
    background: var(--wp--preset--color--primary, #dc9170);
    color: #fff;
    border: 2px solid var(--wp--preset--color--primary, #dc9170);
}

.btn--primary:active {
    transform: scale(1.01);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

@media (hover: hover) {
    .btn--primary:hover {
        background: var(--wp--preset--color--primary, #dc9170);
        filter: brightness(0.95);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        text-decoration: none;
    }
}

/* Secondary button */
.btn--secondary {
    background: var(--wp--preset--color--secondary, #1a1a2e);
    color: #fff;
    border: 2px solid var(--wp--preset--color--secondary, #1a1a2e);
}

.btn--secondary:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

@media (hover: hover) {
    .btn--secondary:hover {
        background: var(--wp--preset--color--secondary, #1a1a2e);
        filter: brightness(1.1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
}

/* Outline button */
.btn--outline {
    background: transparent;
    color: var(--wp--preset--color--primary, #dc9170);
    border: 2px solid var(--wp--preset--color--primary, #dc9170);
}

.btn--outline:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

@media (hover: hover) {
    .btn--outline:hover {
        background: var(--wp--preset--color--primary, #dc9170);
        color: #fff;
        border-color: var(--wp--preset--color--primary, #dc9170);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
}

.btn--outline:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Button icon */
.btn__icon {
    gap: 1rem;
}

.btn__icon--arrow::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'%3E%3C/path%3E%3Cpath d='m12 5 7 7-7 7'%3E%3C/path%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'%3E%3C/path%3E%3Cpath d='m12 5 7 7-7 7'%3E%3C/path%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

/* Button sizes */
.btn--small {
    padding: 10px 24px;
    font-size: 1rem;
    line-height: 1.5rem;
}

.btn--large {
    padding: 18px 40px;
    font-size: 1.125rem;
}

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
    background: rgba(252, 250, 247, 0.85);
    color: var(--wp--preset--color--text-primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition:
        background-color 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--wp--preset--color--border-color, #e8e0d9);
}

/* Overlay state: header floats transparently on top of the hero */
.site-header--overlay {
    position: fixed;
    left: 0;
    right: 0;
}

.site-header--overlay:not(.is-sticky) {
    background: transparent;
    backdrop-filter: none;
    border-bottom-color: transparent;
}

/* White logo while the header floats over the dark hero */
.site-header--overlay:not(.is-sticky) .site-logo__img {
    filter: brightness(0) invert(1);
}

/* Contact button */
.site-header__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.25;
    white-space: nowrap;
    color: #fff;
    background: var(--wp--preset--color--primary);
    border: 1px solid var(--wp--preset--color--primary);
    transition:
        background-color 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.site-header a.site-header__cta {
    color: #fff;
}

.site-header__cta-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

@media (hover: hover) {
    .site-header__cta:hover {
        filter: brightness(0.95);
        box-shadow: 0 4px 12px rgba(54, 41, 31, 0.18);
        text-decoration: none;
    }
}

/* Translucent button while overlaying the hero */
.site-header--overlay:not(.is-sticky) .site-header__cta,
.site-header--overlay:not(.is-sticky) .site-header a.site-header__cta {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    backdrop-filter: blur(6px);
}

@media (hover: hover) {
    .site-header--overlay:not(.is-sticky) .site-header__cta:hover {
        background: rgba(255, 255, 255, 0.25);
        filter: none;
    }
}

/* Fix for WordPress admin bar (desktop only) */
@media screen and (min-width: 783px) {
    .admin-bar .site-header {
        top: 32px;
    }
}

.site-header.is-sticky {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header a {
    color: var(--wp--preset--color--text-primary);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 72px;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo__img {
    max-height: 40px;
    width: auto;
    transition: filter 0.3s ease;
}

/* Compact header on small screens so logo + button fit one row */
@media (max-width: 640px) {
    .site-logo__img {
        max-height: 30px;
    }

    .site-header__cta {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
        gap: 0.375rem;
    }

    .site-header__cta-icon {
        width: 14px;
        height: 14px;
    }
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    font-weight: 500;
    color: var(--wp--preset--color--text-secondary);
    font-size: 1rem;
}

@media (hover: hover) {
    .nav-menu a:hover {
        text-decoration: none;
        color: var(--wp--preset--color--primary);
    }
}

/* Menu Toggle Button (Hamburger) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--wp--preset--color--text-primary);
    width: 40px;
    height: 40px;
    padding: 8px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-toggle:focus-visible {
    outline: 2px solid var(--wp--preset--color--primary);
    outline-offset: 2px;
}

.menu-toggle__icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    position: relative;
}

.menu-toggle__icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--wp--preset--color--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    position: absolute;
    left: 0;
}

.menu-toggle__icon span:nth-child(1) {
    top: 0;
}

.menu-toggle__icon span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle__icon span:nth-child(3) {
    bottom: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(2) {
    opacity: 0;
    transform: translateY(-50%);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
}

/* Responsive: Hide desktop nav, show hamburger */
@media (max-width: 1024px) {
    .site-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    /* Mobile Menu */
    .mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--wp--preset--color--bg-color);
        border-top: 1px solid var(--wp--preset--color--border-color, #e8e0d9);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        z-index: 1001;
        transition:
            max-height 0.3s ease,
            opacity 0.3s ease,
            visibility 0.3s ease;
        display: block;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .mobile-menu.is-open {
        max-height: 100vh !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

.mobile-menu__list {
    list-style: none;
    margin: 0;
    padding-inline: 0;
    padding-block: 16px;
    display: flex;
    gap: 16px;
    flex-direction: column;
}

.mobile-menu__list li {
}

.mobile-menu__list li:last-child {
    border-bottom: none;
}

.mobile-menu__list a {
    display: block;
    padding: 8px var(--safe-padding);
    font-weight: 500;
    color: var(--wp--preset--color--text-secondary);
    text-decoration: none;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.mobile-menu__list a:active,
.mobile-menu__list a:hover {
    background-color: var(--wp--preset--color--primary-light, #f5e7e0);
    color: var(--wp--preset--color--primary);
}

/* =========================================================================
   HEADER — "Nav" variation (brochure style, with menu)
   Matches the RAPIDCORP business-hero look: a white bar with logo, primary menu and
   the Contact button. Reuses .nav-menu / .menu-toggle / .mobile-menu and the
   .is-sticky hook from the base header.
   ========================================================================= */
.site-header--nav {
    background: #fff;
    color: var(--wp--preset--color--foreground-950, #060606);
    backdrop-filter: none;
    border-bottom: 1px solid
        color-mix(
            in srgb,
            var(--wp--preset--color--background-200, #e9e8e4),
            transparent 15%
        );
}

/* --- Main white bar --- */
.site-header--nav .site-header__inner {
    min-height: 74px;
    gap: 32px;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* --- Primary menu (desktop) --- */
/* .site-nav has no base display rule so the @media (max-width:1024px) hide
   above wins on mobile; on desktop it lays out its .nav-menu (flex) inline. */
.site-header--nav .nav-menu {
    gap: 30px;
}

.site-header--nav .nav-menu a {
    position: relative;
    padding-block: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--wp--preset--color--foreground-950, #060606);
}

/* Orange underline indicator (echoes the brochure __rule) */
.site-header--nav .nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--wp--preset--color--primary, #c64c01);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.site-header--nav .nav-menu a:hover,
.site-header--nav .nav-menu .current-menu-item > a {
    color: var(--wp--preset--color--primary, #c64c01);
}

.site-header--nav .nav-menu a:hover::after,
.site-header--nav .nav-menu .current-menu-item > a::after {
    transform: scaleX(1);
}

/* Contact button — defined on its own for the white bar, independent of the
   shared base .site-header__cta (which the overlay header repaints separately). */
.site-header--nav .site-header__cta,
.site-header--nav a.site-header__cta {
    color: #fff;
    background: var(--wp--preset--color--primary, #c64c01);
    border-color: var(--wp--preset--color--primary, #c64c01);
}

@media (hover: hover) {
    .site-header--nav .site-header__cta:hover {
        filter: brightness(0.95);
        box-shadow: 0 4px 12px rgba(54, 41, 31, 0.18);
        text-decoration: none;
    }
}

/* Phones: keep the bar to logo + hamburger (Contact lives in the menu) */
@media (max-width: 767px) {
    .site-header--nav .site-header__cta {
        display: none;
    }
}

/* =========================================================================
   MAIN CONTENT
   ========================================================================= */
.site-main {
    min-height: 60vh;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    font-family: var(--font-main);
    padding-block: 48px;
}

/* Top row: brand on the left, legal note on the right */
.site-footer__top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
}

/* Brand column */
.site-footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Block-level link so the logo adds no inline descender above the contacts */
.site-footer__logo {
    display: flex;
}

.site-footer__logo-img {
    height: 36px;
    width: auto;
    /* Colored logo rendered white on the dark footer */
    filter: brightness(0) invert(1);
}

.site-footer__contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
}

.site-footer__contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--footer-link);
    text-decoration: none;
    transition: color 0.25s ease;
}

.site-footer a.site-footer__contact {
    color: var(--footer-link);
}

.site-footer__contact-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

@media (hover: hover) {
    .site-footer__contact:hover {
        color: var(--footer-text);
        text-decoration: none;
    }
}

/* Legal note */
.site-footer__disclaimer {
    margin: 0;
    max-width: 440px;
    font-size: 12px;
    line-height: 1.625;
    color: var(--footer-muted);
}

/* Bottom bar */
.site-footer__bottom {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--footer-border);
    text-align: center;
}

.site-footer__copyright {
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
    color: var(--footer-copyright);
}

/* Contacts side by side once there is room */
@media (min-width: 640px) {
    .site-footer__contacts {
        flex-direction: row;
    }
}

/* Two-column layout: brand left, legal note right */
@media (min-width: 768px) {
    .site-footer {
        padding-block: 64px;
    }

    .site-footer__top {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        text-align: left;
    }

    .site-footer__brand {
        align-items: flex-start;
    }

    .site-footer__legal {
        text-align: right;
    }

    .site-footer__disclaimer {
        margin-left: auto;
    }
}

/* =========================================================================
   COMMON ELEMENTS
   ========================================================================= */
.lucide-star {
    color: #dda73c;
    fill: #dda73c;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-radius: var(--radius-main);
}

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

.form
    input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not(
        [type="hidden"]
    ):not([type="file"]) {
    height: 40px;
    border-radius: 10px;
    background-color: var(--wp--preset--color--bg-color);
    border: 1px solid #e2e8f0;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font: 400 0.875rem/1.25rem var(--font-main);
    outline: 0;
    color: var(--wp--preset--color--text-primary);
}

.form input::placeholder,
.form textarea::placeholder {
    font: 400 0.875rem/1.25rem var(--font-main);
    color: var(--wp--preset--color--text-secondary);
}

.form
    input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not(
        [type="hidden"]
    ):not([type="file"]):focus,
.form textarea:focus {
    border-color: var(--wp--preset--color--primary) !important;
    outline: none;
    outline-offset: 2px;
}

.form input,
.form textarea {
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}

.form input:disabled,
.form textarea:disabled {
    background-color: var(--wp--preset--color--bg-color2);
    cursor: not-allowed;
    opacity: 0.7;
}

.form input[readonly],
.form textarea[readonly] {
    background-color: var(--wp--preset--color--bg-color2);
    cursor: default;
}

.form input[type="number"] {
    -moz-appearance: textfield;
}

.form input[type="number"]::-webkit-outer-spin-button,
.form input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.form input:focus::placeholder,
.form textarea:focus::placeholder {
    opacity: 0.5;
    transition: opacity 0.25s ease;
}

.form textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font: 400 0.875rem/1.25rem var(--font-main);
    outline: 0;
    color: var(--wp--preset--color--text-primary);
    height: 120px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background-color: var(--wp--preset--color--bg-color);
}

.form .wpcf7-spinner {
    position: absolute;
}

.form label {
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.25rem;
    margin-bottom: 0.5rem;
}

/* =========================================================================
   Contact bar (shared brochure footer strip — template-parts/contact-bar.php)
   ========================================================================= */

.contact-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding-top: clamp(16px, 2vw, 22px);
}

.contact-bar__item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 4px clamp(26px, 3.6vw, 52px);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    color: var(--wp--preset--color--foreground-950, #060606);
    border-left: 1px solid
        color-mix(
            in srgb,
            var(--wp--preset--color--background-200, #e9e8e4),
            transparent 0%
        );
}

.contact-bar__item:first-child {
    padding-left: 0;
    border-left: 0;
}

.contact-bar__item,
.contact-bar__item:hover {
    text-decoration: none;
}

.contact-bar__icon {
    display: inline-flex;
    color: var(--wp--preset--color--foreground-950, #060606);
}

.contact-bar__icon svg {
    width: 18px;
    height: 18px;
}

.contact-bar__item:hover .contact-bar__text {
    color: var(--wp--preset--color--primary, #c64c01);
}

@media (max-width: 640px) {
    .contact-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .contact-bar__item {
        padding: 0;
        border-left: 0;
    }
}

/* =========================================================================
   Brochure — shared components (sheet / page label / heading rule / badges)
   Reused by the brochure page blocks (Page 1, Page 2, …).
   ========================================================================= */

/* Denser base tracking for the brochure pages. Inter runs wide, so the
   printed-brochure look needs the whole sheet pulled in a touch. Body copy,
   lists and table cells inherit this; the loud display headings tighten
   further in each block's own style.css. Intentionally tracked-out micro
   labels (PAGE n, EXPRESS, eyebrows) set their own positive value and win. */
.block-business-hero,
.block-services-page,
.block-pricing-fees,
.block-client-intake,
.block-our-services {
    letter-spacing: -0.011em;
}

/* Flat white "printed page" sheet on the light section background */
.brochure-sheet {
    position: relative;
    padding: clamp(22px, 3.2vw, 44px);
    background: #fff;
    border: 1px solid
        color-mix(
            in srgb,
            var(--wp--preset--color--background-200, #e9e8e4),
            transparent 20%
        );
    box-shadow: 0 16px 44px -30px rgba(6, 6, 6, 0.16);
    overflow: hidden;
}

/* Corner page label (hidden unless the block sets one) */
.brochure-label {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
    padding: 7px 16px;
    background: var(--wp--preset--color--foreground-950, #060606);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1;
}

/* Short orange underline under a heading */
.brochure-rule {
    display: block;
    width: 48px;
    height: 3px;
    background: var(--wp--preset--color--primary, #c64c01);
}

/* Filled orange circle badge with a white icon */
.brochure-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--wp--preset--color--primary, #c64c01);
    color: #fff;
}

.brochure-badge svg {
    /* Mockup: glyph spans ~55-60% of the circle Ø (58px) — 40px svg ≈ 52-58% drawn */
    width: 40px;
    height: 40px;
}

/* Outlined circle badge with two stacked text lines ("1040 / EXPRESS").
   Shared by Page 1 intro and Page 2 accounting header — one component. */
.brochure-badge-1040 {
    flex-shrink: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    /* Thin pale warm ring (measured from the brochure) — NOT solid brand orange */
    border: 1.5px solid #d8bdae;
    line-height: 1;
}

.brochure-badge-1040__top {
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -0.02em;
    /* "1040" — brand orange */
    color: var(--wp--preset--color--primary, #c64c01);
}

.brochure-badge-1040__bottom {
    margin-top: 3px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.03em;
    /* "EXPRESS" — dark, as in the mockup */
    color: var(--wp--preset--color--foreground-950, #060606);
}

/* Shared brochure section heading (dark word + accent word + orange rule) —
   used by Page 2, Page 3 via template-parts/section-head.php. */
.brochure-head {
    margin-bottom: 20px;
}

.brochure-head__title {
    margin: 0;
    font-weight: 700;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

/* Dark word — beat the global `h2 span { color: primary }` rule */
.brochure-head__title span {
    color: var(--wp--preset--color--foreground-950, #060606);
}

.brochure-head__title .brochure-head__accent {
    color: var(--wp--preset--color--primary, #c64c01);
}

.brochure-head .brochure-rule {
    margin-top: 15px;
}

/* =========================================================================
   Animations
   ========================================================================= */

@keyframes float {
    0%,
    to {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* =========================================================================
   Brochure typography — Montserrat (body) + Roboto Condensed (display titles)
   Self-hosted, scoped to the brochure page blocks (Page 1–4): Montserrat as
   static per-weight files, Roboto Condensed as one variable file.
   ========================================================================= */
@font-face {
    font-family: "Roboto Condensed";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/roboto-condensed/roboto-condensed-var.woff2") format("woff2");
}

/* Montserrat: real per-weight static instances (like Inter above). Each file
   reports its own usWeightClass, so 400/500/600/700 are genuine — no variable
   Thin-default that can collapse to 100 in Safari or the editor. */
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/montserrat/montserrat-400.woff2") format("woff2");
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/montserrat/montserrat-500.woff2") format("woff2");
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/montserrat/montserrat-600.woff2") format("woff2");
}

@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/montserrat/montserrat-700.woff2") format("woff2");
}

/* Base body font = Montserrat (subheads, descriptions, lists, labels, inputs, contact bar).
   Weight 500 — Montserrat's 400 reads light/thin, 500 matches the mockup's solid body. */
.block-business-hero,
.block-services-page,
.block-pricing-fees,
.block-client-intake {
    font-family: "Montserrat", "Inter", sans-serif;
    font-weight: 500;
}

/* Form controls don't inherit font-family — force Montserrat */
:is(.block-business-hero, .block-services-page, .block-pricing-fees, .block-client-intake)
    :is(input, button, select, textarea) {
    font-family: "Montserrat", "Inter", sans-serif;
}

/* Display titles = Roboto Condensed: every brochure heading (and its spans), plus the
   non-heading title bits — the p-subheading, table headers, price and the 1040 badges */
:is(.block-business-hero, .block-services-page, .block-pricing-fees, .block-client-intake)
    :is(h1, h2, h3, h4, h5, h6),
:is(.block-business-hero, .block-services-page, .block-pricing-fees, .block-client-intake)
    :is(h1, h2, h3, h4, h5, h6) span,
.block-business-hero__intro-title,
.block-client-intake__subheading,
.block-pricing-fees__card-price,
.block-pricing-fees__table th,
.block-client-intake .intake__owners th,
.block-business-hero__badge--text,
.brochure-badge-1040 {
    font-family: "Roboto Condensed", "Inter", sans-serif;
}
