/* =========================================================
   TEMPLATE CINEMATIC
   Dla: filmowców, reżyserów, operatorów, fotografów dokumentalnych
========================================================= */

:root{
--accent-color:#ffffff;
--accent-dim:#888888;
--accent-subtle:#444444;
}

.template-cinematic{
font-family:"Inter",system-ui,sans-serif;
color:#cccccc;
background:#0a0a0a;
}

.template-cinematic h1,
.template-cinematic h2,
.template-cinematic h3{
font-family:"Inter",system-ui,sans-serif;
letter-spacing:.02em;
}

/* =========================================================
   SECTIONS
========================================================= */

.template-cinematic .section:not(.section-hero){
margin-bottom:0;
padding:0;
}

.template-cinematic .layout-container{
max-width:1200px;
margin:0 auto;
padding-left:30px;
padding-right:30px;
box-sizing:border-box;
}

.template-cinematic .section:not(.section-hero) > .layout-container{
padding-top:52px;
padding-bottom:52px;
border-top:1px solid rgba(255,255,255,.06);
background:transparent;
}

/* =========================================================
   HEADINGS
========================================================= */

.template-cinematic h2{
text-align:left;
font-size:clamp(.75rem,1vw,.9rem);
margin:0 0 28px;
font-weight:700;
color:#555;
text-transform:uppercase;
letter-spacing:.2em;
}

/* =========================================================
   ABOUT
========================================================= */

.template-cinematic .ui-box{
max-width:760px;
margin:0;
padding:0 0 0 18px;
border-left:2px solid rgba(255,255,255,.1);
line-height:2;
text-align:left;
color:#888;
font-size:1rem;
background:transparent;
border-radius:0;
box-shadow:none;
}

.template-cinematic .ui-box p{
margin:0;
}

/* =========================================================
   GALLERY — film strip
========================================================= */

.template-cinematic #upg-gallery{
display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:8px;
}

.template-cinematic .photo-link,
.template-cinematic .upg-box,
.template-cinematic .upg-photo,
.template-cinematic .upg-hover{
cursor:zoom-in;
}

.template-cinematic .upg-box{
position:relative;
overflow:hidden;
border-radius:3px;
background:#111;
border:1px solid rgba(255,255,255,.05);
transition:border-color .25s ease;
}

/* numeracja klatek */
.template-cinematic .upg-box::before{
content:attr(data-index);
position:absolute;
bottom:6px;
right:8px;
z-index:3;
font-size:10px;
font-family:monospace;
color:rgba(255,255,255,.2);
pointer-events:none;
}

.template-cinematic .upg-box:hover{
border-color:rgba(255,255,255,.18);
}

.template-cinematic .upg-photo{
display:block;
width:100%;
height:auto;
transition:filter .35s ease;
filter:saturate(.85);
}

.template-cinematic .upg-box:hover .upg-photo{
filter:saturate(1.05) contrast(1.02);
}

.template-cinematic .upg-hover{
position:absolute;
inset:0;
display:flex;
align-items:flex-end;
background:linear-gradient(to top,rgba(0,0,0,.88),rgba(0,0,0,0));
opacity:0;
transition:opacity .22s ease;
pointer-events:none;
}

.template-cinematic .upg-box:hover .upg-hover{
opacity:1;
}

.template-cinematic .upg-title{
width:100%;
padding:12px 14px;
color:#ddd;
font-size:12px;
font-weight:600;
text-align:left;
letter-spacing:.03em;
}

/* =========================================================
   SERVICES
========================================================= */

.template-cinematic .landing-services-grid{
display:grid;
grid-template-columns:1fr;
gap:0;
}

.template-cinematic .landing-service-card{
display:flex;
flex-direction:row;
align-items:flex-start;
gap:20px;
text-decoration:none;
color:inherit;
border-top:1px solid rgba(255,255,255,.06);
padding:22px 0;
transition:background .2s ease;
}

.template-cinematic .landing-service-card:last-child{
border-bottom:1px solid rgba(255,255,255,.06);
}

.template-cinematic .landing-service-photo{
width:120px;
flex:0 0 120px;
aspect-ratio:16 / 9;
overflow:hidden;
border-radius:3px;
background:#111;
border:1px solid rgba(255,255,255,.06);
}

.template-cinematic .landing-service-photo img{
width:100%;
height:100%;
object-fit:cover;
display:block;
filter:saturate(.8);
transition:filter .3s ease;
}

.template-cinematic .landing-service-card:hover .landing-service-photo img{
filter:saturate(1.05);
}

.template-cinematic .landing-service-badge{
display:inline-block;
margin-bottom:8px;
padding:2px 7px;
border:1px solid rgba(255,255,255,.12);
border-radius:2px;
color:#666;
font-size:10px;
font-weight:600;
letter-spacing:.08em;
text-transform:uppercase;
background:transparent;
box-shadow:none;
backdrop-filter:none;
}

