:root {
    /* Kolory marki */
    --primary: #D71920;
    --primary-dark: #B9151B;
    --primary-light: #FFF3F3;

    /* Tła */
    --white: #FFFFFF;
    --background: #F7F8FA;
    --background-soft: #FCFCFD;

    /* Tekst */
    --text: #202124;
    --text-muted: #62666D;
    --text-light: #A1A5AE;

    /* Elementy */
    --border: #E5E7EB;

    /* Stopka */
    --footer-bg: #1C1F24;
    --footer-text: #B3B7C0;

    /* Typografia */
    --font-main: -apple-system, BlinkMacSystemFont,
        "Segoe UI", Arial, sans-serif;

    /* Szerokość */
    --container-width: 1200px;

    /* Zaokrąglenia */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;

    /* Cienie */
    --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.10);

    /* Animacje */
    --transition: 0.2s ease;

    --home-primary: var(--primary, #D71920);
    --home-primary-dark: #B9151B;
    --home-primary-light: #FFF3F3;

    --home-text: #202124;
    --home-muted: #626875;
    --home-border: #E7E9ED;
    --home-surface: #F7F8FA;
    --home-white: #FFFFFF;

    --home-radius: 16px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html{
  scroll-behavior: smooth;
}

body{
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a{
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select{
  font: inherit;
}

button{
  cursor: pointer;
}

img, svg{
  display: block;
  max-width: 100%;
}

ul, ol{
  list-style: none;
}

:focus-visible{
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.container{
  width: min(calc(100% - 40px), var(--container-width));
  margin-inline: auto;
}

.content-section{
  padding: 90px 0;
}

.content-section h2{
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  transition:
      background-color var(--transition),
      color var(--transition),
      border-color var(--transition),
      transform var(--transition);
  }

.btn-primary{
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover{
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-secondary{
    display: inline-flex;
   align-items: center;
   justify-content: center;
   padding: 15px 28px;
   border: 1px solid var(--home-border);
   border-radius: 9px;
   background: var(--home-white);
   color: var(--home-text);
   font-size: 0.95rem;
   font-weight: 600;
   text-decoration: none;

   transition:
       border-color 0.2s ease,
       color 0.2s ease,
       background 0.2s ease;
}

.btn-secondary:hover{
  border-color: var(--home-primary);
  background: var(--home-primary-light);
  color: var(--home-primary);
}

.site-header{
  position: relative;
  z-index: 100;
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 30px;
}

.site-logo{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.site-logo img{
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.logo-symbol{
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--white);
  font-size: 23px;
  font-weight: 800;
}

.logo-text{
  color: var(--text);
}

.main-nav{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.main-nav a{
  position: relative;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition);
}

.main-nav a:hover{
  color: var(--primary);
}

.main-nav a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav ul{
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.main-nav li{
  display: block;
}

.main-nav a[aria-current="page"]{
  color: var(--primary);
}

.mobile-menu nav ul{
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
}

.header-actions{
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.header-phone{
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.header-phone:hover{
  color: var(--primary);
}

.header-actions .btn{
  white-space: nowrap;
}

.mobile-menu{
  display: none;
}

.hero{
  position: relative;
  overflow: hidden;
  padding: 110px 0 120px;
  background: linear-gradient(
    125deg,
    #FFFFFF 0%,
    #FFFFFF 48%,
    #FFF3F3 100%
    );
}

.hero::before{
  content: "";
  position: absolute;
  z-index: -1;
  right: -190px;
  top: 50%;
  width: 620px;
  height: 620px;
  border: 100px solid rgba(215, 25, 32, 0.055);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-inner{
  position: relative;
  display: block;
}

.hero-content{
  width: 100%;
  max-width: 760px;
}

.hero .container{
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  margin: 0 0 28px;
  padding: 10px 18px;
  border: 1px solid #F7CDCF;
  border-radius: 100px;
  background: #FFF3F3;
  color: var(--home-primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}


.hero h1{
  max-width: 850px;
  margin: 0 0 28px;
  color: var(--home-text);
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.hero-description{
  max-width: 630px;
  margin: 0 0 38px;
  color: var(--home-muted);
  font-size: 1.15rem;
  line-height: 1.85;
}

.hero-actions{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.hero p{
  max-width: 640px;
  margin-bottom: 30px;
  color: var(--text-muted);
  font-size: 19px;
  line-height: 1.7;
}

.site-footer{
  background: var(--footer-bg);
  color: var(--white);
}

.footer-main{
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 70px;
  padding: 75px 0 65px;
}

.footer-brand strong{
  display: block;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.footer-brand p{
  max-width: 350px;
  margin-top: 14px;
  color: var(--footer-text);
  font-size: 14px;
  line-height: 1.8;
}

.footer-column{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

.footer-column h2{
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 700;
}

.footer-column a{
  color: var(--footer-text);
  font-size: 14px;
  transition: color var(--transition);
}

.footer-column a:hover{
  color: var(--white);
}


.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid #363A41;
    color: var(--text-light);
    font-size: 13px;
}

.skip-link{
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--primary);
  color: white;
  border-radius: 8px;
}

.skip-link:focus{
  top: 12px;
}

.footer-column nav ul, .footer-column address{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

.footer-column nav ul{
  list-style: none;
}

.footer-column address{
  font-style: normal;
}

.content-section{
  padding: 100px 0;
}

.section-heading{
  max-width: 720px;
  margin-bottom: 48px;
}

.section-label{
  margin: 0 0 14px;
  color: var(--home-primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h2{
  margin: 0 0 20px;
  color: var(--home-text);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.section-heading > p:last-child{
  max-width: 620px;
  margin: 0;
  color: var(--home-muted);
  font-size: 1.075rem;
  line-height: 1.8;
}

.possibilities-section{
  background: var(--home-white);
}

.possibilities-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.possibility-card{
  position: relative;
  min-width: 0;
  padding: 36px 30px;
  border: 1px solid var(--home-border);
  border-radius: var(--home-radius);
  background: var(--home-white);
  transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.possibility-card::before {
    content: "";
    display: block;

    width: 44px;
    height: 5px;
    margin-bottom: 30px;

    border-radius: 4px;
    background: var(--home-primary);
}

.possibility-card:hover {
    transform: translateY(-5px);
    border-color: #F4C3C6;
    box-shadow: 0 16px 40px rgba(32, 33, 36, 0.07);
}

.possibility-card h3 {
    margin: 0 0 16px;

    color: var(--home-text);
    font-size: 1.3rem;
    line-height: 1.35;
}

.possibility-card p {
    margin: 0;

    color: var(--home-muted);
    font-size: 0.975rem;
    line-height: 1.8;
}

.process-section{
  background: var(--home-surface);
}

.process-list{
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-step{
  min-width: 0;
  padding: 34px 30px;
  border: 1px solid var(--home-border);
  border-radius: var(--home-radius);
  background: var(--home-white);
  counter-increment: process;
}

.process-step::before {
    content: counter(process, decimal-leading-zero);

    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;
    margin-bottom: 28px;

    border-radius: 14px;

    background: var(--home-primary-light);
    color: var(--home-primary);

    font-size: 1.3rem;
    font-weight: 800;
}

.process-step h3 {
    margin: 0 0 14px;

    color: var(--home-text);
    font-size: 1.25rem;
    line-height: 1.4;
}

.process-step p {
    margin: 0;

    color: var(--home-muted);
    line-height: 1.8;
}

.contact-section{
  background: var(--home-primary);
  color: var(--home-white);
}

.contact-content{
  max-width: 780px;
}

.contact-section .section-heading{
  margin-bottom: 32px;
}

.contact-section .section-label {
    color: #FFD6D8;
}

.contact-section .section-heading h2 {
    color: var(--home-white);
}

.contact-section .section-heading > p:last-child {
    color: rgba(255, 255, 255, 0.88);
}

.contact-details {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;

    font-style: normal;
}

.contact-details a {
    color: var(--home-white);
    font-size: 1.15rem;
    font-weight: 600;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-layout{
  display: grid;
  grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr);
  align-items: center;
  gap: 80px;
}

.contact-content{
  max-width: 520px;
}

.contact-form{
  width: 100%;
  min-width: 0;
  padding: 42px;
  background: #ffffff;
  color: var(--text);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}

.conatct-form h3{
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.025em;
}


.contact-form-description{
  margin: 0 0 30px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.contact-form-fields{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-field label {
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
}

.form-field label > span:not(.form-optional) {
    color: var(--primary);
}

.form-optional {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 400;
}

.form-field input,
.form-field textarea {
    display: block;
    width: 100%;
    min-width: 0;

    padding: 14px 16px;

    border: 1px solid #DDE0E5;
    border-radius: 9px;

    background: #FFFFFF;
    color: var(--text);

    font-family: inherit;
    font-size: 15px;
    line-height: 1.5;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-field input {
    min-height: 50px;
}

.form-field textarea {
    min-height: 120px;
    resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #9CA3AF;
}

.form-field input:hover,
.form-field textarea:hover {
    border-color: #B8BDC6;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--primary);
    outline: 2px solid transparent;

    box-shadow:
        0 0 0 3px rgba(215, 25, 32, 0.12);
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin-top: 24px;

    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.7;

    cursor: pointer;
}

.form-consent input {
    flex-shrink: 0;

    width: 18px;
    height: 18px;
    margin-top: 2px;

    accent-color: var(--primary);
    cursor: pointer;
}

.form-consent a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-consent a:hover {
    color: var(--primary-dark);
}

.contact-submit{
  width: 100%;
  min-height: 54px;
  margin-top: 26px;
  font-size: 15px;
}

.contact-submit:disabled{
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.form-note{
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 12px;
  text-align: center;
}

.contact-feedback{
  padding: 16px 20px;
  margin-bottom: 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.contact-feedback--success {
    background: #eaf7ee;
    border: 1px solid #c6e8d0;
    color: #188047;
}

.contact-feedback--error {
    background: #fff0f0;
    border: 1px solid #f3c5c7;
    color: #b9151b;
}

.contact-honeypot{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media(max-width: 1024px){
  .main-nav, .header-actions{
    display: none;
  }

  .header-inner{
    min-height: 76px;
  }

  .mobile-menu{
    display: block;
    position: relative;
    margin-left: auto;
  }

  .mobile-menu summary{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker{
    display: none;
  }

  .mobile-menu[open] summary{
    border-color: var(--primary);
  }

  .mobile-menu nav{
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: min(280px, calc(100vw - 40px));
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-md);
  }

  .mobile-menu nav a{
    display: block;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
  }

  .mobile-menu nav a:hover{
    background: var(--primary-light);
    color: var(--primary);
  }

  .hero{
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 120px 0 130px;
    background: linear-gradient(
        120deg,
        #FFFFFF 0%,
        #FFFFFF 55%,
        #FFF3F3 100%
    );
  }

  .hero::before {
        right: -350px;
    }

  .footer-main{
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 35px;
  }

  .content-section{
    padding: 80px 0;
  }

  .possibilities-grid,
    .process-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

  .contact-layout{
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-content{
    max-width: 720px;
  }

  .contact-form{
    max-width: 720px;
    padding: 36px;
  }
}

@media(max-width: 640px){
    .hero {
        padding: 80px 0 85px;
    }

    .hero::before {
        right: -480px;
    }

    .hero h1 {
        font-size: clamp(2.25rem, 9vw, 3rem);
        letter-spacing: -0.035em;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.75;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
        text-align: center;
    }

  .container{
    width: calc(100% - 32px);
  }

  .header-inner{
    min-height: 70px;
  }

  .site-logo{
    gap: 9px;
    font-size: 16px;
  }

  .site-logo img{
    width: 145px;
  }

  .logo-symbol{
    width: 39px;
    height: 39px;
    font-size: 20px;
  }

  .container-section{
    padding: 65px 0;
  }

  .footer-main{
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 55px 0;
  }

  .footer-bottom{
    padding: 22px 0;
    font-size: 12px;
  }

  .content-section {
        padding: 64px 0;
    }

    .section-heading {
        margin-bottom: 34px;
    }

    .section-heading h2 {
        font-size: 2rem;
    }

    .section-heading > p:last-child {
        font-size: 1rem;
    }

    .possibilities-grid,
    .process-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .possibility-card,
    .process-step {
        padding: 28px 24px;
    }

    .contact-layout{
      gap: 32px;
    }

    .contact-form{
      padding: 26px 20px;
      border-radius: 14px;
    }

    .contact-form h3{
      font-size: 23px;
    }

    .contact-form-field{
      gap: 16px;
    }

    .form-field input, .form-field textarea{
      font-size: 16px;
    }

    .contact-submit{
      min-height: 52px;
    }
}

@media(prefers-reduced-motion: reduce){
  html {
    scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .possibility-card,
    .button-secondary {
        transition: none;
    }

    .possibility-card:hover {
        transform: none;
    }
}
