/* ============================================
   IMPLANTREHBERI.COM - BRAND PAGE STYLES
   Premium Brand Profile Design
   ============================================ */

/* ============================================
   BRAND HERO SECTION
   ============================================ */
.brand-hero {
    background: linear-gradient(135deg, #1A2B48 0%, #2c4063 50%, #1A2B48 100%);
    padding: 3rem 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.brand-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 20% 80%, rgba(42, 157, 143, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

@media (min-width: 768px) {
    .brand-hero {
        padding: 4rem 0;
    }
}

.brand-hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .brand-hero__content {
        flex-direction: row;
        text-align: left;
        gap: 2.5rem;
    }
}

.brand-hero__logo {
    width: 120px;
    height: 120px;
    background: #fff;
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.brand-hero__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-hero__info {
    flex: 1;
}

.brand-hero__title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .brand-hero__title {
        font-size: 2.5rem;
    }
}

.brand-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
    .brand-hero__meta {
        justify-content: flex-start;
    }
}

.brand-hero__meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-hero__meta-item svg {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

.brand-hero__segment {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-hero__segment--premium {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(217, 119, 6, 0.3));
    border-color: rgba(245, 158, 11, 0.5);
}

.brand-hero__segment--mid {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(37, 99, 235, 0.3));
    border-color: rgba(59, 130, 246, 0.5);
}

.brand-hero__segment--economy {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(22, 163, 74, 0.3));
    border-color: rgba(34, 197, 94, 0.5);
}

/* Stats Row */
.brand-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    justify-content: center;
}

@media (min-width: 768px) {
    .brand-hero__stats {
        justify-content: flex-start;
    }
}

.brand-hero__stat {
    text-align: center;
}

@media (min-width: 768px) {
    .brand-hero__stat {
        text-align: left;
    }
}

.brand-hero__stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    display: block;
}

.brand-hero__stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   BRAND CONTENT GRID
   ============================================ */
.brand-content {
    padding: 2.5rem 0;
    background: var(--color-bg);
}

@media (min-width: 768px) {
    .brand-content {
        padding: 3.5rem 0;
    }
}

.brand-content__grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .brand-content__grid {
        grid-template-columns: 1fr 340px;
        gap: 3rem;
    }
}

.brand-content__main {
    min-width: 0;
}

.brand-content__sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .brand-content__sidebar {
        position: sticky;
        top: 90px;
        align-self: flex-start;
    }
}

/* ============================================
   BRAND SECTIONS
   ============================================ */
.brand-section {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.brand-section:last-child {
    margin-bottom: 0;
}

.brand-section__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1A2B48;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-section__title::before {
    content: '';
    width: 4px;
    height: 1.25em;
    background: linear-gradient(180deg, #2A9D8F, #1a7a6f);
    border-radius: 2px;
}

.brand-section__description {
    color: #4b5563;
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* ============================================
   PRODUCT FAMILIES
   ============================================ */
.product-families {
    display: grid;
    gap: 1rem;
}

.product-family {
    padding: 1.25rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.product-family:hover {
    border-color: #2A9D8F;
    background: #f0fdf9;
}

.product-family__name {
    font-size: 1rem;
    font-weight: 600;
    color: #1A2B48;
    margin: 0 0 0.375rem 0;
}

.product-family__description {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* ============================================
   REVIEWS LIST
   ============================================ */
.brand-reviews {
    display: grid;
    gap: 1rem;
}

.brand-review-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    transition: all 0.2s ease;
}

.brand-review-card:hover {
    border-color: #2A9D8F;
    background: #fff;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.brand-review-card__info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.brand-review-card__title {
    font-size: 1rem;
    font-weight: 600;
    color: #1A2B48;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-review-card__excerpt {
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.4;
}

.brand-review-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
}

.brand-review-card__badge--best_value {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.brand-review-card__badge--innovation {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.brand-review-card__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #2A9D8F;
    color: #fff;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.brand-review-card:hover .brand-review-card__arrow {
    background: #238b7e;
    transform: translateX(2px);
}

.brand-review-card__arrow svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   SIDEBAR CARDS
   ============================================ */
.brand-sidebar-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.brand-sidebar-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: #1A2B48;
    margin: 0 0 1rem 0;
}

/* Quick Info */
.brand-quick-info {
    display: grid;
    gap: 0.75rem;
}

.brand-quick-info__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.brand-quick-info__row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.brand-quick-info__label {
    font-size: 0.8125rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-quick-info__label svg {
    width: 16px;
    height: 16px;
    opacity: 0.6;
}

.brand-quick-info__value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1A2B48;
}

/* Website Button */
.brand-website-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #2A9D8F, #1a7a6f);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.brand-website-btn:hover {
    background: linear-gradient(135deg, #238b7e, #156b60);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(42, 157, 143, 0.3);
}

.brand-website-btn svg {
    width: 18px;
    height: 18px;
}

/* Empty State */
.brand-empty {
    text-align: center;
    padding: 2rem;
    color: #64748b;
}

.brand-empty__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    opacity: 0.4;
}

.brand-empty__text {
    font-size: 0.9375rem;
}

/* ============================================
   BREADCRUMBS OVERRIDE
   ============================================ */
.brand-breadcrumbs {
    padding: 0.875rem 0;
    font-size: 0.8125rem;
    color: #64748b;
    background: #f8fafc;
}

/* ============================================
   DISTRIBUTOR CARD - CLEAN MINIMAL DESIGN
   ============================================ */
.brand-distributor-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    border-left: 4px solid #2A9D8F;
}

.brand-distributor-card__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.brand-distributor-card__icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2A9D8F, #1a7a6f);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-distributor-card__icon svg {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px;
    max-width: 20px;
    color: #fff;
    stroke: #fff;
}

.brand-distributor-card__header-text {
    flex: 1;
    min-width: 0;
}

.brand-distributor-card__badge {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    background: #f0fdf9;
    color: #2A9D8F;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    margin-bottom: 0.25rem;
}

.brand-distributor-card__name,
.brand-distributor-card h3.brand-distributor-card__name,
h3.brand-distributor-card__name {
    font-size: 1rem;
    font-weight: 700;
    color: #1A2B48 !important;
    margin: 0;
    line-height: 1.3;
}

.brand-distributor-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.brand-distributor-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.brand-distributor-card__btn svg {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px;
    max-width: 16px;
    flex-shrink: 0;
}

.brand-distributor-card__btn--phone {
    background: #22c55e;
    color: #fff;
}

.brand-distributor-card__btn--phone:hover {
    background: #16a34a;
}

.brand-distributor-card__btn--email {
    background: #3b82f6;
    color: #fff;
}

.brand-distributor-card__btn--email:hover {
    background: #2563eb;
}

.brand-distributor-card__info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.brand-distributor-card__info-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: #4b5563;
}

.brand-distributor-card__info-row svg {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px;
    max-width: 16px;
    color: #2A9D8F;
    flex-shrink: 0;
}

.brand-distributor-card__info-row a {
    color: #2A9D8F;
    text-decoration: none;
}

.brand-distributor-card__info-row a:hover {
    color: #1a7a6f;
    text-decoration: underline;
}

.brand-distributor-card__info-row--address {
    align-items: flex-start;
}

.brand-distributor-card__info-row--address svg {
    margin-top: 0.125rem;
}

.brand-distributor-card__info-row--address span {
    line-height: 1.5;
}