/* ==========================================================================
   Smilico Dental WordPress Theme
   --------------------------------------------------------------------------
   1. Variables & reset        8. Why choose us        15. FAQ
   2. Typography & helpers     9. Video banner         16. Blog
   3. Buttons & tags          10. Team                 17. Footer
   4. Header & navigation     11. Before / after       18. Inner pages
   5. Hero                    12. Case studies         19. Animations
   6. About                   13. Appointment          20. Responsive
   7. Services                14. Testimonials
   ========================================================================== */

/* 1. Variables & reset ---------------------------------------------------- */
:root {
  --navy: #0b1d51;
  --navy-deep: #071848;
  --blue: #11318f;
  --green: #12b48b;
  --green-dark: #0d9a76;
  --teal: #0f8f8c;
  --text: #4a5578;
  --muted: #7a839e;
  --light: #f6f7f9;
  --border: #e5e8ef;
  --white: #ffffff;
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 20px 50px rgba(11, 29, 81, 0.08);
  --gradient: linear-gradient(115deg, #0a1f5c 0%, #10308c 45%, #0f8f8c 100%);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
ul { list-style: none; margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; }
::selection { background: var(--green); color: #fff; }

/* 2. Typography & helpers ------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5em;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(38px, 5.2vw, 72px); }
h2 { font-size: clamp(30px, 3.6vw, 50px); }
h3 { font-size: 22px; letter-spacing: -0.01em; }
h4 { font-size: 19px; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.text-green { color: var(--green); }
.text-white { color: #fff; }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.section { padding: 110px 0; position: relative; }
.bg-light { background: var(--light); }
.bg-navy { background: var(--navy-deep); }

.section-head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.section-head p { max-width: 640px; margin: 0 auto; }
.section-head-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px 80px;
  align-items: start; margin-bottom: 60px;
}
.section-head-split h2 { margin-bottom: 0; }
.section-head-split p { margin-bottom: 28px; }

.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.divider { height: 1px; background: var(--border); border: 0; margin: 34px 0; }

/* 3. Buttons & tags ------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 17px 32px;
  border: 0; border-radius: 50px;
  background: var(--green); color: #fff;
  font-weight: 700; font-size: 16px; line-height: 1.2;
  cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), transform .3s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--navy); border-radius: inherit;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn i { transition: transform .3s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn-light::before { background: #fff; }
.btn-light:hover { color: var(--navy); }
.btn-outline { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1px var(--border); }
.btn-outline:hover { color: #fff; }

.tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 18px; margin-bottom: 18px;
  border: 1px solid var(--border); border-radius: 50px;
  background: #fff; color: var(--navy);
  font-size: 15px; font-weight: 700;
}
.tag i { color: var(--navy); font-size: 15px; }
.tag-dark { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.12); color: #fff; backdrop-filter: blur(6px); }
.tag-dark i { color: var(--green); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; color: var(--navy);
}
.link-arrow i { transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--green); }
.link-arrow:hover i { transform: translateX(5px); }

.icon-circle {
  width: 60px; height: 60px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--green); color: #fff; font-size: 22px;
}

/* 4. Header & navigation -------------------------------------------------- */
.site-header {
  position: absolute; top: 30px; left: 0; right: 0; z-index: 100;
  transition: transform .4s var(--ease);
}
.site-header > .container { max-width: 1880px; }
.site-header.is-sticky { position: fixed; top: 0; animation: slideDown .5s var(--ease); }
.site-header.is-sticky .nav-wrap { border-radius: 0 0 30px 30px; box-shadow: 0 10px 40px rgba(11,29,81,.12); }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

.nav-wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: #fff; border-radius: 70px;
  padding: 14px 18px 14px 32px;
}
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); font-weight: 800; font-size: 32px; letter-spacing: -0.03em; }
.logo svg { width: 46px; height: 46px; flex: none; }
.logo-light { color: #fff; }

.main-nav > ul { display: flex; align-items: center; gap: 6px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 16px; font-size: 18px; font-weight: 600; color: var(--navy);
}
.main-nav > ul > li > a i { font-size: 12px; transition: transform .3s; }
.main-nav > ul > li:hover > a,
.main-nav > ul > li.active > a { color: var(--green); }
.main-nav > ul > li:hover > a i { transform: rotate(180deg); }

.submenu {
  position: absolute; top: 100%; left: 0; min-width: 240px;
  padding: 14px; background: #fff; border-radius: 18px;
  box-shadow: 0 25px 60px rgba(11,29,81,.15);
  opacity: 0; visibility: hidden; transform: translateY(15px);
  transition: all .35s var(--ease);
}
.main-nav li:hover > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: block; padding: 9px 14px; border-radius: 10px; font-weight: 600; font-size: 16px; color: var(--navy); }
.submenu a:hover, .submenu a.active { background: var(--light); color: var(--green); padding-left: 20px; }

.nav-cta { display: flex; align-items: center; gap: 12px; flex: none; }
.nav-cta .btn { white-space: nowrap; }
.nav-toggle {
  display: none; width: 50px; height: 50px; border: 0; border-radius: 50%;
  background: var(--navy); color: #fff; font-size: 20px; cursor: pointer;
}

/* Mobile drawer */
.mobile-menu {
  position: fixed; inset: 0 0 0 auto; z-index: 200;
  width: min(380px, 88vw); padding: 30px 26px;
  background: var(--navy-deep); color: #fff; overflow-y: auto;
  transform: translateX(100%); visibility: hidden;
  transition: transform .45s var(--ease), visibility 0s linear .45s;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; transition: transform .45s var(--ease), visibility 0s; }
.mobile-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.mobile-menu .logo { font-size: 26px; }
.mobile-menu .logo svg { width: 38px; height: 38px; }
.mobile-close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font-size: 18px; cursor: pointer; }
.mobile-menu nav > ul > li { border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-menu nav a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-weight: 600; font-size: 17px; }
.mobile-menu nav a:hover, .mobile-menu nav .active > a { color: var(--green); }
.mobile-menu .submenu {
  position: static; opacity: 1; visibility: visible; transform: none;
  background: transparent; box-shadow: none; padding: 0 0 10px 14px; min-width: 0;
  display: none;
}
.mobile-menu li.open > .submenu { display: block; }
.mobile-menu .submenu a { color: rgba(255,255,255,.75); padding: 8px 0; font-size: 15px; }
.mobile-menu .submenu a:hover { background: none; padding-left: 0; color: var(--green); }
.mobile-menu .btn { margin-top: 28px; width: 100%; justify-content: center; }
.mobile-contact { margin-top: 30px; font-size: 15px; color: rgba(255,255,255,.7); }
.mobile-contact p { margin: 6px 0; display: flex; gap: 10px; align-items: center; }
.mobile-contact i { color: var(--green); }
.overlay {
  position: fixed; inset: 0; z-index: 150; background: rgba(5,15,45,.6);
  opacity: 0; visibility: hidden; transition: .35s;
}
.overlay.show { opacity: 1; visibility: visible; }

/* 5. Hero ----------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--gradient); color: rgba(255,255,255,.9);
  padding: 170px 0 0;
}
.hero::before { /* soft glow */
  content: ""; position: absolute; width: 700px; height: 700px; left: -200px; top: -250px;
  background: radial-gradient(circle, rgba(255,255,255,.08), transparent 65%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: stretch; position: relative; }
