.rfm-site {
    --rfm-action: #234d32;
    --rfm-action-hover: #153b24;
    --rfm-action-light: #d8ef92;
}

/* Primary actions retain the same visual weight on catalog and editorial pages. */
.rfm-site :is(.rfm-button, .elementor-button, [data-inquiry]),
.rfm-site .wpcf7 input[type="submit"] {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: .65em;
    max-width: 100%;
    min-height: 52px;
    padding: .86em 1.4em;
    border: 1px solid var(--rfm-action);
    border-radius: 32px;
    background: var(--rfm-action);
    color: #fff;
    font-family: inherit;
    font-size: max(16px, 1rem);
    font-weight: 650;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.rfm-site :is(.rfm-button, .elementor-button, [data-inquiry]):hover,
.rfm-site .wpcf7 input[type="submit"]:hover {
    color: #fff;
    border-color: var(--rfm-action-hover);
    background: var(--rfm-action-hover);
}

.rfm-site :is(.rfm-hero, .rfm-band, .co-quality, .co-service, .button-lime) :is(.rfm-button, .elementor-button) {
    color: #163523;
    background: var(--rfm-action-light);
    border-color: var(--rfm-action-light);
}

.rfm-site .rfm-hero .elementor-button {
    min-height: 52px;
    padding: .86em 1.4em;
    font-size: max(16px, 1rem);
}

.rfm-site :is(.rfm-hero, .rfm-band, .co-quality, .co-service, .button-lime) :is(.rfm-button, .elementor-button):hover {
    background: #ecfac0;
    border-color: #ecfac0;
    color: #102e1d;
}

.rfm-site .rfm-hero .button-ghost :is(.elementor-button, [data-inquiry]) {
    border: 2px solid #adcbac;
    color: #fff;
    background: transparent;
}

.rfm-site .rfm-hero .button-ghost :is(.elementor-button, [data-inquiry]):hover {
    background: #315842;
    border-color: #edf6d9;
}

.rfm-site :is(.rfm-button, .elementor-button, [data-inquiry], .rfm-menu, .rfm-close, .ideas-pause, .ideas-company, #profile-reset, .wpcf7 input[type="submit"]):focus-visible {
    outline: 3px solid #17734b;
    outline-offset: 3px;
    box-shadow: 0 0 0 3px #fff;
}

.rfm-site .rfm-header .rfm-header-cta {
    min-height: 48px;
    padding: .78em 1.15em;
    font-size: .99rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.rfm-site .flavor-profile .spec-request,
.rfm-site .flavor-profile .spec-download,
.rfm-site .taste-note-options button,
.rfm-site .ideas-heading :is(.ideas-company, .ideas-pause),
.rfm-site .profile-filters #profile-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    max-width: 100%;
    padding: .65em 1.05em;
    border: 1px solid #687f64;
    border-radius: 28px;
    color: #234d32;
    background: #f8fbf2;
    font-size: .9375rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
}

.rfm-site .flavor-profile :is(.spec-request, .spec-download):hover,
.rfm-site .taste-note-options button:hover,
.rfm-site .ideas-heading :is(.ideas-company, .ideas-pause):hover,
.rfm-site .profile-filters #profile-reset:hover {
    background: #dfecd1;
    color: #163523;
}

.rfm-site .rfm-hero .hero-bottom {
    font-size: clamp(17px, 1.5vw, 1.35rem);
    font-weight: 550;
    line-height: 1.4;
    color: #f5fae8;
}

.rfm-site .team-card h3 {
    margin-top: 0;
}

.rfm-site .team-card button[data-inquiry] {
    min-height: 48px;
    padding: .75em 1.2em;
    background: var(--rfm-action);
    color: #fff;
    border: 1px solid var(--rfm-action);
    font-size: max(16px, 1rem);
}

.rfm-site .team-card button[data-inquiry]:hover {
    background: var(--rfm-action-hover);
}

.rfm-site .e-con.rfm-contact-intro {
    display: grid;
    grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr);
    align-items: start;
    gap: clamp(28px, 5vw, 82px);
}

.rfm-site .rfm-contact-intro-copy { min-width: 0; }
.rfm-site .e-con.rfm-contact-intro-form {
    min-width: 0;
    width: 100%;
    background: #f0f4e8;
    border: 1px solid #d0dcc8;
    border-radius: 24px;
    /* Elementor resets inline and block padding independently on this container. */
    padding: var(--rfm-contact-gutter, clamp(24px, 2.6vw, 38px)) !important;
}

.rfm-site .rfm-contact-intro-form > .elementor-widget { width: 100%; }
.rfm-site .rfm-contact-intro-form .wpcf7 { margin-top: 0; }
.rfm-site .rfm-contact-intro-form .wpcf7 label { font-size: 14px; }
.rfm-site .rfm-contact-intro-form .wpcf7 .wpcf7-acceptance label { font-size: 13px; }
.rfm-site .rfm-contact-intro-form .wpcf7 :is(input[type="text"], input[type="tel"], input[type="email"], textarea) {
    font-size: 16px;
}


@media (max-width: 960px) {
    .rfm-site .e-con.rfm-contact-intro {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 700px) {
    .rfm-site .rfm-header .rfm-header-cta {
        min-height: 44px;
        padding: .65em .82em;
        font-size: max(14px, .89rem);
    }
}

@media (max-width: 540px) {
    .rfm-site .rfm-contact-intro-form { --rfm-contact-gutter: 20px 16px; }
    .rfm-site .rfm-contact-intro-form .wpcf7 .form-grid { grid-template-columns: minmax(0, 1fr); }
    /* Let the larger header CTA fit to the right of the logo on narrow phones. */
    .rfm-site .rfm-header .rfm-brand { min-width: 0; flex-shrink: 1; }
    .rfm-site .rfm-header .rfm-logo { max-width: 100%; }
}
