/* =========================
   MOBILE SAFETY BASELINE
========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

/* Media safety */
img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

/* Prevent accidental overflow */
section,
header,
footer,
main,
nav,
div {
  max-width: 100%;
}

/* =========================
   RESET & GLOBAL
========================= */
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  background-color: #0a0a0a;
  color: #bbb;
  scroll-behavior: smooth;
}
body > * {
  position: relative;
  z-index: 1;
}

@keyframes bgFloat {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-120px, -80px);
  }
}

/* =========================
   ANIMATED GRADIENT BLOBS
========================= */

.bg-gradient-layer {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0; /* behind content, above body bg */
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.18;
  animation: blobPulse 6s ease-in-out infinite;
}

/* Violet blob (top-left) */
.bg-blob.violet {
  width: 600px;
  height: 600px;
  background: rgb(139, 92, 246); /* violet-600 */
  top: 25%;
  left: -25%;
}

/* Amber blob (bottom-right) */
.bg-blob.amber {
  width: 500px;
  height: 500px;
  background: rgb(245, 158, 11); /* amber-500 */
  bottom: 25%;
  right: -25%;
  animation-delay: 1s;
}

@keyframes blobPulse {
  0%,
  100% {
    opacity: 0.12;
    transform: scale(1);
  }
  50% {
    opacity: 0.22;
    transform: scale(1.05);
  }
}

/* =========================
   THE HERO SECTION
========================= */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 0 20px;
}

.hero .container {
  max-width: 700px;
  width: 100%;
}

.hero-labels {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #aaa;
  border: 1px solid #333;
  border-radius: 999px;
  padding: 6px 18px;
}

h1 {
  line-height: 1.1;
  margin: 0 0 1rem;
  color: white;
  font-family: "Poppins", sans-serif;
}

.thin-text {
  font-weight: 300;
}

