/* ===================================
   FRANCHISE PAGE - PROFESSIONAL DESIGN
   Complete responsive styles
   =================================== */

/* ===================================
   BASE & UTILITIES
   =================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 { font-family: "Poppins", sans-serif; }

.text-pink { color: #ee2966; }
.text-black { color: #1a1a1a; }
.text-bold { font-weight: 700; }
.text-normal { font-weight: 400; }

/* ===================================
   HERO SECTION
   =================================== */

.brokers-hero {
    background-color: #ee2966;
    padding: 40px 20px;
    position: relative;
}

.brokers-hero-container {
    max-width: 1280px;
    margin: 0 auto;
}

.brokers-hero-grid {
    display: flex;
    flex-direction: column-reverse;
    gap: 32px;
    align-items: center;
}

.brokers-hero-image-col {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.brokers-hero-image-wrap {
   width: 100%;
   aspect-ratio: 9 / 10;
   background-color: #e5e7eb;
   border-radius: 16px;
   display: flex;
   align-items: center;
   justify-content: center;
}

.brokers-hero-img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   border-radius: 16px;
   max-height: 680px;
}

.brokers-hero-content-col {
    width: 100%;
}

.brokers-hero-content-wrap {
    max-width: 600px;
}

/* Reviews Badge */
.brokers-reviews-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.reviews-text {
    color: white;
    font-size: 13px;
    line-height: 20px;
}

.reviews-google {
    display: flex;
    align-items: center;
    gap: 4px;
}

.google-text {
    color: white;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
}

.brokers-star-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.star-yellow {
    width: 16px;
    height: 16px;
}

/* Hero Title */
.brokers-hero-title {
    font-weight: 700;
    font-size: 32px;
    line-height: 1.2;
    color: white;
    margin-bottom: 20px;
}

.brokers-hero-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.brokers-hero-description p {
    margin: 0;
}

/* CTA Buttons */
.brokers-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.btn-brokers-white-large {
    background-color: white;
    color: #ee2966;
    padding: 16px 32px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    text-align: center;
}

.btn-brokers-white-large:hover {
    background-color: #f3f4f6;
    transform: translateY(-2px);
}

.brokers-link-underline {
    color: white;
    font-size: 16px;
    line-height: 1.5;
    text-decoration: underline;
    text-align: center;
    transition: opacity 0.3s;
}

.brokers-link-underline:hover {
    opacity: 0.8;
}

/* ===================================
   WE SAVE AMERICAN COMPANIES SECTION
   =================================== */

.brokers-save-section {
    background-color: white;
    padding: 60px 20px;
}

.brokers-save-container {
    max-width: 1280px;
    margin: 0 auto;
}

.brokers-save-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.brokers-save-content {
    flex: 1;
}

.brokers-save-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.brokers-save-text {
    margin-bottom: 32px;
}

.brokers-save-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 16px;
}

