/*
Theme Name: Muna Dental Pro
Theme URI: https://munadentalandorthodonticcare.com
Author: Muna Dental Team
Author URI: https://munadentalandorthodonticcare.com
Description: Professional, fully-customisable WordPress theme for Muna Dental and Orthodontic Care. All homepage content — hero, doctor, services (with links), results, features, testimonials, gallery, visiting hours, contact & footer — is editable under Appearance → Customize. Booking button opens the Doclyfy booking page. SEO schema, fast & responsive, supports Bangla & English. New schedule: Friday, Saturday, Sunday (Morning 09:00 AM – 01:00 PM, Evening 04:00 PM – 08:00 PM).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: muna-dental
Tags: one-column, custom-logo, custom-menu, featured-images, translation-ready, wide-blocks, block-styles, blog
*/

/* =============================================================
   1. Design tokens
   ============================================================= */
:root {
  --primary: #0E7C86;
  --primary-dark: #0A626A;
  --primary-deep: #09505A;
  --primary-soft: #E4F4F5;
  --primary-faint: #F3FAFB;
  --book: #F06B45;
  --book-dark: #D9552F;
  --book-soft: #FDEBE3;
  --ink: #0C2A32;
  --slate: #48636C;
  --muted: #7C959D;
  --line: #E4ECEE;
  --white: #ffffff;
  --shadow-sm: 0 2px 10px rgba(9, 80, 90, .07);
  --shadow: 0 14px 40px rgba(9, 80, 90, .10);
  --shadow-lg: 0 30px 70px rgba(9, 80, 90, .16);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --ease: cubic-bezier(.25, .8, .3, 1);
}

/* =============================================================
   2. Base
   ============================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Manrope', 'Hind Siliguri', 'Segoe UI', system-ui, -apple-system, 'Noto Sans Bengali', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--slate);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--primary); text-decoration: none; transition: color .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
a:hover { color: var(--primary-dark); }
ul, ol { margin: 0 0 1rem; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .6em; color: var(--ink); line-height: 1.2; font-weight: 800; }
p { margin: 0 0 1rem; }
table { border-collapse: collapse; width: 100%; }
.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; }

.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 22px; }

.ico { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -0.22em; flex: none; }

/* =============================================================
   3. Buttons / forms
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 700; font-size: .95rem; line-height: 1.2; font-family: inherit;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.btn .ico { width: 1.05em; height: 1.05em; }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-book { background: linear-gradient(135deg, var(--book), var(--book-dark)); color: #fff; box-shadow: 0 12px 26px rgba(240, 107, 69, .32); }
.btn-book:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 34px rgba(240, 107, 69, .4); }
.btn-white { background: #fff; color: var(--primary-dark); }
.btn-white:hover { color: var(--primary-deep); transform: translateY(-2px); box-shadow: 0 16px 30px rgba(4, 40, 45, .18); }
.btn-ghost { background: transparent; color: var(--primary-dark); border: 2px solid var(--primary); }
.btn-ghost:hover { background: var(--primary); color: #fff; }
.btn-outline { background: transparent; color: var(--primary-dark); border: 2px solid currentColor; }
.btn .btn-ic { display: inline-flex; }
.mode-dark .btn-white:hover { color: var(--primary-deep); }

button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid rgba(14, 124, 134, .4); outline-offset: 2px; }

input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="search"], input[type="number"], textarea, select {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(14, 124, 134, .12); }

/* =============================================================
   4. Top bar
   ============================================================= */
