/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark: #0f1a30;
  --bg-darker: #0a1023;
  --text-dark: #1a1a1a;
  --text-light: #ffffff;
  --text-muted: #c9d3e6;
  --gold: #d2b15a;
  --gold-light: #e0c36d;
  --container-width: 1180px;
  --container-padding: 24px;
  --section-padding: 96px;
  --radius: 18px;
  --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.08);
  --shadow-strong: 0 16px 40px rgba(0, 0, 0, 0.30);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: Arial, sans-serif;
  color: var(--text-dark);
  background: #fff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--container-width), calc(100% - (var(--container-padding) * 2)));
  margin: 0 auto;
}

/* BUTTON */
.btn {
  display: inline-block;
  background: var(--gold);
  color: #000;
  padding: 14px 24px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

/* NAV */
.pe-nav {
  position: fixed;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  z-index: 999;
  width: min(var(--container-width), calc(100% - 24px));
  pointer-events: none;
}

.pe-nav__inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 18px;
  border-radius: 18px;
  background: rgba(10, 16, 35, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-strong);
}

.pe-nav__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.pe-nav__logo {
  height: 48px;
  width: auto;
  display: block;
}

.pe-nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pe-nav__links a {
  text-decoration: none;
  color: rgba(233, 236, 245, 0.88);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  transition: 0.25s ease;
}

.pe-nav__links a:hover {
  color: #0f1b3d;
  background: linear-gradient(135deg, #d4af37, #f1c75b);
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.22);
  transform: translateY(-1px);
}

.pe-nav__burger {
  display: none;
  width: 44px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  padding: 0 10px;
}

.pe-nav__burger span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: rgba(233, 236, 245, 0.9);
  border-radius: 999px;
}

/* HERO */
.hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.62)),
    url("assets/hero.png") center/cover no-repeat;
  color: var(--text-light);
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 150px 0 110px;
}

.hero-logo {
  width: min(620px, 80%);
  height: auto;
  display: block;
  margin: 0 auto 24px;
  filter:
    drop-shadow(0 0 10px rgba(210, 177, 90, 0.22))
    drop-shadow(0 0 22px rgba(210, 177, 90, 0.16))
    drop-shadow(0 0 40px rgba(210, 177, 90, 0.10));
  transition:
    transform 0.45s ease,
    filter 0.45s ease,
    opacity 0.45s ease;
  animation: heroLogoFloat 4.8s ease-in-out infinite;
}

.hero-logo:hover {
  transform: translateY(-4px) scale(1.01);
  filter:
    drop-shadow(0 0 14px rgba(224, 195, 109, 0.34))
    drop-shadow(0 0 30px rgba(224, 195, 109, 0.24))
    drop-shadow(0 0 54px rgba(224, 195, 109, 0.16));
}

@keyframes heroLogoFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

.hero__container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-left {
  max-width: 760px;
  margin: 0 auto;
}

.hero-left h1 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.08;
  margin-bottom: 20px;
}

.hero-left h1 span {
  color: var(--gold);
}

.hero-left p {
  max-width: 620px;
  margin: 0 auto 30px;
  font-size: 18px;
  line-height: 1.75;
}

/* ABOUT */
.about {
  padding: var(--section-padding) 0;
  background: #f5f6f8;
  color: var(--text-dark);
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}

.about-left,
.about-right {
  flex: 1;
}

.about-left h2 {
  font-size: clamp(30px, 4vw, 42px);
  margin-bottom: 24px;
  color: var(--bg-dark);
}

.about-left p {
  margin-bottom: 18px;
  line-height: 1.8;
  max-width: 620px;
}

.about-right {
  display: flex;
  justify-content: center;
}

