/**
 * views/site/prices.php — BEM-блок .prices
 */

.prices__hero {
    margin-top: -80px;
    padding-top: 80px;
    background-color: var(--color-brand);
    color: var(--color-white);
    text-align: left;
    margin-bottom: 0;
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
}

.prices__hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(200, 230, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.prices__hero .container {
    position: relative;
    z-index: 2;
    background-color: transparent;
}

.prices__hero h1 {
    font-size: 3.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--color-accent);
}

.prices__hero p {
    font-size: 1.4rem;
    max-width: 800px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.prices__section {
    text-align: center;
    padding: 60px 0;
    background-color: var(--color-white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    margin-bottom: 30px;
}

.prices__panel {
    background-color: var(--color-white);
    padding: 60px 0;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    margin-bottom: 30px;
}

.prices__panel--center {
    text-align: center;
}

.prices__heading {
    text-align: center;
    margin-bottom: 40px;
}

.prices__heading h2 {
    font-weight: bold;
    color: var(--color-brand);
    position: relative;
    padding-bottom: 15px;
}

.prices__heading h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--color-accent);
}

.prices__panel .row > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.prices__card {
    background: var(--color-white);
    border-radius: var(--radius-card);
    padding: 30px;
    transition: all 0.3s ease;
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.prices__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.prices__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--color-accent);
}

.prices__card h3,
.prices__card h4 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: var(--color-text);
    font-weight: 600;
}

.prices__card h5 {
    font-size: 1.1rem;
    color: var(--color-brand);
    margin-bottom: 15px;
    font-weight: normal;
}

.prices__card--featured {
    border: 2px solid var(--color-brand);
}

.prices__badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--color-brand);
    color: var(--color-white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.prices__icon {
    width: 65px;
    height: 65px;
    margin-bottom: 15px;
}

.prices__price-tag {
    margin-bottom: 20px;
}

.prices__price-tag .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-brand);
}

.prices__price-tag .period {
    color: var(--color-muted);
    font-size: 0.95rem;
}

.prices__features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    flex: 1;
}

.prices__features span {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
}

.prices__features i {
    color: var(--color-accent);
    margin-top: 3px;
}

.prices__btn {
    display: inline-block;
    background-color: var(--color-brand);
    color: var(--color-white);
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    margin-top: auto;
    align-self: flex-start;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 2px solid var(--color-brand);
}

.prices__btn:hover {
    background-color: var(--color-accent);
    color: var(--color-brand);
    transform: translateY(-2px);
    text-decoration: none;
    border-color: var(--color-accent);
}

.prices__box {
    padding: 20px;
    margin-bottom: 30px;
    background-color: var(--color-bg);
    border-radius: 5px;
}

.prices__box h3 {
    color: var(--color-brand);
    font-weight: bold;
    margin: 20px 0;
}

.prices__feature {
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.prices__feature h3 {
    color: var(--color-brand);
    font-weight: bold;
    margin: 20px 0;
}

.prices__feature .price {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--color-brand);
}

@media (max-width: 768px) {
    .prices__hero {
        padding: 100px 0 60px 0;
        min-height: 50vh;
    }

    .prices__hero h1 {
        font-size: 2.5rem;
    }
}
