/* ===== Service pages — each page sets --sc (main colour), --sc2 (deep) and --st (tint) on <body> ===== */
.sc-text { color: var(--sc); }
.svc .main-nav a[aria-current="page"] { color: var(--sc); position: relative; }
.svc .main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 3px; border-radius: 3px; background: var(--sc); }

.pill-sc { background: var(--sc); box-shadow: 0 10px 22px -10px var(--sc); }
.pill-sc:hover { background: var(--sc2); }
.ghost { display: inline-flex; align-items: center; font-weight: 700; color: var(--navy); text-decoration: none; padding: 12px 6px; border-bottom: 2px solid transparent; }
.ghost:hover { border-color: var(--sc); color: var(--sc2); }

/* ----- Hero ----- */
.svc-hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 104px);
  background: linear-gradient(160deg, var(--st) 0%, #FFFFFF 55%, #F6F9FC 100%); }
.svc-orb { position: absolute; border-radius: 50%; pointer-events: none; animation: drift 16s ease-in-out infinite; }
.o1 { width: 520px; height: 520px; right: -160px; top: -160px; background: radial-gradient(circle, color-mix(in srgb, var(--sc) 22%, transparent), transparent 70%); }
.o2 { width: 380px; height: 380px; left: -140px; bottom: -160px; background: radial-gradient(circle, rgba(230,162,28,.18), transparent 70%); animation-delay: -8s; }
.svc-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.svc-hero-grid > * { min-width: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .92rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--sc2); text-decoration: underline; }
.crumbs [aria-current] { color: var(--navy); font-weight: 600; }
.svc-kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: .95rem; color: var(--sc2);
  background: #fff; border: 1px solid color-mix(in srgb, var(--sc) 30%, transparent); padding: 6px 14px 6px 6px; border-radius: 999px; margin-bottom: 18px; }
.svc-kicker-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sc); }
.svc-kicker-icon svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svc-hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.svc-hero .lead { font-size: 1.18rem; max-width: 50ch; margin: 1.1rem 0 1.4rem; }
.svc-chips { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.svc-chips li { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 600; color: var(--navy); font-size: .95rem; box-shadow: 0 6px 16px -12px rgba(11,47,107,.5); }
.svc-chips svg { width: 16px; height: 16px; fill: none; stroke: var(--sc); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.svc-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.svc-visual { position: relative; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; justify-self: center; }
.svc-visual figure { position: absolute; margin: 0; overflow: hidden; border: 6px solid #fff; box-shadow: 0 30px 60px -30px rgba(11,47,107,.6); }
.svc-visual img { width: 100%; height: 100%; object-fit: cover; }
.sv1 { width: 68%; aspect-ratio: 9 / 11; right: 4%; top: 0; border-radius: 28px; transform: rotate(3deg); animation: cardIn .9s cubic-bezier(.2,.8,.2,1) both, floatR 8s ease-in-out 1s infinite; --r: 3deg; }
.sv2 { width: 46%; aspect-ratio: 1; left: 0; bottom: 2%; border-radius: 24px; transform: rotate(-6deg); animation: cardIn .9s cubic-bezier(.2,.8,.2,1) .15s both, floatR 7s ease-in-out 1.2s infinite; --r: -6deg; }
@keyframes floatR { 0%, 100% { transform: rotate(var(--r)) translateY(0); } 50% { transform: rotate(var(--r)) translateY(-8px); } }
.sv1::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 50%, color-mix(in srgb, var(--sc) 35%, transparent)); }
.float-badge { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 10px 14px 10px 10px; box-shadow: 0 18px 36px -18px rgba(11,47,107,.55);
  font-family: var(--head); font-weight: 700; font-size: .85rem; color: var(--navy); max-width: 62%; line-height: 1.3; }
.float-badge span { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 12px; background: var(--st); }
.float-badge svg { width: 20px; height: 20px; fill: none; stroke: var(--sc); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fb1 { right: 0; bottom: 8%; animation: rise .8s cubic-bezier(.2,.8,.2,1) .6s both, bob 5s ease-in-out 1.4s infinite; }
@media (max-width: 900px) {
  .svc-hero-grid { grid-template-columns: 1fr; }
  .svc-visual { max-width: 440px; margin-top: 8px; }
}
@media (max-width: 480px) { .svc-visual figure { border-width: 4px; } .float-badge { font-size: .75rem; max-width: 70%; } }

/* ----- Who it's for ----- */
.who-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 40px; }
.who-card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px 26px; text-align: center;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.who-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 90px; background: linear-gradient(180deg, var(--st), transparent); }
.who-card > * { position: relative; }
.who-card:hover { transform: translateY(-6px); box-shadow: 0 26px 46px -30px rgba(11,47,107,.55); }
.who-icon { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 22px; background: linear-gradient(135deg, var(--sc), var(--sc2)); box-shadow: 0 14px 26px -14px var(--sc); transition: transform .45s cubic-bezier(.34,1.56,.64,1); }
.who-card:hover .who-icon { transform: rotate(-8deg) scale(1.08); }
.who-icon svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.who-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.who-card p { margin: 0; font-size: 1rem; }
@media (max-width: 820px) { .who-grid { grid-template-columns: 1fr; } }

