/* ======================================================
   SERVICES PAGE
====================================================== */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

:root {
  --content-width: 1100px;
  --hero-gap: 80px;
  --section-gap: 96px;
  --card-gap: 28px;

  --bg: #000000;
  --text: #f4f5f7;
  --muted: rgba(244, 245, 247, 0.72);
  --border: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.30);

  --glass: rgba(6, 7, 10, 0.76);
  --glass-border: rgba(255, 255, 255, 0.10);

  --accent: rgba(199, 170, 145, 0.82);
  --accent-soft: rgba(199, 170, 145, 0.14);
}

body {
  min-height: 100vh;
  background: #000000;
  color: var(--text);
  font-family: "Playfair Display", serif;
  overflow-x: hidden;
}

body.dark {
  background: #000000;
  color: var(--text);
}

/* ======================================================
   PARTICLES
====================================================== */

#particles {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  background: #000000;
  display: block;
}

.main-nav,
main,
.contact-footer {
  position: relative;
  z-index: 2;
}

/* ======================================================
   NAVBAR
====================================================== */

.main-nav {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);

  min-height: 96px;
  padding: 0 36px;

  display: flex;
  align-items: center;
  justify-content: flex-start;

  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;

  transition:
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 460ms ease;
  will-change: transform, opacity;
}

.main-nav.nav-hidden {
  transform: translate3d(0, -100%, 0);
  opacity: 0;
  pointer-events: none;
}

.main-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  font-size: 16px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  padding: 16px 0;
  line-height: 1;
}

.main-nav a:hover {
  opacity: 0.85;
}

.main-nav .nav-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -53%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-nav .nav-logo img {
  height: 150px;
  width: auto;
  display: block;
}

.main-nav .shopping-cart {
  position: absolute;
  right: 36px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  line-height: 0;
}

.main-nav .shopping-cart img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
  opacity: 0.92;
  transition: opacity 180ms ease, transform 180ms ease;
}

.main-nav .shopping-cart:hover img {
  opacity: 1;
  transform: translateY(-1px) scale(1.04);
}

/* ======================================================
   MAIN LAYOUT
====================================================== */

main {
  width: 100%;
  padding: var(--hero-gap) 32px 0;
}

.content-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ======================================================
   HERO
====================================================== */

.hero-section {
  width: min(var(--content-width), 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-title {
  width: min(var(--content-width), 100%);
  margin: 0 0 56px;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: clamp(34px, 5vw, 78px);
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-align: center;
}

.hero-copy {
  width: min(820px, 100%);
  margin: 0 0 70px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.65;
  color: var(--muted);
  text-align: left;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 66px;
  padding: 0 44px;
  border-radius: 999px;
  border: 1px solid rgba(199, 170, 145, 0.72);
  background: rgba(199, 170, 145, 0.06);
  color: #f3ede7;
  text-decoration: none;

  font-family: "Playfair Display", serif;
  font-size: 20px;
  line-height: 1;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.primary-btn:hover {
  background: rgba(199, 170, 145, 0.12);
  border-color: rgba(199, 170, 145, 0.95);
}

.primary-btn:active {
  transform: scale(0.985);
}

/* ======================================================
   SECTIONS
====================================================== */

.pricing-section,
.details-section {
  width: min(var(--content-width), 100%);
  padding-top: var(--section-gap);
}

.pricing-section {
  padding-top: 70px;
}

.section-title {
  margin: 0 0 58px;
  text-align: center;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: clamp(32px, 4.8vw, 64px);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

/* ======================================================
   PRICING CARDS
====================================================== */

.pricing-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--card-gap);
  align-items: stretch;
}

.price-card {
  position: relative;
  min-height: 520px;
  padding: 34px 30px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: rgba(199, 170, 145, 0.52);
  background: rgba(199, 170, 145, 0.075);
}

.price-card.premium-card {
  border-color: rgba(180, 205, 255, 0.28);
  background:
    linear-gradient(
      145deg,
      rgba(42, 58, 90, 0.18),
      rgba(255, 255, 255, 0.035) 45%,
      rgba(120, 135, 170, 0.10)
    );
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.price-card.premium-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  pointer-events: none;
  background:
    radial-gradient(
      circle at top right,
      rgba(180, 205, 255, 0.14),
      transparent 36%
    );
  opacity: 0.75;
}

.popular-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(199, 170, 145, 0.48);
  color: #f3ede7;
  font-size: 13px;
  line-height: 1;
  background: rgba(199, 170, 145, 0.10);
}

.price-top {
  margin-bottom: 24px;
}

.package-label {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 15px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.package-title {
  margin: 0 0 14px;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.15;
}

.price {
  margin: 0;
  font-size: 44px;
  line-height: 1;
  color: #f3ede7;
}

.package-copy {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}

.price-card ul {
  margin: auto 0 0;
  padding-left: 20px;
}

.price-card li {
  margin: 10px 0;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(244, 245, 247, 0.82);
}

/* ======================================================
   DETAILS
====================================================== */

.details-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--card-gap);
}

