/* =====================================================================
   Massar Finishes — Service Details (single-services)
   Palette follows the Saasking theme (dark hero accents + gold brand)
   ===================================================================== */

.srv-single {
	--srv-gold: #c9a227;
	--srv-gold-soft: #e7c86b;
	--srv-ink: #16181d;
	--srv-muted: #5f6673;
	--srv-bg: #f6f5f1;
	--srv-card: #ffffff;
	--srv-line: #e8e3d8;
	--srv-radius: 24px;
	--srv-shadow: 0 20px 45px -22px rgba(23, 21, 15, .25);

	background: var(--srv-bg);
	color: var(--srv-ink);
	overflow-x: hidden;
}

.srv-single .srv-container {
	max-width: 1320px;
	margin-inline: auto;
	padding-inline: clamp(16px, 3vw, 40px);
}

/* ----------------------------------
   Slider
---------------------------------- */
.srv-hero { padding-top: clamp(18px, 3vw, 36px); }

.srv-slider {
	position: relative;
	border-radius: var(--srv-radius);
	overflow: hidden;
	box-shadow: var(--srv-shadow);
	background: #101014;
}

.srv-slide {
	position: relative;
	height: clamp(340px, 58vh, 680px);
}

.srv-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* soft shade so controls always stay readable */
.srv-slide::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10, 10, 12, .22) 0%, rgba(10, 10, 12, 0) 38%, rgba(10, 10, 12, .28) 100%);
	pointer-events: none;
}

/* navigation arrows */
.srv-slider-nav {
	--srv-nav-size: 52px;
	position: absolute;
	top: 50%;
	margin-top: calc(var(--srv-nav-size) / -2);
	width: var(--srv-nav-size);
	height: var(--srv-nav-size);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	background: rgba(255, 255, 255, .92);
	box-shadow: 0 8px 22px rgba(9, 9, 12, .25);
	transition: background .25s ease, transform .25s ease;
	-webkit-user-select: none;
	user-select: none;
}
.srv-slider-nav::before {
	content: "";
	position: absolute;
	inset: 50%;
	width: 16px;
	height: 2px;
	background: var(--srv-ink);
	transform: translate(-50%, -50%) rotate(45deg);
	transition: background .3s;
}
.srv-slider-nav::after {
	content: "";
	position: absolute;
	inset: 50%;
	width: 8px;
	height: 8px;
	border: 2px solid var(--srv-ink);
	border-right: 0;
	border-top: 0;
	transform: translate(-50%, -50%) rotate(-135deg) scale(1);
	opacity: 0;
	transition: opacity .3s;
}
.srv-slider-nav:hover { background: var(--srv-gold); }
.srv-slider-nav:hover::before { background: #fff; }

.srv-prev { left: 22px; }
.srv-next { right: 22px; }
.srv-prev::before { transform: translate(-50%, -50%) rotate(-45deg) scale(1); }
.srv-prev::after { transform: translate(-50%, -50%) rotate(45deg); }

/* pagination */
.srv-pagination {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
}
.srv-pagination .swiper-pagination-bullet {
	width: 9px;
	height: 9px;
	border-radius: 99px;
	background: rgba(255, 255, 255, .55);
	opacity: 1;
	transition: width .25s ease, background .25s ease;
	margin: 0;
}
.srv-pagination .swiper-pagination-bullet-active {
	width: 30px;
	background: var(--srv-gold-soft);
}

/* ----------------------------------
   Intro / headings
---------------------------------- */
.srv-intro { padding: clamp(40px, 6vw, 78px) 0 0; text-align: center; }

.srv-intro-inner { display: flex; flex-direction: column; align-items: center; }

.srv-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: #8a6d1d;
	background: linear-gradient(90deg, rgba(201, 162, 39, .14), rgba(201, 162, 39, .04));
	border: 1px solid rgba(201, 162, 39, .35);
	padding: 9px 18px;
	border-radius: 999px;
}

.srv-title {
	margin: 20px 0 0;
	font-size: clamp(34px, 5.2vw, 62px);
	line-height: 1.08;
	font-weight: 700;
	color: var(--srv-ink);
	max-width: 900px;
}