.template-cinematic .landing-service-title{
margin:0 0 8px;
font-size:15px;
font-weight:700;
color:#e8e8e8;
text-align:left;
text-transform:uppercase;
letter-spacing:.03em;
}

.template-cinematic .landing-service-desc{
margin:0;
font-size:13px;
line-height:1.75;
color:#666;
text-align:left;
}

/* =========================================================
   PRICING — tabela liniowa
========================================================= */

.template-cinematic .landing-pricing-grid{
display:flex;
flex-direction:column;
gap:0;
max-width:none;
margin:0;
}

.template-cinematic .landing-pricing-card{
display:flex;
align-items:center;
justify-content:space-between;
gap:24px;
padding:18px 0;
border-bottom:1px solid rgba(255,255,255,.05);
background:transparent;
border-radius:0;
text-align:left;
position:relative;
}

.template-cinematic .landing-pricing-card.highlight{
padding-left:16px;
padding-right:16px;
background:rgba(255,255,255,.025);
}

.template-cinematic .landing-pricing-badge{
position:absolute;
top:-11px;
left:16px;
padding:3px 10px;
border-radius:2px;
background:#fff;
color:#000;
font-size:10px;
font-weight:700;
text-transform:uppercase;
letter-spacing:.08em;
}

.template-cinematic .landing-pricing-card h3{
margin:0 0 4px;
font-size:14px;
font-weight:700;
color:#e8e8e8;
text-transform:uppercase;
letter-spacing:.04em;
}

.template-cinematic .landing-price{
margin:0;
font-size:22px;
font-weight:800;
color:#fff;
white-space:nowrap;
flex-shrink:0;
}

.template-cinematic .landing-pricing-desc{
margin:3px 0 0;
font-size:12px;
line-height:1.6;
color:#555;
}

/* =========================================================
   FAQ
========================================================= */

.template-cinematic .landing-faq{
max-width:none;
margin:0;
display:flex;
flex-direction:column;
gap:0;
}

.template-cinematic .landing-faq-item{
border-bottom:1px solid rgba(255,255,255,.05);
}

.template-cinematic .landing-faq-question{
width:100%;
background:none;
border:0;
padding:18px 36px 18px 0;
text-align:left;
font-size:13px;
font-weight:700;
cursor:pointer;
position:relative;
color:#ccc;
text-transform:uppercase;
letter-spacing:.04em;
}

.template-cinematic .landing-faq-question::after{
content:"+";
position:absolute;
right:0;
top:50%;
transform:translateY(-50%);
font-size:20px;
font-weight:400;
color:#444;
}

.template-cinematic .landing-faq-item.open .landing-faq-question{
color:#fff;
}

.template-cinematic .landing-faq-item.open .landing-faq-question::after{
content:"−";
color:#888;
}

.template-cinematic .landing-faq-answer{
display:none;
padding:0 0 20px;
line-height:1.85;
color:#666;
text-align:left;
white-space:pre-line;
font-size:14px;
}

.template-cinematic .landing-faq-item.open .landing-faq-answer{
display:block;
}

/* =========================================================
   CTA BUTTONS
========================================================= */

.template-cinematic .landing-cta-buttons{
display:flex;
flex-wrap:wrap;
gap:10px;
justify-content:center;
}

.template-cinematic .landing-btn{
display:inline-flex;
align-items:center;
justify-content:center;
gap:10px;
padding:12px 24px;
border-radius:3px;
font-weight:700;
font-size:13px;
text-decoration:none;
text-transform:uppercase;
letter-spacing:.08em;
transition:background .2s ease, color .2s ease, border-color .2s ease;
border:1px solid transparent;
}

.template-cinematic .landing-btn-primary{
background:#fff;
color:#000;
border-color:#fff;
}

.template-cinematic .landing-btn-primary:hover{
background:#e0e0e0;
border-color:#e0e0e0;
}

.template-cinematic .landing-btn-secondary{
background:transparent;
color:#888;
border-color:rgba(255,255,255,.14);
}

.template-cinematic .landing-btn-secondary:hover{
background:rgba(255,255,255,.06);
border-color:rgba(255,255,255,.28);
color:#ccc;
}

.template-cinematic .landing-btn-accent{
background:rgba(255,255,255,.1);
color:#fff;
border-color:rgba(255,255,255,.2);
}

.template-cinematic .landing-btn-accent:hover{
background:rgba(255,255,255,.18);
border-color:rgba(255,255,255,.35);
}

.template-cinematic .landing-btn-accent-outline{
background:transparent;
color:#ccc;
border-color:rgba(255,255,255,.2);
}

.template-cinematic .landing-btn-accent-outline:hover{
background:#fff;
color:#000;
border-color:#fff;
}

.template-cinematic .landing-btn-text{
padding:12px 8px;
background:transparent;
color:#666;
border:0;
box-shadow:none;
}