/* ----- What's included ----- */
.included { background: linear-gradient(180deg, #F7F9FC, #fff); }
.inc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 20px; margin-top: 40px; }
.inc-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s; }
.inc-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--sc) 35%, transparent); box-shadow: 0 22px 40px -28px rgba(11,47,107,.5); }
.inc-icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px; background: var(--st); transition: background .3s, transform .45s cubic-bezier(.34,1.56,.64,1); }
.inc-icon svg { width: 25px; height: 25px; fill: none; stroke: var(--sc); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.inc-card:hover .inc-icon { background: var(--sc); transform: scale(1.08); }
.inc-card:hover .inc-icon svg { stroke: #fff; }
.inc-card h3 { font-size: 1.08rem; margin-bottom: 4px; }
.inc-card p { margin: 0; font-size: 1rem; }
@media (max-width: 980px) { .inc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .inc-grid { grid-template-columns: 1fr; grid-auto-rows: auto; } }

/* ----- Process (reuses homepage timeline, recoloured) ----- */
.svc-process { background: #fff; }
.svc-process .track-fill { background: linear-gradient(90deg, var(--sc2), var(--sc), var(--gold)); }
@media (max-width: 900px) { .svc-process .track-fill { background: linear-gradient(180deg, var(--sc2), var(--sc), var(--gold)); } }
.svc-process .steps li:nth-child(1) .step-num { background: var(--navy); }
.svc-process .steps li:nth-child(2) .step-num { background: var(--sc2); }
.svc-process .steps li:nth-child(3) .step-num { background: var(--sc); }
.svc-process .steps li:nth-child(4) .step-num { background: var(--gold); }
.svc-process .step-num::after { border-color: var(--sc); }
.svc-process .step-card h3 { color: var(--navy); }

/* ----- Why THM ----- */
.svc-why { background: linear-gradient(135deg, var(--st), #fff 60%); }
.svc-why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.svc-why-img { margin: 0; border-radius: 26px; overflow: hidden; aspect-ratio: 9 / 7; box-shadow: 0 30px 60px -36px rgba(11,47,107,.7); position: relative; }
.svc-why-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-why-img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 8px; background: linear-gradient(90deg, var(--sc), var(--gold)); }
.why-list { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.why-list li { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-weight: 600; color: var(--ink);
  transition: transform .3s, border-color .3s; }
.why-list li:hover { transform: translateX(6px); border-color: color-mix(in srgb, var(--sc) 40%, transparent); }
.tick { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--sc); }
.tick svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .svc-why-grid { grid-template-columns: 1fr; } }

/* ----- FAQs ----- */
.faq-wrap { max-width: 860px; }
.faq-list { margin-top: 36px; display: grid; gap: 12px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .3s, box-shadow .3s; }
.faq[open] { border-color: color-mix(in srgb, var(--sc) 45%, transparent); box-shadow: 0 18px 36px -28px rgba(11,47,107,.45); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-family: var(--head); font-weight: 700; color: var(--navy); font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--sc2); }
.faq-plus { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--st); transition: background .3s, transform .35s; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2.5px; border-radius: 2px; background: var(--sc); transform: translate(-50%, -50%); transition: transform .35s, background .3s; }
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq[open] .faq-plus { background: var(--sc); transform: rotate(180deg); }
.faq[open] .faq-plus::before, .faq[open] .faq-plus::after { background: #fff; }
.faq[open] .faq-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq p { margin: 0; padding: 0 22px 20px; animation: rise .4s ease both; }

/* ----- Inquiry (tinted) ----- */
.svc-inquiry { background: linear-gradient(180deg, #fff, var(--st)); }
.svc-inquiry .contact-card { background: #fff; border: 1px solid color-mix(in srgb, var(--sc) 25%, transparent); }
.svc-inquiry .contact-card .chip { background: var(--st); }
.svc-inquiry .contact-card .chip svg { stroke: var(--sc2); }
.svc .form .pill { background: var(--sc); box-shadow: 0 10px 22px -10px var(--sc); }
.svc .form .pill:hover { background: var(--sc2); }
.svc .field input:focus, .svc .field select:focus, .svc .field textarea:focus { border-color: var(--sc); box-shadow: 0 0 0 4px var(--st); }
.svc .check input { accent-color: var(--sc); }

/* ----- Other services ----- */
.others { background: #fff; }
.other-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.other { display: flex; flex-direction: column; gap: 14px; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px;
  position: relative; overflow: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s; }
.other::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--oc); transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.other:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 22px 40px -26px rgba(11,47,107,.55); }
.other:hover::after { transform: scaleX(1); }
.other-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--ot); transition: background .3s; }
.other-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--oc); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.other:hover .other-icon { background: var(--oc); }
.other:hover .other-icon svg { stroke: #fff; }
.other-name { font-family: var(--head); font-weight: 700; color: var(--navy); line-height: 1.3; }
.other-arrow { color: var(--oc); font-weight: 700; margin-top: auto; transition: transform .25s; }
.other:hover .other-arrow { transform: translateX(5px); }
@media (max-width: 1000px) { .other-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .other-grid { grid-template-columns: 1fr 1fr; } }
.svc .site-header .pill { background: var(--sc); box-shadow: 0 10px 22px -10px var(--sc); }
.svc .site-header .pill:hover { background: var(--sc2); }

/* SEO: service name lives inside the h1 */
.svc-hero h1 .svc-kicker { display: flex; width: fit-content; line-height: 1.2; letter-spacing: 0; text-transform: none; }
.svc-hero h1 .svc-h1 { display: block; }