.btn-brokers-primary {
    background-color: #ee2966;
    color: white;
    padding: 16px 40px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-brokers-primary:hover {
    background-color: #d91d56;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(238, 41, 102, 0.3);
}

.brokers-save-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brokers-save-image-wrap {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.pink-accent-right {
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background-color: #fef2f6;
    border-radius: 12px;
    z-index: 0;
}

.brokers-save-img-inner {
    position: relative;
    z-index: 1;
    border-radius: 12px;
    overflow: hidden;
}

.brokers-save-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   WHAT ARE REEF BENEFITS SECTION
   =================================== */

.brokers-benefits-section {
    background-color: #f9fafb;
    padding: 60px 20px;
}

.brokers-benefits-container {
    max-width: 1280px;
    margin: 0 auto;
}

.brokers-benefits-title {
    font-weight: 700;
    font-size: 32px;
    line-height: 1.3;
    text-align: center;
    margin-bottom: 48px;
}

.brokers-benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.brokers-benefit-card {
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s ease;
}

.brokers-benefit-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: #ee2966;
}

.benefit-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.benefit-card-header h3 {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.3;
    color: #1a1a1a;
    margin: 0;
}

.benefit-icons-row {
    display: flex;
    gap: 8px;
}

.benefit-icon-emoji {
    font-size: 32px;
    line-height: 1;
}

.benefit-card-text {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0;
    flex-grow: 1;
}

.benefit-includes-btn {
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 15px;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.benefit-includes-btn:hover {
    background-color: #fef2f6;
    border-color: #ee2966;
    color: #ee2966;
}

/* ===================================
   WHY FRANCHISE SECTION
   =================================== */

.brokers-why-section {
    background-color: white;
    padding: 60px 20px;
}

.brokers-why-container {
    max-width: 1280px;
    margin: 0 auto;
}

.brokers-why-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.brokers-why-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
}

.brokers-why-image-wrap {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.pink-accent-left {
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background-color: #fef2f6;
    border-radius: 12px;
    z-index: 0;
}

.brokers-why-img-inner {
    position: relative;
    z-index: 1;
    border-radius: 12px;
    overflow: hidden;
}

.brokers-why-content {
    flex: 1;
    order: 1;
}

.brokers-why-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 32px;
}

.btn-brokers-primary-square {
    background-color: #ee2966;
    color: white;
    padding: 16px 40px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    margin-bottom: 32px;
}

.btn-brokers-primary-square:hover {
    background-color: #d91d56;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(238, 41, 102, 0.3);
}

.brokers-powered-by {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.powered-text {
    font-size: 14px;
    color: #666;
}

.powered-logos-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.powered-logo-placeholder {
    padding: 8px 16px;
    background-color: #f3f4f6;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
    color: #1a1a1a;
}

/* ===================================
   SOUND TOO GOOD SECTION (DARK)
   =================================== */

.brokers-sound-section {
    background-color: #1f2937;
    padding: 60px 20px;
}

.brokers-sound-container {
    max-width: 1280px;
    margin: 0 auto;
}

.brokers-sound-header-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

.sound-header-col-left h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.1;
    color: white;
    margin: 0;
}

.sound-header-col-right p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.brokers-sound-divider {
    text-align: center;
    padding: 24px 0;
    margin-bottom: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brokers-sound-divider h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #ee2966;
    margin: 0;
}

.brokers-sound-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.brokers-sound-card {
    background-color: #374151;
    border-radius: 12px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s ease;
}

.brokers-sound-card:hover {
    background-color: #4b5563;
    transform: translateY(-2px);
}

.sound-card-icon-bg {
    background-color: #ee2966;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sound-card-icon {
    font-size: 28px;
}

.brokers-sound-card h4 {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.3;
    color: white;
    margin: 0;
}

.brokers-sound-card p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* ===================================
   CTA BAR SECTION
   =================================== */

.brokers-cta-bar {
    background-color: #ee2966;
    padding: 32px 20px;
}

.brokers-cta-bar-container {
    max-width: 1280px;
    margin: 0 auto;
}

.brokers-cta-bar-content {
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
}

.cta-bar-text {
    color: white;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.cta-bar-phone {
    color: white;
    font-weight: 700;
    font-size: 24px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.cta-bar-phone:hover {
    opacity: 0.8;
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */

.brokers-testimonials-section {
    background-color: #f9fafb;
    padding: 60px 20px;
}

.brokers-testimonials-container {
    max-width: 100%;
    margin: 0 auto;
}

.brokers-testimonials-title {
    font-weight: 700;
    font-size: 32px;
    line-height: 1.2;
    color: #ee2966;
    text-align: center;
    margin-bottom: 48px;
}

.brokers-testimonials-carousel {
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    padding: 20px 20px 40px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #ee2966 #f3f4f6;
}

.testimonials-track::-webkit-scrollbar {
    height: 8px;
}

.testimonials-track::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 10px;
}

.testimonials-track::-webkit-scrollbar-thumb {
    background: #ee2966;
    border-radius: 10px;
}

.brokers-testimonial-card {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 32px;
    min-width: 320px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
}

.testimonial-stars-row {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.star-pink-icon {
    width: 16px;
    height: 16px;
}

.testimonial-heading {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4;
    color: #111827;
    margin-bottom: 12px;
}

.testimonial-review {
    font-size: 15px;
    line-height: 1.6;
    color: #6b7280;
    margin-bottom: 24px;
    flex-grow: 1;
}

.testimonial-author-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: auto;
}

.author-avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    background-color: #ee2966;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.author-info-col {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.4;
    color: #000000;
}

.author-job-title {
    font-size: 13px;
    line-height: 1.4;
    color: #6b7280;
}

/* ===================================
   SIGNUP BUSINESSES SECTION
   =================================== */

.brokers-signup-section {
    background-color: white;
    padding: 60px 20px;
}

.brokers-signup-container {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.brokers-signup-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.2;
    color: #1a1a1a;
}

/* ===================================
   SPACER
   =================================== */

.brokers-spacer {
    height: 60px;
    background-color: white;
}

/* ===================================
   FRANCHISE PRICING TABLE
   =================================== */

.benefits-badge-top {
    display: inline-block;
    background-color: rgba(238, 41, 102, 0.08);
    color: #ee2966;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.plan-price-franchise {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 32px;
    line-height: 1.2;
}

.price-amount-franchise {
    font-weight: 400;
    font-size: 28px;
    color: #ee2966;
    letter-spacing: -0.01em;
    display: block;
    margin-bottom: 4px;
}

.price-period {
   font-size: 16px !important;
   font-weight: 400;
}

.plan-name {
   font-size: 22px !important;
}

/* ===================================
   RESPONSIVE - TABLET (768px+)
   =================================== */
@media (min-width: 768px) {
    /* Hero */
    .brokers-hero {
        padding: 60px 32px;
    }
    
    .brokers-hero-grid {
        flex-direction: row;
        gap: 64px;
    }
    
    .brokers-hero-image-col {
        flex: 1;
    }
    
    .brokers-hero-content-col {
        flex: 1;
    }
    
    .brokers-hero-title {
        font-size: 42px;
    }
    
    .brokers-hero-description {
        font-size: 17px;
    }
    
    .brokers-cta-buttons {
        flex-direction: row;
        gap: 20px;
    }
    
    .btn-brokers-white-large {
        width: auto;
        padding: 16px 40px;
    }
    
    /* Save Section */
    .brokers-save-section {
        padding: 80px 32px;
    }
    
    .brokers-save-grid {
        flex-direction: row;
        align-items: center;
        gap: 64px;
    }
    
    .brokers-save-title {
        font-size: 42px;
    }
    
    /* Benefits Section */
    .brokers-benefits-section {
        padding: 80px 32px;
    }
    
    .brokers-benefits-title {
        font-size: 42px;
    }
    
    .brokers-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    /* Why Section */
    .brokers-why-section {
        padding: 80px 32px;
    }
    
    .brokers-why-grid {
        flex-direction: row;
        align-items: center;
        gap: 64px;
    }
    
    .brokers-why-image {
        order: 1;
    }
    
    .brokers-why-content {
        order: 2;
    }
    
    .brokers-why-title {
        font-size: 42px;
    }
    
    /* Sound Section */
    .brokers-sound-section {
        padding: 80px 32px;
    }
    
    .brokers-sound-header-grid {
        flex-direction: row;
        gap: 64px;
    }
    
    .sound-header-col-left h2 {
        font-size: 42px;
    }
    
    .sound-header-col-right p {
        font-size: 17px;
    }
    
    .brokers-sound-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    /* CTA Bar */
    .brokers-cta-bar {
        padding: 40px 32px;
    }
    
    .brokers-cta-bar-content {
        flex-direction: row;
        gap: 24px;
    }
    
    .cta-bar-text {
        font-size: 17px;
    }
    
    .cta-bar-phone {
        font-size: 28px;
    }
    
    /* Testimonials */
    .brokers-testimonials-section {
        padding: 80px 32px;
    }
    
    .brokers-testimonials-title {
        font-size: 42px;
    }
    
    .testimonials-track {
        padding: 20px 32px 40px;
    }
    
    .brokers-testimonial-card {
        min-width: 360px;
    }
    
    /* Signup Section */
    .brokers-signup-section {
        padding: 80px 32px;
    }
    
    .brokers-signup-title {
        font-size: 42px;
    }
}

/* ===================================
   RESPONSIVE - DESKTOP (1024px+)
   =================================== */
@media (min-width: 1024px) {
    /* Hero */
    .brokers-hero {
        padding: 80px 40px;
    }
    
    .brokers-hero-title {
        font-size: 52px;
    }
    
    .brokers-hero-description {
        font-size: 18px;
    }
    
    /* Save Section */
    .brokers-save-section {
        padding: 100px 40px;
    }
    
    .brokers-save-title {
        font-size: 44px;
    }
    
    /* Benefits Section */
    .brokers-benefits-section {
        padding: 100px 40px;
    }
    
    .brokers-benefits-title {
        font-size: 52px;
    }
    
    .brokers-benefits-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
    
    /* Why Section */
    .brokers-why-section {
        padding: 100px 40px;
    }
    
    .brokers-why-title {
        font-size: 32px;
    }
    
    /* Sound Section */
    .brokers-sound-section {
        padding: 100px 40px;
    }
    
    .sound-header-col-left h2 {
        font-size: 44px;
    }
    
    .sound-header-col-right p {
        font-size: 18px;
    }
    
    /* CTA Bar */
    .brokers-cta-bar {
        padding: 48px 40px;
    }
    
    .cta-bar-text {
        font-size: 18px;
    }
    
    .cta-bar-phone {
        font-size: 32px;
    }
    
    /* Testimonials */
    .brokers-testimonials-section {
        padding: 100px 40px;
    }
    
    .brokers-testimonials-title {
        font-size: 48px;
        margin-bottom: 56px;
    }
    
    .testimonials-track {
        padding: 20px 48px 48px;
    }
    
    .brokers-testimonial-card {
        min-width: 380px;
        padding: 40px;
    }
    
    .testimonial-heading {
        font-size: 20px;
    }
    
    .testimonial-review {
        font-size: 16px;
    }
    
    /* Signup Section */
    .brokers-signup-section {
        padding: 100px 40px;
    }
    
    .brokers-signup-title {
        font-size: 52px;
    }
}