.template-cinematic .landing-btn-text:hover{
color:#ccc;
background:transparent;
}

.template-cinematic .cta-icon{
display:flex;
align-items:center;
justify-content:center;
}

.template-cinematic .cta-icon img{
width:18px;
height:18px;
display:block;
}

.template-cinematic .landing-btn-primary .cta-icon img{
filter:brightness(0);
}

.template-cinematic .landing-btn-secondary .cta-icon img,
.template-cinematic .landing-btn-accent .cta-icon img,
.template-cinematic .landing-btn-accent-outline .cta-icon img,
.template-cinematic .landing-btn-text .cta-icon img{
filter:brightness(0) invert(1);
}

.template-cinematic .landing-btn-accent-outline:hover .cta-icon img{
filter:brightness(0);
}

/* =========================================================
   SOCIAL
========================================================= */

.template-cinematic .landing-social-links{
display:flex;
flex-wrap:wrap;
gap:8px;
justify-content:center;
}

.template-cinematic .landing-social-btn{
width:40px;
height:40px;
border-radius:3px;
display:flex;
align-items:center;
justify-content:center;
background:transparent;
border:1px solid rgba(255,255,255,.1);
transition:border-color .2s ease, background .2s ease;
}

.template-cinematic .landing-social-btn:hover{
border-color:rgba(255,255,255,.3);
background:rgba(255,255,255,.06);
}

.template-cinematic .landing-social-btn img{
width:18px;
height:18px;
display:block;
filter:brightness(0) invert(.55);
transition:filter .2s ease;
}

.template-cinematic .landing-social-btn:hover img{
filter:brightness(0) invert(1);
}

/* =========================================================
   CONTACT FORM
========================================================= */

.template-cinematic .landing-contact-form{
max-width:760px;
margin:0 auto;
display:flex;
flex-direction:column;
gap:18px;
}

.template-cinematic .landing-form-field{
display:flex;
flex-direction:column;
gap:8px;
}

.template-cinematic .landing-form-field label{
font-size:11px;
font-weight:700;
letter-spacing:.14em;
text-transform:uppercase;
color:#555;
}

.template-cinematic .landing-form-field input,
.template-cinematic .landing-form-field textarea{
width:100%;
padding:12px 0;
box-sizing:border-box;
border:0;
border-bottom:1px solid rgba(255,255,255,.1);
border-radius:0;
background:transparent;
font:inherit;
color:#e8e8e8;
outline:none;
transition:border-color .2s ease;
}

.template-cinematic .landing-form-field textarea{
min-height:150px;
resize:vertical;
line-height:1.75;
}

.template-cinematic .landing-form-field input:focus,
.template-cinematic .landing-form-field textarea:focus{
border-bottom-color:rgba(255,255,255,.4);
}

.template-cinematic .landing-contact-form .btn,
.template-cinematic .landing-contact-form .btn.btn-primary{
align-self:center;
min-width:200px;
padding:12px 24px;
border-radius:3px;
border:1px solid #fff;
background:#fff;
color:#000;
font-weight:700;
font-size:13px;
letter-spacing:.08em;
text-transform:uppercase;
cursor:pointer;
}

.template-cinematic .landing-contact-form .btn:hover,
.template-cinematic .landing-contact-form .btn.btn-primary:hover{
background:transparent;
color:#fff;
}

/* =========================================================
   FOOTER
========================================================= */

.template-cinematic .landing-footer{
margin-top:0;
padding:22px 0;
background:transparent;
border-top:1px solid rgba(255,255,255,.04);
}

.template-cinematic .landing-footer .layout-container{
max-width:1200px;
}

.template-cinematic .landing-footer-inner{
display:flex;
align-items:center;
justify-content:space-between;
gap:16px;
font-size:11px;
color:#333;
letter-spacing:.06em;
text-transform:uppercase;
}

.template-cinematic .landing-footer-brand a{
color:#555;
text-decoration:none;
font-weight:700;
transition:color .2s ease;
}

.template-cinematic .landing-footer-brand a:hover{
color:#888;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width:900px){
.template-cinematic #upg-gallery{
grid-template-columns:repeat(2,minmax(0,1fr));
}
}

@media (max-width:700px){
.template-cinematic .layout-container{
padding-left:18px;
padding-right:18px;
}

.template-cinematic .section:not(.section-hero) > .layout-container{
padding-top:38px;
padding-bottom:38px;
}

.template-cinematic #upg-gallery{
grid-template-columns:1fr;
}

.template-cinematic .landing-service-card{
flex-direction:column;
}

.template-cinematic .landing-service-photo{
width:100%;
flex:none;
}

.template-cinematic .landing-pricing-card{
flex-direction:column;
align-items:flex-start;
gap:8px;
}

.template-cinematic .landing-footer-inner{
flex-direction:column;
gap:8px;
text-align:center;
}
}