.detail-card {
  padding: 32px 30px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.detail-card span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 16px;
}

.detail-card h3 {
  margin: 0 0 16px;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.2;
}

.detail-card p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}

/* ======================================================
   FOOTER
====================================================== */

.contact-footer {
  padding: 80px 0 44px;
  overflow: visible;
}

.contact-section {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
}

.contact-right {
  margin-top: 24px;
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  overflow: visible;
  min-height: 64px;
}

.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  visibility: visible;
}

.social img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  display: block;
  opacity: 0.78;
  transition: opacity 180ms ease, transform 180ms ease;
}

.social:hover img {
  opacity: 1;
  transform: translateY(-1px) scale(1.04);
}

/* ======================================================
   REVEAL ANIMATION
====================================================== */

.reveal-item,
.reveal-scale {
  opacity: 1;
  transform: translateY(0);
}

body.services-js-ready .reveal-item {
  opacity: 0;
  transform: translateY(30px);
  will-change: opacity, transform;
}

body.services-js-ready .reveal-item.is-heading {
  transform: translateY(24px);
}

body.services-js-ready .reveal-scale {
  opacity: 0;
  transform: translateY(42px) scale(0.955);
  transform-origin: center;
  will-change: opacity, transform;
}

body.services-js-ready .reveal-item.animate {
  animation: servicesRevealUp 1050ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0ms);
}

body.services-js-ready .reveal-item.is-heading.animate {
  animation: servicesRevealHeading 1050ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0ms);
}

body.services-js-ready .reveal-scale.animate {
  animation: servicesRevealScale 1120ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0ms);
}

