/*
Theme Name: Mikołaj Pawlicki - wariant 1
Description: Motyw strony transportowej Mikołaja Pawlickiego.
Version: 1.0.15
Text Domain: mikolaj-pawlicki
*/

/* Treści WordPressa */
.wp-content { min-height: 50vh; padding-block: 80px; }
.wp-content article { max-width: 850px; line-height: 1.65; }
.wp-content h1 { font-size: clamp(36px, 4vw, 58px); }

:root {
      --ink: #202a32;
      --ink-soft: #46515a;
      --paper: #f4f7f8;
      --white: #ffffff;
      --line: #d6e0e3;
      --accent: #285a73;
      --accent-dark: #19445c;
      --muted: #e8eef1;
    }

    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; }
    body.wp-theme-mikolaj-pawlicki.home { background: var(--paper) !important; }
    a { color: inherit; text-decoration: none; }
    button, input, textarea { font: inherit; }
    img, video { display: block; max-width: 100%; }
    :focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
    .wrap { width: min(100% - 64px, 1240px); margin-inline: auto; }
    .eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
    .eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
    .section-title { margin: 18px 0 0; font-size: clamp(36px, 4.3vw, 58px); line-height: 1.04; letter-spacing: -.048em; }
    .button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 15px 22px; border: 1px solid transparent; border-radius: 4px; font-size: 15px; font-weight: 800; transition: background .2s ease, transform .2s ease; }
    .button:hover { transform: translateY(-2px); }
    .section-actions { margin-top: 26px; }
    .button.primary { background: var(--accent); color: var(--white); }
    .button.primary:hover { background: var(--accent-dark); }
    .button.dark { background: var(--ink); color: var(--white); }
    .button.light { background: var(--white); color: var(--ink); }
    .arrow { font-size: 20px; line-height: 1; font-weight: 400; }

    .site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
    .header-row { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
    .brand { display: flex; align-items: center; min-width: 235px; }
    .brand-name { display: block; font-size: 21px; font-weight: 900; letter-spacing: -.04em; line-height: 1.1; }
    .nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 700; }
    .nav a:hover, .text-link:hover { color: var(--accent); }
    .header-cta { min-height: 44px; padding: 10px 16px; font-size: 13px; white-space: nowrap; }

    .hero { padding: 36px 0 41px; }
    .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .94fr); gap: 52px; align-items: center; }
    .hero-copy { padding: 20px 0 30px; }
    h1 { max-width: 680px; margin: 25px 0 24px; font-size: clamp(52px, 5.7vw, 82px); line-height: .99; letter-spacing: -.065em; }
    h1 span { color: var(--accent); }
    .hero-intro { max-width: 530px; margin: 0; color: var(--ink-soft); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; }
    .hero-actions { display: flex; align-items: center; gap: 27px; margin-top: 36px; }
    .text-link { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 800; }
    .hero-note { margin: 48px 0 0; padding-top: 19px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
    .hero-art { position: relative; min-height: 560px; overflow: hidden; background: var(--ink); border-radius: 5px; }
    .hero-art::before { content: ""; position: absolute; inset: auto -12% -42% -12%; height: 65%; background: var(--accent); transform: rotate(-8deg); }
    .hero-art img { position: absolute; z-index: 1; left: 1%; bottom: 85px; width: 108%; height: auto; max-width: none; filter: drop-shadow(0 22px 18px rgb(0 0 0 / .22)); }
    .art-top, .art-bottom { position: absolute; z-index: 2; left: 28px; right: 28px; display: flex; justify-content: space-between; gap: 15px; color: var(--white); font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
    .art-top { top: 26px; }
    .art-bottom { bottom: 26px; padding-top: 18px; border-top: 1px solid rgb(255 255 255 / .42); }
    .art-top span:last-child { color: #b7dfe6; }

    .facts { background: var(--ink); color: var(--white); }
    .facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
    .fact { min-height: 105px; padding: 26px 30px; display: flex; align-items: center; gap: 17px; border-right: 1px solid rgb(255 255 255 / .18); }
    .fact:first-child { padding-left: 0; }
    .fact:last-child { border: 0; }
    .fact-number { color: #83c2d4; font-size: 29px; font-weight: 900; letter-spacing: -.06em; white-space: nowrap; }
    .fact-label { color: #eceeec; font-size: 14px; line-height: 1.35; }

    .services { padding: 58px 0 61px; }
    .section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
    .section-head p { max-width: 350px; margin: 0 0 6px; color: var(--ink-soft); font-size: 16px; line-height: 1.55; }
    .service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .service-card { min-height: 270px; display: flex; flex-direction: column; padding: 31px; background: var(--white); border: 1px solid var(--line); }
    .card-top { display: flex; justify-content: space-between; align-items: center; }
    .service-number { color: var(--accent); font-size: 13px; font-weight: 900; letter-spacing: .1em; }
    .service-glyph { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--accent); font-size: 23px; }
    .service-card h3 { max-width: 270px; margin: auto 0 17px; font-size: clamp(27px, 2.2vw, 34px); line-height: 1.1; letter-spacing: -.04em; }
    .service-card p { min-height: 70px; max-width: 325px; margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.55; }

    .about { padding: 52.5px 0; background: var(--white); }
    .about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 78px; align-items: center; }
    .about-photo { margin: 0; }
    .about-photo img { width: 100%; height: 440px; object-fit: cover; object-position: center top; }
    .about-photo figcaption { margin-top: 12px; color: var(--ink-soft); font-size: 12px; }
    .about-copy p, .work-copy p { max-width: 560px; color: var(--ink-soft); font-size: 17px; line-height: 1.65; }
    .about-copy p:first-of-type { margin-top: 25px; }
    .about-quote { margin-top: 25px; padding-left: 18px; border-left: 3px solid var(--accent); font-size: 18px; font-weight: 800; line-height: 1.5; }

    .work { padding: 52.5px 0; }
    .work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
    .work-copy p { margin-top: 25px; }
    .work-copy ul { padding-left: 20px; color: var(--ink-soft); line-height: 1.9; }
    .work-photo { margin: 0; }
    .work-photo img { width: 100%; height: 390px; object-fit: cover; }
    .work-photo figcaption { margin-top: 12px; color: var(--ink-soft); font-size: 12px; }

    .video-section { background: #e8eef1; padding: 50px 0; }
    .video-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 75px; align-items: center; }
    .video-copy p { max-width: 480px; margin: 27px 0 0; color: var(--ink-soft); font-size: 17px; line-height: 1.6; }
    .video-caption { margin-top: 31px; padding-top: 19px; border-top: 1px solid #c6c8c2; color: var(--ink-soft); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
    .video-shell { position: relative; padding: 12px; background: var(--ink); border-radius: 5px; box-shadow: 24px 24px 0 #cedbe1; }
    .video-shell video { width: 100%; aspect-ratio: 16 / 9; background: #2d3942; object-fit: contain; border-radius: 2px; }

    .steps { padding: 58px 0 62px; }
    .steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border-top: 1px solid #bbc0bd; }
    .step { padding: 24px 36px 0 0; }
    .step-index { display: block; margin-bottom: 29px; color: var(--accent); font-size: 13px; font-weight: 900; }
    .step h3 { margin: 0 0 12px; font-size: 24px; letter-spacing: -.035em; }
    .step p { max-width: 325px; margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.55; }

    .price { padding: 52.5px 0; background: var(--white); }
    .price-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; }
    .price-copy p { max-width: 670px; color: var(--ink-soft); font-size: 17px; line-height: 1.65; }
    .price-copy strong { color: var(--ink); }
    .price-copy .button { margin-top: 10px; }

    .reviews { padding: 42.5px 0; background: var(--accent); color: var(--white); }
    .reviews .eyebrow { color: #b7dfe6; }
    .reviews-head { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 32px; }
    .reviews-head .section-title { margin-top: 15px; }
    .review-controls { display: flex; gap: 8px; }
    .review-controls button { width: 44px; height: 44px; border: 1px solid var(--white); background: var(--white); color: var(--accent); font-size: 21px; cursor: pointer; }
    .review-controls button:hover { background: #e8eef1; }
    .review-controls button:disabled { opacity: .5; cursor: default; }
    .review-controls button:focus-visible { outline-color: #b7dfe6; }
    .review-track::-webkit-scrollbar { display: none; }
    .review-track { display: flex; gap: 16px; overflow: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .review-card { flex: 0 0 calc((100% - 32px) / 3); min-height: 255px; display: flex; flex-direction: column; padding: 25px; background: var(--white); color: var(--ink); scroll-snap-align: start; }
    .review-stars { color: var(--accent); font-size: 18px; letter-spacing: .1em; }
    .review-card blockquote { margin: 21px 0 24px; font-size: 17px; font-weight: 700; line-height: 1.5; }
    .review-card cite { margin-top: auto; color: var(--ink-soft); font-size: 13px; font-style: normal; }
    .reviews-note { margin: 18px 0 0; color: #d9eaf0; font-size: 12px; }

    .faq { padding: 52.5px 0; }
    .faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; }
    .faq-list { border-top: 1px solid var(--line); }
    .faq-list details { border-bottom: 1px solid var(--line); }
    .faq-list summary { position: relative; padding: 22px 34px 22px 0; font-size: 17px; font-weight: 800; cursor: pointer; list-style: none; }
    .faq-list summary::-webkit-details-marker { display: none; }
    .faq-list summary::after { content: "+"; position: absolute; right: 3px; top: 17px; color: var(--accent); font-size: 28px; font-weight: 400; }
    .faq-list details[open] summary::after { content: "-"; }
    .faq-list p { max-width: 630px; margin: 0 0 22px; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }

    .contact { padding: 57.5px 0 50px; color: var(--white); background: var(--ink); }
    .contact .eyebrow { color: #b7dfe6; }
    .contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 85px; }
    .contact .section-title { max-width: 500px; }
    .contact-copy p { max-width: 390px; margin: 26px 0 0; color: #d4d9d9; font-size: 17px; line-height: 1.6; }
    .contact-links { display: flex; align-items: flex-start; flex-direction: column; gap: 17px; margin-top: 36px; }
    .contact-mail { display: inline-block; padding-bottom: 7px; border-bottom: 1px solid #879198; font-size: 17px; font-weight: 800; overflow-wrap: anywhere; }
    .contact-form { padding: 35px; background: var(--white); color: var(--ink); border-radius: 5px; }
    .contact-form h3 { margin: 0 0 24px; font-size: 26px; letter-spacing: -.04em; }
    .contact-form .elementor-form-fields-wrapper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; }
    .contact-form .elementor-field-group { grid-column: 1 / -1; }
    .contact-form .elementor-widget-form .elementor-form .elementor-field-group { width: 100%; padding: 0; margin: 0; }
    .contact-form .elementor-col-50 { grid-column: span 1; }
    .contact-form .elementor-widget-form .elementor-field-group .elementor-field-textual { width: 100%; min-height: 51px; padding: 14px 15px; border: 1px solid #cdd1ce; border-radius: 2px; background: #fff; color: var(--ink); font-size: 15px; }
    .contact-form textarea.elementor-field-textual { min-height: 115px; resize: vertical; }
    .contact-form .elementor-acceptance-field { width: auto; }
    .contact-form .elementor-widget-form .elementor-field-type-acceptance label { font-size: 13px; line-height: 1.5; }
    .contact-form .elementor-widget-form .elementor-button[type="submit"] { width: 100%; min-height: 54px; padding: 15px 22px; border: 0; border-radius: 4px; background: var(--accent); color: var(--white); font-size: 15px; font-weight: 800; cursor: pointer; }
    .contact-form .elementor-widget-form .elementor-button[type="submit"]:hover { background: var(--accent-dark); }
    .site-footer { background: #172028; color: #c7cccd; }
    .footer-row { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; }
    .footer-row strong { color: var(--white); font-size: 15px; }
    .footer-links { display: flex; gap: 20px; }

    @media (max-width: 1050px) {
      .nav { gap: 18px; }
      .hero-grid { gap: 26px; }
      .hero-art { min-height: 490px; }
      .hero-art img { bottom: 72px; }
      .video-grid, .contact-grid { gap: 40px; }
      .about-grid, .work-grid, .price-grid, .faq-grid { gap: 40px; }
      .review-card { flex-basis: calc((100% - 16px) / 2); }
    }
    @media (max-width: 900px) {
      .header-row { gap: 12px; }
      .brand { min-width: 0; }
      .nav { display: none; }
    }
    @media (max-width: 760px) {
      .wrap { width: min(100% - 36px, 550px); }
      .header-row { min-height: 72px; gap: 12px; }
      .brand { min-width: 0; }
      .brand-name { font-size: 17px; }
      .nav { display: none; }
      .header-cta { min-height: 44px; padding: 8px 11px; font-size: 11px; gap: 8px; }
      .hero { padding: 22.5px 0 27.5px; }
      .hero-grid, .about-grid, .work-grid, .video-grid, .price-grid, .faq-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
      .hero-copy { padding: 0; }
      h1 { margin-top: 21px; font-size: clamp(40px, 10vw, 66px); }
      .hero-intro { font-size: 17px; }
      .hero-actions { margin-top: 27px; gap: 17px; flex-wrap: wrap; }
      .hero-note { margin-top: 30px; }
      .hero-art { min-height: 420px; }
      .hero-art img { left: 0; width: 105%; bottom: 66px; }
      .facts-grid { grid-template-columns: 1fr; }
      .fact { min-height: 74px; padding: 15px 0; border-right: 0; border-bottom: 1px solid rgb(255 255 255 / .18); }
      .fact-number { width: 115px; font-size: 25px; }
      .services, .steps, .about, .work, .price, .faq { padding: 39px 0; }
      .about-photo img { height: min(420px, 85vw); }
      .section-head { display: block; margin-bottom: 26px; }
      .section-head p { margin-top: 20px; }
      .service-grid, .steps-grid { grid-template-columns: 1fr; }
      .service-card { min-height: 260px; }
      .service-card h3 { margin-top: 42px; }
      .service-card p { min-height: 0; }
      .video-section { padding: 37.5px 0 42.5px; }
      .video-copy p { margin-top: 18px; }
      .video-caption { margin-top: 20px; }
      .video-shell { box-shadow: 12px 12px 0 #cedbe1; }
      .steps-grid { margin-top: 36px; }
      .step { padding: 22px 0 30px; border-bottom: 1px solid var(--line); }
      .step-index { margin-bottom: 25px; }
      .reviews { padding: 32.5px 0; }
      .reviews-head { align-items: start; flex-direction: column; gap: 22px; }
      .review-card { flex-basis: min(88%, 370px); }
      .contact { padding: 38.5px 0 37.5px; }
      .contact-form { padding: 16px; order: -1; }
      .contact-form .elementor > .e-con { padding-inline: 0; }
      body .cmplz-cookiebanner { padding: 14px; }
      body .cmplz-cookiebanner .cmplz-message { margin-bottom: 0; font-size: 13px; line-height: 1.45; }
      body .cmplz-cookiebanner .cmplz-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px !important; }
      body .cmplz-cookiebanner .cmplz-buttons .cmplz-btn { min-height: 44px !important; height: auto !important; padding: 10px !important; font-size: 13px !important; line-height: 20px !important; zoom: 1 !important; }
      body .cmplz-cookiebanner .cmplz-buttons .cmplz-view-preferences,
      body .cmplz-cookiebanner .cmplz-buttons .cmplz-save-preferences { grid-column: 1 / -1; }
      body #cmplz-manage-consent { min-height: 68px; padding: 12px 18px; display: flex; justify-content: center; background: #172028; }
      body #cmplz-manage-consent .cmplz-manage-consent { position: static !important; transform: none !important; max-width: 100%; margin: 0 !important; min-height: 44px; }
      .footer-row { padding: 24px 0; flex-wrap: wrap; }
    }
    @media (max-width: 430px) {
      .header-cta { padding-inline: 9px; }
      .hero-art { min-height: 340px; }
      .art-top, .art-bottom { left: 18px; right: 18px; font-size: 10px; }
      .hero-art img { bottom: 56px; }
      .contact-form .elementor-form-fields-wrapper { grid-template-columns: 1fr; }
      .contact-form .elementor-col-50 { grid-column: 1 / -1; }
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .button { transition: none; }
    }
