@import url("https://fonts.googleapis.com/css2?family=Great+Vibes&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Old+Standard+TT:ital,wght@0,400;0,700;1,400&display=swap");
@font-face {
  font-family: "Disruptor Script";
  src: url("fonts/Disruptor's Script.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --beige: #e4ded0;
  --gray: #cccccc;
  --white: #ffffff;
  --black: #333333;
  --font-main: "Montserrat", sans-serif;
  --font-serif: "Old Standard TT", serif;
  --container-width: 1200px;
  --content-padding: clamp(15px, 4vw, 30px);
}

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

html,
body {
  height: 100%;
  scroll-behavior: smooth;
  font-size: 18px;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-color: var(--white);
  color: var(--black);
  max-width: 100%;
}

.container {
  max-width: var(--container-width);
  margin-inline: auto;
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  line-height: 1.2;
}

h1 {
  font-size: clamp(4.2rem, 8vw, 8rem);
  font-family: "Disruptor Script", cursive;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  line-height: 1;
}
h1 b {
  position: relative;
  z-index: 20;
  font-weight: 200;
  display: flex;
  line-height: 0.5;
}
h1 span {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: clamp(1rem, 4vw, 1.6rem);
  letter-spacing: 2px;
  padding: 10px 15px 7px;
  line-height: 1;
  background-color: var(--gray);
  display: inline-block;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 11;
  width: max-content;
}
h2 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-family: var(--font-main);
  color: var(--white);
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 30px;
  background-color: var(--beige);
  padding: 10px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 13px;
}

h2 span {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--black);
  font-size: clamp(1.45rem, 4vw, 1.7rem);
  display: flex;
}
h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
p {
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  margin-bottom: 2em;
}

