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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #020b14;
  color: #ffffff;
  line-height: 1.6;
}

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

a:focus-visible {
  outline: 2px solid #19b7c9;
  outline-offset: 4px;
  border-radius: 4px;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  padding: 20px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(2, 11, 20, 0.75);
  backdrop-filter: blur(10px);
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  display: block;
  width: 62px;
  height: 62px;
  border-radius: 4px;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links a {
  opacity: 0.85;
  transition: 0.3s;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #19b7c9;
  opacity: 1;
}

.hero {
  min-height: 100vh;
  background-image:
    linear-gradient(rgba(2, 11, 20, 0.15), rgba(2, 11, 20, 0.65)),
    url("images/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.button {
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid #19b7c9;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(25, 183, 201, 0.16);
  transition: 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

.button:hover {
  background: #19b7c9;
  color: #020b14;
}

section {
  padding: 90px 8%;
  scroll-margin-top: 122px;
}

.section-dark {
  background: #020b14;
}

.section-blue {
  background: #041827;
}

.section-title {
  color: #19b7c9;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 22px;
}

h1 {
  max-width: 900px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

h2 {
  margin-bottom: 18px;
  color: #ffffff;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.35;
}

.section-dark h1,
.section-dark h2,
.section-blue h2 {
  max-width: 850px;
  margin-bottom: 26px;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.4;
  font-weight: 700;
}

.section-dark h1 {
  text-transform: none;
  letter-spacing: 0;
}

.text {
  max-width: 900px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.9;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 42px;
}

.card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 28px;
}

.card h3 {
  margin-bottom: 14px;
  color: #ffffff;
}

.card p {
  color: #c8dce4;
}

.contact-box {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.social-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.social-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: currentColor;
}

.social-button[href*="instagram"] .social-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

main {
  padding-top: 92px;
}

main:has(.hero) {
  padding-top: 0;
}

.page-header {
  padding: 70px 8% 60px;
  background: #020b14;
}

.page-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1100px;
}

.subtitle {
  max-width: 700px;
  margin-top: 24px;
  color: #d8f7fb;
  font-size: 1.05rem;
}

.content {
  padding: 70px 8% 90px;
  background: #041827;
}

.legal-wrapper,
.pricing-wrapper,
.text-wrapper {
  max-width: 960px;
}

.legal-section,
.price-section {
  padding: 34px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-section:first-child,
.price-section:first-child {
  padding-top: 0;
}

.legal-section:last-child,
.price-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.price-section.final-price-section {
  border-bottom: 0;
}

p,
li {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.85;
}

ul {
  margin: 12px 0 0 22px;
}

.price-list {
  display: grid;
  gap: 12px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.price-row:last-child {
  border-bottom: 0;
}

.price-name {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.price-value {
  color: #d8f7fb;
  font-size: 1.05rem;
  font-weight: 700;
  white-space: nowrap;
}

.note {
  width: 100%;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.85;
}

.certification-logo {
  display: block;
  width: min(260px, 30vw);
  height: auto;
  background: #ffffff;
  border-radius: 4px;
}

.portrait {
  display: block;
  width: min(260px, 30vw);
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.text-wrapper p,
.text-wrapper li {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
  line-height: 1.9;
}

.text-wrapper p + p {
  margin-top: 22px;
}

.text-wrapper ul {
  margin: 22px 0 24px 22px;
}

footer {
  padding: 48px 8% 34px;
  scroll-margin-top: 122px;
  text-align: center;
  color: #78909c;
  background: #01070d;
  font-size: 0.85rem;
}

.footer-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 0 auto 32px;
  width: fit-content;
}

.footer-location-map {
  width: 140px;
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.3));
}

.footer-brand {
  display: grid;
  gap: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.65;
  text-align: left;
}

.footer-brand strong {
  color: #ffffff;
  font-size: 1.15rem;
}

.footer-brand span {
  display: block;
}

.footer-contact {
  max-width: 760px;
  margin: 0 auto 34px;
}

.footer-contact h2 {
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.footer-contact p {
  margin: 0 auto;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.7;
}

.footer-contact-box {
  justify-content: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.82);
}

.footer-links a {
  transition: 0.3s;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #19b7c9;
}

@media (max-width: 800px) {
  .navbar {
    padding: 16px 6%;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    gap: 14px;
    font-size: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .logo img {
    width: 54px;
    height: 54px;
  }

  .hero {
    min-height: auto;
    aspect-ratio: 916 / 1138;
    margin-top: 152px;
    padding: 0;
    background-image:
      linear-gradient(rgba(2, 11, 20, 0.15), rgba(2, 11, 20, 0.65)),
      url("images/hero-mobile.jpg");
    background-size: 100% auto;
    background-position: center top;
  }

  section {
    padding: 70px 6%;
    scroll-margin-top: 185px;
  }

  footer {
    scroll-margin-top: 185px;
  }

  main {
    padding-top: 130px;
  }

  main:has(.hero) {
    padding-top: 0;
  }

  .page-header {
    padding: 50px 6% 45px;
  }

  .page-header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .content {
    padding: 60px 6% 75px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .price-row {
    gap: 12px;
  }

  .certification-logo {
    width: min(230px, 82vw);
  }

  .portrait {
    width: min(230px, 82vw);
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .footer-location {
    flex-direction: column;
    gap: 14px;
  }

  .footer-location-map {
    width: 112px;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-contact-box {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 320px);
    margin-left: auto;
    margin-right: auto;
  }

  .footer-contact-box .button {
    width: 100%;
    text-align: center;
  }

  .footer-contact-box .social-button {
    justify-content: center;
  }
}
