/* ============================================================
   ALUFORMA.PRO — STRONA GŁÓWNA — style specyficzne dla strony
   Ładowane po style.css (design system), mogą go nadpisywać.
   ============================================================ */

/* Hero */
.aluf .hero{
  position:relative;
  min-height:660px;
  display:flex;align-items:center;
  background:
    linear-gradient(100deg, rgba(9,10,13,0.62) 0%, rgba(9,10,13,0.42) 20%, rgba(9,10,13,0.2) 38%, rgba(9,10,13,0.04) 56%, rgba(9,10,13,0) 75%),
    url('https://aluforma.pro/wp-content/uploads/2026/07/baner_aluforma_pro.webp') center/cover no-repeat,
    var(--graphite);
  color:var(--alu-light);
}
.aluf .hero .wrap{width:100%;max-width:1180px;padding-top:24px;padding-bottom:126px;padding-left:24px;padding-right:24px;}
.aluf .hero-inner{max-width:680px;}
.aluf .hero h1{font-size:clamp(32px,4.6vw,52px);line-height:1.16;color:var(--white);margin-bottom:20px;letter-spacing:-0.3px;text-shadow:0 2px 6px rgba(0,0,0,0.75),0 8px 28px rgba(0,0,0,0.55);}
.aluf .hero p{font-size:16.5px;color:#E4E6E9;max-width:600px;margin-bottom:36px;line-height:1.6;text-shadow:0 1px 4px rgba(0,0,0,0.8),0 4px 18px rgba(0,0,0,0.5);}
.aluf .hero .kicker{text-shadow:0 1px 6px rgba(0,0,0,0.7);}
.aluf .hero-ctas{display:flex;gap:16px;flex-wrap:wrap;}
.aluf .hero-ctas .btn{padding:17px 32px;font-size:12.5px;}

/* Siatki kart */
.aluf .grid{display:grid;gap:16px;}
.aluf .grid--5{grid-template-columns:repeat(5,1fr);}
.aluf .grid--3{grid-template-columns:repeat(3,1fr);}
.aluf .grid--2{grid-template-columns:repeat(2,1fr);}
.aluf .card{border-radius:5px;padding:28px 24px;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;}
.aluf .card--warm{background:var(--white);border:1px solid var(--border-light);}
.aluf .card--warm:hover{transform:translateY(-3px);border-color:var(--brass);box-shadow:0 16px 32px -20px rgba(17,19,24,0.25);}
.aluf .card--dark{background:var(--graphite-2);border:1px solid transparent;}
.aluf .card--dark:hover{transform:translateY(-3px);border-color:var(--brass);}
.aluf .card-icon{width:26px;height:26px;color:var(--brass);margin-bottom:18px;flex-shrink:0;}
.aluf .card h3{font-size:16.5px;margin-bottom:10px;line-height:1.3;}
.aluf section.dark .card h3{color:var(--white);}
.aluf .card p{font-size:13.5px;color:var(--text-muted-dark);line-height:1.65;margin:0;}
.aluf section.dark .card p{color:var(--text-muted-light);}
.aluf .card-link{display:inline-flex;align-items:center;gap:6px;font-size:11px;letter-spacing:0.6px;text-transform:uppercase;color:var(--brass);margin-top:16px;font-weight:600;}
.aluf .card-link svg{width:12px;height:12px;}

/* Technologia / zaplecze */
.aluf .tech-panel{background:var(--white);border:1px solid var(--border-light);border-radius:10px;padding:48px;box-shadow:0 24px 60px -32px rgba(17,19,24,0.18);}
.aluf .tech-row{display:flex;gap:56px;align-items:stretch;flex-wrap:wrap;}
.aluf .tech-copy{flex:1 1 420px;color:var(--text-dark);}
.aluf .tech-copy h2{font-size:25px;margin-bottom:16px;line-height:1.3;}
.aluf .tech-copy p{color:var(--text-muted-dark);font-size:14.5px;max-width:560px;}
.aluf .tech-features{display:grid;grid-template-columns:1fr 1fr;gap:18px 20px;margin-top:30px;}
.aluf .tf-item{display:flex;align-items:flex-start;gap:11px;font-size:12.5px;color:var(--text-dark);font-weight:500;line-height:1.4;}
.aluf .tf-item svg{width:19px;height:19px;color:var(--brass-dark);flex-shrink:0;margin-top:1px;}
.aluf .tech-systems{flex:1 1 320px;background:var(--graphite);border-radius:8px;padding:32px 30px;}
.aluf .tech-systems .grp{margin-bottom:26px;}
.aluf .tech-systems .grp:last-child{margin-bottom:0;}
.aluf .tech-systems .grp-label{display:flex;align-items:center;gap:9px;font-size:11px;letter-spacing:1.4px;text-transform:uppercase;color:var(--text-muted-light);margin-bottom:14px;font-weight:600;}
.aluf .tech-systems .grp-label svg{width:16px;height:16px;color:var(--brass);flex-shrink:0;}
.aluf .tag-row{display:flex;flex-wrap:wrap;gap:9px;}
.aluf .tag{font-size:12.5px;letter-spacing:0.4px;padding:9px 16px;border:1px solid var(--border-dark);border-radius:3px;color:var(--alu-light);font-weight:500;transition:border-color .15s ease,background .15s ease,color .15s ease;}
.aluf .tag:hover{border-color:var(--brass);background:rgba(184,138,68,0.10);color:var(--white);}

/* Proces */
.aluf .process{display:grid;grid-template-columns:repeat(4,1fr);gap:2px;background:var(--border-dark);border-radius:10px;overflow:hidden;}
.aluf .step{background:var(--graphite-2);padding:34px 26px;position:relative;transition:background .2s ease;}
.aluf .step:hover{background:#20242B;}
.aluf .step .num{font-size:11px;color:var(--text-muted-dark);letter-spacing:1.5px;position:absolute;top:30px;right:26px;font-weight:600;}
.aluf .step-icon{width:46px;height:46px;border-radius:50%;background:rgba(184,138,68,0.12);display:flex;align-items:center;justify-content:center;margin-bottom:20px;}
.aluf .step-icon svg{width:22px;height:22px;color:var(--brass);}
.aluf .step.is-active .step-icon{background:var(--brass);}
.aluf .step.is-active .step-icon svg{color:var(--graphite);}
.aluf .step .lbl{font-size:14.5px;color:var(--white);font-weight:600;margin-bottom:9px;line-height:1.35;padding-right:20px;}
.aluf .step .desc{font-size:12.5px;color:var(--text-muted-light);line-height:1.6;}

/* HELLA split */
.aluf .split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;}
.aluf .split-media{
  position:relative;padding-top:75%;border-radius:6px;overflow:hidden;
  background:linear-gradient(135deg,#1A1D22 0%,#2A2F36 100%);
}
.aluf .split-media::before{
  content:'';position:absolute;inset:0;
  background-image:repeating-linear-gradient(115deg, rgba(184,138,68,0.10) 0 2px, transparent 2px 26px);
}
.aluf .split-media .cap{position:absolute;left:20px;bottom:18px;font-size:11px;letter-spacing:1px;text-transform:uppercase;color:var(--text-muted-light);}
.aluf .split ul.feat{margin-top:22px;display:flex;flex-direction:column;gap:12px;}
.aluf .split ul.feat li{display:flex;align-items:flex-start;gap:10px;font-size:13.5px;color:var(--text-muted-dark);}
.aluf .split ul.feat svg{width:15px;height:15px;color:var(--brass);margin-top:2px;flex-shrink:0;}

/* Realizacje / galeria */
.aluf .gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;}
.aluf .gallery .tile{display:block;position:relative;padding-top:75%;border-radius:5px;overflow:hidden;background:linear-gradient(135deg,#EDEBE3,#DAD6C8);transition:transform .25s ease;}
.aluf .gallery .tile::before{content:'';position:absolute;inset:0;background-image:repeating-linear-gradient(115deg, rgba(31,36,43,0.05) 0 2px, transparent 2px 24px);}
.aluf .gallery .tile .tag{position:absolute;left:16px;bottom:16px;background:rgba(17,19,24,0.82);color:var(--alu-light);border:none;z-index:2;}
/* Wariant ze zdjęciem (gdy dostępne realne zdjęcie ilustracyjne) */
.aluf .gallery .tile.tile--photo{background-size:cover;background-position:center;}
.aluf .gallery .tile.tile--photo::before{background-image:none;background:linear-gradient(180deg, rgba(17,19,24,0) 50%, rgba(17,19,24,0.75) 100%);}
.aluf .gallery a.tile.tile--photo:hover{transform:translateY(-3px);}

/* Poradnik */
.aluf .articles{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.aluf .article-card{display:flex;flex-direction:column;height:100%;position:relative;}
.aluf .article-thumb{position:relative;padding-top:62.5%;border-radius:5px;margin-bottom:18px;background:linear-gradient(135deg,#EDEBE3,#DAD6C8);overflow:hidden;}
.aluf .article-thumb::before{content:'';position:absolute;inset:0;background-image:repeating-linear-gradient(115deg, rgba(31,36,43,0.05) 0 2px, transparent 2px 24px);}
.aluf .article-card h3{font-size:15.5px;margin-bottom:9px;line-height:1.4;}
.aluf .article-card p{font-size:13px;color:var(--text-muted-dark);margin-bottom:16px;flex-grow:1;}
.aluf .article-card .card-link{margin-top:auto;position:relative;z-index:2;}
.aluf .stretched-link::after{content:'';position:absolute;inset:0;z-index:1;}

/* Formularz leadowy (sekcja "Wyślij projekt" na stronie głównej) */
.aluf .lead-band{background:var(--antracyt);color:var(--alu-light);border-radius:8px;padding:56px;display:grid;grid-template-columns:0.9fr 1.1fr;gap:56px;}
.aluf .lead-copy h2{color:var(--white);font-size:26px;margin-bottom:16px;line-height:1.3;}
.aluf .lead-copy p{font-size:13.5px;color:var(--text-muted-light);max-width:400px;}
.aluf .lead-copy .rule{margin-top:26px;}
.aluf .lead-feat{display:flex;flex-direction:column;gap:14px;margin-top:26px;}
.aluf .lead-feat li{display:flex;align-items:flex-start;gap:11px;font-size:13px;color:var(--alu-light);line-height:1.5;}
.aluf .lead-feat svg{width:16px;height:16px;color:var(--brass);margin-top:2px;flex-shrink:0;}
.aluf .lead-contact{margin-top:28px;padding-top:24px;border-top:1px solid var(--border-dark);display:flex;flex-direction:column;gap:10px;}
.aluf .lead-contact a{display:flex;align-items:center;gap:10px;font-size:13.5px;color:var(--white);transition:color .15s ease;}
.aluf .lead-contact a:hover{color:var(--brass);}
.aluf .lead-contact svg{width:16px;height:16px;color:var(--brass);flex-shrink:0;}
.aluf form.lead-form{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-content:start;}
.aluf form.lead-form .full{grid-column:1 / -1;}
.aluf form.lead-form label{display:block;font-size:11px;letter-spacing:0.8px;text-transform:uppercase;color:var(--text-muted-light);margin-bottom:8px;font-weight:600;}
.aluf form.lead-form input,
.aluf form.lead-form select,
.aluf form.lead-form textarea{
  width:100%;background:rgba(255,255,255,0.05);border:1px solid var(--border-dark);
  border-radius:3px;padding:12px 14px;font-size:13.5px;color:var(--white);font-family:inherit;
}
.aluf form.lead-form textarea{resize:vertical;min-height:80px;}
.aluf form.lead-form input:focus,
.aluf form.lead-form select:focus,
.aluf form.lead-form textarea:focus{outline:none;border-color:var(--brass);}
.aluf form.lead-form .consent{display:flex;align-items:flex-start;gap:10px;font-size:11.5px;color:var(--text-muted-light);}
.aluf form.lead-form .consent input{width:auto;margin-top:2px;}
.aluf form.lead-form button{justify-self:start;margin-top:6px;border:none;font-family:inherit;}

/* FAQ */
.aluf .faq{max-width:860px;margin:0 auto;display:flex;flex-direction:column;gap:14px;}
.aluf details.faq-item{border:1px solid var(--border-light);border-radius:8px;padding:8px 26px;background:var(--white);transition:border-color .18s ease,box-shadow .18s ease;}
.aluf details.faq-item[open]{border-color:var(--brass);box-shadow:0 16px 32px -24px rgba(17,19,24,0.25);}
.aluf details.faq-item summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:18px;padding:18px 0;font-size:16px;font-weight:600;}
.aluf details.faq-item summary::-webkit-details-marker{display:none;}
.aluf .faq-q{width:38px;height:38px;border-radius:50%;background:rgba(184,138,68,0.10);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.aluf .faq-q svg{width:18px;height:18px;color:var(--brass-dark);}
.aluf .faq-t{flex:1;}
.aluf .faq-arrow{width:10px;height:10px;border-right:1.5px solid var(--brass-dark);border-bottom:1.5px solid var(--brass-dark);transform:rotate(45deg);transition:transform .2s ease;flex-shrink:0;}
.aluf details.faq-item[open] .faq-arrow{transform:rotate(-135deg);}
.aluf details.faq-item .faq-a{font-size:14.5px;color:var(--text-muted-dark);margin:0 0 22px 56px;max-width:640px;line-height:1.65;}

/* Responsywność — strona główna */
@media (max-width: 960px){
  .aluf .grid--5{grid-template-columns:repeat(3,1fr);}
  .aluf .grid--3{grid-template-columns:repeat(2,1fr);}
  .aluf .process{grid-template-columns:repeat(2,1fr);}
  .aluf .split{grid-template-columns:1fr;gap:32px;}
  .aluf .gallery{grid-template-columns:repeat(2,1fr);}
  .aluf .articles{grid-template-columns:1fr;}
  .aluf .lead-band{grid-template-columns:1fr;padding:36px 24px;}
  .aluf form.lead-form{grid-template-columns:1fr;}
  .aluf .tech-row{flex-direction:column;}
  .aluf .tech-features{grid-template-columns:1fr;}
}
@media (max-width: 640px){
  .aluf .hero{
    min-height:0;align-items:flex-start;
    background:
      linear-gradient(180deg, rgba(9,10,13,0.12) 0%, rgba(9,10,13,0.3) 50%, rgba(9,10,13,0.48) 100%),
      url('https://aluforma.pro/wp-content/uploads/2026/07/baner_aluforma_pro.webp') center/cover no-repeat,
      var(--graphite);
  }
  .aluf .hero .wrap{padding-left:20px;padding-right:20px;padding-top:26px;padding-bottom:36px;}
  .aluf .hero h1{margin-bottom:12px;}
  .aluf .hero p{margin-bottom:22px;}
  .aluf .hero-ctas{gap:10px;}
}
@media (max-width: 600px){
  .aluf .grid--5{grid-template-columns:repeat(2,1fr);}
  .aluf .grid--3{grid-template-columns:1fr;}
  .aluf .process{grid-template-columns:1fr;}
  .aluf .gallery{grid-template-columns:1fr;}
  .aluf section{padding:56px 0;}
  .aluf .tech-panel{padding:28px 22px;}
  .aluf details.faq-item .faq-a{margin-left:0;}
}
