/* ================================================================
   Sokrates – Reklama i Oznakowanie | Landing Page CSS
   ================================================================ */

/* ── Reset & base ────────────────────────────────────────────────── */
.srl-page *, .srl-page *::before, .srl-page *::after { box-sizing: border-box; }
.srl-page img { max-width: 100%; height: auto; display: block; }

/* Ukryj standardowe elementy WC na tej stronie */
.srl-page .woocommerce-breadcrumb,
.srl-page .woocommerce-products-header,
.srl-page ul.products,
.srl-page .woocommerce-pagination { display: none !important; }

/* ── Tokens ──────────────────────────────────────────────────────── */
:root {
    --srl-green:    #2a5c1e;
    --srl-green-dk: #1c3e12;
    --srl-green-lt: #3d7a2c;
    --srl-accent:   #4caf50;
    --srl-white:    #ffffff;
    --srl-off:      #f5f7f4;
    --srl-gray:     #6b7280;
    --srl-dark:     #111827;
    --srl-radius:   10px;
    --srl-shadow:   0 4px 20px rgba(0,0,0,.10);
    --srl-transition: .22s ease;
}

/* ── Wrapper ──────────────────────────────────────────────────────── */
.srl-page { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--srl-dark); line-height: 1.6; }
.srl-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ── Section headers ──────────────────────────────────────────────── */
.srl-section { padding: 72px 0; }
.srl-section--alt { background: var(--srl-off); }
.srl-section--dark { background: var(--srl-green-dk); color: var(--srl-white); }
.srl-section-label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--srl-green); margin-bottom: 8px; }
.srl-section--dark .srl-section-label { color: var(--srl-accent); }
.srl-h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; line-height: 1.2; margin: 0 0 16px; }
.srl-lead { font-size: 1.1rem; color: var(--srl-gray); max-width: 640px; margin: 0 0 40px; }
.srl-section--dark .srl-lead { color: rgba(255,255,255,.75); }

/* ── Buttons ──────────────────────────────────────────────────────── */
.srl-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: var(--srl-radius);
    font-size: .95rem; font-weight: 700; text-decoration: none;
    border: 2px solid transparent; cursor: pointer;
    transition: background var(--srl-transition), transform var(--srl-transition);
    white-space: nowrap;
}
.srl-btn--primary { background: var(--srl-green); color: var(--srl-white); }
.srl-btn--primary:hover { background: var(--srl-green-lt); transform: translateY(-1px); color: #fff; }
.srl-btn--outline { background: transparent; color: var(--srl-green); border-color: var(--srl-green); }
.srl-btn--outline:hover { background: var(--srl-green); color: var(--srl-white); }
.srl-btn--white { background: var(--srl-white); color: var(--srl-green); }
.srl-btn--white:hover { background: var(--srl-off); }
.srl-btn--lg { padding: 18px 36px; font-size: 1.05rem; }

/* ── ① HERO ───────────────────────────────────────────────────────── */
.srl-hero {
    background: linear-gradient(135deg, var(--srl-green-dk) 55%, var(--srl-green) 100%);
    color: var(--srl-white);
    padding: 80px 0 64px;
    overflow: hidden;
    position: relative;
}
.srl-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.srl-hero__tag {
    display: inline-block;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 100px;
    padding: 5px 16px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.srl-hero__h1 {
    font-size: clamp(1.9rem, 4.5vw, 3.2rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 16px;
    letter-spacing: -.01em;
}
.srl-hero__sub {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 400;
    color: rgba(255,255,255,.85);
    margin: 0 0 12px;
}
.srl-hero__tags {
    font-size: .9rem;
    color: rgba(255,255,255,.65);
    margin: 0 0 32px;
}
.srl-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.srl-hero__perks {
    display: flex; flex-wrap: wrap; gap: 16px;
    list-style: none; margin: 0; padding: 0;
}
.srl-hero__perks li {
    display: flex; align-items: center; gap: 7px;
    font-size: .875rem; color: rgba(255,255,255,.8);
}
.srl-hero__perks li::before { content: '✓'; color: var(--srl-accent); font-weight: 700; }

.srl-hero__photo {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.srl-hero__photo img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
}
.srl-hero__badge {
    position: absolute;
    bottom: 20px; left: 20px;
    background: var(--srl-white);
    border-radius: 10px;
    padding: 10px 16px;
    display: flex; flex-direction: column;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.srl-hero__badge-big { font-size: 1.5rem; font-weight: 900; color: var(--srl-green); line-height: 1; }
.srl-hero__badge-small { font-size: .7rem; color: var(--srl-gray); margin-top: 2px; }

/* ── ② CO ROBIMY ──────────────────────────────────────────────────── */
.srl-grid-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.srl-card {
    background: var(--srl-white);
    border-radius: var(--srl-radius);
    overflow: hidden;
    box-shadow: var(--srl-shadow);
    transition: transform var(--srl-transition), box-shadow var(--srl-transition);
    display: flex; flex-direction: column;
}
.srl-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.15); }
.srl-card__img {
    height: 180px;
    overflow: hidden;
    background: #e8ede4;
}
.srl-card__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.srl-card:hover .srl-card__img img { transform: scale(1.04); }
.srl-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.srl-card__title { font-size: 1.05rem; font-weight: 700; margin: 0 0 8px; color: var(--srl-dark); }
.srl-card__desc { font-size: .875rem; color: var(--srl-gray); margin: 0 0 16px; flex: 1; }
.srl-card__cta {
    font-size: .825rem; font-weight: 700; color: var(--srl-green);
    text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
    margin-top: auto;
}
.srl-card__cta:hover { color: var(--srl-green-lt); }

/* ── ③ OKLEJANIE WITRYN ───────────────────────────────────────────── */
.srl-vitrine-hero {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--srl-shadow);
}
.srl-vitrine-hero img {
    width: 100%; height: 320px;
    object-fit: cover; object-position: center top;
}
.srl-vitrine-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.srl-vitrine-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--srl-shadow);
}
.srl-vitrine-card img {
    width: 100%; height: 200px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.srl-vitrine-card:hover img { transform: scale(1.04); }
.srl-vitrine-card__label {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 100%);
    color: #fff;
    padding: 32px 14px 14px;
    font-size: .875rem; font-weight: 700;
}