h4 {
  font-size: clamp(0.8rem, 2.5vw, 1.5rem);
  font-family: var(--font-main);
  font-weight: 300;
  margin: 20px auto;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

h4 span {
  font-family: "Disruptor Script", cursive;
  font-size: clamp(2.45rem, 6vw, 5.7rem);
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

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

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

:focus {
  outline: none;
}

.header {
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
  top: 0;
  width: 100%;
  background: white;
  z-index: 1000;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px clamp(15px, 4vw, 30px);
  position: relative;
  z-index: 100;
}

.logo img {
  max-width: 150px;
}

.nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background: #f5f0e9;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: right 0.5s ease;
}

.nav.open {
  right: 0;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: clamp(0.8rem, 3vw, 1rem);
}

.nav-list li a {
  text-transform: uppercase;
  color: #333;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
  white-space: nowrap;
}

.nav-list li a:hover {
  transform: translateX(8px);
  color: #a8a8a8;
}

.nav-footer {
  position: absolute;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
}

.nav-footer a {
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

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

.burger {
  position: absolute;
  right: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1100;
}

.burger span {
  display: block;
  height: 2px;
  background: #333;
  border-radius: 1px;
  transition: all 0.4s ease;
}

.burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media (min-width: 992px) {
  .burger {
    display: none;
  }
  .nav {
    position: static;
    width: auto;
    height: auto;
    flex-direction: row;
    background: none;
    justify-content: center;
    gap: 48px;
  }
  .nav-list {
    flex-direction: row;
    gap: 48px;
  }
  .nav-footer {
    display: none;
  }
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 75px;
  padding-bottom: 75px;
  text-align: center;
}

.hero-image img {
  width: clamp(305px, 45vw, 640px);
  height: auto;
}

.hero-text p {
  font-size: clamp(1rem, 3.2vw, 1.125rem);
  margin-bottom: 16px;
  text-align: center;
  max-width: 560px;
}

.hero-text .row-btn {
  margin-top: 20px;
}

.hero-text p span {
  font-family: "Disruptor Script", cursive;
  font-size: clamp(3rem, 2.2vw, 2.125rem);
  display: block;
  line-height: 0.8;
}

.social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.social a {
  font-size: 1.2rem;
  color: var(--white);
  background-color: var(--gray);
  width: 40px;
  height: 40px;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: -4px 3px 27px -3px rgba(0, 0, 0, 0.75);
}

.social a:hover {
  opacity: 0.6;
}

.box-text {
  position: relative;
}

.box-text img {
  position: absolute;
  object-fit: contain;
  height: 236px;
  left: -65px;
  opacity: 0.4;
  z-index: 1;
  top: -88%;
}

.row-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  background-color: var(--gray);
  box-shadow: -4px 3px 29px 4px rgba(0, 0, 0, 0.25);
  color: var(--white);
  padding: 12px 32px;
  font-size: 0.7rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.btn-out {
  background-color: var(--beige);
}

.btn:hover {
  background-color: var(--gray);
  color: var(--white);
  transform: translateY(-3px);
}

@media (min-width: 992px) {
  .hero {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 48px;
  }
  .hero-text {
    max-width: 600px;
  }
}
.header .back {
  position: absolute;
  right: -860px;
  top: -50%;
  z-index: -1;
}

@media (max-width: 992px) {
  h1 b {
    font-weight: 400;
  }
  h1 span {
    padding: 10px;
  }
  .social {
    position: absolute;
    top: 110px;
    margin: auto;
    left: auto;
    right: auto;
    width: 100%;
  }
  .hero {
    margin: 50px 0 0;
    padding-bottom: 0;
  }
  .hero-text h1 {
    padding: 0 15px;
  }
  .hero-text p {
    padding: 0 15px;
    max-width: 95%;
    margin: 0 auto 30px;
  }
  .row-btn {
    margin: 15px;
    width: 95%;
    margin: 70px auto;
  }
  .btn {
    width: 145px;
    font-size: 13px;
  }
  .box-text img {
    height: 195px;
    left: 0;
    opacity: 0.4;
    top: -105%;
  }
  .header .back {
    right: auto;
    top: auto;
  }
}

@media (min-width: 992px) and (max-width: 1250px) {
  .nav-list {
    gap: 20px;
  }
}
section {
  padding: 80px 20px;
  position: relative;
  overflow-x: hidden;
}

.about-section {
  position: relative;
  background-color: var(--beige);
}

.about-section .btn {
  margin: 30px auto;
  min-width: 300px;
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--black);
  opacity: 0.9;
}

.about-text .logo {
  margin-bottom: 30px;
}

.about-text .logo img {
  max-width: 400px;
}

.about-image img {
  max-width: 45vw;
}

@media (max-width: 992px) {
  section {
    padding: 40px 20px;
  }
  .about-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-text {
    max-width: 90%;
    margin: auto;
    order: 2;
  }
  .about-image {
    order: 1;
  }
  .about-image img {
    margin: 0 auto;
    max-width: 75vw;
  }
  .about-text .logo img {
    max-width: 200px;
    margin: auto;
  }
}

[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  transition-delay: var(--delay, 0s);
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

.services-section > img {
  position: absolute;
  right: 0;
  opacity: 0.4;
}

.services {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.services-text p {
  font-size: clamp(1.2rem, 3vw, 1.3rem);
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: center;
}

.services-text .btn {
  margin: 50px auto;
  min-width: 300px;
}

.services-text p span {
  font-size: clamp(1.2rem, 4vw, 2rem);
  line-height: 0.5;
  background-color: var(--beige);
  text-align: center;
}

.services-text p span {
  font-size: clamp(3.2rem, 8vw, 5rem);
  font-family: "Disruptor Script", cursive;
}

.services > img {
  max-width: 40vw;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: var(--white);
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  min-height: 3rem;
  color: var(--black);
  font-family: var(--font-main);
  font-weight: 200;
  text-transform: uppercase;
  background-color: var(--beige);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card p {
  font-size: 1rem;
  text-align: center;
  color: #555;
  margin-bottom: 0;
}

.service-card .btn {
  width: auto;
  min-width: 160px;
  font-size: 0.9rem;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

@media (max-width: 992px) {
  .services {
    flex-direction: column;
    gap: 50px;
  }
  .services-section > img {
    top: 38%;
  }
  .services-section .social {
    position: relative;
    z-index: 1000;
    top: 10px;
  }
  .services-grid {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }
  .services > img {
    max-width: 90vw;
  }
  .service-card h3 {
    font-size: 1rem;
  }
}

.title {
  text-align: center;
  margin: 30px auto;
}

.services-section .title {
  margin-top: 100px;
  font-family: var(--font-main);
  font-weight: 400;
}

.certs {
  position: relative;
  padding: 10px 10px 20px;
}

.certs-carousel {
  position: relative;
  max-width: 100%;
  margin: 12px auto 0;
}
.certs-viewport {
  position: relative;
  overflow: visible;
  perspective: 100%;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 7%,
    #000 93%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 7%,
    #000 93%,
    transparent 100%
  );
  padding: 30px;
}
.certs-track {
  position: relative;
  list-style: none;
  height: clamp(200px, 30vw, 300px);
}
.certs-slide {
  position: absolute;
  left: 50%;
  top: 0;
  width: clamp(200px, 36vw, 300px);
  aspect-ratio: 4/3;
  transform: translate3d(-50%, 0, 0);
  transform-style: preserve-3d;
  transition:
    transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.35s ease,
    filter 0.35s ease;
  will-change: transform;
  z-index: 1;
  opacity: 0.85;
}
.certs-slide.is-active {
  z-index: 30;
  opacity: 1;
}
.certs-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  background: #fff;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.18),
    0 6px 20px rgba(107, 107, 107, 0.25);
  border: 1px solid #00000010;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.certs-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--gray);
  color: #fff;
  box-shadow: -4px 3px 29px 4px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  z-index: 40;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}
.certs-btn.prev {
  left: -6px;
}
.certs-btn.next {
  right: -6px;
}

.certs-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 16px;
  height: 16px;
  margin: auto;
  background: #fff;
  clip-path: polygon(30% 50%, 70% 20%, 70% 80%);
  transform: rotate(180deg);
}
.certs-btn.next::before {
  transform: none;
}

.certs-btn:hover {
  transform: translateY(-50%) scale(1.04);
  box-shadow: 0 18px 34px rgba(133, 133, 133, 0.55);
  filter: saturate(1.05);
}
.certs-btn:active {
  transform: translateY(-50%) scale(0.98);
  box-shadow: 0 10px 20px rgba(127, 126, 126, 0.5);
}
.certs-btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 6px rgba(129, 129, 129, 0.85);
}
@media (max-width: 1048px) {
  .certs-btn.prev {
    left: 4px;
  }
  .certs-btn.next {
    right: 4px;
  }
}
@media (max-width: 560px) {
  .certs-btn {
    width: 40px;
    height: 40px;
  }
}

.certs-dots {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: -50px;
}
.certs-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d7d7d7;
  border: 0;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}
