:root {
  --pp-primary: #ea173d;
  --pp-secondary: #ffa500;
  --pp-text: #ffffff;
  --pp-muted: rgba(255, 255, 255, 0.9);
  --pp-bg: #0d0c0f;
  --pp-footer: #060a14;
  --pp-footer-border: #1e293b;
  --pp-footer-text: #94a3b8;
  --pp-footer-link: #60a5fa;
  --pp-font: "Plus Jakarta Sans", Arial, Helvetica, sans-serif;
  --pp-footer-height: 180px;
  --pp-hero-copy-shift: 0px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--pp-bg);
  color: var(--pp-text);
  font-family: var(--pp-font);
  font-size: 16px;
  line-height: 1.5;
}

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

img {
  max-width: 100%;
  height: auto;
}

[hidden] {
  display: none !important;
}

body.pp-modal-open {
  overflow: hidden;
}

.pp-site {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

.pp-main {
  flex: 0 0 auto;
}

.pp-hero {
  position: relative;
  display: flex;
  width: 100%;
  min-height: max(0px, calc(100svh - var(--pp-footer-height)));
  overflow: hidden;
  background: #000;
}

.pp-hero-bg,
.pp-hero-overlay {
  position: absolute;
  inset: 0;
}

.pp-hero-bg {
  z-index: 0;
  background-image: url("../images/AIPictureLowRes-scaled.jpg");
  background-position: 50% 50%;
  background-size: cover;
  background-attachment: fixed;
}

.pp-hero-overlay {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.74)),
    rgba(0, 0, 0, 0.22);
}

.pp-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(2rem, 10vh, 5rem) 0 clamp(1.4rem, 4vh, 2.5rem);
}

.pp-brand {
  margin: 0 0 1.25rem;
  color: var(--pp-primary);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.1;
  text-transform: uppercase;
}

.pp-hero-copy {
  max-width: min(1120px, 96vw);
  margin: 0 auto;
  text-align: center;
  transform: translateY(var(--pp-hero-copy-shift));
  transition: transform 0.18s ease;
}

.pp-hero-title {
  max-width: min(1240px, 96vw);
  margin: 0 auto 0.55em;
  color: var(--pp-text);
  font-size: clamp(40px, 4.8vw, 60px);
  font-weight: 700;
  line-height: 1.08;
}

.pp-hero-text {
  max-width: min(1080px, 94vw);
  margin: 0.75em auto;
  color: var(--pp-muted);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}

.pp-hero-text strong {
  color: var(--pp-text);
  font-weight: 800;
}

.pp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin-top: 22px;
  padding: 17px 24px;
  border: 0;
  border-radius: 5px;
  background: var(--pp-primary);
  color: var(--pp-text);
  cursor: pointer;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.pp-button:hover,
.pp-button:focus-visible {
  background: var(--pp-secondary);
  color: #111;
}

.pp-button:active {
  transform: translateY(1px);
}

.pp-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--pp-footer-border);
  background:
    radial-gradient(ellipse 82% 50% at 12% -8%, rgba(26, 34, 54, 0.48) 0%, transparent 58%),
    radial-gradient(ellipse 72% 46% at 100% 106%, rgba(10, 14, 26, 0.72) 0%, transparent 54%),
    linear-gradient(161deg, rgba(17, 24, 39, 0.58) 0%, var(--pp-footer) 46%, #03060d 100%);
  color: var(--pp-text);
  padding: 2.1rem 0 1.1rem;
}

.pp-footer::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(ellipse 64% 46% at 78% -18%, rgba(59, 130, 246, 0.18) 0%, rgba(37, 99, 235, 0.08) 38%, transparent 72%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.38), transparent 68%);
  opacity: 0.92;
}

.pp-footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
  gap: 1.5rem;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0;
}

.pp-footer-heading {
  margin: 0 0 0.6rem;
  color: var(--pp-footer-text);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-transform: uppercase;
}

