/*
Theme Name: kantorsilver
Theme URI: 
Author: esale.com.pl based on wordpresse theme
Author URI: esale.com.pl
Description: 
Tested up to: 6.7
Requires PHP: 7.0
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kantorsilver
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/
body{

  overflow-x: hidden !important;
  width: 100%;
}
.startvideo{
    position: absolute;
    top: 0;
    z-index: -1;
    width: 100%;
    object-fit: cover;
    min-height: 400px;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
    transform: translateY(-700px);
}

.header-text, .header-text a {
  color:white;
}

@media (max-width: 850px){
    .kantor-rates-wrapper{
        width:80%
    }
}

@media (min-width: 1100px){
    .kantor-rates-wrapper{
        margin-top: 100px;
    }
}

.home h1{
    color:white;
    font-size:37px !important;
    opacity: 0;
    transform: translateY(100px);
}

@media (max-width:1250px){
  .home h1{
    margin-top:-30px;
    font-size:22px !important;
  }
}

@media (min-width:1251px){
  .home h1{
    font-size:37px !important;
  }
}

.kantor-calculator{
    margin-top:20px;padding-top:16px;border-top:1px solid #eee;
}

.kantor-calculator .content{
    display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;
}

.kantor-calculator h3{
    margin-top:0;margin-bottom:10px;font-size:30px;
}

.why-us {
  padding: 80px 20px;
  background: #f8f9fb;
  text-align: center;
  background-color:#d8aa4d;
}

.why-us h2 {
  font-size: 32px;
  margin-bottom: 40px;
  transform: translateY(100px);
  opacity:0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.why-item {
  background: #fff;
  padding: 25px;
  border-radius: 14px;
  border: 1px solid #e7e7e7;
  transition: 0.3s;
  transform: translateY(100px);
  opacity:0;
}

.why-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.why-item .icon {
  font-size: 48px;
  margin-bottom: 12px;
  color:#d8aa4d;
  width:70px;
  height:70px;
}

.why-item h3 {
  margin: 10px 0;
  font-size: 20px;
  font-weight: 600;
}
.about{
  max-width:100%;
  overflow-x: hidden;
}
.about h2{
  transform: translateY(100px);
  opacity:0;
}

.about .text{
  transform: translatex(-200px);
  opacity:0;
}

.about .image{
  transform: translatex(200px);
  opacity:0;
}

.how-it-works {
  padding: 80px 20px;
  background: #ffffff;
}

@media (min-width:1200px){
    .steps-blocks{
        padding-left: 200px !important;
        padding-right: 200px !important;
    }
}
.how-inner {
 /* max-width: 1400px !important;*/
  margin: 0 auto;
  text-align: center;
}

.how-it-works h2 {
  font-size: 32px;
  margin-bottom: 10px;
  
}

.how-inner h2, .how-inner p{
  transform: translateY(100px);
  opacity:0;
}

.how-subtitle {
  margin: 0 auto 40px;
  max-width: 540px;
  color: #6b7280;
  font-size: 15px;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 350px;
}

.how-step {
  background: #f9fafb;
  border-radius: 16px;
  padding: 28px 22px 26px;
  border: 1px solid #e5e7eb;
  text-align: left;
  transition: 0.25s ease;
  transform: translateY(100px);
  opacity:0;
}

.how-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.how-number {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #d8aa4d;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 14px;
  font-size: 18px;
}


.is-layout-constrained .how-number {
    margin-left: 0 !important;
    margin-right: 0 !important;
}


.how-step h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.how-step p {
  margin: 0;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.55;
}

/* Responsywność */
@media (max-width: 900px) {
  .how-steps {
    grid-template-columns: 1fr;
  }

  .how-step {
    text-align: left;
  }

  .how-inner {
    text-align: left;
  }

  .how-it-works h2,
  .how-subtitle {
    text-align: center;
  }
}

.location-inner {
    max-width: 1100px !important;
    margin: 0 auto;
    display: grid !important;
    grid-template-columns: 1.1fr 1.2fr;
    gap: 40px !important;
    align-items: center !important;
    
}

.location-text h2 {
  font-size: 32px;
  margin-bottom: 8px;
}

.location-text {
  transform: translateX(-200px);
  opacity:0;
}

.location-map{
    transform: translateX(200px);
  opacity:0;
   
  overflow-x: hidden;

}

.location-subtitle {
  margin: 0 0 24px;
  color: #6b7280;
  font-size: 15px;
}

.location-box {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px 22px 22px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.03);
  transform: translateY(100px);
  opacity:0;
}


.location-box h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
}

.location-address {
  margin: 0 0 16px;
  font-size: 14px;
  color: #4b5563;
}

.location-row {
  display: flex;
  gap: 6px;
  font-size: 14px;
  margin-bottom: 6px;
}

.location-label {
  font-weight: 600;
  color: #111827;
}

.location-row a {
  color: #2563eb;
  text-decoration: none;
}

.location-row a:hover {
  text-decoration: underline;
}

.location-hours {
  margin: 12px 0 16px;
  font-size: 14px;
  color: #4b5563;
}

.location-hours ul {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
}

.location-hours li {
  margin: 2px 0;
}

.location-cta {
  display: inline-block;
  margin-top: 4px;
  padding: 9px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #10b981);
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.2s ease;
}

.location-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35);
}

/* Mapa */
.location-map-frame {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.location-map-frame iframe {
  width: 100%;
  height: 360px;
  display: block;
}

/* Responsywność */
@media (max-width: 900px) {
  .location-inner {
    grid-template-columns: 1fr;
  }

  .location {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

.location{
  background: url(/wp-content/uploads/2025/12/location_bg2.jpg) no-repeat;
  background-size: cover;
  background-attachment: fixed;
  padding: 80px 20px;

  overflow-x:hidden ;
  max-width:100%;
}
header{
  transform: translateY(-150px);
  opacity:0;
}

.footer-content{
  transform: translateY(150px);
  opacity:0;
}

.kantor-rates-wrapper{
  transform: translateY(300px);
  opacity:0;
}

.animation{
  opacity:1 !important;
  transform: translateY(0px) !important;
  transition-duration:800ms;
}

.animation-horizontal{
  opacity:1 !important;
  transform: translateX(0px) !important;
  transition-duration:800ms;
}

.table-info, .table-info2{
  margin-top:0;color:#777;font-size:13px;
}

.anim-element{
  overflow-x: clip; 
  overflow-x: hidden; 
}