/* =========================
   PODSTAWOWE USTAWIENIA
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #1E293B;
    background: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* =========================
   MENU
========================= */

header {
    width: 100%;
    background: linear-gradient(90deg, #07152E, #0F2348);
    border-bottom: 1px solid rgba(96, 165, 250, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.topbar {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 15px 4%;
    display: grid;
    grid-template-columns: 300px minmax(500px, 1fr) 190px;
    align-items: center;
    gap: 25px;
}

.logo-link {
    display: inline-flex;
    align-items: center;
}

.logo {
    display: block;
    width: 290px;
    max-width: 100%;
}

.topbar ul {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 25px;
    list-style: none;
}

.topbar ul a {
    position: relative;
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    padding: 12px 8px;
    white-space: nowrap;
    transition: 0.25s;
}

.topbar ul a::after {
    content: "";
    position: absolute;
    left: 8px;
    bottom: 4px;
    width: 0;
    height: 3px;
    background: #1473FF;
    border-radius: 5px;
    transition: 0.25s;
}

.topbar ul a:hover {
    color: #60A5FA;
}

.topbar ul a:hover::after {
    width: calc(100% - 16px);
}

.top-contact {
    display: inline-block;
    background: linear-gradient(135deg, #1473FF, #0057E7);
    color: #ffffff;
    text-decoration: none;
    text-align: center;
    padding: 14px 20px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 8px 30px rgba(20, 115, 255, 0.25);
    transition: 0.25s;
}

.top-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(20, 115, 255, 0.4);
}

/* =========================
   HERO STRONY GŁÓWNEJ
========================= */

#start {
    min-height: 720px;
    padding: 80px 5% 40px;
    background-image:
        linear-gradient(
            90deg,
            rgba(5, 18, 42, 0.97) 0%,
            rgba(5, 18, 42, 0.93) 28%,
            rgba(5, 18, 42, 0.68) 48%,
            rgba(5, 18, 42, 0.06) 76%
        ),
        url("images/tomex-hero.png");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: #ffffff;
    text-align: left;
}

.hero-content {
    width: 100%;
    max-width: 750px;
}

.hero-content h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(50px, 5vw, 78px);
    line-height: 1.02;
    letter-spacing: -2px;
    font-weight: 700;
    margin-bottom: 25px;
}

.hero-content h1 span {
    color: #1473FF;
}

.hero-line {
    width: 340px;
    max-width: 70%;
    height: 4px;
    background: linear-gradient(90deg, #1473FF, transparent);
    margin-bottom: 25px;
}

.hero-content p {
    width: 100%;
    max-width: 560px;
    font-size: 21px;
    color: #E2E8F0;
    margin-bottom: 30px;
}

.kontakt-btn {
    display: inline-flex;
    align-items: center;
    gap: 35px;
    background: linear-gradient(135deg, #1473FF, #0064F0);
    color: #ffffff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    padding: 16px 28px;
    border-radius: 14px;
    box-shadow: 0 10px 35px rgba(20, 115, 255, 0.35);
    transition: 0.25s;
}

.kontakt-btn span {
    font-size: 24px;
}

.kontakt-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(20, 115, 255, 0.5);
}

/* =========================
   HERO - ZALETY
========================= */

.hero-benefits {
    width: 58%;
    max-width: 760px;
    margin-top: 45px;
    padding: 16px 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 15px;
    background: rgba(4, 30, 68, 0.92);
    backdrop-filter: blur(7px);
    border: 1px solid rgba(96, 165, 250, 0.32);
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.18);
}

.benefit {
    min-height: 70px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.benefit-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff, #DBEAFE);
    color: #154A9A;
    font-size: 22px;
    font-weight: bold;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.benefit > div:last-child {
    display: flex;
    flex-direction: column;
}

.benefit strong {
    color: #ffffff;
    font-size: 15px;
}

.benefit span {
    color: #CBD5E1;
    font-size: 13px;
}

/* =========================
   CYTAT
========================= */

.quote-wrapper {
    padding: 30px 5% 120px;
    background: linear-gradient(
        180deg,
        #0B3B80 0%,
        #EAF3FF 75%,
        #EFF6FF 100%
    );
}

.quote-bar {
    width: 100%;
    min-height: 145px;
    margin: auto;
    padding: 20px 35px;
    display: grid;
    grid-template-columns: 170px 2px 1fr 150px;
    align-items: center;
    gap: 30px;
    background: linear-gradient(100deg, #F8FBFF, #D9EBFF);
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.12);
}

.quote-logo {
    width: 160px;
    max-width: 100%;
}

.quote-divider {
    width: 2px;
    height: 90px;
    background: #1E3A8A;
}

.quote-text p {
    color: #183A7B;
    font-size: 23px;
    font-style: italic;
}

.quote-text strong {
    display: block;
    margin-top: 8px;
    color: #1473FF;
    font-size: 20px;
    letter-spacing: 3px;
}

.quote-chart {
    text-align: center;
    color: rgba(20, 115, 255, 0.35);
    font-size: 100px;
}

/* =========================
   O NAS
========================= */

#onas {
    scroll-margin-top: 150px;
    padding: 115px 7% 110px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #EFF6FF;
    text-align: center;
}

.onas-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.onas-logo {
    width: 340px;
    max-width: 85%;
    margin-bottom: 34px;
}

.onas-title {
    max-width: 900px;
    margin: 0 auto 40px;
    color: #183A7B;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 3.15vw, 46px);
    line-height: 1.22;
}

.onas-text {
    width: 100%;
    max-width: 980px;
    margin: 0 auto 52px;
    display: grid;
    gap: 21px;
    color: #475569;
    font-size: 21px;
    line-height: 1.75;
}

.onas-text strong {
    color: #0F172A;
}

.onas-stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.onas-stat {
    min-height: 240px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #D5E7FF;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.07);
    transition: 0.25s;
}

.onas-stat:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.stat-value {
    display: block;
    color: #1473FF;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 50px;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 13px;
}

.stat-text {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 23px;
    letter-spacing: 0.3px;
}

.stat-title {
    display: block;
    color: #0F172A;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
}

.onas-stat p {
    color: #64748B;
    font-size: 16px;
    line-height: 1.55;
}

/* =========================
   ODDZIELENIE SEKCJI
========================= */

.section-separator {
    height: 90px;
    background: linear-gradient(
        180deg,
        #EFF6FF 0%,
        #DCEBFF 50%,
        #D7E8FF 100%
    );
    border-top: 1px solid #D4E4F7;
    border-bottom: 1px solid #C9DDF5;
}

/* =========================
   USŁUGI
========================= */

#uslugi {
    min-height: 100vh;
    padding: 120px 6% 130px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-content: center;
    gap: 26px;
    background: linear-gradient(
        180deg,
        #D7E8FF 0%,
        #EAF3FF 26%,
        #F5F9FF 100%
    );
    text-align: center;
    scroll-margin-top: 120px;
    border-top: 1px solid #C6DCF6;
    border-bottom: 1px solid #D8E6F5;
}