/* ── ④ SZYLDY, TABLICE, LITERY ───────────────────────────────────── */
.srl-signs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.srl-sign-card {
    background: var(--srl-white);
    border-radius: var(--srl-radius);
    overflow: hidden;
    box-shadow: var(--srl-shadow);
    text-align: center;
}
.srl-sign-card__img {
    height: 130px;
    background: #e8ede4;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.srl-sign-card__img img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.srl-sign-card__name {
    font-size: .8rem; font-weight: 600;
    padding: 10px 10px 12px;
    color: var(--srl-dark);
}

/* ── ⑤ BANERY ─────────────────────────────────────────────────────── */
.srl-banners-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.srl-banner-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--srl-shadow);
    position: relative;
}
.srl-banner-card img {
    width: 100%; height: 280px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.srl-banner-card:hover img { transform: scale(1.03); }
.srl-banner-card__label {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 100%);
    color: #fff;
    padding: 40px 16px 16px;
    font-size: .925rem; font-weight: 700;
}
.srl-banner-wide {
    grid-column: 1 / -1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--srl-shadow);
    position: relative;
}
.srl-banner-wide img {
    width: 100%; height: 220px;
    object-fit: cover;
    display: block;
}
.srl-banner-wide__label {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 100%);
    color: #fff;
    padding: 40px 20px 18px;
    font-size: 1rem; font-weight: 700;
}

/* ── ⑥ MATERIAŁY ──────────────────────────────────────────────────── */
.srl-materials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}
.srl-material-chip {
    background: var(--srl-white);
    border: 1.5px solid #e5ebe2;
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
    transition: border-color var(--srl-transition), box-shadow var(--srl-transition);
}
.srl-material-chip:hover { border-color: var(--srl-green); box-shadow: 0 4px 14px rgba(42,92,30,.12); }
.srl-material-chip__img {
    height: 80px;
    background: #e8ede4;
    overflow: hidden;
}
.srl-material-chip__img img { width:100%; height:100%; object-fit:cover; }
.srl-material-chip__name {
    font-size: .75rem; font-weight: 600;
    text-align: center;
    padding: 8px 6px;
    color: var(--srl-dark);
}
.srl-materials-note {
    background: #e9f0e5;
    border-left: 4px solid var(--srl-green);
    border-radius: 0 10px 10px 0;
    padding: 16px 20px;
    font-size: .9rem;
    color: var(--srl-green-dk);
}

