/* ============================================
   BEAUTY BY JAS KAUR — Services Page Styles
   services.css
   ============================================ */

/* ============================================
   PAGE HERO
============================================ */
.services-hero {
  position: relative;
  height: 62vh;
  min-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--sealskin);
}

.services-hero__img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.services-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.services-hero__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(28,24,22,0.9) 0%, rgba(28,24,22,0.35) 50%, transparent 85%),
    linear-gradient(to right, rgba(28,24,22,0.25) 0%, transparent 70%);
}

.services-hero__fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, var(--cacao) 0%, var(--espresso) 55%, var(--taupe) 100%);
}

.services-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5% 64px;
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.services-hero__content .eyebrow { color: var(--oat); }

.services-hero__content h1 {
  color: var(--ivory);
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-top: 0.5rem;
}

.services-hero__content h1 em {
  font-style: italic;
  color: var(--silk);
}

/* ============================================
   SECTION INTRO — short context line
============================================ */
.services-intro {
  padding: 72px 5% 0;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid var(--silk);
  padding-bottom: 48px;
}

.services-intro__text p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--espresso);
  max-width: 540px;
}

.services-intro__note {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
  white-space: nowrap;
}

/* ============================================
   SERVICE LISTINGS
============================================ */
.service-list {
  padding: 0 5%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Individual service row */
.service-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 0 48px;
  align-items: start;
  padding: 64px 0;
  border-bottom: 1px solid var(--silk);
  transition: background 0.3s var(--ease);
  position: relative;
}

.service-item:last-of-type {
  border-bottom: none;
}

/* Number */
.service-item__num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--silk);
  line-height: 1;
  letter-spacing: -0.02em;
  transition: color 0.4s var(--ease);
  padding-top: 6px;
}

.service-item:hover .service-item__num {
  color: var(--oat);
}

/* Middle: name + description */
.service-item__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-item__name {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300;
  color: var(--sealskin);
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.service-item__name em {
  font-style: italic;
  color: var(--espresso);
}

.service-item__time {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe);
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-item__time::before {
  content: none;
}

.service-item__desc {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--taupe);
  max-width: 520px;
}

.service-item__includes {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-item__includes span {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--espresso);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-item__includes span::before {
  content: '—';
  color: var(--oat);
  font-family: var(--font-sans);
  font-weight: 300;
}

/* Right: price block */
.service-item__pricing {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  padding-top: 6px;
  min-width: 140px;
}

.service-item__price {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  font-weight: 300;
  color: var(--sealskin);
  letter-spacing: -0.01em;
  line-height: 1;
}

.service-item__price-note {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe);
  text-align: right;
}

.service-item__book {
  margin-top: 12px;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--espresso);
  border-bottom: 1px solid var(--silk);
  padding-bottom: 2px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.service-item__book:hover {
  color: var(--sealskin);
  border-color: var(--sealskin);
}

/* ============================================
   ADD-ONS
============================================ */
.addons-section {
  background: var(--silk);
  padding: 48px 5%;
}

.addons-section__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.addons-section__header {
  margin-bottom: 52px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.addons-section__header h2 {
  color: var(--sealskin);
}

.addons-section__header p {
  font-size: 0.88rem;
  max-width: 320px;
  text-align: right;
  color: var(--taupe);
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.addon-card {
  background: var(--white);
  padding: 36px 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  transition: background 0.35s var(--ease);
}

.addon-card:hover {
  background: var(--sealskin);
}

.addon-card__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.addon-card__name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--sealskin);
  transition: color 0.35s var(--ease);
}

.addon-card:hover .addon-card__name {
  color: var(--ivory);
}

.addon-card__note {
  font-size: 0.78rem;
  color: var(--taupe);
  transition: color 0.35s var(--ease);
}

.addon-card:hover .addon-card__note {
  color: var(--oat);
}

.addon-card__price {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--espresso);
  white-space: nowrap;
  transition: color 0.35s var(--ease);
}

.addon-card:hover .addon-card__price {
  color: var(--silk);
}

/* ============================================
   APPOINTMENT PREP
============================================ */
.prep-section {
  background: var(--white);
  padding: 64px 5%;
}

.prep-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.prep-section__header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prep-section__header h2 {
  color: var(--sealskin);
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.prep-section__header h2 em {
  font-style: italic;
  color: var(--espresso);
}

.prep-section__header p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--taupe);
  max-width: 520px;
  margin-top: 4px;
}

.prep-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  gap: 0 48px;
}

.prep-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--silk);
}

.prep-item:last-child {
  border-bottom: none;
}

/* 03 is the last item in the left column */
.prep-item:nth-child(3) {
  border-bottom: none;
}

.prep-item__number {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--oat);
  padding-top: 2px;
}

.prep-item__content h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--sealskin);
  margin-bottom: 4px;
}

