/* Internal pages extend the existing typography and blue palette. */
.brand-list{display:flex;flex-wrap:wrap;justify-content:center}
.brand-list li{flex:0 1 calc((100% - 36px)/4)}
.brand-list img.brand-logo-wide{width:112px;max-width:100%;height:36px;padding:4px;background:#fff;border-radius:3px}
@media(max-width:1000px){.brand-list li{flex-basis:calc((100% - 24px)/3)}}
@media(max-width:760px){.brand-list li{flex-basis:calc((100% - 10px)/2)}.brand-list img.brand-logo-wide{width:100px}}
.nav-resources{position:relative}
.nav-resources>summary{display:flex;align-items:center;gap:8px;min-height:44px;cursor:pointer;font-size:13px;list-style:none;border-bottom:1px solid transparent}
.nav-resources>summary::-webkit-details-marker{display:none}
.nav-resources[open]>summary,.nav-resources>summary:hover{color:var(--blue);border-color:var(--blue)}
.nav-resource-links{position:absolute;right:0;top:calc(100% + 12px);width:245px;padding:10px 18px;border:1px solid var(--line);border-radius:5px;background:#fff;box-shadow:0 14px 35px #12334f20}
.nav-resource-links a{min-height:48px;font-size:14px}
.site-header a[aria-current=page]{color:var(--blue);border-color:var(--blue)}
.service-group-label{font-size:12px;color:var(--blue);font-weight:600;margin:0 0 10px;padding:0 10px;line-height:1.5}
.service-group-label.secondary-group{padding-top:18px;margin-top:8px;border-top:1px solid var(--line);color:var(--muted)}
.specialty-link{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid var(--line);padding:14px 0 24px;color:var(--blue);font-size:14px}
.specialty-link>span{color:var(--muted)}
.specialty-link strong{font-weight:600}.specialty-link:hover strong{text-decoration:underline;text-underline-offset:4px}
.about-link{display:inline-flex;font-size:14px;gap:15px;margin-top:-15px}
.gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 22px}
.gallery-heading{flex-wrap:wrap}
.gallery figure:nth-child(2) img{object-fit:cover;background:#e8eef1}
.gallery figure.ceramic-process img{object-fit:contain;background:#edf1f2}
.gallery .photo-button{height:260px}
.gallery img[src$="puente-interfases-dnm.webp"],.gallery img[src$="detalle-ceramica-dnm.webp"],.gallery img[src$="malla-digital-dnm.webp"]{object-fit:contain;background:#edf1f2}
.gallery:has(figure[hidden]){grid-template-columns:repeat(3,minmax(0,1fr));max-width:none}
.clinic-resources{margin:56px 0;border-top:1px solid var(--line);padding-top:36px}
.clinic-resources .eyebrow{margin-bottom:10px}
.clinic-resources h3{font:400 30px/1.25 var(--serif);letter-spacing:-.02em;color:var(--navy)}
.resource-links{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:25px}
.resource-card{display:block;padding:24px 27px;border:1px solid var(--line);border-radius:5px;background:var(--soft)}
.resource-card>span{font-size:12px;color:var(--muted)}
.resource-card>strong{display:flex;justify-content:space-between;align-items:center;gap:16px;font-weight:500;color:var(--navy);font-size:20px;margin:7px 0 10px}
.resource-card p{font-size:15px;color:var(--muted);margin:0}
.resource-card:hover{border-color:var(--blue)}
.breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:14px;color:var(--muted);padding-top:24px;margin:0}
.breadcrumbs a{display:inline-flex;align-items:center;min-height:44px;color:var(--blue)}
.breadcrumbs a:hover{text-decoration:underline;text-underline-offset:4px}
.inner-page h1{font:400 clamp(38px,3.9vw,56px)/1.12 var(--serif);letter-spacing:-.035em;color:var(--navy);margin:0 0 24px}
.inner-page h1 em{color:var(--blue);font-weight:400}
.page-hero{padding-top:36px;padding-bottom:66px}
.page-lead{font-size:17px;line-height:1.8;color:var(--muted);max-width:690px;margin-bottom:26px}
.about-hero{display:grid;grid-template-columns:1.12fr 1fr;gap:65px;align-items:center}
.about-hero figure{min-width:0}
.about-hero figure img{height:320px;width:100%;object-fit:cover;border-radius:95px 5px 5px 5px}
.about-hero figure figcaption,.ceramic-detail figcaption{font-size:14px;color:var(--muted);margin-top:14px}
.story{padding-bottom:15px}
.story-section{display:grid;grid-template-columns:1fr 1.3fr;gap:70px;border-top:1px solid var(--line);padding:42px 0}
.story-number{display:block;font:italic 23px/1.3 var(--serif);color:var(--blue);margin-bottom:18px}
.story-section h2,.ceramic-detail h2{font-size:34px;line-height:1.2}
.story-section p,.ceramic-detail p{font-size:16px;line-height:1.85;color:var(--muted);max-width:660px}
.story-section p:last-child{margin:0}
.page-contact{display:flex;align-items:center;justify-content:space-between;gap:30px;padding-top:34px;padding-bottom:52px}
.page-contact>div{max-width:750px}
.page-contact h2{font-size:34px}
.page-contact p{font-size:16px;color:var(--muted);margin:14px 0 0}
.page-contact .button{flex-shrink:0}
.material-section{padding-top:25px;padding-bottom:65px}
.material-section>h2{font-size:36px}
.material-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px;margin-top:38px}
.material-grid article{border-top:1px solid var(--line);padding-top:23px}
.material-grid h3{font:400 26px/1.25 var(--serif);color:var(--navy);margin-bottom:14px}
.material-grid p{font-size:16px;color:var(--muted);line-height:1.8;margin:0}
.ceramic-detail{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;padding-top:25px;padding-bottom:60px}
.ceramic-detail figure{min-width:0}
.ceramic-detail img{width:100%;height:300px;object-fit:cover;border-radius:5px}
.ceramic-detail h2{margin-bottom:23px}
.inner-page .text-button{font-size:14px}
.document-heading{padding-top:30px;padding-bottom:40px}
.document-heading .page-lead{max-width:790px}
.document-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px}
.document-actions>span{font-size:14px;color:var(--muted);margin-left:8px}
.button-outline{background:transparent;border-color:var(--line);color:var(--navy)}
.button-outline:hover{background:var(--soft)}
.document-layout{display:grid;grid-template-columns:330px minmax(0,1fr);gap:48px;padding-bottom:42px;align-items:start}
.document-instructions{border-top:1px solid var(--line);padding-top:25px}
.document-instructions h2{font-size:30px}
.document-steps{list-style:none;counter-reset:step;padding:0;margin:27px 0}
.document-steps li{counter-increment:step;position:relative;padding-left:33px;margin-bottom:25px}
.document-steps li:before{content:counter(step,decimal-leading-zero);position:absolute;left:0;top:1px;font:italic 18px/1.4 var(--serif);color:var(--blue)}
.document-steps h3{font-size:16px;font-weight:600;color:var(--navy);margin-bottom:9px}
.document-steps p{font-size:16px;line-height:1.75;color:var(--muted);margin:0}
.document-note{font-size:14px;color:var(--muted);border-left:2px solid var(--cyan);padding-left:16px;line-height:1.75}
.document-view{min-width:0}
.document-view iframe{display:block;width:100%;height:780px;border:1px solid var(--line);border-radius:5px;background:var(--soft)}
.document-view>p{font-size:14px;color:var(--muted);margin:15px 0 0}
.document-view a{text-decoration:underline;text-underline-offset:3px;color:var(--blue)}
.document-related{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:20px;padding-top:22px;padding-bottom:50px}
.document-related>span{color:var(--muted);font-size:14px}
.document-related>a{font-size:17px;color:var(--blue);display:flex;gap:35px;min-height:44px;align-items:center;border-bottom:1px solid var(--line)}
.document-related>a:hover{border-color:var(--blue)}
html[data-theme=dark] .nav-resource-links{background:#102c40}
[data-theme=dark] :is(.inner-page h1,.inner-page h2,.inner-page h3,.resource-card>strong,.clinic-resources h3,.button-outline){color:#e6f0f6}
[data-theme=dark] .inner-page h1 em{color:var(--blue)}
@media(max-width:1100px){.about-hero{gap:35px}.about-hero figure img{height:280px}.story-section{gap:40px}.document-layout{grid-template-columns:280px minmax(0,1fr);gap:30px}.document-view iframe{height:710px}.ceramic-detail{gap:35px}}
@media(max-width:1240px){.site-header .header-cta{display:none}}
@media(min-width:761px) and (max-width:1100px){.gallery,.gallery:has(figure[hidden]){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){
 .site-header .header-inner{height:76px;gap:12px}.site-header .brand img{width:49px;height:49px}.site-header .header-cta{display:none}
 .site-header .theme-toggle{margin-left:auto;width:44px;padding:9px}.theme-toggle>span{display:none}
 .site-header .menu-toggle{margin-left:0;display:flex;flex-direction:column;gap:7px;justify-content:center;align-items:center;background:none;border:1px solid var(--line);border-radius:4px;width:44px;height:44px;flex:none}
 .menu-toggle span{width:18px;height:1.5px;background:var(--navy);transition:transform .2s}
 .menu-toggle[aria-expanded=true] span:first-child{transform:translateY(4.25px) rotate(45deg)}.menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-4.25px) rotate(-45deg)}
 .site-header nav{display:none;position:absolute;top:75px;left:0;right:0;max-height:calc(100dvh - 76px);overflow-y:auto;background:#fff;margin:0;padding:15px 22px 22px;border-bottom:1px solid var(--line);box-shadow:0 12px 20px #173e6610;align-items:stretch;gap:0;flex-direction:column}
 .site-header nav.open{display:flex}.site-header nav a,.nav-resources>summary{padding:10px 0;min-height:48px;border-bottom:1px solid var(--line);font-size:14px}
 .nav-resource-links{position:static;width:auto;box-shadow:none;border:0;padding:0 0 0 18px;background:transparent}
 [data-theme=dark] .site-header nav{background:#0f293d}
 [data-theme=dark] .menu-toggle span{background:#d9edf7}
 html{scroll-padding-top:95px}
}
@media(max-width:760px){
 .gallery,.gallery:has(figure[hidden]){grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 14px}.gallery .photo-button,.gallery:has(figure[hidden]) .photo-button{height:auto;aspect-ratio:1}
 .specialty-link{display:block;padding-bottom:22px}.specialty-link>span{display:block;margin-bottom:5px}.specialty-link strong{font-size:14px}
 .resource-links{grid-template-columns:1fr;gap:14px}.clinic-resources{margin:40px 0;padding-top:28px}.clinic-resources h3{font-size:28px}.resource-card{padding:22px}.resource-card>strong{font-size:19px}
 .breadcrumbs{padding-top:15px;font-size:14px}.page-hero{padding-top:22px;padding-bottom:40px}.about-hero{grid-template-columns:1fr;gap:26px}.about-hero figure img{height:260px;border-radius:75px 4px 4px 4px}
 .inner-page h1{font-size:40px}.page-lead{font-size:16px;line-height:1.8;margin-bottom:22px}
 .story-section{grid-template-columns:1fr;gap:22px;padding:32px 0}.story-section h2,.ceramic-detail h2{font-size:31px}.story-number{margin-bottom:13px}.story-section p{line-height:1.8}
 .page-contact{flex-direction:column;align-items:flex-start;padding-top:25px;padding-bottom:38px;gap:22px}.page-contact h2{font-size:30px}
 .material-section{padding-bottom:40px}.material-section>h2{font-size:31px}.material-grid{grid-template-columns:1fr;gap:27px;margin-top:28px}.material-grid article{padding-top:20px}.material-grid h3{font-size:25px}
 .ceramic-detail{grid-template-columns:1fr;gap:30px;padding-top:0;padding-bottom:32px}.ceramic-detail img{height:240px}
 .document-heading{padding-top:23px;padding-bottom:30px}.document-actions{gap:10px}.document-actions>span{flex-basis:100%;margin:3px 0 0}.document-actions .button{padding:12px 18px;font-size:14px;gap:15px}
 .document-layout{grid-template-columns:1fr;gap:25px;padding-bottom:20px}.document-instructions{padding-top:23px}.document-instructions h2{font-size:28px}.document-instructions h2 br{display:none}.document-view iframe{height:560px}
 .document-related{display:block;padding-bottom:30px}.document-related>a{width:fit-content;max-width:100%;margin-top:10px;gap:22px;font-size:16px}
}
@media(max-width:380px){.inner-page h1{font-size:35px}.page-lead{font-size:16px}.document-actions .button{padding:12px 14px;gap:12px}.about-hero figure img{height:230px}.site-header .brand img{width:42px;height:42px}.site-header .header-inner{gap:8px}}