.about-right img {
  width: 100%;
  max-width: 520px;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* SERVICES */
.services {
  padding: var(--section-padding) 0;
  background:
    linear-gradient(rgba(6, 2, 2, 0.075), rgba(249, 249, 249, 0.298)),
    url("assets/services-bg.png") center/cover no-repeat;
  color: #fff;
}

.services-wrapper {
  text-align: center;
}

.services-header {
  margin-bottom: 56px;
}

.services-header h2 {
  font-size: clamp(30px, 4vw, 42px);
  margin-bottom: 16px;
  color: var(--bg-dark);
}

.services-header p {
  color: #555;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.service-card {
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 34px 26px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.service-icon {
  width: 75px;
  height: 75px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon img {
  width: 35px;
  height: 35px;
}

.service-card h3 {
  font-size: 21px;
  line-height: 1.4;
  color: var(--bg-dark);
}

/* WHY */
.why {
  padding: var(--section-padding) 0;
  background:
    linear-gradient(rgba(10, 18, 35, 0.78), rgba(10, 18, 35, 0.78)),
    url("assets/why.png") center/cover no-repeat;
  color: #fff;
}

.why-header {
  text-align: center;
  margin-bottom: 52px;
}

.why-header h2 {
  font-size: clamp(30px, 4vw, 42px);
  margin-bottom: 14px;
}

.why-header h2 span {
  color: var(--gold);
}

.why-header p {
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.75;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: rgba(18, 28, 52, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  padding: 30px 22px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, background 0.3s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  background: rgba(18, 28, 52, 0.75);
}

.why-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(210, 177, 90, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.why-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
}

.why-card p {
  color: #dbe3f5;
  line-height: 1.65;
  font-size: 15px;
}

/* CONTACT */
.pe-contact {
  position: relative;
  padding: 52px 0;
  color: #fff;
  background-image: url("assets/contact.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.pe-contact__overlay {
  position: absolute;
  inset: 0;
  background: rgba(22, 20, 1, 0.72);
}

.pe-contact__grid {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 22px;
  align-items: start;
}

.pe-contact__title {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 850;
  line-height: 1.12;
}

.pe-contact__subtitle {
  margin: 0 0 6px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.92);
}

.pe-contact__subtitle strong {
  color: #f1c75b;
}

.pe-contact__desc {
  margin: 0 0 16px;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  font-size: 15px;
}

.pe-contact__form {
  display: grid;
  gap: 10px;
  max-width: 100%;
}

.pe-field {
  display: grid;
  gap: 6px;
}

.pe-field span {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.pe-field input,
.pe-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 12px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.pe-field input::placeholder,
.pe-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.pe-field input:focus,
.pe-field textarea:focus {
  border-color: rgba(241, 199, 91, 0.8);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(241, 199, 91, 0.12);
}

.pe-contact__hint {
  min-height: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.pe-contact__right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  padding-top: 0;
}

.pe-contact__info {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 14px 16px;
  width: 100%;
  max-width: 260px;
  margin-left: auto;
}

.pe-contact__infoRow {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
}

.pe-contact__infoRow + .pe-contact__infoRow {
  margin-top: 10px;
}

.pe-contact__icon {
  font-size: 16px;
  line-height: 1.2;
}

.pe-contact__send {
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #d4af37, #f1c75b);
  color: #0f1b3d;
  font-weight: 800;
  padding: 12px 18px;
  border-radius: 12px;
  transition: 0.3s ease;
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.22);
  width: 100%;
  max-width: 260px;
  margin-left: auto;
}

.pe-contact__send:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(212, 175, 55, 0.28);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .services-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-container {
    gap: 36px;
  }
}

@media (max-width: 900px) {
  :root {
    --container-padding: 20px;
    --section-padding: 80px;
  }

  .pe-nav__burger {
    display: inline-block;
  }

  .pe-nav__links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(10, 16, 35, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: none;
  }

  .pe-nav__links a {
    padding: 12px 14px;
  }

  .pe-nav.is-open .pe-nav__links {
    display: flex;
  }

  .about-container,
  .pe-contact__grid {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .about {
    text-align: center;
  }

  .about-left p {
    margin-left: auto;
    margin-right: auto;
  }

  .about-right {
    order: 2;
  }

  .pe-contact {
    padding: 44px 0;
  }

  .pe-contact__grid {
    width: min(620px, 100%);
    gap: 16px;
  }

  .pe-contact__right {
    padding-top: 0;
    align-items: stretch;
  }

  .pe-contact__info,
  .pe-contact__send {
    max-width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 18px;
    --section-padding: 72px;
  }

  .pe-nav {
    width: calc(100% - 20px);
    top: 12px;
  }

  .pe-nav__inner {
    padding: 10px 12px;
  }

  .pe-nav__logo {
    height: 42px;
  }

  .hero {
    min-height: auto;
    padding: 130px 0 80px;
  }

  .hero-left h1 {
    font-size: 34px;
  }

  .hero-left p {
    font-size: 16px;
  }

  .services-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .pe-contact {
    padding: 38px 0;
  }

  .pe-contact__send {
    width: 100%;
    text-align: center;
  }

  .pe-contact__info {
    max-width: 100%;
  }

  .pe-consent {
    font-size: 13px;
  }
}

/* FORM EXTRA */
.pe-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.pe-field__error {
  display: block;
  min-height: 14px;
  font-size: 12px;
  color: #ffd6d6;
}

.pe-field input.is-invalid,
.pe-field textarea.is-invalid {
  border-color: rgba(255, 107, 107, 0.95);
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.12);
}

.pe-field input.is-valid,
.pe-field textarea.is-valid {
  border-color: rgba(120, 220, 160, 0.9);
}

.pe-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.pe-consent input[type="checkbox"] {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  accent-color: #f1c75b;
}

.pe-consent a {
  color: #f1c75b;
  text-decoration: underline;
}

.pe-field__error--consent {
  margin-top: -6px;
  margin-bottom: 2px;
}

.pe-contact__hint {
  min-height: 18px;
  font-size: 13px;
  font-weight: 700;
  padding-top: 2px;
}

.pe-contact__hint.is-error {
  color: #ffd6d6;
}

.pe-contact__hint.is-success {
  color: #bff3c8;
}

.pe-contact__send.is-loading {
  opacity: 0.75;
  cursor: wait;
}

.pe-contact__send:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.pe-contact__infoRow a {
  color: #fff;
  text-decoration: none;
}

.pe-contact__infoRow a:hover {
  text-decoration: underline;
}

.pe-field textarea {
  resize: vertical;
  min-height: 96px;
}

.pe-contact__infoRow span,
.pe-contact__infoRow a {
  overflow-wrap: anywhere;
}

.site-footer {
  background: #0f1a30;
  color: rgba(255, 255, 255, 0.82);
  padding: 22px 0;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer__inner p {
  margin: 0;
  font-size: 14px;
}

.site-footer__links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer__links a {
  color: #f1c75b;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.site-footer__links a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2000;
  display: block;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__content {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border-radius: 18px;
  background: rgba(10, 16, 35, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.cookie-banner__text h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: #fff;
}

.cookie-banner__text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 760px;
}

.cookie-banner__text a {
  color: #f1c75b;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  border: none;
  cursor: pointer;
  font-weight: 800;
  padding: 13px 18px;
  border-radius: 12px;
  transition: 0.3s ease;
}

.cookie-btn--primary {
  background: linear-gradient(135deg, #d4af37, #f1c75b);
  color: #0f1b3d;
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.22);
}

.cookie-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(212, 175, 55, 0.28);
}

@media (max-width: 768px) {
  .cookie-banner__content {
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-btn {
    width: 100%;
    text-align: center;
  }
}