.certs-dot[aria-selected="true"] {
  background: var(--accent);
  transform: scale(1.35);
  box-shadow: 0 0 0 6px rgba(171, 165, 166, 0.15);
}

.certs-progress {
  height: 4px;
  border-radius: 999px;
  overflow: hidden;
  margin: 14px auto 0;
  max-width: 680px;
}
.certs-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent);
  box-shadow: 0 6px 16px rgba(160, 155, 156, 0.45);
}

@media (max-width: 560px) {
  .certs {
    padding: 0 15px;
  }
  .certs-viewport {
    padding: 34px 0 48px;
  }
}

.btn-center {
  margin: 50px auto;
  width: max-content;
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 2000;
}

.modal.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--white);
  padding: 40px 30px;
  max-width: 600px;
  width: 90%;
  border-radius: 20px;
  box-shadow: -4px 3px 27px -3px rgba(0, 0, 0, 0.3);
  text-align: center;
  transform: translateY(-50px) scale(0.95);
  opacity: 0;
  transition: all 0.4s ease;
  font-family: var(--font-main);
}

.modal.show .modal-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.close {
  position: absolute;
  top: -16px;
  right: 3px;
  font-size: 40px;
  cursor: pointer;
  color: var(--black);
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.close:hover {
  transform: rotate(90deg);
  color: var(--gray);
}

.modal-content h2 {
  font-family: "Disruptor Script", cursive;
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: var(--black);
  text-transform: capitalize;
  line-height: 0.8;
}

.modal-content p {
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: var(--black);
}

.modal-content .btn {
  margin: auto;
}

@media (max-width: 600px) {
  .modal-content {
    padding: 25px 20px;
    font-size: 0.95rem;
  }
  .modal-content h2 {
    font-size: 2.5rem;
  }
}

#contacts {
  background-color: var(--beige);
}