.gradient-text {
  font-weight: 700;
  background: linear-gradient(90deg, #9b84cc, #d89a8f, #f4bc4c);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

a,
a:visited {
  color: inherit;
  font-family: inherit;
  text-decoration: none;
}

.buttons {
  display: flex;
  justify-content: center;
  
}

button.btn-primary,
button.btn-secondary,
a.btn-primary,
a.btn-secondary {
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  color: white;
  background-color:#141414;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary {
  background: transparent;
  color: white;
  font-weight: 700;
  padding: 0.8rem 2rem;
  border-radius: 999px;
  border: 1px solid #333;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease,
    color 0.3s ease;
}

.btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: #f4bc4c;
  color: #f4bc4c;
}

.btn-secondary {
  background: transparent;
  color: white;
  font-weight: 700;
  padding: 0.8rem 2rem;
  border-radius: 999px;
  border: 1px solid #333;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease,
    color 0.3s ease;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: #f4bc4c;
  color: #f4bc4c;
}

.btn-team {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.buttons {
  gap: 0.75rem;
  font-family: inherit;
}

/* Hide hero labels on mobile */
@media (max-width: 768px) {
  .hero-labels {
    display: none;
  }
}


/* =========================
   HERO WAVEFORM DECORATION
========================= */

.hero-waveform {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 3px;
  height: 80px;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.hero-waveform span {
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(
    to top,
    rgb(139, 92, 246),
    /* violet */ rgb(245, 158, 11) /* amber */
  );
  animation: waveBounce 1.6s ease-in-out infinite;
}

/* staggered delays (like Framer Motion) */
.hero-waveform span:nth-child(n) {
  animation-delay: calc(var(--i) * 0.05s);
}

/* assign index variable */
.hero-waveform span {
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(to top, rgb(139, 92, 246), rgb(245, 158, 11));

  animation: waveTravel 3s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.05s);
}

@keyframes waveTravel {
  0% {
    height: 8px;
  }
  50% {
    height: 64px;
  }
  100% {
    height: 8px;
  }
}

@keyframes waveBounce {
  0% {
    height: 8px;
  }
  50% {
    height: 60px;
  }
  100% {
    height: 8px;
  }
}

.scroll-down {
  position: absolute;
  bottom: 30px;

  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;

  width: fit-content;

  font-size: 2rem;
  cursor: pointer;
  opacity: 1;
  pointer-events: auto;
}

.scroll-inner {
  display: inline-block;
  animation: bounce 2s ease-in-out infinite;
}

/* =========================
   THE SERVICES SECTION
========================= */
.services {
  min-height: 100vh;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
}

.services-label {
  font-size: 0.85rem;
  color: #9b84cc;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.services h2 {
  font-size: 2.5rem;
  color: white;
}

.services > p {
  font-size: 1.1rem;
  color: #aaa;
  margin-bottom: 2.5rem;
}

.service-cards {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

/* =========================
   SERVICE CARD
========================= */
.service-card {
  position: relative;
  background-color: rgba(24, 24, 24, 0.65);
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid #333;
  text-align: left;
  overflow: hidden;

  transition: transform 0.25s ease, border-color 0.25s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #9b84cc, #d89a8f, #f4bc4c);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.service-card:hover::before {
  opacity: 0.1;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.icon {
  width: 26px;
  height: 26px;
  animation: pulse 3s ease-in-out infinite;
}

.icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #f4bc4c;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s ease, filter 0.3s ease;
}

.service-card:hover .icon svg {
  stroke: #f4bc4c;
  filter: drop-shadow(0 0 4px rgba(155, 132, 204, 0.6))
    drop-shadow(0 0 6px rgba(216, 154, 143, 0.6))
    drop-shadow(0 0 8px rgba(244, 188, 76, 0.6));
}

.service-card h3 {
  margin: 0;
  color: white;
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.45;
}

.service-card ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-card ul.tag-list li {
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  border: 1px solid #333;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}

/* Pricing calculator option list */
.option-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.option-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 0.75rem;
}

/* ONLY the tag */
.option-tag {
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid #333;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
  color: #bbb;

  /* 👇 Add fade/transition */
  transition: color 0.25s ease, border-color 0.25s ease,
    background-color 0.25s ease;
}

/* Plain text description */
.option-desc {
  font-size: 0.8rem;
  line-height: 1.3;
  color: #999;
  border: none; /* explicit safeguard */
  background: none; /* explicit safeguard */
}

#pricing {
  min-height: 100vh;
}

/* =========================
   CTA (NEW)
========================= */
.pricing-cta {
  display: inline-block;
  margin-top: 3rem;
  text-align: center;
  width: 100%;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  color: #aaa;
  animation: softPulse 3s ease-in-out infinite;
}

.pricing-cta.bounce-active {
  animation: bounce 2.5s ease-in-out infinite, softPulse 3s ease-in-out infinite;
}

.pricing-cta span {
  position: relative;
}

.pricing-cta span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #9b84cc, #d89a8f, #f4bc4c);
  transform: translateX(-50%);
  transition: width 0.35s ease;
}

.pricing-cta:hover {
  color: white;
  animation-play-state: paused;
}

.pricing-cta:hover span::after {
  width: 100%;
}
.service-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ===== Pricing Summary (New) ===== */

.pricing-summary {
  max-width: 520px;
  margin: 4rem auto 0;
  padding: 1.5rem 1.75rem;
  border-radius: 16px;
  background: none;
  border: 1px solid #222;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6),
    inset 0 0 30px rgba(255, 255, 255, 0.03);
}

/* Discount banner */
.bundle-banner {
  display: none;
  font-size: 0.75rem;
  letter-spacing: 1.2px;
  padding: 0.6rem 1rem;
  margin-bottom: 1.2rem;
  border-radius: 10px;
  background: linear-gradient(
    90deg,
    rgba(155, 132, 204, 0.25),
    rgba(216, 154, 143, 0.25)
  );
  color: #e6dfff;
}

/* Rows */
.summary-row,
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-row {
  font-size: 0.85rem;
  color: #aaa;
  margin-bottom: 0.6rem;
}

.summary-row.discount {
  color: #3fd18b;
}

/* Divider */
.summary-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #333, transparent);
  margin: 1rem 0;
}