.pp-footer p {
  margin: 0;
  color: var(--pp-footer-text);
}

.pp-footer-company {
  max-width: 520px;
}

.pp-footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 2;
}

.pp-footer-list a {
  color: var(--pp-footer-link);
  transition: color 0.2s ease;
}

.pp-footer-list a:hover,
.pp-footer-list a:focus-visible {
  color: var(--pp-text);
}

.pp-copyright {
  grid-column: 1 / -1;
  margin: 0.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--pp-footer-border);
  color: var(--pp-footer-text);
  font-size: 16px;
  text-align: center;
}

.pp-scroll-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
}

.pp-scroll-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--pp-primary);
  color: var(--pp-text);
  font-size: 20px;
  line-height: 1;
}

.pp-contact-modal,
.pp-form-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pp-contact-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: min(92svh, 860px);
  overflow: auto;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--pp-footer-border);
  border-radius: 8px;
  background:
    radial-gradient(ellipse 82% 50% at 12% -8%, rgba(26, 34, 54, 0.58) 0%, transparent 58%),
    linear-gradient(161deg, rgba(17, 24, 39, 0.78) 0%, #060a14 58%, #03060d 100%);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.52);
}

.pp-contact-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--pp-footer-border);
  border-radius: 50%;
  background: rgba(6, 10, 20, 0.78);
  color: var(--pp-footer-text);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.pp-contact-close:hover,
.pp-contact-close:focus-visible {
  color: var(--pp-text);
  border-color: var(--pp-footer-link);
  outline: none;
}