.uslugi-title {
    grid-column: 1 / -1;
    margin-bottom: 45px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(54px, 5vw, 76px);
    line-height: 1;
    letter-spacing: -2px;
    color: #0F2348;
}

.uslugi-title::after {
    content: "";
    display: block;
    width: 180px;
    height: 4px;
    margin: 22px auto 0;
    border-radius: 10px;
    background: linear-gradient(90deg, #0F4DB8, #1473FF, #60A5FA);
}

.usluga {
    position: relative;
    min-height: 290px;
    padding: 38px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(
        150deg,
        rgba(255,255,255,0.98),
        rgba(239,246,255,0.94)
    );
    border: 1px solid rgba(20, 115, 255, 0.16);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
    transition: 0.25s;
}

.usluga::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #0F4DB8, #1473FF, #60A5FA);
}

.usluga::after {
    content: "";
    position: absolute;
    right: -55px;
    bottom: -55px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(20, 115, 255, 0.11),
        rgba(20, 115, 255, 0)
    );
}

.usluga:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.14);
}

.usluga h3 {
    position: relative;
    z-index: 2;
    max-width: 270px;
    color: #0F4DB8;
    font-size: 22px;
    line-height: 1.28;
    margin-bottom: 18px;
    font-weight: 800;
}

.usluga p {
    position: relative;
    z-index: 2;
    max-width: 290px;
    color: #55657A;
    font-size: 17px;
    line-height: 1.6;
}

/* =========================
   CENNIK
========================= */