/* Total */
.summary-total span {
  font-size: 0.8rem;
  color: #aaa;
}

.summary-total strong {
  font-size: 2rem;
  color: white;
}

/* CTA */
.summary-actions {
  margin-top: 1.5rem;
  text-align: right;
}

.summary-row.discount {
  transition: opacity 0.25s ease, height 0.25s ease;
}

.checkout-btn {
  background: white;
  color: black;
  font-weight: 700;
  padding: 0.7rem 1.8rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.checkout-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* =========================
   ANIMATIONS
========================= */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes softPulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

@keyframes pricePulse {
  0% {
    transform: scale(1);
    text-shadow: none;
  }
  50% {
    transform: scale(1.06);
    text-shadow: 0 0 12px rgba(244, 188, 76, 0.45);
  }
  100% {
    transform: scale(1);
    text-shadow: none;
  }
}

/* Enable animation target */
.summary-total strong {
  display: inline-block;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .service-cards {
    grid-template-columns: 1fr;
  }
}
/* ===== Pricing Calculator States ===== */

#pricing .option-list li {
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease;
}

#pricing .option-list li.selected {
  background: none;
}

#pricing .option-list li.selected .option-tag {
  border-color: #f4bc4c;
  color: white;
  box-shadow: 0 0 6px rgba(244, 188, 76, 0.25);
}

#pricing .option-list li.selected .option-desc {
  color: #f4bc4c;
}

.pricing-total {
  margin-top: 3rem;
  text-align: center;
  color: #aaa;
}

.pricing-total .final {
  margin-top: 0.5rem;
  font-size: 1.4rem;
  color: white;
}

.option-desc {
  transition: color 0.25s ease;
}

/* Ensure pricing options are clickable */
#pricing .service-card,
#pricing .option-list,
#pricing .option-list li {
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

/* =========================================
   PRICING SUMMARY – FULL WIDTH (MATCH CARDS)
   ========================================= */

#pricing .pricing-summary {
  max-width: 1100px; /* same as .service-cards */
  width: 100%;
  margin: 2rem auto 0; /* centered, tighter spacing */
}

/* =========================================
   PRICING SUMMARY – COMPACT HEIGHT (NO SCROLL)
   ========================================= */

#pricing .pricing-summary {
  padding: 1.2rem 1.4rem;
}

#pricing .summary-row {
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
}

#pricing .summary-divider {
  margin: 0.75rem 0;
}

#pricing .summary-total span {
  font-size: 0.75rem;
}

#pricing .summary-total strong {
  font-size: 1.7rem;
}

#pricing .summary-actions {
  margin-top: 1rem;
}

/* =================================================
   PRICING – FINAL FIT-TO-VIEWPORT COMPRESSION PASS
   ================================================= */

/* Reduce section vertical padding */
#pricing {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

/* Tighten header spacing */
#pricing h2 {
  margin-bottom: 0.15rem;
}

#pricing > p {
  margin-bottom: 0.9rem;
}

/* Slightly denser option spacing */
#pricing .option-list {
  gap: 0.3rem;
}

#pricing .option-desc {
  line-height: 1.2;
}

/* Compact pricing summary further */
#pricing .pricing-summary {
  padding: 1rem 1.25rem;
}

#pricing .summary-row {
  margin-bottom: 0.3rem;
}

#pricing .summary-divider {
  margin: 0.6rem 0;
}

#pricing .summary-total strong {
  font-size: 1.6rem;
}

#pricing .summary-actions {
  margin-top: 0.75rem;
}

/* Absolute safety for short laptop screens */
@media (max-height: 760px) {
  #pricing {
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
  }

  #pricing .service-card {
    padding: 0.6rem;
  }

  #pricing .option-desc {
    font-size: 0.7rem;
  }

  #pricing .summary-total strong {
    font-size: 1.5rem;
  }
}

/* =========================================
   BUNDLE DISCOUNT — NON-LAYOUT STATUS TEXT
   ========================================= */

#pricing .pricing-summary {
  position: relative;
}

