/**
 * Reef Health — Franchisor program
 *
 * Styles for page-franchisors.php (/franchisors/) and the per-brand landing
 * pages page-franchisor-brand.php serves at /franchisors/{brand}/. Loaded on
 * those two views only (see reef_benefits_scripts() in functions.php).
 *
 * Follows the shared content-section layer: Poppins headings, Inter body,
 * #ee2966 pink, 1280px container, 80px section rhythm, 16/24px card radii.
 * Section shells, headings and intros come from reef-content-sections.css
 * (.reef-cs-section, .reef-cs-heading, .reef-cs-intro, .reef-prose,
 * .reef-pillar-*, .reef-step-num, .reef-closing-cta); everything here is
 * namespaced reef-fr-*.
 *
 * @package Reef_Benefits
 */

/* ===================================
   SHARED BITS
   =================================== */
.reef-fr-eyebrow {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    /* The darker brand pink: this is small text on white, and #ee2966 sits
       just under AA there (see content-handoff-v2-deployment.md, section 7). */
    color: #d91456;
    margin: 0 0 16px 0;
}

.reef-fr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 9999px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4;
    text-decoration: none;
    text-align: center;
    border: 0;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.reef-fr-btn--primary {
    background-color: #ee2966;
    color: #ffffff;
}

.reef-fr-btn--primary:hover {
    background-color: #d91456;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(238, 41, 102, 0.28);
    color: #ffffff;
}

.reef-fr-btn:focus-visible {
    outline: 2px solid #ee2966;
    outline-offset: 3px;
}

/* Text link beside a button: mirrors .reef-hero-btn-secondary on the home hero. */
.reef-fr-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #111827;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.reef-fr-link:hover {
    color: #d91456;
    border-bottom-color: #d91456;
}

.reef-fr-link:focus-visible {
    outline: 2px solid #ee2966;
    outline-offset: 3px;
}

/* Pink check chip used by the included-in-every-tier list and the brand page. */
.reef-fr-check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-top: 2px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(238, 41, 102, 0.12);
    color: #d91456;
}

/* ===================================
   SECTION 1 — HERO + TRUST STRIP
   =================================== */
.reef-fr-hero {
    background-color: #ffffff;
    padding: 56px 20px 0;
}

.reef-fr-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.reef-fr-hero-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 34px;
    line-height: 1.12;
    color: #111827;
    margin: 0 0 20px 0;
}

.reef-fr-hero-title .reef-accent,
.reef-fr-brand-title .reef-accent,
.reef-fr-steps-heading .reef-accent,
.reef-fr-find-title .reef-accent {
    color: #ee2966;
}

.reef-fr-hero-sub {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #4b5563;
    margin: 0 0 32px 0;
    max-width: 620px;
}

.reef-fr-hero-ctas {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.reef-fr-hero-media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 620px;
    object-fit: cover;
    object-position: center top;
    border-radius: 24px;
}

/* Trust strip — four figures on a hairline-ruled band beneath the hero. */
.reef-fr-trust {
    max-width: 1280px;
    margin: 48px auto 0;
    padding: 36px 0 40px;
    border-top: 1px solid #e5e7eb;
}

.reef-fr-trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 24px;
    margin: 0;
}

.reef-fr-trust-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.reef-fr-stat-figure {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.1;
    color: #ee2966;
    font-variant-numeric: tabular-nums;
    margin: 0;
}

.reef-fr-stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #4b5563;
    margin: 0;
}

.reef-fr-stat-label sup,
.reef-fr-trust-footnote sup {
    font-size: 0.7em;
    line-height: 0;
}

.reef-fr-trust-footnote {
    margin: 24px 0 0;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    line-height: 1.5;
    color: #6b7280;
}

@media (min-width: 768px) {
    .reef-fr-hero { padding-top: 72px; }
    .reef-fr-hero-title { font-size: 44px; }
    .reef-fr-hero-ctas { flex-direction: row; align-items: center; gap: 28px; }
    .reef-fr-trust-grid { grid-template-columns: repeat(4, 1fr); }
    .reef-fr-stat-figure { font-size: 32px; }
}

