
/* SLAVOV DENTAL CENTER | Editorial clinical identity */
:root{--dc-ink:#183449;--dc-teal:#247e86;--dc-mist:#eaf4f3;--dc-line:#dce9e7;--dc-cream:#f8faf9}
body{color:var(--dc-ink);background:#fff;font-family:'Open Sans',Arial,sans-serif}
#header{background:rgba(255,255,255,.97)!important;box-shadow:0 5px 25px rgba(21,64,76,.06);border-bottom:1px solid #edf2f2}
#header .container-fluid{max-width:1440px;min-height:88px;padding:0 32px}
.navbar a,.navbar a:focus{font-size:12px!important;letter-spacing:.055em;font-weight:700!important;color:#244459!important}
.navbar a:hover,.navbar .active,.navbar .active:focus{color:#247e86!important}
.navbar .dropdown ul{border:1px solid #e5efee;box-shadow:0 18px 40px #19394b20;border-radius:12px}
.dc-home-hero{padding:160px 0 85px;background:linear-gradient(120deg,#f1f8f7 0%,#fff 55%,#e8f3f1 100%);overflow:hidden}
.dc-hero-inner{display:grid;grid-template-columns:1fr 1.1fr;align-items:center;gap:7%;max-width:1370px}
.dc-eyebrow{font-size:12px;font-weight:800;letter-spacing:.18em;color:var(--dc-teal);display:block;margin-bottom:20px}
.dc-hero-copy h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(46px,5.2vw,80px);font-weight:500;line-height:1.08;color:#173a47;letter-spacing:-.045em;margin:0 0 28px}
.dc-hero-copy h1 em{font-weight:400;color:var(--dc-teal)}
.dc-hero-copy>p{font-size:18px;line-height:1.9;color:#587079;max-width:570px;margin-bottom:32px}
.dc-hero-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.dc-btn{display:inline-flex;align-items:center;gap:20px;background:#207e85;color:#fff!important;border:0;border-radius:5px;padding:17px 24px;font-size:12px;font-weight:800;letter-spacing:.07em;text-decoration:none;cursor:pointer}
.dc-btn:hover{background:#165d65;color:#fff}
.dc-btn-ghost{font-size:12px;letter-spacing:.07em;color:#246a72;font-weight:800}
.dc-hero-facts{display:flex;flex-wrap:wrap;gap:14px;margin-top:52px}.dc-hero-facts span{font-size:10px;letter-spacing:.05em;font-weight:800;color:#69838a;border-top:1px solid #b8d5d4;padding-top:12px}
.dc-hero-visual{position:relative;min-width:0}.dc-hero-visual>img{width:100%;height:520px;object-fit:cover;border-radius:8px 100px 8px 8px;box-shadow:0 30px 70px #204f5b20}
.dc-hero-stamp{position:absolute;bottom:-20px;left:-28px;background:#fff;padding:21px 26px;box-shadow:0 15px 50px #24424b20;border-left:4px solid var(--dc-teal);font-size:11px;letter-spacing:.08em;line-height:1.8}
.dc-home-services{padding:100px 0 120px}.dc-section-heading{text-align:center;margin:0 auto 46px;max-width:800px}.dc-section-heading h2{font-family:Georgia,serif;font-size:clamp(32px,3.6vw,48px);font-weight:500;color:#1b3d49}.dc-section-heading p{color:#607a80;font-size:16px}
.dc-services-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.dc-services-grid a{padding:35px 28px 32px;border:1px solid var(--dc-line);border-radius:8px;color:inherit;background:#fff;transition:transform .2s,box-shadow .2s}.dc-services-grid a:hover{transform:translateY(-5px);box-shadow:0 18px 40px #214b5614}.dc-services-grid span{color:#87b2b2;font:24px Georgia,serif}.dc-services-grid h3{font-size:20px;color:#214755;margin:25px 0 14px}.dc-services-grid p{color:#668087;font-size:14px;line-height:1.8;min-height:80px}.dc-services-grid b{color:#26828a;font-size:11px;letter-spacing:.08em}
.dc-team{padding:35px 0 110px}.dc-team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}.dc-person{border:1px solid var(--dc-line);border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 15px 40px #153e4a0c}.dc-person-photo{background:#eaf3f2;aspect-ratio:4/3;overflow:hidden}.dc-person-photo img{width:100%;height:100%;object-fit:cover;object-position:center 25%;transition:transform .4s}.dc-person:hover .dc-person-photo img{transform:scale(1.035)}.dc-photo-empty{display:grid;place-items:center;height:100%;font:56px Georgia,serif;color:#9abfc0}.dc-person-body{padding:27px}.dc-person-body h3{font:26px Georgia,serif;color:#1d414c;margin:0 0 9px}.dc-role{color:#28858c;font-size:13px;font-weight:700;margin:0 0 20px}.dc-bio{font-size:14px;line-height:1.85;color:#526f77;white-space:normal}
.dc-notice-backdrop[hidden]{display:none!important}.dc-notice-backdrop{position:fixed;inset:0;z-index:99999;background:#102e39a8;display:grid;place-items:center;padding:20px}.dc-modal-open{overflow:hidden}.dc-notice{position:relative;background:white;max-width:660px;width:100%;max-height:90vh;overflow:auto;border-radius:14px;box-shadow:0 35px 100px #081d2d66}.dc-notice-image{width:100%;max-height:230px;object-fit:cover}.dc-notice-content{padding:35px}.dc-notice-content h2{font:34px Georgia,serif;color:#173a47}.dc-notice-content p{line-height:1.8;color:#526e75}.dc-notice-close{position:absolute;top:12px;right:12px;border:0;border-radius:50%;background:white;color:#20454c;font-size:28px;width:40px;height:40px;cursor:pointer;z-index:2}
#footer{background:#153847!important;color:#e3eff0!important}#footer a{color:#b5dfe0!important}
@media(max-width:1050px){.dc-hero-inner{gap:25px}.dc-services-grid{grid-template-columns:repeat(2,1fr)}.dc-team-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:767px){#header .container-fluid{min-height:70px;padding:0 16px}.dc-home-hero{padding:105px 0 55px}.dc-hero-inner{grid-template-columns:1fr;gap:38px}.dc-hero-copy h1{font-size:48px}.dc-hero-visual>img{height:300px;border-radius:8px 55px 8px 8px}.dc-hero-stamp{left:10px;bottom:-15px;padding:13px;font-size:10px}.dc-hero-facts{margin-top:25px}.dc-home-services{padding:65px 0}.dc-services-grid,.dc-team-grid{grid-template-columns:1fr}.dc-services-grid a{padding:24px}.dc-services-grid p{min-height:0}.dc-person-photo{aspect-ratio:4/3}.dc-notice-content{padding:24px}.dc-notice-content h2{font-size:28px}}

.dc-brand{display:inline-flex;align-items:center;gap:11px;text-decoration:none;flex-shrink:0;margin-right:25px}.dc-brand-mark{width:45px;height:45px;border-radius:13px 13px 13px 4px;background:#1f8087;color:white;font:italic bold 30px Georgia,serif;display:grid;place-items:center;position:relative}.dc-brand-mark span{position:absolute;right:4px;top:1px;font:16px Arial,sans-serif;color:#fff}.dc-brand-text{display:flex;flex-direction:column;line-height:1.1;color:#1b3d49;letter-spacing:.07em}.dc-brand-text strong{font-size:19px}.dc-brand-text small{font-size:9px;letter-spacing:.24em;color:#27838a;margin-top:5px}@media(max-width:767px){.dc-brand{margin-right:6px}.dc-brand-mark{width:38px;height:38px;font-size:24px}.dc-brand-text strong{font-size:16px}.dc-brand-text small{font-size:8px}}

/* Readable, bright navigation dropdown on desktop and mobile */
@media(min-width:1200px){
#navbar.navbar .dropdown ul,#navbar.navbar .dropdown .dropdown ul{background:#fff!important;border:1px solid #dce9e7!important;box-shadow:0 20px 50px rgba(20,52,73,.16)!important;min-width:310px;max-width:min(440px,90vw);padding:9px!important}
#navbar.navbar .dropdown ul a,#navbar.navbar .dropdown ul a:focus{color:#183e52!important;background:#fff!important;font-size:12px!important;line-height:1.5!important;white-space:normal!important;padding:12px 16px!important;border-radius:6px!important}
#navbar.navbar .dropdown ul a:hover,#navbar.navbar .dropdown ul li:hover>a{color:#126f7c!important;background:#edf7f6!important}
#navbar.navbar .dropdown .dropdown ul{left:100%!important;top:0!important}
}
@media(max-width:1199px){#navbar.navbar .dropdown ul,#navbar.navbar .dropdown .dropdown ul{background:#fff!important}#navbar.navbar .dropdown ul a{color:#183e52!important;background:#fff!important;white-space:normal!important;line-height:1.5!important;padding:12px 16px!important}#navbar.navbar .dropdown ul a:hover{background:#edf7f6!important;color:#126f7c!important}}
/* Popup: compact and elegant, image never obscures the content */
.dc-notice{max-width:640px!important;max-height:min(82vh,680px)!important;border-radius:18px!important}
.dc-notice-image{display:block!important;width:auto!important;max-width:72%!important;height:auto!important;max-height:90px!important;object-fit:contain!important;margin:20px auto 0!important}
.dc-notice-content{padding:20px 30px 30px!important}
.dc-notice-content h2{font-size:clamp(22px,2.5vw,30px)!important;line-height:1.2!important;margin:10px 0!important}
.dc-notice-content p{font-size:14px!important;line-height:1.7!important;max-height:38vh;overflow:auto;white-space:pre-line}
.dc-notice-close{top:10px!important;right:10px!important;border:1px solid #d5e4e6!important;box-shadow:0 2px 8px #0001}
@media(max-width:767px){.dc-notice-content{padding:15px 20px 24px!important}.dc-notice-image{max-height:65px!important}}

/* Original wordmark styling; no invented S+ emblem */
.dc-brand-original .dc-brand-text strong{font-family:Georgia,serif;font-size:24px;letter-spacing:.045em}.dc-brand-original .dc-brand-text small{font-size:11px;letter-spacing:.19em}

/* Final UI refinements */
#navbar.navbar>ul>li.dropdown:hover>a,#navbar.navbar>ul>li.dropdown>a:hover,#navbar.navbar>ul>li.dropdown>a:focus,#navbar.navbar>ul>li.dropdown>a.active{background:#eaf5f4!important;color:#155a66!important;box-shadow:none!important}
#navbar.navbar .dropdown ul{background:#fff!important}
.dc-details{border-top:1px solid #e5eeed;padding-top:14px;margin-top:12px}.dc-details summary{display:inline-flex;align-items:center;cursor:pointer;background:#edf6f5;color:#176f79;font-weight:800;font-size:12px;letter-spacing:.06em;padding:11px 16px;border-radius:7px;list-style:none}.dc-details summary::-webkit-details-marker{display:none}.dc-details[open] summary{margin-bottom:16px}.dc-bio{line-height:1.8}.dc-custom-page{padding-top:175px;padding-bottom:90px;min-height:70vh}.dc-custom-page h1{font:clamp(32px,4vw,55px) Georgia,serif;color:#20434e;margin-bottom:35px}.dc-page-copy{max-width:850px;line-height:2;color:#45636b;font-size:17px;white-space:normal}

/* Service pages: prevent oversized legacy media from widening the viewport. */
html{max-width:100%;overflow-x:clip}
body{max-width:100%;overflow-x:clip}
#main{max-width:100%;min-width:0}
#main img,#main video,#main svg{max-width:100%!important;height:auto;box-sizing:border-box}
#main iframe,#main embed,#main object{max-width:100%!important;box-sizing:border-box}
#main .container,#main .container-fluid,#main .row,#main section{min-width:0}
@supports not (overflow:clip){html,body{overflow-x:hidden}}

/* Popup layout fix: one scrollable message, fixed header and actions */
.dc-notice-backdrop{padding:clamp(12px,3vh,28px)!important;overflow:hidden!important;box-sizing:border-box!important}
.dc-notice{box-sizing:border-box!important;width:min(100%,680px)!important;max-width:680px!important;height:auto!important;max-height:min(88dvh,740px)!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;border-radius:20px!important;box-shadow:0 24px 80px rgba(7,32,43,.28)!important;position:relative!important}
.dc-notice-image{display:block!important;flex:none!important;width:auto!important;max-width:calc(100% - 110px)!important;height:auto!important;max-height:100px!important;object-fit:contain!important;margin:22px auto 5px!important}
.dc-notice-content{min-height:0!important;flex:1 1 auto!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;padding:14px clamp(22px,4vw,38px) 24px!important}
.dc-notice-content .dc-eyebrow{flex:none!important;font-size:11px!important;letter-spacing:.18em!important}
.dc-notice-content h2{flex:none!important;font-size:clamp(23px,3vw,32px)!important;line-height:1.18!important;margin:10px 0 16px!important}
.dc-notice-content p{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;scrollbar-width:thin!important;scrollbar-color:#adc6c8 transparent!important;padding:0 12px 0 0!important;margin:0 0 18px!important;font-size:15px!important;line-height:1.75!important;white-space:normal!important;overflow-wrap:anywhere!important}
.dc-notice-content .dc-notice-ok{flex:none!important;align-self:flex-start!important;margin:0!important}
.dc-notice-close{position:absolute!important;top:14px!important;right:16px!important;width:40px!important;height:40px!important;display:grid!important;place-items:center!important;border:1px solid #d9e7e8!important;border-radius:50%!important;background:#fff!important;color:#20454c!important;box-shadow:none!important;z-index:10!important;line-height:1!important}
.dc-notice-close:hover{background:#eaf5f4!important}
@media(max-width:600px){.dc-notice{max-height:90dvh!important;border-radius:15px!important}.dc-notice-image{max-height:75px!important;margin:20px auto 4px!important}.dc-notice-content{padding:10px 20px 20px!important}.dc-notice-content h2{font-size:23px!important}.dc-notice-content p{font-size:14px!important}.dc-notice-close{top:10px!important;right:10px!important}}


/* Mobile navigation: opaque accessible drawer, scoped to mobile only. */
@media (max-width:1279px){
  #header .mobile-nav-toggle{position:fixed!important;top:22px!important;right:20px!important;z-index:10020!important;display:block!important;color:#183449!important;font-size:30px!important;line-height:1!important;cursor:pointer!important}
  body.mobile-nav-active #header .mobile-nav-toggle{color:#183449!important;background:#fff!important;border:1px solid #dce9e7!important;border-radius:50%!important;width:44px!important;height:44px!important;display:flex!important;align-items:center!important;justify-content:center!important;top:14px!important;right:14px!important;box-shadow:0 3px 12px rgba(0,0,0,.08)!important}
  body.mobile-nav-active{overflow:hidden!important}
  #header .navbar{position:fixed!important;top:0!important;left:-100%!important;bottom:0!important;width:min(86vw,390px)!important;max-width:calc(100vw - 58px)!important;height:100dvh!important;z-index:10010!important;transition:left .25s ease!important;background:#fff!important;box-shadow:10px 0 40px rgba(15,45,58,.13)!important;overflow:hidden!important}
  body.mobile-nav-active #header .navbar{left:0!important}
  body.mobile-nav-active #header .navbar:before{content:''!important;position:fixed!important;inset:0!important;background:rgba(18,43,55,.55)!important;z-index:-1!important;pointer-events:auto!important}
  #header .navbar>ul{position:relative!important;inset:auto!important;display:block!important;width:100%!important;height:100%!important;max-height:100dvh!important;overflow-y:auto!important;overscroll-behavior:contain!important;margin:0!important;padding:76px 16px 36px!important;background:#fff!important;opacity:1!important;box-shadow:none!important;list-style:none!important}
  #header .navbar>ul>li{display:block!important;margin:0!important;border-bottom:1px solid #edf1f2!important}
  #header .navbar>ul>li>a,#header .navbar>ul>li>a:focus{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:54px!important;padding:14px 12px!important;color:#183449!important;background:transparent!important;font-size:14px!important;font-weight:750!important;letter-spacing:.04em!important;white-space:normal!important;line-height:1.45!important}
  #header .navbar a:hover,#header .navbar a.active,#header .navbar li:hover>a{color:#197d86!important;background:#edf7f6!important}
  #header .navbar .dropdown ul,#header .navbar .dropdown .dropdown ul{position:static!important;display:none!important;visibility:visible!important;opacity:1!important;left:auto!important;top:auto!important;width:auto!important;max-height:none!important;overflow:visible!important;margin:0 0 12px 8px!important;padding:4px 0 4px 12px!important;background:#f5faf9!important;border:0!important;border-left:2px solid #9bcacb!important;border-radius:0 8px 8px 0!important;box-shadow:none!important;transition:none!important}
  #header .navbar .dropdown>ul.dropdown-active,#header .navbar .dropdown .dropdown>ul.dropdown-active{display:block!important}
  #header .navbar .dropdown ul li{display:block!important;min-width:0!important}
  #header .navbar .dropdown ul a,#header .navbar .dropdown ul a:focus{display:flex!important;align-items:center!important;justify-content:space-between!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.45!important;padding:11px 12px!important;font-size:12px!important;font-weight:650!important;color:#244459!important;background:transparent!important}
  #header .navbar .dropdown ul a:hover{background:#e5f3f1!important;color:#176f78!important}
  #header .navbar .dropdown-indicator{font-size:15px!important;color:#247e86!important}
}
@media (max-width:480px){#header .navbar{width:calc(100vw - 56px)!important}#header .container-fluid{padding-left:18px!important;padding-right:18px!important}}

/* Compact desktop header: retain full width, reduce vertical footprint */
@media (min-width: 1200px) {
  #header.header { padding: 0 !important; height: 72px !important; min-height: 72px !important; }
  #header > .container-fluid { height: 72px !important; min-height: 72px !important; padding-top: 0 !important; padding-bottom: 0 !important; }
  #header .dc-brand { margin: 0 !important; padding: 0 !important; }
  #header .dc-brand-text strong { line-height: 1.05 !important; }
  #header .dc-brand-text small { line-height: 1.15 !important; }
  #header .navbar > ul > li > a { padding-top: 10px !important; padding-bottom: 10px !important; }
  .dc-home-hero { padding-top: 118px !important; }
}

/* Mobile menu typography: larger and easier to tap, desktop untouched. */
@media (max-width:1279px){
  #header .navbar>ul>li>a,
  #header .navbar>ul>li>a:focus{font-size:18px!important;line-height:1.4!important;min-height:60px!important;padding:16px 14px!important;letter-spacing:.025em!important}
  #header .navbar .dropdown ul a,
  #header .navbar .dropdown ul a:focus{font-size:16px!important;line-height:1.45!important;min-height:48px!important;padding:12px 14px!important}
  #header .navbar .dropdown-indicator{font-size:19px!important}
}

/* Mobile service-page headings: prevent long Bulgarian titles from overflowing. */
@media (max-width: 767px) {
  #main .section-header h2 {
    font-size: clamp(25px, 7vw, 36px) !important;
    line-height: 1.2 !important;
    letter-spacing: 0.005em !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    hyphens: auto !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  #main .section-header {max-width:100% !important;min-width:0 !important;}
}
