* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Figtree';
}
html {
      scroll-behavior: smooth;

}

body {
  min-height: 100vh;

  background-image: url("img/background.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  background-color: #1E1E1E;
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.margin-sm {
    margin: 20px;
}



.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 5000;

  transition: .3s ease;
}

.nav {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.365);

  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.332);
}


.nav {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.logo {
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 100px;
}

.nav-menu a {
    text-decoration: none;
    color: #ccc;
    font-weight: 500;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: white;
}

.nav-menu a.active {
    color: white;
    font-weight: 600;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}


@media (max-width: 768px) {

    .hamburger {
        display: inline-flex;
        position: fixed;
        top: 18px;
        right: 18px;

        width: 48px;
        height: 48px;

        background: rgba(0,0,0,0.35);
        border: 1px solid rgba(255,255,255,0.18);
        border-radius: 12px;

        cursor: pointer;
        z-index: 3000; 

        align-items: center;
        justify-content: center;
    }

    .hamburger span {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 24px;
        height: 2px;
        background: #fff;
        border-radius: 2px;
        transition: .25s ease;
        transform: translate(-50%, -50%);
    }

    .hamburger span:nth-child(1) {
        transform: translate(-50%, calc(-50% - 8px));
    }

    .hamburger span:nth-child(2) {
        transform: translate(-50%, -50%);
    }

    .hamburger span:nth-child(3) {
        transform: translate(-50%, calc(-50% + 8px));
    }

    .hamburger.active span:nth-child(1) {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translate(-50%, -50%) rotate(-45deg);
    }


    .nav-menu {
        position: fixed;
        inset: 0;
        height: 100vh;

        background: rgba(0,0,0,0.95);
        backdrop-filter: blur(6px);

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 35px;

        transform: translateY(-100%);
        transition: 0.35s ease;

        z-index: 2000;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .logo {
        position: fixed;
        top: 26px;
        left: 18px;
        z-index: 3000;
    }

    .home {
        padding: 120px 20px 80px;
        min-height: auto;
    }

    .home h1 {
        font-size: 28px !important;
        line-height: 1.3;
    }

    .home p {
        font-size: 14px !important;
    }
}
.home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

.home-content {
    max-width: 850px;
    margin: 0 auto;
}

.home h1 {
    font-size: 48px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 20px;
}

.home h1 span {
    font-weight: 700;
}

.home p {
    font-size: 18px;
    color: #bbb;
    line-height: 1.6;
    margin-bottom: 35px;
}

.btn-primary{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 36px;
  border-radius: 12px;

  background: #ff2d20;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .2px;

  border: 1px solid rgba(255,255,255,0.12);
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease;
  will-change: transform;
  overflow: hidden;
}

.btn-primary::before{
  content:"";
  position:absolute;
  top: -40%;
  left: -60%;
  width: 60%;
  height: 180%;
  transform: rotate(20deg);
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.35) 50%,
    rgba(255,255,255,0) 100%
  );
  opacity: 0;
  transition: opacity .25s ease, left .55s ease;
}


.btn-primary::after{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.28), rgba(255,255,255,0) 55%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}

.btn-primary:hover{
  transform: translateY(-3px);
  box-shadow:
    0 14px 30px rgba(255,45,32,.35),
    0 6px 14px rgba(0,0,0,.35);
  background: #ff3b30;
}

.btn-primary:hover::before{
  opacity: 1;
  left: 120%;
}

.btn-primary:hover::after{
  opacity: 1;
}

.btn-primary:active{
  transform: translateY(-1px) scale(.98);
  box-shadow:
    0 10px 18px rgba(255,45,32,.28),
    0 4px 10px rgba(0,0,0,.35);
}

.btn-primary:focus-visible{
  outline: none;
  box-shadow:
    0 0 0 3px rgba(255,45,32,.35),
    0 14px 30px rgba(255,45,32,.28);
}

@media (prefers-reduced-motion: reduce){
  .btn-primary,
  .btn-primary::before,
  .btn-primary::after{
    transition: none;
  }
}


.about {
  padding: 120px 0;
  color: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 120px;
  align-items: center;
}

.about-left {
  max-width: 680px;
}

.about-badge {
  display: inline-block;
  background: rgba(255, 45, 32, 0.15);
  color: #ff2d20;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 25px;
}

.about h2 {
  font-size: 42px;
  line-height: 1.3;
  margin-bottom: 30px;
}

.about h4 {
  margin-bottom: 18px;
  font-weight: 600;
}

.about p {
  color: #bcbcbc;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end; 
  text-align: right;     
  gap: 80px;
  padding-top: 30px;
}

.stat {
  width: 320px;
}

.stat h3 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
}

.stat p {
  margin-top: 12px;
  color: #fff;
  font-size: 22px;
  line-height: 1.4;
}