@media (min-width: 1024px) {
    .reef-fr-hero { padding-top: 88px; }
    .reef-fr-hero-inner { grid-template-columns: 7fr 5fr; gap: 64px; }
    .reef-fr-hero-title { font-size: 52px; }
    .reef-fr-stat-figure { font-size: 36px; }
}

/* ===================================
   SECTION 2 — PREFERRED-VENDOR SHOWCASE (logo grid)
   =================================== */
.reef-fr-logo-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.reef-fr-logo-card {
    min-width: 0;
}

.reef-fr-logo-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 24px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.reef-fr-logo-card-link:hover {
    transform: translateY(-4px);
    border-color: rgba(238, 41, 102, 0.35);
    box-shadow: 0 16px 36px rgba(17, 24, 39, 0.08);
}

.reef-fr-logo-card-link:focus-visible {
    outline: 2px solid #ee2966;
    outline-offset: 3px;
}

/* A fixed-height frame so wildly different logo aspect ratios line up. */
.reef-fr-logo-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 72px;
    margin-bottom: 20px;
}

.reef-fr-logo-img {
    display: block;
    max-width: 180px;
    max-height: 64px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Wordmark fallback while a logo file is missing. */
.reef-fr-logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    color: #111827;
    text-align: left;
}

.reef-fr-logo-frame:has(.reef-fr-logo-text) {
    justify-content: flex-start;
    align-items: flex-end;
    margin-bottom: 12px;
}

.reef-fr-logo-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.3;
    color: #111827;
    margin-bottom: 4px;
}

.reef-fr-logo-industry {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #6b7280;
}

.reef-fr-logo-meta {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #6b7280;
    margin-top: 8px;
}

.reef-fr-logo-meta strong {
    color: #111827;
    font-weight: 600;
}

/* "Your brand here" closes the grid as an invitation, on the brand pink. */
.reef-fr-logo-card--yours .reef-fr-logo-card-link {
    justify-content: center;
    background: linear-gradient(135deg, #ee2966 0%, #d91456 100%);
    border-color: transparent;
}

.reef-fr-logo-card--yours .reef-fr-logo-name {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 8px;
}

.reef-fr-logo-card--yours .reef-fr-logo-industry {
    color: rgba(255, 255, 255, 0.92);
}

.reef-fr-logo-card--yours .reef-fr-logo-card-link:hover {
    box-shadow: 0 16px 36px rgba(238, 41, 102, 0.3);
}

.reef-fr-logo-card--yours .reef-fr-logo-card-link:focus-visible {
    outline-color: #111827;
}

/* Optional testimonials beneath the grid. */
.reef-fr-testimonials {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
}

.reef-fr-testimonial-card {
    margin: 0;
    padding: 28px 24px;
    border-left: 3px solid #ee2966;
    background-color: #f9fafb;
    border-radius: 0 16px 16px 0;
}

.reef-fr-testimonial-card blockquote {
    margin: 0 0 14px 0;
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: #111827;
}

.reef-fr-testimonial-card figcaption {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #4b5563;
}

@media (min-width: 640px) {
    .reef-fr-logo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
    .reef-fr-logo-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .reef-fr-testimonials { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1200px) {
    .reef-fr-logo-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ===================================
   SECTION 3 — CREDIBILITY (prose + pull quote)
   =================================== */
.reef-fr-cred {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: start;
}

.reef-fr-cred-body {
    min-width: 0;
}

.reef-fr-pullquote {
    background-color: #111827;
    border-radius: 24px;
    padding: 36px 28px;
}

.reef-fr-pullquote blockquote {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 22px;
    line-height: 1.4;
    color: #ffffff;
}

@media (min-width: 900px) {
    .reef-fr-cred { grid-template-columns: 3fr 2fr; gap: 56px; }
    .reef-fr-pullquote { padding: 44px 36px; position: sticky; top: 120px; }
    .reef-fr-pullquote blockquote { font-size: 26px; }
}

/* ===================================
   SECTION 4 — PAIN POINTS
   =================================== */
.reef-fr-pain-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.reef-fr-pain-card {
    background-color: #fafafa;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reef-fr-pain-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.reef-fr-pain-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background-color: rgba(238, 41, 102, 0.1);
    color: #d91456;
    margin-bottom: 18px;
}

.reef-fr-pain-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.35;
    color: #111827;
    margin: 0 0 10px 0;
}

.reef-fr-pain-body {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: #4b5563;
    margin: 0;
}

@media (min-width: 640px) {
    .reef-fr-pain-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    /* Six cards: two even rows of three. */
    .reef-fr-pain-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ===================================
   SECTION 5 — PROGRAM FEATURES
   =================================== */
.reef-fr-feature-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.reef-fr-feature-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reef-fr-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(17, 24, 39, 0.08);
}

.reef-fr-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background-color: #111827;
    color: #ffffff;
    margin-bottom: 20px;
}

.reef-fr-feature-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 19px;
    line-height: 1.3;
    color: #111827;
    margin: 0 0 10px 0;
}

