/* ===================================================================
   abcchildrensdentistry.com: the look of the WordPress site (The7 theme "dental" demo, WPBakery,
   Slider Revolution, Trustindex reviews) rebuilt in plain CSS. Values come from the live site's
   computed styles and The7's css-vars (2026-11-02). Fonts are self-hosted (site/fonts/).
   Breakpoints as The7: 1100px (mobile header), 778px (phone layout), 768px (Call Now Button).
=================================================================== */

/* ---------- fonts (Google Fonts woff2, latin subset; Roboto and Open Sans are variable) ---------- */
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/fira-sans-400.woff2') format('woff2'); }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/fira-sans-500.woff2') format('woff2'); }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/fira-sans-600.woff2') format('woff2'); }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/fira-sans-700.woff2') format('woff2'); }
@font-face { font-family: 'Fira Sans Condensed'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/fira-sans-condensed-400.woff2') format('woff2'); }
@font-face { font-family: 'Fira Sans Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/fira-sans-condensed-500.woff2') format('woff2'); }
@font-face { font-family: 'Fira Sans Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/fira-sans-condensed-600.woff2') format('woff2'); }
@font-face { font-family: 'Fira Sans Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/fira-sans-condensed-700.woff2') format('woff2'); }
@font-face { font-family: 'Fira Sans Extra Condensed'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/fira-sans-extra-condensed-400.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/roboto-variable.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/open-sans-variable.woff2') format('woff2'); }

/* ---------- tokens ---------- */
:root {
  --accent: #e6155c;
  --text: #6a7990;
  --title: #39465d;
  --menu: #364152;
  --topbar: #5e6b7f;
  --muted-bg: rgba(57, 70, 93, 0.05);
  --divider: rgba(57, 70, 93, 0.15);
  --purple: #9b51e0;
  --blue: #0693e3;
  --green: #00d084;
  --white: #fff;
  --font-body: 'Roboto', Helvetica, Arial, Verdana, sans-serif;
  --font-head: 'Fira Sans Condensed', Helvetica, Arial, Verdana, sans-serif;
  --font-ui: 'Fira Sans', Helvetica, Arial, Verdana, sans-serif;
  --wrap: 1300px;
  --gutter: 50px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body { margin: 0; background: #fff; color: var(--text); font: 400 16px/28px var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; border: 0; vertical-align: top; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 0 0 10px; }
ul, ol { margin: 0 0 10px 20px; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 10px; color: var(--title); font-family: var(--font-head); font-weight: 400; }
h1 { font-size: 42px; line-height: 52px; }
h2 { font-size: 32px; line-height: 42px; }
h3 { font-size: 24px; line-height: 34px; }
h4 { font-size: 20px; line-height: 30px; }
h5 { font-size: 18px; line-height: 28px; }
h6 { font-size: 16px; line-height: 26px; }
strong, b { font-weight: 700; }
iframe { max-width: 100%; border: 0; }
table { border-collapse: collapse; margin-bottom: 10px; }
td, th { padding: 6px 10px; border: 1px solid var(--divider); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 10px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--accent); color: #fff; font-weight: 700; }
.skip-link:focus { top: 10px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.icon { width: 1em; height: 1em; display: inline-block; flex: none; vertical-align: middle; }

/* ---------- buttons (The7 btn-s / btn-m / btn-l) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid var(--accent); color: var(--accent); background: transparent; text-align: center; cursor: pointer; text-decoration: none; transition: background-color .2s, color .2s; }
.btn:hover { background: var(--accent); color: #fff; text-decoration: none; }
.btn-s { padding: 8px 12px; font: 700 12px/14px var(--font-body); }
.btn-m { padding: 12px 20px; font: 600 16px/18px var(--font-ui); }
.btn-l { padding: 18px 24px; font: 700 18px/20px var(--font-body); border-width: 3px; min-width: 300px; }
.btn-fill { background: var(--accent); color: #fff; }
.btn-fill:hover { background: #c70f4e; border-color: #c70f4e; }
.btn .icon { width: 8px; height: 8px; }

/* ---------- header ---------- */
.masthead { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 0 15px 1px rgba(0, 0, 0, .07); }
.top-bar { border-bottom: 1px solid rgba(230, 21, 92, .55); }
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; max-width: var(--wrap); height: 35px; margin: 0 auto; padding: 0 var(--gutter); }
.top-contacts, .mobile-contacts { display: flex; flex-wrap: wrap; align-items: center; }
.mini-contact { display: inline-flex; align-items: center; margin-right: 22px; color: var(--topbar); font: 400 12px/18px var(--font-ui); }
.mini-contact .icon { width: 16px; height: 16px; margin-right: 5px; color: var(--accent); }
.soc-icons { display: flex; gap: 2px; }
.soc { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: #e5a2b8; color: var(--accent); transition: background-color .2s; }
.soc:hover { background: var(--accent); color: #fff; }
.soc .icon { width: 16px; height: 16px; }
.header-bar { display: flex; align-items: center; max-width: var(--wrap); height: 100px; margin: 0 auto; padding: 0 var(--gutter); transition: height .2s; }
.branding { margin-right: auto; display: block; line-height: 0; }
.branding img { width: 135px; height: 90px; object-fit: contain; transition: width .2s, height .2s; }
.main-nav { display: flex; align-items: center; }
.main-nav .menu { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.menu-item { position: relative; }
.main-nav .menu > .menu-item > a { display: block; margin: 11px 8px 11px 0; padding: 7px 12px 5px; color: var(--menu); text-decoration: none; }
.main-nav .menu > .menu-item > a .menu-text { position: relative; display: block; font: 500 18px/22px var(--font-head); text-transform: uppercase; }
.main-nav .menu > .menu-item > a .menu-text::after { content: ''; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; background: var(--accent); opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; }
.main-nav .menu > .menu-item > a:hover, .main-nav .menu > .is-current > a, .main-nav .menu > .is-ancestor > a { color: var(--accent); }
.main-nav .menu > .is-current > a .menu-text::after, .main-nav .menu > .is-ancestor > a .menu-text::after, .main-nav .menu > .menu-item > a:hover .menu-text::after { opacity: 1; transform: none; }
.sub-toggle { display: none; }
.sub-menu { position: absolute; top: 100%; left: 0; z-index: 10; width: 280px; margin: 0; padding: 10px; list-style: none; background: #fff; box-shadow: 0 0 4px rgba(0, 0, 0, .2); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, visibility .2s; }
.has-children:hover > .sub-menu, .has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: 10px; color: var(--menu); font: 400 14px/18px var(--font-ui); text-decoration: none; }
.sub-menu a:hover, .sub-menu .is-current > a { background: rgba(230, 21, 92, .07); color: var(--accent); }
.header-btn { display: inline-flex; align-items: center; gap: 5px; margin-left: 12px; padding: 10px 14px; box-shadow: inset 0 0 0 2px var(--accent); color: var(--accent); font: 500 12px/16px var(--font-ui); text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s; }
.header-btn:hover { background: var(--accent); color: #fff; text-decoration: none; }
.header-btn .icon { width: 16px; height: 16px; }
.nav-toggle, .mobile-nav-head, .mobile-contacts { display: none; }
.nav-open .masthead { z-index: 160; }
.nav-overlay { position: fixed; inset: 0; z-index: 140; background: rgba(17, 17, 17, .5); }
.nav-overlay[hidden] { display: none; }

/* ---------- page title bar ---------- */
.page-title { background: var(--accent); }
.page-title-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 110px; padding-top: 30px; padding-bottom: 30px; }
.page-title h1 { margin: 0; color: #fff; font: 400 40px/50px var(--font-head); text-transform: uppercase; }
.page-title h1 span { font: inherit; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; margin: 10px 0; padding: 2px 10px; list-style: none; background: rgba(255, 255, 255, .2); color: #fff; font: 400 13px/23px var(--font-body); }
.breadcrumbs li + li::before { content: '/'; margin: 0 6px; opacity: .8; }
.breadcrumbs a { color: #fff; }

/* ---------- main and sections ---------- */
.site-main { display: block; padding: 80px 0; }
.home .site-main, .page-template-home .site-main { padding: 0; }
.page-home .site-main, .page-services .site-main, .page-contact .site-main { padding-top: 0; padding-bottom: 0; }
.section { padding: 80px 0 50px; }
.section--muted { background: var(--muted-bg); }
.section-head { margin-bottom: 60px; padding-top: 35px; text-align: center; }
.section-title { margin: 0 0 15px; color: var(--accent); font: 400 40px/50px var(--font-head); }
.title-line { display: block; width: 150px; height: 3px; margin: 0 auto; background: var(--accent); }
.section-sub { margin: 40px auto 0; max-width: 790px; color: var(--text); font: 400 22px/34px var(--font-body); }
.block-title { margin: 0 0 20px; color: var(--title); font: 400 24px/34px var(--font-head); }
.text-block h2 { font-size: 32px; line-height: 42px; }
.text-block ul, .text-block ol { margin-left: 20px; }
.text-block li { margin-bottom: 0; }
.text-block img.aligncenter, .text-block .aligncenter { display: block; margin: 10px auto; }
.text-block img.alignleft { float: left; margin: 5px 20px 10px 0; }
.text-block img.alignright { float: right; margin: 5px 0 10px 20px; }
.text-block::after { content: ''; display: table; clear: both; }
.text-block iframe { display: block; width: 100%; max-width: 800px; aspect-ratio: 16 / 10; height: auto; margin: 10px 0; }
.cols { display: grid; gap: 30px 30px; }
.cols-2 { grid-template-columns: 1fr 1fr; }
.cols-middle { align-items: center; }
.cols-4-8 { grid-template-columns: 4fr 8fr; gap: 30px 40px; }
.stack-center { display: flex; flex-direction: column; align-items: center; gap: 20px; }

/* home: buttons under the hero */
.section--hero-buttons { margin-top: 10px; padding: 0 0 10px; }
.section--hero-buttons .btn { width: 225px; }
/* home: about */
.section--about { padding: 20px 0 50px; }
.section--about .section-head { margin-bottom: 61px; padding-top: 0; }
.section--about .cols { gap: 30px; }
.section--about .col { padding-bottom: 50px; }
.text-block--tight p { line-height: 26px; }
.framed-image { display: block; padding: 2px; border: 2px solid #29a8e0; box-shadow: inset 0 0 0 2px #fff; background: #fff; line-height: 0; }
.framed-image img { width: 100%; height: auto; aspect-ratio: 1000 / 600; object-fit: cover; }
/* home: why choose us */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 30px; }
.feature { display: grid; grid-template-columns: 50px 1fr; column-gap: 15px; align-items: center; align-content: start; padding-bottom: 60px; }
.feature-icon { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; background: var(--accent); color: #fff; }
.feature-icon .icon { width: 24px; height: 24px; }
.feature h3 { margin: 0; }
.feature p { grid-column: 1 / -1; margin: 10px 0 0; }
.section--why { padding: 80px 0 0; }
.section--why .features { padding-bottom: 50px; }
/* bands: full-width colored rows */
.band { position: relative; color: #fff; }
.band--purple { background: rgba(155, 81, 224, .72); }
.band--blue { background: rgba(6, 147, 227, .78); }
.band--call { padding: 40px 0; }
.band--call .cols { gap: 30px; }
.call-title { align-self: start; margin: 10px 0 0; color: rgba(255, 255, 255, .5); font: 400 32px/42px var(--font-head); text-align: right; }
.call-phone { align-self: start; display: flex; align-items: center; gap: 15px; margin: 35px 0 0; color: #fff; font: 400 48px/58px var(--font-head); }
.call-icon { display: flex; width: 60px; height: 60px; align-items: center; justify-content: center; }
.call-icon .icon { width: 46px; height: 46px; color: #fff; }
.band--split { display: grid; grid-template-columns: 1fr 1fr; }
.band-media { min-height: 300px; background: center / cover no-repeat; }
.band-media--about-img { background-image: url('/wp-content/uploads/2025/06/about-img.jpg'); }
.band-media--kid { background-image: url('/wp-content/uploads/2025/06/kid.jpg'); }
.band-body { display: flex; flex-direction: column; justify-content: center; padding: 85px 20px 90px; }
.band-body > * { width: 100%; max-width: 442px; margin-left: auto; margin-right: auto; }
.band .section-title { color: #fff; }
.band-text p { color: #fff; text-align: center; }
.band-action { margin: 0 auto; text-align: center; }
.band-text + .band-action { margin-top: 45px; }
#appointment .section-head { padding-top: 0; margin-bottom: 38px; }
.band .btn-l { min-width: 300px; }
.band--contact-now { background: rgba(6, 147, 227, .78); }
.band--contact-now .section-head { margin-bottom: 40px; padding-top: 0; }
.band--contact-now .section-title { display: inline-block; margin: 0; color: var(--accent); font: 700 24px/34px var(--font-head); }
.band--contact-now .title-line { width: 150px; height: 2px; }
.section-sub--big { margin-top: 30px; color: #fff; font: 400 42px/52px var(--font-body); }
.band--contact-now .band-media { min-height: 498px; }
.band--appointment { background: rgba(155, 81, 224, .79); }
.band--appointment .band-media { min-height: 450px; }
.band--appointment .title-line { background: #fff; height: 5px; }
#appointment .band-body { padding: 80px 20px 90px; }
#appointment .band-text p { color: #fff; }
/* home: services grid */
.section--services { padding: 80px 0 50px; }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 85px 30px; margin-top: 95px; }
.section-head + .services-grid { margin-top: 0; }
.section--services .section-head { margin-bottom: 95px; }
.service { display: grid; grid-template-columns: 175px 1fr; gap: 30px; align-items: start; }
.service-image { display: block; overflow: hidden; border-radius: 50%; line-height: 0; }
.service-image img { width: 175px; height: 175px; object-fit: cover; transition: transform .4s; }
.service-image:hover img { transform: scale(1.06); }
.service h2 { margin: 0 0 10px; color: var(--title); font: 400 24px/34px var(--font-head); }
.service p { margin: 0 0 20px; }
/* home: expertise */
.section--expertise { padding: 80px 0 145px; }
.section--expertise .section-head { margin-bottom: 95px; }
.doctor-photo { margin: 0; position: relative; padding: 0 30px 30px 0; }
.doctor-photo img { position: relative; z-index: 1; width: 100%; max-width: 293px; }
.text-block--doctor h2 { margin: 0 0 10px; color: var(--accent); font: 400 32px/42px var(--font-head); }
/* home: testimonials */
.section--testimonials { padding: 80px 0; }
.section--testimonials .section-head { margin-bottom: 110px; }
.center-action { margin: 140px 0 0; text-align: center; }
/* contact info blocks */
.section--contact-info { padding: 80px 0 40px; }
.section--contact-info .section-head { margin-bottom: 95px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; grid-auto-flow: column; gap: 0 30px; align-content: start; }
.info-item { display: grid; grid-template-columns: 32px 1fr; column-gap: 10px; align-items: center; align-content: start; padding-bottom: 40px; }
.info-icon { width: 32px; height: 32px; color: var(--accent); }
.info-icon .icon { width: 32px; height: 32px; }
.info-item h3 { margin: 0; }
.info-item p { grid-column: 1 / -1; margin: 10px 0 0; }
.map-embed iframe { display: block; width: 100%; height: 450px; }

/* ---------- reviews row (Trustindex snapshot) ---------- */
.reviews { position: relative; padding: 0 36px; }
.reviews-track { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.reviews-track::-webkit-scrollbar { display: none; }
.review { position: relative; scroll-snap-align: start; padding: 15px; background: #fff; color: #000; font: 400 14px/19.6px var(--font-body); }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.review-avatar { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--avatar, #0f9d8a); color: #fff; font: 500 20px/1 var(--font-body); flex: none; }
.review-who { display: flex; flex-direction: column; min-width: 0; }
.review-name { font-weight: 600; font-size: 14px; line-height: 18px; color: #000; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.review-date { color: #6a6a6a; font-size: 12px; line-height: 16px; }
.review-platform { margin-left: auto; align-self: flex-start; }
.review-platform .icon { width: 20px; height: 20px; }
.review-stars { display: flex; align-items: center; gap: 1px; margin: 0 0 10px; color: #f6bb06; }
.review-stars .icon-star { width: 17px; height: 17px; }
.review-verified { display: inline-flex; margin-left: 5px; color: #1a73e8; }
.review-verified .icon { width: 15px; height: 15px; }
.review-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.review-text p { margin: 0; }
.review.is-open .review-text { display: block; -webkit-line-clamp: unset; }
.review-more { margin-top: 6px; padding: 0; border: 0; background: none; color: #6a6a6a; font: 400 13px/18px var(--font-body); cursor: pointer; }
.review-more:hover { text-decoration: underline; }
.reviews-arrow { position: absolute; top: 50%; z-index: 2; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-top: -15px; padding: 0; border: 0; background: none; color: #444; cursor: pointer; }
.reviews-arrow .icon { width: 18px; height: 18px; }
.reviews-arrow--prev { left: 0; }
.reviews-arrow--next { right: 0; }
.reviews-arrow[hidden] { display: none; }

/* ---------- hero (Slider Revolution slide rebuilt; grid 1500 x 600, phones 900 x 700) ---------- */
.hero { position: relative; overflow: hidden; background: #fff; container-type: inline-size; }
.hero-slide { display: none; }
.hero-slide.is-active { display: block; animation: hero-in .8s ease both; }
@keyframes hero-in { from { opacity: 0; } to { opacity: 1; } }
.hero-stage { --u: calc(100cqw / 1500); position: relative; height: calc(600 * var(--u)); }
.hero-bg { position: absolute; left: 50%; top: 0; width: auto; max-width: none; height: 100%; transform: translateX(-50%); object-fit: contain; }
.hero-wash { position: absolute; inset: 0; background: rgba(255, 255, 255, .4); z-index: 1; }
.hero-photo { position: absolute; z-index: 2; left: calc(50% + var(--x) * var(--u) - var(--s) * var(--u) / 2); top: calc(50% + var(--y) * var(--u) - var(--s) * var(--u) / 2); width: calc(var(--s) * var(--u)); height: calc(var(--s) * var(--u)); background: center / cover no-repeat; transform: rotate(var(--r)); }
.hero-photo--r1 { --x: 705; --y: -109; --s: 300; --r: 10deg; z-index: 3; }
.hero-photo--r2 { --x: 663; --y: 102; --s: 200; --r: 10deg; z-index: 4; }
.hero-photo--r3 { --x: 719; --y: 250; --s: 110; --r: 10deg; z-index: 2; }
.hero-photo--l1 { --x: -727; --y: -89; --s: 300; --r: -10deg; z-index: 5; }
.hero-photo--l2 { --x: -707; --y: 66; --s: 200; --r: -10deg; z-index: 6; }
.hero-photo--l3 { --x: -704; --y: 208; --s: 134; --r: -10deg; z-index: 7; }
.hero-logo { position: absolute; z-index: 9; left: calc(633 * var(--u)); top: calc(14 * var(--u)); width: calc(279 * var(--u)); height: calc(186 * var(--u)); object-fit: cover; }
.hero-title { position: absolute; z-index: 9; left: calc(50% + 19 * var(--u) - 332.5 * var(--u)); top: calc(50% - 53 * var(--u)); width: calc(665 * var(--u)); margin: 0; transform: translateY(-50%); color: #6488b7; font: 400 calc(46 * var(--u)) / 1.2 'Fira Sans Extra Condensed', var(--font-head); letter-spacing: calc(-1 * var(--u)); text-align: center; white-space: nowrap; }
.hero-stats { position: absolute; inset: 0; z-index: 8; margin: 0; padding: 0; list-style: none; }
.hero-stat { position: absolute; left: calc(50% + var(--x) * var(--u) - 145 * var(--u)); top: calc(50% + var(--y) * var(--u) - 70 * var(--u)); width: calc(290 * var(--u)); height: calc(140 * var(--u)); color: #2f3b51; }
.hero-stat:nth-child(1) { --x: -245; --y: 46; }
.hero-stat:nth-child(2) { --x: 50; --y: 47; }
.hero-stat:nth-child(3) { --x: 346; --y: 48; }
.hero-stat-icon { position: absolute; left: calc(1 * var(--u)); top: calc(15 * var(--u)); display: flex; align-items: center; justify-content: center; width: calc(80 * var(--u)); height: calc(110 * var(--u)); border-radius: 0 calc(40 * var(--u)) 0 calc(40 * var(--u)); }
.hero-stat--pink .hero-stat-icon { background: var(--accent); }
.hero-stat--blue .hero-stat-icon { background: var(--blue); }
.hero-stat--purple .hero-stat-icon { background: var(--purple); }
.hero-stat-icon img { width: calc(48 * var(--u)); height: calc(48 * var(--u)); }
.hero-stat-value { position: absolute; left: calc(105 * var(--u)); top: calc(70 * var(--u) - 26 * var(--u)); transform: translateY(-50%); font: 500 calc(60 * var(--u)) / 1 var(--font-ui); white-space: nowrap; }
.hero-stat-label { position: absolute; left: calc(105 * var(--u)); top: calc(70 * var(--u) + 33 * var(--u)); width: calc(180 * var(--u)); transform: translateY(-50%); font: 500 calc(20 * var(--u)) / 1.2 var(--font-ui); text-transform: uppercase; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 10; display: flex; justify-content: center; gap: 8px; }
.hero-dots[hidden] { display: none; }
.hero-dot { width: 12px; height: 12px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: rgba(0, 0, 0, .25); cursor: pointer; }
.hero-dot.is-active { background: var(--accent); }
@media (prefers-reduced-motion: reduce) { .hero-slide.is-active { animation: none; } }

/* ---------- service pages ---------- */
.section--about-service { padding: 80px 0 20px; }
.section--about-service .wrap { padding-bottom: 50px; }
.section--about-service .text-block { padding-bottom: 20px; }
.section--faq { padding: 80px 0 40px; }
.section--faq .section-head { margin-bottom: 70px; }
.faq { margin: 0 25px 50px; padding: 40px 50px; background: var(--muted-bg); }
.faq details + details { border-top: 1px solid var(--divider); }
.faq summary { position: relative; padding: 9px 30px 8px 0; color: var(--title); font: 400 18px/28px var(--font-head); list-style: none; cursor: pointer; }
.faq details:first-child summary { padding-top: 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: rgba(57, 70, 93, .1) url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 14 14%27%3E%3Cpath d=%27M4 5.5l3 3 3-3%27 fill=%27none%27 stroke=%27%2339465d%27 stroke-width=%271.6%27/%3E%3C/svg%3E") center / 14px 14px no-repeat; }
.faq details:first-child summary::after { margin-top: -11px; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq summary:hover { color: var(--accent); }
.faq-answer { padding: 10px 0 5px; }

/* contact page */
.section--contact-top { padding: 80px 0 40px; }
.section--contact-main { padding: 0 0 80px; }
.section--contact-main .section-head { margin-bottom: 60px; padding-top: 0; }
.section--contact-main .section-title { display: inline-block; margin-bottom: 10px; font-size: 30px; line-height: 40px; }

/* services page */
.section--services-page { padding: 45px 0 50px; }
.section--services-page .section-head { margin-bottom: 60px; }

/* privacy and other text pages */
.section--text { padding: 0; }

/* ---------- blog list, category grid, single post ---------- */
.post-list { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 50px; }
.post-card { padding: 25px 0 10px; }
.post-card .entry-title { margin: 0 0 10px; font: 400 32px/42px var(--font-head); }
.entry-title a { color: var(--title); text-decoration: none; }
.entry-title a:hover { color: var(--accent); }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; margin: 0 0 15px; color: var(--text); font: 400 12px/24px var(--font-body); }
.entry-meta > * + *::before { content: ''; display: inline-block; width: 3px; height: 3px; margin: 0 7px; border-radius: 50%; background: currentColor; vertical-align: middle; opacity: .7; }
.entry-meta .category-link a { color: var(--accent); }
.entry-excerpt { margin-bottom: 10px; }
.post-details .icon { width: 8px; height: 8px; margin: 0 2px 0 -1px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.grid-card { background: var(--muted-bg); }
.grid-thumb { display: block; aspect-ratio: 650 / 455; overflow: hidden; line-height: 0; background: #e8e8e8; }
.grid-thumb img { width: 100%; height: 100%; object-fit: cover; }
.noimage { display: block; width: 100%; height: 100%; background: linear-gradient(160deg, #e9e9e9 0%, #e9e9e9 55%, #dedede 55.2%, #e4e4e4 100%); }
.grid-card-body { padding: 15px 25px 25px; }
.grid-card .entry-title { margin: 0; padding-top: 10px; font: 400 20px/30px var(--font-head); }
.grid-card .entry-meta { padding-top: 10px; margin-bottom: 15px; }
.grid-card .entry-meta .category-link a { color: var(--text); }
.single-post .entry-content { margin-bottom: 50px; }
.post-meta { margin-bottom: 55px; text-align: center; }
.post-meta .entry-meta { justify-content: center; margin: 0; }
.post-meta .entry-meta .category-link a { color: var(--text); }
.entry-tags { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; padding-top: 10px; font: 400 12px/24px var(--font-body); }
.tag { display: block; margin: 2px; padding: 1px 6px; border: 1px solid var(--divider); font: 400 10px/15px Arial, Verdana, sans-serif; }
.share-box { margin: -5px 0 60px; text-align: center; }
.share-title { margin-bottom: 10px; color: var(--title); font: 700 14px/26px var(--font-body); }
.share-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; }
.share { display: flex; align-items: center; justify-content: center; width: 50px; height: 30px; border: 1px solid rgba(76, 105, 199, .3); }
.share .icon { width: 16px; height: 16px; }
.share .social-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.share--facebook { color: #3b5998; }
.share--x { color: #000; }
.share--pinterest { color: #cb2027; }
.share--whatsapp { color: #25d366; }
.share--linkedin { color: #0077b5; }
.share:hover { background: var(--muted-bg); }
.post-navigation { margin-bottom: 50px; padding: 25px 0; border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.nav-links { display: flex; justify-content: space-between; gap: 30px; }
.nav-links a { position: relative; display: block; max-width: 48%; text-decoration: none; }
.nav-previous { padding-left: 40px; }
.nav-next { margin-left: auto; padding-right: 40px; text-align: right; }
.nav-links .icon { position: absolute; top: 50%; width: 22px; height: 22px; margin-top: -11px; color: #c9ced6; }
.nav-previous .icon { left: 0; }
.nav-next .icon { right: 0; }
.meta-nav { display: block; margin-bottom: 5px; color: var(--text); font: 400 12px/24px var(--font-body); text-transform: uppercase; }
.post-title { display: block; color: var(--title); font: 400 20px/30px var(--font-head); }
.nav-links a:hover .post-title { color: var(--accent); }
.related-posts h3 { margin: 0 0 30px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 50px; margin: 0; padding: 0 0 35px; list-style: none; }
.related-item { padding-bottom: 25px; }
.related-item a { color: var(--title); }
.related-item a:hover { color: var(--accent); }
.related-item time { display: block; margin-top: 5px; color: rgba(106, 121, 144, .5); font: 400 12px/24px var(--font-body); }

/* 404 */
.not-found { padding-top: 0; }
.not-found h1 { color: var(--title); }
.not-found-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; }

/* ---------- footer ---------- */
.site-footer { background: var(--green); color: #fff; }
.footer-widgets { padding: 60px 0 25px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 50px; }
.footer-col { padding-bottom: 35px; }
.footer-title { margin: 0 0 10px; color: var(--accent); font: 400 42px/52px var(--font-head); }
.footer-col p { margin: 0; color: #fff; font: 400 14px/26px var(--font-body); }
.contact-info { margin: 0; padding: 0; list-style: none; font: 400 14px/26px var(--font-body); }
.contact-info li { margin-bottom: 15px; }
.contact-info .label { color: var(--accent); }
.pill-btn { display: inline-block; padding: 12.67px 23.33px; border-radius: 9999px; background: var(--accent); color: #fff; font: 600 16px/18px var(--font-ui); text-decoration: none; }
.pill-btn:hover { background: #c70f4e; text-decoration: none; }
.bottom-bar { border-top: 1px solid rgba(255, 255, 255, .15); }
.bottom-bar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding-top: 10px; padding-bottom: 10px; font: 400 12px/24px var(--font-body); }
.bottom-bar a { color: #fff; }
.bottom-text { margin: 0; }
.bottom-text .accent { color: var(--accent); }

/* ---------- Go to Top (The7 scroll-top: appears after scrolling) ---------- */
.scroll-top { position: fixed; right: 10px; bottom: 10px; z-index: 101; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(0, 0, 0, .2); color: #fff; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s, background-color .2s; }
.scroll-top.is-visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--accent); }
.scroll-top .icon { width: 20px; height: 20px; }
@media (max-width: 767px) { .scroll-top { bottom: 80px; right: 27px; } }

/* ---------- Call Now Button (phones only) ---------- */
.call-now-button { display: none; }
@media (max-width: 767px) {
  .call-now-button { position: fixed; right: 20px; bottom: 15px; z-index: 2147483000; display: flex; align-items: center; justify-content: center; width: 55px; height: 55px; border-radius: 50%; background: #00d084; color: #fff; box-shadow: 0 3px 6px rgba(0, 0, 0, .3); text-decoration: none; }
  .call-now-button .icon { width: 28px; height: 28px; color: #fff; }
  .call-now-button span { position: absolute; right: 68px; top: 50%; transform: translateY(-50%); padding: 6px 8px; border-radius: 2px; background: rgba(70, 70, 70, .9); box-shadow: 0 1px 2px rgba(0, 0, 0, .15); color: #ececec; font: 700 13px/13px helvetica, arial, sans-serif; white-space: nowrap; }
  .call-now-button:hover { text-decoration: none; }
}

/* ---------- The7 first switch: mobile header ---------- */
@media (max-width: 1100px) {
  .header-bar { height: 70px; }
  .branding img { width: 90px; height: 60px; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; width: 36px; height: 35px; margin-left: 15px; padding: 0; border: 0; background: var(--accent); cursor: pointer; }
  .burger { position: relative; display: block; width: 24px; height: 17px; }
  .burger span { position: absolute; left: 0; width: 24px; height: 3px; background: #fff; }
  .burger span:nth-child(1) { top: 0; }
  .burger span:nth-child(2) { top: 7px; }
  .burger span:nth-child(3) { top: 14px; }
  .main-nav { position: fixed; top: 0; right: 0; bottom: 0; z-index: 150; display: none; width: 300px; max-width: 85vw; padding: 45px 15px 30px 30px; overflow-y: auto; background: #fff; }
  .nav-open .main-nav { display: block; animation: nav-in .3s ease both; }
  @keyframes nav-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
  .mobile-nav-head { display: block; position: absolute; top: 8px; right: 8px; }
  .nav-close { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; border: 0; background: var(--accent); color: #fff; cursor: pointer; }
  .nav-close .icon { width: 18px; height: 18px; }
  .main-nav .menu { display: block; }
  .main-nav .menu > .menu-item { border-bottom: 1px solid rgba(54, 65, 82, .12); }
  .main-nav .menu > .menu-item > a { margin: 0; padding: 17px 30px 17px 0; }
  .main-nav .menu > .menu-item > a .menu-text::after { display: none; }
  .sub-toggle { position: absolute; right: 0; top: 14px; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 0; background: none; color: var(--menu); cursor: pointer; }
  .sub-toggle .icon { width: 16px; height: 16px; transition: transform .2s; }
  .is-open > .sub-toggle .icon { transform: rotate(180deg); }
  .sub-menu { position: static; display: none; width: auto; padding: 0 0 12px; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .has-children:hover > .sub-menu { display: none; }
  .has-children.is-open > .sub-menu { display: block; }
  .sub-menu a { padding: 8px 0; }
  .sub-menu a:hover { background: none; }
}

/* ---------- tablets ---------- */
@media (max-width: 991px) {
  .features { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .reviews-track { grid-auto-columns: calc((100% - 20px) / 2); }
  .post-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- The7 second switch: phones ---------- */
@media (max-width: 778px) {
  :root { --gutter: 20px; }
  .top-bar { display: none; }
  .header-btn { display: none; }
  .mobile-contacts { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 25px; }
  .mobile-contacts .mini-contact { margin: 0; color: var(--text); }
  .page-title-inner { flex-direction: column; align-items: center; justify-content: center; gap: 0; min-height: 100px; padding-top: 30px; padding-bottom: 30px; text-align: center; }
  .page-title h1 { font-size: 32px; line-height: 42px; }
  .breadcrumbs ol { justify-content: center; }
  .site-main { padding: 60px 0; }
  .section-title { font-size: 30px; line-height: 40px; }
  .section-sub--big { font-size: 28px; line-height: 38px; }
  .cols-2, .cols-4-8, .info-grid, .features, .footer-cols, .post-list, .post-grid, .related-grid, .band--split { grid-template-columns: 1fr; }
  .band--call .call-title { display: none; }
  .band--call .cols { justify-items: center; }
  .call-phone { font-size: 36px; line-height: 46px; }
  .band-media { min-height: 280px; }
  .band--contact-now .band-media, .band--appointment .band-media { min-height: 300px; }
  .band-body { padding: 60px 20px; }
  .service { grid-template-columns: 1fr; justify-items: start; }
  .faq { margin: 0 0 40px; padding: 25px 20px; }
  .footer-widgets { padding: 60px 0 25px; }
  .footer-title { font-size: 32px; }
  .bottom-bar-inner { flex-direction: column; justify-content: center; text-align: center; }
  .reviews { padding: 0 28px; }
  .reviews-track { grid-auto-columns: 100%; }
  .btn-l, .band .btn-l { min-width: 0; width: 100%; max-width: 300px; }
  .post-card .entry-title { font-size: 26px; line-height: 34px; }
  .nav-links a { max-width: 100%; }
  /* hero: the 900 x 700 grid of the phone layouts */
  .hero-stage { --u: calc(100cqw / 900); height: calc(700 * var(--u)); }
  .hero-bg { left: 0; top: 50%; width: 100%; height: auto; transform: translateY(-50%); }
  .hero-photo, .hero-title { display: none; }
  .hero-logo { left: calc(50% + 1 * var(--u) - 171.5 * var(--u)); top: calc(14 * var(--u)); width: calc(343 * var(--u)); height: calc(229 * var(--u)); }
  .hero-stat:nth-child(1) { --x: -263; --y: 10; }
  .hero-stat:nth-child(2) { --x: 30; --y: 9; }
  .hero-stat:nth-child(3) { --x: 323; --y: 8; }
}

@media (max-width: 1023px) and (min-width: 779px) {
  .hero-title { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