.hero-content { padding-bottom: 100px; }
.hero h1 { color: #fff; margin-bottom: 26px; }
.hero h1 .hl { color: var(--green); }
.hero-content > p { font-size: 19px; max-width: 600px; margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; }
.play-link { display: inline-flex; align-items: center; gap: 22px; color: #fff; font-weight: 700; font-size: 18px; text-decoration: underline; text-underline-offset: 4px; background: none; border: 0; cursor: pointer; padding: 0; }
.play-btn {
  width: 76px; height: 76px; flex: none; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.1);
  color: #fff; font-size: 22px; position: relative;
}
.play-btn::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35); animation: pulse 2s infinite;
}
@keyframes pulse { from { transform: scale(1); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.hero-note { display: flex; align-items: center; gap: 22px; margin-top: 60px; padding-top: 60px; border-top: 1px solid rgba(255,255,255,.12); font-size: 19px; font-weight: 600; color: #fff; }
.hero-note div span { color: var(--green); font-weight: 500; }

.hero-visual { position: relative; align-self: stretch; display: flex; justify-content: center; align-items: flex-end; min-height: 560px; }
.hero-visual .rings { position: absolute; left: 50%; bottom: -12%; width: 120%; aspect-ratio: 1; pointer-events: none;
  transform: translate(calc(-50% + var(--px, 0) * 30px), calc(var(--py, 0) * 30px)); transition: transform .6s var(--ease); }
.hero-visual .rings span { position: absolute; inset: 0; margin: auto; border-radius: 50%; background: rgba(255,255,255,.045); }
.hero-visual .rings span:nth-child(2) { inset: 9%; }
.hero-visual .rings span:nth-child(3) { inset: 18%; }
.hero-photo {
  position: relative; width: min(540px, 100%); height: 100%;
  border-radius: 280px 280px 0 0; overflow: hidden;
  transform: translate(calc(var(--px, 0) * -12px), 0); transition: transform .6s var(--ease);
  animation: photoIn 1.2s var(--ease) both .2s;
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.05));
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-badge {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px; border-radius: 18px;
  background: #fff; color: var(--navy); box-shadow: var(--shadow);
  font-size: 14px; line-height: 1.35; animation: float 5s ease-in-out infinite;
}
.hero-badge strong { display: block; font-size: 22px; letter-spacing: -0.02em; }
.hero-badge .icon-circle { width: 48px; height: 48px; font-size: 18px; }
.hero-badge.b1 { left: 0; top: 18%; }
.hero-badge.b2 { right: 0; bottom: 18%; animation-delay: -2.5s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* 6. About ---------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 600px; }
.about-image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-quote-card {
  position: absolute; left: 24px; bottom: 24px; width: min(360px, calc(100% - 48px));
  background: #fff; border-radius: 20px; padding: 40px 36px 34px;
}
.about-quote-card::before {
  content: "\201C"; position: absolute; top: -14px; left: 30px;
  font-size: 160px; line-height: 1; font-family: Georgia, serif; color: #eef0f4;
}
.about-quote-card p { position: relative; font-size: 21px; font-weight: 700; color: var(--navy); line-height: 1.5; }
.about-quote-card a { position: relative; font-weight: 700; color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.about-quote-card a:hover { color: var(--green); }

.quote-box {
  margin: 30px 0; padding: 24px 32px;
  border-left: 3px solid var(--green); border-radius: 14px;
  background: linear-gradient(90deg, var(--light), transparent);
  color: var(--navy); font-size: 18px;
}
.feature-inline { display: flex; gap: 22px; align-items: flex-start; }
.feature-inline .ico { font-size: 40px; color: var(--navy); line-height: 1; }
.feature-inline h4 { margin-bottom: 4px; }
.feature-inline p { margin: 0; }
.about-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 46px; }
.avatars { display: flex; align-items: center; gap: 16px; }
.avatars .stack { display: flex; }
.avatars .stack img { width: 56px; height: 56px; border-radius: 50%; border: 3px solid #fff; object-fit: cover; margin-left: -16px; }
.avatars .stack img:first-child { margin-left: 0; }
.avatars h4 { margin: 0; }
.avatars p { margin: 0; font-size: 15px; }

/* Counters */
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.counter { text-align: center; padding: 34px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); }
.counter .num { display: block; font-size: 50px; font-weight: 800; color: var(--navy); line-height: 1.1; letter-spacing: -0.03em; }
.counter .num em { font-style: normal; color: var(--green); }
.counter p { margin: 8px 0 0; font-weight: 600; }

/* 7. Services ------------------------------------------------------------- */
.service-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  min-height: 540px; padding: 50px 48px 48px;
  background: #fff; border-radius: var(--radius);
  transition: color .45s var(--ease);
}
.service-card .bg {
  position: absolute; inset: 0; z-index: -1;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.1);
  transition: opacity .5s var(--ease), transform .8s var(--ease);
}
.service-card .bg::after { content: ""; position: absolute; inset: 0; background: rgba(13, 38, 110, .78); }
.service-card .ico { font-size: 58px; color: var(--navy); line-height: 1; margin-bottom: 40px; transition: color .4s; }
.service-card .ico .fa-tooth, .service-card .ico .accent { color: var(--green); }
.service-card h3 { transition: color .4s; }
.service-card p { margin-top: auto; }
.service-card .card-foot { padding-top: 30px; margin-top: 10px; border-top: 1px solid var(--border); transition: border-color .4s; }
.service-card .link-arrow { transition: color .4s; }
.service-card:hover .bg, .service-card.active .bg { opacity: 1; transform: scale(1); }
.service-card:hover, .service-card.active { color: rgba(255,255,255,.88); }
.service-card:hover :is(h3, .ico, .link-arrow), .service-card.active :is(h3, .ico, .link-arrow) { color: #fff; }
.service-card:hover .card-foot, .service-card.active .card-foot { border-color: rgba(255,255,255,.18); }
.grid-3:hover .service-card.active:not(:hover) .bg { opacity: 0; }
.grid-3:hover .service-card.active:not(:hover) { color: var(--text); }
.grid-3:hover .service-card.active:not(:hover) :is(h3, .ico, .link-arrow) { color: var(--navy); }
.grid-3:hover .service-card.active:not(:hover) .card-foot { border-color: var(--border); }

/* Process steps */
.step { position: relative; padding: 40px 34px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); transition: transform .4s var(--ease), box-shadow .4s; }
.step:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.step .no { position: absolute; top: 26px; right: 30px; font-size: 54px; font-weight: 800; color: var(--light); line-height: 1; }
.step .icon-circle { margin-bottom: 26px; }
.step p { margin: 0; }

/* 8. Why choose us -------------------------------------------------------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.why-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin: 46px 0 50px; }
.why-card { padding: 38px 36px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; transition: box-shadow .4s, transform .4s var(--ease); }
.why-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.why-card .ico { font-size: 50px; color: var(--navy); margin-bottom: 60px; line-height: 1; }
.why-card .ico .accent { color: var(--green); }
.why-card p { margin: 0; }
.why-visual { position: relative; padding-top: 70px; }
.why-visual .panel { position: relative; border-radius: var(--radius); background: var(--gradient); overflow: hidden; aspect-ratio: 1 / 0.95; }
.why-visual .panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.why-visual .exp {
  position: absolute; left: -30px; bottom: 50px; z-index: 2;
  background: var(--green); color: #fff; padding: 26px 30px; border-radius: 20px; box-shadow: var(--shadow);
}
.why-visual .exp strong { display: block; font-size: 46px; line-height: 1; font-weight: 800; }
.why-visual .exp span { font-weight: 600; font-size: 15px; }

/* 9. Video banner --------------------------------------------------------- */
.video-banner {
  position: relative; padding: 150px 0 140px; text-align: center; color: #fff;
  background-size: cover; background-position: center; background-attachment: fixed;
}
.video-banner::before { content: ""; position: absolute; inset: 0; background: rgba(14, 38, 112, .78); }
.video-banner .container { position: relative; }
.video-banner h2 { color: #fff; max-width: 1000px; margin: 40px auto 0; font-size: clamp(32px, 4.2vw, 60px); }
.circle-play {
  position: relative; width: 180px; height: 180px; margin: 0 auto;
  border-radius: 50%; background: var(--green); display: grid; place-items: center;
  border: 0; cursor: pointer; color: #fff;
}
.circle-play svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; }
.circle-play text { fill: #fff; font-size: 13px; font-weight: 700; letter-spacing: 3px; font-family: var(--font); }
.circle-play i { font-size: 34px; transition: transform .3s; }
.circle-play:hover i { transform: scale(1.15); }
@keyframes spin { to { transform: rotate(360deg); } }
.feature-strip { background: var(--navy-deep); padding: 34px 0; }
.feature-strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 70px; }
.feature-strip li { display: flex; align-items: center; gap: 16px; color: #fff; font-weight: 700; font-size: 20px; }
.feature-strip li i { font-size: 32px; color: var(--green); }

/* 10. Team ---------------------------------------------------------------- */
.team-card { padding: 12px 12px 32px; border-radius: var(--radius); background: var(--light); transition: transform .4s var(--ease), box-shadow .4s; }
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.team-photo { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 1 / 0.95; margin-bottom: 30px; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.07); }
.team-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(11, 29, 81, .65));
  opacity: 0; transition: opacity .45s var(--ease);
}
.team-card:hover .team-photo::after, .team-card:focus-within .team-photo::after { opacity: 1; }
.team-social {
  position: absolute; left: 0; right: 0; bottom: 28px; z-index: 2;
  display: flex; justify-content: center; gap: 14px;
}
.team-social a {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .22); color: #fff; font-size: 20px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(24px); transition: opacity .4s var(--ease), transform .4s var(--ease), background .3s;
}
.team-social a:hover { background: var(--green); }
.team-card:hover .team-social a, .team-card:focus-within .team-social a { opacity: 1; transform: none; }
.team-card:hover .team-social a:nth-child(2) { transition-delay: .06s, .06s, 0s; }
.team-card:hover .team-social a:nth-child(3) { transition-delay: .12s, .12s, 0s; }
.team-card:hover .team-social a:nth-child(4) { transition-delay: .18s, .18s, 0s; }
@media (hover: none) { .team-photo::after { opacity: 1; } .team-social a { opacity: 1; transform: none; width: 46px; height: 46px; font-size: 17px; } }
.team-card h3 { margin: 0 24px 4px; }
.team-card p { margin: 0 24px; }