.contacts {
  display: flex;
  gap: 50px;
  align-items: center;
  justify-content: center;
}

#reviews img {
  max-width: 45vw;
}

#contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

#contact .logo img {
  max-width: 290px;
}

#contact h3 {
  text-align: center;
  font-family: "Disruptor Script", cursive;
  font-weight: 400;
  font-size: clamp(2.5rem, 4vw, 2rem);
  line-height: 0.8;
}

.links {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

#services .row-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 60px;
  flex-wrap: wrap;
}

#services .row-btn .btn {
  width: 300px;
}

@media (max-width: 992px) {
  .contacts {
    flex-direction: column;
  }
  .contacts .social {
    position: relative;
    top: -10px;
  }
  #reviews img {
    max-width: 100%;
  }
  .services-text {
    order: 1;
  }
  .services > img {
    order: 2;
  }
}

#contact p {
  text-align: center;
  font-size: 15px;
  margin-bottom: 0;
}

.footer {
  background: #f5f0e9;
  padding: 30px 20px;
  text-align: center;
}

.footer-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.footer a {
  font-size: 14px;
  color: #333;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 1px;
  background: #a8a8a8;
  transition: width 0.3s ease;
}

.footer a:hover {
  color: #a8a8a8;
}

.footer a:hover::after {
  width: 100%;
}

@media (max-width: 992px) {
  .footer {
    padding: 15px;
  }
  .footer-container {
    flex-direction: column;
    gap: 5px;
  }
  .footer a {
    font-size: 12px;
    width: max-content;
    margin: auto;
  }
}

.modal-content {
  max-height: 80vh;
  overflow-y: auto;
}

.payment-block {
  margin-top: 100px;
  margin-bottom: 60px;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.payment-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.payment-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.payment-card span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 15px;
}

.payment-card h4 {
  font-size: 30px;
  color: #333;
  margin-bottom: 20px;
  justify-content: flex-start;
}

.payment-card p {
  min-height: 120px;
  color: #555;
}

.payment-card .btn {
  width: 100%;
}

.payment-card.featured {
  background: var(--beige);
  transform: scale(1.03);
}

.payment-card.featured:hover {
  transform: scale(1.03) translateY(-10px);
}

.badge {
  position: absolute;
  top: 38px;
  right: -54px;
  background: #d7d2b7;
  color: rgb(111, 111, 111);
  padding: 10px 50px;
  transform: rotate(35deg);
  font-size: 12px;
  letter-spacing: 1px;
}

.payment-card.large {
  grid-column: span 2;
}

@media (max-width: 992px) {
  .payment-card.large {
    grid-column: span 1;
  }

  .payment-card p {
    min-height: auto;
  }
  .payment-grid {
    display: flex;
    flex-direction: column;
  }
  .payment-block {
    margin-top: 30px;
    margin-bottom: 0;
  }
}
