/* ============================================================
   PRIVATNET - TELEFONNÍ SLUŽBY
   assets/css/telefon.css
   Kompaktní verze
   ============================================================ */

.phone-page {
    background: #ffffff;
}


/* ============================================================
   HERO
   ============================================================ */

.phone-hero {
    position: relative;
    overflow: hidden;

    padding: 58px 20px 52px;

    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(34, 197, 94, 0.14),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #f8fafc 0%,
            #f0fdf4 100%
        );

    border-bottom: 1px solid #e5e7eb;
}

.phone-hero-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.phone-badge {
    display: inline-flex;
    align-items: center;

    margin-bottom: 14px;
    padding: 6px 13px;

    border: 1px solid #bbf7d0;
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.75);
    color: #15803d;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.03em;
}

.phone-hero h1 {
    max-width: 760px;

    margin: 0 auto 15px;

    color: #111827;

    font-size: clamp(32px, 4vw, 47px);
    line-height: 1.08;
    font-weight: 800;
}

.phone-hero h1 span {
    color: #22c55e;
}

.phone-hero p {
    max-width: 650px;

    margin: 0 auto;

    color: #64748b;

    font-size: 16px;
    line-height: 1.65;
}


/* ============================================================
   NABÍDKA
   ============================================================ */

.phone-services {
    max-width: 1050px;

    margin: 0 auto;
    padding: 52px 20px 55px;
}

.phone-services-heading {
    margin-bottom: 28px;
    text-align: center;
}

.phone-services-heading h2 {
    margin: 0 0 8px;

    color: #111827;

    font-size: 28px;
    font-weight: 800;
}

.phone-services-heading p {
    margin: 0;

    color: #64748b;

    font-size: 15px;
}


/* ============================================================
   GRID
   ============================================================ */

.phone-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 22px;
}


/* ============================================================
   KARTA
   ============================================================ */

.phone-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-width: 0;
    overflow: hidden;

    border: 1px solid #e5e7eb;
    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 8px 28px
        rgba(15, 23, 42, 0.06);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.phone-card:hover {
    transform: translateY(-4px);

    border-color: #86efac;

    box-shadow:
        0 15px 35px
        rgba(15, 23, 42, 0.10);
}


/* ============================================================
   OBRÁZEK
   ============================================================ */

.phone-card-visual {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 205px;

    padding: 22px;

    background:
        linear-gradient(
            145deg,
            #f8fafc,
            #f0fdf4
        );

    border-bottom: 1px solid #f1f5f9;
}

.phone-card-visual img {
    max-width: 85%;
    max-height: 165px;

    object-fit: contain;

    transition: transform 0.25s ease;
}

.phone-card:hover .phone-card-visual img {
    transform: scale(1.025);
}


/* ============================================================
   OBSAH KARTY
   ============================================================ */

.phone-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding: 25px;
}

.phone-card-label {
    margin-bottom: 7px;

    color: #16a34a;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.phone-card h2 {
    margin: 0 0 10px;

    color: #111827;

    font-size: 25px;
    font-weight: 800;
}

.phone-card-description {
    margin: 0 0 19px;

    color: #64748b;

    font-size: 14px;
    line-height: 1.6;
}


/* ============================================================
   VÝHODY
   ============================================================ */

.phone-features {
    display: grid;

    gap: 9px;

    margin: 0 0 22px;
    padding: 0;

    list-style: none;
}

.phone-features li {
    position: relative;

    padding-left: 26px;

    color: #374151;

    font-size: 13px;
    line-height: 1.45;
}

.phone-features li::before {
    position: absolute;

    top: 0;
    left: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 18px;
    height: 18px;

    border-radius: 50%;

    background: #dcfce7;
    color: #16a34a;

    content: "✓";

    font-size: 10px;
    font-weight: 900;
}


/* ============================================================
   CENA
   ============================================================ */

.phone-price {
    margin-top: auto;
    padding-top: 5px;
}

.phone-price-label {
    display: block;

    margin-bottom: 1px;

    color: #94a3b8;

    font-size: 11px;
}

