/* ==========================================================================
   Global Styles (migrated from WPCodeBox)
   ========================================================================== */

/* Hide update notifications and reCAPTCHA badge */
.update-nag { display: none; }
.grecaptcha-badge { visibility: hidden; }

/* Hero title responsive sizing */
.hero-title {
    font-size: clamp(2.8rem, calc(2.546vw + 2.226rem), 4.263rem);
}

/* Button hover animations */
.brxe-button {
    transition: all .3s ease;
    display: inline-block;
}

.brxe-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(217, 154, 53, .3);
}

/* Social icons */
.social-icon {
    display: flex;
    font-size: 1.8rem;
    color: var(--primary);
    transition: all .3s ease;
}

.social-icon:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

/* Figure reset */
figure { margin: 0; }

/* Header nav - last item as CTA button */
.header-bot__menu .bricks-nav-menu > .menu-item:last-child a {
    background-color: var(--accent);
    color: var(--body-color) !important;
    font-weight: 500;
    letter-spacing: 1px;
    padding: .5em .75em;
    border-radius: none;
}

.header-bot__menu .bricks-nav-menu > .menu-item:last-child a:hover {
    background-color: var(--accent-dark);
    color: var(--white) !important;
}

/* Page title gradient animation */
.page-title {
    position: relative;
    overflow: hidden;
    min-height: 145px;
    background: linear-gradient(135deg, #d4872f, #EC973D, #F9CA22, #f5b82a, #EC973D, #d4872f);
    background-size: 300% 300%;
    animation: gradientShift 15s ease infinite;
}

/* Service page title */
.service-page-title {
    position: relative;
    overflow: hidden;
    max-height: 20px;
    background: linear-gradient(135deg, #d4872f, #EC973D, #F9CA22, #f5b82a, #EC973D, #d4872f);
    background-size: 300% 300%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0 50%; }
    50% { background-position: 100% 50%; }
}

/* Utilities */
.jbm-text-shadow {
    text-shadow: 0 1px 2px rgba(0, 0, 0, .1), 0 4px 12px rgba(0, 0, 0, .08);
}

.service-benefits__icon {
    color: var(--primary);
}

.card-blog-service__button {
    margin-top: auto;
}

/* Login form adjustments */
.login__form .options-wrapper li {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.login__form .options-wrapper label[for=form-field-grxbiw-0] {
    font-size: var(--text-s);
    line-height: 100%;
}

.login__form .login__form-forgot-password {
    text-align: end;
    font-size: var(--text-s);
    font-weight: 600;
    color: var(--primary);
    line-height: 100%;
    text-decoration: none;
}

.login__form .form-group:nth-of-type(1),
.login__form .form-group:nth-of-type(2) {
    width: 100% !important;
}

.login__form .form-group:nth-of-type(3),
.login__form .form-group:nth-of-type(4) {
    width: 50% !important;
}

/* ==========================================================================
   Homepage Styles (migrated from Bricks Code block)
   ========================================================================== */

/* Hero avatar overlap */
.home-hero .home-hero__avatar-wrapper:not(:first-child) {
    margin-left: -3rem;
}

/* Eyebrow component */
.eyebrow::before {
    content: '';
    width: 24px;
    height: 2px;
    background: #A85C18;
    display: inline-block;
}

.home-proof .eyebrow {
    color: var(--secondary);
}

.home-proof .eyebrow::before {
    background: var(--secondary);
}

/* Service cards */
.card-home-services {
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.card-home-services:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.03);
}

.card-home-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s;
}

.card-home-services:hover::before {
    transform: scaleX(1);
}

/* Blog card excerpt line clamp */
.card-home-blog__excerpt {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: max-content;
}

/* CTA band */
.cta-band {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-semi-dark) 100%);
}

.cta-band__honeycomb {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSc1NicgaGVpZ2h0PScxMDAnPjxwYXRoIGQ9J00yOCA2NkwwIDUwTDAgMTZMMjggMEw1NiAxNkw1NiA1MEwyOCA2NlonIGZpbGw9J25vbmUnIHN0cm9rZT0ncmdiYSgyNTUsMjU1LDI1NSwwLjA3KScgc3Ryb2tlLXdpZHRoPScxJy8+PHBhdGggZD0nTTI4IDE2NkwwIDE1MEwwIDExNkwyOCAxMDBMNTYgMTE2TDU2IDE1MEwyOCAxNjZaJyBmaWxsPSdub25lJyBzdHJva2U9J3JnYmEoMjU1LDI1NSwyNTUsMC4wNyknIHN0cm9rZS13aWR0aD0nMScvPjwvc3ZnPgo=");
    background-size: 56px 100px;
    background-repeat: repeat;
}

/* ==========================================================================
   Contact Form Styles (migrated from Bricks Code block)
   ========================================================================== */

.contact__form .options-wrapper li {
    display: flex;
    align-items: start;
    flex-wrap: nowrap;
    gap: 1rem;
}

.contact__form .options-wrapper label {
    font-size: var(--text-s);
    line-height: 1.15;
}

.contact__form .options-wrapper label a {
    color: var(--primary);
}