#cennik {
    min-height: 100vh;
    padding: 120px 6% 130px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(
        180deg,
        #F8FBFF 0%,
        #EDF5FF 50%,
        #E4F0FF 100%
    );
    text-align: center;
    scroll-margin-top: 110px;
    border-top: 1px solid #D6E6F8;
    border-bottom: 1px solid #D6E6F8;
}

.cennik-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.cennik-heading {
    max-width: 800px;
    margin: 0 auto 60px;
}

.cennik-logo {
    width: 250px;
    max-width: 80%;
    margin-bottom: 20px;
}

.cennik-heading h2 {
    margin: 0;
    color: #0F2348;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(54px, 5vw, 76px);
    line-height: 1;
    letter-spacing: -2px;
}

.cennik-line {
    width: 150px;
    height: 4px;
    margin: 24px auto;
    border-radius: 10px;
    background: linear-gradient(90deg, #0F4DB8, #1473FF, #60A5FA);
}

.cennik-heading p {
    max-width: 650px;
    margin: auto;
    color: #64748B;
    font-size: 19px;
    line-height: 1.7;
}

.cennik-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.cena {
    position: relative;
    min-height: 410px;
    padding: 38px 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(150deg, #FFFFFF 0%, #F5F9FF 100%);
    border: 1px solid rgba(20, 115, 255, 0.15);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
    transition: 0.25s;
}

.cena::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #0F4DB8, #1473FF, #60A5FA);
}

.cena::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    right: -70px;
    bottom: -70px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(20, 115, 255, 0.10),
        transparent 70%
    );
}

.cena:hover {
    transform: translateY(-9px);
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.14);
}

.cena-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #E4F0FF, #FFFFFF);
    border: 1px solid #CFE2FF;
    border-radius: 16px;
    color: #1473FF;
    font-size: 27px;
    font-weight: 800;
}

.cena h3 {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: #0F2348;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.25;
}

.cena-divider {
    width: 45px;
    height: 2px;
    margin-bottom: 18px;
    background: #C9DDF7;
    border-radius: 10px;
}

.cena-od {
    margin-bottom: -4px;
    color: #94A3B8;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cena-kwota {
    margin: 0;
    color: #1473FF;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 54px;
    font-weight: 800;
    line-height: 1.15;
}

.cena-kwota span {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
    font-weight: 700;
}

.cena-okres {
    margin-bottom: 22px;
    color: #64748B;
    font-size: 14px;
}

.cena-opis {
    max-width: 260px;
    margin-top: auto;
    color: #64748B;
    font-size: 15px;
    line-height: 1.6;
}

.cena-wyrozniona {
    border: 1px solid rgba(20, 115, 255, 0.30);
    box-shadow: 0 18px 45px rgba(20, 115, 255, 0.12);
}

.cennik-info {
    width: 100%;
    max-width: 1050px;
    margin: 45px auto 0;
    padding: 22px 28px;
    display: grid;
    grid-template-columns: 45px 1fr auto;
    align-items: center;
    gap: 20px;
    text-align: left;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid #D6E6FA;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.cennik-info-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #1473FF;
    color: white;
    font-size: 22px;
    font-weight: bold;
}

.cennik-info p {
    color: #64748B;
    font-size: 15px;
    line-height: 1.55;
}

.cennik-info strong {
    color: #0F2348;
}

.cennik-info a {
    padding: 12px 18px;
    border-radius: 11px;
    background: #1473FF;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

/* =========================
   KONTAKT
========================= */

#kontakt {
    min-height: 100vh;
    padding: 120px 7% 110px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(
        circle at 80% 20%,
        #173F7A 0%,
        #0B244D 35%,
        #07152E 75%
    );
    color: #ffffff;
    text-align: center;
    scroll-margin-top: 110px;
}

.kontakt-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

#kontakt h2 {
    margin: 0;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 5vw, 70px);
    line-height: 1.05;
    letter-spacing: -1.5px;
}