/* Override banner to NOT affect height */
#pricing .bundle-banner {
  position: absolute;
  top: 0.75rem;
  right: 1rem;

  display: none; /* JS still controls visibility */

  font-size: 0.65rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;

  color: #3fd18b;
  background: none;
  padding: 0;
  margin: 0;

  border: none;
  box-shadow: none;
  white-space: nowrap;
  pointer-events: none;
}

/* Disable bundle discount text entirely */
#pricing .bundle-banner {
  display: none !important;
}

/* Remove Get Started button from pricing summary */
#pricing .summary-actions {
  display: none;
}

/* =========================
   RECENT WORK
========================= */

.recent-work {
  min-height: 100vh;
  padding: 4rem 2rem;
  text-align: center;
}

.recent-work h2 {
  font-size: 2.6rem;
  color: white;
}

.recent-work > p {
  color: #aaa;
  margin-bottom: 3rem;
}
/* Media wrapper */
.work-media {
  position: relative;
}

/* Play button */
.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 2.5rem;
  color: white;

  background: rgba(0, 0, 0, 0.35);
  border: none;
  cursor: pointer;

  opacity: 0;
  transition: opacity 0.25s ease, background 0.25s ease;
}

/* Show on hover */
.work-card:hover .play-btn {
  opacity: 1;
}

/* Hover effect */
.play-btn:hover {
  background: rgba(0, 0, 0, 0.55);
}

/* Playing state */
.play-btn.playing {
  opacity: 1;
  background: rgba(0, 0, 0, 0.55);
}

/* Grid */
.work-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Card */
.work-card {
  background: rgba(24, 24, 24, 0.6);
  border: 1px solid #333;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: #f4bc4c;
}

/* Image */
.work-card img {
  width: 100%;
  aspect-ratio: 1 / 1; /* 👈 perfect square */
  object-fit: cover;
  display: block;
}

/* Text */
.work-info {
  padding: 1rem;
  text-align: left;
}

.work-info .artist {
  font-size: 0.7rem;
  color: #888;
  display: block;
}

.work-info strong {
  display: block;
  color: white;
  font-size: 0.95rem;
  margin: 0.2rem 0;
}

.work-info small {
  font-size: 0.7rem;
  color: #777;
}

.work-subtitle {
  font-size: 0.82rem; /* slightly smaller than strong */
  color: #ccc;
  margin-top: 0.1rem;
  margin-bottom: 0.15rem;
  line-height: 1.3;
}

/* CTA */
.work-cta {
  margin-top: 3rem;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #aaa;
  cursor: pointer;
}

.work-cta span {
  position: relative;
}

.work-cta span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #9b84cc, #d89a8f, #f4bc4c);
  transform: translateX(-50%);
  transition: width 0.35s ease;
}

.work-cta:hover {
  color: white;
}

.work-cta:hover span::after {
  width: 100%;
}

/* Responsive */
@media (max-width: 1100px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   CONTACT / GET IN TOUCH
========================= */

.contact {
  min-height: 90vh;
  padding: 4rem 2rem;
  background: none;
}

.contact-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* LEFT SIDE */
.contact-info h2 {
  font-size: 3rem;
  line-height: 1.1;
  color: white;
  margin-bottom: 1.25rem;
}

.contact-info p {
  color: #aaa;
  max-width: 420px;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.contact-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
}

.contact-item small {
  font-size: 0.7rem;
  color: #777;
}

.contact-item strong {
  color: white;
  font-size: 0.85rem;
}

.contact-divider {
  margin: 2rem 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #333, transparent);
}

.contact-socials span {
  font-size: 0.75rem;
  color: #777;
  display: block;
  margin-bottom: 0.5rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  font-size: 0.7rem;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #333;
  color: #ccc;
  text-decoration: none;
}

.social-links a:hover {
  border-color: #9b84cc;
  color: white;
}

/* RIGHT FORM */
.contact-form {
  background: rgba(24, 24, 24, 0.65);
  border: 1px solid #333;
  border-radius: 16px;
  padding: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.7rem;
  color: #aaa;
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid #333;
  border-radius: 10px;
  padding: 0.75rem;
  color: white;
  font-size: 0.8rem;
}

.form-group textarea {
  resize: none;
  min-height: 120px;
}

.contact-submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.85rem;
  border-radius: 999px;
  border: none;
  background: white;
  color: black;
  font-weight: 600;
  cursor: pointer;
}

