/*
Theme Name: SkyPearl Landing
Theme URI: https://skypearl.tech
Author: SkyPearl
Description: Figma-to-WordPress landing page theme for SkyPearl.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: skypearl-landing
*/

:root {
  --bg-top: #031756;
  --bg-bottom: #000000;
  --accent: #a7cfee;
  --text: #ffffff;
  --glass: rgba(0, 0, 0, 0.28);
  --card: rgba(0, 1, 32, 0.5);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Titillium Web", sans-serif;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  color: var(--text);
}

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

.sp-page {
  min-height: 100vh;
  overflow: hidden;
}

.sp-wrap {
  width: min(1266px, calc(100% - 48px));
  margin: 0 auto;
}

.sp-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 115px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.sp-header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sp-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.sp-logo-icon {
  width: 40px;
  height: 40px;
}

.sp-logo-word {
  width: 159px;
  height: 26px;
  display: block;
  flex: 0 0 auto;
  max-width: none;
  object-fit: contain;
  aspect-ratio: 158.38 / 26.44;
}

.sp-nav {
  display: flex;
  align-items: center;
  gap: 50px;
  font-size: 16px;
  color: var(--accent);
}

.sp-btn-outline {
  border: 1px solid var(--accent);
  background: var(--glass);
  color: var(--accent);
  padding: 15px 30px;
  font: 600 16px "Titillium Web", sans-serif;
  text-transform: uppercase;
  cursor: pointer;
}

.sp-burger {
  display: none;
  width: 30px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.sp-burger span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--accent);
}

.sp-hero {
  padding-top: 130px;
  text-align: center;
}

.sp-hero h1 {
  margin: 0;
  color: var(--accent);
  font-size: clamp(34px, 4vw, 64px);
  line-height: 1.06;
  text-transform: uppercase;
}

.sp-hero-globe {
  margin-top: 42px;
  width: 100%;
  height: 499px;
  background: url("assets/images/hero_globe.png") center/cover no-repeat;
  opacity: 0.8;
}

.sp-adv {
  margin-top: -150px;
  position: relative;
  z-index: 3;
}

.sp-title {
  margin: 0;
  text-align: center;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.2;
  text-transform: uppercase;
}

.sp-adv-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.sp-adv-card {
  min-height: 191px;
  border-radius: 10px;
  background: var(--card);
  backdrop-filter: blur(40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 16px;
}

.sp-adv-card p {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
}

.sp-icon-wrap {
  position: relative;
  width: 68px;
  height: 68px;
}

.sp-icon-wrap img {
  position: absolute;
  inset: auto;
  width: auto;
  height: auto;
  object-fit: contain;
}

.sp-icon-payload,
.sp-icon-station {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.sp-icon-global {
  width: 88.62px;
  height: 96.1px;
}

.sp-icon-global .a { left: 22.18px; top: 26.11px; width: 43.88px; height: 43.89px; }
.sp-icon-global .b { left: 0; top: 12.55px; width: 88.7px; height: 82.63px; }
.sp-icon-global .c { left: 37.88px; top: 0.17px; width: 13.12px; height: 13.11px; }

.sp-icon-long {
  width: 82.53px;
  height: 80px;
}

.sp-icon-long .a { left: 27.51px; top: 0.98px; width: 55.01px; height: 37.03px; }
.sp-icon-long .b { left: 18.73px; top: 49.85px; width: 57.45px; height: 30.5px; }
.sp-icon-long .c { left: 0.01px; top: 3.45px; width: 19.87px; height: 63.34px; }
.sp-icon-long .d { left: 28.81px; top: 28.25px; width: 19.87px; height: 22.42px; }

.sp-endorsed {
  margin-top: 290px;
  padding: 50px 0 65px;
  background: #000;
}

.sp-endorsed h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 40px);
  text-transform: uppercase;
}

.sp-divider {
  margin: 6px 0 28px;
  width: 100%;
  height: 77px;
  background: url("assets/images/section_line.png") center/cover no-repeat;
}

.sp-endorse-logos {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 38px;
  min-height: 88px;
}

.sp-endorse-logos img {
  display: block;
  object-fit: contain;
}

.sp-logo-ebv { width: 79px; height: 79px; }
.sp-logo-fresh { width: 78px; height: 78px; }
.sp-logo-reshoot { width: 303px; height: 88px; }

