/* Shared styles for the individual service pages (mobile-dental-hygiene.html, teeth-whitening.html, ...).
   Matches the home page theme: charcoal, champagne gold #ccb180, Playfair Display headings. */

body { background: #fff; font-family: 'Poppins', sans-serif; font-weight: 300; color: #555; }
h1, h2, h3 { font-family: 'Playfair Display', serif; }

/* Header */
.svc-header { background: #2b2925; padding: 14px 24px; position: sticky; top: 0; z-index: 50; }
.svc-header .inner { max-width: 1140px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.svc-header img { height: 46px; }
.svc-header nav { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.svc-header nav a { color: #f5f0e8; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }
.svc-header nav a:hover, .svc-header nav a.active { color: #ccb180; }
.svc-header nav a.call { color: #ccb180; border: 1px solid #ccb180; padding: 7px 14px; margin: 4px 6px; }
@media (max-width: 767px) {
	.svc-header img { height: 36px; }
	.svc-header nav a.opt { display: none; }
}

/* Hero */
.svc-hero { position: relative; background-size: cover; background-position: center; padding: 110px 20px 100px; text-align: center; color: #fff; }
.svc-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.svc-hero .inner { position: relative; max-width: 760px; margin: 0 auto; }
.svc-hero .kicker { color: #ccb180; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 14px; }
.svc-hero h1 { color: #fff; font-size: 44px; line-height: 1.2; margin-bottom: 18px; }
.svc-hero p.lead { font-size: 18px; line-height: 1.7; color: #f5f0e8; margin-bottom: 26px; }
.svc-hero .btn { color: #fff; }
@media (max-width: 767px) {
	.svc-hero { padding: 70px 16px 60px; }
	.svc-hero h1 { font-size: 32px; }
	.svc-hero p.lead { font-size: 16px; }
}

/* Breadcrumb */
.svc-crumbs { max-width: 1140px; margin: 0 auto; padding: 14px 24px 0; font-size: 13px; }
.svc-crumbs a { color: #ccb180; text-decoration: none; }

/* Body sections */
.svc-section { max-width: 900px; margin: 0 auto; padding: 50px 24px; }
/* Alternate bands: warm cream with the home page's floral pattern */
.svc-section.alt { max-width: none; background-color: #f7f3ec; background-image: url("../images/neela-pattern.png"); background-repeat: repeat; background-size: 400px; }
.svc-section.alt > .inner { max-width: 900px; margin: 0 auto; }
.svc-section h2 { font-size: 32px; color: #1a1a1a; margin-bottom: 18px; text-align: center; }
/* Gold triple-diamond divider, same ornament as the home page section titles */
.svc-section h2 + .rule { width: 189px; height: 26px; margin: 0 auto 30px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='189' height='26' viewBox='0 0 189 26'%3E%3Cpath fill='none' stroke='%23ccb180' stroke-width='1.5' d='M86.19 2.362L96.98 13 86.19 23.634 75.4 13Z'/%3E%3Cpath fill='none' stroke='%23ccb180' stroke-width='1.5' d='M94.985 2.362L105.775 13 94.985 23.634 84.2 13Z'/%3E%3Cpath fill='none' stroke='%23ccb180' stroke-width='1.5' d='M103.78 2.362L114.57 13 103.78 23.634 92.991 13Z'/%3E%3Cpath fill='%23ccb180' d='M120 14V13H189v1H120Z'/%3E%3Cpath fill='%23ccb180' d='M0 14V13H69v1H0Z'/%3E%3C/svg%3E") no-repeat center; }
.svc-section p, .svc-section li { font-size: 16px; line-height: 1.85; }
@media (max-width: 767px) {
	.svc-section { padding: 36px 16px; }
	.svc-section h2 { font-size: 26px; }
}

/* Gold-tick lists (same mark as the home page service lists) */
.svc-list { list-style: none; padding: 0; margin: 0 0 10px; }
.svc-list li { padding-left: 26px; position: relative; margin-bottom: 8px; }
.svc-list li::before { content: "\2714"; position: absolute; left: 0; color: #ccb180; }

/* Cards */
.svc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
/* Double gold frame, echoing the home page's .neela-style boxes */
.svc-card { border: 1px solid rgba(204,177,128,0.8); background: #fff; padding: 30px 28px; box-shadow: 0 6px 22px rgba(98,93,82,0.08); }
.svc-card .num { font-family: 'Playfair Display', serif; font-size: 30px; color: #ccb180; line-height: 1; margin-bottom: 8px; }
.svc-card h3 { font-size: 20px; color: #1a1a1a; margin-bottom: 10px; }
.svc-card p { margin: 0; font-size: 15px; line-height: 1.75; }
.svc-card .price { font-family: 'Playfair Display', serif; font-size: 30px; color: #ccb180; margin: 4px 0 10px; }

/* FAQ */
.svc-faq details { border-bottom: 1px solid rgba(204,177,128,0.45); padding: 16px 0; }
.svc-faq summary { font-family: 'Playfair Display', serif; font-size: 19px; color: #1a1a1a; cursor: pointer; list-style: none; position: relative; padding-right: 30px; }
.svc-faq summary::-webkit-details-marker { display: none; }
.svc-faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; color: #ccb180; font-size: 24px; }
.svc-faq details[open] summary::after { content: "\2212"; }
.svc-faq details p { margin: 12px 0 0; }

/* Booking band */
/* Booking band: photo with dark overlay, like the home page footer */
.svc-book { position: relative; background: url("../images/bamboo-toothbrushes-eucalyptus.jpg") center/cover no-repeat; color: #fff; text-align: center; padding: 80px 20px; }
.svc-book::before { content: ""; position: absolute; inset: 0; background: rgba(43,41,37,0.68); }
.svc-book > * { position: relative; }
.svc-book h2 { color: #fff; font-size: 34px; font-style: italic; margin-bottom: 10px; }
.svc-book h2::after { content: ""; display: block; width: 189px; height: 26px; margin: 16px auto 0; opacity: 0.8; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='189' height='26' viewBox='0 0 189 26'%3E%3Cpath fill='none' stroke='%23ccb180' stroke-width='1.5' d='M86.19 2.362L96.98 13 86.19 23.634 75.4 13Z'/%3E%3Cpath fill='none' stroke='%23ccb180' stroke-width='1.5' d='M94.985 2.362L105.775 13 94.985 23.634 84.2 13Z'/%3E%3Cpath fill='none' stroke='%23ccb180' stroke-width='1.5' d='M103.78 2.362L114.57 13 103.78 23.634 92.991 13Z'/%3E%3Cpath fill='%23ccb180' d='M120 14V13H189v1H120Z'/%3E%3Cpath fill='%23ccb180' d='M0 14V13H69v1H0Z'/%3E%3C/svg%3E") no-repeat center; }
.svc-book p { color: #f5f0e8; margin-bottom: 18px; }
.svc-book .btn { color: #fff; }
.svc-book .tel { display: block; margin-top: 14px; font-family: 'Playfair Display', serif; font-size: 30px; color: #fff; text-decoration: none; letter-spacing: 1px; }

/* Related services */
.svc-related { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 28px; }
/* Double gold border, like the buttons and boxes on the home page */
.svc-related a { border: 1px solid #ccb180; color: #8a7346; padding: 10px 18px; font-size: 14px; text-decoration: none; transition: background 0.3s, color 0.3s; }
.svc-related a:hover { background: #ccb180; color: #fff; }

.svc-note { font-size: 14px; font-style: italic; color: #777; text-align: center; }

/* Footer */
/* Footer: lavender and bamboo toothbrush photo under a soft dark wash, same as the home page footer */
.svc-footer { position: relative; background: url("../images/toothbrush-spa.jpg") center/cover no-repeat; color: #fff; text-align: center; padding: 44px 20px; font-size: 14px; line-height: 2; border-top: 1px solid rgba(204,177,128,0.6); }
.svc-footer::before { content: ""; position: absolute; inset: 0; background: rgba(43,41,37,0.55); }
.svc-footer > * { position: relative; }
.svc-footer a { color: #fff; }

/* Light hero variant for bright photos (children's page): soft cream wash, dark text */
.svc-hero.light::before { background: linear-gradient(rgba(255,255,255,0.72), rgba(247,243,236,0.6)); }
.svc-hero.light h1 { color: #2b2925; }
.svc-hero.light p.lead { color: #4a4640; }
.svc-hero.light .kicker { color: #8a7346; }
.svc-hero.light .btn { color: #8a7346; }

/* Split hero: photo beside the text on a cream pattern band (children's page) */
.svc-hero.split { background: #f7f3ec url("../images/neela-pattern.png") repeat; background-size: 400px; color: #2b2925; padding: 60px 24px; text-align: left; }
.svc-hero.split::before { display: none; }
.svc-hero.split .inner { max-width: 1140px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.svc-hero.split h1 { color: #2b2925; }
.svc-hero.split p.lead { color: #4a4640; }
.svc-hero.split .kicker { color: #8a7346; }
.svc-hero.split .btn { color: #8a7346; margin-left: 0; }
.svc-hero.split img, .svc-split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid rgba(204,177,128,0.8); }
@media (max-width: 767px) {
	.svc-hero.split { padding: 40px 16px; text-align: center; }
	.svc-hero.split .inner { grid-template-columns: 1fr; gap: 28px; }
	.svc-hero.split .btn { margin-left: 15px; }
}

/* Text beside a framed photo inside the page */
.svc-split { max-width: 1040px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
.svc-split h2 { text-align: left; }
.svc-split h2 + .rule { margin-left: 0; }
@media (max-width: 767px) {
	.svc-split { grid-template-columns: 1fr; gap: 24px; }
	.svc-split h2 { text-align: center; }
	.svc-split h2 + .rule { margin-left: auto; }
}

/* Photo on the left instead of the right; on phones the text still comes first */
.svc-split.reverse { grid-template-columns: 1fr 1.1fr; }
@media (max-width: 767px) {
	.svc-split.reverse { grid-template-columns: 1fr; }
	.svc-split.reverse > .photo-frame, .svc-split.reverse > img { order: 2; }
}

/* Services drop-down in the header, with the gold service icons */
.svc-drop { position: relative; }
.svc-drop-menu { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 230px; padding: 8px 0; margin-top: 10px; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,0.18); border-top: 2px solid #ccb180; z-index: 60; }
.svc-drop-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.svc-drop:hover .svc-drop-menu, .svc-drop:focus-within .svc-drop-menu { display: block; }
.svc-header nav .svc-drop-menu a { display: block; color: #4a4640; padding: 10px 18px; text-transform: none; letter-spacing: 0.02em; font-size: 14px; }
.svc-header nav .svc-drop-menu a:hover { background: #f7f3ec; color: #8a7346; }
.svc-drop-menu i { width: 24px; margin-right: 8px; color: #ccb180; text-align: center; }

/* Two framed photos side by side between sections */
.svc-gallery { max-width: 1040px; margin: 0 auto; padding: 10px 24px 50px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.svc-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid rgba(204,177,128,0.8); }
@media (max-width: 767px) { .svc-gallery { grid-template-columns: 1fr; gap: 24px; padding: 0 16px 36px; } }
.svc-gallery.single { grid-template-columns: 1fr; max-width: 640px; }
/* Show the whole photo (no cropping), a little smaller than the text column */
.svc-split img.fit { aspect-ratio: auto; object-fit: contain; max-width: 440px; justify-self: center; }

/* Split hero with a soft background photo behind it (children's page) */
.svc-hero.split.photo-bg { background-size: cover; background-position: center; background-repeat: no-repeat; }
.svc-hero.split.photo-bg::before { display: block; background: linear-gradient(90deg, rgba(250,247,242,0.72) 0%, rgba(250,247,242,0.42) 45%, rgba(250,247,242,0.1) 100%); }
.svc-hero.split.photo-bg .inner { position: relative; }

/* Light hero with the photo showing faintly (teeth cleaning page) */
/* Smile shows in full colour on the right; a soft cream fade sits only behind the text on the left */
.svc-hero.light.soft { text-align: left; padding: 120px 24px 110px; background-position: 70% center; }
.svc-hero.light.soft::before { background: linear-gradient(90deg, rgba(250,247,242,0.95) 0%, rgba(250,247,242,0.85) 35%, rgba(250,247,242,0.15) 65%, rgba(250,247,242,0) 100%); }
.svc-hero.light.soft .inner { max-width: 1140px; }
.svc-hero.light.soft .inner > * { max-width: 520px; }
.svc-hero.light.soft .btn { margin-left: 0; }
@media (max-width: 767px) {
	.svc-hero.light.soft { text-align: center; padding: 70px 16px 60px; }
	.svc-hero.light.soft::before { background: rgba(250,247,242,0.8); }
	.svc-hero.light.soft .inner > * { max-width: none; }
	.svc-hero.light.soft .btn { margin-left: 15px; }
}
/* Keep the leaves visible but make the text in front of them crisp */
.svc-hero.split.photo-bg .text { background: rgba(250,247,242,0.55); padding: 26px 28px; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.svc-hero.split.photo-bg p.lead { color: #2b2925; font-weight: 400; }
@media (max-width: 767px) { .svc-hero.split.photo-bg .text { padding: 18px 16px; } }

/* Photo fills the banner; white heading on the left over a soft dark fade, face and smile clear on the right */
.svc-hero.side { text-align: left; background-position: right 82%; padding: 130px 24px 120px; }
.svc-hero.side::before { background: linear-gradient(90deg, rgba(25,22,20,0.78) 0%, rgba(25,22,20,0.55) 40%, rgba(25,22,20,0.05) 75%, rgba(25,22,20,0) 100%); }
.svc-hero.side .inner { max-width: 1140px; }
.svc-hero.side .inner > * { max-width: 540px; }
.svc-hero.side .btn { margin-left: 0; }
@media (max-width: 767px) {
	.svc-hero.side { text-align: center; padding: 70px 16px 60px; background-position: 75% center; }
	.svc-hero.side::before { background: rgba(25,22,20,0.55); }
	.svc-hero.side .inner > * { max-width: none; }
	.svc-hero.side .btn { margin-left: 15px; }
}

/* Crossed double border (same as the "Book" buttons) on boxes, links, phone and framed photos; lines added by js/frames.js */
.svc-card, .svc-related a, .svc-header nav a.call, .photo-frame { --offset: 7px; --border-size: 1px; position: relative; isolation: isolate; }
.svc-header nav a.call { --offset: 5px; }
.svc-card > .h-lines, .svc-card > .v-lines, .svc-related a > .h-lines, .svc-related a > .v-lines, .photo-frame > .h-lines, .photo-frame > .v-lines { color: #ccb180; }
.svc-header nav a.call > .h-lines, .svc-header nav a.call > .v-lines { color: #ccb180; }
.photo-frame { display: block; }
.photo-frame img { display: block; }
.photo-frame.fit { max-width: 440px; justify-self: center; width: 100%; }

/* Hero photo shown whole on the right (not zoomed in), its left edge fading into the dark side behind the text */
.svc-hero.fit-right { background-color: #191614; background-size: auto 100%; background-repeat: no-repeat; background-position: right center; }
@media (max-width: 767px) {
	.svc-hero.fit-right { background-size: cover; background-position: 80% center; }
}

/* Phones: a tall version of the photo (whole scene, soft blurred edges) sits behind the banner text */
@media (max-width: 767px) {
	.svc-hero.photo-top-phone { background-image: var(--phone-photo) !important; background-size: cover; background-position: center; }
	.svc-hero.photo-top-phone::before { background: rgba(25,22,20,0.45); }
}

/* Tooth gems page: the close-up photo always shows in full colour, with no wash over it */
.svc-hero.light.soft.gem::before { display: none; }
/* Computers: photo enlarged a little so the gems sit to the right of the words */
@media (min-width: 1024px) {
	.svc-hero.light.soft.gem { background-size: 122% auto; background-position: 0% 36%; }
	.svc-hero.light.soft.gem .inner > * { max-width: 440px; }
	.svc-hero.light.soft.gem .kicker, .svc-hero.light.soft.gem h1, .svc-hero.light.soft.gem p.lead { text-shadow: 0 0 6px #faf7f2, 0 0 14px #faf7f2, 0 0 22px rgba(250,247,242,0.9); }
	.svc-hero.light.soft.gem .kicker { color: #6f5a30; }
	.svc-hero.light.soft.gem p.lead { color: #2b2925; }
}
/* Tablets and phones: the whole photo on top, the words underneath on cream */
@media (max-width: 1023px) {
	.svc-hero.light.soft.gem { background-color: #faf7f2; background-size: 100% auto; background-position: center top; background-repeat: no-repeat; text-align: center; padding: calc(66.7vw + 28px) 16px 44px; }
	.svc-hero.light.soft.gem .inner > * { max-width: none; }
	.svc-hero.light.soft.gem .btn { margin-left: 15px; }
}
/* Fluoride page: same full-colour title photo treatment, with the child on the right of the words */
@media (min-width: 1024px) {
	.svc-hero.light.soft.gem.kids { background-size: 150% auto; background-position: 0% 50%; }
}
/* Sensitivity page: same full-colour title photo treatment, with the woman on the right of the words */
@media (min-width: 1024px) {
	.svc-hero.light.soft.gem.sens { background-size: 130% auto; background-position: 0% 4%; }
}
@media (min-width: 1024px) {
	/* No fade over this photo: it shows in full colour, so the words are white with a soft dark shadow to stay readable on the dark greenery */
	.svc-hero.light.soft.gem.sens .kicker, .svc-hero.light.soft.gem.sens h1, .svc-hero.light.soft.gem.sens p.lead { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 0 12px rgba(0,0,0,0.75), 0 0 26px rgba(0,0,0,0.55); }
	.svc-hero.light.soft.gem.sens .kicker { color: #e6d3a8; }
	.svc-hero.light.soft.gem.sens .btn { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.8); }
}
/* Smaller framed photo (sensitivity page) */
.photo-frame.fit:has(img.small) { max-width: 340px; }
/* Photo-background hero with the subject on the right: words left-aligned on computers, shading lighter over the subject */
@media (min-width: 1024px) {
	.svc-hero.side-right { background-size: 150% auto; background-position: 0% 50% !important; text-align: left; }
	.svc-hero.side-right::before { background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0.12) 68%, rgba(0,0,0,0.05) 100%); }
	.svc-hero.side-right .inner { max-width: 1140px; }
	.svc-hero.side-right .inner > * { max-width: 520px; }
	.svc-hero.side-right .btn { margin-left: 0; margin-right: 12px; }
}
/* Two smaller photos that overlap at the corners (fluoride page) */
.svc-overlap { position: relative; width: 100%; max-width: 400px; aspect-ratio: 10 / 8.6; justify-self: center; margin: 0 auto; }
.svc-split .svc-overlap img { position: absolute; width: 66%; aspect-ratio: 4 / 3; object-fit: cover; border: 6px solid #fff; outline: 1px solid rgba(204,177,128,0.8); box-shadow: 0 8px 22px rgba(0,0,0,0.16); }
.svc-split .svc-overlap img:first-child { top: 0; left: 0; }
.svc-split .svc-overlap img:last-child { bottom: 0; right: 0; }
/* Children's page: same side-right hero, photo anchored higher so the face shows */
@media (min-width: 1024px) {
	.svc-hero.side-right.pos-top { background-size: 135% auto; background-position: 0% 10% !important; }
}
/* Tooth gems page: side-right hero sized so the gems sit to the right of the words */
@media (min-width: 1024px) {
	.svc-hero.side-right.gem-pos { background-color: #191614; background-repeat: no-repeat; background-size: auto 100%; background-position: right center !important; }
	.svc-hero.side-right.gem-pos::before { background: linear-gradient(90deg, #191614 0%, #191614 37%, rgba(25,22,20,0.6) 47%, rgba(25,22,20,0.15) 58%, rgba(25,22,20,0) 66%); }
}