.srv-subtitle {
	margin: 18px auto 0;
	max-width: 820px;
	font-size: clamp(16px, 2vw, 20px);
	line-height: 1.65;
	color: var(--srv-muted);
}

.srv-divider {
	margin-top: 26px;
	width: 92px;
	height: 4px;
	border-radius: 99px;
	background: linear-gradient(90deg, var(--srv-gold-soft), var(--srv-gold));
}

/* ----------------------------------
   Details editor
---------------------------------- */
.srv-details { padding: clamp(36px, 5vw, 64px) 0; }

.srv-details-card {
	background: var(--srv-card);
	border: 1px solid var(--srv-line);
	border-radius: var(--srv-radius);
	box-shadow: var(--srv-shadow);
	padding: clamp(24px, 4vw, 56px);
}

.srv-single .srv-richtext {
	font-size: 17px;
	line-height: 1.85;
	color: #2a2d35;
}
.srv-single .srv-richtext > *:first-child { margin-top: 0; }
.srv-single .srv-richtext > *:last-child { margin-bottom: 0; }

.srv-single .srv-richtext h2,
.srv-single .srv-richtext h3,
.srv-single .srv-richtext h4 {
	color: var(--srv-ink);
	font-weight: 700;
	line-height: 1.3;
	margin: 30px 0 14px;
}
.srv-single .srv-richtext h2 { font-size: clamp(24px, 3vw, 34px); }
.srv-single .srv-richtext h3 { font-size: clamp(20px, 2.4vw, 27px); }
.srv-single .srv-richtext h4 { font-size: clamp(18px, 2vw, 22px); }

.srv-single .srv-richtext p { margin: 0 0 18px; }

.srv-single .srv-richtext strong { color: var(--srv-ink); }

.srv-single .srv-richtext a { color: var(--srv-gold); text-decoration: underline; text-underline-offset: 3px; }

.srv-single .srv-richtext ul,
.srv-single .srv-richtext ol { margin: 0 0 18px; padding-left: 26px; }
.srv-single .srv-richtext li { margin-bottom: 10px; }
.srv-single .srv-richtext ul li::marker { color: var(--srv-gold); }
.srv-single .srv-richtext ol li::marker { color: var(--srv-gold); font-weight: 700; }

.srv-single .srv-richtext img {
	max-width: 100%;
	height: auto;
	border-radius: 16px;
	margin: 10px 0 20px;
}

.srv-single .srv-richtext blockquote {
	margin: 24px 0;
	padding: 18px 26px;
	border-left: 4px solid var(--srv-gold);
	background: rgba(201, 162, 39, .07);
	border-radius: 12px;
	color: #454a56;
	font-style: italic;
}

/* guarantee plain-text line breaks inside any details markup */
.srv-single .srv-richtext p br { line-height: 1.6; }

/* ----------------------------------
   FAQ
---------------------------------- */
.srv-faq { padding: clamp(30px, 4vw, 60px) 0 clamp(34px, 4vw, 56px); }

.srv-faq-wrap { text-align: center; }

.srv-faq-heading {
	margin: 18px 0 0;
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 700;
	color: var(--srv-ink);
	line-height: 1.15;
}

.srv-faq-list {
	margin-top: 38px;
	text-align: left;
	display: grid;
	gap: 14px;
	max-width: 940px;
	margin-left: auto;
	margin-right: auto;
}

.srv-faq-item {
	background: var(--srv-card);
	border: 1px solid var(--srv-line);
	border-radius: 18px;
	overflow: hidden;
	transition: box-shadow .3s ease, border-color .3s ease;
}
.srv-faq-item.open {
	border-color: rgba(201, 162, 39, .55);
	box-shadow: 0 16px 34px -18px rgba(23, 21, 15, .28);
}

.srv-faq-q {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	border: 0;
	background: transparent;
	cursor: pointer;
	text-align: left;
	padding: 20px clamp(18px, 2.6vw, 28px);
	min-height: 30px;
}
.srv-faq-q:focus-visible { outline: 2px solid var(--srv-gold); outline-offset: -2px; border-radius: 18px; }

.srv-faq-qtext {
	font-size: clamp(16px, 1.8vw, 19px);
	font-weight: 600;
	color: var(--srv-ink);
	line-height: 1.5;
}