/* ── ⑦ PROCES ─────────────────────────────────────────────────────── */
.srl-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
}
.srl-steps::before {
    content: '';
    position: absolute;
    top: 28px; left: 10%; right: 10%;
    height: 2px;
    background: rgba(255,255,255,.2);
}
.srl-step {
    text-align: center;
    padding: 0 12px;
    position: relative;
}
.srl-step__num {
    width: 56px; height: 56px;
    background: rgba(255,255,255,.15);
    border: 2px solid rgba(255,255,255,.4);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; font-weight: 900;
    color: #fff;
    margin: 0 auto 16px;
    position: relative; z-index: 1;
}
.srl-step__title { font-size: .875rem; font-weight: 700; color: #fff; margin: 0 0 6px; }
.srl-step__desc  { font-size: .78rem; color: rgba(255,255,255,.65); }

/* ── ⑧ REALIZACJE placeholder ────────────────────────────────────── */
.srl-gallery-placeholder {
    border: 2px dashed #c8d8c3;
    border-radius: 16px;
    padding: 64px 32px;
    text-align: center;
}
.srl-gallery-placeholder p { color: var(--srl-gray); margin: 0 0 8px; }

/* ── ⑨ DLACZEGO SOKRATES ─────────────────────────────────────────── */
.srl-why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.srl-why-item {
    display: flex; gap: 16px; align-items: flex-start;
}
.srl-why-icon {
    flex-shrink: 0;
    width: 52px; height: 52px;
    background: #e9f0e5;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
}
.srl-why-item h3 { font-size: 1rem; font-weight: 700; margin: 0 0 6px; color: var(--srl-dark); }
.srl-why-item p  { font-size: .875rem; color: var(--srl-gray); margin: 0; }

/* ── ⑩ FORMULARZ ─────────────────────────────────────────────────── */
.srl-cta-strip {
    background: var(--srl-green);
    color: #fff;
    padding: 72px 0;
}
.srl-cta-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: start;
}
.srl-cta-left h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; margin: 0 0 16px; }
.srl-cta-left p  { color: rgba(255,255,255,.8); margin: 0 0 28px; font-size: 1rem; }
.srl-phone-block {
    display: flex; align-items: center; gap: 12px;
    background: rgba(255,255,255,.12);
    border-radius: 10px;
    padding: 14px 20px;
}
.srl-phone-block a {
    font-size: 1.3rem; font-weight: 800; color: #fff;
    text-decoration: none;
}
.srl-phone-block span { font-size: .8rem; color: rgba(255,255,255,.7); display: block; }

