/* ══════════════════════════════════════
   AURA AESTHETIC — Services (Bento Grid)
   Mobile-first → Desktop @1024px
   Pencil: Mobile 390x1622, Desktop 1440x1056
   ══════════════════════════════════════ */

/* ══════════════════════════════════
   MOBILE (390px frame)
   Tag: x:24, y:64 (9px)
   Title: x:24, y:107 (38px)
   Cards: 342px wide at x:24, stacked vertically
   Card 1: y:194, h:460
   Card 2: y:686, h:420
   Card 3: y:1138, h:420
   ══════════════════════════════════ */

/* ── Section ── */
.services {
  background: var(--c-bg-warm);
  padding: 64px 0;
}

/* ── Section Header ── */
.services__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.services__header-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.services__title {
  font-family: var(--ff-heading);
  font-size: 38px;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.2;
}

.services__header-right {
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 300;
  color: var(--c-text-secondary);
  line-height: 1.7;
  max-width: 400px;
}

/* ── Bento Grid — Mobile: stacked column ── */
.services__grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ── Right Column Wrapper — Mobile: stacked ── */
.services__col-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}


/* ══════════════════════════════════
   Card Base
   ══════════════════════════════════ */
.services__card {
  border-radius: var(--r-card);
  overflow: hidden;
  position: relative;
}

/* ── Card Image ── */
.services__card-img {
  width: 100%;
  overflow: hidden;
}

.services__card-img img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

/* ── Card Body ── */
.services__card-body {
  padding: 24px;
  position: relative;
}

/* ── Card Title ── */
.services__card-title {
  font-family: var(--ff-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

/* ── Card Description ── */
.services__card-desc {
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

/* ── Pill Price Tag ── */
.services__card-price {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid rgba(196, 150, 122, 0.4);
  border-radius: var(--r-pill);
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--c-accent);
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}


/* ══════════════════════════════════
   Card 1 — Dark (tall card)
   bg: #1A1A1A
   ══════════════════════════════════ */
.services__card--dark {
  background: #1A1A1A;
}

.services__card--dark .services__card-title {
  color: var(--c-white);
}

.services__card--dark .services__card-desc {
  color: rgba(255, 255, 255, 0.53);
}


/* ══════════════════════════════════
   Card 2 & 3 — Light (horizontal)
   bg: white
   ══════════════════════════════════ */
.services__card--light {
  background: var(--c-white);
}

.services__card--light .services__card-title {
  color: var(--c-text);
}

.services__card--light .services__card-desc {
  color: var(--c-text-secondary);
}


/* ══════════════════════════════════════
   TABLET — 768px to 1023px
   ══════════════════════════════════════ */
@media (min-width: 768px) and (max-width: 1023px) {
  .services__grid {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .services__header {
    align-items: center;
    text-align: center;
  }
}

/* ══════════════════════════════════════
   DESKTOP — CSS Grid Bento Layout
   1440x1056, bg: #FAF7F4, padding: 100px 64px
   Header: 1312px at x:64, y:100
   Bento Grid: 1312px at x:64, y:236, h:720px
   Card 1 (dark): 620x720 at grid 0,0 (full height left)
   Card 2 (white): 668x346 at grid 644,0 (right top)
   Card 3 (white): 668x350 at grid 644,370 (right bottom)
   Gap: 24px
   ══════════════════════════════════════ */
@media (min-width: 1024px) {

  .services {
    padding: 100px 0;
  }

  /* ── Header: row layout, space-between ── */
  .services__header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 56px;
  }

  .services__title {
    font-size: 52px;
  }

  .services__header-right {
    text-align: right;
    max-width: 320px;
  }

  /* ══════════════════════════════════
     Bento Grid — CSS Grid
     Total width: 1312px (container handles padding)
     Card 1: 620px wide, full height (720px)
     Cards 2+3: remaining ~668px (1312 - 620 - 24gap = 668)
     Card 2: ~346px tall
     Card 3: ~350px tall
     Gap: 24px
     ══════════════════════════════════ */
  .services__grid {
    display: grid;
    grid-template-columns: 620fr 668fr;
    grid-template-rows: 1fr;
    gap: 24px;
    height: 720px;
  }

  /* Tall card spans full height */
  .services__card--tall {
    grid-row: 1;
    grid-column: 1;
    display: flex;
    flex-direction: column;
  }

  .services__card--tall .services__card-img {
    flex: 0 0 auto;
  }

  .services__card--tall .services__card-img img {
    height: 440px;
  }

  .services__card--tall .services__card-body {
    flex: 1;
    padding: 28px 28px 32px;
  }

  .services__card--tall .services__card-title {
    font-size: 32px;
  }

  /* Right column: 2 cards stacked */
  .services__col-right {
    grid-row: 1;
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  /* ── Horizontal cards: row layout ── */
  .services__card--horizontal {
    display: flex;
    flex-direction: row;
    flex: 1;
  }

  .services__card--horizontal .services__card-img {
    width: 280px;
    flex-shrink: 0;
  }

  .services__card--horizontal .services__card-img img {
    height: 100%;
  }

  .services__card--horizontal .services__card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 28px;
  }

  .services__card--horizontal .services__card-title {
    font-size: 28px;
  }

  /* Card 3: reversed direction (content left, image right) */
  .services__card--reversed {
    flex-direction: row-reverse;
  }

}
