:root{--ink:#102d46;--muted:#425c6c;--teal:#00685e;--tint:#eef7f5;--line:#d8e7e3;--white:#fff}
*{box-sizing:border-box}
body.md-site{margin:0;background:var(--white);color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.65}
.md-site img{display:block;max-width:100%;height:auto}
.md-site a{color:var(--teal);text-underline-offset:3px}
.md-site a:focus-visible{outline:3px solid #926000;outline-offset:4px}
.md-site h1,.md-site h2,.md-site h3{letter-spacing:-.035em;line-height:1.1;margin:0 0 .55em;color:var(--ink)}
.md-site h1{font-size:clamp(3.2rem,8vw,6rem)}
.md-site h2{font-size:clamp(2rem,5vw,3.3rem)}
.md-site h3{font-size:1.25rem}
.md-site p{margin:0 0 1rem}
.md-wrap{width:min(1120px,calc(100% - 40px));margin:auto}
.md-skip{position:absolute;z-index:5;top:0;left:1rem;padding:.5rem 1rem;background:white;transform:translateY(-160%)}
.md-skip:focus{transform:none}
.md-header{border-bottom:1px solid var(--line);background:var(--white)}
.md-bar{min-height:76px;display:flex;justify-content:space-between;align-items:center;gap:22px}
.md-logo img{width:210px}
.md-header nav{display:flex;flex-wrap:wrap;gap:clamp(.65rem,2.4vw,1.8rem)}
.md-header nav a,.md-secondary{font-weight:650;text-decoration:none}
.md-header nav a:hover,.md-secondary:hover{text-decoration:underline}
.md-hero{background:linear-gradient(120deg,#eff9f6,#dfefed);padding:clamp(2rem,6vw,5rem) 0}
.md-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:clamp(1.5rem,6vw,5rem)}
.md-kicker{color:var(--teal);font-weight:750;font-size:.82rem;text-transform:uppercase;letter-spacing:.08em}
.md-lead{font-size:clamp(1.08rem,2vw,1.3rem);color:var(--muted);max-width:35ch}
.md-actions{display:flex;flex-wrap:wrap;align-items:center;gap:1.15rem;margin-top:1.8rem}
.md-site .md-button,.md-site .md-whatsapp{display:inline-block;background:var(--teal);color:white;font-weight:700;text-decoration:none;padding:.8rem 1.15rem;border-radius:999px}
.md-site .md-button:hover,.md-site .md-whatsapp:hover{background:#004d46}
.md-hero-photo,.md-doctor,.md-treatments img{overflow:hidden;border-radius:1.25rem;background:#dceeea}
.md-hero-photo img{width:100%;aspect-ratio:4/3;object-fit:cover}
.md-doctor{max-width:420px;width:100%;justify-self:center}
.md-doctor img{width:100%;aspect-ratio:4/4.5;object-fit:contain;object-position:bottom}
.md-section{padding-block:clamp(2.8rem,7vw,5.5rem)}
.md-tint{background:var(--tint)}
.md-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.md-treatments{margin-top:2rem}
.md-treatments img{width:100%}
.md-gallery a{display:block;overflow:hidden;border-radius:.8rem;background:var(--tint)}
.md-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover}
.md-gallery a:hover img{filter:brightness(1.08)}
.md-reviews{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.md-form{padding:clamp(1rem,2.5vw,1.75rem);background:white;border:1px solid var(--line);border-radius:1.05rem}
.md-contact{align-items:start}
.md-contact address{font-style:normal}
.md-contact iframe{display:block;width:100%;border:0;border-radius:.8rem}
.md-form input,.md-form textarea{max-width:100%}
.md-footer{padding:1.5rem 0 5rem;background:var(--ink);color:white}
.md-whatsapp{position:fixed;bottom:max(1rem,env(safe-area-inset-bottom));right:1rem;z-index:2;box-shadow:0 5px 15px #102d4640}
@media(max-width:800px){.md-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){
 .md-bar{align-items:flex-start;flex-direction:column;justify-content:center;padding-block:.9rem;gap:.45rem}
 .md-logo img{width:175px}
 .md-header nav{font-size:.89rem}
 .md-split,.md-reviews{grid-template-columns:1fr}
 .md-form{padding:1rem}
 .md-doctor{max-width:310px}
}

:root {
  --ink: #0a284a;
  --muted: #375775;
  --teal: #005c68;
  --tint: #dff2ff;
  --line: #b7d9ef;
}
.md-header { background: #f0f9ff; border-top: 4px solid #155d96; }
.md-header nav a { color: #133f68; }
.md-hero { background: linear-gradient(120deg, #092643, #104674 70%, #1670a3); }
.md-hero h1 { color: #fff; }
.md-hero .md-kicker { color: #9addff; }
.md-hero .md-lead { color: #e0f2ff; }
.md-hero .md-secondary { color: #c8edff; }
.md-hero .md-button { color: #092643; background: #9ee3ff; }
.md-hero .md-button:hover { color: #092643; background: #d1f2ff; }
.md-hero a:focus-visible, .md-carousel button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.md-carousel { background: #153e60; padding: .55rem; border: 1px solid #76aace; border-radius: 1.4rem; }
.md-carousel .md-hero-photo { border-radius: 1rem; background: #104674; }
.md-carousel [hidden] { display: none; }
.md-carousel-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem; padding-top: .55rem; color: #fff; }
.md-carousel-controls button { color: #fff; background: #0b2947; border: 1px solid #76aace; border-radius: .6rem; min-width: 44px; min-height: 44px; padding: .35rem .75rem; cursor: pointer; font: inherit; }
.md-carousel-controls button:hover { background: #225980; }
.md-carousel-controls span { min-width: 3.4em; text-align: center; font-variant-numeric: tabular-nums; }
.md-tint { background: linear-gradient(140deg,#e7f7ff,#c9e8fc); }
#dental_about { border-bottom: 1px solid var(--line); }
.md-doctor { background: #dcf0fe; }
.md-form { background: #f1faff; }
.md-footer { background: #092643; }
.md-site .md-whatsapp { background: #00654e; }

.md-top { background: #082843; color: #d5eeff; font-size: .83rem; }
.md-top .md-wrap { display: flex; justify-content: space-between; gap: .75rem; padding-block: .35rem; }
.md-top a { color: inherit; text-decoration: none; }
.md-top a:hover { text-decoration: underline; }
.md-header { position: relative; z-index: 4; border-top: 0; background: #f5fbff; }
.md-header nav { align-items: center; row-gap: .45rem; }
.md-header .md-header-cta { white-space: nowrap; border-radius: .55rem; padding: .6rem .95rem; }
.md-menu { position: relative; color: #133f68; }
.md-menu summary { cursor: pointer; font-weight: 650; }
.md-menu summary:focus-visible { outline: 3px solid #926000; outline-offset: 4px; }
.md-menu > div { position: absolute; top: calc(100% + .55rem); left: 0; min-width: 13rem; background: #f5fbff; border: 1px solid var(--line); border-radius: .75rem; padding: .35rem; box-shadow: 0 12px 28px #08284333; }
.md-menu > div a { display: block; padding: .5rem .65rem; border-radius: .45rem; white-space: nowrap; }
.md-menu > div a:hover { background: #dcf1ff; }
.md-hero { position: relative; isolation: isolate; overflow: hidden; padding: 0; background: #0a2949; }
.md-hero-layout { position: relative; z-index: 1; min-height: clamp(490px,55vw,700px); display: flex; align-items: center; padding-block: 4rem 7rem; pointer-events: none; }
.md-hero-copy { max-width: 640px; pointer-events: auto; }
.md-hero h1 { font-size: clamp(3.4rem,8vw,6.8rem); max-width: 9ch; }
.md-hero .md-lead { max-width: 38ch; }
.md-hero .md-carousel { position: absolute; inset: 0; padding: 0; border: 0; border-radius: 0; background: #0a2949; }
.md-carousel .md-hero-photo { position: absolute; inset: 0 0 0 28%; border-radius: 0; }
.md-hero-photo .md-slide,.md-hero-photo img { width: 100%; height: 100%; }
.md-hero-photo img { aspect-ratio: auto; object-position: center 37%; }
.md-carousel::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg,#092643 7%,#092643f5 28%,#092643c7 43%,#09264325 72%),linear-gradient(0deg,#092643a6,transparent 27%); }
.md-carousel-controls { position: absolute; z-index: 2; right: max(20px,calc((100% - 1120px)/2)); bottom: 3.75rem; background: #092643; border: 1px solid #8dc4e8; border-radius: .9rem; padding: .4rem; }
.md-quick { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); position: relative; z-index: 2; margin-top: -2rem; border-radius: 1rem; background: #e2f4ff; border: 1px solid #add6ef; box-shadow: 0 14px 34px #0a284a24; }
.md-quick a { display: grid; gap: .15rem; padding: 1rem 1.25rem; color: #10395f; text-decoration: none; }
.md-quick a+a { border-left: 1px solid #add6ef; }
.md-quick a:hover strong { text-decoration: underline; }
.md-quick span { color: #375775; font-size: .92rem; }
@media(max-width:920px) {
  .md-header .md-header-cta { display: none; }
}
@media(max-width:650px) {
  .md-bar { padding-block: .85rem; gap: .75rem; }
  .md-header nav { position: relative; }
  .md-menu { position: static; }
  .md-menu > div { left: 0; right: auto; top: calc(100% + .4rem); }
  .md-hero-layout { min-height: 595px; align-items: end; padding-block: 0 7.1rem; }
  .md-carousel .md-hero-photo { inset: 0 0 24% 0; }
  .md-carousel::after { background: linear-gradient(0deg,#092643 19%,#092643ed 31%,#09264340 62%,transparent 85%); }
  .md-carousel-controls { bottom: 2.75rem; right: auto; left: 20px; }
  .md-hero h1 { font-size: clamp(2.65rem,12vw,4.4rem); }
  .md-quick { grid-template-columns: 1fr; margin-top: -1.25rem; }
  .md-quick a+a { border-left: 0; border-top: 1px solid #add6ef; }
}
.md-services-heading { max-width: 670px; margin-bottom: 2rem; }
.md-services-heading p { color: var(--muted); font-size: 1.12rem; }
.md-services { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(1rem,3vw,2rem); }
.md-service { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 1.2rem; background: white; box-shadow: 0 12px 30px #0a284a21; scroll-margin-top: 1rem; }
.md-service > img { width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: center 35%; }
.md-service-body { flex: 1; display: flex; flex-direction: column; padding: clamp(1.25rem,3.5vw,2rem); border-top: 4px solid #1680b8; }
.md-service h3 { font-size: clamp(1.45rem,3vw,2.05rem); }
.md-service p { color: var(--muted); }
.md-service .md-service-subtitle { color: #124e78; font-weight: 700; margin-bottom: .55rem; }
.md-service a { align-self: flex-start; margin-top: auto; display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .45rem .8rem; border-radius: .55rem; background: #e1f3ff; font-weight: 700; text-decoration: none; }
.md-service a:hover { background: #c9eaff; text-decoration: underline; }
.md-treatments { padding: clamp(1.25rem,4vw,2.5rem); border-radius: 1.2rem; background: linear-gradient(130deg,#092643,#16547f); color: #e0f2ff; }
.md-treatments h3 { color: white; font-size: 1.65rem; }
.md-treatments ul { padding-left: 1.2rem; margin-bottom: 1.5rem; }
.md-treatments .md-button { background: #9ee3ff; color: #092643; }
.md-treatments .md-button:hover { background: #d1f2ff; color: #092643; }
@media(max-width:650px) { .md-services { grid-template-columns: 1fr; } }

.md-about {
  background:
    radial-gradient(ellipse at 8% 86%, #e2f4ff 0%, transparent 50%),
    repeating-conic-gradient(from 198deg at 90% 100%, #d9f1ff80 0deg 1deg, transparent 1deg 10deg),
    #fff;
}
.md-about .md-doctor { box-shadow: 0 18px 42px #0a284a25; }
.md-credential {
  display: inline-flex;
  align-items: center;
  gap: clamp(.55rem, 3vw, 1.1rem);
  margin: 0 0 1.25rem;
  padding: .7rem clamp(.65rem,3vw,1.25rem) .7rem .65rem;
  background: #fff;
  border: 1px solid #bed8ea;
  border-radius: 1rem;
  box-shadow: 0 10px 24px #0a284a17;
}
.md-credential img { width: clamp(64px, 10vw, 94px); flex: 0 0 auto; }
.md-credential span, .md-credential small, .md-credential strong { display: block; }
.md-credential strong { font-size: clamp(1.25rem, 4vw, 1.65rem); line-height: 1.2; }
.md-credential small, .md-credential span { color: var(--muted); }
.md-gallery-intro { max-width: 720px; margin-bottom: 2rem; }
.md-gallery-intro p:not(.md-kicker) { color: var(--muted); }
.md-gallery figure { margin: 0; overflow: hidden; background: #f0f9ff; border: 1px solid var(--line); border-radius: .9rem; box-shadow: 0 8px 20px #0a284a12; }
.md-gallery figure a { border-radius: 0; }
.md-gallery figure a:focus-visible { outline-offset: -4px; }
.md-gallery figcaption { padding: .7rem .85rem; font-size: .9rem; font-weight: 650; }
.md-gallery-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: clamp(1.25rem,4vw,2rem); margin-top: 2rem; background: linear-gradient(125deg,#092643,#16547f); border-radius: 1.15rem; color: #e0f2ff; }
.md-gallery-cta h3 { color: #fff; font-size: clamp(1.4rem,4vw,2rem); }
.md-gallery-cta p { margin: 0; }
.md-site .md-gallery-cta .md-button { background: #9ee3ff; color: #092643; }
.md-site .md-gallery-cta .md-button:hover { background: #d1f2ff; }
.md-testimonials {
  background:
    radial-gradient(ellipse at 12% 5%, #f8fdffb8, transparent 55%),
    repeating-linear-gradient(120deg, #ffffff6b 0 1px, transparent 1px 8px),
    linear-gradient(135deg, #e3f5ff, #c4e6fb);
}
.md-testimonials h2 { margin-bottom: .8em; }
.md-reviews { gap: clamp(1.35rem,3vw,2.35rem); }
.md-review {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: clamp(1.2rem,4vw,2rem);
  border: 1px solid #fff;
  border-radius: 1.25rem;
  background: linear-gradient(155deg,#ffffffed,#f4fbffbd);
  box-shadow: 0 12px 35px #164c7725;
}
.md-review::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: .55rem -.42rem -.46rem .55rem;
  border-radius: inherit;
  border: 1px solid #7bb4d46b;
  background: linear-gradient(155deg,#ffffff38,#e6f6ff87);
  pointer-events: none;
}
.md-review-person { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.md-review-person img { width: clamp(88px,13vw,132px); height: auto; aspect-ratio: 1; border: 4px solid white; border-radius: 50%; object-fit: cover; box-shadow: 0 5px 14px #1236502b; }
.md-review-person strong { display: block; font-size: clamp(1.05rem,2vw,1.32rem); line-height: 1.25; }
.md-review-person span { color: var(--muted); font-size: .9rem; }
.md-review blockquote { margin: 0; border-left: 3px solid #3196c4; padding: .15rem 0 .15rem 1rem; font-size: clamp(1rem,1.5vw,1.1rem); }
.md-review blockquote p { margin: 0; }

.md-contact-section {
  color: #e4f4ff;
  background:
    radial-gradient(ellipse at 85% 5%, #2479ac72, transparent 55%),
    repeating-conic-gradient(from 205deg at 95% 7%, #78d7ff1a 0deg 1deg, transparent 1deg 11deg),
    linear-gradient(135deg, #081f38, #143e65);
}
.md-contact-section h2 { color: #fff; }
.md-contact-section .md-contact { gap: clamp(1.5rem, 4vw, 3rem); }
.md-contact-section .md-phone:hover { background: #d5f4ff; }
.md-contact-section .md-contact-details a:focus-visible { outline-color: white; }
.md-map { position: relative; border: 1px solid #85c8ed; border-radius: .95rem; overflow: hidden; background: #e1eff8; }
.md-contact .md-map iframe { border-radius: 0; }
.md-contact-section .md-form { background: #f4fbff; color: var(--ink); box-shadow: 0 12px 30px #081f3859; }
.md-preview-form { display: grid; gap: .85rem; }
.md-preview-form label { display: grid; gap: .25rem; font-weight: 650; }
.md-preview-form input, .md-preview-form textarea { width: 100%; background: #fff; border: 1px solid #8db4cb; border-radius: .5rem; padding: .55rem .7rem; color: var(--ink); font: inherit; }
.md-preview-form .md-button { justify-self: start; border: 0; cursor: default; background: #345d72; }
.md-preview-form textarea { resize: vertical; }

.md-contact-methods { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .7rem; margin-bottom: 1rem; }
.md-contact-section .md-contact-link { display: flex; align-items: center; gap: .65rem; padding: .65rem .75rem; border: 1px solid #80c5ec75; border-radius: .8rem; background: #113555d9; color: #fff; text-decoration: none; }
.md-contact-section .md-contact-link:hover { border-color: #9ee3ff; background: #1c496a; }
.md-contact-link small { display: block; color: #bce9ff; line-height: 1.45; }
.md-contact-link strong { display: block; font-size: 1rem; line-height: 1.4; overflow-wrap: anywhere; }
.md-contact-link address small { margin-top: .15rem; }
.md-contact-wide { grid-column: 1 / -1; }
.md-contact-icon { flex: 0 0 38px; height: 38px; display: grid; place-items: center; border-radius: .65rem; background: #c7eeff; color: #0a3658; }
.md-icon-whatsapp { background: #c5f6dd; color: #06543b; }
.md-icon-pin { background: #ffe1e6; color: #a52030; }
@media (max-width: 440px) { .md-contact-methods { grid-template-columns: 1fr; } }