.contact-submit span {
  margin-left: 0.4rem;
}

.response-time {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.65rem;
  color: #666;
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-info {
    text-align: center;
  }

  .contact-details,
  .social-links {
    align-items: center;
    justify-content: center;
  }
}

/* Make scroll arrows visible outside hero */
.services .scroll-down,
.recent-work .scroll-down {
  opacity: 1;
  animation: bounce 2s ease-in-out infinite;
}

.services,
.recent-work {
  position: relative;
}

/* =========================
   FOOTER
========================= */

.site-footer {
  width: 100%;
  background: rgba(0, 0, 0, 0.85);
  border-top: 1px solid #222;
  padding: 1.5rem 2rem;
}

.footer-inner {
  max-width: 1308px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

/* Logo */
.footer-logo {
  font-weight: 600;
  letter-spacing: 0.08em;
  color: white;
  font-size: 0.9rem;
}

/* Navigation */
.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center; /* 👈 FIX */
  gap: 1.75rem;
}

.footer-nav a {
  font-size: 0.75rem;
  color: #888;
  text-decoration: none;
  transition: color 0.2s ease;

  line-height: 1; /* 👈 KEY FIX */
  display: inline-flex; /* 👈 FIXES BASELINE SHIFT */
  align-items: center; /* 👈 VERTICAL ALIGN */
}

.footer-nav a:hover {
  color: white;
}

/* Copyright */
.footer-copy {
  font-size: 0.7rem;
  color: #666;
  text-align: right;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
    flex-wrap: wrap;
  }

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

/* =========================
   SCROLL REVEAL ANIMATION
========================= */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   STEM SELECTOR (MIXING)
========================= */

.stem-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.stem-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #333;
  background: transparent;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.15s ease;
}

.stem-btn:hover {
  border-color: #f4bc4c;
  transform: scale(1.05);
}

.stem-count {
  font-size: 1rem;
  font-weight: 600;
  color: white;
}

.stem-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stem-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: #f4bc4c;
}

.stem-hint {
  font-size: 0.65rem;
  color: #888;
}

/* Mobile touch improvement */
@media (max-width: 600px) {
  .stem-btn {
    width: 42px;
    height: 42px;
  }
}

/* =========================
   STEM SLIDER – INLINE LAYOUT
========================= */