@keyframes servicesRevealUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes servicesRevealHeading {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes servicesRevealScale {
  from {
    opacity: 0;
    transform: translateY(42px) scale(0.955);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width: 980px) {
  .pricing-grid,
  .details-grid {
    grid-template-columns: 1fr;
  }

  .price-card {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  :root {
    --hero-gap: 72px;
    --section-gap: 70px;
  }

  .hero-title,
  .section-title {
    font-size: clamp(28px, 8vw, 42px);
    line-height: 1.15;
  }

  .hero-title {
    margin-bottom: 44px;
  }

  .hero-copy {
    font-size: 18px;
    margin-bottom: 56px;
  }

  .pricing-section {
    padding-top: 56px;
  }

  .primary-btn {
    min-height: 58px;
    padding: 0 30px;
    font-size: 17px;
  }

  .main-nav {
    min-height: 84px;
    padding: 10px 18px;
  }

  .main-nav .nav-links {
    gap: 16px;
    max-width: calc(100% - 150px);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .main-nav .nav-links::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    font-size: 12px;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  .main-nav .nav-logo {
    top: 50%;
    transform: translate(-50%, -54%);
  }

  .main-nav .nav-logo img {
    height: 104px;
  }

  .main-nav .shopping-cart {
    right: 18px;
  }

  .main-nav .shopping-cart img {
    width: 26px;
    height: 26px;
  }

  main {
    padding: var(--hero-gap) 20px 0;
  }

  .price-card,
  .detail-card {
    padding: 28px 24px;
  }

  .package-title {
    font-size: 28px;
  }

  .price {
    font-size: 38px;
  }

  .contact-right {
    gap: 20px;
    min-height: 58px;
  }

  .social img {
    width: 48px;
    height: 48px;
  }
}

/* ======================================================
   PHONE NAV FIX
====================================================== */

@media (max-width: 560px) {
  .main-nav {
    min-height: 84px;
    padding: 5px 12px 7px;

    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: 42px 24px;
    column-gap: 14px;
    row-gap: 0;

    align-items: center;
    justify-content: center;
    justify-items: center;

    position: sticky;
  }

  .main-nav.nav-hidden {
    transform: translate3d(0, -100%, 0);
    opacity: 0;
    pointer-events: none;
  }

  .main-nav .nav-logo {
    position: static;
    grid-column: 1 / -1;
    grid-row: 1;
    transform: none;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 0;
    line-height: 0;
  }

  .main-nav .nav-logo img {
    height: 50px;
    width: auto;
  }

  .main-nav .nav-links {
    grid-column: 1;
    grid-row: 2;

    width: auto;
    max-width: none;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 14px;
    overflow: visible;
    padding: 0;

    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .main-nav .nav-links::-webkit-scrollbar {
    display: none;
  }

  .main-nav .nav-links a {
    font-size: 10.5px;
    letter-spacing: 0.06em;
    padding: 4px 0;
    white-space: nowrap;
    line-height: 1;
  }

  .main-nav .shopping-cart {
    position: static;
    grid-column: 2;
    grid-row: 2;

    transform: translateY(-1px);

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 11px;
    height: 11px;
    padding: 0;
    margin: 0;
    line-height: 0;
  }

  .main-nav .shopping-cart img {
    width: 11px;
    height: 11px;
    object-fit: contain;
    display: block;
  }

  main {
    padding: 44px 16px 0;
  }

  .hero-title {
    margin-bottom: 36px;
  }

  .hero-copy {
    margin-bottom: 54px;
  }

  .pricing-section {
    padding-top: 54px;
  }

  .primary-btn {
    width: 100%;
    min-height: 56px;
    padding: 0 22px;
    font-size: 16px;
    text-align: center;
  }

  .contact-footer {
    padding: 64px 24px 74px;
  }

  .contact-section {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .contact-right {
    margin-top: 28px;
    margin-bottom: 18px;
    min-height: 56px;
    overflow: visible;
  }
}

/* ======================================================
   EXTRA SMALL PHONE FIX
====================================================== */

@media (max-width: 390px) {
  .main-nav {
    min-height: 80px;
    padding: 4px 9px 6px;
    grid-template-rows: 39px 23px;
    column-gap: 11px;
  }

  .main-nav .nav-logo img {
    height: 47px;
  }

  .main-nav .nav-links {
    gap: 11px;
    padding: 0;
  }

  .main-nav .nav-links a {
    font-size: 9.5px;
    letter-spacing: 0.05em;
  }

  .main-nav .shopping-cart {
    width: 10px;
    height: 10px;
    transform: translateY(-1px);
  }

  .main-nav .shopping-cart img {
    width: 10px;
    height: 10px;
  }

  .hero-title,
  .section-title {
    font-size: 30px;
  }

  .hero-copy {
    margin-bottom: 50px;
  }

  .pricing-section {
    padding-top: 50px;
  }

  .contact-footer {
    padding-left: 26px;
    padding-right: 26px;
    padding-bottom: 78px;
  }
}