@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .about-left {
    max-width: 100%;
  }

  .about-right {
    align-items: center;
    text-align: center;
    gap: 60px;
  }

  .stat {
    width: auto;
  }

  .stat h3 {
    font-size: 52px;
  }

  .stat p {
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .about {
    padding: 80px 0;
  }

  .about h2 {
    font-size: 28px;
  }

  .stat h3 {
    font-size: 44px;
  }

  .stat p {
    font-size: 16px;
  }
}



.services {
  padding: 120px 0;
  color: #fff;
}

.section-badge {
  display: inline-block;
  background: rgba(255, 45, 32, 0.15);
  color: #ff2d20;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 20px;
}

.section-title {
  font-size: 48px;
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.service-card {
  position: relative;
  padding: 40px;
  border-radius: 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  transition: .35s ease;
  overflow: hidden;
}

.service-top {
  position: absolute;
  top: 0;
  left: 30px;
  width: 60px;
  height: 4px;
  background: #ff2d20;
  border-radius: 0 0 4px 4px;
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 25px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
  fill: #ff2d20;
}

.service-card h3 {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 500;
}

.service-card:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 20px 40px rgba(255, 45, 32, 0.15);
}
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 28px;
  }
}
.service-top {
  position: absolute;
  top: 0;
  left: 30px;
  width: 80px;
  height: 4px;
  background: #ff2d20;
  border-radius: 0 0 4px 4px;
}

.service-top::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 60px;

  background: linear-gradient(
    to bottom,
    rgba(255, 45, 32, 0.45),
    rgba(255, 45, 32, 0.15),
    rgba(255, 45, 32, 0)
  );

  filter: blur(12px);
  opacity: 0.8;
  pointer-events: none;
}


.cta {
  position: relative;
  padding: 140px 0;
  background: url("img/cta.jpg") center / cover no-repeat;
  text-align: center;
  color: #fff;
  overflow: hidden;
}


.cta-overlay {
  position: absolute;
  inset: 0;
  
  backdrop-filter: blur(2px);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}


.cta-badge {
  display: inline-block;
  color: #ff2d20;
  font-weight: 500;
  margin-bottom: 20px;
  font-size: 18px;
}


.cta h2 {
  font-size: 48px;
  margin-bottom: 25px;
  line-height: 1.2;
}

.cta p {
  font-size: 18px;
  color: #ddd;
  margin-bottom: 40px;
  line-height: 1.6;
}
.contact {
  padding: 140px 0;
  text-align: center;
  color: #fff;
}

.contact-description {
  max-width: 750px;
  margin: 0 auto 60px auto;
  color: #bcbcbc;
  line-height: 1.8;
  font-size: 17px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 20px;
}

.contact-icon {
  width: 26px;
  height: 26px;
}

.contact-icon svg {
  width: 100%;
  height: 100%;
  fill: #ff2d20;
}

.contact-nip {
  margin-top: 25px;
  color: #9c9c9c;
  font-size: 16px;
}
.contact-link {
  color: #fff;
  text-decoration: none;
  transition: 0.3s ease;
}

.contact-link:hover {
  color: #ff2d20;
}

.footer-bottom {
  background: #ff2d20;

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

  height: 60px;
  font-size: 14px;
  font-weight: 500;
}
.wrapper{
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 360px){
  .wrapper{ padding: 0 14px; }
}

.footer {
  color: #fff;
  display: flex;
  flex-direction: column;
}


