/* ============================================================
   Alamagroups — Services page styles
   (loaded after styles.css)
   ============================================================ */

/* ---- Page hero ---- */
.page-hero {
  position: relative;
  background: var(--bg-dark);
  color: #fff;
  overflow: hidden;
  padding-block: clamp(56px, 8vw, 96px);
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .22;
}
.page-hero.has-img::before { background-image: var(--hero-img); }
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 120% at 85% -10%, rgba(200,16,46,.45) 0%, transparent 55%),
    linear-gradient(180deg, rgba(20,19,22,.55), rgba(20,19,22,.85));
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: #c9c7ce; font-weight: 600; }
.breadcrumb a { color: #ff9aa8; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  margin-top: 22px;
  max-width: 14ch;
}
.page-hero .lead {
  margin-top: 22px;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: #cfcdd4;
  max-width: 620px;
}
.page-hero .hero-actions { margin-top: 36px; }
.page-hero .mini-stats {
  display: flex; gap: 40px; margin-top: 48px; flex-wrap: wrap;
}
.page-hero .mini-stats .ms b {
  display: block; font-family: var(--font-head); font-weight: 800;
  font-size: 2.4rem; line-height: 1; color: #fff;
}
.page-hero .mini-stats .ms b .sx { color: #ff7d8f; }
.page-hero .mini-stats .ms span { font-size: .9rem; color: #b6b4ba; margin-top: 8px; display: block; }

/* ---- Sticky anchor nav ---- */
.svc-anchors {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-2);
}
.header.is-scrolled ~ main .svc-anchors { top: 68px; }
.svc-anchors .container { display: flex; gap: 8px; overflow-x: auto; padding-block: 14px; scrollbar-width: none; }
.svc-anchors .container::-webkit-scrollbar { display: none; }
.svc-anchors a {
  white-space: nowrap;
  padding: 9px 16px;
  border-radius: 100px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink-2);
  border: 1px solid var(--line);
  background: #fff;
  transition: .22s var(--ease);
  flex: none;
}
.svc-anchors a:hover { border-color: var(--ink); }
.svc-anchors a.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---- Service detail rows ---- */
.svc-detail { scroll-margin-top: calc(var(--header-h) + 70px); }
.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.svc-row.flip .svc-media { order: 2; }
.svc-media { position: relative; }
.svc-media .ph { aspect-ratio: 4/3; border-radius: 14px; box-shadow: var(--shadow-md); }
.svc-media .float-tag {
  position: absolute; bottom: -22px; right: -18px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 20px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 14px;
}
.svc-media .float-tag .ic { width: 44px; height: 44px; border-radius: 10px; background: var(--red-tint); display: grid; place-items: center; flex: none; }
.svc-media .float-tag .ic svg { width: 22px; height: 22px; stroke: var(--red); }
.svc-media .float-tag b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; line-height: 1.1; }
.svc-media .float-tag span { font-size: .82rem; color: var(--muted); }

.svc-content .svc-idx {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 800; font-size: .95rem;
  letter-spacing: .14em; color: var(--red); text-transform: uppercase;
}
.svc-content .svc-idx .n {
  width: 46px; height: 46px; border-radius: 11px;
  background: var(--navy); color: #fff;
  display: grid; place-items: center; font-size: 1.2rem; letter-spacing: 0;
}
.svc-content h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-top: 20px; }
.svc-content > p { margin-top: 16px; color: var(--muted); font-size: 1.08rem; }
.svc-feat { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.svc-feat li { display: flex; gap: 11px; align-items: flex-start; font-size: .98rem; font-weight: 500; }
.svc-feat .ck { width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 800; margin-top: 1px; }
.svc-roles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.svc-roles span { font-size: 13px; color: var(--ink-2); background: var(--bg-soft); border: 1px solid var(--line); padding: 6px 13px; border-radius: 100px; }
.svc-content .svc-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.svc-divider { height: 1px; background: var(--line); margin-block: clamp(56px, 7vw, 88px); }

/* ---- Engagement models ---- */
.models-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.model-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 32px; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.model-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.model-card.featured { background: var(--navy); border-color: var(--navy); color: #fff; }
.model-card.featured h3, .model-card.featured .price { color: #fff; }
.model-card .ribbon {
  position: absolute; top: 18px; right: -34px; transform: rotate(45deg);
  background: var(--red); color: #fff; font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: 5px 40px;
}
.model-card .m-ic { width: 54px; height: 54px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 22px; }
.model-card.featured .m-ic { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); }
.model-card .m-ic svg { width: 26px; height: 26px; stroke: var(--navy); }
.model-card.featured .m-ic svg { stroke: #fff; }
.model-card h3 { font-size: 1.4rem; }
.model-card .m-sub { margin-top: 10px; color: var(--muted); font-size: .98rem; }
.model-card.featured .m-sub { color: #c4c8e4; }
.model-card ul { margin-top: 22px; display: grid; gap: 12px; }
.model-card ul li { display: flex; gap: 11px; align-items: flex-start; font-size: .96rem; }
.model-card ul .ck { width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--red-tint); color: var(--red); display: grid; place-items: center; font-size: 11px; font-weight: 800; margin-top: 2px; }
.model-card.featured ul .ck { background: rgba(255,255,255,.16); color: #fff; }
.model-card .m-cta { margin-top: 28px; }
.model-card .m-cta .btn { width: 100%; }

/* ---- FAQ ---- */
.faq-wrap { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.faq-item.open { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; text-align: left; border: none; background: none; padding: 24px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; color: var(--ink); }
.faq-q .pm { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: .25s; position: relative; }
.faq-item.open .pm { background: var(--navy); border-color: var(--navy); }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--ink); border-radius: 2px; transition: .25s; }
.faq-q .pm::before { width: 12px; height: 2px; }
.faq-q .pm::after { width: 2px; height: 12px; }
.faq-item.open .pm::before, .faq-item.open .pm::after { background: #fff; }
.faq-item.open .pm::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a div { padding: 0 26px 26px; color: var(--muted); font-size: 1rem; }

@media (max-width: 920px) {
  .svc-row { grid-template-columns: 1fr; gap: 36px; }
  .svc-row.flip .svc-media { order: 0; }
  .models-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .page-hero .mini-stats { gap: 28px; }
}
@media (max-width: 560px) {
  .svc-feat { grid-template-columns: 1fr; }
  .svc-media .float-tag { right: 10px; }
}