.reef-fr-feature-body {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: #4b5563;
    margin: 0;
}

@media (min-width: 640px) {
    .reef-fr-feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .reef-fr-feature-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .reef-fr-feature-card { padding: 32px 28px; }
}

/* ===================================
   SECTION 6 — PLAN CARDS
   The shared pricing cards (template-parts/pricing-plans.php, styled by
   internal-pages-styles.css), set inside this section's tinted band rather
   than their own grey one.
   =================================== */
.reef-fr-plans .reef-cs-intro p + p {
    margin-top: 12px;
}

.pricing-section.reef-fr-pricing--inset {
    background-color: transparent;
    padding: 48px 20px 0;
}

/* ===================================
   SECTION 7 — REALITIES OF A FRANCHISE SYSTEM
   =================================== */
.reef-fr-reality-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.reef-fr-reality-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 26px 0;
    border-top: 1px solid #e5e7eb;
}

.reef-fr-reality-list > .reef-fr-reality-card:first-child {
    border-top: 0;
    padding-top: 0;
}

.reef-fr-reality-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    color: #d91456;
}

.reef-fr-reality-text {
    min-width: 0;
}

.reef-fr-reality-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.35;
    color: #111827;
    margin: 0 0 6px 0;
}

.reef-fr-reality-body {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: #4b5563;
    margin: 0;
}

@media (min-width: 900px) {
    /* Two columns, each its own ruled list. The 2x grid is rendered with
       row borders only, so the first card of each column loses its rule. */
    .reef-fr-reality-list { grid-template-columns: 1fr 1fr; column-gap: 56px; }
    .reef-fr-reality-list > .reef-fr-reality-card:nth-child(2) { border-top: 0; padding-top: 0; }
}

/* ===================================
   SECTION 8 — HOW IT WORKS (dark band, numbered cards)
   Same treatment as the Brokers "How It Works" band so the two partner
   pages read as siblings.
   =================================== */
.reef-fr-steps-section {
    background-color: #1f2937;
    padding: 72px 20px;
}

.reef-fr-steps-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.reef-fr-steps-heading {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.2;
    color: #ffffff;
    margin: 0 0 40px 0;
    max-width: 760px;
}

.reef-fr-steps-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    counter-reset: reef-fr-step;
}

.reef-fr-step-card {
    background-color: #374151;
    border-radius: 16px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.reef-fr-step-card:hover {
    background-color: #4b5563;
    transform: translateY(-2px);
}

.reef-fr-step-card .reef-step-num {
    margin-bottom: 0;
}

.reef-fr-step-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.3;
    color: #ffffff;
    margin: 0;
}

.reef-fr-step-body {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}

@media (min-width: 640px) {
    .reef-fr-steps-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (min-width: 768px) {
    .reef-fr-steps-section { padding: 88px 32px; }
    .reef-fr-steps-heading { font-size: 40px; }
}

@media (min-width: 1024px) {
    .reef-fr-steps-section { padding: 100px 40px; }
    .reef-fr-steps-heading { font-size: 46px; }
    .reef-fr-steps-grid { grid-template-columns: repeat(4, 1fr); }
    .reef-fr-step-card { padding: 36px 28px; }
}

/* ===================================
   FRANCHISEE SUB-CTA — find my brand
   Sits between the FAQ and the closing CTA band. Tinted so it reads as its
   own strip against the white FAQ above and the pink band below.
   =================================== */
.reef-fr-find {
    background-color: #f9fafb;
    border-top: 1px solid #e5e7eb;
    padding: 56px 20px;
}

.reef-fr-find-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
}

.reef-fr-find-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.25;
    color: #111827;
    margin: 0 0 8px 0;
}

