/*
Theme Name: PRONET-SERWIS Demo
Theme URI: https://pronet-serwis.pl/
Author: PRONET-SERWIS
Description: Demo theme for PRONET-SERWIS homepage with offer sections, address search and ready visual assets.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: pronet-serwis-demo
*/

:root {
    --pronet-orange: #f36b19;
    --pronet-orange-dark: #d9550f;
    --pronet-graphite: #45484a;
    --pronet-navy: #071b4d;
    --pronet-blue: #12347a;
    --pronet-muted: #6a748b;
    --pronet-line: #dfe6f0;
    --pronet-soft: #f4f8fd;
    --pronet-shadow: 0 18px 45px rgba(14, 35, 80, .11);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--pronet-navy);
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.site-shell {
    width: min(1360px, calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .95);
    border-bottom: 1px solid rgba(223, 230, 240, .8);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: grid;
    grid-template-columns: 225px 1fr auto;
    gap: 28px;
    align-items: center;
    min-height: 78px;
}

.brand img {
    display: block;
    width: 205px;
}

.main-navigation ul {
    display: flex;
    justify-content: center;
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    font-weight: 800;
}

.main-navigation a {
    color: #142b62;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-phone {
    display: grid;
    line-height: 1.1;
    text-align: right;
}

.header-phone strong {
    font-size: 17px;
}

.header-phone small {
    color: var(--pronet-muted);
    font-size: 11px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 23px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-weight: 900;
    transition: .2s ease;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(180deg, #ff8129, var(--pronet-orange-dark));
    box-shadow: 0 12px 26px rgba(243, 107, 25, .25);
}

.btn-outline {
    color: var(--pronet-navy);
    background: #fff;
    border-color: #9aa8bf;
}

.hero {
    display: grid;
    grid-template-columns: 430px 1fr;
    gap: 40px;
    align-items: center;
    min-height: 420px;
    padding: 42px 0 12px;
}

.hero-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.02;
    letter-spacing: -1.4px;
}

.hero-copy p {
    margin: 0 0 28px;
    color: #263a66;
    font-size: 18px;
    line-height: 1.55;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-visual {
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(90deg, #fff, #f8fafc);
}

.hero-visual img {
    display: block;
    width: 100%;
}

.address-search {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 28px;
    align-items: center;
    margin: -20px auto 48px;
    padding: 20px 28px;
    border: 1px solid var(--pronet-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--pronet-shadow);
}

.address-title {
    display: flex;
    gap: 16px;
    align-items: center;
}

.address-icon {
    display: grid;
    place-items: center;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border: 2px solid #e7edf5;
    border-radius: 50%;
    color: var(--pronet-blue);
    font-size: 28px;
}

.address-title h2 {
    margin: 0 0 4px;
    font-size: 18px;
}

.address-title p {
    margin: 0;
    color: var(--pronet-muted);
    font-size: 13px;
}

.address-form {
    display: grid;
    grid-template-columns: 1fr 1fr .65fr auto;
    gap: 18px;
    align-items: end;
}

.address-form label {
    display: grid;
    gap: 6px;
    color: #36486d;
    font-size: 12px;
    font-weight: 800;
}

.address-form input,
.contact-form input,
.contact-form textarea {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid var(--pronet-line);
    border-radius: 6px;
    font: inherit;
}

.section {
    padding: 58px 0;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-heading h2 {
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 1.15;
}

.section-heading p {
    margin: 0;
    color: var(--pronet-muted);
    line-height: 1.6;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.offer-card,
.trust-card,
.news-card,
.contact-panel,
.kpo-panel {
    border: 1px solid var(--pronet-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(14, 35, 80, .06);
}

.offer-card {
    position: relative;
    min-height: 245px;
    padding: 30px;
}

.offer-card.featured {
    border-color: rgba(243, 107, 25, .55);
}

.badge {
    position: absolute;
    top: -1px;
    right: 24px;
    padding: 7px 16px;
    color: #fff;
    background: var(--pronet-orange);
    border-radius: 0 0 9px 9px;
    font-size: 11px;
    font-weight: 900;
}

.card-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    border-radius: 16px;
    color: var(--pronet-blue);
    background: #eef5ff;
    font-size: 28px;
}

.offer-card h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.price {
    margin: 0 0 16px;
    color: var(--pronet-orange);
    font-weight: 900;
}

.price strong {
    font-size: 42px;
    letter-spacing: -1px;
}

.offer-card ul,
.trust-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
    color: #33476d;
    line-height: 1.9;
}

.offer-card li::before,
.trust-card li::before {
    content: "✓";
    margin-right: 9px;
    color: var(--pronet-orange);
    font-weight: 900;
}

.coverage {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 28px;
    align-items: center;
    padding: 28px;
    border-radius: 18px;
    background: #eaf4ff;
}

.coverage h2 {
    margin: 0 0 12px;
    font-size: 30px;
}

.coverage p {
    color: #344a70;
    line-height: 1.55;
}

.coverage img {
    display: block;
    width: 100%;
    border-radius: 14px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.trust-card {
    padding: 24px;
}

.trust-card h3 {
    margin: 0 0 8px;
    font-size: 19px;
}

.trust-card p {
    margin: 0;
    color: var(--pronet-muted);
    line-height: 1.55;
}

.kpo-panel {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    gap: 22px;
    align-items: center;
    padding: 28px;
}

.kpo-mark {
    display: grid;
    place-items: center;
    width: 90px;
    height: 74px;
    color: #bd1e2c;
    border: 5px solid #bd1e2c;
    font-weight: 900;
    font-size: 24px;
}

.kpo-panel h2 {
    margin: 0 0 8px;
    font-size: 24px;
}

.kpo-panel p {
    margin: 0;
    color: var(--pronet-muted);
    line-height: 1.55;
}

.eu-badges {
    display: flex;
    gap: 10px;
}

.eu-badges span {
    display: grid;
    place-items: center;
    min-width: 82px;
    min-height: 44px;
    padding: 7px 10px;
    border: 1px solid var(--pronet-line);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.news-card {
    overflow: hidden;
}

.news-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 8;
    object-fit: cover;
}

.news-card-content {
    padding: 22px;
}

.news-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.news-card p {
    margin: 0 0 14px;
    color: var(--pronet-muted);
    line-height: 1.55;
}

.contact-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 24px;
}

.contact-panel {
    padding: 28px;
}

.contact-panel h2 {
    margin: 0 0 16px;
    font-size: 28px;
}

.contact-line {
    margin: 0 0 12px;
    color: #314567;
    line-height: 1.55;
}

.contact-form {
    display: grid;
    gap: 12px;
}

.contact-form textarea {
    min-height: 130px;
}

.site-footer {
    margin-top: 60px;
    padding: 28px 0;
    color: #68738a;
    border-top: 1px solid var(--pronet-line);
    font-size: 13px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
}

.simple-content {
    max-width: 900px;
    min-height: 420px;
    padding: 60px 0;
}

@media (max-width: 1100px) {
    .header-inner,
    .hero,
    .address-search,
    .coverage,
    .kpo-panel,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .main-navigation ul,
    .header-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .cards-grid,
    .trust-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .address-form {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .site-shell {
        width: min(100% - 28px, 1360px);
    }

    .cards-grid,
    .trust-grid,
    .news-grid,
    .address-form {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 26px;
    }

    .hero-copy h1 {
        font-size: 36px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}