.topbar { background: var(--primary-deep); color: rgba(255, 255, 255, .88); font-size: .84rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 40px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; color: inherit; }
.topbar a.topbar-item:hover { color: #fff; }
.topbar .ico { width: 1em; height: 1em; opacity: .85; }
.topbar-r { display: flex; align-items: center; gap: 18px; }
.topbar-soc { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; }
.topbar-soc:hover { background: var(--book); color: #fff; }
.topbar-soc .ico { width: .9em; height: .9em; }
.topbar-hours .dot { width: 7px; height: 7px; border-radius: 50%; background: #3fdc9b; box-shadow: 0 0 0 0 rgba(63, 220, 155, .5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(63, 220, 155, .45); } 70% { box-shadow: 0 0 0 7px rgba(63, 220, 155, 0); } 100% { box-shadow: 0 0 0 0 rgba(63,220,155,0); } }

/* =============================================================
   5. Header
   ============================================================= */
.site-header { background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 900; box-shadow: 0 1px 0 var(--line); }
.admin-bar .site-header { top: 32px; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; position: relative; }
.brand { display: flex; align-items: center; }
.brand img.custom-logo { height: 56px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 1.25rem; font-weight: 800; color: var(--ink); }
.brand-tag { font-size: .72rem; color: var(--muted); letter-spacing: .04em; }

.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav .menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-nav .menu > li { position: relative; }
.site-nav .menu a { display: block; padding: 10px 13px; font-weight: 700; font-size: .92rem; color: var(--ink); border-radius: 10px; }
.site-nav .menu a:hover, .site-nav .menu > .current-menu-item > a, .site-nav .menu > .current-menu-ancestor > a { color: var(--primary); background: var(--primary-faint); }
.site-nav .menu .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 8px; list-style: none; margin: 0; z-index: 50; }
.site-nav .menu li:hover > .sub-menu, .site-nav .menu li:focus-within > .sub-menu { display: block; }
.site-nav .menu .sub-menu a { font-weight: 600; font-size: .88rem; }
.site-nav .nav-book { display: none; }
.header-phone { display: flex; align-items: center; }
.hphone { display: inline-flex; align-items: center; gap: 10px; }
.hphone-ic { width: 42px; height: 42px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; }
.hphone-ic .ico { width: 1.1em; height: 1.1em; }
.hphone-tx { display: flex; flex-direction: column; line-height: 1.25; }
.hphone-tx em { font-style: normal; font-size: .72rem; color: var(--muted); font-weight: 600; }
.hphone-tx strong { color: var(--ink); font-size: .98rem; }
.btn-book--nav { padding: 11px 20px; font-size: .9rem; }

/* burger */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; padding: 0 11px; }
.nav-toggle span { height: 2.4px; border-radius: 3px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

/* =============================================================
   6. Sections generic
   ============================================================= */
.sec { padding: 96px 0; position: relative; }
.sec--tint { background: var(--primary-faint); }
.sec-head { max-width: 760px; margin: 0 auto 54px; }
.sec-head.center { text-align: center; }
.sec-title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); letter-spacing: -.02em; margin-bottom: .3em; }
.sec-lead { font-size: 1.08rem; color: var(--slate); }
.sec-lead--light { color: rgba(255,255,255,.8); }
.sec-title--light { color: #fff; }
.sec-more { text-align: center; margin-top: 46px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.eyebrow-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--book); box-shadow: 0 0 0 4px rgba(240,107,69,.18); }
.eyebrow--light { color: #9be0e5; }

/* =============================================================
   7. Hero
   ============================================================= */
.hero { position: relative; overflow: hidden; padding: 70px 0 96px; background:
  radial-gradient(1100px 500px at 85% -10%, var(--primary-soft) 0%, transparent 55%),
  linear-gradient(180deg, #fdfefe 0%, #fff 100%); }
.hero-blob { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-blob-a { width: 420px; height: 420px; left: -140px; top: -120px; background: radial-gradient(circle, rgba(14,124,134,.08), transparent 65%); }
.hero-blob-b { width: 300px; height: 300px; right: -80px; bottom: -110px; background: radial-gradient(circle, rgba(240,107,69,.08), transparent 65%); }
.hero-in { display: grid; grid-template-columns: 1.06fr .94fr; gap: 60px; align-items: center; }
.hero-title { font-size: clamp(2.1rem, 4.6vw, 3.5rem); letter-spacing: -.03em; line-height: 1.06; margin: 0 0 20px; }
.hero-title-l1 { display: block; }
.hero-title-hl { position: relative; display: inline-block; color: var(--primary); z-index: 0; }
.hero-title-hl::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .08em; height: .22em; background: rgba(240,107,69,.22); z-index: -1; border-radius: 6px; }
.hero-text { font-size: 1.12rem; color: var(--slate); max-width: 560px; margin-bottom: 26px; }
.hero-creds { display: flex; flex-wrap: wrap; gap: 8px 10px; list-style: none; margin: 0 0 28px; padding: 0; max-width: 600px; }
.hero-creds li { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: .82rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.hero-creds .ico { width: .95em; height: .95em; color: var(--primary); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-call { display: inline-flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--slate); }
.hero-call-ic { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--primary-soft); color: var(--primary); }
.hero-call a { font-weight: 800; color: var(--ink); }

.hero-visual { position: relative; }
.hero-frame { position: relative; width: min(430px, 100%); margin: 0 auto; }
.hero-frame::before { content: ""; position: absolute; inset: -18px -18px auto auto; width: 68%; height: 68%; border-radius: 999px 999px 30px 30px; background: linear-gradient(160deg, var(--primary-soft), #d3ecef); z-index: 0; }
.hero-photo { position: relative; display: block; width: 100%; aspect-ratio: .82; object-fit: cover; object-position: top; border-radius: 200px 200px 28px 28px; box-shadow: var(--shadow-lg); z-index: 1; }
.hero-photo--ph { display: flex; align-items: center; justify-content: center; background: var(--primary-soft); color: var(--primary); }
.hero-photo--ph .ico { width: 70px; height: 70px; }
.hero-badge { position: absolute; left: -22px; bottom: 40px; z-index: 3; background: #fff; border-radius: 16px; padding: 13px 18px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); max-width: 220px; animation: floaty 5s ease-in-out infinite; }
.hero-badge-ic { width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--book-soft); color: var(--book); display: inline-flex; align-items: center; justify-content: center; }
.hero-badge-ic .ico { width: 1.15em; height: 1.15em; }
.hero-badge-tx { font-size: .82rem; font-weight: 800; color: var(--ink); line-height: 1.35; }
.hero-open { position: absolute; right: -14px; top: 30px; z-index: 3; background: #fff; border-radius: 999px; padding: 9px 15px; display: inline-flex; align-items: center; gap: 9px; font-size: .8rem; font-weight: 800; color: var(--ink); box-shadow: var(--shadow); }
.hero-open .pulse { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; animation: pulse 2s infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* =============================================================
   8. Info band (chamber / hours / contact)
   ============================================================= */
.info-band { position: relative; z-index: 5; padding-bottom: 14px; }
.info-cards { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 26px 30px; }
.info-card { display: flex; gap: 16px; }
.info-ic { width: 52px; height: 52px; flex: none; border-radius: 15px; background: var(--primary-soft); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; }
.info-ic .ico { width: 1.3em; height: 1.3em; }
.info-card h3 { font-size: 1rem; margin: 0 0 6px; display: flex; align-items: center; gap: 6px; }
.info-name { font-weight: 800; color: var(--ink); margin: 0; }
.info-sub, .info-addr { font-size: .9rem; color: var(--slate); margin: 0; }
.info-hours { list-style: none; margin: 0; padding: 0; }
.info-hours li { display: grid; grid-template-columns: 86px 1fr; gap: 12px; padding: 5px 0; font-size: .88rem; border-bottom: 1px dashed var(--line); }
.info-hours li:last-child { border-bottom: 0; }
.ih-day { font-weight: 800; color: var(--primary-dark); }
.ih-time { color: var(--ink); font-weight: 700; }
.info-note { margin: 8px 0 0; font-size: .82rem; font-weight: 700; color: var(--book-dark); }
.info-ph { margin: 0 0 4px; }
.info-ph a { font-weight: 800; color: var(--ink); font-size: 1rem; }
.info-ph a:hover { color: var(--primary); }
.info-card--hours, .info-card--contact { border-left: 1px solid var(--line); padding-left: 26px; }
.info-card .btn { margin-top: 12px; }

/* =============================================================
   9. About
   ============================================================= */
.about-in { display: grid; grid-template-columns: .92fr 1.08fr; gap: 70px; align-items: center; }
.about-media { position: relative; }
.about-photo { display: block; width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-badge { position: absolute; right: -16px; bottom: -18px; background: var(--primary); color: #fff; padding: 18px 24px; border-radius: 18px; display: inline-flex; align-items: center; gap: 14px; box-shadow: var(--shadow-lg); max-width: 260px; }
.about-badge .about-badge-ic { width: 44px; height: 44px; flex: none; background: rgba(255,255,255,.18); border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; }
.about-badge .about-badge-ic .ico { width: 1.2em; height: 1.2em; }
.about-badge > span:last-child { font-weight: 800; font-size: .95rem; line-height: 1.35; }
.about-role { font-weight: 800; color: var(--primary-dark); font-size: 1.02rem; margin-bottom: 18px; }
.about-text { color: var(--slate); }
.about-text p { margin-bottom: .9rem; }
.about-creds { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.about-creds li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.about-creds .ico { color: var(--book); width: 1.1em; height: 1.1em; margin-top: 3px; }
.about-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* =============================================================
   10. Services
   ============================================================= */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.svc-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: transparent; }
.svc-thumb { width: 88px; height: 88px; border-radius: 50%; background: linear-gradient(150deg, var(--primary-soft), #eaf7f8); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.svc-thumb--ph { color: var(--primary); }
.svc-thumb--ph .ico { width: 38px; height: 38px; }
.svc-img { width: 54px; height: 54px; object-fit: contain; }
.svc-body { display: flex; flex-direction: column; flex: 1; }
.svc-title { font-size: 1.02rem; margin: 0 0 8px; }
.svc-txt { font-size: .88rem; color: var(--slate); margin: 0 0 14px; flex: 1; }
.svc-more { display: inline-flex; align-items: center; gap: 5px; font-weight: 800; font-size: .86rem; color: var(--primary-dark); margin-top: auto; }
.svc-more .ico { transition: transform .25s var(--ease); }
.svc-more:hover .ico { transform: translateX(4px); }
.svc-card--noimg { justify-content: flex-start; text-align: left; align-items: flex-start; }

/* =============================================================
   11. Results / before-after
   ============================================================= */
.results-in { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.results-lead { margin-bottom: 26px; }
.chip-grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.chip-grid li { display: inline-flex; align-items: center; gap: 8px; background: var(--primary-soft); color: var(--ink); font-weight: 700; font-size: .9rem; padding: 9px 16px; border-radius: 999px; }
.chip-grid .ico { color: var(--primary); width: 1em; height: 1em; }
.results-media { display: flex; justify-content: center; }
.ba { position: relative; width: min(560px, 100%); aspect-ratio: 5/4; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); user-select: none; touch-action: none; background: #eee; }
.ba-after, .ba-before { position: absolute; inset: 0; }
.ba-before { width: 50%; overflow: hidden; z-index: 2; }
.ba-img { width: 100%; height: 100%; object-fit: cover; }
.ba-before .ba-img { position: absolute; top: 0; left: 0; width: auto; height: 100%; max-width: none; } /* keep alignment when clipped */
.ba-tag { position: absolute; top: 14px; left: 14px; background: rgba(8, 40, 48, .72); color: #fff; padding: 6px 14px; border-radius: 999px; font-size: .8rem; font-weight: 800; backdrop-filter: blur(4px); }
.ba-tag--after { left: auto; right: 14px; background: rgba(240,107,69,.9); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; transform: translateX(-50%); z-index: 4; cursor: ew-resize; }
.ba-handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--primary); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.ba-handle .ico { width: 1.15em; height: 1.15em; }

/* =============================================================
   12. Features (dark band)
   ============================================================= */
.features { background: linear-gradient(150deg, var(--primary-deep), var(--primary) 70%); overflow: hidden; }
.feat-glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; pointer-events: none; filter: blur(10px); }
.feat-glow-a { left: -140px; top: -160px; background: rgba(255,255,255,.08); }
.feat-glow-b { right: -120px; bottom: -180px; background: rgba(240,107,69,.16); }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.feat-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 30px 24px; backdrop-filter: blur(4px); transition: transform .3s var(--ease), background .3s var(--ease); }
.feat-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.12); }
.feat-ic { width: 60px; height: 60px; border-radius: 16px; background: #fff; color: var(--primary-dark); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.feat-ic .ico { width: 1.6em; height: 1.6em; }
.feat-title { color: #fff; font-size: 1.08rem; margin-bottom: 8px; }
.feat-txt { color: rgba(255,255,255,.78); font-size: .92rem; margin: 0; }

/* =============================================================
   13. Testimonials
   ============================================================= */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; position: relative; box-shadow: var(--shadow-sm); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.testi-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.testi-q { position: absolute; top: 22px; right: 24px; color: var(--primary-soft); }
.testi-q .ico { width: 40px; height: 40px; }
.testi-stars { color: #f5b301; display: inline-flex; gap: 3px; margin-bottom: 14px; }
.testi-stars .ico { width: 1em; height: 1em; }
.testi-txt { color: var(--slate); font-style: italic; margin: 0 0 22px; }
.testi-author { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line); padding-top: 18px; }
.testi-ava { width: 48px; height: 48px; flex: none; border-radius: 50%; background: linear-gradient(140deg, var(--primary), var(--primary-dark)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem; }
.testi-meta { display: flex; flex-direction: column; line-height: 1.3; }
.testi-meta strong { color: var(--ink); }
.testi-meta em { font-style: normal; color: var(--muted); font-size: .86rem; }

/* =============================================================
   14. Blog / posts
   ============================================================= */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.post-thumb { display: block; aspect-ratio: 3/2; overflow: hidden; background: var(--primary-soft); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-thumb-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--primary); }
.post-thumb-ph .ico { width: 44px; height: 44px; }
.post-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: .8rem; color: var(--muted); margin-bottom: 10px; font-weight: 700; }
.post-cat a { color: var(--book-dark); }
.post-title { font-size: 1.16rem; margin: 0 0 10px; line-height: 1.4; }
.post-title a { color: var(--ink); }
.post-title a:hover { color: var(--primary); }
.post-ex { font-size: .92rem; color: var(--slate); margin: 0 0 16px; flex: 1; }
.read-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--primary-dark); font-size: .9rem; }
.read-more .ico { transition: transform .25s var(--ease); }
.read-more:hover .ico { transform: translateX(4px); }
.blog-layout { padding: 60px 22px 90px; }

/* gallery home */
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gal-item { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--primary-soft); }
.gal-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gal-item:hover .gal-img { transform: scale(1.06); }
.gal-cap { position: absolute; inset: auto 0 0 0; background: linear-gradient(transparent, rgba(6, 40, 48, .82)); color: #fff; font-size: .86rem; font-weight: 700; padding: 34px 16px 12px; }

/* =============================================================
   15. CTA
   ============================================================= */
.cta { background: linear-gradient(120deg, var(--primary-deep), var(--primary)); overflow: hidden; }
.cta-ring { position: absolute; border-radius: 50%; border: 2px solid rgba(255,255,255,.14); pointer-events: none; }
.cta-ring-a { width: 480px; height: 480px; right: -160px; top: -200px; }
.cta-ring-b { width: 320px; height: 320px; right: 40px; bottom: -180px; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; position: relative; }
.cta-title { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0 0 8px; }
.cta-text { color: rgba(255,255,255,.92); font-size: 1.2rem; font-weight: 700; margin: 0 0 6px; }
.cta-sub { color: rgba(255,255,255,.7); font-size: .95rem; margin: 0; }
.cta-actions { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-phones { display: flex; flex-direction: column; gap: 6px; }
.cta-tel { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.06rem; }
.cta-tel:hover { color: #fff; text-decoration: underline; }
.cta-tel-ic { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.16); display: inline-flex; align-items: center; justify-content: center; }
.cta-tel-ic .ico { width: 1.05em; height: 1.05em; }

/* =============================================================
   16. Footer
   ============================================================= */
.site-footer { background: #08222A; color: rgba(255,255,255,.72); }
.footer-map iframe { display: block; width: 100%; height: 280px; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 44px; padding-top: 70px; padding-bottom: 54px; }
.f-name { font-size: 1.3rem; font-weight: 800; color: #fff; }
.f-logo img.custom-logo { height: 54px; width: auto; filter: brightness(0) invert(1); }
.f-about { color: rgba(255,255,255,.68); font-size: .93rem; }
.f-about p { margin-bottom: .4rem; }
.f-social { display: flex; gap: 12px; }
.f-social a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; display: inline-flex; align-items: center; justify-content: center; transition: background .25s, transform .25s; }
.f-social a:hover { background: var(--book); color: #fff; transform: translateY(-3px); }
.f-title { color: #fff; font-size: 1.02rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.f-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--book); }
.f-links { list-style: none; margin: 0; padding: 0; }
.f-links li { margin-bottom: 10px; }
.f-links a { color: rgba(255,255,255,.7); font-size: .93rem; }
.f-links a:hover { color: #fff; padding-left: 5px; }
.f-contact { list-style: none; margin: 0 0 18px; padding: 0; }
.f-contact li { display: flex; gap: 12px; margin-bottom: 12px; font-size: .9rem; }
.f-contact .ico { color: var(--book); width: 1.1em; height: 1.1em; margin-top: 4px; }
.f-contact a { color: rgba(255,255,255,.85); }
.f-contact a:hover { color: #fff; }
.f-hours { border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; }
.f-hour { display: flex; justify-content: space-between; gap: 14px; font-size: .84rem; margin-bottom: 5px; }
.f-hour .f-day { font-weight: 800; color: #fff; min-width: 74px; }
.f-hour-eve { color: rgba(255,255,255,.55); }
.f-note { color: var(--book); font-weight: 700; border-top: 1px dashed rgba(255,255,255,.15); margin-top: 8px; padding-top: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px; }
.footer-bottom p { margin: 0; font-size: .88rem; color: rgba(255,255,255,.6); }

/* =============================================================
   17. Overlays / modal / utility
   ============================================================= */
.modal { position: fixed; inset: 0; z-index: 1500; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal-overlay { position: absolute; inset: 0; background: rgba(5, 25, 31, .66); backdrop-filter: blur(4px); animation: fade .25s ease; }
.modal-box { position: relative; width: min(880px, 100%); height: min(88vh, 780px); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; animation: rise .3s var(--ease); display: flex; flex-direction: column; }
.modal-x { position: absolute; top: 12px; right: 12px; z-index: 6; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(8, 34, 42, .14); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.modal-x:hover { background: var(--book); color: #fff; }
.modal-x .ico { width: 1.1em; height: 1.1em; }
.modal-head { text-align: center; padding: 16px 16px 12px; background: var(--primary-faint); }
.modal-head h3 { margin: 0 0 2px; font-size: 1.25rem; }
.modal-head p { margin: 0; font-size: .9rem; color: var(--slate); }
.modal-frame { flex: 1; position: relative; }
.modal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal-loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 30px; color: var(--slate); }
.spinner { width: 40px; height: 40px; border-radius: 50%; border: 4px solid var(--primary-soft); border-top-color: var(--primary); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.98); } }

.mobile-actions { display: none; }
.to-top { position: fixed; right: 20px; bottom: 90px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--primary); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s var(--ease); z-index: 800; }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--book); }
.to-top .ico { width: 1.1em; height: 1.1em; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 1600; background: rgba(5, 20, 26, .9); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox-cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #fff; font-weight: 700; }
.lightbox-x { position: absolute; top: 16px; right: 18px; background: none; border: 0; color: #fff; font-size: 2rem; cursor: pointer; }

/* =============================================================
   18. Inner pages
   ============================================================= */
.page-hero { position: relative; background: linear-gradient(120deg, var(--primary-deep), var(--primary)); padding: 74px 0 88px; overflow: hidden; text-align: center; }
.page-hero-blob { position: absolute; width: 360px; height: 360px; border-radius: 50%; right: -120px; top: -150px; background: radial-gradient(circle, rgba(255,255,255,.12), transparent 65%); }
.page-hero-in { position: relative; }
.page-hero-title { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 0; }
.page-hero-sub { color: rgba(255,255,255,.85); max-width: 640px; margin: 14px auto 0; }
.post-hero-meta { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 18px; font-size: .9rem; color: rgba(255,255,255,.85); }
.entry-wrap { padding: 60px 22px 90px; max-width: 900px; }
.entry-wrap--post { max-width: 860px; }
.entry-featured { margin-bottom: 36px; border-radius: var(--radius); overflow: hidden; }
.entry-featured img { width: 100%; }
.entry-content { font-size: 1.06rem; color: var(--slate); }
.entry-content p { margin-bottom: 1.2em; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.6em; }
.entry-content img { border-radius: var(--radius); }
.entry-content blockquote { border-left: 4px solid var(--primary); background: var(--primary-faint); padding: 16px 24px; border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; }
.entry-content a { text-decoration: underline; }
.entry-content ul, .entry-content ol { padding-left: 24px; }
.wp-block-quote, blockquote { margin: 1.5em 0; }
.alignwide { margin-left: -60px; margin-right: -60px; max-width: none; }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.page-links { margin: 30px 0; }
.page-links a, .page-links > span { padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; margin-right: 4px; }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 30px 0; }
.post-tags a { background: var(--primary-faint); color: var(--primary-dark); padding: 6px 14px; border-radius: 999px; font-size: .84rem; font-weight: 700; }
.post-author-box { display: flex; gap: 16px; background: var(--primary-faint); border-radius: var(--radius); padding: 22px; margin: 34px 0; }
.post-author-ava img { border-radius: 50%; width: 72px; height: 72px; object-fit: cover; }
.post-author-info strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.post-author-name { font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.post-author-info p { margin: 6px 0 0; font-size: .92rem; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 40px 0; }
.post-nav-item { background: var(--primary-faint); border-radius: var(--radius); padding: 16px 20px; }
.post-nav-item--next { text-align: right; }
.pn-label { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.post-nav-item a { font-weight: 800; color: var(--ink); }
.related { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.related-title { font-size: 1.5rem; margin-bottom: 26px; }

/* pagination */
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 46px; }
.pagination a, .pagination span { min-width: 42px; padding: 10px 14px; text-align: center; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-weight: 700; }
.pagination .current, .pagination a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* search form */
.search-form { display: flex; gap: 10px; max-width: 520px; margin: 0 auto 34px; }
.search-input { flex: 1; }
.search-btn { border: 0; border-radius: 999px; background: var(--primary); color: #fff; padding: 0 20px; cursor: pointer; }

/* comments */
.comments-area { margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--line); }
.comment-list { list-style: none; margin: 0 0 30px; padding: 0; }
.comment-list .children { list-style: none; padding-left: 30px; margin: 0; }
.comment-body { background: var(--primary-faint); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.comment-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.comment-meta .avatar { border-radius: 50%; }
.comment-author b { color: var(--ink); }
.comment-metadata a { font-size: .8rem; color: var(--muted); }
.comment-content p { margin-bottom: .6rem; }
.reply a { font-size: .84rem; font-weight: 800; }
.comment-form label { display: block; font-weight: 700; margin-bottom: 4px; font-size: .9rem; }
.comment-form input, .comment-form textarea { margin-bottom: 14px; }
.comment-notes, .logged-in-as { font-size: .85rem; }
.form-submit .submit { background: var(--primary); color: #fff; border: 0; padding: 13px 28px; border-radius: 999px; font-weight: 700; cursor: pointer; font-family: inherit; }
.no-comments { font-weight: 700; }

/* none / 404 */
.none-box, .err404 { text-align: center; padding: 90px 20px; }
.none-ic { color: var(--primary-soft); }
.none-ic .ico { width: 70px; height: 70px; }
.err404-num { font-size: clamp(6rem, 18vw, 12rem); font-weight: 800; line-height: 1; background: linear-gradient(120deg, var(--primary), var(--book)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.err404-title { margin-top: 10px; }
.err404-text { max-width: 520px; margin: 0 auto 22px; }
.err404-actions { display: flex; gap: 12px; justify-content: center; margin-bottom: 34px; }

/* WordPress core widgets minimal */
.widget { margin-bottom: 26px; }
.widgettitle { font-size: 1.1rem; }

/* =============================================================
   19. Responsive
   ============================================================= */
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .info-cards { grid-template-columns: 1fr; }
  .info-card--hours, .info-card--contact { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 20px; }
}

@media (max-width: 980px) {
  .topbar-l .topbar-addr { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-phone { display: none; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 8px; background: #fff; box-shadow: var(--shadow); padding: 14px 20px 20px; border-top: 1px solid var(--line); max-height: calc(100vh - 90px); overflow: auto; }
  .site-nav.open { display: flex; }
  .site-nav .menu { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav .menu a { padding: 12px 8px; border-radius: 8px; }
  .site-nav .menu .sub-menu { display: block; position: static; box-shadow: none; padding: 0 0 0 14px; background: var(--primary-faint); border-radius: 10px; margin: 2px 0; }
  .site-nav .nav-book { display: flex; margin-top: 10px; }
  .site-nav .nav-book .btn { width: 100%; }
  .hero-in { grid-template-columns: 1fr; gap: 46px; }
  .hero-frame { width: min(360px, 88%); }
  .about-in, .results-in { grid-template-columns: 1fr; gap: 46px; }
  .about-media { max-width: 480px; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .cta-in { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .sec { padding: 68px 0; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .svc-card { padding: 18px 14px 16px; }
  .svc-thumb { width: 68px; height: 68px; }
  .svc-img { width: 42px; height: 42px; }
  .svc-title { font-size: .94rem; }
  .hero-badge { left: -6px; }
  .hero-open { right: -4px; }
  .info-cards { padding: 20px; }
  .info-hours li { grid-template-columns: 1fr; gap: 2px; }
  .post-grid { grid-template-columns: 1fr; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .about-creds { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .about-badge { right: 6px; }
  .footer-grid { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .alignwide { margin-left: 0; margin-right: 0; }
  .comment-list .children { padding-left: 12px; }

  /* sticky mobile actions */
  body { padding-bottom: 0; }
  .mobile-actions { display: grid; grid-template-columns: 1fr 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; background: #fff; box-shadow: 0 -6px 24px rgba(9, 80, 90, .14); }
  .mob-act { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 4px calc(9px + env(safe-area-inset-bottom)); font-size: .68rem; font-weight: 800; color: var(--ink); }
  .mob-act .ico { width: 1.35em; height: 1.35em; color: var(--primary); }
  .mob-book { background: linear-gradient(135deg, var(--book), var(--book-dark)); color: #fff; }
  .mob-book .ico { color: #fff; }
  .footer-bottom-in { justify-content: center; text-align: center; }
  .to-top { bottom: 96px; }
  .admin-bar .site-header { top: 46px; }
}