.srv-faq-icon {
	position: relative;
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1.6px solid rgba(201, 162, 39, .65);
	transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
.srv-faq-icon::before,
.srv-faq-icon::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	background: var(--srv-gold);
	border-radius: 2px;
	transition: transform .3s ease, background .3s ease;
}
.srv-faq-icon::before { width: 14px; height: 2px; }
.srv-faq-icon::after { width: 2px; height: 14px; }

.srv-faq-item.open .srv-faq-icon { transform: rotate(90deg); background: rgba(201, 162, 39, .12); }
.srv-faq-item.open .srv-faq-icon::after { transform: scaleY(0); }
.srv-faq-item.open .srv-faq-icon::before,
.srv-faq-item.open .srv-faq-icon::after { background: #8a6d1d; }

.srv-faq-a {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows .35s ease;
}
.srv-faq-item.open .srv-faq-a { grid-template-rows: 1fr; }

.srv-faq-a-inner {
	overflow: hidden;
	padding: 0 clamp(18px, 2.6vw, 28px);
	color: #4d525c;
	font-size: 16.5px;
	line-height: 1.8;
	transition: padding .3s ease;
}
.srv-faq-item.open .srv-faq-a-inner { padding-bottom: 22px; }

/* ----------------------------------
   Back link
---------------------------------- */
.srv-back-wrap { padding-bottom: clamp(40px, 6vw, 70px); }

.srv-back {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	color: var(--srv-ink);
	text-decoration: none;
	padding: 12px 22px;
	border-radius: 999px;
	border: 1px solid var(--srv-line);
	background: var(--srv-card);
	transition: border-color .3s ease, color .3s ease, background .3s ease;
}
.srv-back:hover { color: #8a6d1d; border-color: rgba(201, 162, 39, .6); }

/* ----------------------------------
   Responsive
---------------------------------- */
@media (max-width: 767px) {
	.srv-slide { height: min(64vw, 420px); min-height: 240px; }
	.srv-slider-nav { --srv-nav-size: 42px; }
	.srv-prev { left: 12px; }
	.srv-next { right: 12px; }
	.srv-faq-q { padding: 16px 16px; }
}


/* ===== Booking form ===== */
.srv-book { padding: 10px 0 76px; margin-top: 10px; }
.srv-book .srv-kicker { display: flex; justify-content: center; }
.srv-book-heading { text-align: center; margin: 10px 0 0; }
.srv-book-sub { max-width: 720px; margin: 14px auto 0; text-align: center; color: #5a5a55; font-size: 15.5px; line-height: 1.7; }
.srv-book-services { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 18px; margin: 28px 0 8px; padding: 18px 16px 16px; background: rgba(201, 162, 39, .07); border: 1px dashed rgba(201, 162, 39, .5); border-radius: 14px; }
.srv-book-svc { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 13px; margin: 6px 0; background: #fff; border: 1px solid rgba(17, 24, 39, .14); border-radius: 12px; cursor: pointer; user-select: none; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.srv-book-svc:hover { border-color: rgba(201, 162, 39, .75); box-shadow: 0 6px 16px rgba(201, 162, 39, .16); }
.srv-book-svc.is-selected, .srv-book-svc:has(.srv-book-svc__input:checked) { border-color: #c9a227; background: #faf6ea; box-shadow: 0 6px 16px rgba(201, 162, 39, .18); }
.srv-book-svc__input { width: 17px; height: 17px; margin: 0; accent-color: #c9a227; cursor: pointer; flex: none; }
.srv-book-svc__text { font-size: 14.5px; font-weight: 600; color: #23221e; }
.srv-book-form { margin-top: 30px; background: #fff; border: 1px solid rgba(201, 162, 39, .18); border-radius: 18px; padding: 30px clamp(18px, 4vw, 46px) 40px; box-shadow: 0 22px 50px rgba(17, 24, 39, .06); }
.srv-book-form .sk-contact-6-form .input-box { margin-bottom: 16px; }
@media (max-width: 640px) { .srv-book-services { gap: 10px 12px; } .srv-book-svc { padding: 9px 14px 9px 11px; } }


/* Booking container matches the details text width exactly */
.srv-book .srv-container {
	max-width: 1320px;
	margin-inline: auto;
	padding-inline: clamp(16px, 3vw, 40px);
}


/* ===== Temp: hide featured-image block shown by the parent theme on service details ===== */
.single-services .sk-blog-details-img { display: none !important; }

/* ===== Slider arrows: always visible ON the image ===== */
.srv-slider .srv-slider-nav { opacity: 1; visibility: visible; z-index: 5; background: #fff; }
.srv-slider .srv-slider-nav:hover { background: var(--srv-gold); }
.srv-slider .srv-slider-nav:hover::before { background: #fff; }

/* ===== Pagination bullets: below the slider (outside the image), clickable ===== */
.srv-slider .srv-pagination { position: static; left: auto; bottom: auto; transform: none; margin-top: 16px; justify-content: center; }
.srv-slider .swiper-pagination-bullet { position: relative; width: 11px; height: 11px; background: rgba(35, 34, 30, .28); cursor: pointer; outline: none; box-shadow: none; }
.srv-slider .srv-pagination .swiper-pagination-bullet::before { content: ""; position: absolute; inset: -7px; }
.srv-slider .srv-pagination .swiper-pagination-bullet-active { width: 30px; background: var(--srv-gold); }

/* ===== Booking service checkboxes: flat, full form width, one style for the whole form ===== */
.srv-book-services { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 10px 40px; margin: 10px 0 4px; padding: 0; background: transparent; border: 0; border-radius: 0; }
.srv-book-svc { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 6px 0; background: transparent; border: 0; border-radius: 0; cursor: pointer; user-select: none; transition: color .15s ease; }
.srv-book-svc:hover { border: 0; background: transparent; box-shadow: none; }
.srv-book-svc.is-selected, .srv-book-svc:has(.srv-book-svc__input:checked) { border: 0; background: transparent; box-shadow: none; }
.srv-book-svc__box { display: none; }
.srv-book-svc__input { width: 18px; height: 18px; margin: 0; accent-color: #c9a227; cursor: pointer; flex: none; }
.srv-book-svc__input:checked ~ .srv-book-svc__text { color: var(--srv-gold, #c9a227); }
.srv-book-svc__text { font-size: 15px; font-weight: 500; color: #23221e; }
.srv-book-list-label { display: block; margin: 24px 0 2px; text-align: left; }
@media (max-width: 640px) { .srv-book-services { gap: 8px 22px; } .srv-book-svc { padding: 5px 0; } }


/* Booking services checkboxes: one single line across the full form width */
.srv-book-services { flex-wrap: nowrap; justify-content: space-between; flex: 1 1 auto; }
@media (max-width: 520px) { .srv-book-services { gap: 8px 14px; } .srv-book-svc__text { font-size: 13px; } .srv-book-svc { gap: 7px; padding: 4px 0; } }


/* ===== Slider controls: rebuilt (clear chevrons + easily countable bullets) ===== */
/* Room below the image so bullets sit on the light page background, outside the photo frame */
.srv-slider { padding-bottom: 42px; background: transparent; }
.srv-slider .srv-pagination { margin-top: 12px; }
/* Inactive bullets clearly visible; active keeps the gold pill */
.srv-slider .swiper-pagination-bullet { background: rgba(35, 34, 30, .55); }
.srv-slider .srv-pagination .swiper-pagination-bullet-active { background: var(--srv-gold); }
/* Rebuild arrows: single clean chevron, always centered */
.srv-slider-nav::after { display: none !important; }
.srv-slider .srv-slider-nav::before { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; background: transparent !important; }
.srv-slider .srv-prev::before { border-left: 2.5px solid #16181d; border-bottom: 2.5px solid #16181d; transform: translate(-33%, -50%) rotate(45deg); }
.srv-slider .srv-next::before { border-right: 2.5px solid #16181d; border-top: 2.5px solid #16181d; transform: translate(-67%, -50%) rotate(45deg); }
.srv-slider .srv-slider-nav:hover::before { background: transparent !important; border-color: #fff; }
@media (max-width: 640px) { .srv-slider { padding-bottom: 36px; } }