/* Formularz */
.srl-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.srl-form--full { grid-column: 1 / -1; }
.srl-form label { font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.9); display: block; margin-bottom: 4px; }
.srl-form input,
.srl-form select,
.srl-form textarea {
    width: 100%;
    padding: 11px 14px;
    border-radius: 8px;
    border: 1.5px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.1);
    color: #fff;
    font-size: .9rem;
    outline: none;
    transition: border-color .2s;
}
.srl-form input::placeholder,
.srl-form textarea::placeholder { color: rgba(255,255,255,.45); }
.srl-form input:focus,
.srl-form select:focus,
.srl-form textarea:focus { border-color: rgba(255,255,255,.7); }
.srl-form select option { color: #111; background: #fff; }
.srl-form textarea { resize: vertical; min-height: 90px; }
.srl-form__file-label {
    display: flex; align-items: center; gap: 10px;
    cursor: pointer;
    background: rgba(255,255,255,.08);
    border: 2px dashed rgba(255,255,255,.3);
    border-radius: 8px;
    padding: 14px 18px;
    font-size: .85rem;
    color: rgba(255,255,255,.8);
    transition: border-color .2s, background .2s;
}
.srl-form__file-label:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.13); }
.srl-form__file-label input[type=file] { display: none; }
.srl-form__hp { display: none; }
.srl-form__submit { margin-top: 4px; }
.srl-form__submit button {
    width: 100%;
    padding: 16px;
    background: #fff;
    color: var(--srl-green-dk);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    letter-spacing: .04em;
    transition: background .2s, transform .2s;
}
.srl-form__submit button:hover { background: var(--srl-off); transform: translateY(-1px); }
.srl-form__submit button:disabled { opacity: .6; cursor: not-allowed; }
.srl-form__msg {
    grid-column: 1 / -1;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: .9rem;
    display: none;
}
.srl-form__msg--ok  { background: rgba(76,175,80,.2); color: #fff; border: 1px solid rgba(76,175,80,.4); }
.srl-form__msg--err { background: rgba(244,67,54,.2); color: #fff; border: 1px solid rgba(244,67,54,.4); }

/* ── MOBILE ───────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .srl-hero__inner       { grid-template-columns: 1fr; }
    .srl-hero__photo       { display: none; }
    .srl-grid-6            { grid-template-columns: repeat(2, 1fr); }
    .srl-vitrine-grid      { grid-template-columns: 1fr 1fr; }
    .srl-signs-grid        { grid-template-columns: repeat(3, 1fr); }
    .srl-banners-grid      { grid-template-columns: 1fr; }
    .srl-materials-grid    { grid-template-columns: repeat(3, 1fr); }
    .srl-steps             { grid-template-columns: 1fr 1fr; gap: 24px; }
    .srl-steps::before     { display: none; }
    .srl-why-grid          { grid-template-columns: 1fr; }
    .srl-cta-inner         { grid-template-columns: 1fr; gap: 40px; }
    .srl-form              { grid-template-columns: 1fr; }
    .srl-section           { padding: 52px 0; }
}
@media (max-width: 600px) {
    .srl-grid-6            { grid-template-columns: 1fr 1fr; }
    .srl-vitrine-grid      { grid-template-columns: 1fr; }
    .srl-signs-grid        { grid-template-columns: repeat(2, 1fr); }
    .srl-materials-grid    { grid-template-columns: repeat(2, 1fr); }
    .srl-steps             { grid-template-columns: 1fr; }
    .srl-hero__ctas        { flex-direction: column; }
    .srl-hero__ctas .srl-btn { text-align: center; justify-content: center; }
}

/* ── Dodatkowe klasy (dopasowanie do szablonu) ───────────────────── */

/* Sekcja – nagłówki */
.srl-section--light { background: var(--srl-off); }
.srl-section__title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin: 0 0 12px; line-height: 1.2; }
.srl-section__lead  { font-size: 1.05rem; color: var(--srl-gray); max-width: 660px; margin: 0 0 36px; }

/* CTA row (przycisk pod sekcją) */
.srl-cta-row { text-align: center; margin-top: 40px; }

/* srl-form__row – wrapper dla każdego pola */
.srl-form__row { display: flex; flex-direction: column; gap: 6px; }
.srl-form__row label { font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: rgba(255,255,255,.8); }
.srl-form__rodo { font-size: .75rem; color: rgba(255,255,255,.55); margin: 0; line-height: 1.5; }

/* srl-form__submit – button bezpośredni (nie zagnieżdżony button w div) */
.srl-form__submit {
    display: block; width: 100%;
    padding: 16px 24px;
    background: #fff;
    color: var(--srl-green-dk);
    border: none; border-radius: 10px;
    font-size: 1rem; font-weight: 800;
    cursor: pointer; letter-spacing: .04em;
    transition: background .2s, transform .2s;
}
.srl-form__submit:hover { background: var(--srl-off); transform: translateY(-1px); }
.srl-form__submit:disabled { opacity: .6; cursor: not-allowed; }

/* srl-form__msg - show when has content */
.srl-form__msg:not(:empty) { display: block; }

/* CTA lewa kolumna */
.srl-cta-left__title { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; margin: 0 0 16px; color: #fff; }
.srl-cta-left__desc  { color: rgba(255,255,255,.8); margin: 0 0 20px; font-size: 1rem; }
.srl-cta-left__phone a,
.srl-cta-left__email a { color: var(--srl-accent); text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.srl-cta-left__phone a:hover,
.srl-cta-left__email a:hover { text-decoration: underline; }
.srl-cta-left__phone,
.srl-cta-left__email { margin: 0 0 8px; }

/* Galeria realizacji */
.srl-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.srl-gallery__item img { width: 100%; height: 280px; object-fit: cover; border-radius: var(--srl-radius); }
.srl-gallery__item--wide { grid-column: 1 / -1; }
.srl-gallery__item--wide img { height: 360px; }

/* Banner roll-up grid */
.srl-banner-roll { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.srl-banner-roll__item { position: relative; }
.srl-banner-roll__item img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--srl-radius); max-height: 680px; }

/* Why items */
.srl-why-item__title { font-size: 1.05rem; font-weight: 700; margin: 8px 0 6px; }
.srl-why-item__desc  { font-size: .92rem; color: var(--srl-gray); margin: 0; }

/* hero btns alias */
.srl-hero__btns { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }

/* srl-banners-grid--small */
.srl-banners-grid--small { margin-top: 24px; grid-template-columns: repeat(3, 1fr); }

@media (max-width: 900px) {
    .srl-gallery { grid-template-columns: 1fr; }
    .srl-gallery__item--wide { grid-column: auto; }
    .srl-gallery__item img,
    .srl-gallery__item--wide img { height: 220px; }
    .srl-banner-roll { grid-template-columns: 1fr 1fr; }
    .srl-banners-grid--small { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .srl-banner-roll { grid-template-columns: 1fr; }
    .srl-hero__btns  { flex-direction: column; }
    .srl-hero__btns .srl-btn { text-align: center; justify-content: center; }
}