.sp-contact {
  padding: 96px 0 116px;
  position: relative;
  background:
    linear-gradient(180deg, var(--bg-top) 0%, #000c3e 52%, #021444 100%),
    url("assets/images/contact_orb.png") no-repeat left bottom / 650px;
}

.sp-contact-grid {
  display: grid;
  grid-template-columns: 1fr minmax(460px, 569px);
  gap: 70px;
  align-items: flex-start;
}

.sp-contact-title {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: clamp(28px, 3vw, 40px);
  text-transform: uppercase;
  margin-top: 4px;
}

.sp-contact-title img {
  width: 42px;
  height: 44px;
}

.sp-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sp-form-notice {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid;
  font-size: 14px;
}

.sp-form-notice.is-success {
  border-color: #6fca9d;
  color: #d7ffe8;
  background: rgba(41, 107, 71, 0.25);
}

.sp-form-notice.is-error {
  border-color: #ff8f8f;
  color: #ffdede;
  background: rgba(114, 37, 37, 0.25);
}

.sp-input,
.sp-textarea {
  width: 100%;
  border: 1px solid var(--accent);
  background: var(--glass);
  color: var(--accent);
  padding: 15px 30px;
  font: 600 16px "Titillium Web", sans-serif;
  outline: none;
}

.sp-textarea {
  min-height: 163px;
  resize: vertical;
}

.sp-input::placeholder,
.sp-textarea::placeholder {
  color: rgba(167, 207, 238, 0.8);
}

.sp-submit-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.sp-footer {
  background: #000;
  padding: 19px 0;
}

.sp-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sp-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
}

.sp-copy img {
  width: 15px;
  height: 15px;
}

@media (max-width: 980px) {
  .sp-wrap {
    width: min(880px, calc(100% - 32px));
  }

  .sp-header {
    height: 74px;
  }

  .sp-logo-icon {
    width: 24px;
    height: 24px;
  }

  .sp-logo-word {
    width: 95px;
    height: 16px;
    max-width: none;
  }

  .sp-burger {
    display: inline-block;
  }

  .sp-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 74px;
    background: rgba(0, 0, 0, 0.95);
    padding: 18px 16px;
    display: none;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .sp-nav.open {
    display: flex;
  }

  .sp-btn-outline {
    padding: 8px 12px;
    font-size: 11px;
  }

  .sp-hero {
    padding-top: 84px;
  }

  .sp-hero h1 {
    font-size: 24px;
    line-height: 1;
  }

  .sp-hero-globe {
    margin-top: 34px;
    height: 131px;
    background-position: center 40%;
  }

  .sp-adv {
    margin-top: -20px;
  }

  .sp-title {
    font-size: 16px;
    line-height: 1;
  }

  .sp-adv-grid {
    margin-top: 26px;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .sp-adv-card {
    min-height: 103px;
    gap: 10px;
    padding: 10px;
  }

  .sp-adv-card p {
    font-size: 11px;
  }

  .sp-icon-payload,
  .sp-icon-station {
    width: 44px;
    height: 44px;
  }

  .sp-icon-global {
    width: 47.76px;
    height: 51.8px;
  }

  .sp-icon-global .a { left: 11.99px; top: 14.16px; width: 23.82px; height: 23.54px; }
  .sp-icon-global .b { left: 0.02px; top: 6.89px; width: 47.75px; height: 44.92px; }
  .sp-icon-global .c { left: 20.49px; top: -0.08px; width: 7px; height: 7.63px; }

  .sp-icon-long {
    width: 44.48px;
    height: 43.12px;
  }

  .sp-icon-long .a { left: 14.84px; top: -0.02px; width: 29.63px; height: 20.74px; }
  .sp-icon-long .b { left: 10.13px; top: 26.07px; width: 30.92px; height: 17.09px; }
  .sp-icon-long .c { left: -0.02px; top: 2.1px; width: 10.69px; height: 33.79px; }
  .sp-icon-long .d { left: 15.51px; top: 15.44px; width: 10.68px; height: 11.35px; }

  .sp-endorsed {
    margin-top: 86px;
    padding: 22px 0 26px;
  }

  .sp-endorsed h2 {
    font-size: 32px;
    line-height: 1;
  }

  .sp-divider {
    margin: 0 0 14px;
    height: 77px;
    background-position: center;
  }

  .sp-endorse-logos {
    justify-content: center;
    gap: 12px;
  }

  .sp-logo-ebv {
    width: 52px;
    height: 51px;
  }

  .sp-logo-fresh {
    width: 53px;
    height: 53px;
  }

  .sp-logo-reshoot {
    width: 147px;
    height: 42px;
  }

  .sp-contact {
    padding: 58px 0 54px;
    background-size: 210px;
  }

  .sp-contact-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .sp-contact-title {
    font-size: 32px;
    line-height: 1;
  }

  .sp-contact-title img {
    width: 16px;
    height: 17px;
  }

  .sp-form {
    gap: 12px;
  }

  .sp-input,
  .sp-textarea {
    padding: 7px 15px;
    font-size: 11px;
  }

  .sp-textarea {
    min-height: 92px;
  }

  .sp-footer {
    padding: 11px 0;
  }

  .sp-copy {
    font-size: 10px;
  }
}