.kontakt-line {
    width: 150px;
    height: 4px;
    margin: 25px auto;
    border-radius: 10px;
    background: linear-gradient(90deg, #1473FF, #60A5FA, #93C5FD);
}

.kontakt-opis {
    width: 100%;
    max-width: 750px;
    margin: 0 auto 55px;
    color: #CBD5E1;
    font-size: 19px;
    line-height: 1.75;
}

.kontakt-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.kontakt-card {
    min-height: 250px;
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(147, 197, 253, 0.20);
    border-radius: 22px;
    backdrop-filter: blur(8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: 0.25s;
}

.kontakt-card:hover {
    transform: translateY(-7px);
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(96, 165, 250, 0.55);
}

.kontakt-link {
    color: inherit;
    text-decoration: none;
}

.kontakt-icon {
    width: 62px;
    height: 62px;
    margin-bottom: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #1473FF, #0F4DB8);
    color: #ffffff;
    font-size: 27px;
    box-shadow: 0 10px 30px rgba(20, 115, 255, 0.28);
}

.kontakt-label {
    margin-bottom: 9px;
    color: #93C5FD;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.kontakt-card strong {
    color: #ffffff;
    font-size: 21px;
    line-height: 1.4;
}

.kontakt-card p {
    margin-top: 5px;
    color: #CBD5E1;
    font-size: 16px;
}

/* =========================
   MAPA GOOGLE
========================= */

.kontakt-mapa {
    width: 100%;
    margin-top: 55px;
}

.mapa-header {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
}

.mapa-header span {
    color: #93C5FD;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mapa-header strong {
    color: #ffffff;
    font-size: 17px;
}

.mapa-wrapper {
    width: 100%;
    height: 430px;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(147, 197, 253, 0.25);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.mapa-wrapper iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* =========================
   DÓŁ KONTAKTU
========================= */

.kontakt-bottom {
    margin-top: 45px;
    padding-top: 30px;
    border-top: 1px solid rgba(147, 197, 253, 0.18);
}

.kontakt-bottom p {
    color: #94A3B8;
    font-size: 15px;
    line-height: 1.7;
}

.kontakt-bottom strong {
    color: #ffffff;
    font-size: 17px;
}

/* =========================
   STOPKA
========================= */

footer {
    padding: 30px 5%;
    background: #030B19;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    color: #94A3B8;
}

.footer-logo {
    width: 210px;
    max-width: 100%;
}

/* =========================================================
   PODSTRONA: KSIĘGOWOŚĆ KIELCE
========================================================= */

.service-hero {
    min-height: 650px;
    padding: 100px 7% 90px;
    display: flex;
    align-items: center;
    background-image:
        linear-gradient(
            90deg,
            rgba(5, 18, 42, 0.98) 0%,
            rgba(5, 18, 42, 0.94) 35%,
            rgba(5, 18, 42, 0.70) 58%,
            rgba(5, 18, 42, 0.18) 100%
        ),
        url("images/tomex-hero.png");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    color: #ffffff;
}

.service-hero-inner {
    width: 100%;
    max-width: 850px;
}

.service-eyebrow {
    display: block;
    margin-bottom: 20px;
    color: #60A5FA;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.service-hero h1 {
    max-width: 850px;
    margin: 0;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(58px, 6vw, 90px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -2px;
}

.service-hero h1 span {
    display: block;
    color: #1473FF;
}

.service-line {
    width: 260px;
    height: 4px;
    margin: 30px 0 28px;
    border-radius: 10px;
    background: linear-gradient(90deg, #1473FF, #60A5FA, transparent);
}

.service-hero p {
    width: 100%;
    max-width: 680px;
    margin: 0;
    color: #E2E8F0;
    font-size: 21px;
    line-height: 1.7;
}

.service-actions {
    margin-top: 35px;
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.service-phone {
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    transition: 0.25s;
}

.service-phone:hover {
    color: #60A5FA;
}

/* =========================
   WSPÓLNY CONTAINER
========================= */

.service-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.service-section-label {
    display: block;
    margin-bottom: 14px;
    color: #1473FF;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-align: center;
}

.service-heading-line {
    width: 150px;
    height: 4px;
    margin: 26px auto 38px;
    border-radius: 10px;
    background: linear-gradient(90deg, #0F4DB8, #1473FF, #60A5FA);
}

/* =========================
   WPROWADZENIE PODSTRONY
========================= */

.service-intro {
    padding: 115px 7%;
    background: linear-gradient(180deg, #F8FBFF 0%, #EFF6FF 100%);
    text-align: center;
}

.service-intro h2 {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    color: #0F2348;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 4vw, 60px);
    line-height: 1.18;
    letter-spacing: -1px;
}

.service-lead {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 23px;
    color: #53657B;
    font-size: 20px;
    line-height: 1.8;
}

.service-lead:last-child {
    margin-bottom: 0;
}

.service-lead strong {
    color: #0F2348;
}

/* =========================
   ZAKRES OBSŁUGI PODSTRONY
========================= */

.service-scope {
    padding: 115px 7% 125px;
    background: linear-gradient(
        180deg,
        #DCEBFF 0%,
        #EAF3FF 40%,
        #F5F9FF 100%
    );
    text-align: center;
    border-top: 1px solid #D0E2F8;
    border-bottom: 1px solid #D8E6F5;
}

.service-scope h2 {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    color: #0F2348;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 4vw, 60px);
    line-height: 1.18;
    letter-spacing: -1px;
}

.service-grid {
    width: 100%;
    margin-top: 55px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    align-items: stretch;
}

.service-card {
    position: relative;
    min-height: 300px;
    padding: 38px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(150deg, #FFFFFF 0%, #F5F9FF 100%);
    border: 1px solid rgba(20, 115, 255, 0.16);
    border-radius: 22px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
    transition: 0.25s;
}

.service-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #0F4DB8, #1473FF, #60A5FA);
}

.service-card::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(20, 115, 255, 0.11),
        rgba(20, 115, 255, 0)
    );
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(20, 115, 255, 0.40);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.14);
}

.service-card-icon {
    position: relative;
    z-index: 2;
    width: 62px;
    height: 62px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #E4F0FF, #FFFFFF);
    border: 1px solid #CFE2FF;
    color: #1473FF;
    font-size: 28px;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(20, 115, 255, 0.10);
}

.service-card h3 {
    position: relative;
    z-index: 2;
    margin-bottom: 15px;
    color: #0F4DB8;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.3;
}

.service-card p {
    position: relative;
    z-index: 2;
    max-width: 300px;
    margin: 0;
    color: #5B6B80;
    font-size: 16px;
    line-height: 1.65;
}

/* =========================
   DLACZEGO TOMEX
========================= */

.service-why {
    padding: 115px 7% 125px;
    background: linear-gradient(180deg, #F8FBFF 0%, #EFF6FF 100%);
    text-align: center;
}

.service-why h2 {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    color: #0F2348;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 4vw, 60px);
    line-height: 1.18;
    letter-spacing: -1px;
}

.why-grid {
    width: 100%;
    margin-top: 55px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.why-item {
    min-height: 290px;
    padding: 36px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #D5E7FF;
    border-radius: 21px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.07);
    transition: 0.25s;
}

.why-item:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

.why-number,
.why-symbol {
    display: block;
    margin-bottom: 18px;
    color: #1473FF;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.why-item h3 {
    margin-bottom: 13px;
    color: #0F2348;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
}

.why-item p {
    margin: 0;
    color: #64748B;
    font-size: 15px;
    line-height: 1.65;
}

/* =========================
   CTA PODSTRONY
========================= */

.service-cta {
    padding: 115px 7%;
    background: radial-gradient(
        circle at 80% 20%,
        #173F7A 0%,
        #0B244D 38%,
        #07152E 78%
    );
    color: #ffffff;
    text-align: center;
}

.service-cta-inner {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

.service-cta-inner > span {
    display: block;
    margin-bottom: 15px;
    color: #60A5FA;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 4px;
}

.service-cta h2 {
    margin: 0;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(46px, 5vw, 68px);
    line-height: 1.1;
    letter-spacing: -1px;
}

.service-cta p {
    width: 100%;
    max-width: 680px;
    margin: 25px auto 0;
    color: #CBD5E1;
    font-size: 19px;
    line-height: 1.7;
}

.service-cta-buttons {
    margin-top: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.service-mail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 15px 27px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: 0.25s;
}

.service-mail-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(96, 165, 250, 0.7);
}

/* =========================
   MINI KONTAKT PODSTRONY
========================= */

.service-contact {
    padding: 55px 7%;
    background: #030B19;
    border-top: 1px solid rgba(96, 165, 250, 0.12);
}

.service-contact-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    align-items: center;
}

.service-contact-grid > div {
    padding: 10px 20px;
    text-align: center;
}

.service-contact-grid > div:not(:last-child) {
    border-right: 1px solid rgba(148, 163, 184, 0.18);
}

.service-contact-grid span {
    display: block;
    margin-bottom: 8px;
    color: #60A5FA;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.service-contact-grid strong,
.service-contact-grid a {
    display: block;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
}

.service-contact-grid a:hover {
    color: #60A5FA;
}

.service-contact-grid p {
    margin-top: 3px;
    color: #94A3B8;
    font-size: 15px;
}

/* =========================
   TABLET
========================= */

@media (min-width: 769px) and (max-width: 1150px) {

    .topbar {
        grid-template-columns: 230px 1fr;
    }

    .logo {
        width: 220px;
    }

    .top-contact {
        display: none;
    }

    .topbar ul {
        justify-content: space-evenly;
        gap: 10px;
    }

    .topbar ul a {
        font-size: 16px;
        padding: 10px 4px;
    }

    .hero-benefits {
        width: 70%;
        max-width: 650px;
    }

    .quote-bar {
        grid-template-columns: 130px 2px 1fr;
        gap: 20px;
    }

    .quote-logo {
        width: 125px;
    }

    .quote-chart {
        display: none;
    }

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

    #uslugi {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

/* =========================
   TELEFON
========================= */

@media (max-width: 768px) {

    header {
        position: sticky;
        top: 0;
        z-index: 9999;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
    }

    .topbar {
        grid-template-columns: 1fr;
        gap: 5px;
        padding: 6px 3% 8px;
        text-align: center;
    }

    .logo-link {
        justify-content: center;
    }

    .logo {
        width: 175px;
        max-height: 58px;
        object-fit: contain;
    }

    .topbar ul {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        gap: 0;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .topbar ul::-webkit-scrollbar {
        display: none;
    }

    .topbar ul li {
        flex: 1 0 auto;
    }

    .topbar ul a {
        display: block;
        font-size: 12px;
        font-weight: 600;
        padding: 6px 7px;
        white-space: nowrap;
    }

    .top-contact {
        display: none;
    }

    /* HERO GŁÓWNEJ */

    #start {
        min-height: auto;
        padding: 55px 20px 30px;
        background-image:
            linear-gradient(
                rgba(4, 18, 42, 0.87),
                rgba(4, 18, 42, 0.90)
            ),
            url("images/tomex-hero.png");
        background-position: 67% center;
        text-align: center;
        align-items: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: clamp(40px, 12vw, 52px);
        letter-spacing: -1px;
    }

    .hero-line {
        width: 200px;
        margin: 0 auto 25px;
    }

    .hero-content p {
        margin: 0 auto 28px;
        font-size: 17px;
    }

    .kontakt-btn {
        gap: 22px;
    }

    .hero-benefits {
        width: 100%;
        max-width: 500px;
        margin-top: 45px;
        padding: 12px;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .benefit {
        width: 100%;
        min-height: 65px;
        padding: 12px 10px;
        border-bottom: 1px solid rgba(148, 163, 184, 0.20);
    }

    .benefit:last-child {
        border-bottom: none;
    }

    /* CYTAT */

    .quote-wrapper {
        padding: 20px 5% 80px;
    }

    .quote-bar {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 25px;
        gap: 15px;
    }

    .quote-logo {
        width: 180px;
        margin: auto;
    }

    .quote-divider,
    .quote-chart {
        display: none;
    }

    .quote-text p {
        font-size: 19px;
    }

    /* O NAS */

    #onas {
        scroll-margin-top: 110px;
        padding: 85px 7%;
    }

    .onas-logo {
        width: 280px;
        margin-bottom: 30px;
    }

    .onas-title {
        font-size: 32px;
        line-height: 1.25;
        margin-bottom: 32px;
    }

    .onas-text {
        font-size: 19px;
        line-height: 1.72;
        gap: 19px;
        margin-bottom: 42px;
    }

    .onas-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .onas-stat {
        min-height: 210px;
    }

    .stat-value {
        font-size: 44px;
    }

    .stat-text {
        font-size: 22px;
    }

    .section-separator {
        height: 55px;
    }

    /* USŁUGI */

    #uslugi {
        min-height: auto;
        padding: 90px 7% 100px;
        grid-template-columns: 1fr;
        scroll-margin-top: 110px;
    }

    .uslugi-title {
        font-size: 46px;
        margin-bottom: 30px;
    }

    .uslugi-title::after {
        width: 130px;
    }

    .usluga {
        width: 100%;
        min-height: 250px;
        padding: 34px 24px;
    }

    /* CENNIK */

    #cennik {
        min-height: auto;
        padding: 90px 7% 100px;
        scroll-margin-top: 110px;
    }

    .cennik-heading {
        margin-bottom: 40px;
    }

    .cennik-logo {
        width: 210px;
        max-width: 75%;
        margin-bottom: 18px;
    }

    .cennik-heading h2 {
        font-size: 46px;
    }

    .cennik-heading p {
        font-size: 17px;
    }

    .cennik-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .cena {
        width: 100%;
        min-height: 380px;
        padding: 34px 24px;
    }

    .cena-kwota {
        font-size: 50px;
    }

    .cennik-info {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 25px 20px;
    }

    .cennik-info-icon {
        margin: auto;
    }

    .cennik-info a {
        justify-self: center;
    }

    /* KONTAKT */

    #kontakt {
        min-height: auto;
        padding: 90px 7%;
        scroll-margin-top: 110px;
    }

    #kontakt h2 {
        font-size: 43px;
    }

    .kontakt-opis {
        font-size: 17px;
        margin-bottom: 40px;
    }

    .kontakt-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .kontakt-card {
        min-height: 220px;
        padding: 30px 20px;
    }

    .kontakt-card strong {
        font-size: 19px;
    }

    .kontakt-mapa {
        margin-top: 40px;
    }

    .mapa-header {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        text-align: center;
    }

    .mapa-header strong {
        font-size: 15px;
    }

    .mapa-wrapper {
        height: 330px;
        border-radius: 18px;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo {
        width: 200px;
    }

    /* PODSTRONA KSIĘGOWOŚĆ */

    .service-hero {
        min-height: auto;
        padding: 70px 7% 80px;
        justify-content: center;
        text-align: center;
        background-image:
            linear-gradient(
                rgba(4, 18, 42, 0.89),
                rgba(4, 18, 42, 0.94)
            ),
            url("images/tomex-hero.png");
        background-position: 67% center;
    }

    .service-hero-inner {
        max-width: 100%;
    }

    .service-eyebrow {
        font-size: 11px;
        letter-spacing: 3px;
    }

    .service-hero h1 {
        font-size: clamp(44px, 13vw, 58px);
        line-height: 1.03;
        letter-spacing: -1px;
    }

    .service-line {
        width: 180px;
        margin: 25px auto;
    }

    .service-hero p {
        margin: 0 auto;
        max-width: 500px;
        font-size: 17px;
        line-height: 1.65;
    }

    .service-actions {
        margin-top: 30px;
        flex-direction: column;
        justify-content: center;
        gap: 20px;
    }

    .service-phone {
        font-size: 16px;
    }

    .service-intro,
    .service-scope,
    .service-why {
        padding: 80px 7% 85px;
    }

    .service-section-label {
        font-size: 11px;
        letter-spacing: 3px;
    }

    .service-intro h2,
    .service-scope h2,
    .service-why h2 {
        font-size: 37px;
        line-height: 1.2;
    }

    .service-heading-line {
        width: 120px;
        margin: 23px auto 30px;
    }

    .service-lead {
        font-size: 18px;
        line-height: 1.72;
    }

    .service-grid {
        margin-top: 40px;
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .service-card {
        width: 100%;
        min-height: 250px;
        padding: 32px 23px;
    }

    .service-card h3 {
        font-size: 21px;
    }

    .service-card p {
        font-size: 16px;
    }

    .why-grid {
        margin-top: 40px;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .why-item {
        width: 100%;
        min-height: 235px;
        padding: 32px 23px;
    }

    .why-number,
    .why-symbol {
        font-size: 44px;
    }

    .service-cta {
        padding: 85px 7%;
    }

    .service-cta-inner > span {
        font-size: 11px;
        letter-spacing: 3px;
    }

    .service-cta h2 {
        font-size: 42px;
        line-height: 1.12;
    }

    .service-cta p {
        font-size: 17px;
    }

    .service-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .service-contact {
        padding: 50px 7%;
    }

    .service-contact-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .service-contact-grid > div {
        padding: 22px 10px;
    }

    .service-contact-grid > div:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    }

    .service-contact-grid strong,
    .service-contact-grid a {
        font-size: 17px;
    }
}