/* 11. Before / after ------------------------------------------------------ */
.ba-item h3 { text-align: center; margin-top: 30px; }
.ba-slider {
  --pos: 50%;
  position: relative; aspect-ratio: 1.1 / 1; border-radius: var(--radius); overflow: hidden;
  user-select: none; touch-action: pan-y; cursor: ew-resize;
}
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; pointer-events: none; }
.ba-slider .before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-slider .before.tinted { filter: sepia(.75) saturate(1.4) hue-rotate(-12deg) brightness(.92); }
.ba-slider .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); }
.ba-slider .handle::after {
  content: "\2039\00a0\203A"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 50px; height: 50px; border-radius: 50%; border: 2px solid #fff;
  display: grid; place-items: center; color: #fff; font-size: 20px; font-weight: 700;
  background: rgba(255,255,255,.18); backdrop-filter: blur(4px);
}
.ba-slider .lbl { position: absolute; top: 18px; padding: 4px 14px; border-radius: 30px; background: rgba(11,29,81,.7); color: #fff; font-size: 13px; font-weight: 700; }
.ba-slider .lbl.l { left: 18px; } .ba-slider .lbl.r { right: 18px; }

/* 12. Case studies -------------------------------------------------------- */
.case-card .case-photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1.05; }
.case-card .case-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.case-card:hover .case-photo img { transform: scale(1.07); }
.case-card .case-photo .arrow {
  position: absolute; top: 34px; right: 34px; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: var(--green); color: #fff; font-size: 20px;
  opacity: 0; transform: scale(.4) rotate(-45deg); transition: .4s var(--ease);
}
.case-card:hover .case-photo .arrow { opacity: 1; transform: scale(1) rotate(0); }
.case-card .cat { display: flex; align-items: center; gap: 10px; margin: 26px 0 6px; color: var(--navy); font-size: 19px; }
.case-card h3 { margin: 0; transition: color .3s; }
.case-card:hover h3 { color: var(--green); }