.prep-item__content p {
  font-size: 0.84rem;
  line-height: 1.72;
  color: var(--taupe);
}

/* ============================================
   POLICIES
============================================ */
.policies-section {
  background: var(--ivory);
  padding: 40px 5%;
}

.policies-section__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.policies-section__header {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.policies-section__header h2 {
  color: var(--sealskin);
}

.policies-section__header h2 em {
  font-style: italic;
  color: var(--espresso);
}

.policies-section__header p {
  font-size: 0.9rem;
  color: var(--taupe);
  max-width: 480px;
  margin-top: 8px;
  line-height: 1.8;
}

.policies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.policy-card--deposit {
  grid-row: span 2;
}

.policy-card {
  background: var(--white);
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.35s var(--ease);
  position: relative;
}

.policy-card:hover {
  background: var(--sealskin);
}

.policy-card__icon {
  font-size: 0.9rem;
  color: var(--oat);
  letter-spacing: 0.1em;
  transition: color 0.35s var(--ease);
}

.policy-card:hover .policy-card__icon {
  color: var(--silk);
}

.policy-card h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--sealskin);
  line-height: 1.2;
  transition: color 0.35s var(--ease);
}

.policy-card:hover h4 {
  color: var(--ivory);
}

.policy-card p {
  font-size: 0.87rem;
  line-height: 1.8;
  color: var(--taupe);
  transition: color 0.35s var(--ease);
}

.policy-card:hover p {
  color: var(--oat);
}

/* ============================================
   BOOKING CTA BANNER
============================================ */
.booking-banner {
  background: var(--sealskin);
  padding: 110px 5%;
  position: relative;
  overflow: hidden;
}

.booking-banner::before {
  content: 'JK';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-size: 28vw;
  font-weight: 300;
  color: rgba(255,255,255,0.025);
  letter-spacing: 0.1em;
  pointer-events: none;
  white-space: nowrap;
  line-height: 1;
}

.booking-banner__inner {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.booking-banner__inner h2 {
  color: var(--ivory);
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.booking-banner__inner h2 em {
  font-style: italic;
  color: var(--oat);
}

.booking-banner__inner p {
  color: var(--taupe);
  font-size: 0.9rem;
  max-width: 400px;
  margin-top: 14px;
  line-height: 1.85;
}

.booking-banner__inner .btn {
  margin-top: 2.6rem;
}

/* ============================================
   FOOTER
============================================ */
.footer {
  background: var(--sealskin);
  color: var(--ivory);
  padding: 70px 5% 36px;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.footer__tagline {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  color: var(--oat);
  text-transform: uppercase;
}

.footer__col-heading {
  font-family: var(--font-sans);
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--oat);
  margin-bottom: 18px;
}

.footer__nav-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav-links a {
  font-size: 0.84rem;
  color: rgba(246,242,236,0.6);
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.footer__nav-links a:hover { color: var(--ivory); }

.footer__contact-col a,
.footer__contact-col p {
  font-size: 0.84rem;
  color: rgba(246,242,236,0.6);
  line-height: 2.1;
  display: block;
  transition: color 0.3s;
}

.footer__contact-col a:hover { color: var(--ivory); }

.footer__bottom {
  max-width: 1200px;
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--taupe);
  letter-spacing: 0.08em;
}

/* ============================================
   SCROLL REVEAL
============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
  .services-intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .services-intro__note { white-space: normal; }

  .service-item {
    grid-template-columns: 60px 1fr;
    grid-template-rows: auto auto;
  }

  .service-item__pricing {
    grid-column: 2;
    align-items: flex-start;
    border-top: 1px solid var(--silk);
    padding-top: 20px;
    margin-top: 8px;
  }

  .addons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .prep-section__header p { max-width: 100%; }

  .policies-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .policy-card--deposit {
    grid-row: span 1;
  }
}

@media (max-width: 768px) {
  .services-hero {
    height: 55vh;
    min-height: 360px;
  }

  .services-hero__content h1 {
    font-size: clamp(2.8rem, 11vw, 4rem);
  }

  .service-item {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 48px 0;
  }

  .service-item__num {
    font-size: 2.2rem;
  }

  .service-item__pricing {
    grid-column: 1;
    align-items: flex-start;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .addons-grid {
    grid-template-columns: 1fr;
  }

  .prep-list {
    grid-template-columns: 1fr;
    grid-template-rows: unset;
    grid-auto-flow: row;
  }

  .prep-item:nth-child(3),
  .prep-item:nth-child(4) {
    border-bottom: 1px solid var(--silk);
  }

  .policies-grid {
    grid-template-columns: 1fr;
  }

  .policies-grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .addons-section__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .addons-section__header p {
    text-align: left;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .service-item__includes {
    display: none;
  }
}
