/**
 * Homepage Experience Stylesheet
 *
 * Dedicated styling for hero discovery search, announcement bar,
 * taxonomy explorer, trust grid, and editorial SEO sections.
 *
 * @package Agency_Directory_Theme
 */

/* ==========================================================================
   1. Announcement Bar
   ========================================================================== */
.agency-announcement-bar {
    background: #fdf2f8;
    border-bottom: 1px solid #fbcfe8;
    color: #1f2937;
    font-size: 0.8125rem;
    padding: 8px 0;
    position: relative;
    z-index: 99;
}

.agency-announcement-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.agency-announcement-content {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.agency-announcement-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--agency-primary, #eb3b8f);
    box-shadow: 0 0 10px rgba(235, 59, 143, 0.5);
    animation: agencyPulse 2s infinite;
    flex-shrink: 0;
}

@keyframes agencyPulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.agency-announcement-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.agency-announcement-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--agency-primary, #eb3b8f);
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.agency-announcement-link:hover {
    opacity: 0.85;
    text-decoration: underline;
}

.agency-announcement-dismiss {
    background: transparent;
    border: none;
    color: var(--agency-text-muted, #6c757d);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.2s ease, background 0.2s ease;
}

.agency-announcement-dismiss:hover {
    color: #111827;
    background: rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   2. Hero Section & Atmospheric Backdrop
   ========================================================================== */
.agency-hero-section {
    position: relative;
    padding: 60px 0 50px;
    background: radial-gradient(ellipse at 50% 0%, rgba(235, 59, 143, 0.04) 0%, #ffffff 75%);
    overflow: hidden;
}

.agency-hero-backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.agency-hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.05;
}

.agency-hero-glow-1 {
    top: -150px;
    left: 15%;
    background: var(--agency-primary, #eb3b8f);
}

.agency-hero-glow-2 {
    top: -100px;
    right: 15%;
    background: var(--agency-secondary, #e91e63);
}

.agency-hero-container {
    position: relative;
    z-index: 1;
    max-width: 1060px;
}

.agency-hero-header {
    text-align: center;
    margin-bottom: 36px;
}

.agency-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fdf2f8;
    border: 1px solid #fbcfe8;
    color: var(--agency-primary, #eb3b8f);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    border-radius: 9999px;
    margin-bottom: 18px;
}

.agency-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--agency-primary, #eb3b8f);
}

.agency-hero-title {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    color: #111827;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.agency-hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.1875rem);
    color: var(--agency-text-muted, #4b5563);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ==========================================================================
   3. Hero Search & Discovery Card
   ========================================================================== */
.agency-hero-search-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    margin-bottom: 36px;
}

.agency-hero-search-grid {
    display: grid;
    grid-template-columns: 1.5fr 1.2fr 1fr auto;
    gap: 14px;
    align-items: flex-end;
}

.agency-search-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.agency-search-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--agency-text-muted, #4b5563);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.agency-search-input,
.agency-search-select {
    width: 100%;
    height: 48px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    color: #111827;
    font-size: 0.9375rem;
    padding: 0 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.agency-search-input:focus,
.agency-search-select:focus {
    outline: none;
    border-color: var(--agency-primary, #eb3b8f);
    box-shadow: 0 0 0 3px rgba(235, 59, 143, 0.15);
}

.agency-search-select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 38px;
}

.agency-btn-search {
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    white-space: nowrap;
    border-radius: 10px;
    background: linear-gradient(135deg, #eb3b8f 0%, #e91e63 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 14px rgba(235, 59, 143, 0.3);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.agency-btn-search:hover {
    opacity: 0.95;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(235, 59, 143, 0.4);
    color: #ffffff;
}

/* Quick Filter Pills */
.agency-hero-pills {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
    flex-wrap: wrap;
}

.agency-pills-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--agency-text-muted, #6b7280);
}

.agency-pills-list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.agency-pill-tag {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    color: var(--agency-text, #374151);
    font-size: 0.8125rem;
    padding: 5px 14px;
    border-radius: 9999px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.agency-pill-tag:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #111827;
}

.agency-pill-tag.is-active {
    background: #fdf2f8;
    border-color: var(--agency-primary, #eb3b8f);
    color: var(--agency-primary, #eb3b8f);
    font-weight: 600;
}

/* Quick Stats Bar */
.agency-hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.agency-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.agency-stat-number {
    font-size: 1.375rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
}

.agency-stat-label {
    font-size: 0.75rem;
    color: var(--agency-text-muted, #6b7280);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.agency-stat-divider {
    width: 1px;
    height: 28px;
    background: #e5e7eb;
}

/* ==========================================================================
   4. Taxonomy Explorer Section
   ========================================================================== */
.agency-taxonomy-explorer-section {
    padding: 30px 0;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
}

.agency-explorer-block {
    margin-bottom: 24px;
}

.agency-explorer-block:last-child {
    margin-bottom: 0;
}

.agency-explorer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.agency-explorer-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--agency-primary, #eb3b8f);
}

.agency-explorer-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.agency-explorer-all-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8125rem;
    color: var(--agency-text-muted, #6b7280);
    text-decoration: none;
    transition: color 0.2s ease;
}

.agency-explorer-all-link:hover {
    color: var(--agency-primary, #eb3b8f);
}

.agency-explorer-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.agency-explorer-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 7px 14px;
    border-radius: 8px;
    color: var(--agency-text, #374151);
    text-decoration: none;
    font-size: 0.8125rem;
    transition: all 0.2s ease;
}

.agency-explorer-chip:hover {
    background: #ffffff;
    border-color: var(--agency-primary, #eb3b8f);
    transform: translateY(-1px);
    color: var(--agency-primary, #eb3b8f);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.agency-chip-count {
    background: #e5e7eb;
    padding: 2px 6px;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--agency-text-muted, #4b5563);
}

/* ==========================================================================
   5. Trust, Safety & Verification 4-Pillar Grid
   ========================================================================== */
.agency-trust-section {
    padding: 60px 0;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.agency-trust-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px;
}

.agency-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--agency-primary, #eb3b8f);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.agency-trust-title {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.agency-trust-description {
    font-size: 0.9375rem;
    color: var(--agency-text-muted, #4b5563);
    line-height: 1.6;
}

.agency-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.agency-trust-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.agency-trust-card:hover {
    transform: translateY(-2px);
    border-color: var(--agency-primary, #eb3b8f);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.agency-trust-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #fdf2f8;
    color: var(--agency-primary, #eb3b8f);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.agency-trust-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.agency-trust-card-text {
    font-size: 0.8125rem;
    color: var(--agency-text-muted, #6b7280);
    line-height: 1.55;
    margin: 0;
}

/* ==========================================================================
   6. Editorial SEO & Guidance Copy
   ========================================================================== */
.agency-seo-content-section {
    padding: 60px 0 80px;
    background: #ffffff;
}

.agency-seo-content-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 36px;
}

.agency-seo-header {
    margin-bottom: 24px;
}

.agency-seo-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--agency-primary, #eb3b8f);
    display: block;
    margin-bottom: 8px;
}

.agency-seo-title {
    font-size: clamp(1.25rem, 2.2vw, 1.625rem);
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.agency-seo-body-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.agency-seo-heading {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
}

.agency-seo-column p {
    font-size: 0.875rem;
    color: var(--agency-text-muted, #4b5563);
    line-height: 1.65;
    margin-bottom: 12px;
}

.agency-seo-column p:last-child {
    margin-bottom: 0;
}

.agency-seo-cta-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 24px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.agency-seo-cta-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.agency-seo-cta-text strong {
    color: #111827;
    font-size: 0.9375rem;
}

.agency-seo-cta-text span {
    color: var(--agency-text-muted, #6b7280);
    font-size: 0.8125rem;
}

.agency-seo-cta-strip .agency-btn,
.agency-seo-cta-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: var(--agency-primary, #eb3b8f) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.9375rem !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(235, 59, 143, 0.35) !important;
    min-height: 44px !important;
}

.agency-seo-cta-strip .agency-btn span,
.agency-seo-cta-btn span {
    color: #ffffff !important;
    font-weight: 700 !important;
    display: inline-block !important;
}

.agency-seo-cta-strip .agency-btn svg,
.agency-seo-cta-btn svg {
    stroke: #ffffff !important;
    flex-shrink: 0 !important;
}

.agency-seo-cta-strip .agency-btn:hover,
.agency-seo-cta-btn:hover {
    background: #d82a7d !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(235, 59, 143, 0.45) !important;
}

/* ==========================================================================
   7. Responsive Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
    .agency-hero-search-grid {
        grid-template-columns: 1fr 1fr;
    }

    .agency-search-field-submit {
        grid-column: span 2;
    }

    .agency-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .agency-announcement-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .agency-announcement-content {
        white-space: normal;
    }

    .agency-hero-search-grid {
        grid-template-columns: 1fr;
    }

    .agency-search-field-submit {
        grid-column: span 1;
    }

    .agency-hero-stats {
        gap: 16px;
    }

    .agency-stat-divider {
        display: none;
    }

    .agency-stat-item {
        flex: 1 1 40%;
    }

    .agency-trust-grid {
        grid-template-columns: 1fr;
    }

    .agency-seo-body-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .agency-seo-cta-strip {
        flex-direction: column;
        align-items: flex-start;
    }

    .agency-seo-cta-strip .agency-btn {
        width: 100%;
    }
}

/* ==========================================================================
   8. Native WordPress Homepage Editor Content Section
   ========================================================================== */
.agency-homepage-editor-section {
    padding: 40px 0;
    position: relative;
    background: #ffffff;
}

.agency-homepage-editor-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: clamp(24px, 4vw, 48px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.agency-homepage-editor-content {
    color: #374151;
    font-size: 1rem;
    line-height: 1.8;
}

.agency-homepage-editor-content h1,
.agency-homepage-editor-content h2,
.agency-homepage-editor-content h3,
.agency-homepage-editor-content h4 {
    color: #111827;
    font-weight: 700;
    margin-top: 1.5em;
    margin-bottom: 0.6em;
    line-height: 1.3;
}

.agency-homepage-editor-content h1:first-child,
.agency-homepage-editor-content h2:first-child,
.agency-homepage-editor-content h3:first-child {
    margin-top: 0;
}

.agency-homepage-editor-content p {
    margin-bottom: 1.25em;
}

.agency-homepage-editor-content p:last-child {
    margin-bottom: 0;
}

.agency-homepage-editor-content a {
    color: var(--agency-primary, #eb3b8f);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.agency-homepage-editor-content a:hover {
    color: #be185d;
}

.agency-homepage-editor-content ul,
.agency-homepage-editor-content ol {
    margin: 1em 0 1.25em 1.5em;
    padding: 0;
}

.agency-homepage-editor-content li {
    margin-bottom: 0.5em;
}

.agency-homepage-editor-content blockquote {
    border-left: 4px solid var(--agency-primary, #eb3b8f);
    background: #f9fafb;
    margin: 1.5em 0;
    padding: 16px 24px;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #4b5563;
}

.agency-homepage-editor-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5em 0;
}

/* ==========================================================================
   9. Tiered Showcase Accents & 6-Column Grid (eurogirlsdubai Parity)
   ========================================================================== */
.agency-tier-section {
    padding: 50px 0 40px;
    border-bottom: 1px solid #f3f4f6;
    background: #ffffff;
}

.agency-tier-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.agency-accent-highlight {
    color: #eb3b8f;
    background: linear-gradient(135deg, #eb3b8f 0%, #e91e63 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.agency-showcase-title {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 800;
    color: #111827 !important;
    margin: 0 0 10px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.agency-showcase-description {
    max-width: 680px;
    margin: 0 auto;
    color: var(--agency-text-muted, #4b5563);
    font-size: 0.95rem;
    line-height: 1.6;
}

.agency-cols-desktop-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.agency-cols-desktop-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* 6-Column Compact Card Adaptation */
.agency-cols-desktop-6 .agency-profile-card {
    border-radius: 10px;
    font-size: 0.8125rem;
}

.agency-cols-desktop-6 .agency-card-content {
    padding: 10px;
}

.agency-cols-desktop-6 .agency-card-title {
    font-size: 0.875rem;
}

/* Pagination for Tier 4 / Free Models */
.agency-free-pagination-nav {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.agency-free-pagination-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 6px 12px;
    border-radius: 9999px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.agency-pagination-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.2s ease;
}

.agency-pagination-pill:hover {
    color: #111827;
    background: #f3f4f6;
}

.agency-pagination-pill.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, #eb3b8f 0%, #e91e63 100%);
    box-shadow: 0 2px 10px rgba(235, 59, 143, 0.35);
}

.agency-pagination-ellipsis {
    color: #9ca3af;
    padding: 0 4px;
}

/* ==========================================================================
   10. Client Reviews Section
   ========================================================================== */
.agency-reviews-section {
    padding: 60px 0 50px;
    position: relative;
    border-bottom: 1px solid #f3f4f6;
    background: #ffffff;
}

.agency-reviews-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px;
}

.agency-reviews-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #eb3b8f;
    display: block;
    margin-bottom: 6px;
}

.agency-reviews-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px;
}

.agency-reviews-subtitle {
    color: var(--agency-text-muted, #6b7280);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

.agency-reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.agency-review-card {
    background: linear-gradient(145deg, #eb3b8f 0%, #d81b60 100%);
    border: none;
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(235, 59, 143, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    color: #ffffff;
}

.agency-review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(235, 59, 143, 0.35);
}

.agency-review-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.agency-review-stars {
    display: flex;
    gap: 3px;
    color: #fde047;
}

.agency-review-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.agency-review-quote {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.7;
    font-style: italic;
    margin: 0 0 24px;
}

.agency-review-author-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.agency-review-author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    color: #eb3b8f;
    font-weight: 700;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

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

.agency-review-author-name {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9375rem;
    font-style: normal;
}

.agency-review-author-meta {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8125rem;
}

/* ==========================================================================
   11. Two-Column Split Promo Cards ("Advantages")
   ========================================================================== */
.agency-split-promo-section {
    padding: 60px 0 50px;
    border-bottom: 1px solid #f3f4f6;
    background: #ffffff;
}

.agency-split-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.agency-split-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 36px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.agency-split-badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--agency-primary, #eb3b8f);
    background: #fdf2f8;
    border: 1px solid #fbcfe8;
    padding: 4px 12px;
    border-radius: 9999px;
    margin-bottom: 16px;
}

.agency-split-badge-pink {
    color: #eb3b8f;
    background: #fdf2f8;
    border-color: #fbcfe8;
}

.agency-split-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px;
}

.agency-split-desc {
    color: var(--agency-text-muted, #4b5563);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0 0 24px;
}

.agency-advantages-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.agency-advantages-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.agency-check-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fdf2f8;
    color: var(--agency-primary, #eb3b8f);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.agency-advantage-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.agency-advantage-text strong {
    color: #111827;
    font-size: 0.9375rem;
}

.agency-advantage-text span {
    color: var(--agency-text-muted, #6b7280);
    font-size: 0.8125rem;
    line-height: 1.5;
}

.agency-onboarding-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.agency-highlight-item {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
}

.agency-highlight-stat {
    font-size: 1.375rem;
    font-weight: 800;
    color: #eb3b8f;
    margin-bottom: 4px;
}

.agency-highlight-lbl {
    font-size: 0.6875rem;
    color: #6b7280;
    line-height: 1.3;
}

.agency-onboarding-action {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.agency-btn-pink {
    background: linear-gradient(135deg, #eb3b8f 0%, #e91e63 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(235, 59, 143, 0.35);
    border-radius: 10px;
    padding: 12px 24px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.agency-btn-pink:hover {
    background: linear-gradient(135deg, #e91e63 0%, #eb3b8f 100%);
    box-shadow: 0 6px 20px rgba(235, 59, 143, 0.5);
    color: #fff;
    transform: translateY(-1px);
}

.agency-onboarding-note {
    font-size: 0.75rem;
    color: #6b7280;
    text-align: center;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .agency-cols-desktop-6 {
        grid-template-columns: repeat(3, 1fr);
    }
    .agency-cols-desktop-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .agency-split-grid {
        grid-template-columns: 1fr;
    }
    .agency-reviews-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .agency-announcement-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .agency-announcement-content {
        white-space: normal;
    }

    .agency-hero-section {
        padding: 36px 0 28px;
    }

    .agency-hero-header {
        margin-bottom: 24px;
    }

    .agency-hero-search-card {
        padding: 16px;
        border-radius: 12px;
        margin-bottom: 24px;
    }

    .agency-hero-search-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .agency-search-field-submit {
        grid-column: span 1 !important;
    }

    .agency-search-input,
    .agency-search-select {
        height: 44px;
        font-size: 0.9rem;
    }

    .agency-btn-search {
        width: 100%;
        height: 46px;
        justify-content: center;
    }

    .agency-hero-pills {
        margin-top: 14px;
        padding-top: 12px;
        gap: 6px;
    }

    .agency-pills-label {
        width: 100%;
        margin-bottom: 2px;
    }

    .agency-cols-mobile-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .agency-cols-mobile-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .agency-split-card {
        padding: 24px 18px;
        border-radius: 14px;
    }

    .agency-onboarding-highlights {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .agency-highlight-item {
        padding: 12px 6px;
    }

    .agency-highlight-stat {
        font-size: 1.15rem;
    }

    .agency-highlight-lbl {
        font-size: 0.65rem;
    }

    .agency-reviews-section {
        padding: 40px 0 30px;
    }

    .agency-review-card {
        padding: 20px 16px;
        border-radius: 12px;
    }
}

@media (max-width: 640px) {
    .agency-hero-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 14px 10px;
    }

    .agency-stat-divider {
        display: none;
    }

    .agency-stat-number {
        font-size: 1.25rem;
    }

    .agency-stat-label {
        font-size: 0.7rem;
    }

    .agency-tier-section {
        padding: 32px 0 24px;
    }

    .agency-showcase-header {
        margin-bottom: 20px;
    }

    .agency-showcase-title {
        font-size: 1.45rem;
    }

    .agency-showcase-description {
        font-size: 0.85rem;
    }

    .agency-onboarding-highlights {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .agency-highlight-item {
        padding: 12px 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }

    .agency-highlight-stat {
        margin-bottom: 0;
    }
}

@media (max-width: 360px) {
    .agency-cols-mobile-2,
    .agency-cols-mobile-3 {
        gap: 8px;
    }

    .agency-split-card {
        padding: 18px 12px;
    }
}