.stem-selector {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.stem-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stem-label {
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #aaa;
}

.stem-label strong {
  margin-left: 0.35rem;
  color: #f4bc4c;
  font-weight: 600;
}

/* Slider row */
.stem-control {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Shorter slider */
.stem-slider {
  flex: 1;
  max-width: 65%;
  appearance: none;
  height: 4px;
  border-radius: 999px;
  background: #333;
  cursor: pointer;
}

/* Price on the right */
.stem-price {
  min-width: 42px;
  text-align: right;
  font-size: 0.85rem;
  font-weight: 600;
  color: #f4bc4c;
}

.stem-hint {
  font-size: 0.65rem;
  color: #888;
}

/* Mobile polish */
@media (max-width: 600px) {
  .stem-slider {
    max-width: 100%;
  }

  .stem-control {
    gap: 0.6rem;
  }

  .stem-price {
    font-size: 0.8rem;
  }
}

/* =========================
   TRACK SLIDER (MASTERING)
========================= */

.track-selector {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.track-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.track-label {
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #aaa;
}

.track-label strong {
  margin-left: 0.35rem;
  color: #f4bc4c;
  font-weight: 600;
}

.track-control {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.track-slider {
  flex: 1;
  max-width: 65%;
  appearance: none;
  height: 4px;
  border-radius: 999px;
  background: #333;
  cursor: pointer;
}

.track-slider::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f4bc4c;
  border: none;
}

.track-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f4bc4c;
  border: none;
}

.track-price {
  min-width: 42px;
  text-align: right;
  font-size: 0.85rem;
  font-weight: 600;
  color: #f4bc4c;
}

.track-hint {
  font-size: 0.65rem;
  color: #888;
}

@media (max-width: 600px) {
  .track-slider {
    max-width: 100%;
  }
}

/* =========================
   OPTION LIST – INLINE PRICE
========================= */

.option-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.option-name {
  font-size: 0.85rem;
}

.option-price {
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  color: #666; /* gray by default */
  transition: color 0.2s ease, opacity 0.15s ease;
  opacity: 0.9;
}

.option-list li.selected .option-price {
  color: #f4bc4c; /* gold when selected */
  opacity: 1;
}

/* =========================
   SLIDER PRICE STATES
========================= */

.stem-price,
.track-price {
  color: #666; /* gray by default */
  font-weight: 600;
  transition: color 0.2s ease;
}

/* Turn gold when value > 0 */
.stem-selector[data-price]:not([data-price="0"]) .stem-price,
.track-selector[data-price]:not([data-price="0"]) .track-price {
  color: #f4bc4c;
}

/* =========================
   OPTION LIST – SAFE RIGHT ALIGN
========================= */

/* =========================
   SLIDER PRICE – SAFE ALIGNMENT
========================= */

.stem-control,
.track-control {
  display: flex;
  align-items: center;
}

.stem-slider,
.track-slider {
  flex: 1;
}

.stem-price,
.track-price {
  margin-left: auto;
  min-width: 48px;
  text-align: right;
}

/* === GLOBAL RESPONSIVE FIXES === */
html {
  font-size: 16px;
}

body {
  overflow-x: hidden;
}

/* Container should scale on small screens */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 1.25rem;
  margin: 0 auto;
}

/* =========================
   RESPONSIVE STACK SYSTEM
========================= */

@media (max-width: 768px) {
  /* Grid → single column */
  .grid,
  .cards,
  .service-cards,
  .pricing-cards {
    grid-template-columns: 1fr !important;
  }

  /* Flex → vertical */
  .row,
  .flex,
  .buttons,
  .nav-links {
    flex-direction: column !important;
    align-items: stretch;
  }

  /* Full-width buttons */
  button,
  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
}

/* =========================
   MOBILE TYPOGRAPHY
========================= */

h1 {
  font-size: clamp(2.8rem, 9vw, 5.5rem);
}

h2 {
  font-size: clamp(1.8rem, 6vw, 3rem);
}

p {
  font-size: clamp(0.95rem, 3.5vw, 1.05rem);
  line-height: 1.6;
}

/* =========================
   TOUCH TARGETS
========================= */

button,
a,
input,
textarea,
select {
  min-height: 44px;
}

button,
a {
  touch-action: manipulation;
}

/* =========================
   HIDE ELEMENTS ON MOBILE
========================= */

@media (max-width: 768px) {
  .scroll-down {
    display: none !important;
  }

  .contact-form {
    display: none;
  }
}

/* =========================
   RANGE INPUT HARD RESET
========================= */

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;

  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;

  background: transparent;
  border: none;
  box-shadow: none;
}

/* =========================
   PRICING SLIDER TRACK
========================= */

.stem-slider,
.track-slider {
  height: 4px;
  background: #333;
  border-radius: 999px;
}

/* WebKit track */
.stem-slider::-webkit-slider-runnable-track,
.track-slider::-webkit-slider-runnable-track {
  height: 4px;
  background: #333;
  border-radius: 999px;
}

/* Firefox track */
.stem-slider::-moz-range-track,
.track-slider::-moz-range-track {
  height: 4px;
  background: #333;
  border-radius: 999px;
}

/* =========================
   SLIDER THUMB
========================= */

.stem-slider::-webkit-slider-thumb,
.track-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;

  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #caa34d;
  cursor: pointer;

  margin-top: -5px;
}

.stem-slider::-moz-range-thumb,
.track-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #caa34d;
  border: none;
  cursor: pointer;
}