.footer-main {
  background: #111;
  border-top: 1px solid rgba(255,255,255,0.08);

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

.footer-content {
  width: 100%;
  max-width: 1200px;

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

  padding: 100px 20px 70px;
  text-align: center;
}


.footer-logo {
  font-size: 28px;
  margin-bottom: 25px;
}


.footer-description {

  color: #bcbcbc;
  line-height: 1.8;
  margin-bottom: 60px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 45px;
}

.footer-nav a {
  color: #bcbcbc;
  text-decoration: none;
  transition: 0.3s ease;
  font-size: 16px;
}

.footer-nav a:hover {
  color: #ff2d20;
}

@media (max-width: 480px) {
  .contact {
    padding: 100px 0;
  }

  .contact .wrapper {
    padding: 0 14px;
  }

  .contact-description {
    font-size: 14px;
  }

  .contact-item {
    font-size: 16px;
    gap: 12px;
  }

  .contact-icon {
    width: 22px;
    height: 22px;
  }
}

@keyframes slideDownHeader {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDownHeader 0.8s ease-out forwards;
}
@keyframes fadeUpSection {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


.home-content h1,
.home-content p,
.home-content .btn-primary {
    opacity: 0; 
    animation: fadeUpSection 0.8s ease-out forwards;
}


.home-content h1 {
    animation-delay: 0.2s; 
}

.home-content p {
    animation-delay: 0.5s; 
}

.home-content .btn-primary {
    animation-delay: 0.8s; 
}



.about-left, 
.about-right {
    opacity: 0;
}

.about.in-view .about-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.about.in-view .about-right {
    animation: slideInRight 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

@keyframes slideInLeft {
    from { 
        opacity: 0; 
        transform: translateX(-50px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

@keyframes slideInRight {
    from { 
        opacity: 0; 
        transform: translateX(50px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}



.stat {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
}

.stat:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.cta-content .cta-badge,
.cta-content h2,
.cta-content p,
.cta-content .btn-primary {
    opacity: 0;
}

.cta.in-view .cta-badge {
    animation: fadeInUpCTA 0.6s ease-out forwards;
}

.cta.in-view h2 {
    animation: fadeInUpCTA 0.6s ease-out 0.2s forwards;
}

.cta.in-view p {
    animation: fadeInUpCTA 0.6s ease-out 0.4s forwards;
}

.cta.in-view .btn-primary {
    animation: fadeInUpCTA 0.6s ease-out 0.6s forwards;
}

@keyframes fadeInUpCTA {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.contact .section-badge,
.contact .section-title,
.contact .contact-description,
.contact .contact-item,
.contact .contact-nip {
    opacity: 0;
}

.contact.in-view .section-badge {
    animation: fadeInUpContact 0.6s ease-out forwards;
}

.contact.in-view .section-title {
    animation: fadeInUpContact 0.6s ease-out 0.1s forwards;
}

.contact.in-view .contact-description {
    animation: fadeInUpContact 0.6s ease-out 0.2s forwards;
}


.contact.in-view .contact-item:nth-child(1) { animation: fadeInUpContact 0.6s ease-out 0.3s forwards; }
.contact.in-view .contact-item:nth-child(2) { animation: fadeInUpContact 0.6s ease-out 0.4s forwards; }
.contact.in-view .contact-item:nth-child(3) { animation: fadeInUpContact 0.6s ease-out 0.5s forwards; }

.contact.in-view .contact-nip {
    animation: fadeInUpContact 0.6s ease-out 0.6s forwards;
}

@keyframes fadeInUpContact {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.footer .footer-logo,
.footer .footer-description,
.footer .footer-nav a,
.footer .footer-bottom {
    opacity: 0;
}

.footer.in-view .footer-logo {
    animation: fadeInUpFooter 0.6s ease-out forwards;
}

.footer.in-view .footer-description {
    animation: fadeInUpFooter 0.6s ease-out 0.1s forwards;
}

.footer.in-view .footer-nav a:nth-child(1) { animation: fadeInUpFooter 0.6s ease-out 0.2s forwards; }
.footer.in-view .footer-nav a:nth-child(2) { animation: fadeInUpFooter 0.6s ease-out 0.3s forwards; }
.footer.in-view .footer-nav a:nth-child(3) { animation: fadeInUpFooter 0.6s ease-out 0.4s forwards; }
.footer.in-view .footer-nav a:nth-child(4) { animation: fadeInUpFooter 0.6s ease-out 0.5s forwards; }
.footer.in-view .footer-nav a:nth-child(5) { animation: fadeInUpFooter 0.6s ease-out 0.6s forwards; }

.footer.in-view .footer-bottom {
    animation: fadeInUpFooter 0.6s ease-out 0.8s forwards;
}

@keyframes fadeInUpFooter {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#oferta .section-badge,
#oferta .section-title,
#oferta .service-card {
    opacity: 0;
}

#oferta.in-view .section-badge {
    animation: fadeInUpServices 0.6s ease-out forwards;
}

#oferta.in-view .section-title {
    animation: fadeInUpServices 0.6s ease-out 0.1s forwards;
}

#oferta.in-view .service-card:nth-child(1) { animation: fadeInUpServices 0.6s ease-out 0.2s forwards; }
#oferta.in-view .service-card:nth-child(2) { animation: fadeInUpServices 0.6s ease-out 0.3s forwards; }
#oferta.in-view .service-card:nth-child(3) { animation: fadeInUpServices 0.6s ease-out 0.4s forwards; }
#oferta.in-view .service-card:nth-child(4) { animation: fadeInUpServices 0.6s ease-out 0.5s forwards; }
#oferta.in-view .service-card:nth-child(5) { animation: fadeInUpServices 0.6s ease-out 0.6s forwards; }
#oferta.in-view .service-card:nth-child(6) { animation: fadeInUpServices 0.6s ease-out 0.7s forwards; }
#oferta.in-view .service-card:nth-child(7) { animation: fadeInUpServices 0.6s ease-out 0.8s forwards; }
#oferta.in-view .service-card:nth-child(8) { animation: fadeInUpServices 0.6s ease-out 0.9s forwards; }

@keyframes fadeInUpServices {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



