/*
Theme Name: Eleta
Theme URI: https://eleta.pl
Author: Eleta
Description: Nowoczesny motyw dla firmy elektrycznej Eleta.
Version: 1.0.0
Text Domain: eleta
*/

:root { --ink:#102033; --muted:#526274; --blue:#075da8; --blue-dark:#03447e; --yellow:#f9b819; --paper:#fff; --soft:#f2f7fb; --line:#dce6ef; --shadow:0 20px 50px rgba(10,42,72,.12); }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--ink); background:var(--paper); font-family:"Segoe UI",Arial,sans-serif; font-size:16px; line-height:1.6; }
a { color:inherit; text-decoration:none; }
img { max-width:100%; height:auto; }
.container { width:min(1120px, calc(100% - 40px)); margin-inline:auto; }
.skip-link { position:absolute; left:-9999px; }
.skip-link:focus { left:12px; top:12px; z-index:100; padding:8px 12px; background:#fff; }
.site-header { position:sticky; top:0; z-index:20; background:rgba(255,255,255,.96); box-shadow:0 1px 0 rgba(16,32,51,.08); backdrop-filter:blur(8px); }
.header-bar { min-height:76px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.brand { display:flex; align-items:center; gap:10px; font-size:1.65rem; font-weight:850; letter-spacing:-.06em; color:var(--blue-dark); }
.brand-mark { display:grid; place-items:center; width:31px; height:39px; color:var(--yellow); background:var(--blue-dark); clip-path:polygon(48% 0,100% 0,65% 40%,92% 40%,24% 100%,39% 57%,9% 57%); font-size:0; }
.brand-mark::after { content:""; width:7px; height:14px; background:var(--yellow); clip-path:polygon(50% 0,100% 0,65% 40%,90% 40%,20% 100%,38% 57%,7% 57%); }
.main-nav ul { display:flex; align-items:center; gap:22px; list-style:none; margin:0; padding:0; font-weight:650; font-size:.94rem; }
.main-nav a:hover, .main-nav .current-menu-item a { color:var(--blue); }
.nav-toggle { display:none; border:0; background:none; font:inherit; font-weight:700; color:var(--blue-dark); cursor:pointer; }
.button { display:inline-flex; justify-content:center; align-items:center; min-height:48px; padding:10px 22px; border:2px solid var(--blue); border-radius:5px; background:var(--blue); color:#fff; font-weight:800; line-height:1.2; transition:.2s ease; cursor:pointer; }
.button:hover { background:var(--blue-dark); border-color:var(--blue-dark); transform:translateY(-1px); }
.button--light { background:#fff; color:var(--blue-dark); border-color:#fff; }
.button--light:hover { background:var(--yellow); border-color:var(--yellow); color:var(--ink); }
.button--outline { background:transparent; color:var(--blue); }
.button--outline:hover { color:#fff; }
.hero { color:#fff; background:linear-gradient(110deg,rgba(3,45,81,.95),rgba(7,93,168,.72)),url('https://images.unsplash.com/photo-1621905251189-08b45d6a269e?auto=format&fit=crop&w=1800&q=85') center/cover; }
.hero-inner { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(250px,.75fr); gap:60px; align-items:center; min-height:530px; padding:76px 0; }
.eyebrow { display:inline-block; margin:0 0 12px; color:var(--yellow); font-size:.82rem; font-weight:850; letter-spacing:.1em; text-transform:uppercase; }
h1,h2,h3 { margin:0; font-weight:850; letter-spacing:-.035em; line-height:1.12; }
h1 { max-width:700px; font-size:clamp(2.45rem,5vw,4.5rem); }
h2 { font-size:clamp(1.9rem,3.4vw,2.8rem); }
h3 { font-size:1.22rem; }
.hero p:not(.eyebrow) { max-width:610px; margin:20px 0 28px; color:#e2f0fc; font-size:1.15rem; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; }
.hero-note { display:flex; align-items:center; gap:14px; margin-top:28px; color:#d9e8f6; font-size:.91rem; }
.hero-note strong { color:#fff; }
.hero-card { padding:30px; border:1px solid rgba(255,255,255,.26); border-radius:10px; background:rgba(0,27,52,.37); box-shadow:var(--shadow); }
.hero-card p { margin:0 0 10px; color:#d9e8f6; }
.hero-card a { display:block; margin:7px 0; color:#fff; font-weight:800; font-size:1.23rem; }
.section { padding:88px 0; }
.section--soft { background:var(--soft); }
.section-intro { max-width:690px; margin-bottom:38px; }
.section-intro p { color:var(--muted); margin:13px 0 0; font-size:1.08rem; }
.services { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.service-card { padding:28px; border:1px solid var(--line); border-radius:8px; background:#fff; box-shadow:0 5px 20px rgba(15,48,76,.04); }
.service-icon { display:grid; place-items:center; width:50px; height:50px; margin-bottom:20px; border-radius:50%; background:#e3f0fb; color:var(--blue); font-size:1.3rem; font-weight:900; }
.service-card p { margin:10px 0 0; color:var(--muted); font-size:.95rem; }
.trust-grid { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.image-panel { position:relative; min-height:340px; border-radius:9px; background:linear-gradient(140deg,rgba(3,68,126,.25),rgba(3,31,58,.65)),url('https://images.unsplash.com/photo-1621905252507-b35492cc74b4?auto=format&fit=crop&w=1600&q=85') center/cover; background-position:top center; }
.image-credit { position:absolute; right:10px; bottom:8px; color:rgba(255,255,255,.88); font-size:.68rem; text-shadow:0 1px 3px rgba(0,0,0,.85); }
.image-credit a { text-decoration:underline; }
.ticks { padding:0; list-style:none; }
.ticks li { position:relative; padding-left:31px; margin:12px 0; font-weight:650; }
.ticks li::before { content:"✓"; position:absolute; left:0; color:var(--blue); font-weight:900; }
.stats { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; margin-top:36px; background:var(--line); }
.stat { padding:19px; background:#fff; }
.stat strong { display:block; color:var(--blue); font-size:2rem; line-height:1; }
.stat span { color:var(--muted); font-size:.85rem; }
.cta { padding:60px 0; background:var(--yellow); }
.cta-inner { display:flex; justify-content:space-between; align-items:center; gap:25px; }
.cta h2 { max-width:700px; font-size:clamp(1.7rem,3vw,2.45rem); }
.cta .button { flex:none; background:var(--blue-dark); border-color:var(--blue-dark); }
.page-hero { padding:75px 0; background:var(--soft); border-bottom:1px solid var(--line); }
.page-hero p { max-width:680px; margin:14px 0 0; color:var(--muted); font-size:1.1rem; }
.contact-grid { display:grid; grid-template-columns:.8fr 1.2fr; gap:50px; align-items:start; }
.contact-card { padding:30px; border-radius:8px; background:var(--blue-dark); color:#fff; }
.contact-card h2 { font-size:1.85rem; }
.contact-card p { color:#d9e8f6; }
.contact-details { margin:25px 0 0; }
.contact-details div { margin:19px 0; }
.contact-details small { display:block; color:#a8c8e4; font-weight:700; text-transform:uppercase; letter-spacing:.06em; }
.contact-details a { font-weight:750; font-size:1.05rem; }
.form-wrap { padding:35px; border:1px solid var(--line); border-radius:8px; background:#fff; }
.form-wrap h2 { font-size:1.9rem; }
.form-wrap > p { margin:9px 0 24px; color:var(--muted); }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-field { margin-bottom:18px; }
label, legend { display:block; margin-bottom:7px; font-size:.92rem; font-weight:800; }
input, textarea { width:100%; padding:12px 13px; border:1px solid #bdcbd8; border-radius:4px; color:var(--ink); background:#fff; font:inherit; }
input:focus, textarea:focus { outline:3px solid rgba(7,93,168,.2); border-color:var(--blue); }
textarea { min-height:115px; resize:vertical; }
fieldset { margin:0 0 18px; padding:0; border:0; }
.check-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px 18px; }
.check-grid label, .consent-label { display:flex; align-items:flex-start; gap:9px; margin:0; color:#415264; font-weight:500; }
.check-grid input, .consent-label input { flex:0 0 auto; width:17px; height:17px; margin:4px 0 0; accent-color:var(--blue); }
.consent-label { margin:0 0 19px; font-size:.84rem; }
.form-notice { margin:0 0 18px; padding:12px 14px; border-radius:4px; font-weight:650; }
.form-notice--success { color:#155724; background:#dff4e5; }
.form-notice--error { color:#8d2020; background:#ffe5e5; }
.site-footer { padding:45px 0 25px; background:#091a2a; color:#d4e0e9; }
.footer-grid { display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:30px; }
.site-footer .brand { color:#fff; }
.site-footer h3 { margin-bottom:11px; color:#fff; font-size:1rem; letter-spacing:0; }
.site-footer p,.site-footer a { margin:4px 0; color:#b8c9d7; }
.footer-bottom { margin-top:34px; padding-top:18px; border-top:1px solid rgba(255,255,255,.13); color:#91a7bb; font-size:.85rem; }
.footer-legal { display:flex; flex-wrap:wrap; gap:14px; margin-top:8px; }
.footer-legal button { padding:0; border:0; color:#b8c9d7; background:transparent; font:inherit; cursor:pointer; text-decoration:underline; }
.page-content { padding:70px 0; }
.page-content > * { max-width:800px; }
.privacy-page h1 { margin-bottom:30px; }
.privacy-page h2 { margin:32px 0 11px; font-size:1.55rem; }
.privacy-page p, .privacy-page li { color:var(--muted); }
.cookie-banner { position:fixed; z-index:1000; right:20px; bottom:20px; width:min(480px,calc(100% - 40px)); max-height:calc(100vh - 40px); overflow-y:auto; padding:24px; border-radius:9px; background:#fff; box-shadow:0 18px 55px rgba(4,27,49,.28); }
.cookie-banner[hidden] { display:none; }
.cookie-banner h2 { font-size:1.3rem; }
.cookie-banner p { margin:9px 0 17px; color:var(--muted); font-size:.9rem; }
.cookie-actions { display:flex; flex-wrap:wrap; gap:10px; }
.cookie-actions .button { min-height:40px; padding:8px 14px; font-size:.9rem; }
.cookie-actions .button--outline { border-color:var(--line); }
.cookie-category { padding:13px 0; border-top:1px solid var(--line); }
.cookie-category:first-of-type { border-top:0; padding-top:0; }
.cookie-category label { display:flex; align-items:center; gap:9px; margin:0 0 5px; font-weight:700; }
.cookie-category label input { width:17px; height:17px; accent-color:var(--blue); }
.cookie-category p { margin:0; font-size:.85rem; font-weight:400; }
@media (max-width:780px) {
  .header-bar { min-height:64px; }
  .nav-toggle { display:block; }
  .main-nav { display:none; position:absolute; top:64px; right:0; left:0; padding:16px 20px; background:#fff; box-shadow:0 8px 14px rgba(0,0,0,.08); }
  .main-nav.is-open { display:block; }
  .main-nav ul { display:block; }
  .main-nav li { padding:9px 0; }
  .hero-inner,.trust-grid,.contact-grid { grid-template-columns:1fr; gap:35px; }
  .hero-inner { min-height:auto; padding:65px 0; }
  .hero-card { display:none; }
  .services { grid-template-columns:1fr; }
  .cta-inner,.footer-grid { display:block; }
  .cta .button { margin-top:20px; }
  .footer-grid > div { margin-top:25px; }
  .footer-grid > div:first-child { margin-top:0; }
  .form-row,.check-grid { grid-template-columns:1fr; gap:0; }
  .section { padding:62px 0; }
  .cookie-banner { right:12px; bottom:12px; width:calc(100% - 24px); }
}