/* 13. Appointment ---------------------------------------------------------- */
.appointment { position: relative; padding: 120px 0; background-size: cover; background-position: left center; }
.appointment::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 30%, rgba(11,29,81,.25)); }
.appointment .container { position: relative; display: flex; justify-content: flex-end; }
.form-card { width: min(780px, 100%); background: #fff; border-radius: 30px; padding: 56px 48px 50px; box-shadow: var(--shadow); }
.form-card h2 { padding-bottom: 32px; margin-bottom: 36px; border-bottom: 1px solid var(--border); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 36px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 10px; color: var(--navy); font-weight: 700; font-size: 17px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 16px 24px; border: 1px solid var(--border); border-radius: 14px;
  background: #fff; color: var(--navy); outline: none; transition: border-color .3s, box-shadow .3s;
}
.field textarea { min-height: 170px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(18,180,139,.12); }
.form-card .btn { margin-top: 36px; }
.form-msg { margin-top: 18px; padding: 14px 20px; border-radius: 12px; background: rgba(18,180,139,.1); color: var(--green-dark); font-weight: 600; }

/* 14. Testimonials -------------------------------------------------------- */
.slider { position: relative; overflow: hidden; padding: 10px 0; margin: -10px 0; }
.slider-track { display: flex; gap: 30px; transition: transform .7s var(--ease); touch-action: pan-y; user-select: none; }
.slider-track > * { flex: 0 0 calc((100% - 60px) / 3); }
.slider-track img { -webkit-user-drag: none; }
.slider-dots { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 50px; }
.slider-dots button { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 12px; background: #d5d9e3; cursor: pointer; transition: .35s var(--ease); }
.slider-dots button:hover { background: #b9bfce; }
.slider-dots button.active { width: 44px; background: var(--navy); }

/* Services carousel */
.services-slider .service-card { height: 100%; }
.slider-track:hover .service-card.active:not(:hover) .bg { opacity: 0; }
.slider-track:hover .service-card.active:not(:hover) { color: var(--text); }
.slider-track:hover .service-card.active:not(:hover) :is(h3, .ico, .link-arrow) { color: var(--navy); }
.slider-track:hover .service-card.active:not(:hover) .card-foot { border-color: var(--border); }
.services-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: 34px; text-align: center; color: var(--navy); font-size: 19px; }
.services-cta .duo { display: flex; }
.services-cta .duo img, .services-cta .duo a { width: 48px; height: 48px; border-radius: 50%; border: 3px solid var(--light); object-fit: cover; }
.services-cta .duo a { margin-left: -14px; text-decoration: none; display: grid; place-items: center; background: var(--green); color: #fff; font-size: 17px; }
.services-cta a { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.services-cta a:hover { color: var(--navy); }
.svc-icon { width: 76px; height: 76px; display: block; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.svc-icon .accent { stroke: var(--green); }
.service-card:hover .svc-icon { transform: translateY(-6px) rotate(-4deg); }

.testi-card { padding: 50px 48px 46px; border-radius: var(--radius); background: var(--light); }
.bg-light .testi-card { background: #fff; }
.testi-head { display: flex; align-items: center; gap: 18px; padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--border); }
.testi-head img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; }
.testi-head h4 { margin: 0; font-size: 21px; }
.testi-head p { margin: 0; }
.testi-card blockquote { margin: 0 0 40px; font-size: 18px; color: var(--navy); line-height: 1.75; }
.stars { color: var(--green); display: flex; gap: 6px; font-size: 17px; }
.trust-line { margin-top: 60px; text-align: center; color: var(--navy); font-size: 19px; }
.trust-line .badge { display: inline-block; padding: 2px 12px; margin-right: 10px; border-radius: 20px; background: var(--green); color: #fff; font-weight: 700; font-size: 15px; }
.trust-meta { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 10px; }
.trust-meta .sep { width: 1px; height: 22px; background: var(--border); }

/* 15. FAQ ------------------------------------------------------------------ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 80px; }
.faq-left { display: flex; flex-direction: column; }
.faq-contacts { margin-top: auto; padding-top: 40px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 30px 60px; }
.contact-mini { display: flex; align-items: center; gap: 18px; }
.contact-mini p { margin: 0; }
.contact-mini a { display: block; font-size: 21px; font-weight: 700; color: var(--navy); }
.contact-mini a:hover { color: var(--green); }

.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 30px 0; background: none; border: 0; cursor: pointer; text-align: left;
  color: var(--navy); font-size: 21px; font-weight: 700; letter-spacing: -0.01em;
}
.accordion-btn .pm { position: relative; width: 20px; height: 20px; flex: none; }
.accordion-btn .pm::before, .accordion-btn .pm::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 3px; margin-top: -1.5px; background: var(--green); border-radius: 3px; transition: transform .3s; }
.accordion-btn .pm::after { transform: rotate(90deg); }
.accordion-item.open .pm::after { transform: rotate(0); }
.accordion-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.accordion-panel > div { overflow: hidden; }
.accordion-panel p { padding-bottom: 30px; margin: 0; }
.accordion-item.open .accordion-panel { grid-template-rows: 1fr; }

/* 16. Blog ----------------------------------------------------------------- */
.blog-layout { display: grid; grid-template-columns: 1.9fr 1fr 1fr; gap: 30px; }
.post-feature { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end; padding: 46px 48px; color: #fff; }
.post-feature > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); z-index: -1; }
.post-feature { isolation: isolate; }
.post-feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(11,29,81,.85)); }
.post-feature:hover > img { transform: scale(1.06); }
.post-feature h3 { color: #fff; font-size: 26px; padding-bottom: 26px; margin-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.2); }
.post-feature .link-arrow { color: #fff; }
.chip { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 16px; margin-bottom: 18px; border-radius: 30px; background: rgba(11,29,81,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-size: 15px; font-weight: 700; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.post-card { display: flex; flex-direction: column; padding: 12px; border-radius: var(--radius); background: var(--light); }
.post-card .thumb { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 1.25; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .thumb img { transform: scale(1.07); }
.post-card .thumb .chip { position: absolute; top: 20px; left: 20px; }
.post-card .body { padding: 30px 22px 18px; display: flex; flex-direction: column; flex: 1; }
.post-card .meta { display: flex; gap: 18px; font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.post-card .meta i { color: var(--green); margin-right: 6px; }
.post-card h3 a:hover { color: var(--green); }
.post-card .body > p { margin-bottom: 24px; }
.post-card .foot { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--border); }

/* 17. Footer --------------------------------------------------------------- */
.site-footer { position: relative; background: var(--navy-deep); color: rgba(255,255,255,.85); overflow: hidden; }
.site-footer::before { content: ""; position: absolute; top: -300px; left: 50%; transform: translateX(-50%); width: 900px; height: 600px; background: radial-gradient(ellipse, rgba(255,255,255,.1), transparent 65%); pointer-events: none; }
.footer-cta { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 30px; padding: 110px 0 70px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-cta .left { display: flex; align-items: center; gap: 26px; }
.footer-cta .left > i { font-size: 62px; color: #fff; }
.footer-cta small { display: block; color: var(--green); font-size: 17px; }
.footer-cta h2 { color: #fff; margin: 0; font-size: clamp(28px, 3vw, 44px); }
.footer-main { position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1.1fr 1.2fr; gap: 40px; padding: 70px 0; }
.footer-main h4 { color: #fff; font-size: 21px; margin-bottom: 30px; }
.footer-about p { max-width: 360px; margin: 34px 0 40px; }
.hours { max-width: 370px; }
.hours h4 { margin-bottom: 18px; }
.hours div { display: flex; justify-content: space-between; margin-bottom: 8px; }
.footer-links li { margin-bottom: 14px; }
.footer-links a:hover { color: var(--green); padding-left: 4px; }
.footer-links a { transition: .3s; }
.footer-contact p { margin-bottom: 18px; }
.socials { display: flex; gap: 16px; margin-top: 30px; }
.socials a { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font-size: 18px; transition: .3s; }
.socials a:hover { background: var(--green); transform: translateY(-4px); }
.newsletter { position: relative; margin-top: 26px; }
.newsletter input { width: 100%; padding: 16px 64px 16px 22px; border-radius: 50px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); color: #fff; outline: none; }
.newsletter input::placeholder { color: rgba(255,255,255,.6); }
.newsletter button { position: absolute; right: 6px; top: 6px; bottom: 6px; width: 46px; border: 0; border-radius: 50%; background: var(--green); color: #fff; cursor: pointer; }
.footer-bottom { position: relative; padding: 32px 0; border-top: 1px solid rgba(255,255,255,.1); text-align: center; color: #fff; }
.footer-bottom p { margin: 0; }

.back-to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 52px; height: 52px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--green); color: #fff; font-size: 18px; box-shadow: 0 10px 30px rgba(18,180,139,.35);
  opacity: 0; visibility: hidden; transform: translateY(20px); transition: .4s var(--ease);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }

/* Video modal */
.video-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; background: rgba(5,15,45,.88); opacity: 0; visibility: hidden; transition: .35s; }
.video-modal.show { opacity: 1; visibility: visible; }
.video-modal .frame { position: relative; width: min(960px, 100%); aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; background: #000; }
.video-modal iframe { width: 100%; height: 100%; border: 0; }
.video-modal .close { position: absolute; top: 20px; right: 20px; width: 50px; height: 50px; border: 0; border-radius: 50%; background: #fff; color: var(--navy); font-size: 20px; cursor: pointer; }

/* 18. Inner pages ---------------------------------------------------------- */
.page-header { position: relative; overflow: hidden; padding: 250px 0 130px; background: var(--gradient); text-align: center; color: #fff; }
.page-header::after { content: ""; position: absolute; width: 520px; height: 520px; right: -120px; bottom: -260px; border-radius: 50%; background: rgba(255,255,255,.05); box-shadow: 0 0 0 70px rgba(255,255,255,.03), 0 0 0 140px rgba(255,255,255,.02); }
.page-header h1 { color: #fff; margin-bottom: 18px; }
.breadcrumb { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 12px; font-weight: 600; font-size: 18px; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb .sep { color: var(--green); }
.breadcrumb .current { color: var(--green); }

/* Sidebar layouts (service & blog details) */
.with-sidebar { display: grid; grid-template-columns: 1fr 2.1fr; gap: 50px; align-items: start; }
.with-sidebar.right { grid-template-columns: 2.1fr 1fr; }
.sidebar { position: sticky; top: 130px; display: grid; gap: 30px; }
.widget { padding: 36px 32px; border-radius: var(--radius); background: var(--light); }
.widget h4 { font-size: 22px; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--border); }
.widget-list li + li { margin-top: 12px; }
.widget-list a { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; border-radius: 14px; background: #fff; color: var(--navy); font-weight: 700; transition: .3s; }
.widget-list a:hover, .widget-list a.active { background: var(--green); color: #fff; }
.widget-cta { position: relative; overflow: hidden; padding: 46px 34px; border-radius: var(--radius); background: var(--gradient); color: #fff; text-align: center; }
.widget-cta h3 { color: #fff; font-size: 26px; }
.widget-cta .icon-circle { margin: 0 auto 22px; width: 72px; height: 72px; font-size: 28px; background: #fff; color: var(--green); }
.widget-cta a.phone { display: block; font-size: 24px; font-weight: 800; margin: 14px 0 24px; }
.search-box { position: relative; }
.search-box input { width: 100%; padding: 16px 60px 16px 22px; border-radius: 50px; border: 1px solid var(--border); outline: none; }
.search-box button { position: absolute; right: 6px; top: 6px; bottom: 6px; width: 46px; border: 0; border-radius: 50%; background: var(--green); color: #fff; }
.recent-post { display: flex; gap: 16px; align-items: center; }
.recent-post + .recent-post { margin-top: 18px; }
.recent-post img { width: 80px; height: 80px; border-radius: 14px; object-fit: cover; flex: none; }
.recent-post small { color: var(--muted); }
.recent-post h5 { margin: 4px 0 0; font-size: 16px; line-height: 1.4; }
.recent-post a:hover h5 { color: var(--green); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags a { padding: 8px 18px; border-radius: 30px; background: #fff; font-size: 15px; font-weight: 600; color: var(--navy); }
.tags a:hover { background: var(--green); color: #fff; }

.article .cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 40px; aspect-ratio: 16/9; }
.article .cover img { width: 100%; height: 100%; object-fit: cover; }
.article h2 { font-size: clamp(28px, 3vw, 40px); }
.article h3 { font-size: 28px; margin-top: 40px; }
.article .check-list { margin: 24px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--navy); font-weight: 600; }
.check-list li i { color: var(--green); margin-top: 6px; }
.article .img-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin: 34px 0; }
.article .img-pair img { border-radius: 20px; aspect-ratio: 1.2; object-fit: cover; width: 100%; }
.article blockquote { margin: 36px 0; padding: 36px 40px; border-radius: var(--radius); background: var(--light); border-left: 4px solid var(--green); color: var(--navy); font-size: 21px; font-weight: 700; line-height: 1.55; }
.article blockquote cite { display: block; margin-top: 14px; font-size: 16px; font-style: normal; color: var(--green); }
.post-meta { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 20px; color: var(--muted); font-size: 15px; }
.post-meta i { color: var(--green); margin-right: 6px; }
.article-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; padding-top: 30px; margin-top: 40px; border-top: 1px solid var(--border); }
.article-foot .tags a { background: var(--light); }
.article-foot .tags a:hover { background: var(--green); }
.share { display: flex; gap: 10px; align-items: center; font-weight: 700; color: var(--navy); }
.share a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--light); color: var(--navy); }
.share a:hover { background: var(--green); color: #fff; }

/* Pricing */
.price-card { position: relative; padding: 50px 44px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); transition: .4s var(--ease); }
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.price-card.featured { background: var(--gradient); color: rgba(255,255,255,.85); border-color: transparent; }
.price-card.featured :is(h3, .price) { color: #fff; }
.price-card .popular { position: absolute; top: 26px; right: 26px; padding: 4px 14px; border-radius: 20px; background: var(--green); color: #fff; font-size: 13px; font-weight: 700; }
.price-card .price { font-size: 56px; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; line-height: 1; margin: 20px 0 6px; }
.price-card .price small { font-size: 17px; font-weight: 600; letter-spacing: 0; }
.price-card ul { margin: 30px 0 36px; padding-top: 30px; border-top: 1px solid var(--border); }
.price-card.featured ul { border-color: rgba(255,255,255,.18); }
.price-card li { display: flex; gap: 12px; margin-bottom: 12px; }
.price-card li i { color: var(--green); margin-top: 6px; }
.price-card li.off { opacity: .45; }
.price-card li.off i { color: inherit; }
.price-card .btn { width: 100%; justify-content: center; }

/* Contact page */
.info-card { padding: 44px 36px; border-radius: var(--radius); background: var(--light); text-align: center; transition: .4s var(--ease); }
.info-card:hover { background: var(--navy); color: rgba(255,255,255,.85); transform: translateY(-6px); }
.info-card:hover h3, .info-card:hover a { color: #fff; }
.info-card .icon-circle { margin: 0 auto 24px; width: 74px; height: 74px; font-size: 26px; }
.info-card p, .info-card a { margin: 0; display: block; }
.contact-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 460px; background: var(--light); }
.map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }
.contact-wrap .form-card { width: 100%; box-shadow: none; background: var(--light); }
.contact-wrap .field input, .contact-wrap .field textarea, .contact-wrap .field select { background: #fff; }

/* Hours list */
.hours-card { padding: 44px 40px; border-radius: var(--radius); background: var(--gradient); color: #fff; }
.hours-card h3 { color: #fff; font-size: 28px; }
.hours-card li { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.hours-card li span:last-child { font-weight: 700; }
.hours-card .emergency { margin-top: 30px; display: flex; gap: 16px; align-items: center; }
.hours-card .emergency a { font-size: 22px; font-weight: 800; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 60px; }
.pagination a { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: var(--light); color: var(--navy); font-weight: 700; }
.pagination a:hover, .pagination a.active { background: var(--green); color: #fff; }

/* Filter buttons */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 50px; }
.filters button { padding: 11px 26px; border-radius: 30px; border: 1px solid var(--border); background: #fff; color: var(--navy); font-weight: 700; cursor: pointer; transition: .3s; }
.filters button:hover, .filters button.active { background: var(--green); border-color: var(--green); color: #fff; }
.case-card.hide { display: none; }

/* 404 */
.error-page { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 180px 0 100px; background: var(--gradient); color: rgba(255,255,255,.85); }
.error-page .big { font-size: clamp(120px, 22vw, 260px); font-weight: 800; line-height: 1; color: #fff; letter-spacing: -0.05em; }
.error-page .big i { color: var(--green); font-size: .8em; margin: 0 .05em; }
.error-page h1 { color: #fff; font-size: clamp(30px, 4vw, 48px); }

/* Blog toolbar, empty state, post nav, related ------------------------------ */
.blog-toolbar { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: 24px 40px; align-items: center; margin-bottom: 26px; }
.blog-toolbar .search-box input { background: var(--light); border-color: transparent; }
.blog-toolbar .search-box input:focus { border-color: var(--green); background: #fff; }
.cat-chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.cat-chips a { padding: 9px 18px; border-radius: 30px; border: 1px solid var(--border); color: var(--navy); font-weight: 700; font-size: 15px; transition: .3s; }
.cat-chips a small { margin-left: 4px; opacity: .6; font-weight: 600; }
.cat-chips a:hover, .cat-chips a.active { background: var(--green); border-color: var(--green); color: #fff; }
.blog-info { margin-bottom: 36px; color: var(--muted); font-size: 15px; }
.blog-info a { color: var(--green); font-weight: 700; text-decoration: underline; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 70px 20px; border-radius: var(--radius); background: var(--light); }
.empty-state > i { font-size: 48px; color: var(--green); margin-bottom: 18px; }
.widget-list .count { display: inline-grid; place-items: center; min-width: 30px; height: 26px; padding: 0 8px; border-radius: 20px; background: var(--light); color: var(--navy); font-size: 13px; }
.widget-list a:hover .count, .widget-list a.active .count { background: rgba(255,255,255,.2); color: #fff; }
.post-meta a:hover { color: var(--green); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.post-nav a { display: block; padding: 24px 28px; border-radius: 18px; background: var(--light); transition: .3s; }
.post-nav a:hover { background: var(--navy); }
.post-nav a:hover :is(small, strong) { color: #fff; }
.post-nav .next { text-align: right; }
.post-nav small { display: block; color: var(--green); font-weight: 700; margin-bottom: 6px; }
.post-nav strong { color: var(--navy); line-height: 1.4; display: block; }
.related-title { margin: 60px 0 26px !important; }
.share button { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--light); color: var(--navy); cursor: pointer; }
.share button:hover { background: var(--green); color: #fff; }
.img-link { position: relative; display: block; border-radius: 20px; overflow: hidden; }
.img-link img { transition: transform .8s var(--ease); }
.img-link:hover img { transform: scale(1.06); }
.img-link span { position: absolute; left: 16px; bottom: 16px; padding: 8px 18px; border-radius: 30px; background: #fff; color: var(--navy); font-weight: 700; font-size: 15px; }
.img-link:hover span { background: var(--green); color: #fff; }
.inline-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 40px; padding: 34px 38px; border-radius: var(--radius); background: var(--gradient); color: rgba(255,255,255,.85); }
.inline-cta h4 { color: #fff; font-size: 24px; margin-bottom: 4px; }
.inline-cta p { margin: 0; }
.inline-cta .btn::before { background: #fff; }
.inline-cta .btn:hover { color: var(--navy); }
.case-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.case-facts div { padding: 20px 22px; border-radius: 16px; background: var(--light); }
.case-facts small { display: block; color: var(--muted); }
.case-facts strong { color: var(--navy); }
.case-facts a { color: var(--green); }

/* Form feedback ------------------------------------------------------------- */
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229,72,77,.1); }
.error-text { display: block; margin-top: 6px; color: #d93a3f; font-size: 14px; font-weight: 600; }
.form-msg { display: flex; align-items: center; gap: 10px; animation: fadeUp .5s var(--ease); }
.form-msg.error { background: rgba(229,72,77,.1); color: #d93a3f; }
.newsletter .form-msg { position: absolute; top: 100%; left: 0; right: 0; margin-top: 10px; font-size: 14px; padding: 10px 14px; }
.btn.loading { pointer-events: none; opacity: .85; }
.btn.loading i { animation: spin .8s linear infinite; }
.btn.loading i::before { content: "\f110"; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Engagement: preloader, progress bar, cursor, text & image reveals -------- */
.preloader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: var(--navy-deep); transition: opacity .6s var(--ease), visibility .6s; }
.preloader.done { opacity: 0; visibility: hidden; }
.preloader svg { width: 70px; height: 70px; animation: toothPulse 1.2s ease-in-out infinite; }
@keyframes toothPulse { 0%,100% { transform: scale(.9); opacity: .7; } 50% { transform: scale(1.08); opacity: 1; } }
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 400; background: linear-gradient(90deg, var(--green), #3ad6ad); transform-origin: left; transform: scaleX(0); }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; border-radius: 50%; transition: opacity .3s; }
.cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--green); }
.cursor-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid rgba(18,180,139,.55); transition: width .3s, height .3s, margin .3s, background .3s, opacity .3s; }
.cursor-ring.hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(18,180,139,.1); border-color: transparent; }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-words .w > span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 55ms + .2s); }
.split-words.in .w > span { transform: none; }
.img-reveal { position: relative; }
.img-reveal::after { content: ""; position: absolute; inset: 0; z-index: 3; background: var(--light); transform-origin: right; transition: transform 1.1s var(--ease) .15s; pointer-events: none; border-radius: inherit; }
.bg-light .img-reveal::after { background: #fff; }
.img-reveal.visible::after { transform: scaleX(0); }
.tilt { transition: transform .25s ease-out, box-shadow .4s; will-change: transform; }
.case-card.pop { animation: fadeUp .5s var(--ease); }
.ba-slider.dragging .handle::after { background: var(--green); border-color: var(--green); }
.ba-slider .hint { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); padding: 5px 14px; border-radius: 20px; background: rgba(11,29,81,.65); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; transition: opacity .3s; pointer-events: none; }
.ba-slider:hover .hint, .ba-slider.dragging .hint { opacity: 0; }
@keyframes photoIn { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

/* Quick contact: call & WhatsApp -------------------------------------------- */
:root { --wa: #25d366; --wa-dark: #1ebe5b; }
@keyframes ringPulse { 0% { box-shadow: 0 0 0 0 rgba(18,180,139,.55); } 70% { box-shadow: 0 0 0 16px rgba(18,180,139,0); } 100% { box-shadow: 0 0 0 0 rgba(18,180,139,0); } }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
@keyframes phoneShake { 0%, 60%, 100% { transform: rotate(0); } 65%, 75%, 85% { transform: rotate(-14deg); } 70%, 80%, 90% { transform: rotate(14deg); } }

/* Header "Call Now" + "Book Appointment" pills */
.nav-cta .btn { padding: 17px 28px; }
.btn-nav-call { background: var(--navy); gap: 10px; }
.btn-nav-call::before { background: var(--green); }
.btn-nav-call i { animation: phoneShake 3s infinite; }
.btn-nav-call:hover i { transform: none; }

/* Floating buttons */
.float-btn {
  position: fixed; bottom: 26px; z-index: 95;
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-size: 27px;
  box-shadow: 0 12px 30px rgba(11,29,81,.25); transition: transform .3s var(--ease);
}
.float-btn:hover { transform: scale(1.08); }
.float-btn .label {
  position: absolute; top: 50%; white-space: nowrap; pointer-events: none;
  padding: 9px 16px; border-radius: 30px; background: #fff; color: var(--navy);
  font-size: 15px; font-weight: 700; line-height: 1.25; box-shadow: 0 10px 30px rgba(11,29,81,.15);
  transition: opacity .3s, transform .3s var(--ease);
}
.float-call { left: 26px; background: var(--green); animation: ringPulse 2.4s infinite; }
.float-call i { animation: phoneShake 3s infinite; }
.float-call .label { left: calc(100% + 12px); opacity: 0; transform: translate(-10px, -50%); }
.float-call:hover .label, .float-call:focus-visible .label, .float-btn.peek .label { opacity: 1; transform: translate(0, -50%); }
.float-call .label small { display: block; font-size: 12px; font-weight: 600; color: var(--green); }
.float-wa { right: 26px; background: var(--wa); font-size: 32px; animation: waPulse 2.4s infinite; }
.float-wa:hover { background: var(--wa-dark); }
.float-wa .label { right: calc(100% + 12px); opacity: 0; transform: translate(10px, -50%); }
.float-wa:hover .label, .float-wa:focus-visible .label { opacity: 1; transform: translate(0, -50%); }
.back-to-top { bottom: 102px; right: 31px; width: 52px; height: 52px; }

/* Mobile sticky action bar (app-style dock) */
.mobile-cta-bar { display: none; }
@media (max-width: 767px) {
  .float-btn { display: none; }
  .nav-cta .btn { display: none; }                 /* header keeps logo + menu only */
  .mobile-cta-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); align-items: end;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
    padding: 10px 6px calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--navy-deep); border-radius: 24px 24px 0 0;
    border-top: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 -12px 34px rgba(7,24,72,.28);
  }
  .mobile-cta-bar a {
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    color: #fff; font-size: 13px; font-weight: 700; line-height: 1.2; text-align: center;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-cta-bar .ico {
    width: 44px; height: 34px; display: grid; place-items: center;
    color: #3ad6ad; font-size: 23px; transition: transform .2s var(--ease);
  }
  .mobile-cta-bar a:active .ico { transform: scale(.88); }
  .mobile-cta-bar .call .ico i { animation: phoneShake 3s infinite; }
  .mobile-cta-bar .wa .ico {
    width: 64px; height: 64px; margin-top: -40px; border-radius: 50%;
    background: var(--wa); color: #fff; font-size: 34px;
    border: 4px solid #fff; box-shadow: 0 10px 24px rgba(37,211,102,.45);
    animation: waPulse 2.4s infinite;
  }
  .mobile-cta-bar .wa .lbl { margin-top: -1px; }
  body.has-mobile-bar { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .site-footer { margin-bottom: -1px; }
  .back-to-top { bottom: calc(100px + env(safe-area-inset-bottom, 0px)); right: 14px; width: 46px; height: 46px; }
}
@media (max-width: 767px) { .mobile-cta-bar .lbl { white-space: nowrap; } }
@media (max-width: 390px) {
  .mobile-cta-bar { padding-left: 4px; padding-right: 4px; }
  .mobile-cta-bar a { font-size: 12px; }
}
@media (max-width: 340px) {
  .mobile-cta-bar a { font-size: 11px; letter-spacing: -.01em; }
  .mobile-cta-bar .ico { font-size: 21px; }
}

/* Mobile menu quick actions */
.mobile-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.mobile-quick a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 10px; border-radius: 50px; font-weight: 700; color: #fff; }
.mobile-quick .mq-call { background: rgba(255,255,255,.1); }
.mobile-quick .mq-wa { background: var(--wa); }
.mobile-contact a:hover { color: var(--green); }

/* Footer CTA call button */
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-call { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.btn-call::before { background: #fff; }
.btn-call:hover { color: var(--navy); }
.btn-call i { animation: phoneShake 3s infinite; }

/* Appointment form: call alternative */
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 30px; margin-top: 36px; }
.form-actions .btn { margin-top: 0; }
.call-alt { display: flex; align-items: center; gap: 14px; color: var(--navy); font-weight: 800; font-size: 19px; line-height: 1.25; }
.call-alt small { display: block; font-size: 14px; font-weight: 600; color: var(--muted); }
.call-alt .ring { width: 50px; height: 50px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(18,180,139,.12); color: var(--green); font-size: 18px; animation: ringPulse 2.4s infinite; }
.call-alt:hover { color: var(--green); }

/* 19. Animations ----------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* 20. Responsive ----------------------------------------------------------- */
@media (max-width: 1440px) {
  .main-nav > ul > li > a { padding: 12px 12px; font-size: 17px; }
  .logo { font-size: 30px; }
}
@media (max-width: 1240px) {
  .main-nav { display: none; }
  .nav-toggle { display: grid; place-items: center; }
}
@media (max-width: 1100px) {
  .section { padding: 90px 0; }
  .hero-visual { min-height: 0; }
  .hero-photo { height: auto; aspect-ratio: 4 / 5; }
  .case-facts { grid-template-columns: 1fr 1fr; }
  .blog-toolbar { grid-template-columns: 1fr; }
  .cat-chips { justify-content: flex-start; }
  .hero-grid, .about-grid, .why-grid, .faq-grid, .with-sidebar, .with-sidebar.right, .contact-wrap { grid-template-columns: 1fr; }
  .hero-content { padding-bottom: 20px; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .grid-3, .grid-4, .counters { grid-template-columns: repeat(2, 1fr); }
  .blog-layout { grid-template-columns: 1fr 1fr; }
  .blog-layout .post-feature { grid-column: 1 / -1; }
  .slider-track > * { flex-basis: calc((100% - 30px) / 2); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .why-visual { max-width: 620px; }
  .sidebar { position: static; }
  .section-head-split { grid-template-columns: 1fr; gap: 20px; }
  .appointment .container { justify-content: center; }
  .video-banner { background-attachment: scroll; }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  .site-header { top: 14px; }
  .nav-wrap { padding: 10px 10px 10px 20px; }
  .logo { font-size: 26px; } .logo svg { width: 38px; height: 38px; }
  .nav-toggle { width: 46px; height: 46px; font-size: 18px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .next { text-align: left; }
  .inline-cta { padding: 28px 24px; }
  .section { padding: 72px 0; }
  .hero { padding-top: 150px; }
  .hero-note { margin-top: 40px; padding-top: 34px; font-size: 17px; }
  .hero-badge { padding: 10px 14px; font-size: 12px; }
  .hero-badge strong { font-size: 18px; }
  .hero-badge .icon-circle { width: 38px; height: 38px; font-size: 15px; }
  .grid-2, .grid-3, .grid-4, .why-cards, .form-grid, .blog-layout, .footer-main, .article .check-list, .article .img-pair { grid-template-columns: 1fr; }
  .counters { grid-template-columns: 1fr 1fr; gap: 16px; }
  .counter .num { font-size: 38px; }
  .slider-track > * { flex-basis: 100%; }
  .about-image { min-height: 520px; }
  .service-card { min-height: 460px; padding: 40px 32px; }
  .why-visual .exp { left: 14px; bottom: 14px; padding: 18px 22px; }
  .why-visual .exp strong { font-size: 34px; }
  .form-card { padding: 40px 24px 34px; border-radius: 22px; }
  .testi-card { padding: 40px 28px; }
  .accordion-btn { font-size: 18px; padding: 24px 0; }
  .post-feature { min-height: 460px; padding: 32px 28px; }
  .feature-strip ul { justify-content: flex-start; gap: 18px 30px; }
  .feature-strip li { font-size: 17px; width: calc(50% - 15px); }
  .circle-play { width: 140px; height: 140px; }
  .footer-cta { padding: 80px 0 50px; }
  .footer-cta .left { flex-direction: column; align-items: flex-start; gap: 14px; }
  .page-header { padding: 180px 0 90px; }
  .widget { padding: 30px 22px; }
  .article blockquote { padding: 28px 24px; font-size: 18px; }
  .price-card { padding: 44px 28px; }
}
@media (max-width: 420px) {
  .nav-wrap { padding: 8px 8px 8px 16px; gap: 8px; }
  .case-facts { grid-template-columns: 1fr; }
  .feature-strip li { width: 100%; }
  .counters { grid-template-columns: 1fr; }
  .hero-badge.b1 { top: 6%; }
}

/* ==========================================================================
   21. WordPress additions
   ========================================================================== */
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; z-index: 100000; top: 10px; left: 10px; padding: 12px 20px; background: #fff; color: var(--navy); border-radius: 8px; font-weight: 700; }
.logo span { line-height: 1; }
.logo.has-image img { max-height: 54px; width: auto; }
.mobile-menu .logo.has-image img { max-height: 44px; filter: brightness(0) invert(1); }
.footer-about .logo.has-image img { filter: brightness(0) invert(1); }
body.admin-bar .site-header.is-sticky { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header.is-sticky { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .site-header.is-sticky { top: 0; } }

/* Page content: Smilico section blocks run full width, everything else is centred */
.entry-content > :not(.smilico-section):not(.alignfull):not(.alignwide):not(.elementor):not(style):not(script) { max-width: 860px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; box-sizing: content-box; }
.entry-content > .alignwide { max-width: 1320px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.entry-content > :first-child:not(.smilico-section):not(.elementor) { margin-top: 90px; }
.entry-content > :last-child:not(.smilico-section):not(.elementor) { margin-bottom: 90px; }
.entry-content > .smilico-section + :not(.smilico-section):not(.elementor) { margin-top: 70px; }
.entry-content > :not(.smilico-section):not(.elementor) + .smilico-section { margin-top: 70px; }
.entry-content h2, .entry-body h2 { margin-top: 1.4em; }
.entry-content h3, .entry-body h3 { margin-top: 1.3em; }
.entry-content > :not(.smilico-section) ul:not([class]), .entry-content > ul:not([class]), .entry-content > ol:not([class]), .entry-body ul:not([class]), .entry-body ol:not([class]) { list-style: revert; padding-left: 1.4em; margin: 0 0 1.2em; }
.entry-content > :not(.smilico-section) a:not(.btn):not([class*="wp-block"]), .entry-body a:not(.btn) { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }
.entry-content > :not(.smilico-section) img, .entry-body img { height: auto; border-radius: 18px; }
.wp-block-image figcaption, .wp-caption-text { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }
.wp-block-quote, .entry-body blockquote:not([class]) { margin: 30px 0; padding: 26px 32px; border-left: 4px solid var(--green); border-radius: 14px; background: var(--light); color: var(--navy); font-size: 19px; }
.wp-block-button__link { background: var(--green); color: #fff !important; border-radius: 50px; padding: 15px 30px; font-weight: 700; text-decoration: none !important; }
.wp-block-button__link:hover { background: var(--navy); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--navy) !important; border: 1px solid var(--border); }
.wp-block-separator { border: 0; border-top: 1px solid var(--border); margin: 40px auto; }
.wp-block-table table { border-collapse: collapse; width: 100%; }
.wp-block-table td, .wp-block-table th { border: 1px solid var(--border); padding: 12px 16px; }
.wp-block-table th { background: var(--light); color: var(--navy); }
.wp-block-embed iframe { border-radius: 18px; }
.alignleft { float: left; margin: 0 24px 16px 0; } .alignright { float: right; margin: 0 0 16px 24px; } .aligncenter { margin-left: auto; margin-right: auto; }
.has-text-align-center { text-align: center; }

/* Article (blog / service / case) */
.article .entry-body > *:first-child { margin-top: 0; }
.article .entry-body p { margin-bottom: 1.2em; }
.service-price { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 30px; background: rgba(18,180,139,.1); color: var(--green-dark); font-weight: 700; }
.article .tags a { font-size: 15px; }
.archive-intro { max-width: 760px; margin: 0 0 30px; }
.page-sub { max-width: 640px; margin: 0 auto 14px; color: rgba(255,255,255,.8); }
.page-header .breadcrumb a, .page-header .breadcrumb span { color: inherit; }
.page-header .breadcrumb .current { color: var(--green); }
.page-header .breadcrumb .sep { color: var(--green); }
.page-header .breadcrumb > span > a { margin-right: 8px; }
.page-comments { padding-bottom: 90px; }

/* Pagination (paginate_links / the_posts_pagination) */
.pagination, .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 60px; }
.pagination .page-numbers, .nav-links .page-numbers { min-width: 50px; height: 50px; padding: 0 14px; display: grid; place-items: center; border-radius: 50px; background: var(--light); color: var(--navy); font-weight: 700; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover, .nav-links .page-numbers.current, .nav-links a.page-numbers:hover { background: var(--green); color: #fff; }
.pagination .dots { background: transparent; }

/* Cards: whole service card clickable */
.service-card h3 a { color: inherit; }
.service-card .stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.service-card .stretched:focus-visible { outline: none; }
.service-card:has(.stretched:focus-visible) { outline: 3px solid var(--green); outline-offset: 3px; }
.team-card h3 a { color: inherit; }
.team-card h3 a:hover { color: var(--green); }
.team-photo > a { display: block; height: 100%; }
.team-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: var(--border); color: #fff; font-size: 70px; }
.testi-initial { width: 62px; height: 62px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-size: 24px; font-weight: 800; }
.case-card { display: block; }

/* Sections */
.section-tight { padding: 80px 0; }
.section-heading { padding: 90px 0 0; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head.left p { margin-left: 0; }
.align-center { align-items: center; }
.check-list.simple { display: grid; gap: 12px; margin-top: 24px; }
.contact-cards { margin-bottom: 30px; }
.contact-wrap.single { grid-template-columns: 1fr; max-width: 860px; margin: 0 auto; }
.contact-wrap .form-card { padding: 50px 44px; }

/* CTA band block */
.cta-band { padding: 90px 0; background: var(--navy-deep); color: rgba(255,255,255,.85); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; top: -260px; left: 50%; transform: translateX(-50%); width: 900px; height: 520px; background: radial-gradient(ellipse, rgba(255,255,255,.1), transparent 65%); pointer-events: none; }
.cta-band-inner { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 30px; }
.cta-band .left { display: flex; align-items: center; gap: 26px; max-width: 760px; }
.cta-band .left > i { font-size: 62px; color: #fff; }
.cta-band small { display: block; color: var(--green); font-size: 17px; }
.cta-band h2 { color: #fff; margin: 0 0 6px; font-size: clamp(28px, 3vw, 42px); }
.cta-band p { margin: 0; }
.btn-wa { background: var(--wa, #25d366); }
.btn-wa::before { background: #fff; }
.btn-wa:hover { color: #128c4b; }

/* Forms */
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { margin: 18px 0 0; font-size: 13px; color: var(--muted); }
.smilico-form .form-msg { margin-top: 20px; }

/* Team profile */
.profile-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.profile-photo img { width: 100%; height: auto; border-radius: var(--radius); }
.profile-facts { display: flex; flex-wrap: wrap; gap: 12px 30px; margin: 0 0 24px; color: var(--navy); font-weight: 600; }
.profile-facts i { color: var(--green); margin-right: 8px; }
.profile-actions { margin-top: 30px; }

/* 404 */
.error-search { max-width: 460px; margin: 30px auto; }
.error-actions { justify-content: center; }

/* Comments */
.comments-area { margin-top: 60px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment-body { padding: 24px; border-radius: 18px; background: var(--light); margin-bottom: 16px; }
.comment-list .children { list-style: none; padding-left: 30px; }
.comment-author img { border-radius: 50%; float: left; margin-right: 14px; }
.comment-meta { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { width: 100%; padding: 14px 20px; border: 1px solid var(--border); border-radius: 14px; }
.comment-form label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; }

/* Editor-only empty state */
.smilico-empty-note { padding: 22px 26px; border-radius: 14px; border: 2px dashed var(--border); background: #fff; color: var(--text); text-align: center; }
.smilico-empty-note a { color: var(--green-dark); font-weight: 700; }

@media (max-width: 1100px) {
  .profile-grid { grid-template-columns: 1fr; }
  .profile-photo { max-width: 520px; }
}
@media (max-width: 767px) {
  .entry-content > :first-child:not(.smilico-section):not(.elementor) { margin-top: 60px; }
  .cta-band { padding: 70px 0; }
  .cta-band .left { flex-direction: column; align-items: flex-start; gap: 14px; }
  .contact-wrap .form-card { padding: 36px 22px; }
  .alignleft, .alignright { float: none; margin: 0 0 16px; }
}
/* Header fit: never wrap menu items or the clinic name */
.logo span, .main-nav > ul > li > a { white-space: nowrap; }
.main-nav > ul { flex-wrap: nowrap; }
@media (min-width: 1241px) and (max-width: 1500px) {
  .site-header .logo { font-size: 26px; gap: 10px; }
  .site-header .logo svg { width: 40px; height: 40px; }
  .main-nav > ul { gap: 0; }
  .main-nav > ul > li > a { padding: 12px 10px; font-size: 16px; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn { padding: 15px 20px; font-size: 15px; }
}
/* Logged-in staff: keep the header below the WordPress admin bar */
body.admin-bar .site-header:not(.is-sticky) { top: 62px; }
@media (max-width: 782px) { body.admin-bar .site-header:not(.is-sticky) { top: 60px; } }
/* FAQ list inside page/post content */
.faq-inline { margin: 40px auto; }
.entry-body .faq-inline, .article .faq-inline { margin: 36px 0; }
.faq-inline-title { margin-bottom: 10px; }
.faq-inline .accordion { border-top: 1px solid var(--border); }
.faq-inline .accordion-btn { font-size: 19px; padding: 22px 0; }
.faq-inline .accordion-panel p:last-child { padding-bottom: 22px; }
.faq-inline .accordion-panel p { padding-bottom: 12px; }
/* Third menu level: fly-out to the side on desktop, nested list in the mobile menu */
.submenu li { position: relative; }
.submenu a { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.submenu .sub-arrow { font-size: 10px; opacity: .6; }
.main-nav .submenu .submenu { top: -14px; left: calc(100% + 6px); transform: translateX(10px); }
.main-nav .submenu li:hover > .submenu { opacity: 1; visibility: visible; transform: none; }
.main-nav .submenu .submenu::before { content: ""; position: absolute; top: 0; bottom: 0; left: -10px; width: 10px; } /* hover bridge */
.main-nav > ul > li:nth-last-child(-n+2) .submenu .submenu { left: auto; right: calc(100% + 6px); } /* open leftwards near the edge */
.mobile-menu .submenu .submenu { padding-left: 14px; }
.mobile-menu .submenu .sub-arrow { transform: rotate(90deg); }
/* Mobile menu: separate expand buttons for items with submenus */
.mobile-menu nav li { position: relative; }
.mobile-menu nav li.has-sub > a { padding-right: 52px; }
.mobile-menu .sub-toggle { position: absolute; top: 4px; right: 0; width: 44px; height: 44px; border: 0; border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; }
.mobile-menu .submenu .sub-toggle { top: 0; width: 38px; height: 38px; }
.mobile-menu li.open > .sub-toggle i { transform: rotate(180deg); }
.mobile-menu .sub-toggle i { transition: transform .3s; }
/* Auto-fit header: long menus collapse into the ☰ menu (buttons stay visible) */
body.nav-collapsed .main-nav { display: none; }
body.nav-collapsed .nav-toggle { display: grid; place-items: center; }body.nav-tight .main-nav > ul > li > a { padding: 10px 7px; font-size: 15px; gap: 5px; }
body.nav-tight .main-nav > ul > li > a i { font-size: 10px; }
body.nav-tight .site-header .logo { font-size: 24px; gap: 8px; }
body.nav-tight .site-header .logo svg { width: 36px; height: 36px; }
body.nav-tight .nav-wrap { gap: 12px; padding-left: 22px; }
body.nav-tight .btn-nav-call span { display: none; }
body.nav-tight .btn-nav-call { padding: 15px 17px; }
body.nav-tight .nav-cta .btn-nav-book { padding: 15px 20px; }
.submenu { min-width: 250px; }
.submenu a { white-space: nowrap; }

/* Details / "Read more" toggles in content */
.entry-content .wp-block-details, .entry-body .wp-block-details { border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; padding: 0; margin-top: 24px; margin-bottom: 24px; overflow: hidden; }
.wp-block-details > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; font-weight: 600; color: var(--navy); background: var(--light); transition: background .2s, color .2s; }
.wp-block-details > summary::-webkit-details-marker { display: none; }
.wp-block-details > summary::after { content: "+"; flex: 0 0 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-size: 20px; line-height: 1; transition: transform .25s; }
.wp-block-details[open] > summary::after { content: "\2212"; }
.wp-block-details > summary:hover { color: var(--green-dark); }
.wp-block-details > summary:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }
.wp-block-details > :not(summary) { margin-left: 24px; margin-right: 24px; }
.wp-block-details > summary + * { margin-top: 22px; }
.wp-block-details > :last-child:not(summary) { margin-bottom: 24px; }

/* Keep embeds (maps, videos) inside the screen on mobile */
.entry-content iframe, .entry-body iframe, .entry-content embed, .entry-content video, .entry-content object { max-width: 100%; }
.entry-content iframe[src*="google.com/maps"], .entry-body iframe[src*="google.com/maps"] { width: 100%; }
.entry-content > iframe, .entry-content > embed, .entry-content > video { display: block; padding: 0 !important; max-width: min(860px, calc(100% - 40px)) !important; } /* beats the generic .entry-content > :not(…) width rule */

/* Posts without an image */
.thumb-placeholder { display: grid; place-items: center; width: 100%; height: 100%; background: var(--gradient); color: rgba(255,255,255,.85); font-size: 54px; }
.post-feature > .thumb-placeholder { position: absolute; inset: 0; z-index: -1; place-items: start end; padding: 40px; }
.recent-post .thumb-placeholder { width: 80px; height: 80px; flex: none; border-radius: 14px; font-size: 26px; }