.reef-fr-find-sub {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #4b5563;
    margin: 0;
}

.reef-fr-find-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reef-fr-find-fallback {
    margin: 12px 0 0;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
}

.reef-fr-find-fallback a {
    color: #ee2966;
    font-weight: 600;
    text-decoration: none;
}

.reef-fr-find-fallback a:hover,
.reef-fr-find-fallback a:focus-visible {
    text-decoration: underline;
}

/* Visually hidden label for the brand <select>; the theme does not ship
   WordPress's .screen-reader-text on the front end. */
.reef-fr-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.reef-fr-find-select {
    width: 100%;
    min-width: 0;
    padding: 14px 44px 14px 18px;
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #111827;
    appearance: none;
    -webkit-appearance: none;
}

.reef-fr-find-select:focus-visible {
    outline: 2px solid #ee2966;
    outline-offset: 2px;
    border-color: #ee2966;
}

@media (min-width: 768px) {
    .reef-fr-find-inner { grid-template-columns: 1fr 1fr; gap: 48px; }
    .reef-fr-find-form { flex-direction: row; align-items: center; }
    .reef-fr-find-select { flex: 1 1 220px; }
    .reef-fr-find-form .reef-fr-btn { flex-shrink: 0; }
    .reef-fr-find-title { font-size: 28px; }
}

/* Contact line under the closing CTA, rendered only once a contact is set. */
.reef-fr-contact-line {
    background-color: #ee2966;
    padding: 0 20px 40px;
    text-align: center;
}

.reef-fr-contact-line p {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
}

.reef-fr-contact-line a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ===================================
   BRAND LANDING PAGE — /franchisors/{brand}/
   =================================== */
.reef-fr-brand-hero {
    background-color: #ffffff;
    padding: 56px 20px 72px;
}

.reef-fr-brand-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

.reef-fr-brand-copy {
    min-width: 0;
}

/* "[Brand] + Reef" lockup above the eyebrow. */
.reef-fr-brand-logo-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
}

.reef-fr-brand-logo .reef-fr-logo-img {
    /* An explicit height: the SVG logos carry only a viewBox, so with
       width/height auto inside this shrink-to-fit flex item they size to 0. */
    height: 64px;
    max-width: 200px;
    max-height: 64px;
}

.reef-fr-brand-logo .reef-fr-logo-text {
    font-size: 24px;
    text-align: left;
}

.reef-fr-brand-plus {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1;
    color: #9ca3af;
}

.reef-fr-brand-reef-logo {
    display: inline-flex;
    align-items: center;
}

.reef-fr-brand-reef-logo img {
    display: block;
    height: 40px;
    width: auto;
}

.reef-fr-brand-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 34px;
    line-height: 1.12;
    color: #111827;
    margin: 0 0 20px 0;
}

.reef-fr-brand-sub {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #4b5563;
    margin: 0 0 28px 0;
    max-width: 600px;
}

.reef-fr-brand-points {
    list-style: none;
    margin: 0 0 32px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.reef-fr-brand-points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #374151;
}

.reef-fr-brand-points strong {
    color: #111827;
    font-weight: 600;
}

/* The quote form card. */
.reef-fr-brand-form {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 28px 20px;
    scroll-margin-top: 100px;
}

.reef-fr-brand-form-head {
    margin-bottom: 8px;
}

.reef-fr-brand-form-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.3;
    color: #111827;
    margin: 0 0 8px 0;
}

.reef-fr-brand-form-sub {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
    margin: 0;
}

/* The GHL embed script sets the iframe's height from data-height once it
   loads; the min-height stops the card collapsing before it does. */
.reef-fr-brand-form-embed {
    min-height: 650px;
}

.reef-fr-brand-form-embed iframe {
    width: 100%;
    min-height: 650px;
}

@media (min-width: 768px) {
    .reef-fr-brand-hero { padding: 72px 32px 88px; }
    .reef-fr-brand-title { font-size: 42px; }
    .reef-fr-brand-form { padding: 36px 32px; }
}

@media (min-width: 1024px) {
    .reef-fr-brand-hero-inner { grid-template-columns: 6fr 5fr; gap: 64px; }
    .reef-fr-brand-title { font-size: 48px; }
}