.phone-price-value {
    color: #111827;

    font-size: 29px;
    font-weight: 800;
    line-height: 1.2;
}

.phone-price-value small {
    color: #64748b;

    font-size: 13px;
    font-weight: 500;
}

.phone-price-note {
    margin-top: 5px;

    color: #94a3b8;

    font-size: 11px;
    line-height: 1.45;
}


/* ============================================================
   TLAČÍTKA
   ============================================================ */

.phone-card-actions {
    display: flex;

    gap: 9px;

    margin-top: 19px;
}

.phone-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 41px;

    padding: 9px 17px;

    border-radius: 8px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.phone-button-primary {
    border: 1px solid #22c55e;

    background: #22c55e;
    color: #ffffff;
}

.phone-button-primary:hover {
    border-color: #16a34a;

    background: #16a34a;
    color: #ffffff;
}

.phone-button-secondary {
    border: 1px solid #d1d5db;

    background: #ffffff;
    color: #374151;
}

.phone-button-secondary:hover {
    border-color: #22c55e;

    background: #f0fdf4;
    color: #15803d;
}


/* ============================================================
   FIREMNÍ KARTA
   ============================================================ */

.phone-card-business {
    border-color: #d1fae5;
}

.phone-card-business .phone-card-visual {
    background:
        linear-gradient(
            145deg,
            #f8fafc,
            #ecfdf5
        );
}

.phone-business-badge {
    position: absolute;

    top: 14px;
    right: 14px;
    z-index: 2;

    padding: 6px 10px;

    border-radius: 999px;

    background: #111827;
    color: #ffffff;

    box-shadow:
        0 4px 12px
        rgba(15, 23, 42, 0.12);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.08em;
}


/* ============================================================
   SPODNÍ CTA
   ============================================================ */

.phone-info-section {
    padding: 0 20px 60px;
}

.phone-info {
    display: grid;

    grid-template-columns: 1.4fr auto;

    gap: 30px;

    align-items: center;

    max-width: 1050px;

    margin: 0 auto;
    padding: 31px 34px;

    border-radius: 17px;

    background:
        linear-gradient(
            135deg,
            #111827,
            #1f2937
        );

    color: #ffffff;
}

.phone-info h2 {
    margin: 0 0 8px;

    color: #ffffff;

    font-size: 25px;
    font-weight: 800;
}

.phone-info p {
    max-width: 650px;

    margin: 0;

    color: #cbd5e1;

    font-size: 14px;
    line-height: 1.6;
}

.phone-info-action {
    text-align: right;
}

.phone-info .phone-button {
    min-width: 170px;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 800px) {

    .phone-hero {
        padding: 45px 20px;
    }

    .phone-services {
        padding-top: 45px;
    }

    .phone-grid {
        grid-template-columns: 1fr;

        max-width: 600px;
        margin: 0 auto;
    }

    .phone-card-visual {
        height: 190px;
    }

    .phone-info {
        grid-template-columns: 1fr;

        max-width: 600px;

        padding: 27px 25px;
    }

    .phone-info-action {
        text-align: left;
    }
}


/* ============================================================
   MOBIL
   ============================================================ */

@media (max-width: 500px) {

    .phone-hero {
        padding: 38px 16px;
    }

    .phone-hero h1 {
        font-size: 31px;
    }

    .phone-hero p {
        font-size: 14px;
    }

    .phone-services {
        padding: 40px 14px 45px;
    }

    .phone-services-heading {
        margin-bottom: 22px;
    }

    .phone-services-heading h2 {
        font-size: 24px;
    }

    .phone-card-visual {
        height: 170px;
    }

    .phone-card-content {
        padding: 21px 19px;
    }

    .phone-card h2 {
        font-size: 22px;
    }

    .phone-card-actions {
        flex-direction: column;
    }

    .phone-button {
        width: 100%;
    }

    .phone-price-value {
        font-size: 26px;
    }

    .phone-info-section {
        padding: 0 14px 50px;
    }

    .phone-info {
        padding: 25px 20px;
    }

    .phone-info h2 {
        font-size: 22px;
    }
}