.pp-contact-kicker {
  margin: 0 0 0.45rem;
  color: var(--pp-footer-link);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pp-contact-dialog h2 {
  margin: 0 2rem 1.25rem 0;
  color: var(--pp-text);
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  line-height: 1.12;
}

.pp-contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.pp-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.pp-field-wide,
.pp-form-status,
.pp-form-footer {
  grid-column: 1 / -1;
}

.pp-field label {
  color: var(--pp-footer-text);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pp-field input,
.pp-field textarea {
  width: 100%;
  border: 1px solid var(--pp-footer-border);
  border-radius: 8px;
  background: #0f1629;
  color: var(--pp-text);
  font: inherit;
  font-size: 1rem;
  padding: 11px 13px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pp-field textarea {
  resize: vertical;
}

.pp-field input:focus,
.pp-field textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
  outline: none;
}

.pp-form-status {
  display: none;
  padding: 0.9rem 1rem;
  border-radius: 8px;
}

.pp-form-status.error,
.pp-form-status.success {
  display: block;
}

.pp-form-status.error {
  border: 1px solid rgba(239, 68, 68, 0.24);
  background: rgba(239, 68, 68, 0.1);
  color: #fca5a5;
}

.pp-form-status.success {
  border: 1px solid rgba(16, 185, 129, 0.24);
  background: rgba(16, 185, 129, 0.1);
  color: #6ee7b7;
}

.pp-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pp-form-note {
  color: var(--pp-footer-text);
  font-size: 0.95rem;
}

.pp-submit-button {
  margin-top: 0;
}

.pp-submit-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.pp-form-overlay-content {
  max-width: 440px;
  text-align: center;
}

.pp-form-overlay-content h2 {
  margin: 0 0 0.6rem;
  color: var(--pp-text);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.pp-form-overlay-content p {
  margin: 0 auto 1.2rem;
  color: var(--pp-footer-text);
  font-size: 1.1rem;
  line-height: 1.55;
}

.pp-form-spinner {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.4rem;
  border: 3px solid var(--pp-footer-border);
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: pp-spin 0.8s linear infinite;
}

.pp-form-checkmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 1.3rem;
  border: 2px solid rgba(16, 185, 129, 0.44);
  border-radius: 50%;
  color: #6ee7b7;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}

.pp-success-close {
  margin-top: 0;
}

@keyframes pp-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-height: 760px) and (min-width: 769px) {
  .pp-hero-inner {
    padding-top: 1.6rem;
    padding-bottom: 1.2rem;
  }

  .pp-brand {
    margin-bottom: 0.75rem;
  }

  .pp-hero-title {
    margin-bottom: 0.38em;
    font-size: clamp(38px, 4.3vw, 54px);
  }

  .pp-hero-text {
    margin-top: 0.45em;
    margin-bottom: 0.45em;
    font-size: 18px;
    line-height: 1.34;
  }

  .pp-button {
    min-height: 52px;
    margin-top: 16px;
    padding: 15px 22px;
  }
}

@media (max-height: 620px) and (min-width: 769px) {
  .pp-hero-inner {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .pp-brand {
    margin-bottom: 0.45rem;
    font-size: 21px;
  }

  .pp-hero-title {
    margin-bottom: 0.28em;
    font-size: clamp(32px, 4vw, 46px);
  }

  .pp-hero-text {
    max-width: min(1040px, 94vw);
    margin-top: 0.32em;
    margin-bottom: 0.32em;
    font-size: 16px;
    line-height: 1.26;
  }

  .pp-button {
    min-height: 50px;
    margin-top: 14px;
    padding: 14px 22px;
  }

  .pp-footer {
    padding: 1.7rem 0 1rem;
  }

  .pp-footer-inner {
    gap: 1rem;
  }

  .pp-copyright {
    padding-top: 0.8rem;
  }
}

@media (max-width: 768px) {
  :root {
    --pp-hero-copy-shift: 0px;
  }

  .pp-hero-bg {
    background-attachment: scroll;
  }

  .pp-hero-inner {
    width: min(100% - 24px, 1180px);
    padding-top: 20px;
    padding-bottom: 22px;
  }

  .pp-brand {
    width: 100%;
    margin-bottom: 1.35rem;
    padding: 0 16px;
    text-align: center;
  }

  .pp-hero-title {
    margin-bottom: 0.45em;
    font-size: 32px;
    line-height: 1.12;
  }

  .pp-hero-text {
    margin-top: 0.55em;
    margin-bottom: 0.55em;
    font-size: 17px;
    line-height: 1.34;
  }

  .pp-footer-inner {
    grid-template-columns: 1fr;
    width: min(100% - 32px, 720px);
  }

  .pp-contact-modal,
  .pp-form-overlay {
    align-items: flex-start;
    padding: 10px;
    overflow: auto;
  }

  .pp-contact-dialog {
    padding: 1rem;
  }

  .pp-contact-dialog h2 {
    margin-bottom: 0.8rem;
    font-size: 1.6rem;
  }

  .pp-contact-form {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .pp-field {
    gap: 0.3rem;
  }

  .pp-field input,
  .pp-field textarea {
    padding: 9px 11px;
  }

  .pp-field textarea {
    min-height: 104px;
  }

  .pp-form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .pp-submit-button {
    width: 100%;
  }

  .pp-scroll-to-top {
    right: 15px;
    bottom: 15px;
  }

  .pp-scroll-button {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .pp-hero-title {
    padding: 0 15px;
    font-size: 27px;
  }

  .pp-hero-text {
    font-size: 16px;
    line-height: 1.32;
  }

  .pp-form-note {
    display: none;
  }
}

@media (max-width: 480px) and (max-height: 620px) {
  .pp-hero {
    min-height: auto;
  }

  .pp-hero-inner {
    padding-top: 16px;
    padding-bottom: 20px;
  }

  .pp-brand {
    margin-bottom: 0.95rem;
    font-size: 22px;
  }

  .pp-hero-title {
    font-size: 25px;
    line-height: 1.08;
  }

  .pp-hero-text {
    margin-top: 0.42em;
    margin-bottom: 0.42em;
    font-size: 15px;
    line-height: 1.22;
  }

  .pp-button {
    min-height: 50px;
    margin-top: 14px;
    padding: 14px 20px;
  }
}
